diff --git a/README.md b/README.md index 52fb2781..0f1105e4 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ 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.5-612 -- Package version: 1.0.1 +- API version: 1.0.7-681 +- Package version: 1.0.2 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. @@ -54,18 +54,18 @@ from pprint import pprint # create an instance of the API class api_instance = intersight.AaaAuditRecordApi() count = true # bool | The $count query option allows clients to request a count of the matching resources. (optional) -inlinecount = true # bool | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response (optional) -tags = true # bool | The 'tags' query option allows clients to request a document with tag usage summary. (optional) +inlinecount = 'inlinecount_example' # str | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response (optional) top = 56 # int | The max number of records to return (optional) skip = 56 # int | The number of records to skip (optional) filter = 'filter_example' # str | 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') (optional) select = 'select_example' # str | Specifies a subset of properties to return (optional) 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) try: - # List of aaaAuditRecords - api_response = api_instance.aaa_audit_records_get(count=count, inlinecount=inlinecount, tags=tags, top=top, skip=skip, filter=filter, select=select, orderby=orderby, expand=expand) + # 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) pprint(api_response) except ApiException as e: print("Exception when calling AaaAuditRecordApi->aaa_audit_records_get: %s\n" % e) @@ -78,590 +78,682 @@ All URIs are relative to *https://intersight.com/api/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AaaAuditRecordApi* | [**aaa_audit_records_get**](docs/AaaAuditRecordApi.md#aaa_audit_records_get) | **GET** /aaa/AuditRecords | List of aaaAuditRecords -*AaaAuditRecordApi* | [**aaa_audit_records_moid_get**](docs/AaaAuditRecordApi.md#aaa_audit_records_moid_get) | **GET** /aaa/AuditRecords/{moid} | A instance of aaaAuditRecord -*AdapterExtEthInterfaceApi* | [**adapter_ext_eth_interfaces_get**](docs/AdapterExtEthInterfaceApi.md#adapter_ext_eth_interfaces_get) | **GET** /adapter/ExtEthInterfaces | List of adapterExtEthInterfaces -*AdapterExtEthInterfaceApi* | [**adapter_ext_eth_interfaces_moid_get**](docs/AdapterExtEthInterfaceApi.md#adapter_ext_eth_interfaces_moid_get) | **GET** /adapter/ExtEthInterfaces/{moid} | A instance of adapterExtEthInterface -*AdapterHostEthInterfaceApi* | [**adapter_host_eth_interfaces_get**](docs/AdapterHostEthInterfaceApi.md#adapter_host_eth_interfaces_get) | **GET** /adapter/HostEthInterfaces | List of adapterHostEthInterfaces -*AdapterHostEthInterfaceApi* | [**adapter_host_eth_interfaces_moid_get**](docs/AdapterHostEthInterfaceApi.md#adapter_host_eth_interfaces_moid_get) | **GET** /adapter/HostEthInterfaces/{moid} | A instance of adapterHostEthInterface -*AdapterHostFcInterfaceApi* | [**adapter_host_fc_interfaces_get**](docs/AdapterHostFcInterfaceApi.md#adapter_host_fc_interfaces_get) | **GET** /adapter/HostFcInterfaces | List of adapterHostFcInterfaces -*AdapterHostFcInterfaceApi* | [**adapter_host_fc_interfaces_moid_get**](docs/AdapterHostFcInterfaceApi.md#adapter_host_fc_interfaces_moid_get) | **GET** /adapter/HostFcInterfaces/{moid} | A instance of adapterHostFcInterface -*AdapterHostIscsiInterfaceApi* | [**adapter_host_iscsi_interfaces_get**](docs/AdapterHostIscsiInterfaceApi.md#adapter_host_iscsi_interfaces_get) | **GET** /adapter/HostIscsiInterfaces | List of adapterHostIscsiInterfaces -*AdapterHostIscsiInterfaceApi* | [**adapter_host_iscsi_interfaces_moid_get**](docs/AdapterHostIscsiInterfaceApi.md#adapter_host_iscsi_interfaces_moid_get) | **GET** /adapter/HostIscsiInterfaces/{moid} | A instance of adapterHostIscsiInterface -*AdapterUnitApi* | [**adapter_units_get**](docs/AdapterUnitApi.md#adapter_units_get) | **GET** /adapter/Units | List of adapterUnits -*AdapterUnitApi* | [**adapter_units_moid_get**](docs/AdapterUnitApi.md#adapter_units_moid_get) | **GET** /adapter/Units/{moid} | A instance of adapterUnit -*AssetDeviceClaimApi* | [**asset_device_claims_moid_delete**](docs/AssetDeviceClaimApi.md#asset_device_claims_moid_delete) | **DELETE** /asset/DeviceClaims/{moid} | Delete an instance of assetDeviceClaim -*AssetDeviceClaimApi* | [**asset_device_claims_post**](docs/AssetDeviceClaimApi.md#asset_device_claims_post) | **POST** /asset/DeviceClaims | Create a assetDeviceClaim -*AssetDeviceRegistrationApi* | [**asset_device_registrations_get**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_get) | **GET** /asset/DeviceRegistrations | List of assetDeviceRegistrations -*AssetDeviceRegistrationApi* | [**asset_device_registrations_moid_delete**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_moid_delete) | **DELETE** /asset/DeviceRegistrations/{moid} | Delete an instance of assetDeviceRegistration -*AssetDeviceRegistrationApi* | [**asset_device_registrations_moid_get**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_moid_get) | **GET** /asset/DeviceRegistrations/{moid} | A instance of assetDeviceRegistration -*AssetDeviceRegistrationApi* | [**asset_device_registrations_moid_patch**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_moid_patch) | **PATCH** /asset/DeviceRegistrations/{moid} | Update an instance of assetDeviceRegistration -*AssetDeviceRegistrationApi* | [**asset_device_registrations_moid_post**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_moid_post) | **POST** /asset/DeviceRegistrations/{moid} | Update an instance of assetDeviceRegistration -*BiosPolicyApi* | [**bios_policies_get**](docs/BiosPolicyApi.md#bios_policies_get) | **GET** /bios/Policies | List of biosPolicies -*BiosPolicyApi* | [**bios_policies_moid_delete**](docs/BiosPolicyApi.md#bios_policies_moid_delete) | **DELETE** /bios/Policies/{moid} | Delete an instance of biosPolicy -*BiosPolicyApi* | [**bios_policies_moid_get**](docs/BiosPolicyApi.md#bios_policies_moid_get) | **GET** /bios/Policies/{moid} | A instance of biosPolicy -*BiosPolicyApi* | [**bios_policies_moid_patch**](docs/BiosPolicyApi.md#bios_policies_moid_patch) | **PATCH** /bios/Policies/{moid} | Update an instance of biosPolicy -*BiosPolicyApi* | [**bios_policies_moid_post**](docs/BiosPolicyApi.md#bios_policies_moid_post) | **POST** /bios/Policies/{moid} | Update an instance of biosPolicy -*BiosPolicyApi* | [**bios_policies_post**](docs/BiosPolicyApi.md#bios_policies_post) | **POST** /bios/Policies | Create a biosPolicy -*BiosUnitApi* | [**bios_units_get**](docs/BiosUnitApi.md#bios_units_get) | **GET** /bios/Units | List of biosUnits -*BiosUnitApi* | [**bios_units_moid_get**](docs/BiosUnitApi.md#bios_units_moid_get) | **GET** /bios/Units/{moid} | A instance of biosUnit -*BiosUnitApi* | [**bios_units_moid_patch**](docs/BiosUnitApi.md#bios_units_moid_patch) | **PATCH** /bios/Units/{moid} | Update an instance of biosUnit -*BiosUnitApi* | [**bios_units_moid_post**](docs/BiosUnitApi.md#bios_units_moid_post) | **POST** /bios/Units/{moid} | Update an instance of biosUnit -*BootPrecisionPolicyApi* | [**boot_precision_policies_get**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_get) | **GET** /boot/PrecisionPolicies | List of bootPrecisionPolicies -*BootPrecisionPolicyApi* | [**boot_precision_policies_moid_delete**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_moid_delete) | **DELETE** /boot/PrecisionPolicies/{moid} | Delete an instance of bootPrecisionPolicy -*BootPrecisionPolicyApi* | [**boot_precision_policies_moid_get**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_moid_get) | **GET** /boot/PrecisionPolicies/{moid} | A instance of bootPrecisionPolicy -*BootPrecisionPolicyApi* | [**boot_precision_policies_moid_patch**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_moid_patch) | **PATCH** /boot/PrecisionPolicies/{moid} | Update an instance of bootPrecisionPolicy -*BootPrecisionPolicyApi* | [**boot_precision_policies_moid_post**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_moid_post) | **POST** /boot/PrecisionPolicies/{moid} | Update an instance of bootPrecisionPolicy -*BootPrecisionPolicyApi* | [**boot_precision_policies_post**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_post) | **POST** /boot/PrecisionPolicies | Create a bootPrecisionPolicy -*ComputeBladeApi* | [**compute_blades_get**](docs/ComputeBladeApi.md#compute_blades_get) | **GET** /compute/Blades | List of computeBlades -*ComputeBladeApi* | [**compute_blades_moid_get**](docs/ComputeBladeApi.md#compute_blades_moid_get) | **GET** /compute/Blades/{moid} | A instance of computeBlade -*ComputeBladeApi* | [**compute_blades_moid_patch**](docs/ComputeBladeApi.md#compute_blades_moid_patch) | **PATCH** /compute/Blades/{moid} | Update an instance of computeBlade -*ComputeBladeApi* | [**compute_blades_moid_post**](docs/ComputeBladeApi.md#compute_blades_moid_post) | **POST** /compute/Blades/{moid} | Update an instance of computeBlade -*ComputeBoardApi* | [**compute_boards_get**](docs/ComputeBoardApi.md#compute_boards_get) | **GET** /compute/Boards | List of computeBoards -*ComputeBoardApi* | [**compute_boards_moid_get**](docs/ComputeBoardApi.md#compute_boards_moid_get) | **GET** /compute/Boards/{moid} | A instance of computeBoard -*ComputeBoardApi* | [**compute_boards_moid_patch**](docs/ComputeBoardApi.md#compute_boards_moid_patch) | **PATCH** /compute/Boards/{moid} | Update an instance of computeBoard -*ComputeBoardApi* | [**compute_boards_moid_post**](docs/ComputeBoardApi.md#compute_boards_moid_post) | **POST** /compute/Boards/{moid} | Update an instance of computeBoard -*ComputePhysicalSummaryApi* | [**compute_physical_summaries_get**](docs/ComputePhysicalSummaryApi.md#compute_physical_summaries_get) | **GET** /compute/PhysicalSummaries | List of computePhysicalSummaries -*ComputePhysicalSummaryApi* | [**compute_physical_summaries_moid_get**](docs/ComputePhysicalSummaryApi.md#compute_physical_summaries_moid_get) | **GET** /compute/PhysicalSummaries/{moid} | A instance of computePhysicalSummary -*ComputeRackUnitApi* | [**compute_rack_units_get**](docs/ComputeRackUnitApi.md#compute_rack_units_get) | **GET** /compute/RackUnits | List of computeRackUnits -*ComputeRackUnitApi* | [**compute_rack_units_moid_get**](docs/ComputeRackUnitApi.md#compute_rack_units_moid_get) | **GET** /compute/RackUnits/{moid} | A instance of computeRackUnit -*ComputeRackUnitApi* | [**compute_rack_units_moid_patch**](docs/ComputeRackUnitApi.md#compute_rack_units_moid_patch) | **PATCH** /compute/RackUnits/{moid} | Update an instance of computeRackUnit -*ComputeRackUnitApi* | [**compute_rack_units_moid_post**](docs/ComputeRackUnitApi.md#compute_rack_units_moid_post) | **POST** /compute/RackUnits/{moid} | Update an instance of computeRackUnit -*ComputeServerSettingApi* | [**compute_server_settings_get**](docs/ComputeServerSettingApi.md#compute_server_settings_get) | **GET** /compute/ServerSettings | List of computeServerSettings -*ComputeServerSettingApi* | [**compute_server_settings_moid_get**](docs/ComputeServerSettingApi.md#compute_server_settings_moid_get) | **GET** /compute/ServerSettings/{moid} | A instance of computeServerSetting -*ComputeServerSettingApi* | [**compute_server_settings_moid_patch**](docs/ComputeServerSettingApi.md#compute_server_settings_moid_patch) | **PATCH** /compute/ServerSettings/{moid} | Update an instance of computeServerSetting -*ComputeServerSettingApi* | [**compute_server_settings_moid_post**](docs/ComputeServerSettingApi.md#compute_server_settings_moid_post) | **POST** /compute/ServerSettings/{moid} | Update an instance of computeServerSetting -*CondAlarmApi* | [**cond_alarms_get**](docs/CondAlarmApi.md#cond_alarms_get) | **GET** /cond/Alarms | List of condAlarms -*CondAlarmApi* | [**cond_alarms_moid_get**](docs/CondAlarmApi.md#cond_alarms_moid_get) | **GET** /cond/Alarms/{moid} | A instance of condAlarm -*CondHclStatusApi* | [**cond_hcl_statuses_get**](docs/CondHclStatusApi.md#cond_hcl_statuses_get) | **GET** /cond/HclStatuses | List of condHclStatuses -*CondHclStatusApi* | [**cond_hcl_statuses_moid_get**](docs/CondHclStatusApi.md#cond_hcl_statuses_moid_get) | **GET** /cond/HclStatuses/{moid} | A instance of condHclStatus -*CondHclStatusDetailApi* | [**cond_hcl_status_details_get**](docs/CondHclStatusDetailApi.md#cond_hcl_status_details_get) | **GET** /cond/HclStatusDetails | List of condHclStatusDetails -*CondHclStatusDetailApi* | [**cond_hcl_status_details_moid_get**](docs/CondHclStatusDetailApi.md#cond_hcl_status_details_moid_get) | **GET** /cond/HclStatusDetails/{moid} | A instance of condHclStatusDetail -*CondHclStatusJobApi* | [**cond_hcl_status_jobs_get**](docs/CondHclStatusJobApi.md#cond_hcl_status_jobs_get) | **GET** /cond/HclStatusJobs | List of condHclStatusJobs -*CondHclStatusJobApi* | [**cond_hcl_status_jobs_moid_get**](docs/CondHclStatusJobApi.md#cond_hcl_status_jobs_moid_get) | **GET** /cond/HclStatusJobs/{moid} | A instance of condHclStatusJob -*CryptEncryptionTokenApi* | [**crypt_encryption_tokens_get**](docs/CryptEncryptionTokenApi.md#crypt_encryption_tokens_get) | **GET** /crypt/EncryptionTokens | List of cryptEncryptionTokens -*CryptEncryptionTokenApi* | [**crypt_encryption_tokens_moid_get**](docs/CryptEncryptionTokenApi.md#crypt_encryption_tokens_moid_get) | **GET** /crypt/EncryptionTokens/{moid} | A 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 -*DeviceinfoSerialNumberInfoApi* | [**deviceinfo_serial_number_infos_get**](docs/DeviceinfoSerialNumberInfoApi.md#deviceinfo_serial_number_infos_get) | **GET** /deviceinfo/SerialNumberInfos | List of deviceinfoSerialNumberInfos -*DeviceinfoSerialNumberInfoApi* | [**deviceinfo_serial_number_infos_moid_get**](docs/DeviceinfoSerialNumberInfoApi.md#deviceinfo_serial_number_infos_moid_get) | **GET** /deviceinfo/SerialNumberInfos/{moid} | A instance of deviceinfoSerialNumberInfo -*EquipmentChassisApi* | [**equipment_chasses_get**](docs/EquipmentChassisApi.md#equipment_chasses_get) | **GET** /equipment/Chasses | List of equipmentChasses -*EquipmentChassisApi* | [**equipment_chasses_moid_get**](docs/EquipmentChassisApi.md#equipment_chasses_moid_get) | **GET** /equipment/Chasses/{moid} | A instance of equipmentChassis -*EquipmentChassisApi* | [**equipment_chasses_moid_patch**](docs/EquipmentChassisApi.md#equipment_chasses_moid_patch) | **PATCH** /equipment/Chasses/{moid} | Update an instance of equipmentChassis -*EquipmentChassisApi* | [**equipment_chasses_moid_post**](docs/EquipmentChassisApi.md#equipment_chasses_moid_post) | **POST** /equipment/Chasses/{moid} | Update an instance of equipmentChassis -*EquipmentDeviceSummaryApi* | [**equipment_device_summaries_get**](docs/EquipmentDeviceSummaryApi.md#equipment_device_summaries_get) | **GET** /equipment/DeviceSummaries | List of equipmentDeviceSummaries -*EquipmentDeviceSummaryApi* | [**equipment_device_summaries_moid_get**](docs/EquipmentDeviceSummaryApi.md#equipment_device_summaries_moid_get) | **GET** /equipment/DeviceSummaries/{moid} | A instance of equipmentDeviceSummary -*EquipmentFanApi* | [**equipment_fans_get**](docs/EquipmentFanApi.md#equipment_fans_get) | **GET** /equipment/Fans | List of equipmentFans -*EquipmentFanApi* | [**equipment_fans_moid_get**](docs/EquipmentFanApi.md#equipment_fans_moid_get) | **GET** /equipment/Fans/{moid} | A instance of equipmentFan -*EquipmentFanApi* | [**equipment_fans_moid_patch**](docs/EquipmentFanApi.md#equipment_fans_moid_patch) | **PATCH** /equipment/Fans/{moid} | Update an instance of equipmentFan -*EquipmentFanApi* | [**equipment_fans_moid_post**](docs/EquipmentFanApi.md#equipment_fans_moid_post) | **POST** /equipment/Fans/{moid} | Update an instance of equipmentFan -*EquipmentFanModuleApi* | [**equipment_fan_modules_get**](docs/EquipmentFanModuleApi.md#equipment_fan_modules_get) | **GET** /equipment/FanModules | List of equipmentFanModules -*EquipmentFanModuleApi* | [**equipment_fan_modules_moid_get**](docs/EquipmentFanModuleApi.md#equipment_fan_modules_moid_get) | **GET** /equipment/FanModules/{moid} | A instance of equipmentFanModule -*EquipmentFanModuleApi* | [**equipment_fan_modules_moid_patch**](docs/EquipmentFanModuleApi.md#equipment_fan_modules_moid_patch) | **PATCH** /equipment/FanModules/{moid} | Update an instance of equipmentFanModule -*EquipmentFanModuleApi* | [**equipment_fan_modules_moid_post**](docs/EquipmentFanModuleApi.md#equipment_fan_modules_moid_post) | **POST** /equipment/FanModules/{moid} | Update an instance of equipmentFanModule -*EquipmentFexApi* | [**equipment_fexes_get**](docs/EquipmentFexApi.md#equipment_fexes_get) | **GET** /equipment/Fexes | List of equipmentFexes -*EquipmentFexApi* | [**equipment_fexes_moid_get**](docs/EquipmentFexApi.md#equipment_fexes_moid_get) | **GET** /equipment/Fexes/{moid} | A instance of equipmentFex -*EquipmentFexApi* | [**equipment_fexes_moid_patch**](docs/EquipmentFexApi.md#equipment_fexes_moid_patch) | **PATCH** /equipment/Fexes/{moid} | Update an instance of equipmentFex -*EquipmentFexApi* | [**equipment_fexes_moid_post**](docs/EquipmentFexApi.md#equipment_fexes_moid_post) | **POST** /equipment/Fexes/{moid} | Update an instance of equipmentFex -*EquipmentIoCardApi* | [**equipment_io_cards_get**](docs/EquipmentIoCardApi.md#equipment_io_cards_get) | **GET** /equipment/IoCards | List of equipmentIoCards -*EquipmentIoCardApi* | [**equipment_io_cards_moid_get**](docs/EquipmentIoCardApi.md#equipment_io_cards_moid_get) | **GET** /equipment/IoCards/{moid} | A 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 -*EquipmentLocatorLedApi* | [**equipment_locator_leds_get**](docs/EquipmentLocatorLedApi.md#equipment_locator_leds_get) | **GET** /equipment/LocatorLeds | List of equipmentLocatorLeds -*EquipmentLocatorLedApi* | [**equipment_locator_leds_moid_get**](docs/EquipmentLocatorLedApi.md#equipment_locator_leds_moid_get) | **GET** /equipment/LocatorLeds/{moid} | A 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 -*EquipmentLocatorLedApi* | [**equipment_locator_leds_moid_post**](docs/EquipmentLocatorLedApi.md#equipment_locator_leds_moid_post) | **POST** /equipment/LocatorLeds/{moid} | Update an instance of equipmentLocatorLed -*EquipmentPsuApi* | [**equipment_psus_get**](docs/EquipmentPsuApi.md#equipment_psus_get) | **GET** /equipment/Psus | List of equipmentPsus -*EquipmentPsuApi* | [**equipment_psus_moid_get**](docs/EquipmentPsuApi.md#equipment_psus_moid_get) | **GET** /equipment/Psus/{moid} | A 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 -*EquipmentSwitchCardApi* | [**equipment_switch_cards_get**](docs/EquipmentSwitchCardApi.md#equipment_switch_cards_get) | **GET** /equipment/SwitchCards | List of equipmentSwitchCards -*EquipmentSwitchCardApi* | [**equipment_switch_cards_moid_get**](docs/EquipmentSwitchCardApi.md#equipment_switch_cards_moid_get) | **GET** /equipment/SwitchCards/{moid} | A 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 -*EquipmentSwitchCardApi* | [**equipment_switch_cards_moid_post**](docs/EquipmentSwitchCardApi.md#equipment_switch_cards_moid_post) | **POST** /equipment/SwitchCards/{moid} | Update an instance of equipmentSwitchCard -*EquipmentSystemIoControllerApi* | [**equipment_system_io_controllers_get**](docs/EquipmentSystemIoControllerApi.md#equipment_system_io_controllers_get) | **GET** /equipment/SystemIoControllers | List of equipmentSystemIoControllers -*EquipmentSystemIoControllerApi* | [**equipment_system_io_controllers_moid_get**](docs/EquipmentSystemIoControllerApi.md#equipment_system_io_controllers_moid_get) | **GET** /equipment/SystemIoControllers/{moid} | A 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 -*EtherPhysicalPortApi* | [**ether_physical_ports_get**](docs/EtherPhysicalPortApi.md#ether_physical_ports_get) | **GET** /ether/PhysicalPorts | List of etherPhysicalPorts -*EtherPhysicalPortApi* | [**ether_physical_ports_moid_get**](docs/EtherPhysicalPortApi.md#ether_physical_ports_moid_get) | **GET** /ether/PhysicalPorts/{moid} | A 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 | List of externalsiteAuthorizations -*ExternalsiteAuthorizationApi* | [**externalsite_authorizations_moid_get**](docs/ExternalsiteAuthorizationApi.md#externalsite_authorizations_moid_get) | **GET** /externalsite/Authorizations/{moid} | A 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 a externalsiteAuthorization -*FaultInstanceApi* | [**fault_instances_get**](docs/FaultInstanceApi.md#fault_instances_get) | **GET** /fault/Instances | List of faultInstances -*FaultInstanceApi* | [**fault_instances_moid_get**](docs/FaultInstanceApi.md#fault_instances_moid_get) | **GET** /fault/Instances/{moid} | A instance of faultInstance -*FaultInstanceApi* | [**fault_instances_moid_patch**](docs/FaultInstanceApi.md#fault_instances_moid_patch) | **PATCH** /fault/Instances/{moid} | Update an instance of faultInstance -*FaultInstanceApi* | [**fault_instances_moid_post**](docs/FaultInstanceApi.md#fault_instances_moid_post) | **POST** /fault/Instances/{moid} | Update an instance of faultInstance -*FcPhysicalPortApi* | [**fc_physical_ports_get**](docs/FcPhysicalPortApi.md#fc_physical_ports_get) | **GET** /fc/PhysicalPorts | List of fcPhysicalPorts -*FcPhysicalPortApi* | [**fc_physical_ports_moid_get**](docs/FcPhysicalPortApi.md#fc_physical_ports_moid_get) | **GET** /fc/PhysicalPorts/{moid} | A instance of fcPhysicalPort -*FcPhysicalPortApi* | [**fc_physical_ports_moid_patch**](docs/FcPhysicalPortApi.md#fc_physical_ports_moid_patch) | **PATCH** /fc/PhysicalPorts/{moid} | Update an instance of fcPhysicalPort -*FcPhysicalPortApi* | [**fc_physical_ports_moid_post**](docs/FcPhysicalPortApi.md#fc_physical_ports_moid_post) | **POST** /fc/PhysicalPorts/{moid} | Update an instance of fcPhysicalPort -*FeedbackFeedbackPostApi* | [**feedback_feedback_posts_post**](docs/FeedbackFeedbackPostApi.md#feedback_feedback_posts_post) | **POST** /feedback/FeedbackPosts | Create a feedbackFeedbackPost -*FirmwareDistributableApi* | [**firmware_distributables_get**](docs/FirmwareDistributableApi.md#firmware_distributables_get) | **GET** /firmware/Distributables | List of firmwareDistributables -*FirmwareDistributableApi* | [**firmware_distributables_moid_get**](docs/FirmwareDistributableApi.md#firmware_distributables_moid_get) | **GET** /firmware/Distributables/{moid} | A instance of firmwareDistributable -*FirmwareEulaApi* | [**firmware_eulas_get**](docs/FirmwareEulaApi.md#firmware_eulas_get) | **GET** /firmware/Eulas | List of firmwareEulas -*FirmwareEulaApi* | [**firmware_eulas_moid_get**](docs/FirmwareEulaApi.md#firmware_eulas_moid_get) | **GET** /firmware/Eulas/{moid} | A instance of firmwareEula -*FirmwareEulaApi* | [**firmware_eulas_post**](docs/FirmwareEulaApi.md#firmware_eulas_post) | **POST** /firmware/Eulas | Create a firmwareEula -*FirmwareRunningFirmwareApi* | [**firmware_running_firmwares_get**](docs/FirmwareRunningFirmwareApi.md#firmware_running_firmwares_get) | **GET** /firmware/RunningFirmwares | List of firmwareRunningFirmwares -*FirmwareRunningFirmwareApi* | [**firmware_running_firmwares_moid_get**](docs/FirmwareRunningFirmwareApi.md#firmware_running_firmwares_moid_get) | **GET** /firmware/RunningFirmwares/{moid} | A instance of firmwareRunningFirmware -*FirmwareRunningFirmwareApi* | [**firmware_running_firmwares_moid_patch**](docs/FirmwareRunningFirmwareApi.md#firmware_running_firmwares_moid_patch) | **PATCH** /firmware/RunningFirmwares/{moid} | Update an instance of firmwareRunningFirmware -*FirmwareRunningFirmwareApi* | [**firmware_running_firmwares_moid_post**](docs/FirmwareRunningFirmwareApi.md#firmware_running_firmwares_moid_post) | **POST** /firmware/RunningFirmwares/{moid} | Update an instance of firmwareRunningFirmware -*FirmwareUpgradeApi* | [**firmware_upgrades_get**](docs/FirmwareUpgradeApi.md#firmware_upgrades_get) | **GET** /firmware/Upgrades | List of firmwareUpgrades -*FirmwareUpgradeApi* | [**firmware_upgrades_moid_delete**](docs/FirmwareUpgradeApi.md#firmware_upgrades_moid_delete) | **DELETE** /firmware/Upgrades/{moid} | Delete an instance of firmwareUpgrade -*FirmwareUpgradeApi* | [**firmware_upgrades_moid_get**](docs/FirmwareUpgradeApi.md#firmware_upgrades_moid_get) | **GET** /firmware/Upgrades/{moid} | A instance of firmwareUpgrade -*FirmwareUpgradeApi* | [**firmware_upgrades_post**](docs/FirmwareUpgradeApi.md#firmware_upgrades_post) | **POST** /firmware/Upgrades | Create a firmwareUpgrade -*FirmwareUpgradeStatusApi* | [**firmware_upgrade_statuses_get**](docs/FirmwareUpgradeStatusApi.md#firmware_upgrade_statuses_get) | **GET** /firmware/UpgradeStatuses | List of firmwareUpgradeStatuses -*FirmwareUpgradeStatusApi* | [**firmware_upgrade_statuses_moid_get**](docs/FirmwareUpgradeStatusApi.md#firmware_upgrade_statuses_moid_get) | **GET** /firmware/UpgradeStatuses/{moid} | A instance of firmwareUpgradeStatus -*GraphicsCardApi* | [**graphics_cards_get**](docs/GraphicsCardApi.md#graphics_cards_get) | **GET** /graphics/Cards | List of graphicsCards -*GraphicsCardApi* | [**graphics_cards_moid_get**](docs/GraphicsCardApi.md#graphics_cards_moid_get) | **GET** /graphics/Cards/{moid} | A instance of graphicsCard -*GraphicsCardApi* | [**graphics_cards_moid_patch**](docs/GraphicsCardApi.md#graphics_cards_moid_patch) | **PATCH** /graphics/Cards/{moid} | Update an instance of graphicsCard -*GraphicsCardApi* | [**graphics_cards_moid_post**](docs/GraphicsCardApi.md#graphics_cards_moid_post) | **POST** /graphics/Cards/{moid} | Update an instance of graphicsCard -*GraphicsControllerApi* | [**graphics_controllers_get**](docs/GraphicsControllerApi.md#graphics_controllers_get) | **GET** /graphics/Controllers | List of graphicsControllers -*GraphicsControllerApi* | [**graphics_controllers_moid_get**](docs/GraphicsControllerApi.md#graphics_controllers_moid_get) | **GET** /graphics/Controllers/{moid} | A instance of graphicsController -*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 -*HclCompatibilityInfoApi* | [**hcl_compatibility_infos_get**](docs/HclCompatibilityInfoApi.md#hcl_compatibility_infos_get) | **GET** /hcl/CompatibilityInfos | List of hclCompatibilityInfos -*HclCompatibilityInfoApi* | [**hcl_compatibility_infos_moid_get**](docs/HclCompatibilityInfoApi.md#hcl_compatibility_infos_moid_get) | **GET** /hcl/CompatibilityInfos/{moid} | A instance of hclCompatibilityInfo -*HclDataImportLogApi* | [**hcl_data_import_logs_get**](docs/HclDataImportLogApi.md#hcl_data_import_logs_get) | **GET** /hcl/DataImportLogs | List of hclDataImportLogs -*HclDataImportLogApi* | [**hcl_data_import_logs_moid_get**](docs/HclDataImportLogApi.md#hcl_data_import_logs_moid_get) | **GET** /hcl/DataImportLogs/{moid} | A instance of hclDataImportLog -*HclNoteApi* | [**hcl_notes_get**](docs/HclNoteApi.md#hcl_notes_get) | **GET** /hcl/Notes | List of hclNotes -*HclNoteApi* | [**hcl_notes_moid_get**](docs/HclNoteApi.md#hcl_notes_moid_get) | **GET** /hcl/Notes/{moid} | A instance of hclNote -*HyperflexAlarmApi* | [**hyperflex_alarms_get**](docs/HyperflexAlarmApi.md#hyperflex_alarms_get) | **GET** /hyperflex/Alarms | List of hyperflexAlarms -*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} | A instance of hyperflexAlarm -*HyperflexAlarmApi* | [**hyperflex_alarms_post**](docs/HyperflexAlarmApi.md#hyperflex_alarms_post) | **POST** /hyperflex/Alarms | Create a hyperflexAlarm -*HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_get**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_get) | **GET** /hyperflex/AutoSupportPolicies | List of hyperflexAutoSupportPolicies -*HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_moid_delete**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_moid_delete) | **DELETE** /hyperflex/AutoSupportPolicies/{moid} | Delete an instance of hyperflexAutoSupportPolicy -*HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_moid_get**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_moid_get) | **GET** /hyperflex/AutoSupportPolicies/{moid} | A instance of hyperflexAutoSupportPolicy -*HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_moid_patch**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_moid_patch) | **PATCH** /hyperflex/AutoSupportPolicies/{moid} | Update an instance of hyperflexAutoSupportPolicy -*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 a hyperflexAutoSupportPolicy -*HyperflexClusterApi* | [**hyperflex_clusters_get**](docs/HyperflexClusterApi.md#hyperflex_clusters_get) | **GET** /hyperflex/Clusters | List of hyperflexClusters -*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} | A 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 | List of hyperflexClusterNetworkPolicies -*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} | A instance of hyperflexClusterNetworkPolicy -*HyperflexClusterNetworkPolicyApi* | [**hyperflex_cluster_network_policies_moid_patch**](docs/HyperflexClusterNetworkPolicyApi.md#hyperflex_cluster_network_policies_moid_patch) | **PATCH** /hyperflex/ClusterNetworkPolicies/{moid} | Update an instance of hyperflexClusterNetworkPolicy -*HyperflexClusterNetworkPolicyApi* | [**hyperflex_cluster_network_policies_moid_post**](docs/HyperflexClusterNetworkPolicyApi.md#hyperflex_cluster_network_policies_moid_post) | **POST** /hyperflex/ClusterNetworkPolicies/{moid} | Update an instance of hyperflexClusterNetworkPolicy -*HyperflexClusterNetworkPolicyApi* | [**hyperflex_cluster_network_policies_post**](docs/HyperflexClusterNetworkPolicyApi.md#hyperflex_cluster_network_policies_post) | **POST** /hyperflex/ClusterNetworkPolicies | Create a hyperflexClusterNetworkPolicy -*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_get**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_get) | **GET** /hyperflex/ClusterProfiles | List of hyperflexClusterProfiles -*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_moid_delete**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_moid_delete) | **DELETE** /hyperflex/ClusterProfiles/{moid} | Delete an instance of hyperflexClusterProfile -*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_moid_get**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_moid_get) | **GET** /hyperflex/ClusterProfiles/{moid} | A instance of hyperflexClusterProfile -*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_moid_patch**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_moid_patch) | **PATCH** /hyperflex/ClusterProfiles/{moid} | Update an instance of hyperflexClusterProfile -*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_moid_post**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_moid_post) | **POST** /hyperflex/ClusterProfiles/{moid} | Update an instance of hyperflexClusterProfile -*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_post**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_post) | **POST** /hyperflex/ClusterProfiles | Create a hyperflexClusterProfile -*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_get**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_get) | **GET** /hyperflex/ClusterStoragePolicies | List of hyperflexClusterStoragePolicies -*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_moid_delete**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_moid_delete) | **DELETE** /hyperflex/ClusterStoragePolicies/{moid} | Delete an instance of hyperflexClusterStoragePolicy -*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_moid_get**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_moid_get) | **GET** /hyperflex/ClusterStoragePolicies/{moid} | A instance of hyperflexClusterStoragePolicy -*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_moid_patch**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_moid_patch) | **PATCH** /hyperflex/ClusterStoragePolicies/{moid} | Update an instance of hyperflexClusterStoragePolicy -*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_moid_post**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_moid_post) | **POST** /hyperflex/ClusterStoragePolicies/{moid} | Update an instance of hyperflexClusterStoragePolicy -*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_post**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_post) | **POST** /hyperflex/ClusterStoragePolicies | Create a hyperflexClusterStoragePolicy -*HyperflexConfigResultApi* | [**hyperflex_config_results_get**](docs/HyperflexConfigResultApi.md#hyperflex_config_results_get) | **GET** /hyperflex/ConfigResults | List of hyperflexConfigResults -*HyperflexConfigResultApi* | [**hyperflex_config_results_moid_get**](docs/HyperflexConfigResultApi.md#hyperflex_config_results_moid_get) | **GET** /hyperflex/ConfigResults/{moid} | A instance of hyperflexConfigResult -*HyperflexConfigResultEntryApi* | [**hyperflex_config_result_entries_get**](docs/HyperflexConfigResultEntryApi.md#hyperflex_config_result_entries_get) | **GET** /hyperflex/ConfigResultEntries | List of hyperflexConfigResultEntries -*HyperflexConfigResultEntryApi* | [**hyperflex_config_result_entries_moid_get**](docs/HyperflexConfigResultEntryApi.md#hyperflex_config_result_entries_moid_get) | **GET** /hyperflex/ConfigResultEntries/{moid} | A instance of hyperflexConfigResultEntry -*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_get**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_get) | **GET** /hyperflex/ExtFcStoragePolicies | List of hyperflexExtFcStoragePolicies -*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_moid_delete**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_moid_delete) | **DELETE** /hyperflex/ExtFcStoragePolicies/{moid} | Delete an instance of hyperflexExtFcStoragePolicy -*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_moid_get**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_moid_get) | **GET** /hyperflex/ExtFcStoragePolicies/{moid} | A instance of hyperflexExtFcStoragePolicy -*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_moid_patch**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_moid_patch) | **PATCH** /hyperflex/ExtFcStoragePolicies/{moid} | Update an instance of hyperflexExtFcStoragePolicy -*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_moid_post**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_moid_post) | **POST** /hyperflex/ExtFcStoragePolicies/{moid} | Update an instance of hyperflexExtFcStoragePolicy -*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_post**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_post) | **POST** /hyperflex/ExtFcStoragePolicies | Create a hyperflexExtFcStoragePolicy -*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_get**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_get) | **GET** /hyperflex/ExtIscsiStoragePolicies | List of hyperflexExtIscsiStoragePolicies -*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_moid_delete**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_moid_delete) | **DELETE** /hyperflex/ExtIscsiStoragePolicies/{moid} | Delete an instance of hyperflexExtIscsiStoragePolicy -*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_moid_get**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_moid_get) | **GET** /hyperflex/ExtIscsiStoragePolicies/{moid} | A instance of hyperflexExtIscsiStoragePolicy -*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_moid_patch**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_moid_patch) | **PATCH** /hyperflex/ExtIscsiStoragePolicies/{moid} | Update an instance of hyperflexExtIscsiStoragePolicy -*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_moid_post**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_moid_post) | **POST** /hyperflex/ExtIscsiStoragePolicies/{moid} | Update an instance of hyperflexExtIscsiStoragePolicy -*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_post**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_post) | **POST** /hyperflex/ExtIscsiStoragePolicies | Create a hyperflexExtIscsiStoragePolicy -*HyperflexLocalCredentialPolicyApi* | [**hyperflex_local_credential_policies_get**](docs/HyperflexLocalCredentialPolicyApi.md#hyperflex_local_credential_policies_get) | **GET** /hyperflex/LocalCredentialPolicies | List of hyperflexLocalCredentialPolicies -*HyperflexLocalCredentialPolicyApi* | [**hyperflex_local_credential_policies_moid_delete**](docs/HyperflexLocalCredentialPolicyApi.md#hyperflex_local_credential_policies_moid_delete) | **DELETE** /hyperflex/LocalCredentialPolicies/{moid} | Delete an instance of hyperflexLocalCredentialPolicy -*HyperflexLocalCredentialPolicyApi* | [**hyperflex_local_credential_policies_moid_get**](docs/HyperflexLocalCredentialPolicyApi.md#hyperflex_local_credential_policies_moid_get) | **GET** /hyperflex/LocalCredentialPolicies/{moid} | A instance of hyperflexLocalCredentialPolicy -*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 a hyperflexLocalCredentialPolicy -*HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_get**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_get) | **GET** /hyperflex/NodeConfigPolicies | List of hyperflexNodeConfigPolicies -*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} | A instance of hyperflexNodeConfigPolicy -*HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_moid_patch**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_moid_patch) | **PATCH** /hyperflex/NodeConfigPolicies/{moid} | Update an instance of hyperflexNodeConfigPolicy -*HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_moid_post**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_moid_post) | **POST** /hyperflex/NodeConfigPolicies/{moid} | Update an instance of hyperflexNodeConfigPolicy -*HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_post**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_post) | **POST** /hyperflex/NodeConfigPolicies | Create a hyperflexNodeConfigPolicy -*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_get**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_get) | **GET** /hyperflex/NodeProfiles | List of hyperflexNodeProfiles -*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_moid_delete**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_moid_delete) | **DELETE** /hyperflex/NodeProfiles/{moid} | Delete an instance of hyperflexNodeProfile -*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_moid_get**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_moid_get) | **GET** /hyperflex/NodeProfiles/{moid} | A instance of hyperflexNodeProfile -*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_moid_patch**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_moid_patch) | **PATCH** /hyperflex/NodeProfiles/{moid} | Update an instance of hyperflexNodeProfile -*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_moid_post**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_moid_post) | **POST** /hyperflex/NodeProfiles/{moid} | Update an instance of hyperflexNodeProfile -*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_post**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_post) | **POST** /hyperflex/NodeProfiles | Create a hyperflexNodeProfile -*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_get**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_get) | **GET** /hyperflex/ProxySettingPolicies | List of hyperflexProxySettingPolicies -*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_moid_delete**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_moid_delete) | **DELETE** /hyperflex/ProxySettingPolicies/{moid} | Delete an instance of hyperflexProxySettingPolicy -*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_moid_get**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_moid_get) | **GET** /hyperflex/ProxySettingPolicies/{moid} | A instance of hyperflexProxySettingPolicy -*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_moid_patch**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_moid_patch) | **PATCH** /hyperflex/ProxySettingPolicies/{moid} | Update an instance of hyperflexProxySettingPolicy -*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_moid_post**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_moid_post) | **POST** /hyperflex/ProxySettingPolicies/{moid} | Update an instance of hyperflexProxySettingPolicy -*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_post**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_post) | **POST** /hyperflex/ProxySettingPolicies | Create a hyperflexProxySettingPolicy -*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_get**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_get) | **GET** /hyperflex/SysConfigPolicies | List of hyperflexSysConfigPolicies -*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_moid_delete**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_moid_delete) | **DELETE** /hyperflex/SysConfigPolicies/{moid} | Delete an instance of hyperflexSysConfigPolicy -*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_moid_get**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_moid_get) | **GET** /hyperflex/SysConfigPolicies/{moid} | A instance of hyperflexSysConfigPolicy -*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_moid_patch**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_moid_patch) | **PATCH** /hyperflex/SysConfigPolicies/{moid} | Update an instance of hyperflexSysConfigPolicy -*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_moid_post**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_moid_post) | **POST** /hyperflex/SysConfigPolicies/{moid} | Update an instance of hyperflexSysConfigPolicy -*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_post**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_post) | **POST** /hyperflex/SysConfigPolicies | Create a hyperflexSysConfigPolicy -*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_get**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_get) | **GET** /hyperflex/UcsmConfigPolicies | List of hyperflexUcsmConfigPolicies -*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_moid_delete**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_moid_delete) | **DELETE** /hyperflex/UcsmConfigPolicies/{moid} | Delete an instance of hyperflexUcsmConfigPolicy -*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_moid_get**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_moid_get) | **GET** /hyperflex/UcsmConfigPolicies/{moid} | A instance of hyperflexUcsmConfigPolicy -*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_moid_patch**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_moid_patch) | **PATCH** /hyperflex/UcsmConfigPolicies/{moid} | Update an instance of hyperflexUcsmConfigPolicy -*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_moid_post**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_moid_post) | **POST** /hyperflex/UcsmConfigPolicies/{moid} | Update an instance of hyperflexUcsmConfigPolicy -*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_post**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_post) | **POST** /hyperflex/UcsmConfigPolicies | Create a hyperflexUcsmConfigPolicy -*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_get**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_get) | **GET** /hyperflex/VcenterConfigPolicies | List of hyperflexVcenterConfigPolicies -*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_moid_delete**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_moid_delete) | **DELETE** /hyperflex/VcenterConfigPolicies/{moid} | Delete an instance of hyperflexVcenterConfigPolicy -*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_moid_get**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_moid_get) | **GET** /hyperflex/VcenterConfigPolicies/{moid} | A instance of hyperflexVcenterConfigPolicy -*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_moid_patch**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_moid_patch) | **PATCH** /hyperflex/VcenterConfigPolicies/{moid} | Update an instance of hyperflexVcenterConfigPolicy -*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_moid_post**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_moid_post) | **POST** /hyperflex/VcenterConfigPolicies/{moid} | Update an instance of hyperflexVcenterConfigPolicy -*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_post**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_post) | **POST** /hyperflex/VcenterConfigPolicies | Create a hyperflexVcenterConfigPolicy -*IaasConnectorPackApi* | [**iaas_connector_packs_get**](docs/IaasConnectorPackApi.md#iaas_connector_packs_get) | **GET** /iaas/ConnectorPacks | List of iaasConnectorPacks -*IaasConnectorPackApi* | [**iaas_connector_packs_moid_get**](docs/IaasConnectorPackApi.md#iaas_connector_packs_moid_get) | **GET** /iaas/ConnectorPacks/{moid} | A instance of iaasConnectorPack -*IaasDeviceStatusApi* | [**iaas_device_statuses_get**](docs/IaasDeviceStatusApi.md#iaas_device_statuses_get) | **GET** /iaas/DeviceStatuses | List of iaasDeviceStatuses -*IaasDeviceStatusApi* | [**iaas_device_statuses_moid_get**](docs/IaasDeviceStatusApi.md#iaas_device_statuses_moid_get) | **GET** /iaas/DeviceStatuses/{moid} | A instance of iaasDeviceStatus -*IaasLicenseInfoApi* | [**iaas_license_infos_get**](docs/IaasLicenseInfoApi.md#iaas_license_infos_get) | **GET** /iaas/LicenseInfos | List of iaasLicenseInfos -*IaasLicenseInfoApi* | [**iaas_license_infos_moid_get**](docs/IaasLicenseInfoApi.md#iaas_license_infos_moid_get) | **GET** /iaas/LicenseInfos/{moid} | A instance of iaasLicenseInfo -*IaasUcsdInfoApi* | [**iaas_ucsd_infos_get**](docs/IaasUcsdInfoApi.md#iaas_ucsd_infos_get) | **GET** /iaas/UcsdInfos | List of iaasUcsdInfos -*IaasUcsdInfoApi* | [**iaas_ucsd_infos_moid_get**](docs/IaasUcsdInfoApi.md#iaas_ucsd_infos_moid_get) | **GET** /iaas/UcsdInfos/{moid} | A instance of iaasUcsdInfo -*IamAccountApi* | [**iam_accounts_get**](docs/IamAccountApi.md#iam_accounts_get) | **GET** /iam/Accounts | List of iamAccounts -*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} | A instance of iamAccount -*IamAccountApi* | [**iam_accounts_post**](docs/IamAccountApi.md#iam_accounts_post) | **POST** /iam/Accounts | Create a iamAccount -*IamApiKeyApi* | [**iam_api_keys_get**](docs/IamApiKeyApi.md#iam_api_keys_get) | **GET** /iam/ApiKeys | List of iamApiKeys -*IamApiKeyApi* | [**iam_api_keys_moid_delete**](docs/IamApiKeyApi.md#iam_api_keys_moid_delete) | **DELETE** /iam/ApiKeys/{moid} | Delete an instance of iamApiKey -*IamApiKeyApi* | [**iam_api_keys_moid_get**](docs/IamApiKeyApi.md#iam_api_keys_moid_get) | **GET** /iam/ApiKeys/{moid} | A instance of iamApiKey -*IamApiKeyApi* | [**iam_api_keys_moid_patch**](docs/IamApiKeyApi.md#iam_api_keys_moid_patch) | **PATCH** /iam/ApiKeys/{moid} | Update an instance of iamApiKey -*IamApiKeyApi* | [**iam_api_keys_moid_post**](docs/IamApiKeyApi.md#iam_api_keys_moid_post) | **POST** /iam/ApiKeys/{moid} | Update an instance of iamApiKey -*IamApiKeyApi* | [**iam_api_keys_post**](docs/IamApiKeyApi.md#iam_api_keys_post) | **POST** /iam/ApiKeys | Create a iamApiKey -*IamEndPointPrivilegeApi* | [**iam_end_point_privileges_get**](docs/IamEndPointPrivilegeApi.md#iam_end_point_privileges_get) | **GET** /iam/EndPointPrivileges | List of iamEndPointPrivileges -*IamEndPointPrivilegeApi* | [**iam_end_point_privileges_moid_get**](docs/IamEndPointPrivilegeApi.md#iam_end_point_privileges_moid_get) | **GET** /iam/EndPointPrivileges/{moid} | A instance of iamEndPointPrivilege -*IamEndPointRoleApi* | [**iam_end_point_roles_get**](docs/IamEndPointRoleApi.md#iam_end_point_roles_get) | **GET** /iam/EndPointRoles | List of iamEndPointRoles -*IamEndPointRoleApi* | [**iam_end_point_roles_moid_get**](docs/IamEndPointRoleApi.md#iam_end_point_roles_moid_get) | **GET** /iam/EndPointRoles/{moid} | A instance of iamEndPointRole -*IamEndPointUserApi* | [**iam_end_point_users_get**](docs/IamEndPointUserApi.md#iam_end_point_users_get) | **GET** /iam/EndPointUsers | List of iamEndPointUsers -*IamEndPointUserApi* | [**iam_end_point_users_moid_delete**](docs/IamEndPointUserApi.md#iam_end_point_users_moid_delete) | **DELETE** /iam/EndPointUsers/{moid} | Delete an instance of iamEndPointUser -*IamEndPointUserApi* | [**iam_end_point_users_moid_get**](docs/IamEndPointUserApi.md#iam_end_point_users_moid_get) | **GET** /iam/EndPointUsers/{moid} | A instance of iamEndPointUser -*IamEndPointUserApi* | [**iam_end_point_users_moid_patch**](docs/IamEndPointUserApi.md#iam_end_point_users_moid_patch) | **PATCH** /iam/EndPointUsers/{moid} | Update an instance of iamEndPointUser -*IamEndPointUserApi* | [**iam_end_point_users_moid_post**](docs/IamEndPointUserApi.md#iam_end_point_users_moid_post) | **POST** /iam/EndPointUsers/{moid} | Update an instance of iamEndPointUser -*IamEndPointUserApi* | [**iam_end_point_users_post**](docs/IamEndPointUserApi.md#iam_end_point_users_post) | **POST** /iam/EndPointUsers | Create a iamEndPointUser -*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_get**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_get) | **GET** /iam/EndPointUserPolicies | List of iamEndPointUserPolicies -*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_moid_delete**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_moid_delete) | **DELETE** /iam/EndPointUserPolicies/{moid} | Delete an instance of iamEndPointUserPolicy -*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_moid_get**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_moid_get) | **GET** /iam/EndPointUserPolicies/{moid} | A instance of iamEndPointUserPolicy -*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_moid_patch**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_moid_patch) | **PATCH** /iam/EndPointUserPolicies/{moid} | Update an instance of iamEndPointUserPolicy -*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_moid_post**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_moid_post) | **POST** /iam/EndPointUserPolicies/{moid} | Update an instance of iamEndPointUserPolicy -*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_post**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_post) | **POST** /iam/EndPointUserPolicies | Create a iamEndPointUserPolicy -*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_get**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_get) | **GET** /iam/EndPointUserRoles | List of iamEndPointUserRoles -*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_moid_delete**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_moid_delete) | **DELETE** /iam/EndPointUserRoles/{moid} | Delete an instance of iamEndPointUserRole -*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_moid_get**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_moid_get) | **GET** /iam/EndPointUserRoles/{moid} | A instance of iamEndPointUserRole -*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_moid_patch**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_moid_patch) | **PATCH** /iam/EndPointUserRoles/{moid} | Update an instance of iamEndPointUserRole -*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_moid_post**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_moid_post) | **POST** /iam/EndPointUserRoles/{moid} | Update an instance of iamEndPointUserRole -*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_post**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_post) | **POST** /iam/EndPointUserRoles | Create a iamEndPointUserRole -*IamIdpApi* | [**iam_idps_get**](docs/IamIdpApi.md#iam_idps_get) | **GET** /iam/Idps | List of iamIdps -*IamIdpApi* | [**iam_idps_moid_get**](docs/IamIdpApi.md#iam_idps_moid_get) | **GET** /iam/Idps/{moid} | A instance of iamIdp -*IamIdpReferenceApi* | [**iam_idp_references_get**](docs/IamIdpReferenceApi.md#iam_idp_references_get) | **GET** /iam/IdpReferences | List of iamIdpReferences -*IamIdpReferenceApi* | [**iam_idp_references_moid_get**](docs/IamIdpReferenceApi.md#iam_idp_references_moid_get) | **GET** /iam/IdpReferences/{moid} | A instance of iamIdpReference -*IamLdapGroupApi* | [**iam_ldap_groups_get**](docs/IamLdapGroupApi.md#iam_ldap_groups_get) | **GET** /iam/LdapGroups | List of iamLdapGroups -*IamLdapGroupApi* | [**iam_ldap_groups_moid_delete**](docs/IamLdapGroupApi.md#iam_ldap_groups_moid_delete) | **DELETE** /iam/LdapGroups/{moid} | Delete an instance of iamLdapGroup -*IamLdapGroupApi* | [**iam_ldap_groups_moid_get**](docs/IamLdapGroupApi.md#iam_ldap_groups_moid_get) | **GET** /iam/LdapGroups/{moid} | A instance of iamLdapGroup -*IamLdapGroupApi* | [**iam_ldap_groups_moid_patch**](docs/IamLdapGroupApi.md#iam_ldap_groups_moid_patch) | **PATCH** /iam/LdapGroups/{moid} | Update an instance of iamLdapGroup -*IamLdapGroupApi* | [**iam_ldap_groups_moid_post**](docs/IamLdapGroupApi.md#iam_ldap_groups_moid_post) | **POST** /iam/LdapGroups/{moid} | Update an instance of iamLdapGroup -*IamLdapGroupApi* | [**iam_ldap_groups_post**](docs/IamLdapGroupApi.md#iam_ldap_groups_post) | **POST** /iam/LdapGroups | Create a iamLdapGroup -*IamLdapPolicyApi* | [**iam_ldap_policies_get**](docs/IamLdapPolicyApi.md#iam_ldap_policies_get) | **GET** /iam/LdapPolicies | List of iamLdapPolicies -*IamLdapPolicyApi* | [**iam_ldap_policies_moid_delete**](docs/IamLdapPolicyApi.md#iam_ldap_policies_moid_delete) | **DELETE** /iam/LdapPolicies/{moid} | Delete an instance of iamLdapPolicy -*IamLdapPolicyApi* | [**iam_ldap_policies_moid_get**](docs/IamLdapPolicyApi.md#iam_ldap_policies_moid_get) | **GET** /iam/LdapPolicies/{moid} | A instance of iamLdapPolicy -*IamLdapPolicyApi* | [**iam_ldap_policies_moid_patch**](docs/IamLdapPolicyApi.md#iam_ldap_policies_moid_patch) | **PATCH** /iam/LdapPolicies/{moid} | Update an instance of iamLdapPolicy -*IamLdapPolicyApi* | [**iam_ldap_policies_moid_post**](docs/IamLdapPolicyApi.md#iam_ldap_policies_moid_post) | **POST** /iam/LdapPolicies/{moid} | Update an instance of iamLdapPolicy -*IamLdapPolicyApi* | [**iam_ldap_policies_post**](docs/IamLdapPolicyApi.md#iam_ldap_policies_post) | **POST** /iam/LdapPolicies | Create a iamLdapPolicy -*IamLdapProviderApi* | [**iam_ldap_providers_get**](docs/IamLdapProviderApi.md#iam_ldap_providers_get) | **GET** /iam/LdapProviders | List of iamLdapProviders -*IamLdapProviderApi* | [**iam_ldap_providers_moid_delete**](docs/IamLdapProviderApi.md#iam_ldap_providers_moid_delete) | **DELETE** /iam/LdapProviders/{moid} | Delete an instance of iamLdapProvider -*IamLdapProviderApi* | [**iam_ldap_providers_moid_get**](docs/IamLdapProviderApi.md#iam_ldap_providers_moid_get) | **GET** /iam/LdapProviders/{moid} | A instance of iamLdapProvider -*IamLdapProviderApi* | [**iam_ldap_providers_moid_patch**](docs/IamLdapProviderApi.md#iam_ldap_providers_moid_patch) | **PATCH** /iam/LdapProviders/{moid} | Update an instance of iamLdapProvider -*IamLdapProviderApi* | [**iam_ldap_providers_moid_post**](docs/IamLdapProviderApi.md#iam_ldap_providers_moid_post) | **POST** /iam/LdapProviders/{moid} | Update an instance of iamLdapProvider -*IamLdapProviderApi* | [**iam_ldap_providers_post**](docs/IamLdapProviderApi.md#iam_ldap_providers_post) | **POST** /iam/LdapProviders | Create a iamLdapProvider -*IamPermissionApi* | [**iam_permissions_get**](docs/IamPermissionApi.md#iam_permissions_get) | **GET** /iam/Permissions | List of iamPermissions -*IamPermissionApi* | [**iam_permissions_moid_delete**](docs/IamPermissionApi.md#iam_permissions_moid_delete) | **DELETE** /iam/Permissions/{moid} | Delete an instance of iamPermission -*IamPermissionApi* | [**iam_permissions_moid_get**](docs/IamPermissionApi.md#iam_permissions_moid_get) | **GET** /iam/Permissions/{moid} | A instance of iamPermission -*IamPermissionApi* | [**iam_permissions_moid_patch**](docs/IamPermissionApi.md#iam_permissions_moid_patch) | **PATCH** /iam/Permissions/{moid} | Update an instance of iamPermission -*IamPermissionApi* | [**iam_permissions_moid_post**](docs/IamPermissionApi.md#iam_permissions_moid_post) | **POST** /iam/Permissions/{moid} | Update an instance of iamPermission -*IamPermissionApi* | [**iam_permissions_post**](docs/IamPermissionApi.md#iam_permissions_post) | **POST** /iam/Permissions | Create a iamPermission -*IamPrivilegeApi* | [**iam_privileges_get**](docs/IamPrivilegeApi.md#iam_privileges_get) | **GET** /iam/Privileges | List of iamPrivileges -*IamPrivilegeApi* | [**iam_privileges_moid_get**](docs/IamPrivilegeApi.md#iam_privileges_moid_get) | **GET** /iam/Privileges/{moid} | A instance of iamPrivilege -*IamPrivilegeSetApi* | [**iam_privilege_sets_get**](docs/IamPrivilegeSetApi.md#iam_privilege_sets_get) | **GET** /iam/PrivilegeSets | List of iamPrivilegeSets -*IamPrivilegeSetApi* | [**iam_privilege_sets_moid_get**](docs/IamPrivilegeSetApi.md#iam_privilege_sets_moid_get) | **GET** /iam/PrivilegeSets/{moid} | A instance of iamPrivilegeSet -*IamQualifierApi* | [**iam_qualifiers_get**](docs/IamQualifierApi.md#iam_qualifiers_get) | **GET** /iam/Qualifiers | List of iamQualifiers -*IamQualifierApi* | [**iam_qualifiers_moid_get**](docs/IamQualifierApi.md#iam_qualifiers_moid_get) | **GET** /iam/Qualifiers/{moid} | A instance of iamQualifier -*IamResourceLimitsApi* | [**iam_resource_limits_get**](docs/IamResourceLimitsApi.md#iam_resource_limits_get) | **GET** /iam/ResourceLimits | List of iamResourceLimits -*IamResourceLimitsApi* | [**iam_resource_limits_moid_get**](docs/IamResourceLimitsApi.md#iam_resource_limits_moid_get) | **GET** /iam/ResourceLimits/{moid} | A instance of iamResourceLimits -*IamRoleApi* | [**iam_roles_get**](docs/IamRoleApi.md#iam_roles_get) | **GET** /iam/Roles | List of iamRoles -*IamRoleApi* | [**iam_roles_moid_get**](docs/IamRoleApi.md#iam_roles_moid_get) | **GET** /iam/Roles/{moid} | A instance of iamRole -*IamSessionApi* | [**iam_sessions_get**](docs/IamSessionApi.md#iam_sessions_get) | **GET** /iam/Sessions | List of iamSessions -*IamSessionApi* | [**iam_sessions_moid_delete**](docs/IamSessionApi.md#iam_sessions_moid_delete) | **DELETE** /iam/Sessions/{moid} | Delete an instance of iamSession -*IamSessionApi* | [**iam_sessions_moid_get**](docs/IamSessionApi.md#iam_sessions_moid_get) | **GET** /iam/Sessions/{moid} | A instance of iamSession -*IamSessionLimitsApi* | [**iam_session_limits_get**](docs/IamSessionLimitsApi.md#iam_session_limits_get) | **GET** /iam/SessionLimits | List of iamSessionLimits -*IamSessionLimitsApi* | [**iam_session_limits_moid_get**](docs/IamSessionLimitsApi.md#iam_session_limits_moid_get) | **GET** /iam/SessionLimits/{moid} | A instance of iamSessionLimits -*IamSystemApi* | [**iam_systems_get**](docs/IamSystemApi.md#iam_systems_get) | **GET** /iam/Systems | List of iamSystems -*IamSystemApi* | [**iam_systems_moid_get**](docs/IamSystemApi.md#iam_systems_moid_get) | **GET** /iam/Systems/{moid} | A instance of iamSystem -*IamUserApi* | [**iam_users_get**](docs/IamUserApi.md#iam_users_get) | **GET** /iam/Users | List of iamUsers -*IamUserApi* | [**iam_users_moid_delete**](docs/IamUserApi.md#iam_users_moid_delete) | **DELETE** /iam/Users/{moid} | Delete an instance of iamUser -*IamUserApi* | [**iam_users_moid_get**](docs/IamUserApi.md#iam_users_moid_get) | **GET** /iam/Users/{moid} | A instance of iamUser -*IamUserApi* | [**iam_users_post**](docs/IamUserApi.md#iam_users_post) | **POST** /iam/Users | Create a iamUser -*IamUserGroupApi* | [**iam_user_groups_get**](docs/IamUserGroupApi.md#iam_user_groups_get) | **GET** /iam/UserGroups | List of iamUserGroups -*IamUserGroupApi* | [**iam_user_groups_moid_get**](docs/IamUserGroupApi.md#iam_user_groups_moid_get) | **GET** /iam/UserGroups/{moid} | A instance of iamUserGroup -*IamUserPreferenceApi* | [**iam_user_preferences_get**](docs/IamUserPreferenceApi.md#iam_user_preferences_get) | **GET** /iam/UserPreferences | List of iamUserPreferences -*IamUserPreferenceApi* | [**iam_user_preferences_moid_get**](docs/IamUserPreferenceApi.md#iam_user_preferences_moid_get) | **GET** /iam/UserPreferences/{moid} | A instance of iamUserPreference -*IamUserPreferenceApi* | [**iam_user_preferences_moid_patch**](docs/IamUserPreferenceApi.md#iam_user_preferences_moid_patch) | **PATCH** /iam/UserPreferences/{moid} | Update an instance of iamUserPreference -*IamUserPreferenceApi* | [**iam_user_preferences_moid_post**](docs/IamUserPreferenceApi.md#iam_user_preferences_moid_post) | **POST** /iam/UserPreferences/{moid} | Update an instance of iamUserPreference -*InventoryDeviceInfoApi* | [**inventory_device_infos_get**](docs/InventoryDeviceInfoApi.md#inventory_device_infos_get) | **GET** /inventory/DeviceInfos | List of inventoryDeviceInfos -*InventoryDeviceInfoApi* | [**inventory_device_infos_moid_get**](docs/InventoryDeviceInfoApi.md#inventory_device_infos_moid_get) | **GET** /inventory/DeviceInfos/{moid} | A instance of inventoryDeviceInfo -*InventoryDnMoBindingApi* | [**inventory_dn_mo_bindings_get**](docs/InventoryDnMoBindingApi.md#inventory_dn_mo_bindings_get) | **GET** /inventory/DnMoBindings | List of inventoryDnMoBindings -*InventoryDnMoBindingApi* | [**inventory_dn_mo_bindings_moid_get**](docs/InventoryDnMoBindingApi.md#inventory_dn_mo_bindings_moid_get) | **GET** /inventory/DnMoBindings/{moid} | A instance of inventoryDnMoBinding -*InventoryGenericInventoryApi* | [**inventory_generic_inventories_get**](docs/InventoryGenericInventoryApi.md#inventory_generic_inventories_get) | **GET** /inventory/GenericInventories | List of inventoryGenericInventories -*InventoryGenericInventoryApi* | [**inventory_generic_inventories_moid_get**](docs/InventoryGenericInventoryApi.md#inventory_generic_inventories_moid_get) | **GET** /inventory/GenericInventories/{moid} | A instance of inventoryGenericInventory -*InventoryGenericInventoryApi* | [**inventory_generic_inventories_moid_patch**](docs/InventoryGenericInventoryApi.md#inventory_generic_inventories_moid_patch) | **PATCH** /inventory/GenericInventories/{moid} | Update an instance of inventoryGenericInventory -*InventoryGenericInventoryApi* | [**inventory_generic_inventories_moid_post**](docs/InventoryGenericInventoryApi.md#inventory_generic_inventories_moid_post) | **POST** /inventory/GenericInventories/{moid} | Update an instance of inventoryGenericInventory -*InventoryGenericInventoryHolderApi* | [**inventory_generic_inventory_holders_get**](docs/InventoryGenericInventoryHolderApi.md#inventory_generic_inventory_holders_get) | **GET** /inventory/GenericInventoryHolders | List of inventoryGenericInventoryHolders -*InventoryGenericInventoryHolderApi* | [**inventory_generic_inventory_holders_moid_get**](docs/InventoryGenericInventoryHolderApi.md#inventory_generic_inventory_holders_moid_get) | **GET** /inventory/GenericInventoryHolders/{moid} | A instance of inventoryGenericInventoryHolder -*InventoryGenericInventoryHolderApi* | [**inventory_generic_inventory_holders_moid_patch**](docs/InventoryGenericInventoryHolderApi.md#inventory_generic_inventory_holders_moid_patch) | **PATCH** /inventory/GenericInventoryHolders/{moid} | Update an instance of inventoryGenericInventoryHolder -*InventoryGenericInventoryHolderApi* | [**inventory_generic_inventory_holders_moid_post**](docs/InventoryGenericInventoryHolderApi.md#inventory_generic_inventory_holders_moid_post) | **POST** /inventory/GenericInventoryHolders/{moid} | Update an instance of inventoryGenericInventoryHolder -*InventoryRequestApi* | [**inventory_requests_post**](docs/InventoryRequestApi.md#inventory_requests_post) | **POST** /inventory/Requests | Create a inventoryRequest -*IpmioverlanPolicyApi* | [**ipmioverlan_policies_get**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_get) | **GET** /ipmioverlan/Policies | List of ipmioverlanPolicies -*IpmioverlanPolicyApi* | [**ipmioverlan_policies_moid_delete**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_moid_delete) | **DELETE** /ipmioverlan/Policies/{moid} | Delete an instance of ipmioverlanPolicy -*IpmioverlanPolicyApi* | [**ipmioverlan_policies_moid_get**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_moid_get) | **GET** /ipmioverlan/Policies/{moid} | A instance of ipmioverlanPolicy -*IpmioverlanPolicyApi* | [**ipmioverlan_policies_moid_patch**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_moid_patch) | **PATCH** /ipmioverlan/Policies/{moid} | Update an instance of ipmioverlanPolicy -*IpmioverlanPolicyApi* | [**ipmioverlan_policies_moid_post**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_moid_post) | **POST** /ipmioverlan/Policies/{moid} | Update an instance of ipmioverlanPolicy -*IpmioverlanPolicyApi* | [**ipmioverlan_policies_post**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_post) | **POST** /ipmioverlan/Policies | Create a ipmioverlanPolicy -*KvmPolicyApi* | [**kvm_policies_get**](docs/KvmPolicyApi.md#kvm_policies_get) | **GET** /kvm/Policies | List of kvmPolicies -*KvmPolicyApi* | [**kvm_policies_moid_delete**](docs/KvmPolicyApi.md#kvm_policies_moid_delete) | **DELETE** /kvm/Policies/{moid} | Delete an instance of kvmPolicy -*KvmPolicyApi* | [**kvm_policies_moid_get**](docs/KvmPolicyApi.md#kvm_policies_moid_get) | **GET** /kvm/Policies/{moid} | A instance of kvmPolicy -*KvmPolicyApi* | [**kvm_policies_moid_patch**](docs/KvmPolicyApi.md#kvm_policies_moid_patch) | **PATCH** /kvm/Policies/{moid} | Update an instance of kvmPolicy -*KvmPolicyApi* | [**kvm_policies_moid_post**](docs/KvmPolicyApi.md#kvm_policies_moid_post) | **POST** /kvm/Policies/{moid} | Update an instance of kvmPolicy -*KvmPolicyApi* | [**kvm_policies_post**](docs/KvmPolicyApi.md#kvm_policies_post) | **POST** /kvm/Policies | Create a kvmPolicy -*LicenseAccountLicenseDataApi* | [**license_account_license_data_get**](docs/LicenseAccountLicenseDataApi.md#license_account_license_data_get) | **GET** /license/AccountLicenseData | List of licenseAccountLicenseData -*LicenseAccountLicenseDataApi* | [**license_account_license_data_moid_get**](docs/LicenseAccountLicenseDataApi.md#license_account_license_data_moid_get) | **GET** /license/AccountLicenseData/{moid} | A instance of licenseAccountLicenseData -*LicenseCustomerOpApi* | [**license_customer_ops_get**](docs/LicenseCustomerOpApi.md#license_customer_ops_get) | **GET** /license/CustomerOps | List of licenseCustomerOps -*LicenseCustomerOpApi* | [**license_customer_ops_moid_get**](docs/LicenseCustomerOpApi.md#license_customer_ops_moid_get) | **GET** /license/CustomerOps/{moid} | A instance of licenseCustomerOp -*LicenseCustomerOpApi* | [**license_customer_ops_moid_patch**](docs/LicenseCustomerOpApi.md#license_customer_ops_moid_patch) | **PATCH** /license/CustomerOps/{moid} | Update an instance of licenseCustomerOp -*LicenseCustomerOpApi* | [**license_customer_ops_moid_post**](docs/LicenseCustomerOpApi.md#license_customer_ops_moid_post) | **POST** /license/CustomerOps/{moid} | Update an instance of licenseCustomerOp -*LicenseLicenseInfoApi* | [**license_license_infos_get**](docs/LicenseLicenseInfoApi.md#license_license_infos_get) | **GET** /license/LicenseInfos | List of licenseLicenseInfos -*LicenseLicenseInfoApi* | [**license_license_infos_moid_get**](docs/LicenseLicenseInfoApi.md#license_license_infos_moid_get) | **GET** /license/LicenseInfos/{moid} | A instance of licenseLicenseInfo -*LicenseLicenseInfoApi* | [**license_license_infos_moid_patch**](docs/LicenseLicenseInfoApi.md#license_license_infos_moid_patch) | **PATCH** /license/LicenseInfos/{moid} | Update an instance of licenseLicenseInfo -*LicenseLicenseInfoApi* | [**license_license_infos_moid_post**](docs/LicenseLicenseInfoApi.md#license_license_infos_moid_post) | **POST** /license/LicenseInfos/{moid} | Update an instance of licenseLicenseInfo -*LicenseLicenseInfoApi* | [**license_license_infos_post**](docs/LicenseLicenseInfoApi.md#license_license_infos_post) | **POST** /license/LicenseInfos | Create a licenseLicenseInfo -*LicenseSmartlicenseTokenApi* | [**license_smartlicense_tokens_get**](docs/LicenseSmartlicenseTokenApi.md#license_smartlicense_tokens_get) | **GET** /license/SmartlicenseTokens | List of licenseSmartlicenseTokens -*LicenseSmartlicenseTokenApi* | [**license_smartlicense_tokens_moid_get**](docs/LicenseSmartlicenseTokenApi.md#license_smartlicense_tokens_moid_get) | **GET** /license/SmartlicenseTokens/{moid} | A instance of licenseSmartlicenseToken -*LicenseSmartlicenseTokenApi* | [**license_smartlicense_tokens_moid_patch**](docs/LicenseSmartlicenseTokenApi.md#license_smartlicense_tokens_moid_patch) | **PATCH** /license/SmartlicenseTokens/{moid} | Update an instance of licenseSmartlicenseToken -*LicenseSmartlicenseTokenApi* | [**license_smartlicense_tokens_moid_post**](docs/LicenseSmartlicenseTokenApi.md#license_smartlicense_tokens_moid_post) | **POST** /license/SmartlicenseTokens/{moid} | Update an instance of licenseSmartlicenseToken -*LsServiceProfileApi* | [**ls_service_profiles_get**](docs/LsServiceProfileApi.md#ls_service_profiles_get) | **GET** /ls/ServiceProfiles | List of lsServiceProfiles -*LsServiceProfileApi* | [**ls_service_profiles_moid_get**](docs/LsServiceProfileApi.md#ls_service_profiles_moid_get) | **GET** /ls/ServiceProfiles/{moid} | A instance of lsServiceProfile -*LsServiceProfileApi* | [**ls_service_profiles_moid_patch**](docs/LsServiceProfileApi.md#ls_service_profiles_moid_patch) | **PATCH** /ls/ServiceProfiles/{moid} | Update an instance of lsServiceProfile -*LsServiceProfileApi* | [**ls_service_profiles_moid_post**](docs/LsServiceProfileApi.md#ls_service_profiles_moid_post) | **POST** /ls/ServiceProfiles/{moid} | Update an instance of lsServiceProfile -*ManagementControllerApi* | [**management_controllers_get**](docs/ManagementControllerApi.md#management_controllers_get) | **GET** /management/Controllers | List of managementControllers -*ManagementControllerApi* | [**management_controllers_moid_get**](docs/ManagementControllerApi.md#management_controllers_moid_get) | **GET** /management/Controllers/{moid} | A instance of managementController -*ManagementControllerApi* | [**management_controllers_moid_patch**](docs/ManagementControllerApi.md#management_controllers_moid_patch) | **PATCH** /management/Controllers/{moid} | Update an instance of managementController -*ManagementControllerApi* | [**management_controllers_moid_post**](docs/ManagementControllerApi.md#management_controllers_moid_post) | **POST** /management/Controllers/{moid} | Update an instance of managementController -*ManagementEntityApi* | [**management_entities_get**](docs/ManagementEntityApi.md#management_entities_get) | **GET** /management/Entities | List of managementEntities -*ManagementEntityApi* | [**management_entities_moid_get**](docs/ManagementEntityApi.md#management_entities_moid_get) | **GET** /management/Entities/{moid} | A instance of managementEntity -*ManagementEntityApi* | [**management_entities_moid_patch**](docs/ManagementEntityApi.md#management_entities_moid_patch) | **PATCH** /management/Entities/{moid} | Update an instance of managementEntity -*ManagementEntityApi* | [**management_entities_moid_post**](docs/ManagementEntityApi.md#management_entities_moid_post) | **POST** /management/Entities/{moid} | Update an instance of managementEntity -*ManagementInterfaceApi* | [**management_interfaces_get**](docs/ManagementInterfaceApi.md#management_interfaces_get) | **GET** /management/Interfaces | List of managementInterfaces -*ManagementInterfaceApi* | [**management_interfaces_moid_get**](docs/ManagementInterfaceApi.md#management_interfaces_moid_get) | **GET** /management/Interfaces/{moid} | A instance of managementInterface -*ManagementInterfaceApi* | [**management_interfaces_moid_patch**](docs/ManagementInterfaceApi.md#management_interfaces_moid_patch) | **PATCH** /management/Interfaces/{moid} | Update an instance of managementInterface -*ManagementInterfaceApi* | [**management_interfaces_moid_post**](docs/ManagementInterfaceApi.md#management_interfaces_moid_post) | **POST** /management/Interfaces/{moid} | Update an instance of managementInterface -*MemoryArrayApi* | [**memory_arrays_get**](docs/MemoryArrayApi.md#memory_arrays_get) | **GET** /memory/Arrays | List of memoryArrays -*MemoryArrayApi* | [**memory_arrays_moid_get**](docs/MemoryArrayApi.md#memory_arrays_moid_get) | **GET** /memory/Arrays/{moid} | A instance of memoryArray -*MemoryArrayApi* | [**memory_arrays_moid_patch**](docs/MemoryArrayApi.md#memory_arrays_moid_patch) | **PATCH** /memory/Arrays/{moid} | Update an instance of memoryArray -*MemoryArrayApi* | [**memory_arrays_moid_post**](docs/MemoryArrayApi.md#memory_arrays_moid_post) | **POST** /memory/Arrays/{moid} | Update an instance of memoryArray -*MemoryUnitApi* | [**memory_units_get**](docs/MemoryUnitApi.md#memory_units_get) | **GET** /memory/Units | List of memoryUnits -*MemoryUnitApi* | [**memory_units_moid_get**](docs/MemoryUnitApi.md#memory_units_moid_get) | **GET** /memory/Units/{moid} | A instance of memoryUnit -*MemoryUnitApi* | [**memory_units_moid_patch**](docs/MemoryUnitApi.md#memory_units_moid_patch) | **PATCH** /memory/Units/{moid} | Update an instance of memoryUnit -*MemoryUnitApi* | [**memory_units_moid_post**](docs/MemoryUnitApi.md#memory_units_moid_post) | **POST** /memory/Units/{moid} | Update an instance of memoryUnit -*MetaDefinitionApi* | [**meta_definitions_get**](docs/MetaDefinitionApi.md#meta_definitions_get) | **GET** /meta/Definitions | List of metaDefinitions -*MetaDefinitionApi* | [**meta_definitions_moid_get**](docs/MetaDefinitionApi.md#meta_definitions_moid_get) | **GET** /meta/Definitions/{moid} | A instance of metaDefinition -*NetworkElementApi* | [**network_elements_get**](docs/NetworkElementApi.md#network_elements_get) | **GET** /network/Elements | List of networkElements -*NetworkElementApi* | [**network_elements_moid_get**](docs/NetworkElementApi.md#network_elements_moid_get) | **GET** /network/Elements/{moid} | A instance of networkElement -*NetworkElementApi* | [**network_elements_moid_patch**](docs/NetworkElementApi.md#network_elements_moid_patch) | **PATCH** /network/Elements/{moid} | Update an instance of networkElement -*NetworkElementApi* | [**network_elements_moid_post**](docs/NetworkElementApi.md#network_elements_moid_post) | **POST** /network/Elements/{moid} | Update an instance of networkElement -*NetworkElementSummaryApi* | [**network_element_summaries_get**](docs/NetworkElementSummaryApi.md#network_element_summaries_get) | **GET** /network/ElementSummaries | List of networkElementSummaries -*NetworkElementSummaryApi* | [**network_element_summaries_moid_get**](docs/NetworkElementSummaryApi.md#network_element_summaries_moid_get) | **GET** /network/ElementSummaries/{moid} | A instance of networkElementSummary -*NetworkconfigPolicyApi* | [**networkconfig_policies_get**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_get) | **GET** /networkconfig/Policies | List of networkconfigPolicies -*NetworkconfigPolicyApi* | [**networkconfig_policies_moid_delete**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_moid_delete) | **DELETE** /networkconfig/Policies/{moid} | Delete an instance of networkconfigPolicy -*NetworkconfigPolicyApi* | [**networkconfig_policies_moid_get**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_moid_get) | **GET** /networkconfig/Policies/{moid} | A instance of networkconfigPolicy -*NetworkconfigPolicyApi* | [**networkconfig_policies_moid_patch**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_moid_patch) | **PATCH** /networkconfig/Policies/{moid} | Update an instance of networkconfigPolicy -*NetworkconfigPolicyApi* | [**networkconfig_policies_moid_post**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_moid_post) | **POST** /networkconfig/Policies/{moid} | Update an instance of networkconfigPolicy -*NetworkconfigPolicyApi* | [**networkconfig_policies_post**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_post) | **POST** /networkconfig/Policies | Create a networkconfigPolicy -*NtpPolicyApi* | [**ntp_policies_get**](docs/NtpPolicyApi.md#ntp_policies_get) | **GET** /ntp/Policies | List of ntpPolicies -*NtpPolicyApi* | [**ntp_policies_moid_delete**](docs/NtpPolicyApi.md#ntp_policies_moid_delete) | **DELETE** /ntp/Policies/{moid} | Delete an instance of ntpPolicy -*NtpPolicyApi* | [**ntp_policies_moid_get**](docs/NtpPolicyApi.md#ntp_policies_moid_get) | **GET** /ntp/Policies/{moid} | A instance of ntpPolicy -*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 a ntpPolicy -*OauthOauthUserApi* | [**oauth_oauth_users_get**](docs/OauthOauthUserApi.md#oauth_oauth_users_get) | **GET** /oauth/OauthUsers | List of oauthOauthUsers -*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} | A 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 a oauthOauthUser -*PortGroupApi* | [**port_groups_get**](docs/PortGroupApi.md#port_groups_get) | **GET** /port/Groups | List of portGroups -*PortGroupApi* | [**port_groups_moid_get**](docs/PortGroupApi.md#port_groups_moid_get) | **GET** /port/Groups/{moid} | A instance of portGroup -*PortGroupApi* | [**port_groups_moid_patch**](docs/PortGroupApi.md#port_groups_moid_patch) | **PATCH** /port/Groups/{moid} | Update an instance of portGroup -*PortGroupApi* | [**port_groups_moid_post**](docs/PortGroupApi.md#port_groups_moid_post) | **POST** /port/Groups/{moid} | Update an instance of portGroup -*PortSubGroupApi* | [**port_sub_groups_get**](docs/PortSubGroupApi.md#port_sub_groups_get) | **GET** /port/SubGroups | List of portSubGroups -*PortSubGroupApi* | [**port_sub_groups_moid_get**](docs/PortSubGroupApi.md#port_sub_groups_moid_get) | **GET** /port/SubGroups/{moid} | A instance of portSubGroup -*PortSubGroupApi* | [**port_sub_groups_moid_patch**](docs/PortSubGroupApi.md#port_sub_groups_moid_patch) | **PATCH** /port/SubGroups/{moid} | Update an instance of portSubGroup -*PortSubGroupApi* | [**port_sub_groups_moid_post**](docs/PortSubGroupApi.md#port_sub_groups_moid_post) | **POST** /port/SubGroups/{moid} | Update an instance of portSubGroup -*ProcessorUnitApi* | [**processor_units_get**](docs/ProcessorUnitApi.md#processor_units_get) | **GET** /processor/Units | List of processorUnits -*ProcessorUnitApi* | [**processor_units_moid_get**](docs/ProcessorUnitApi.md#processor_units_moid_get) | **GET** /processor/Units/{moid} | A 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 -*SearchSearchItemApi* | [**search_search_items_get**](docs/SearchSearchItemApi.md#search_search_items_get) | **GET** /search/SearchItems | List of searchSearchItems -*SearchSearchItemApi* | [**search_search_items_moid_get**](docs/SearchSearchItemApi.md#search_search_items_moid_get) | **GET** /search/SearchItems/{moid} | A instance of searchSearchItem -*SearchSuggestItemApi* | [**search_suggest_items_post**](docs/SearchSuggestItemApi.md#search_suggest_items_post) | **POST** /search/SuggestItems | Create a searchSuggestItem -*SearchTagItemApi* | [**search_tag_items_get**](docs/SearchTagItemApi.md#search_tag_items_get) | **GET** /search/TagItems | List of searchTagItems -*SearchTagItemApi* | [**search_tag_items_moid_get**](docs/SearchTagItemApi.md#search_tag_items_moid_get) | **GET** /search/TagItems/{moid} | A instance of searchTagItem -*SecurityUnitApi* | [**security_units_get**](docs/SecurityUnitApi.md#security_units_get) | **GET** /security/Units | List of securityUnits -*SecurityUnitApi* | [**security_units_moid_get**](docs/SecurityUnitApi.md#security_units_moid_get) | **GET** /security/Units/{moid} | A instance of securityUnit -*SecurityUnitApi* | [**security_units_moid_patch**](docs/SecurityUnitApi.md#security_units_moid_patch) | **PATCH** /security/Units/{moid} | Update an instance of securityUnit -*SecurityUnitApi* | [**security_units_moid_post**](docs/SecurityUnitApi.md#security_units_moid_post) | **POST** /security/Units/{moid} | Update an instance of securityUnit -*ServerConfigResultApi* | [**server_config_results_get**](docs/ServerConfigResultApi.md#server_config_results_get) | **GET** /server/ConfigResults | List of serverConfigResults -*ServerConfigResultApi* | [**server_config_results_moid_get**](docs/ServerConfigResultApi.md#server_config_results_moid_get) | **GET** /server/ConfigResults/{moid} | A instance of serverConfigResult -*ServerConfigResultEntryApi* | [**server_config_result_entries_get**](docs/ServerConfigResultEntryApi.md#server_config_result_entries_get) | **GET** /server/ConfigResultEntries | List of serverConfigResultEntries -*ServerConfigResultEntryApi* | [**server_config_result_entries_moid_get**](docs/ServerConfigResultEntryApi.md#server_config_result_entries_moid_get) | **GET** /server/ConfigResultEntries/{moid} | A instance of serverConfigResultEntry -*ServerProfileApi* | [**server_profiles_get**](docs/ServerProfileApi.md#server_profiles_get) | **GET** /server/Profiles | List of serverProfiles -*ServerProfileApi* | [**server_profiles_moid_delete**](docs/ServerProfileApi.md#server_profiles_moid_delete) | **DELETE** /server/Profiles/{moid} | Delete an instance of serverProfile -*ServerProfileApi* | [**server_profiles_moid_get**](docs/ServerProfileApi.md#server_profiles_moid_get) | **GET** /server/Profiles/{moid} | A instance of serverProfile -*ServerProfileApi* | [**server_profiles_moid_patch**](docs/ServerProfileApi.md#server_profiles_moid_patch) | **PATCH** /server/Profiles/{moid} | Update an instance of serverProfile -*ServerProfileApi* | [**server_profiles_moid_post**](docs/ServerProfileApi.md#server_profiles_moid_post) | **POST** /server/Profiles/{moid} | Update an instance of serverProfile -*ServerProfileApi* | [**server_profiles_post**](docs/ServerProfileApi.md#server_profiles_post) | **POST** /server/Profiles | Create a serverProfile -*SmtpPolicyApi* | [**smtp_policies_get**](docs/SmtpPolicyApi.md#smtp_policies_get) | **GET** /smtp/Policies | List of smtpPolicies -*SmtpPolicyApi* | [**smtp_policies_moid_delete**](docs/SmtpPolicyApi.md#smtp_policies_moid_delete) | **DELETE** /smtp/Policies/{moid} | Delete an instance of smtpPolicy -*SmtpPolicyApi* | [**smtp_policies_moid_get**](docs/SmtpPolicyApi.md#smtp_policies_moid_get) | **GET** /smtp/Policies/{moid} | A instance of smtpPolicy -*SmtpPolicyApi* | [**smtp_policies_moid_patch**](docs/SmtpPolicyApi.md#smtp_policies_moid_patch) | **PATCH** /smtp/Policies/{moid} | Update an instance of smtpPolicy -*SmtpPolicyApi* | [**smtp_policies_moid_post**](docs/SmtpPolicyApi.md#smtp_policies_moid_post) | **POST** /smtp/Policies/{moid} | Update an instance of smtpPolicy -*SmtpPolicyApi* | [**smtp_policies_post**](docs/SmtpPolicyApi.md#smtp_policies_post) | **POST** /smtp/Policies | Create a smtpPolicy -*SnmpPolicyApi* | [**snmp_policies_get**](docs/SnmpPolicyApi.md#snmp_policies_get) | **GET** /snmp/Policies | List of snmpPolicies -*SnmpPolicyApi* | [**snmp_policies_moid_delete**](docs/SnmpPolicyApi.md#snmp_policies_moid_delete) | **DELETE** /snmp/Policies/{moid} | Delete an instance of snmpPolicy -*SnmpPolicyApi* | [**snmp_policies_moid_get**](docs/SnmpPolicyApi.md#snmp_policies_moid_get) | **GET** /snmp/Policies/{moid} | A instance of snmpPolicy -*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 a snmpPolicy -*SolPolicyApi* | [**sol_policies_get**](docs/SolPolicyApi.md#sol_policies_get) | **GET** /sol/Policies | List of solPolicies -*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} | A instance of solPolicy -*SolPolicyApi* | [**sol_policies_moid_patch**](docs/SolPolicyApi.md#sol_policies_moid_patch) | **PATCH** /sol/Policies/{moid} | Update an instance of solPolicy -*SolPolicyApi* | [**sol_policies_moid_post**](docs/SolPolicyApi.md#sol_policies_moid_post) | **POST** /sol/Policies/{moid} | Update an instance of solPolicy -*SolPolicyApi* | [**sol_policies_post**](docs/SolPolicyApi.md#sol_policies_post) | **POST** /sol/Policies | Create a solPolicy -*SshPolicyApi* | [**ssh_policies_get**](docs/SshPolicyApi.md#ssh_policies_get) | **GET** /ssh/Policies | List of sshPolicies -*SshPolicyApi* | [**ssh_policies_moid_delete**](docs/SshPolicyApi.md#ssh_policies_moid_delete) | **DELETE** /ssh/Policies/{moid} | Delete an instance of sshPolicy -*SshPolicyApi* | [**ssh_policies_moid_get**](docs/SshPolicyApi.md#ssh_policies_moid_get) | **GET** /ssh/Policies/{moid} | A instance of sshPolicy -*SshPolicyApi* | [**ssh_policies_moid_patch**](docs/SshPolicyApi.md#ssh_policies_moid_patch) | **PATCH** /ssh/Policies/{moid} | Update an instance of sshPolicy -*SshPolicyApi* | [**ssh_policies_moid_post**](docs/SshPolicyApi.md#ssh_policies_moid_post) | **POST** /ssh/Policies/{moid} | Update an instance of sshPolicy -*SshPolicyApi* | [**ssh_policies_post**](docs/SshPolicyApi.md#ssh_policies_post) | **POST** /ssh/Policies | Create a sshPolicy -*StorageControllerApi* | [**storage_controllers_get**](docs/StorageControllerApi.md#storage_controllers_get) | **GET** /storage/Controllers | List of storageControllers -*StorageControllerApi* | [**storage_controllers_moid_get**](docs/StorageControllerApi.md#storage_controllers_moid_get) | **GET** /storage/Controllers/{moid} | A instance of storageController -*StorageControllerApi* | [**storage_controllers_moid_patch**](docs/StorageControllerApi.md#storage_controllers_moid_patch) | **PATCH** /storage/Controllers/{moid} | Update an instance of storageController -*StorageControllerApi* | [**storage_controllers_moid_post**](docs/StorageControllerApi.md#storage_controllers_moid_post) | **POST** /storage/Controllers/{moid} | Update an instance of storageController -*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_get**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_get) | **GET** /storage/DiskGroupPolicies | List of storageDiskGroupPolicies -*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_moid_delete**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_moid_delete) | **DELETE** /storage/DiskGroupPolicies/{moid} | Delete an instance of storageDiskGroupPolicy -*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_moid_get**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_moid_get) | **GET** /storage/DiskGroupPolicies/{moid} | A instance of storageDiskGroupPolicy -*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_moid_patch**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_moid_patch) | **PATCH** /storage/DiskGroupPolicies/{moid} | Update an instance of storageDiskGroupPolicy -*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_moid_post**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_moid_post) | **POST** /storage/DiskGroupPolicies/{moid} | Update an instance of storageDiskGroupPolicy -*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_post**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_post) | **POST** /storage/DiskGroupPolicies | Create a storageDiskGroupPolicy -*StorageEnclosureApi* | [**storage_enclosures_get**](docs/StorageEnclosureApi.md#storage_enclosures_get) | **GET** /storage/Enclosures | List of storageEnclosures -*StorageEnclosureApi* | [**storage_enclosures_moid_get**](docs/StorageEnclosureApi.md#storage_enclosures_moid_get) | **GET** /storage/Enclosures/{moid} | A instance of storageEnclosure -*StorageEnclosureApi* | [**storage_enclosures_moid_patch**](docs/StorageEnclosureApi.md#storage_enclosures_moid_patch) | **PATCH** /storage/Enclosures/{moid} | Update an instance of storageEnclosure -*StorageEnclosureApi* | [**storage_enclosures_moid_post**](docs/StorageEnclosureApi.md#storage_enclosures_moid_post) | **POST** /storage/Enclosures/{moid} | Update an instance of storageEnclosure -*StorageFlexFlashControllerApi* | [**storage_flex_flash_controllers_get**](docs/StorageFlexFlashControllerApi.md#storage_flex_flash_controllers_get) | **GET** /storage/FlexFlashControllers | List of storageFlexFlashControllers -*StorageFlexFlashControllerApi* | [**storage_flex_flash_controllers_moid_get**](docs/StorageFlexFlashControllerApi.md#storage_flex_flash_controllers_moid_get) | **GET** /storage/FlexFlashControllers/{moid} | A instance of storageFlexFlashController -*StorageFlexFlashControllerApi* | [**storage_flex_flash_controllers_moid_patch**](docs/StorageFlexFlashControllerApi.md#storage_flex_flash_controllers_moid_patch) | **PATCH** /storage/FlexFlashControllers/{moid} | Update an instance of storageFlexFlashController -*StorageFlexFlashControllerApi* | [**storage_flex_flash_controllers_moid_post**](docs/StorageFlexFlashControllerApi.md#storage_flex_flash_controllers_moid_post) | **POST** /storage/FlexFlashControllers/{moid} | Update an instance of storageFlexFlashController -*StorageFlexFlashControllerPropsApi* | [**storage_flex_flash_controller_props_get**](docs/StorageFlexFlashControllerPropsApi.md#storage_flex_flash_controller_props_get) | **GET** /storage/FlexFlashControllerProps | List of storageFlexFlashControllerProps -*StorageFlexFlashControllerPropsApi* | [**storage_flex_flash_controller_props_moid_get**](docs/StorageFlexFlashControllerPropsApi.md#storage_flex_flash_controller_props_moid_get) | **GET** /storage/FlexFlashControllerProps/{moid} | A instance of storageFlexFlashControllerProps -*StorageFlexFlashControllerPropsApi* | [**storage_flex_flash_controller_props_moid_patch**](docs/StorageFlexFlashControllerPropsApi.md#storage_flex_flash_controller_props_moid_patch) | **PATCH** /storage/FlexFlashControllerProps/{moid} | Update an instance of storageFlexFlashControllerProps -*StorageFlexFlashControllerPropsApi* | [**storage_flex_flash_controller_props_moid_post**](docs/StorageFlexFlashControllerPropsApi.md#storage_flex_flash_controller_props_moid_post) | **POST** /storage/FlexFlashControllerProps/{moid} | Update an instance of storageFlexFlashControllerProps -*StorageFlexFlashPhysicalDriveApi* | [**storage_flex_flash_physical_drives_get**](docs/StorageFlexFlashPhysicalDriveApi.md#storage_flex_flash_physical_drives_get) | **GET** /storage/FlexFlashPhysicalDrives | List of storageFlexFlashPhysicalDrives -*StorageFlexFlashPhysicalDriveApi* | [**storage_flex_flash_physical_drives_moid_get**](docs/StorageFlexFlashPhysicalDriveApi.md#storage_flex_flash_physical_drives_moid_get) | **GET** /storage/FlexFlashPhysicalDrives/{moid} | A instance of storageFlexFlashPhysicalDrive -*StorageFlexFlashPhysicalDriveApi* | [**storage_flex_flash_physical_drives_moid_patch**](docs/StorageFlexFlashPhysicalDriveApi.md#storage_flex_flash_physical_drives_moid_patch) | **PATCH** /storage/FlexFlashPhysicalDrives/{moid} | Update an instance of storageFlexFlashPhysicalDrive -*StorageFlexFlashPhysicalDriveApi* | [**storage_flex_flash_physical_drives_moid_post**](docs/StorageFlexFlashPhysicalDriveApi.md#storage_flex_flash_physical_drives_moid_post) | **POST** /storage/FlexFlashPhysicalDrives/{moid} | Update an instance of storageFlexFlashPhysicalDrive -*StorageFlexFlashVirtualDriveApi* | [**storage_flex_flash_virtual_drives_get**](docs/StorageFlexFlashVirtualDriveApi.md#storage_flex_flash_virtual_drives_get) | **GET** /storage/FlexFlashVirtualDrives | List of storageFlexFlashVirtualDrives -*StorageFlexFlashVirtualDriveApi* | [**storage_flex_flash_virtual_drives_moid_get**](docs/StorageFlexFlashVirtualDriveApi.md#storage_flex_flash_virtual_drives_moid_get) | **GET** /storage/FlexFlashVirtualDrives/{moid} | A instance of storageFlexFlashVirtualDrive -*StorageFlexFlashVirtualDriveApi* | [**storage_flex_flash_virtual_drives_moid_patch**](docs/StorageFlexFlashVirtualDriveApi.md#storage_flex_flash_virtual_drives_moid_patch) | **PATCH** /storage/FlexFlashVirtualDrives/{moid} | Update an instance of storageFlexFlashVirtualDrive -*StorageFlexFlashVirtualDriveApi* | [**storage_flex_flash_virtual_drives_moid_post**](docs/StorageFlexFlashVirtualDriveApi.md#storage_flex_flash_virtual_drives_moid_post) | **POST** /storage/FlexFlashVirtualDrives/{moid} | Update an instance of storageFlexFlashVirtualDrive -*StorageFlexUtilControllerApi* | [**storage_flex_util_controllers_get**](docs/StorageFlexUtilControllerApi.md#storage_flex_util_controllers_get) | **GET** /storage/FlexUtilControllers | List of storageFlexUtilControllers -*StorageFlexUtilControllerApi* | [**storage_flex_util_controllers_moid_get**](docs/StorageFlexUtilControllerApi.md#storage_flex_util_controllers_moid_get) | **GET** /storage/FlexUtilControllers/{moid} | A instance of storageFlexUtilController -*StorageFlexUtilControllerApi* | [**storage_flex_util_controllers_moid_patch**](docs/StorageFlexUtilControllerApi.md#storage_flex_util_controllers_moid_patch) | **PATCH** /storage/FlexUtilControllers/{moid} | Update an instance of storageFlexUtilController -*StorageFlexUtilControllerApi* | [**storage_flex_util_controllers_moid_post**](docs/StorageFlexUtilControllerApi.md#storage_flex_util_controllers_moid_post) | **POST** /storage/FlexUtilControllers/{moid} | Update an instance of storageFlexUtilController -*StorageFlexUtilPhysicalDriveApi* | [**storage_flex_util_physical_drives_get**](docs/StorageFlexUtilPhysicalDriveApi.md#storage_flex_util_physical_drives_get) | **GET** /storage/FlexUtilPhysicalDrives | List of storageFlexUtilPhysicalDrives -*StorageFlexUtilPhysicalDriveApi* | [**storage_flex_util_physical_drives_moid_get**](docs/StorageFlexUtilPhysicalDriveApi.md#storage_flex_util_physical_drives_moid_get) | **GET** /storage/FlexUtilPhysicalDrives/{moid} | A instance of storageFlexUtilPhysicalDrive -*StorageFlexUtilPhysicalDriveApi* | [**storage_flex_util_physical_drives_moid_patch**](docs/StorageFlexUtilPhysicalDriveApi.md#storage_flex_util_physical_drives_moid_patch) | **PATCH** /storage/FlexUtilPhysicalDrives/{moid} | Update an instance of storageFlexUtilPhysicalDrive -*StorageFlexUtilPhysicalDriveApi* | [**storage_flex_util_physical_drives_moid_post**](docs/StorageFlexUtilPhysicalDriveApi.md#storage_flex_util_physical_drives_moid_post) | **POST** /storage/FlexUtilPhysicalDrives/{moid} | Update an instance of storageFlexUtilPhysicalDrive -*StorageFlexUtilVirtualDriveApi* | [**storage_flex_util_virtual_drives_get**](docs/StorageFlexUtilVirtualDriveApi.md#storage_flex_util_virtual_drives_get) | **GET** /storage/FlexUtilVirtualDrives | List of storageFlexUtilVirtualDrives -*StorageFlexUtilVirtualDriveApi* | [**storage_flex_util_virtual_drives_moid_get**](docs/StorageFlexUtilVirtualDriveApi.md#storage_flex_util_virtual_drives_moid_get) | **GET** /storage/FlexUtilVirtualDrives/{moid} | A instance of storageFlexUtilVirtualDrive -*StorageFlexUtilVirtualDriveApi* | [**storage_flex_util_virtual_drives_moid_patch**](docs/StorageFlexUtilVirtualDriveApi.md#storage_flex_util_virtual_drives_moid_patch) | **PATCH** /storage/FlexUtilVirtualDrives/{moid} | Update an instance of storageFlexUtilVirtualDrive -*StorageFlexUtilVirtualDriveApi* | [**storage_flex_util_virtual_drives_moid_post**](docs/StorageFlexUtilVirtualDriveApi.md#storage_flex_util_virtual_drives_moid_post) | **POST** /storage/FlexUtilVirtualDrives/{moid} | Update an instance of storageFlexUtilVirtualDrive -*StoragePhysicalDiskApi* | [**storage_physical_disks_get**](docs/StoragePhysicalDiskApi.md#storage_physical_disks_get) | **GET** /storage/PhysicalDisks | List of storagePhysicalDisks -*StoragePhysicalDiskApi* | [**storage_physical_disks_moid_get**](docs/StoragePhysicalDiskApi.md#storage_physical_disks_moid_get) | **GET** /storage/PhysicalDisks/{moid} | A instance of storagePhysicalDisk -*StoragePhysicalDiskApi* | [**storage_physical_disks_moid_patch**](docs/StoragePhysicalDiskApi.md#storage_physical_disks_moid_patch) | **PATCH** /storage/PhysicalDisks/{moid} | Update an instance of storagePhysicalDisk -*StoragePhysicalDiskApi* | [**storage_physical_disks_moid_post**](docs/StoragePhysicalDiskApi.md#storage_physical_disks_moid_post) | **POST** /storage/PhysicalDisks/{moid} | Update an instance of storagePhysicalDisk -*StoragePhysicalDiskExtensionApi* | [**storage_physical_disk_extensions_get**](docs/StoragePhysicalDiskExtensionApi.md#storage_physical_disk_extensions_get) | **GET** /storage/PhysicalDiskExtensions | List of storagePhysicalDiskExtensions -*StoragePhysicalDiskExtensionApi* | [**storage_physical_disk_extensions_moid_get**](docs/StoragePhysicalDiskExtensionApi.md#storage_physical_disk_extensions_moid_get) | **GET** /storage/PhysicalDiskExtensions/{moid} | A instance of storagePhysicalDiskExtension -*StoragePhysicalDiskExtensionApi* | [**storage_physical_disk_extensions_moid_patch**](docs/StoragePhysicalDiskExtensionApi.md#storage_physical_disk_extensions_moid_patch) | **PATCH** /storage/PhysicalDiskExtensions/{moid} | Update an instance of storagePhysicalDiskExtension -*StoragePhysicalDiskExtensionApi* | [**storage_physical_disk_extensions_moid_post**](docs/StoragePhysicalDiskExtensionApi.md#storage_physical_disk_extensions_moid_post) | **POST** /storage/PhysicalDiskExtensions/{moid} | Update an instance of storagePhysicalDiskExtension -*StoragePhysicalDiskUsageApi* | [**storage_physical_disk_usages_get**](docs/StoragePhysicalDiskUsageApi.md#storage_physical_disk_usages_get) | **GET** /storage/PhysicalDiskUsages | List of storagePhysicalDiskUsages -*StoragePhysicalDiskUsageApi* | [**storage_physical_disk_usages_moid_get**](docs/StoragePhysicalDiskUsageApi.md#storage_physical_disk_usages_moid_get) | **GET** /storage/PhysicalDiskUsages/{moid} | A instance of storagePhysicalDiskUsage -*StoragePhysicalDiskUsageApi* | [**storage_physical_disk_usages_moid_patch**](docs/StoragePhysicalDiskUsageApi.md#storage_physical_disk_usages_moid_patch) | **PATCH** /storage/PhysicalDiskUsages/{moid} | Update an instance of storagePhysicalDiskUsage -*StoragePhysicalDiskUsageApi* | [**storage_physical_disk_usages_moid_post**](docs/StoragePhysicalDiskUsageApi.md#storage_physical_disk_usages_moid_post) | **POST** /storage/PhysicalDiskUsages/{moid} | Update an instance of storagePhysicalDiskUsage -*StorageSasExpanderApi* | [**storage_sas_expanders_get**](docs/StorageSasExpanderApi.md#storage_sas_expanders_get) | **GET** /storage/SasExpanders | List of storageSasExpanders -*StorageSasExpanderApi* | [**storage_sas_expanders_moid_get**](docs/StorageSasExpanderApi.md#storage_sas_expanders_moid_get) | **GET** /storage/SasExpanders/{moid} | A instance of storageSasExpander -*StorageSasExpanderApi* | [**storage_sas_expanders_moid_patch**](docs/StorageSasExpanderApi.md#storage_sas_expanders_moid_patch) | **PATCH** /storage/SasExpanders/{moid} | Update an instance of storageSasExpander -*StorageSasExpanderApi* | [**storage_sas_expanders_moid_post**](docs/StorageSasExpanderApi.md#storage_sas_expanders_moid_post) | **POST** /storage/SasExpanders/{moid} | Update an instance of storageSasExpander -*StorageStoragePolicyApi* | [**storage_storage_policies_get**](docs/StorageStoragePolicyApi.md#storage_storage_policies_get) | **GET** /storage/StoragePolicies | List of storageStoragePolicies -*StorageStoragePolicyApi* | [**storage_storage_policies_moid_delete**](docs/StorageStoragePolicyApi.md#storage_storage_policies_moid_delete) | **DELETE** /storage/StoragePolicies/{moid} | Delete an instance of storageStoragePolicy -*StorageStoragePolicyApi* | [**storage_storage_policies_moid_get**](docs/StorageStoragePolicyApi.md#storage_storage_policies_moid_get) | **GET** /storage/StoragePolicies/{moid} | A instance of storageStoragePolicy -*StorageStoragePolicyApi* | [**storage_storage_policies_moid_patch**](docs/StorageStoragePolicyApi.md#storage_storage_policies_moid_patch) | **PATCH** /storage/StoragePolicies/{moid} | Update an instance of storageStoragePolicy -*StorageStoragePolicyApi* | [**storage_storage_policies_moid_post**](docs/StorageStoragePolicyApi.md#storage_storage_policies_moid_post) | **POST** /storage/StoragePolicies/{moid} | Update an instance of storageStoragePolicy -*StorageStoragePolicyApi* | [**storage_storage_policies_post**](docs/StorageStoragePolicyApi.md#storage_storage_policies_post) | **POST** /storage/StoragePolicies | Create a storageStoragePolicy -*StorageVdMemberEpApi* | [**storage_vd_member_eps_get**](docs/StorageVdMemberEpApi.md#storage_vd_member_eps_get) | **GET** /storage/VdMemberEps | List of storageVdMemberEps -*StorageVdMemberEpApi* | [**storage_vd_member_eps_moid_get**](docs/StorageVdMemberEpApi.md#storage_vd_member_eps_moid_get) | **GET** /storage/VdMemberEps/{moid} | A instance of storageVdMemberEp -*StorageVdMemberEpApi* | [**storage_vd_member_eps_moid_patch**](docs/StorageVdMemberEpApi.md#storage_vd_member_eps_moid_patch) | **PATCH** /storage/VdMemberEps/{moid} | Update an instance of storageVdMemberEp -*StorageVdMemberEpApi* | [**storage_vd_member_eps_moid_post**](docs/StorageVdMemberEpApi.md#storage_vd_member_eps_moid_post) | **POST** /storage/VdMemberEps/{moid} | Update an instance of storageVdMemberEp -*StorageVirtualDriveApi* | [**storage_virtual_drives_get**](docs/StorageVirtualDriveApi.md#storage_virtual_drives_get) | **GET** /storage/VirtualDrives | List of storageVirtualDrives -*StorageVirtualDriveApi* | [**storage_virtual_drives_moid_get**](docs/StorageVirtualDriveApi.md#storage_virtual_drives_moid_get) | **GET** /storage/VirtualDrives/{moid} | A 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 -*TaskWorkflowActionApi* | [**task_workflow_actions_get**](docs/TaskWorkflowActionApi.md#task_workflow_actions_get) | **GET** /task/WorkflowActions | List of taskWorkflowActions -*TaskWorkflowActionApi* | [**task_workflow_actions_moid_get**](docs/TaskWorkflowActionApi.md#task_workflow_actions_moid_get) | **GET** /task/WorkflowActions/{moid} | A instance of taskWorkflowAction -*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 a taskWorkflowAction -*TerminalAuditLogApi* | [**terminal_audit_logs_get**](docs/TerminalAuditLogApi.md#terminal_audit_logs_get) | **GET** /terminal/AuditLogs | List of terminalAuditLogs -*TerminalAuditLogApi* | [**terminal_audit_logs_moid_get**](docs/TerminalAuditLogApi.md#terminal_audit_logs_moid_get) | **GET** /terminal/AuditLogs/{moid} | A instance of terminalAuditLog -*TopSystemApi* | [**top_systems_get**](docs/TopSystemApi.md#top_systems_get) | **GET** /top/Systems | List of topSystems -*TopSystemApi* | [**top_systems_moid_get**](docs/TopSystemApi.md#top_systems_moid_get) | **GET** /top/Systems/{moid} | A instance of topSystem -*TopSystemApi* | [**top_systems_moid_patch**](docs/TopSystemApi.md#top_systems_moid_patch) | **PATCH** /top/Systems/{moid} | Update an instance of topSystem -*TopSystemApi* | [**top_systems_moid_post**](docs/TopSystemApi.md#top_systems_moid_post) | **POST** /top/Systems/{moid} | Update an instance of topSystem -*VmediaPolicyApi* | [**vmedia_policies_get**](docs/VmediaPolicyApi.md#vmedia_policies_get) | **GET** /vmedia/Policies | List of vmediaPolicies -*VmediaPolicyApi* | [**vmedia_policies_moid_delete**](docs/VmediaPolicyApi.md#vmedia_policies_moid_delete) | **DELETE** /vmedia/Policies/{moid} | Delete an instance of vmediaPolicy -*VmediaPolicyApi* | [**vmedia_policies_moid_get**](docs/VmediaPolicyApi.md#vmedia_policies_moid_get) | **GET** /vmedia/Policies/{moid} | A instance of vmediaPolicy -*VmediaPolicyApi* | [**vmedia_policies_moid_patch**](docs/VmediaPolicyApi.md#vmedia_policies_moid_patch) | **PATCH** /vmedia/Policies/{moid} | Update an instance of vmediaPolicy -*VmediaPolicyApi* | [**vmedia_policies_moid_post**](docs/VmediaPolicyApi.md#vmedia_policies_moid_post) | **POST** /vmedia/Policies/{moid} | Update an instance of vmediaPolicy -*VmediaPolicyApi* | [**vmedia_policies_post**](docs/VmediaPolicyApi.md#vmedia_policies_post) | **POST** /vmedia/Policies | Create a vmediaPolicy -*WorkflowBuildTaskMetaApi* | [**workflow_build_task_meta_get**](docs/WorkflowBuildTaskMetaApi.md#workflow_build_task_meta_get) | **GET** /workflow/BuildTaskMeta | List of workflowBuildTaskMeta -*WorkflowBuildTaskMetaApi* | [**workflow_build_task_meta_moid_get**](docs/WorkflowBuildTaskMetaApi.md#workflow_build_task_meta_moid_get) | **GET** /workflow/BuildTaskMeta/{moid} | A instance of workflowBuildTaskMeta -*WorkflowTaskInfoApi* | [**workflow_task_infos_get**](docs/WorkflowTaskInfoApi.md#workflow_task_infos_get) | **GET** /workflow/TaskInfos | List of workflowTaskInfos -*WorkflowTaskInfoApi* | [**workflow_task_infos_moid_get**](docs/WorkflowTaskInfoApi.md#workflow_task_infos_moid_get) | **GET** /workflow/TaskInfos/{moid} | A instance of workflowTaskInfo -*WorkflowTaskMetaApi* | [**workflow_task_meta_get**](docs/WorkflowTaskMetaApi.md#workflow_task_meta_get) | **GET** /workflow/TaskMeta | List of workflowTaskMeta -*WorkflowTaskMetaApi* | [**workflow_task_meta_moid_get**](docs/WorkflowTaskMetaApi.md#workflow_task_meta_moid_get) | **GET** /workflow/TaskMeta/{moid} | A instance of workflowTaskMeta -*WorkflowWorkflowInfoApi* | [**workflow_workflow_infos_get**](docs/WorkflowWorkflowInfoApi.md#workflow_workflow_infos_get) | **GET** /workflow/WorkflowInfos | List of workflowWorkflowInfos -*WorkflowWorkflowInfoApi* | [**workflow_workflow_infos_moid_get**](docs/WorkflowWorkflowInfoApi.md#workflow_workflow_infos_moid_get) | **GET** /workflow/WorkflowInfos/{moid} | A instance of workflowWorkflowInfo -*WorkflowWorkflowMetaApi* | [**workflow_workflow_meta_get**](docs/WorkflowWorkflowMetaApi.md#workflow_workflow_meta_get) | **GET** /workflow/WorkflowMeta | List of workflowWorkflowMeta -*WorkflowWorkflowMetaApi* | [**workflow_workflow_meta_moid_get**](docs/WorkflowWorkflowMetaApi.md#workflow_workflow_meta_moid_get) | **GET** /workflow/WorkflowMeta/{moid} | A instance of workflowWorkflowMeta -*WorkflowWorkflowTaskApi* | [**workflow_workflow_tasks_get**](docs/WorkflowWorkflowTaskApi.md#workflow_workflow_tasks_get) | **GET** /workflow/WorkflowTasks | List of workflowWorkflowTasks -*WorkflowWorkflowTaskApi* | [**workflow_workflow_tasks_moid_get**](docs/WorkflowWorkflowTaskApi.md#workflow_workflow_tasks_moid_get) | **GET** /workflow/WorkflowTasks/{moid} | A instance of workflowWorkflowTask +*AaaAuditRecordApi* | [**aaa_audit_records_get**](docs/AaaAuditRecordApi.md#aaa_audit_records_get) | **GET** /aaa/AuditRecords | Get a list of 'aaaAuditRecord' instances +*AaaAuditRecordApi* | [**aaa_audit_records_moid_get**](docs/AaaAuditRecordApi.md#aaa_audit_records_moid_get) | **GET** /aaa/AuditRecords/{moid} | Get a specific instance of 'aaaAuditRecord' +*AdapterExtEthInterfaceApi* | [**adapter_ext_eth_interfaces_get**](docs/AdapterExtEthInterfaceApi.md#adapter_ext_eth_interfaces_get) | **GET** /adapter/ExtEthInterfaces | Get a list of 'adapterExtEthInterface' instances +*AdapterExtEthInterfaceApi* | [**adapter_ext_eth_interfaces_moid_get**](docs/AdapterExtEthInterfaceApi.md#adapter_ext_eth_interfaces_moid_get) | **GET** /adapter/ExtEthInterfaces/{moid} | Get a specific instance of 'adapterExtEthInterface' +*AdapterHostEthInterfaceApi* | [**adapter_host_eth_interfaces_get**](docs/AdapterHostEthInterfaceApi.md#adapter_host_eth_interfaces_get) | **GET** /adapter/HostEthInterfaces | Get a list of 'adapterHostEthInterface' instances +*AdapterHostEthInterfaceApi* | [**adapter_host_eth_interfaces_moid_get**](docs/AdapterHostEthInterfaceApi.md#adapter_host_eth_interfaces_moid_get) | **GET** /adapter/HostEthInterfaces/{moid} | Get a specific instance of 'adapterHostEthInterface' +*AdapterHostFcInterfaceApi* | [**adapter_host_fc_interfaces_get**](docs/AdapterHostFcInterfaceApi.md#adapter_host_fc_interfaces_get) | **GET** /adapter/HostFcInterfaces | Get a list of 'adapterHostFcInterface' instances +*AdapterHostFcInterfaceApi* | [**adapter_host_fc_interfaces_moid_get**](docs/AdapterHostFcInterfaceApi.md#adapter_host_fc_interfaces_moid_get) | **GET** /adapter/HostFcInterfaces/{moid} | Get a specific instance of 'adapterHostFcInterface' +*AdapterHostIscsiInterfaceApi* | [**adapter_host_iscsi_interfaces_get**](docs/AdapterHostIscsiInterfaceApi.md#adapter_host_iscsi_interfaces_get) | **GET** /adapter/HostIscsiInterfaces | Get a list of 'adapterHostIscsiInterface' instances +*AdapterHostIscsiInterfaceApi* | [**adapter_host_iscsi_interfaces_moid_get**](docs/AdapterHostIscsiInterfaceApi.md#adapter_host_iscsi_interfaces_moid_get) | **GET** /adapter/HostIscsiInterfaces/{moid} | Get a specific instance of 'adapterHostIscsiInterface' +*AdapterUnitApi* | [**adapter_units_get**](docs/AdapterUnitApi.md#adapter_units_get) | **GET** /adapter/Units | Get a list of 'adapterUnit' instances +*AdapterUnitApi* | [**adapter_units_moid_get**](docs/AdapterUnitApi.md#adapter_units_moid_get) | **GET** /adapter/Units/{moid} | Get a specific instance of 'adapterUnit' +*AssetClusterMemberApi* | [**asset_cluster_members_get**](docs/AssetClusterMemberApi.md#asset_cluster_members_get) | **GET** /asset/ClusterMembers | Get a list of 'assetClusterMember' instances +*AssetClusterMemberApi* | [**asset_cluster_members_moid_get**](docs/AssetClusterMemberApi.md#asset_cluster_members_moid_get) | **GET** /asset/ClusterMembers/{moid} | Get a specific instance of 'assetClusterMember' +*AssetDeviceClaimApi* | [**asset_device_claims_moid_delete**](docs/AssetDeviceClaimApi.md#asset_device_claims_moid_delete) | **DELETE** /asset/DeviceClaims/{moid} | Delete an instance of 'assetDeviceClaim' +*AssetDeviceClaimApi* | [**asset_device_claims_post**](docs/AssetDeviceClaimApi.md#asset_device_claims_post) | **POST** /asset/DeviceClaims | Create an instance of 'assetDeviceClaim' +*AssetDeviceConfigurationApi* | [**asset_device_configurations_get**](docs/AssetDeviceConfigurationApi.md#asset_device_configurations_get) | **GET** /asset/DeviceConfigurations | Get a list of 'assetDeviceConfiguration' instances +*AssetDeviceConfigurationApi* | [**asset_device_configurations_moid_get**](docs/AssetDeviceConfigurationApi.md#asset_device_configurations_moid_get) | **GET** /asset/DeviceConfigurations/{moid} | Get a specific instance of 'assetDeviceConfiguration' +*AssetDeviceConfigurationApi* | [**asset_device_configurations_moid_patch**](docs/AssetDeviceConfigurationApi.md#asset_device_configurations_moid_patch) | **PATCH** /asset/DeviceConfigurations/{moid} | Update an instance of 'assetDeviceConfiguration' +*AssetDeviceConfigurationApi* | [**asset_device_configurations_moid_post**](docs/AssetDeviceConfigurationApi.md#asset_device_configurations_moid_post) | **POST** /asset/DeviceConfigurations/{moid} | Update an instance of 'assetDeviceConfiguration' +*AssetDeviceRegistrationApi* | [**asset_device_registrations_get**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_get) | **GET** /asset/DeviceRegistrations | Get a list of 'assetDeviceRegistration' instances +*AssetDeviceRegistrationApi* | [**asset_device_registrations_moid_delete**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_moid_delete) | **DELETE** /asset/DeviceRegistrations/{moid} | Deletes the resource representing the device connector. All associated REST resources will be deleted. In particular, inventory and operational data associated with this device will be deleted. +*AssetDeviceRegistrationApi* | [**asset_device_registrations_moid_get**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_moid_get) | **GET** /asset/DeviceRegistrations/{moid} | Get a specific instance of 'assetDeviceRegistration' +*AssetDeviceRegistrationApi* | [**asset_device_registrations_moid_patch**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_moid_patch) | **PATCH** /asset/DeviceRegistrations/{moid} | Updates the resource representing the device connector. For example, this can be used to annotate the device connector resource with user-specified tags. +*AssetDeviceRegistrationApi* | [**asset_device_registrations_moid_post**](docs/AssetDeviceRegistrationApi.md#asset_device_registrations_moid_post) | **POST** /asset/DeviceRegistrations/{moid} | Updates the resource representing the device connector. For example, this can be used to annotate the device connector resource with user-specified tags. +*BiosPolicyApi* | [**bios_policies_get**](docs/BiosPolicyApi.md#bios_policies_get) | **GET** /bios/Policies | Get a list of 'biosPolicy' instances +*BiosPolicyApi* | [**bios_policies_moid_delete**](docs/BiosPolicyApi.md#bios_policies_moid_delete) | **DELETE** /bios/Policies/{moid} | Delete an instance of 'biosPolicy' +*BiosPolicyApi* | [**bios_policies_moid_get**](docs/BiosPolicyApi.md#bios_policies_moid_get) | **GET** /bios/Policies/{moid} | Get a specific instance of 'biosPolicy' +*BiosPolicyApi* | [**bios_policies_moid_patch**](docs/BiosPolicyApi.md#bios_policies_moid_patch) | **PATCH** /bios/Policies/{moid} | Update an instance of 'biosPolicy' +*BiosPolicyApi* | [**bios_policies_moid_post**](docs/BiosPolicyApi.md#bios_policies_moid_post) | **POST** /bios/Policies/{moid} | Update an instance of 'biosPolicy' +*BiosPolicyApi* | [**bios_policies_post**](docs/BiosPolicyApi.md#bios_policies_post) | **POST** /bios/Policies | Create an instance of 'biosPolicy' +*BiosUnitApi* | [**bios_units_get**](docs/BiosUnitApi.md#bios_units_get) | **GET** /bios/Units | Get a list of 'biosUnit' instances +*BiosUnitApi* | [**bios_units_moid_get**](docs/BiosUnitApi.md#bios_units_moid_get) | **GET** /bios/Units/{moid} | Get a specific instance of 'biosUnit' +*BiosUnitApi* | [**bios_units_moid_patch**](docs/BiosUnitApi.md#bios_units_moid_patch) | **PATCH** /bios/Units/{moid} | Update an instance of 'biosUnit' +*BiosUnitApi* | [**bios_units_moid_post**](docs/BiosUnitApi.md#bios_units_moid_post) | **POST** /bios/Units/{moid} | Update an instance of 'biosUnit' +*BootPrecisionPolicyApi* | [**boot_precision_policies_get**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_get) | **GET** /boot/PrecisionPolicies | Get a list of 'bootPrecisionPolicy' instances +*BootPrecisionPolicyApi* | [**boot_precision_policies_moid_delete**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_moid_delete) | **DELETE** /boot/PrecisionPolicies/{moid} | Delete an instance of 'bootPrecisionPolicy' +*BootPrecisionPolicyApi* | [**boot_precision_policies_moid_get**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_moid_get) | **GET** /boot/PrecisionPolicies/{moid} | Get a specific instance of 'bootPrecisionPolicy' +*BootPrecisionPolicyApi* | [**boot_precision_policies_moid_patch**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_moid_patch) | **PATCH** /boot/PrecisionPolicies/{moid} | Update an instance of 'bootPrecisionPolicy' +*BootPrecisionPolicyApi* | [**boot_precision_policies_moid_post**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_moid_post) | **POST** /boot/PrecisionPolicies/{moid} | Update an instance of 'bootPrecisionPolicy' +*BootPrecisionPolicyApi* | [**boot_precision_policies_post**](docs/BootPrecisionPolicyApi.md#boot_precision_policies_post) | **POST** /boot/PrecisionPolicies | Create an instance of 'bootPrecisionPolicy' +*ComputeBladeApi* | [**compute_blades_get**](docs/ComputeBladeApi.md#compute_blades_get) | **GET** /compute/Blades | Get a list of 'computeBlade' instances +*ComputeBladeApi* | [**compute_blades_moid_get**](docs/ComputeBladeApi.md#compute_blades_moid_get) | **GET** /compute/Blades/{moid} | Get a specific instance of 'computeBlade' +*ComputeBladeApi* | [**compute_blades_moid_patch**](docs/ComputeBladeApi.md#compute_blades_moid_patch) | **PATCH** /compute/Blades/{moid} | Update an instance of 'computeBlade' +*ComputeBladeApi* | [**compute_blades_moid_post**](docs/ComputeBladeApi.md#compute_blades_moid_post) | **POST** /compute/Blades/{moid} | Update an instance of 'computeBlade' +*ComputeBoardApi* | [**compute_boards_get**](docs/ComputeBoardApi.md#compute_boards_get) | **GET** /compute/Boards | Get a list of 'computeBoard' instances +*ComputeBoardApi* | [**compute_boards_moid_get**](docs/ComputeBoardApi.md#compute_boards_moid_get) | **GET** /compute/Boards/{moid} | Get a specific instance of 'computeBoard' +*ComputeBoardApi* | [**compute_boards_moid_patch**](docs/ComputeBoardApi.md#compute_boards_moid_patch) | **PATCH** /compute/Boards/{moid} | Update an instance of 'computeBoard' +*ComputeBoardApi* | [**compute_boards_moid_post**](docs/ComputeBoardApi.md#compute_boards_moid_post) | **POST** /compute/Boards/{moid} | Update an instance of 'computeBoard' +*ComputePhysicalSummaryApi* | [**compute_physical_summaries_get**](docs/ComputePhysicalSummaryApi.md#compute_physical_summaries_get) | **GET** /compute/PhysicalSummaries | Get a list of 'computePhysicalSummary' instances +*ComputePhysicalSummaryApi* | [**compute_physical_summaries_moid_get**](docs/ComputePhysicalSummaryApi.md#compute_physical_summaries_moid_get) | **GET** /compute/PhysicalSummaries/{moid} | Get a specific instance of 'computePhysicalSummary' +*ComputeRackUnitApi* | [**compute_rack_units_get**](docs/ComputeRackUnitApi.md#compute_rack_units_get) | **GET** /compute/RackUnits | Get a list of 'computeRackUnit' instances +*ComputeRackUnitApi* | [**compute_rack_units_moid_get**](docs/ComputeRackUnitApi.md#compute_rack_units_moid_get) | **GET** /compute/RackUnits/{moid} | Get a specific instance of 'computeRackUnit' +*ComputeRackUnitApi* | [**compute_rack_units_moid_patch**](docs/ComputeRackUnitApi.md#compute_rack_units_moid_patch) | **PATCH** /compute/RackUnits/{moid} | Update an instance of 'computeRackUnit' +*ComputeRackUnitApi* | [**compute_rack_units_moid_post**](docs/ComputeRackUnitApi.md#compute_rack_units_moid_post) | **POST** /compute/RackUnits/{moid} | Update an instance of 'computeRackUnit' +*ComputeServerSettingApi* | [**compute_server_settings_get**](docs/ComputeServerSettingApi.md#compute_server_settings_get) | **GET** /compute/ServerSettings | Get a list of 'computeServerSetting' instances +*ComputeServerSettingApi* | [**compute_server_settings_moid_get**](docs/ComputeServerSettingApi.md#compute_server_settings_moid_get) | **GET** /compute/ServerSettings/{moid} | Get a specific instance of 'computeServerSetting' +*ComputeServerSettingApi* | [**compute_server_settings_moid_patch**](docs/ComputeServerSettingApi.md#compute_server_settings_moid_patch) | **PATCH** /compute/ServerSettings/{moid} | Update an instance of 'computeServerSetting' +*ComputeServerSettingApi* | [**compute_server_settings_moid_post**](docs/ComputeServerSettingApi.md#compute_server_settings_moid_post) | **POST** /compute/ServerSettings/{moid} | Update an instance of 'computeServerSetting' +*CondAlarmApi* | [**cond_alarms_get**](docs/CondAlarmApi.md#cond_alarms_get) | **GET** /cond/Alarms | Get a list of 'condAlarm' instances +*CondAlarmApi* | [**cond_alarms_moid_get**](docs/CondAlarmApi.md#cond_alarms_moid_get) | **GET** /cond/Alarms/{moid} | Get a specific instance of 'condAlarm' +*CondHclStatusApi* | [**cond_hcl_statuses_get**](docs/CondHclStatusApi.md#cond_hcl_statuses_get) | **GET** /cond/HclStatuses | Get a list of 'condHclStatus' instances +*CondHclStatusApi* | [**cond_hcl_statuses_moid_get**](docs/CondHclStatusApi.md#cond_hcl_statuses_moid_get) | **GET** /cond/HclStatuses/{moid} | Get a specific instance of 'condHclStatus' +*CondHclStatusDetailApi* | [**cond_hcl_status_details_get**](docs/CondHclStatusDetailApi.md#cond_hcl_status_details_get) | **GET** /cond/HclStatusDetails | Get a list of 'condHclStatusDetail' instances +*CondHclStatusDetailApi* | [**cond_hcl_status_details_moid_get**](docs/CondHclStatusDetailApi.md#cond_hcl_status_details_moid_get) | **GET** /cond/HclStatusDetails/{moid} | Get a specific instance of 'condHclStatusDetail' +*CondHclStatusJobApi* | [**cond_hcl_status_jobs_get**](docs/CondHclStatusJobApi.md#cond_hcl_status_jobs_get) | **GET** /cond/HclStatusJobs | Get a list of 'condHclStatusJob' instances +*CondHclStatusJobApi* | [**cond_hcl_status_jobs_moid_get**](docs/CondHclStatusJobApi.md#cond_hcl_status_jobs_moid_get) | **GET** /cond/HclStatusJobs/{moid} | Get a specific instance of 'condHclStatusJob' +*CryptEncryptionTokenApi* | [**crypt_encryption_tokens_get**](docs/CryptEncryptionTokenApi.md#crypt_encryption_tokens_get) | **GET** /crypt/EncryptionTokens | Get a list of 'cryptEncryptionToken' instances +*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' +*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 +*EquipmentChassisApi* | [**equipment_chasses_moid_get**](docs/EquipmentChassisApi.md#equipment_chasses_moid_get) | **GET** /equipment/Chasses/{moid} | Get a specific instance of 'equipmentChassis' +*EquipmentChassisApi* | [**equipment_chasses_moid_patch**](docs/EquipmentChassisApi.md#equipment_chasses_moid_patch) | **PATCH** /equipment/Chasses/{moid} | Update an instance of 'equipmentChassis' +*EquipmentChassisApi* | [**equipment_chasses_moid_post**](docs/EquipmentChassisApi.md#equipment_chasses_moid_post) | **POST** /equipment/Chasses/{moid} | Update an instance of 'equipmentChassis' +*EquipmentDeviceSummaryApi* | [**equipment_device_summaries_get**](docs/EquipmentDeviceSummaryApi.md#equipment_device_summaries_get) | **GET** /equipment/DeviceSummaries | Get a list of 'equipmentDeviceSummary' instances +*EquipmentDeviceSummaryApi* | [**equipment_device_summaries_moid_get**](docs/EquipmentDeviceSummaryApi.md#equipment_device_summaries_moid_get) | **GET** /equipment/DeviceSummaries/{moid} | Get a specific instance of 'equipmentDeviceSummary' +*EquipmentFanApi* | [**equipment_fans_get**](docs/EquipmentFanApi.md#equipment_fans_get) | **GET** /equipment/Fans | Get a list of 'equipmentFan' instances +*EquipmentFanApi* | [**equipment_fans_moid_get**](docs/EquipmentFanApi.md#equipment_fans_moid_get) | **GET** /equipment/Fans/{moid} | Get a specific instance of 'equipmentFan' +*EquipmentFanApi* | [**equipment_fans_moid_patch**](docs/EquipmentFanApi.md#equipment_fans_moid_patch) | **PATCH** /equipment/Fans/{moid} | Update an instance of 'equipmentFan' +*EquipmentFanApi* | [**equipment_fans_moid_post**](docs/EquipmentFanApi.md#equipment_fans_moid_post) | **POST** /equipment/Fans/{moid} | Update an instance of 'equipmentFan' +*EquipmentFanModuleApi* | [**equipment_fan_modules_get**](docs/EquipmentFanModuleApi.md#equipment_fan_modules_get) | **GET** /equipment/FanModules | Get a list of 'equipmentFanModule' instances +*EquipmentFanModuleApi* | [**equipment_fan_modules_moid_get**](docs/EquipmentFanModuleApi.md#equipment_fan_modules_moid_get) | **GET** /equipment/FanModules/{moid} | Get a specific instance of 'equipmentFanModule' +*EquipmentFanModuleApi* | [**equipment_fan_modules_moid_patch**](docs/EquipmentFanModuleApi.md#equipment_fan_modules_moid_patch) | **PATCH** /equipment/FanModules/{moid} | Update an instance of 'equipmentFanModule' +*EquipmentFanModuleApi* | [**equipment_fan_modules_moid_post**](docs/EquipmentFanModuleApi.md#equipment_fan_modules_moid_post) | **POST** /equipment/FanModules/{moid} | Update an instance of 'equipmentFanModule' +*EquipmentFexApi* | [**equipment_fexes_get**](docs/EquipmentFexApi.md#equipment_fexes_get) | **GET** /equipment/Fexes | Get a list of 'equipmentFex' instances +*EquipmentFexApi* | [**equipment_fexes_moid_get**](docs/EquipmentFexApi.md#equipment_fexes_moid_get) | **GET** /equipment/Fexes/{moid} | Get a specific instance of 'equipmentFex' +*EquipmentFexApi* | [**equipment_fexes_moid_patch**](docs/EquipmentFexApi.md#equipment_fexes_moid_patch) | **PATCH** /equipment/Fexes/{moid} | Update an instance of 'equipmentFex' +*EquipmentFexApi* | [**equipment_fexes_moid_post**](docs/EquipmentFexApi.md#equipment_fexes_moid_post) | **POST** /equipment/Fexes/{moid} | Update an instance of 'equipmentFex' +*EquipmentIoCardApi* | [**equipment_io_cards_get**](docs/EquipmentIoCardApi.md#equipment_io_cards_get) | **GET** /equipment/IoCards | Get a list of 'equipmentIoCard' instances +*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' +*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' +*EquipmentLocatorLedApi* | [**equipment_locator_leds_moid_post**](docs/EquipmentLocatorLedApi.md#equipment_locator_leds_moid_post) | **POST** /equipment/LocatorLeds/{moid} | Update an instance of 'equipmentLocatorLed' +*EquipmentPsuApi* | [**equipment_psus_get**](docs/EquipmentPsuApi.md#equipment_psus_get) | **GET** /equipment/Psus | Get a list of 'equipmentPsu' instances +*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' +*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' +*EquipmentSwitchCardApi* | [**equipment_switch_cards_moid_post**](docs/EquipmentSwitchCardApi.md#equipment_switch_cards_moid_post) | **POST** /equipment/SwitchCards/{moid} | Update an instance of 'equipmentSwitchCard' +*EquipmentSystemIoControllerApi* | [**equipment_system_io_controllers_get**](docs/EquipmentSystemIoControllerApi.md#equipment_system_io_controllers_get) | **GET** /equipment/SystemIoControllers | Get a list of 'equipmentSystemIoController' instances +*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' +*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' +*FaultInstanceApi* | [**fault_instances_moid_post**](docs/FaultInstanceApi.md#fault_instances_moid_post) | **POST** /fault/Instances/{moid} | Update an instance of 'faultInstance' +*FcPhysicalPortApi* | [**fc_physical_ports_get**](docs/FcPhysicalPortApi.md#fc_physical_ports_get) | **GET** /fc/PhysicalPorts | Get a list of 'fcPhysicalPort' instances +*FcPhysicalPortApi* | [**fc_physical_ports_moid_get**](docs/FcPhysicalPortApi.md#fc_physical_ports_moid_get) | **GET** /fc/PhysicalPorts/{moid} | Get a specific instance of 'fcPhysicalPort' +*FcPhysicalPortApi* | [**fc_physical_ports_moid_patch**](docs/FcPhysicalPortApi.md#fc_physical_ports_moid_patch) | **PATCH** /fc/PhysicalPorts/{moid} | Update an instance of 'fcPhysicalPort' +*FcPhysicalPortApi* | [**fc_physical_ports_moid_post**](docs/FcPhysicalPortApi.md#fc_physical_ports_moid_post) | **POST** /fc/PhysicalPorts/{moid} | Update an instance of 'fcPhysicalPort' +*FeedbackFeedbackPostApi* | [**feedback_feedback_posts_post**](docs/FeedbackFeedbackPostApi.md#feedback_feedback_posts_post) | **POST** /feedback/FeedbackPosts | Create an instance of 'feedbackFeedbackPost' +*FirmwareDistributableApi* | [**firmware_distributables_get**](docs/FirmwareDistributableApi.md#firmware_distributables_get) | **GET** /firmware/Distributables | Get a list of 'firmwareDistributable' instances +*FirmwareDistributableApi* | [**firmware_distributables_moid_get**](docs/FirmwareDistributableApi.md#firmware_distributables_moid_get) | **GET** /firmware/Distributables/{moid} | Get a specific instance of 'firmwareDistributable' +*FirmwareEulaApi* | [**firmware_eulas_get**](docs/FirmwareEulaApi.md#firmware_eulas_get) | **GET** /firmware/Eulas | Get a list of 'firmwareEula' instances +*FirmwareEulaApi* | [**firmware_eulas_moid_get**](docs/FirmwareEulaApi.md#firmware_eulas_moid_get) | **GET** /firmware/Eulas/{moid} | Get a specific instance of 'firmwareEula' +*FirmwareEulaApi* | [**firmware_eulas_post**](docs/FirmwareEulaApi.md#firmware_eulas_post) | **POST** /firmware/Eulas | Create an instance of 'firmwareEula' +*FirmwareRunningFirmwareApi* | [**firmware_running_firmwares_get**](docs/FirmwareRunningFirmwareApi.md#firmware_running_firmwares_get) | **GET** /firmware/RunningFirmwares | Get a list of 'firmwareRunningFirmware' instances +*FirmwareRunningFirmwareApi* | [**firmware_running_firmwares_moid_get**](docs/FirmwareRunningFirmwareApi.md#firmware_running_firmwares_moid_get) | **GET** /firmware/RunningFirmwares/{moid} | Get a specific instance of 'firmwareRunningFirmware' +*FirmwareRunningFirmwareApi* | [**firmware_running_firmwares_moid_patch**](docs/FirmwareRunningFirmwareApi.md#firmware_running_firmwares_moid_patch) | **PATCH** /firmware/RunningFirmwares/{moid} | Update an instance of 'firmwareRunningFirmware' +*FirmwareRunningFirmwareApi* | [**firmware_running_firmwares_moid_post**](docs/FirmwareRunningFirmwareApi.md#firmware_running_firmwares_moid_post) | **POST** /firmware/RunningFirmwares/{moid} | Update an instance of 'firmwareRunningFirmware' +*FirmwareUpgradeApi* | [**firmware_upgrades_get**](docs/FirmwareUpgradeApi.md#firmware_upgrades_get) | **GET** /firmware/Upgrades | Get a list of 'firmwareUpgrade' instances +*FirmwareUpgradeApi* | [**firmware_upgrades_moid_delete**](docs/FirmwareUpgradeApi.md#firmware_upgrades_moid_delete) | **DELETE** /firmware/Upgrades/{moid} | Delete an instance of 'firmwareUpgrade' +*FirmwareUpgradeApi* | [**firmware_upgrades_moid_get**](docs/FirmwareUpgradeApi.md#firmware_upgrades_moid_get) | **GET** /firmware/Upgrades/{moid} | Get a specific instance of 'firmwareUpgrade' +*FirmwareUpgradeApi* | [**firmware_upgrades_post**](docs/FirmwareUpgradeApi.md#firmware_upgrades_post) | **POST** /firmware/Upgrades | Create an instance of 'firmwareUpgrade' +*FirmwareUpgradeStatusApi* | [**firmware_upgrade_statuses_get**](docs/FirmwareUpgradeStatusApi.md#firmware_upgrade_statuses_get) | **GET** /firmware/UpgradeStatuses | Get a list of 'firmwareUpgradeStatus' instances +*FirmwareUpgradeStatusApi* | [**firmware_upgrade_statuses_moid_get**](docs/FirmwareUpgradeStatusApi.md#firmware_upgrade_statuses_moid_get) | **GET** /firmware/UpgradeStatuses/{moid} | Get a specific instance of 'firmwareUpgradeStatus' +*GraphicsCardApi* | [**graphics_cards_get**](docs/GraphicsCardApi.md#graphics_cards_get) | **GET** /graphics/Cards | Get a list of 'graphicsCard' instances +*GraphicsCardApi* | [**graphics_cards_moid_get**](docs/GraphicsCardApi.md#graphics_cards_moid_get) | **GET** /graphics/Cards/{moid} | Get a specific instance of 'graphicsCard' +*GraphicsCardApi* | [**graphics_cards_moid_patch**](docs/GraphicsCardApi.md#graphics_cards_moid_patch) | **PATCH** /graphics/Cards/{moid} | Update an instance of 'graphicsCard' +*GraphicsCardApi* | [**graphics_cards_moid_post**](docs/GraphicsCardApi.md#graphics_cards_moid_post) | **POST** /graphics/Cards/{moid} | Update an instance of 'graphicsCard' +*GraphicsControllerApi* | [**graphics_controllers_get**](docs/GraphicsControllerApi.md#graphics_controllers_get) | **GET** /graphics/Controllers | Get a list of 'graphicsController' instances +*GraphicsControllerApi* | [**graphics_controllers_moid_get**](docs/GraphicsControllerApi.md#graphics_controllers_moid_get) | **GET** /graphics/Controllers/{moid} | Get a specific instance of 'graphicsController' +*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' +*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' +*HyperflexAppCatalogApi* | [**hyperflex_app_catalogs_moid_patch**](docs/HyperflexAppCatalogApi.md#hyperflex_app_catalogs_moid_patch) | **PATCH** /hyperflex/AppCatalogs/{moid} | Update an instance of 'hyperflexAppCatalog' +*HyperflexAppCatalogApi* | [**hyperflex_app_catalogs_moid_post**](docs/HyperflexAppCatalogApi.md#hyperflex_app_catalogs_moid_post) | **POST** /hyperflex/AppCatalogs/{moid} | Update an instance of 'hyperflexAppCatalog' +*HyperflexAppCatalogApi* | [**hyperflex_app_catalogs_post**](docs/HyperflexAppCatalogApi.md#hyperflex_app_catalogs_post) | **POST** /hyperflex/AppCatalogs | Create an instance of 'hyperflexAppCatalog' +*HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_get**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_get) | **GET** /hyperflex/AutoSupportPolicies | Get a list of 'hyperflexAutoSupportPolicy' instances +*HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_moid_delete**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_moid_delete) | **DELETE** /hyperflex/AutoSupportPolicies/{moid} | Delete an instance of 'hyperflexAutoSupportPolicy' +*HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_moid_get**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_moid_get) | **GET** /hyperflex/AutoSupportPolicies/{moid} | Get a specific instance of 'hyperflexAutoSupportPolicy' +*HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_moid_patch**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_moid_patch) | **PATCH** /hyperflex/AutoSupportPolicies/{moid} | Update an instance of 'hyperflexAutoSupportPolicy' +*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' +*HyperflexClusterNetworkPolicyApi* | [**hyperflex_cluster_network_policies_moid_patch**](docs/HyperflexClusterNetworkPolicyApi.md#hyperflex_cluster_network_policies_moid_patch) | **PATCH** /hyperflex/ClusterNetworkPolicies/{moid} | Update an instance of 'hyperflexClusterNetworkPolicy' +*HyperflexClusterNetworkPolicyApi* | [**hyperflex_cluster_network_policies_moid_post**](docs/HyperflexClusterNetworkPolicyApi.md#hyperflex_cluster_network_policies_moid_post) | **POST** /hyperflex/ClusterNetworkPolicies/{moid} | Update an instance of 'hyperflexClusterNetworkPolicy' +*HyperflexClusterNetworkPolicyApi* | [**hyperflex_cluster_network_policies_post**](docs/HyperflexClusterNetworkPolicyApi.md#hyperflex_cluster_network_policies_post) | **POST** /hyperflex/ClusterNetworkPolicies | Create an instance of 'hyperflexClusterNetworkPolicy' +*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_get**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_get) | **GET** /hyperflex/ClusterProfiles | Get a list of 'hyperflexClusterProfile' instances +*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_moid_delete**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_moid_delete) | **DELETE** /hyperflex/ClusterProfiles/{moid} | Delete an instance of 'hyperflexClusterProfile' +*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_moid_get**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_moid_get) | **GET** /hyperflex/ClusterProfiles/{moid} | Get a specific instance of 'hyperflexClusterProfile' +*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_moid_patch**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_moid_patch) | **PATCH** /hyperflex/ClusterProfiles/{moid} | Update an instance of 'hyperflexClusterProfile' +*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_moid_post**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_moid_post) | **POST** /hyperflex/ClusterProfiles/{moid} | Update an instance of 'hyperflexClusterProfile' +*HyperflexClusterProfileApi* | [**hyperflex_cluster_profiles_post**](docs/HyperflexClusterProfileApi.md#hyperflex_cluster_profiles_post) | **POST** /hyperflex/ClusterProfiles | Create an instance of 'hyperflexClusterProfile' +*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_get**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_get) | **GET** /hyperflex/ClusterStoragePolicies | Get a list of 'hyperflexClusterStoragePolicy' instances +*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_moid_delete**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_moid_delete) | **DELETE** /hyperflex/ClusterStoragePolicies/{moid} | Delete an instance of 'hyperflexClusterStoragePolicy' +*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_moid_get**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_moid_get) | **GET** /hyperflex/ClusterStoragePolicies/{moid} | Get a specific instance of 'hyperflexClusterStoragePolicy' +*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_moid_patch**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_moid_patch) | **PATCH** /hyperflex/ClusterStoragePolicies/{moid} | Update an instance of 'hyperflexClusterStoragePolicy' +*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_moid_post**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_moid_post) | **POST** /hyperflex/ClusterStoragePolicies/{moid} | Update an instance of 'hyperflexClusterStoragePolicy' +*HyperflexClusterStoragePolicyApi* | [**hyperflex_cluster_storage_policies_post**](docs/HyperflexClusterStoragePolicyApi.md#hyperflex_cluster_storage_policies_post) | **POST** /hyperflex/ClusterStoragePolicies | Create an instance of 'hyperflexClusterStoragePolicy' +*HyperflexConfigResultApi* | [**hyperflex_config_results_get**](docs/HyperflexConfigResultApi.md#hyperflex_config_results_get) | **GET** /hyperflex/ConfigResults | Get a list of 'hyperflexConfigResult' instances +*HyperflexConfigResultApi* | [**hyperflex_config_results_moid_get**](docs/HyperflexConfigResultApi.md#hyperflex_config_results_moid_get) | **GET** /hyperflex/ConfigResults/{moid} | Get a specific instance of 'hyperflexConfigResult' +*HyperflexConfigResultEntryApi* | [**hyperflex_config_result_entries_get**](docs/HyperflexConfigResultEntryApi.md#hyperflex_config_result_entries_get) | **GET** /hyperflex/ConfigResultEntries | Get a list of 'hyperflexConfigResultEntry' instances +*HyperflexConfigResultEntryApi* | [**hyperflex_config_result_entries_moid_get**](docs/HyperflexConfigResultEntryApi.md#hyperflex_config_result_entries_moid_get) | **GET** /hyperflex/ConfigResultEntries/{moid} | Get a specific instance of 'hyperflexConfigResultEntry' +*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_get**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_get) | **GET** /hyperflex/ExtFcStoragePolicies | Get a list of 'hyperflexExtFcStoragePolicy' instances +*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_moid_delete**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_moid_delete) | **DELETE** /hyperflex/ExtFcStoragePolicies/{moid} | Delete an instance of 'hyperflexExtFcStoragePolicy' +*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_moid_get**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_moid_get) | **GET** /hyperflex/ExtFcStoragePolicies/{moid} | Get a specific instance of 'hyperflexExtFcStoragePolicy' +*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_moid_patch**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_moid_patch) | **PATCH** /hyperflex/ExtFcStoragePolicies/{moid} | Update an instance of 'hyperflexExtFcStoragePolicy' +*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_moid_post**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_moid_post) | **POST** /hyperflex/ExtFcStoragePolicies/{moid} | Update an instance of 'hyperflexExtFcStoragePolicy' +*HyperflexExtFcStoragePolicyApi* | [**hyperflex_ext_fc_storage_policies_post**](docs/HyperflexExtFcStoragePolicyApi.md#hyperflex_ext_fc_storage_policies_post) | **POST** /hyperflex/ExtFcStoragePolicies | Create an instance of 'hyperflexExtFcStoragePolicy' +*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_get**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_get) | **GET** /hyperflex/ExtIscsiStoragePolicies | Get a list of 'hyperflexExtIscsiStoragePolicy' instances +*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_moid_delete**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_moid_delete) | **DELETE** /hyperflex/ExtIscsiStoragePolicies/{moid} | Delete an instance of 'hyperflexExtIscsiStoragePolicy' +*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_moid_get**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_moid_get) | **GET** /hyperflex/ExtIscsiStoragePolicies/{moid} | Get a specific instance of 'hyperflexExtIscsiStoragePolicy' +*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_moid_patch**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_moid_patch) | **PATCH** /hyperflex/ExtIscsiStoragePolicies/{moid} | Update an instance of 'hyperflexExtIscsiStoragePolicy' +*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_moid_post**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_moid_post) | **POST** /hyperflex/ExtIscsiStoragePolicies/{moid} | Update an instance of 'hyperflexExtIscsiStoragePolicy' +*HyperflexExtIscsiStoragePolicyApi* | [**hyperflex_ext_iscsi_storage_policies_post**](docs/HyperflexExtIscsiStoragePolicyApi.md#hyperflex_ext_iscsi_storage_policies_post) | **POST** /hyperflex/ExtIscsiStoragePolicies | Create an instance of 'hyperflexExtIscsiStoragePolicy' +*HyperflexFeatureLimitExternalApi* | [**hyperflex_feature_limit_externals_get**](docs/HyperflexFeatureLimitExternalApi.md#hyperflex_feature_limit_externals_get) | **GET** /hyperflex/FeatureLimitExternals | Get a list of 'hyperflexFeatureLimitExternal' instances +*HyperflexFeatureLimitExternalApi* | [**hyperflex_feature_limit_externals_moid_delete**](docs/HyperflexFeatureLimitExternalApi.md#hyperflex_feature_limit_externals_moid_delete) | **DELETE** /hyperflex/FeatureLimitExternals/{moid} | Delete an instance of 'hyperflexFeatureLimitExternal' +*HyperflexFeatureLimitExternalApi* | [**hyperflex_feature_limit_externals_moid_get**](docs/HyperflexFeatureLimitExternalApi.md#hyperflex_feature_limit_externals_moid_get) | **GET** /hyperflex/FeatureLimitExternals/{moid} | Get a specific instance of 'hyperflexFeatureLimitExternal' +*HyperflexFeatureLimitExternalApi* | [**hyperflex_feature_limit_externals_moid_patch**](docs/HyperflexFeatureLimitExternalApi.md#hyperflex_feature_limit_externals_moid_patch) | **PATCH** /hyperflex/FeatureLimitExternals/{moid} | Update an instance of 'hyperflexFeatureLimitExternal' +*HyperflexFeatureLimitExternalApi* | [**hyperflex_feature_limit_externals_moid_post**](docs/HyperflexFeatureLimitExternalApi.md#hyperflex_feature_limit_externals_moid_post) | **POST** /hyperflex/FeatureLimitExternals/{moid} | Update an instance of 'hyperflexFeatureLimitExternal' +*HyperflexFeatureLimitExternalApi* | [**hyperflex_feature_limit_externals_post**](docs/HyperflexFeatureLimitExternalApi.md#hyperflex_feature_limit_externals_post) | **POST** /hyperflex/FeatureLimitExternals | Create an instance of 'hyperflexFeatureLimitExternal' +*HyperflexFeatureLimitInternalApi* | [**hyperflex_feature_limit_internals_get**](docs/HyperflexFeatureLimitInternalApi.md#hyperflex_feature_limit_internals_get) | **GET** /hyperflex/FeatureLimitInternals | Get a list of 'hyperflexFeatureLimitInternal' instances +*HyperflexFeatureLimitInternalApi* | [**hyperflex_feature_limit_internals_moid_delete**](docs/HyperflexFeatureLimitInternalApi.md#hyperflex_feature_limit_internals_moid_delete) | **DELETE** /hyperflex/FeatureLimitInternals/{moid} | Delete an instance of 'hyperflexFeatureLimitInternal' +*HyperflexFeatureLimitInternalApi* | [**hyperflex_feature_limit_internals_moid_get**](docs/HyperflexFeatureLimitInternalApi.md#hyperflex_feature_limit_internals_moid_get) | **GET** /hyperflex/FeatureLimitInternals/{moid} | Get a specific instance of 'hyperflexFeatureLimitInternal' +*HyperflexFeatureLimitInternalApi* | [**hyperflex_feature_limit_internals_moid_patch**](docs/HyperflexFeatureLimitInternalApi.md#hyperflex_feature_limit_internals_moid_patch) | **PATCH** /hyperflex/FeatureLimitInternals/{moid} | Update an instance of 'hyperflexFeatureLimitInternal' +*HyperflexFeatureLimitInternalApi* | [**hyperflex_feature_limit_internals_moid_post**](docs/HyperflexFeatureLimitInternalApi.md#hyperflex_feature_limit_internals_moid_post) | **POST** /hyperflex/FeatureLimitInternals/{moid} | Update an instance of 'hyperflexFeatureLimitInternal' +*HyperflexFeatureLimitInternalApi* | [**hyperflex_feature_limit_internals_post**](docs/HyperflexFeatureLimitInternalApi.md#hyperflex_feature_limit_internals_post) | **POST** /hyperflex/FeatureLimitInternals | Create an instance of 'hyperflexFeatureLimitInternal' +*HyperflexHxdpVersionApi* | [**hyperflex_hxdp_versions_get**](docs/HyperflexHxdpVersionApi.md#hyperflex_hxdp_versions_get) | **GET** /hyperflex/HxdpVersions | Get a list of 'hyperflexHxdpVersion' instances +*HyperflexHxdpVersionApi* | [**hyperflex_hxdp_versions_moid_delete**](docs/HyperflexHxdpVersionApi.md#hyperflex_hxdp_versions_moid_delete) | **DELETE** /hyperflex/HxdpVersions/{moid} | Delete an instance of 'hyperflexHxdpVersion' +*HyperflexHxdpVersionApi* | [**hyperflex_hxdp_versions_moid_get**](docs/HyperflexHxdpVersionApi.md#hyperflex_hxdp_versions_moid_get) | **GET** /hyperflex/HxdpVersions/{moid} | Get a specific instance of 'hyperflexHxdpVersion' +*HyperflexHxdpVersionApi* | [**hyperflex_hxdp_versions_moid_patch**](docs/HyperflexHxdpVersionApi.md#hyperflex_hxdp_versions_moid_patch) | **PATCH** /hyperflex/HxdpVersions/{moid} | Update an instance of 'hyperflexHxdpVersion' +*HyperflexHxdpVersionApi* | [**hyperflex_hxdp_versions_moid_post**](docs/HyperflexHxdpVersionApi.md#hyperflex_hxdp_versions_moid_post) | **POST** /hyperflex/HxdpVersions/{moid} | Update an instance of 'hyperflexHxdpVersion' +*HyperflexHxdpVersionApi* | [**hyperflex_hxdp_versions_post**](docs/HyperflexHxdpVersionApi.md#hyperflex_hxdp_versions_post) | **POST** /hyperflex/HxdpVersions | Create an instance of 'hyperflexHxdpVersion' +*HyperflexLocalCredentialPolicyApi* | [**hyperflex_local_credential_policies_get**](docs/HyperflexLocalCredentialPolicyApi.md#hyperflex_local_credential_policies_get) | **GET** /hyperflex/LocalCredentialPolicies | Get a list of 'hyperflexLocalCredentialPolicy' instances +*HyperflexLocalCredentialPolicyApi* | [**hyperflex_local_credential_policies_moid_delete**](docs/HyperflexLocalCredentialPolicyApi.md#hyperflex_local_credential_policies_moid_delete) | **DELETE** /hyperflex/LocalCredentialPolicies/{moid} | Delete an instance of 'hyperflexLocalCredentialPolicy' +*HyperflexLocalCredentialPolicyApi* | [**hyperflex_local_credential_policies_moid_get**](docs/HyperflexLocalCredentialPolicyApi.md#hyperflex_local_credential_policies_moid_get) | **GET** /hyperflex/LocalCredentialPolicies/{moid} | Get a specific instance of 'hyperflexLocalCredentialPolicy' +*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' +*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' +*HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_moid_patch**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_moid_patch) | **PATCH** /hyperflex/NodeConfigPolicies/{moid} | Update an instance of 'hyperflexNodeConfigPolicy' +*HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_moid_post**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_moid_post) | **POST** /hyperflex/NodeConfigPolicies/{moid} | Update an instance of 'hyperflexNodeConfigPolicy' +*HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_post**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_post) | **POST** /hyperflex/NodeConfigPolicies | Create an instance of 'hyperflexNodeConfigPolicy' +*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_get**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_get) | **GET** /hyperflex/NodeProfiles | Get a list of 'hyperflexNodeProfile' instances +*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_moid_delete**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_moid_delete) | **DELETE** /hyperflex/NodeProfiles/{moid} | Delete an instance of 'hyperflexNodeProfile' +*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_moid_get**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_moid_get) | **GET** /hyperflex/NodeProfiles/{moid} | Get a specific instance of 'hyperflexNodeProfile' +*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_moid_patch**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_moid_patch) | **PATCH** /hyperflex/NodeProfiles/{moid} | Update an instance of 'hyperflexNodeProfile' +*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_moid_post**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_moid_post) | **POST** /hyperflex/NodeProfiles/{moid} | Update an instance of 'hyperflexNodeProfile' +*HyperflexNodeProfileApi* | [**hyperflex_node_profiles_post**](docs/HyperflexNodeProfileApi.md#hyperflex_node_profiles_post) | **POST** /hyperflex/NodeProfiles | Create an instance of 'hyperflexNodeProfile' +*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_get**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_get) | **GET** /hyperflex/ProxySettingPolicies | Get a list of 'hyperflexProxySettingPolicy' instances +*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_moid_delete**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_moid_delete) | **DELETE** /hyperflex/ProxySettingPolicies/{moid} | Delete an instance of 'hyperflexProxySettingPolicy' +*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_moid_get**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_moid_get) | **GET** /hyperflex/ProxySettingPolicies/{moid} | Get a specific instance of 'hyperflexProxySettingPolicy' +*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_moid_patch**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_moid_patch) | **PATCH** /hyperflex/ProxySettingPolicies/{moid} | Update an instance of 'hyperflexProxySettingPolicy' +*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_moid_post**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_moid_post) | **POST** /hyperflex/ProxySettingPolicies/{moid} | Update an instance of 'hyperflexProxySettingPolicy' +*HyperflexProxySettingPolicyApi* | [**hyperflex_proxy_setting_policies_post**](docs/HyperflexProxySettingPolicyApi.md#hyperflex_proxy_setting_policies_post) | **POST** /hyperflex/ProxySettingPolicies | Create an instance of 'hyperflexProxySettingPolicy' +*HyperflexServerFirmwareVersionApi* | [**hyperflex_server_firmware_versions_get**](docs/HyperflexServerFirmwareVersionApi.md#hyperflex_server_firmware_versions_get) | **GET** /hyperflex/ServerFirmwareVersions | Get a list of 'hyperflexServerFirmwareVersion' instances +*HyperflexServerFirmwareVersionApi* | [**hyperflex_server_firmware_versions_moid_delete**](docs/HyperflexServerFirmwareVersionApi.md#hyperflex_server_firmware_versions_moid_delete) | **DELETE** /hyperflex/ServerFirmwareVersions/{moid} | Delete an instance of 'hyperflexServerFirmwareVersion' +*HyperflexServerFirmwareVersionApi* | [**hyperflex_server_firmware_versions_moid_get**](docs/HyperflexServerFirmwareVersionApi.md#hyperflex_server_firmware_versions_moid_get) | **GET** /hyperflex/ServerFirmwareVersions/{moid} | Get a specific instance of 'hyperflexServerFirmwareVersion' +*HyperflexServerFirmwareVersionApi* | [**hyperflex_server_firmware_versions_moid_patch**](docs/HyperflexServerFirmwareVersionApi.md#hyperflex_server_firmware_versions_moid_patch) | **PATCH** /hyperflex/ServerFirmwareVersions/{moid} | Update an instance of 'hyperflexServerFirmwareVersion' +*HyperflexServerFirmwareVersionApi* | [**hyperflex_server_firmware_versions_moid_post**](docs/HyperflexServerFirmwareVersionApi.md#hyperflex_server_firmware_versions_moid_post) | **POST** /hyperflex/ServerFirmwareVersions/{moid} | Update an instance of 'hyperflexServerFirmwareVersion' +*HyperflexServerFirmwareVersionApi* | [**hyperflex_server_firmware_versions_post**](docs/HyperflexServerFirmwareVersionApi.md#hyperflex_server_firmware_versions_post) | **POST** /hyperflex/ServerFirmwareVersions | Create an instance of 'hyperflexServerFirmwareVersion' +*HyperflexServerModelApi* | [**hyperflex_server_models_get**](docs/HyperflexServerModelApi.md#hyperflex_server_models_get) | **GET** /hyperflex/ServerModels | Get a list of 'hyperflexServerModel' instances +*HyperflexServerModelApi* | [**hyperflex_server_models_moid_delete**](docs/HyperflexServerModelApi.md#hyperflex_server_models_moid_delete) | **DELETE** /hyperflex/ServerModels/{moid} | Delete an instance of 'hyperflexServerModel' +*HyperflexServerModelApi* | [**hyperflex_server_models_moid_get**](docs/HyperflexServerModelApi.md#hyperflex_server_models_moid_get) | **GET** /hyperflex/ServerModels/{moid} | Get a specific instance of 'hyperflexServerModel' +*HyperflexServerModelApi* | [**hyperflex_server_models_moid_patch**](docs/HyperflexServerModelApi.md#hyperflex_server_models_moid_patch) | **PATCH** /hyperflex/ServerModels/{moid} | Update an instance of 'hyperflexServerModel' +*HyperflexServerModelApi* | [**hyperflex_server_models_moid_post**](docs/HyperflexServerModelApi.md#hyperflex_server_models_moid_post) | **POST** /hyperflex/ServerModels/{moid} | Update an instance of 'hyperflexServerModel' +*HyperflexServerModelApi* | [**hyperflex_server_models_post**](docs/HyperflexServerModelApi.md#hyperflex_server_models_post) | **POST** /hyperflex/ServerModels | Create an instance of 'hyperflexServerModel' +*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_get**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_get) | **GET** /hyperflex/SysConfigPolicies | Get a list of 'hyperflexSysConfigPolicy' instances +*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_moid_delete**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_moid_delete) | **DELETE** /hyperflex/SysConfigPolicies/{moid} | Delete an instance of 'hyperflexSysConfigPolicy' +*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_moid_get**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_moid_get) | **GET** /hyperflex/SysConfigPolicies/{moid} | Get a specific instance of 'hyperflexSysConfigPolicy' +*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_moid_patch**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_moid_patch) | **PATCH** /hyperflex/SysConfigPolicies/{moid} | Update an instance of 'hyperflexSysConfigPolicy' +*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_moid_post**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_moid_post) | **POST** /hyperflex/SysConfigPolicies/{moid} | Update an instance of 'hyperflexSysConfigPolicy' +*HyperflexSysConfigPolicyApi* | [**hyperflex_sys_config_policies_post**](docs/HyperflexSysConfigPolicyApi.md#hyperflex_sys_config_policies_post) | **POST** /hyperflex/SysConfigPolicies | Create an instance of 'hyperflexSysConfigPolicy' +*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_get**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_get) | **GET** /hyperflex/UcsmConfigPolicies | Get a list of 'hyperflexUcsmConfigPolicy' instances +*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_moid_delete**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_moid_delete) | **DELETE** /hyperflex/UcsmConfigPolicies/{moid} | Delete an instance of 'hyperflexUcsmConfigPolicy' +*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_moid_get**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_moid_get) | **GET** /hyperflex/UcsmConfigPolicies/{moid} | Get a specific instance of 'hyperflexUcsmConfigPolicy' +*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_moid_patch**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_moid_patch) | **PATCH** /hyperflex/UcsmConfigPolicies/{moid} | Update an instance of 'hyperflexUcsmConfigPolicy' +*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_moid_post**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_moid_post) | **POST** /hyperflex/UcsmConfigPolicies/{moid} | Update an instance of 'hyperflexUcsmConfigPolicy' +*HyperflexUcsmConfigPolicyApi* | [**hyperflex_ucsm_config_policies_post**](docs/HyperflexUcsmConfigPolicyApi.md#hyperflex_ucsm_config_policies_post) | **POST** /hyperflex/UcsmConfigPolicies | Create an instance of 'hyperflexUcsmConfigPolicy' +*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_get**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_get) | **GET** /hyperflex/VcenterConfigPolicies | Get a list of 'hyperflexVcenterConfigPolicy' instances +*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_moid_delete**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_moid_delete) | **DELETE** /hyperflex/VcenterConfigPolicies/{moid} | Delete an instance of 'hyperflexVcenterConfigPolicy' +*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_moid_get**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_moid_get) | **GET** /hyperflex/VcenterConfigPolicies/{moid} | Get a specific instance of 'hyperflexVcenterConfigPolicy' +*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_moid_patch**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_moid_patch) | **PATCH** /hyperflex/VcenterConfigPolicies/{moid} | Update an instance of 'hyperflexVcenterConfigPolicy' +*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_moid_post**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_moid_post) | **POST** /hyperflex/VcenterConfigPolicies/{moid} | Update an instance of 'hyperflexVcenterConfigPolicy' +*HyperflexVcenterConfigPolicyApi* | [**hyperflex_vcenter_config_policies_post**](docs/HyperflexVcenterConfigPolicyApi.md#hyperflex_vcenter_config_policies_post) | **POST** /hyperflex/VcenterConfigPolicies | Create an instance of 'hyperflexVcenterConfigPolicy' +*IaasConnectorPackApi* | [**iaas_connector_packs_get**](docs/IaasConnectorPackApi.md#iaas_connector_packs_get) | **GET** /iaas/ConnectorPacks | Get a list of 'iaasConnectorPack' instances +*IaasConnectorPackApi* | [**iaas_connector_packs_moid_get**](docs/IaasConnectorPackApi.md#iaas_connector_packs_moid_get) | **GET** /iaas/ConnectorPacks/{moid} | Get a specific instance of 'iaasConnectorPack' +*IaasDeviceStatusApi* | [**iaas_device_statuses_get**](docs/IaasDeviceStatusApi.md#iaas_device_statuses_get) | **GET** /iaas/DeviceStatuses | Get a list of 'iaasDeviceStatus' instances +*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' +*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' +*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' +*IamAccountApi* | [**iam_accounts_moid_patch**](docs/IamAccountApi.md#iam_accounts_moid_patch) | **PATCH** /iam/Accounts/{moid} | Update an instance of 'iamAccount' +*IamAccountApi* | [**iam_accounts_moid_post**](docs/IamAccountApi.md#iam_accounts_moid_post) | **POST** /iam/Accounts/{moid} | Update an instance of 'iamAccount' +*IamAccountApi* | [**iam_accounts_post**](docs/IamAccountApi.md#iam_accounts_post) | **POST** /iam/Accounts | Create an instance of 'iamAccount' +*IamApiKeyApi* | [**iam_api_keys_get**](docs/IamApiKeyApi.md#iam_api_keys_get) | **GET** /iam/ApiKeys | Get a list of 'iamApiKey' instances +*IamApiKeyApi* | [**iam_api_keys_moid_delete**](docs/IamApiKeyApi.md#iam_api_keys_moid_delete) | **DELETE** /iam/ApiKeys/{moid} | Delete an instance of 'iamApiKey' +*IamApiKeyApi* | [**iam_api_keys_moid_get**](docs/IamApiKeyApi.md#iam_api_keys_moid_get) | **GET** /iam/ApiKeys/{moid} | Get a specific instance of 'iamApiKey' +*IamApiKeyApi* | [**iam_api_keys_moid_patch**](docs/IamApiKeyApi.md#iam_api_keys_moid_patch) | **PATCH** /iam/ApiKeys/{moid} | Update an instance of 'iamApiKey' +*IamApiKeyApi* | [**iam_api_keys_moid_post**](docs/IamApiKeyApi.md#iam_api_keys_moid_post) | **POST** /iam/ApiKeys/{moid} | Update an instance of 'iamApiKey' +*IamApiKeyApi* | [**iam_api_keys_post**](docs/IamApiKeyApi.md#iam_api_keys_post) | **POST** /iam/ApiKeys | Create an instance of 'iamApiKey' +*IamDomainGroupApi* | [**iam_domain_groups_get**](docs/IamDomainGroupApi.md#iam_domain_groups_get) | **GET** /iam/DomainGroups | Get a list of 'iamDomainGroup' instances +*IamDomainGroupApi* | [**iam_domain_groups_moid_get**](docs/IamDomainGroupApi.md#iam_domain_groups_moid_get) | **GET** /iam/DomainGroups/{moid} | Get a specific instance of 'iamDomainGroup' +*IamEndPointPrivilegeApi* | [**iam_end_point_privileges_get**](docs/IamEndPointPrivilegeApi.md#iam_end_point_privileges_get) | **GET** /iam/EndPointPrivileges | Get a list of 'iamEndPointPrivilege' instances +*IamEndPointPrivilegeApi* | [**iam_end_point_privileges_moid_get**](docs/IamEndPointPrivilegeApi.md#iam_end_point_privileges_moid_get) | **GET** /iam/EndPointPrivileges/{moid} | Get a specific instance of 'iamEndPointPrivilege' +*IamEndPointRoleApi* | [**iam_end_point_roles_get**](docs/IamEndPointRoleApi.md#iam_end_point_roles_get) | **GET** /iam/EndPointRoles | Get a list of 'iamEndPointRole' instances +*IamEndPointRoleApi* | [**iam_end_point_roles_moid_get**](docs/IamEndPointRoleApi.md#iam_end_point_roles_moid_get) | **GET** /iam/EndPointRoles/{moid} | Get a specific instance of 'iamEndPointRole' +*IamEndPointUserApi* | [**iam_end_point_users_get**](docs/IamEndPointUserApi.md#iam_end_point_users_get) | **GET** /iam/EndPointUsers | Get a list of 'iamEndPointUser' instances +*IamEndPointUserApi* | [**iam_end_point_users_moid_delete**](docs/IamEndPointUserApi.md#iam_end_point_users_moid_delete) | **DELETE** /iam/EndPointUsers/{moid} | Delete an instance of 'iamEndPointUser' +*IamEndPointUserApi* | [**iam_end_point_users_moid_get**](docs/IamEndPointUserApi.md#iam_end_point_users_moid_get) | **GET** /iam/EndPointUsers/{moid} | Get a specific instance of 'iamEndPointUser' +*IamEndPointUserApi* | [**iam_end_point_users_moid_patch**](docs/IamEndPointUserApi.md#iam_end_point_users_moid_patch) | **PATCH** /iam/EndPointUsers/{moid} | Update an instance of 'iamEndPointUser' +*IamEndPointUserApi* | [**iam_end_point_users_moid_post**](docs/IamEndPointUserApi.md#iam_end_point_users_moid_post) | **POST** /iam/EndPointUsers/{moid} | Update an instance of 'iamEndPointUser' +*IamEndPointUserApi* | [**iam_end_point_users_post**](docs/IamEndPointUserApi.md#iam_end_point_users_post) | **POST** /iam/EndPointUsers | Create an instance of 'iamEndPointUser' +*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_get**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_get) | **GET** /iam/EndPointUserPolicies | Get a list of 'iamEndPointUserPolicy' instances +*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_moid_delete**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_moid_delete) | **DELETE** /iam/EndPointUserPolicies/{moid} | Delete an instance of 'iamEndPointUserPolicy' +*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_moid_get**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_moid_get) | **GET** /iam/EndPointUserPolicies/{moid} | Get a specific instance of 'iamEndPointUserPolicy' +*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_moid_patch**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_moid_patch) | **PATCH** /iam/EndPointUserPolicies/{moid} | Update an instance of 'iamEndPointUserPolicy' +*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_moid_post**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_moid_post) | **POST** /iam/EndPointUserPolicies/{moid} | Update an instance of 'iamEndPointUserPolicy' +*IamEndPointUserPolicyApi* | [**iam_end_point_user_policies_post**](docs/IamEndPointUserPolicyApi.md#iam_end_point_user_policies_post) | **POST** /iam/EndPointUserPolicies | Create an instance of 'iamEndPointUserPolicy' +*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_get**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_get) | **GET** /iam/EndPointUserRoles | Get a list of 'iamEndPointUserRole' instances +*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_moid_delete**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_moid_delete) | **DELETE** /iam/EndPointUserRoles/{moid} | Delete an instance of 'iamEndPointUserRole' +*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_moid_get**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_moid_get) | **GET** /iam/EndPointUserRoles/{moid} | Get a specific instance of 'iamEndPointUserRole' +*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_moid_patch**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_moid_patch) | **PATCH** /iam/EndPointUserRoles/{moid} | Update an instance of 'iamEndPointUserRole' +*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_moid_post**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_moid_post) | **POST** /iam/EndPointUserRoles/{moid} | Update an instance of 'iamEndPointUserRole' +*IamEndPointUserRoleApi* | [**iam_end_point_user_roles_post**](docs/IamEndPointUserRoleApi.md#iam_end_point_user_roles_post) | **POST** /iam/EndPointUserRoles | Create an instance of 'iamEndPointUserRole' +*IamIdpApi* | [**iam_idps_get**](docs/IamIdpApi.md#iam_idps_get) | **GET** /iam/Idps | Get a list of 'iamIdp' instances +*IamIdpApi* | [**iam_idps_moid_delete**](docs/IamIdpApi.md#iam_idps_moid_delete) | **DELETE** /iam/Idps/{moid} | Delete an instance of 'iamIdp' +*IamIdpApi* | [**iam_idps_moid_get**](docs/IamIdpApi.md#iam_idps_moid_get) | **GET** /iam/Idps/{moid} | Get a specific instance of 'iamIdp' +*IamIdpApi* | [**iam_idps_moid_patch**](docs/IamIdpApi.md#iam_idps_moid_patch) | **PATCH** /iam/Idps/{moid} | Update an instance of 'iamIdp' +*IamIdpApi* | [**iam_idps_moid_post**](docs/IamIdpApi.md#iam_idps_moid_post) | **POST** /iam/Idps/{moid} | Update an instance of 'iamIdp' +*IamIdpApi* | [**iam_idps_post**](docs/IamIdpApi.md#iam_idps_post) | **POST** /iam/Idps | Create an instance of 'iamIdp' +*IamIdpReferenceApi* | [**iam_idp_references_get**](docs/IamIdpReferenceApi.md#iam_idp_references_get) | **GET** /iam/IdpReferences | Get a list of 'iamIdpReference' instances +*IamIdpReferenceApi* | [**iam_idp_references_moid_get**](docs/IamIdpReferenceApi.md#iam_idp_references_moid_get) | **GET** /iam/IdpReferences/{moid} | Get a specific instance of 'iamIdpReference' +*IamLdapGroupApi* | [**iam_ldap_groups_get**](docs/IamLdapGroupApi.md#iam_ldap_groups_get) | **GET** /iam/LdapGroups | Get a list of 'iamLdapGroup' instances +*IamLdapGroupApi* | [**iam_ldap_groups_moid_delete**](docs/IamLdapGroupApi.md#iam_ldap_groups_moid_delete) | **DELETE** /iam/LdapGroups/{moid} | Delete an instance of 'iamLdapGroup' +*IamLdapGroupApi* | [**iam_ldap_groups_moid_get**](docs/IamLdapGroupApi.md#iam_ldap_groups_moid_get) | **GET** /iam/LdapGroups/{moid} | Get a specific instance of 'iamLdapGroup' +*IamLdapGroupApi* | [**iam_ldap_groups_moid_patch**](docs/IamLdapGroupApi.md#iam_ldap_groups_moid_patch) | **PATCH** /iam/LdapGroups/{moid} | Update an instance of 'iamLdapGroup' +*IamLdapGroupApi* | [**iam_ldap_groups_moid_post**](docs/IamLdapGroupApi.md#iam_ldap_groups_moid_post) | **POST** /iam/LdapGroups/{moid} | Update an instance of 'iamLdapGroup' +*IamLdapGroupApi* | [**iam_ldap_groups_post**](docs/IamLdapGroupApi.md#iam_ldap_groups_post) | **POST** /iam/LdapGroups | Create an instance of 'iamLdapGroup' +*IamLdapPolicyApi* | [**iam_ldap_policies_get**](docs/IamLdapPolicyApi.md#iam_ldap_policies_get) | **GET** /iam/LdapPolicies | Get a list of 'iamLdapPolicy' instances +*IamLdapPolicyApi* | [**iam_ldap_policies_moid_delete**](docs/IamLdapPolicyApi.md#iam_ldap_policies_moid_delete) | **DELETE** /iam/LdapPolicies/{moid} | Delete an instance of 'iamLdapPolicy' +*IamLdapPolicyApi* | [**iam_ldap_policies_moid_get**](docs/IamLdapPolicyApi.md#iam_ldap_policies_moid_get) | **GET** /iam/LdapPolicies/{moid} | Get a specific instance of 'iamLdapPolicy' +*IamLdapPolicyApi* | [**iam_ldap_policies_moid_patch**](docs/IamLdapPolicyApi.md#iam_ldap_policies_moid_patch) | **PATCH** /iam/LdapPolicies/{moid} | Update an instance of 'iamLdapPolicy' +*IamLdapPolicyApi* | [**iam_ldap_policies_moid_post**](docs/IamLdapPolicyApi.md#iam_ldap_policies_moid_post) | **POST** /iam/LdapPolicies/{moid} | Update an instance of 'iamLdapPolicy' +*IamLdapPolicyApi* | [**iam_ldap_policies_post**](docs/IamLdapPolicyApi.md#iam_ldap_policies_post) | **POST** /iam/LdapPolicies | Create an instance of 'iamLdapPolicy' +*IamLdapProviderApi* | [**iam_ldap_providers_get**](docs/IamLdapProviderApi.md#iam_ldap_providers_get) | **GET** /iam/LdapProviders | Get a list of 'iamLdapProvider' instances +*IamLdapProviderApi* | [**iam_ldap_providers_moid_delete**](docs/IamLdapProviderApi.md#iam_ldap_providers_moid_delete) | **DELETE** /iam/LdapProviders/{moid} | Delete an instance of 'iamLdapProvider' +*IamLdapProviderApi* | [**iam_ldap_providers_moid_get**](docs/IamLdapProviderApi.md#iam_ldap_providers_moid_get) | **GET** /iam/LdapProviders/{moid} | Get a specific instance of 'iamLdapProvider' +*IamLdapProviderApi* | [**iam_ldap_providers_moid_patch**](docs/IamLdapProviderApi.md#iam_ldap_providers_moid_patch) | **PATCH** /iam/LdapProviders/{moid} | Update an instance of 'iamLdapProvider' +*IamLdapProviderApi* | [**iam_ldap_providers_moid_post**](docs/IamLdapProviderApi.md#iam_ldap_providers_moid_post) | **POST** /iam/LdapProviders/{moid} | Update an instance of 'iamLdapProvider' +*IamLdapProviderApi* | [**iam_ldap_providers_post**](docs/IamLdapProviderApi.md#iam_ldap_providers_post) | **POST** /iam/LdapProviders | Create an instance of 'iamLdapProvider' +*IamPermissionApi* | [**iam_permissions_get**](docs/IamPermissionApi.md#iam_permissions_get) | **GET** /iam/Permissions | Get a list of 'iamPermission' instances +*IamPermissionApi* | [**iam_permissions_moid_get**](docs/IamPermissionApi.md#iam_permissions_moid_get) | **GET** /iam/Permissions/{moid} | Get a specific instance of 'iamPermission' +*IamPrivilegeApi* | [**iam_privileges_get**](docs/IamPrivilegeApi.md#iam_privileges_get) | **GET** /iam/Privileges | Get a list of 'iamPrivilege' instances +*IamPrivilegeApi* | [**iam_privileges_moid_get**](docs/IamPrivilegeApi.md#iam_privileges_moid_get) | **GET** /iam/Privileges/{moid} | Get a specific instance of 'iamPrivilege' +*IamPrivilegeSetApi* | [**iam_privilege_sets_get**](docs/IamPrivilegeSetApi.md#iam_privilege_sets_get) | **GET** /iam/PrivilegeSets | Get a list of 'iamPrivilegeSet' instances +*IamPrivilegeSetApi* | [**iam_privilege_sets_moid_get**](docs/IamPrivilegeSetApi.md#iam_privilege_sets_moid_get) | **GET** /iam/PrivilegeSets/{moid} | Get a specific instance of 'iamPrivilegeSet' +*IamQualifierApi* | [**iam_qualifiers_get**](docs/IamQualifierApi.md#iam_qualifiers_get) | **GET** /iam/Qualifiers | Get a list of 'iamQualifier' instances +*IamQualifierApi* | [**iam_qualifiers_moid_delete**](docs/IamQualifierApi.md#iam_qualifiers_moid_delete) | **DELETE** /iam/Qualifiers/{moid} | Delete an instance of 'iamQualifier' +*IamQualifierApi* | [**iam_qualifiers_moid_get**](docs/IamQualifierApi.md#iam_qualifiers_moid_get) | **GET** /iam/Qualifiers/{moid} | Get a specific instance of 'iamQualifier' +*IamQualifierApi* | [**iam_qualifiers_moid_patch**](docs/IamQualifierApi.md#iam_qualifiers_moid_patch) | **PATCH** /iam/Qualifiers/{moid} | Update an instance of 'iamQualifier' +*IamQualifierApi* | [**iam_qualifiers_moid_post**](docs/IamQualifierApi.md#iam_qualifiers_moid_post) | **POST** /iam/Qualifiers/{moid} | Update an instance of 'iamQualifier' +*IamQualifierApi* | [**iam_qualifiers_post**](docs/IamQualifierApi.md#iam_qualifiers_post) | **POST** /iam/Qualifiers | Create an instance of 'iamQualifier' +*IamResourceLimitsApi* | [**iam_resource_limits_get**](docs/IamResourceLimitsApi.md#iam_resource_limits_get) | **GET** /iam/ResourceLimits | Get a list of 'iamResourceLimits' instances +*IamResourceLimitsApi* | [**iam_resource_limits_moid_get**](docs/IamResourceLimitsApi.md#iam_resource_limits_moid_get) | **GET** /iam/ResourceLimits/{moid} | Get a specific instance of 'iamResourceLimits' +*IamRoleApi* | [**iam_roles_get**](docs/IamRoleApi.md#iam_roles_get) | **GET** /iam/Roles | Get a list of 'iamRole' instances +*IamRoleApi* | [**iam_roles_moid_get**](docs/IamRoleApi.md#iam_roles_moid_get) | **GET** /iam/Roles/{moid} | Get a specific instance of 'iamRole' +*IamServiceProviderApi* | [**iam_service_providers_get**](docs/IamServiceProviderApi.md#iam_service_providers_get) | **GET** /iam/ServiceProviders | Get a list of 'iamServiceProvider' instances +*IamServiceProviderApi* | [**iam_service_providers_moid_get**](docs/IamServiceProviderApi.md#iam_service_providers_moid_get) | **GET** /iam/ServiceProviders/{moid} | Get a specific instance of 'iamServiceProvider' +*IamSessionApi* | [**iam_sessions_get**](docs/IamSessionApi.md#iam_sessions_get) | **GET** /iam/Sessions | Get a list of 'iamSession' instances +*IamSessionApi* | [**iam_sessions_moid_delete**](docs/IamSessionApi.md#iam_sessions_moid_delete) | **DELETE** /iam/Sessions/{moid} | Delete an instance of 'iamSession' +*IamSessionApi* | [**iam_sessions_moid_get**](docs/IamSessionApi.md#iam_sessions_moid_get) | **GET** /iam/Sessions/{moid} | Get a specific instance of 'iamSession' +*IamSessionLimitsApi* | [**iam_session_limits_get**](docs/IamSessionLimitsApi.md#iam_session_limits_get) | **GET** /iam/SessionLimits | Get a list of 'iamSessionLimits' instances +*IamSessionLimitsApi* | [**iam_session_limits_moid_get**](docs/IamSessionLimitsApi.md#iam_session_limits_moid_get) | **GET** /iam/SessionLimits/{moid} | Get a specific instance of 'iamSessionLimits' +*IamSystemApi* | [**iam_systems_get**](docs/IamSystemApi.md#iam_systems_get) | **GET** /iam/Systems | Get a list of 'iamSystem' instances +*IamSystemApi* | [**iam_systems_moid_get**](docs/IamSystemApi.md#iam_systems_moid_get) | **GET** /iam/Systems/{moid} | Get a specific instance of 'iamSystem' +*IamUserApi* | [**iam_users_get**](docs/IamUserApi.md#iam_users_get) | **GET** /iam/Users | Get a list of 'iamUser' instances +*IamUserApi* | [**iam_users_moid_delete**](docs/IamUserApi.md#iam_users_moid_delete) | **DELETE** /iam/Users/{moid} | Delete an instance of 'iamUser' +*IamUserApi* | [**iam_users_moid_get**](docs/IamUserApi.md#iam_users_moid_get) | **GET** /iam/Users/{moid} | Get a specific instance of 'iamUser' +*IamUserApi* | [**iam_users_moid_patch**](docs/IamUserApi.md#iam_users_moid_patch) | **PATCH** /iam/Users/{moid} | Update an instance of 'iamUser' +*IamUserApi* | [**iam_users_moid_post**](docs/IamUserApi.md#iam_users_moid_post) | **POST** /iam/Users/{moid} | Update an instance of 'iamUser' +*IamUserApi* | [**iam_users_post**](docs/IamUserApi.md#iam_users_post) | **POST** /iam/Users | Create an instance of 'iamUser' +*IamUserGroupApi* | [**iam_user_groups_get**](docs/IamUserGroupApi.md#iam_user_groups_get) | **GET** /iam/UserGroups | Get a list of 'iamUserGroup' instances +*IamUserGroupApi* | [**iam_user_groups_moid_delete**](docs/IamUserGroupApi.md#iam_user_groups_moid_delete) | **DELETE** /iam/UserGroups/{moid} | Delete an instance of 'iamUserGroup' +*IamUserGroupApi* | [**iam_user_groups_moid_get**](docs/IamUserGroupApi.md#iam_user_groups_moid_get) | **GET** /iam/UserGroups/{moid} | Get a specific instance of 'iamUserGroup' +*IamUserGroupApi* | [**iam_user_groups_moid_patch**](docs/IamUserGroupApi.md#iam_user_groups_moid_patch) | **PATCH** /iam/UserGroups/{moid} | Update an instance of 'iamUserGroup' +*IamUserGroupApi* | [**iam_user_groups_moid_post**](docs/IamUserGroupApi.md#iam_user_groups_moid_post) | **POST** /iam/UserGroups/{moid} | Update an instance of 'iamUserGroup' +*IamUserGroupApi* | [**iam_user_groups_post**](docs/IamUserGroupApi.md#iam_user_groups_post) | **POST** /iam/UserGroups | Create an instance of 'iamUserGroup' +*IamUserPreferenceApi* | [**iam_user_preferences_get**](docs/IamUserPreferenceApi.md#iam_user_preferences_get) | **GET** /iam/UserPreferences | Get a list of 'iamUserPreference' instances +*IamUserPreferenceApi* | [**iam_user_preferences_moid_get**](docs/IamUserPreferenceApi.md#iam_user_preferences_moid_get) | **GET** /iam/UserPreferences/{moid} | Get a specific instance of 'iamUserPreference' +*IamUserPreferenceApi* | [**iam_user_preferences_moid_patch**](docs/IamUserPreferenceApi.md#iam_user_preferences_moid_patch) | **PATCH** /iam/UserPreferences/{moid} | Update an instance of 'iamUserPreference' +*IamUserPreferenceApi* | [**iam_user_preferences_moid_post**](docs/IamUserPreferenceApi.md#iam_user_preferences_moid_post) | **POST** /iam/UserPreferences/{moid} | Update an instance of 'iamUserPreference' +*InventoryDeviceInfoApi* | [**inventory_device_infos_get**](docs/InventoryDeviceInfoApi.md#inventory_device_infos_get) | **GET** /inventory/DeviceInfos | Get a list of 'inventoryDeviceInfo' instances +*InventoryDeviceInfoApi* | [**inventory_device_infos_moid_get**](docs/InventoryDeviceInfoApi.md#inventory_device_infos_moid_get) | **GET** /inventory/DeviceInfos/{moid} | Get a specific instance of 'inventoryDeviceInfo' +*InventoryDnMoBindingApi* | [**inventory_dn_mo_bindings_get**](docs/InventoryDnMoBindingApi.md#inventory_dn_mo_bindings_get) | **GET** /inventory/DnMoBindings | Get a list of 'inventoryDnMoBinding' instances +*InventoryDnMoBindingApi* | [**inventory_dn_mo_bindings_moid_get**](docs/InventoryDnMoBindingApi.md#inventory_dn_mo_bindings_moid_get) | **GET** /inventory/DnMoBindings/{moid} | Get a specific instance of 'inventoryDnMoBinding' +*InventoryGenericInventoryApi* | [**inventory_generic_inventories_get**](docs/InventoryGenericInventoryApi.md#inventory_generic_inventories_get) | **GET** /inventory/GenericInventories | Get a list of 'inventoryGenericInventory' instances +*InventoryGenericInventoryApi* | [**inventory_generic_inventories_moid_get**](docs/InventoryGenericInventoryApi.md#inventory_generic_inventories_moid_get) | **GET** /inventory/GenericInventories/{moid} | Get a specific instance of 'inventoryGenericInventory' +*InventoryGenericInventoryApi* | [**inventory_generic_inventories_moid_patch**](docs/InventoryGenericInventoryApi.md#inventory_generic_inventories_moid_patch) | **PATCH** /inventory/GenericInventories/{moid} | Update an instance of 'inventoryGenericInventory' +*InventoryGenericInventoryApi* | [**inventory_generic_inventories_moid_post**](docs/InventoryGenericInventoryApi.md#inventory_generic_inventories_moid_post) | **POST** /inventory/GenericInventories/{moid} | Update an instance of 'inventoryGenericInventory' +*InventoryGenericInventoryHolderApi* | [**inventory_generic_inventory_holders_get**](docs/InventoryGenericInventoryHolderApi.md#inventory_generic_inventory_holders_get) | **GET** /inventory/GenericInventoryHolders | Get a list of 'inventoryGenericInventoryHolder' instances +*InventoryGenericInventoryHolderApi* | [**inventory_generic_inventory_holders_moid_get**](docs/InventoryGenericInventoryHolderApi.md#inventory_generic_inventory_holders_moid_get) | **GET** /inventory/GenericInventoryHolders/{moid} | Get a specific instance of 'inventoryGenericInventoryHolder' +*InventoryGenericInventoryHolderApi* | [**inventory_generic_inventory_holders_moid_patch**](docs/InventoryGenericInventoryHolderApi.md#inventory_generic_inventory_holders_moid_patch) | **PATCH** /inventory/GenericInventoryHolders/{moid} | Update an instance of 'inventoryGenericInventoryHolder' +*InventoryGenericInventoryHolderApi* | [**inventory_generic_inventory_holders_moid_post**](docs/InventoryGenericInventoryHolderApi.md#inventory_generic_inventory_holders_moid_post) | **POST** /inventory/GenericInventoryHolders/{moid} | Update an instance of 'inventoryGenericInventoryHolder' +*InventoryRequestApi* | [**inventory_requests_post**](docs/InventoryRequestApi.md#inventory_requests_post) | **POST** /inventory/Requests | Create an instance of 'inventoryRequest' +*IpmioverlanPolicyApi* | [**ipmioverlan_policies_get**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_get) | **GET** /ipmioverlan/Policies | Get a list of 'ipmioverlanPolicy' instances +*IpmioverlanPolicyApi* | [**ipmioverlan_policies_moid_delete**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_moid_delete) | **DELETE** /ipmioverlan/Policies/{moid} | Delete an instance of 'ipmioverlanPolicy' +*IpmioverlanPolicyApi* | [**ipmioverlan_policies_moid_get**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_moid_get) | **GET** /ipmioverlan/Policies/{moid} | Get a specific instance of 'ipmioverlanPolicy' +*IpmioverlanPolicyApi* | [**ipmioverlan_policies_moid_patch**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_moid_patch) | **PATCH** /ipmioverlan/Policies/{moid} | Update an instance of 'ipmioverlanPolicy' +*IpmioverlanPolicyApi* | [**ipmioverlan_policies_moid_post**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_moid_post) | **POST** /ipmioverlan/Policies/{moid} | Update an instance of 'ipmioverlanPolicy' +*IpmioverlanPolicyApi* | [**ipmioverlan_policies_post**](docs/IpmioverlanPolicyApi.md#ipmioverlan_policies_post) | **POST** /ipmioverlan/Policies | Create an instance of 'ipmioverlanPolicy' +*KvmPolicyApi* | [**kvm_policies_get**](docs/KvmPolicyApi.md#kvm_policies_get) | **GET** /kvm/Policies | Get a list of 'kvmPolicy' instances +*KvmPolicyApi* | [**kvm_policies_moid_delete**](docs/KvmPolicyApi.md#kvm_policies_moid_delete) | **DELETE** /kvm/Policies/{moid} | Delete an instance of 'kvmPolicy' +*KvmPolicyApi* | [**kvm_policies_moid_get**](docs/KvmPolicyApi.md#kvm_policies_moid_get) | **GET** /kvm/Policies/{moid} | Get a specific instance of 'kvmPolicy' +*KvmPolicyApi* | [**kvm_policies_moid_patch**](docs/KvmPolicyApi.md#kvm_policies_moid_patch) | **PATCH** /kvm/Policies/{moid} | Update an instance of 'kvmPolicy' +*KvmPolicyApi* | [**kvm_policies_moid_post**](docs/KvmPolicyApi.md#kvm_policies_moid_post) | **POST** /kvm/Policies/{moid} | Update an instance of 'kvmPolicy' +*KvmPolicyApi* | [**kvm_policies_post**](docs/KvmPolicyApi.md#kvm_policies_post) | **POST** /kvm/Policies | Create an instance of 'kvmPolicy' +*LicenseAccountLicenseDataApi* | [**license_account_license_data_get**](docs/LicenseAccountLicenseDataApi.md#license_account_license_data_get) | **GET** /license/AccountLicenseData | Get a list of 'licenseAccountLicenseData' instances +*LicenseAccountLicenseDataApi* | [**license_account_license_data_moid_get**](docs/LicenseAccountLicenseDataApi.md#license_account_license_data_moid_get) | **GET** /license/AccountLicenseData/{moid} | Get a specific instance of 'licenseAccountLicenseData' +*LicenseCustomerOpApi* | [**license_customer_ops_get**](docs/LicenseCustomerOpApi.md#license_customer_ops_get) | **GET** /license/CustomerOps | Get a list of 'licenseCustomerOp' instances +*LicenseCustomerOpApi* | [**license_customer_ops_moid_get**](docs/LicenseCustomerOpApi.md#license_customer_ops_moid_get) | **GET** /license/CustomerOps/{moid} | Get a specific instance of 'licenseCustomerOp' +*LicenseCustomerOpApi* | [**license_customer_ops_moid_patch**](docs/LicenseCustomerOpApi.md#license_customer_ops_moid_patch) | **PATCH** /license/CustomerOps/{moid} | Update an instance of 'licenseCustomerOp' +*LicenseCustomerOpApi* | [**license_customer_ops_moid_post**](docs/LicenseCustomerOpApi.md#license_customer_ops_moid_post) | **POST** /license/CustomerOps/{moid} | Update an instance of 'licenseCustomerOp' +*LicenseLicenseInfoApi* | [**license_license_infos_get**](docs/LicenseLicenseInfoApi.md#license_license_infos_get) | **GET** /license/LicenseInfos | Get a list of 'licenseLicenseInfo' instances +*LicenseLicenseInfoApi* | [**license_license_infos_moid_get**](docs/LicenseLicenseInfoApi.md#license_license_infos_moid_get) | **GET** /license/LicenseInfos/{moid} | Get a specific instance of 'licenseLicenseInfo' +*LicenseLicenseInfoApi* | [**license_license_infos_moid_patch**](docs/LicenseLicenseInfoApi.md#license_license_infos_moid_patch) | **PATCH** /license/LicenseInfos/{moid} | Update an instance of 'licenseLicenseInfo' +*LicenseLicenseInfoApi* | [**license_license_infos_moid_post**](docs/LicenseLicenseInfoApi.md#license_license_infos_moid_post) | **POST** /license/LicenseInfos/{moid} | Update an instance of 'licenseLicenseInfo' +*LicenseLicenseInfoApi* | [**license_license_infos_post**](docs/LicenseLicenseInfoApi.md#license_license_infos_post) | **POST** /license/LicenseInfos | Create an instance of 'licenseLicenseInfo' +*LicenseSmartlicenseTokenApi* | [**license_smartlicense_tokens_get**](docs/LicenseSmartlicenseTokenApi.md#license_smartlicense_tokens_get) | **GET** /license/SmartlicenseTokens | Get a list of 'licenseSmartlicenseToken' instances +*LicenseSmartlicenseTokenApi* | [**license_smartlicense_tokens_moid_get**](docs/LicenseSmartlicenseTokenApi.md#license_smartlicense_tokens_moid_get) | **GET** /license/SmartlicenseTokens/{moid} | Get a specific instance of 'licenseSmartlicenseToken' +*LicenseSmartlicenseTokenApi* | [**license_smartlicense_tokens_moid_patch**](docs/LicenseSmartlicenseTokenApi.md#license_smartlicense_tokens_moid_patch) | **PATCH** /license/SmartlicenseTokens/{moid} | Update an instance of 'licenseSmartlicenseToken' +*LicenseSmartlicenseTokenApi* | [**license_smartlicense_tokens_moid_post**](docs/LicenseSmartlicenseTokenApi.md#license_smartlicense_tokens_moid_post) | **POST** /license/SmartlicenseTokens/{moid} | Update an instance of 'licenseSmartlicenseToken' +*LsServiceProfileApi* | [**ls_service_profiles_get**](docs/LsServiceProfileApi.md#ls_service_profiles_get) | **GET** /ls/ServiceProfiles | Get a list of 'lsServiceProfile' instances +*LsServiceProfileApi* | [**ls_service_profiles_moid_get**](docs/LsServiceProfileApi.md#ls_service_profiles_moid_get) | **GET** /ls/ServiceProfiles/{moid} | Get a specific instance of 'lsServiceProfile' +*LsServiceProfileApi* | [**ls_service_profiles_moid_patch**](docs/LsServiceProfileApi.md#ls_service_profiles_moid_patch) | **PATCH** /ls/ServiceProfiles/{moid} | Update an instance of 'lsServiceProfile' +*LsServiceProfileApi* | [**ls_service_profiles_moid_post**](docs/LsServiceProfileApi.md#ls_service_profiles_moid_post) | **POST** /ls/ServiceProfiles/{moid} | Update an instance of 'lsServiceProfile' +*ManagementControllerApi* | [**management_controllers_get**](docs/ManagementControllerApi.md#management_controllers_get) | **GET** /management/Controllers | Get a list of 'managementController' instances +*ManagementControllerApi* | [**management_controllers_moid_get**](docs/ManagementControllerApi.md#management_controllers_moid_get) | **GET** /management/Controllers/{moid} | Get a specific instance of 'managementController' +*ManagementControllerApi* | [**management_controllers_moid_patch**](docs/ManagementControllerApi.md#management_controllers_moid_patch) | **PATCH** /management/Controllers/{moid} | Update an instance of 'managementController' +*ManagementControllerApi* | [**management_controllers_moid_post**](docs/ManagementControllerApi.md#management_controllers_moid_post) | **POST** /management/Controllers/{moid} | Update an instance of 'managementController' +*ManagementEntityApi* | [**management_entities_get**](docs/ManagementEntityApi.md#management_entities_get) | **GET** /management/Entities | Get a list of 'managementEntity' instances +*ManagementEntityApi* | [**management_entities_moid_get**](docs/ManagementEntityApi.md#management_entities_moid_get) | **GET** /management/Entities/{moid} | Get a specific instance of 'managementEntity' +*ManagementEntityApi* | [**management_entities_moid_patch**](docs/ManagementEntityApi.md#management_entities_moid_patch) | **PATCH** /management/Entities/{moid} | Update an instance of 'managementEntity' +*ManagementEntityApi* | [**management_entities_moid_post**](docs/ManagementEntityApi.md#management_entities_moid_post) | **POST** /management/Entities/{moid} | Update an instance of 'managementEntity' +*ManagementInterfaceApi* | [**management_interfaces_get**](docs/ManagementInterfaceApi.md#management_interfaces_get) | **GET** /management/Interfaces | Get a list of 'managementInterface' instances +*ManagementInterfaceApi* | [**management_interfaces_moid_get**](docs/ManagementInterfaceApi.md#management_interfaces_moid_get) | **GET** /management/Interfaces/{moid} | Get a specific instance of 'managementInterface' +*ManagementInterfaceApi* | [**management_interfaces_moid_patch**](docs/ManagementInterfaceApi.md#management_interfaces_moid_patch) | **PATCH** /management/Interfaces/{moid} | Update an instance of 'managementInterface' +*ManagementInterfaceApi* | [**management_interfaces_moid_post**](docs/ManagementInterfaceApi.md#management_interfaces_moid_post) | **POST** /management/Interfaces/{moid} | Update an instance of 'managementInterface' +*MemoryArrayApi* | [**memory_arrays_get**](docs/MemoryArrayApi.md#memory_arrays_get) | **GET** /memory/Arrays | Get a list of 'memoryArray' instances +*MemoryArrayApi* | [**memory_arrays_moid_get**](docs/MemoryArrayApi.md#memory_arrays_moid_get) | **GET** /memory/Arrays/{moid} | Get a specific instance of 'memoryArray' +*MemoryArrayApi* | [**memory_arrays_moid_patch**](docs/MemoryArrayApi.md#memory_arrays_moid_patch) | **PATCH** /memory/Arrays/{moid} | Update an instance of 'memoryArray' +*MemoryArrayApi* | [**memory_arrays_moid_post**](docs/MemoryArrayApi.md#memory_arrays_moid_post) | **POST** /memory/Arrays/{moid} | Update an instance of 'memoryArray' +*MemoryUnitApi* | [**memory_units_get**](docs/MemoryUnitApi.md#memory_units_get) | **GET** /memory/Units | Get a list of 'memoryUnit' instances +*MemoryUnitApi* | [**memory_units_moid_get**](docs/MemoryUnitApi.md#memory_units_moid_get) | **GET** /memory/Units/{moid} | Get a specific instance of 'memoryUnit' +*MemoryUnitApi* | [**memory_units_moid_patch**](docs/MemoryUnitApi.md#memory_units_moid_patch) | **PATCH** /memory/Units/{moid} | Update an instance of 'memoryUnit' +*MemoryUnitApi* | [**memory_units_moid_post**](docs/MemoryUnitApi.md#memory_units_moid_post) | **POST** /memory/Units/{moid} | Update an instance of 'memoryUnit' +*MetaDefinitionApi* | [**meta_definitions_get**](docs/MetaDefinitionApi.md#meta_definitions_get) | **GET** /meta/Definitions | Get a list of 'metaDefinition' instances +*MetaDefinitionApi* | [**meta_definitions_moid_delete**](docs/MetaDefinitionApi.md#meta_definitions_moid_delete) | **DELETE** /meta/Definitions/{moid} | Delete an instance of 'metaDefinition' +*MetaDefinitionApi* | [**meta_definitions_moid_get**](docs/MetaDefinitionApi.md#meta_definitions_moid_get) | **GET** /meta/Definitions/{moid} | Get a specific instance of 'metaDefinition' +*NetworkElementApi* | [**network_elements_get**](docs/NetworkElementApi.md#network_elements_get) | **GET** /network/Elements | Get a list of 'networkElement' instances +*NetworkElementApi* | [**network_elements_moid_get**](docs/NetworkElementApi.md#network_elements_moid_get) | **GET** /network/Elements/{moid} | Get a specific instance of 'networkElement' +*NetworkElementApi* | [**network_elements_moid_patch**](docs/NetworkElementApi.md#network_elements_moid_patch) | **PATCH** /network/Elements/{moid} | Update an instance of 'networkElement' +*NetworkElementApi* | [**network_elements_moid_post**](docs/NetworkElementApi.md#network_elements_moid_post) | **POST** /network/Elements/{moid} | Update an instance of 'networkElement' +*NetworkElementSummaryApi* | [**network_element_summaries_get**](docs/NetworkElementSummaryApi.md#network_element_summaries_get) | **GET** /network/ElementSummaries | Get a list of 'networkElementSummary' instances +*NetworkElementSummaryApi* | [**network_element_summaries_moid_get**](docs/NetworkElementSummaryApi.md#network_element_summaries_moid_get) | **GET** /network/ElementSummaries/{moid} | Get a specific instance of 'networkElementSummary' +*NetworkconfigPolicyApi* | [**networkconfig_policies_get**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_get) | **GET** /networkconfig/Policies | Get a list of 'networkconfigPolicy' instances +*NetworkconfigPolicyApi* | [**networkconfig_policies_moid_delete**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_moid_delete) | **DELETE** /networkconfig/Policies/{moid} | Delete an instance of 'networkconfigPolicy' +*NetworkconfigPolicyApi* | [**networkconfig_policies_moid_get**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_moid_get) | **GET** /networkconfig/Policies/{moid} | Get a specific instance of 'networkconfigPolicy' +*NetworkconfigPolicyApi* | [**networkconfig_policies_moid_patch**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_moid_patch) | **PATCH** /networkconfig/Policies/{moid} | Update an instance of 'networkconfigPolicy' +*NetworkconfigPolicyApi* | [**networkconfig_policies_moid_post**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_moid_post) | **POST** /networkconfig/Policies/{moid} | Update an instance of 'networkconfigPolicy' +*NetworkconfigPolicyApi* | [**networkconfig_policies_post**](docs/NetworkconfigPolicyApi.md#networkconfig_policies_post) | **POST** /networkconfig/Policies | Create an instance of 'networkconfigPolicy' +*NtpPolicyApi* | [**ntp_policies_get**](docs/NtpPolicyApi.md#ntp_policies_get) | **GET** /ntp/Policies | Get a list of 'ntpPolicy' instances +*NtpPolicyApi* | [**ntp_policies_moid_delete**](docs/NtpPolicyApi.md#ntp_policies_moid_delete) | **DELETE** /ntp/Policies/{moid} | Delete an instance of 'ntpPolicy' +*NtpPolicyApi* | [**ntp_policies_moid_get**](docs/NtpPolicyApi.md#ntp_policies_moid_get) | **GET** /ntp/Policies/{moid} | Get a specific instance of 'ntpPolicy' +*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' +*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' +*PortGroupApi* | [**port_groups_moid_post**](docs/PortGroupApi.md#port_groups_moid_post) | **POST** /port/Groups/{moid} | Update an instance of 'portGroup' +*PortSubGroupApi* | [**port_sub_groups_get**](docs/PortSubGroupApi.md#port_sub_groups_get) | **GET** /port/SubGroups | Get a list of 'portSubGroup' instances +*PortSubGroupApi* | [**port_sub_groups_moid_get**](docs/PortSubGroupApi.md#port_sub_groups_moid_get) | **GET** /port/SubGroups/{moid} | Get a specific instance of 'portSubGroup' +*PortSubGroupApi* | [**port_sub_groups_moid_patch**](docs/PortSubGroupApi.md#port_sub_groups_moid_patch) | **PATCH** /port/SubGroups/{moid} | Update an instance of 'portSubGroup' +*PortSubGroupApi* | [**port_sub_groups_moid_post**](docs/PortSubGroupApi.md#port_sub_groups_moid_post) | **POST** /port/SubGroups/{moid} | Update an instance of 'portSubGroup' +*ProcessorUnitApi* | [**processor_units_get**](docs/ProcessorUnitApi.md#processor_units_get) | **GET** /processor/Units | Get a list of 'processorUnit' instances +*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' +*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' +*SdcardPolicyApi* | [**sdcard_policies_moid_patch**](docs/SdcardPolicyApi.md#sdcard_policies_moid_patch) | **PATCH** /sdcard/Policies/{moid} | Update an instance of 'sdcardPolicy' +*SdcardPolicyApi* | [**sdcard_policies_moid_post**](docs/SdcardPolicyApi.md#sdcard_policies_moid_post) | **POST** /sdcard/Policies/{moid} | Update an instance of 'sdcardPolicy' +*SdcardPolicyApi* | [**sdcard_policies_post**](docs/SdcardPolicyApi.md#sdcard_policies_post) | **POST** /sdcard/Policies | Create an instance of 'sdcardPolicy' +*SearchSearchItemApi* | [**search_search_items_get**](docs/SearchSearchItemApi.md#search_search_items_get) | **GET** /search/SearchItems | Get a list of 'searchSearchItem' instances +*SearchSearchItemApi* | [**search_search_items_moid_get**](docs/SearchSearchItemApi.md#search_search_items_moid_get) | **GET** /search/SearchItems/{moid} | Get a specific instance of 'searchSearchItem' +*SearchSuggestItemApi* | [**search_suggest_items_post**](docs/SearchSuggestItemApi.md#search_suggest_items_post) | **POST** /search/SuggestItems | Create an instance of 'searchSuggestItem' +*SearchTagItemApi* | [**search_tag_items_get**](docs/SearchTagItemApi.md#search_tag_items_get) | **GET** /search/TagItems | Get a list of 'searchTagItem' instances +*SearchTagItemApi* | [**search_tag_items_moid_get**](docs/SearchTagItemApi.md#search_tag_items_moid_get) | **GET** /search/TagItems/{moid} | Get a specific instance of 'searchTagItem' +*SecurityUnitApi* | [**security_units_get**](docs/SecurityUnitApi.md#security_units_get) | **GET** /security/Units | Get a list of 'securityUnit' instances +*SecurityUnitApi* | [**security_units_moid_get**](docs/SecurityUnitApi.md#security_units_moid_get) | **GET** /security/Units/{moid} | Get a specific instance of 'securityUnit' +*SecurityUnitApi* | [**security_units_moid_patch**](docs/SecurityUnitApi.md#security_units_moid_patch) | **PATCH** /security/Units/{moid} | Update an instance of 'securityUnit' +*SecurityUnitApi* | [**security_units_moid_post**](docs/SecurityUnitApi.md#security_units_moid_post) | **POST** /security/Units/{moid} | Update an instance of 'securityUnit' +*ServerConfigChangeDetailApi* | [**server_config_change_details_get**](docs/ServerConfigChangeDetailApi.md#server_config_change_details_get) | **GET** /server/ConfigChangeDetails | Get a list of 'serverConfigChangeDetail' instances +*ServerConfigChangeDetailApi* | [**server_config_change_details_moid_get**](docs/ServerConfigChangeDetailApi.md#server_config_change_details_moid_get) | **GET** /server/ConfigChangeDetails/{moid} | Get a specific instance of 'serverConfigChangeDetail' +*ServerConfigResultApi* | [**server_config_results_get**](docs/ServerConfigResultApi.md#server_config_results_get) | **GET** /server/ConfigResults | Get a list of 'serverConfigResult' instances +*ServerConfigResultApi* | [**server_config_results_moid_get**](docs/ServerConfigResultApi.md#server_config_results_moid_get) | **GET** /server/ConfigResults/{moid} | Get a specific instance of 'serverConfigResult' +*ServerConfigResultEntryApi* | [**server_config_result_entries_get**](docs/ServerConfigResultEntryApi.md#server_config_result_entries_get) | **GET** /server/ConfigResultEntries | Get a list of 'serverConfigResultEntry' instances +*ServerConfigResultEntryApi* | [**server_config_result_entries_moid_get**](docs/ServerConfigResultEntryApi.md#server_config_result_entries_moid_get) | **GET** /server/ConfigResultEntries/{moid} | Get a specific instance of 'serverConfigResultEntry' +*ServerProfileApi* | [**server_profiles_get**](docs/ServerProfileApi.md#server_profiles_get) | **GET** /server/Profiles | Get a list of 'serverProfile' instances +*ServerProfileApi* | [**server_profiles_moid_delete**](docs/ServerProfileApi.md#server_profiles_moid_delete) | **DELETE** /server/Profiles/{moid} | Delete an instance of 'serverProfile' +*ServerProfileApi* | [**server_profiles_moid_get**](docs/ServerProfileApi.md#server_profiles_moid_get) | **GET** /server/Profiles/{moid} | Get a specific instance of 'serverProfile' +*ServerProfileApi* | [**server_profiles_moid_patch**](docs/ServerProfileApi.md#server_profiles_moid_patch) | **PATCH** /server/Profiles/{moid} | Update an instance of 'serverProfile' +*ServerProfileApi* | [**server_profiles_moid_post**](docs/ServerProfileApi.md#server_profiles_moid_post) | **POST** /server/Profiles/{moid} | Update an instance of 'serverProfile' +*ServerProfileApi* | [**server_profiles_post**](docs/ServerProfileApi.md#server_profiles_post) | **POST** /server/Profiles | Create an instance of 'serverProfile' +*SmtpPolicyApi* | [**smtp_policies_get**](docs/SmtpPolicyApi.md#smtp_policies_get) | **GET** /smtp/Policies | Get a list of 'smtpPolicy' instances +*SmtpPolicyApi* | [**smtp_policies_moid_delete**](docs/SmtpPolicyApi.md#smtp_policies_moid_delete) | **DELETE** /smtp/Policies/{moid} | Delete an instance of 'smtpPolicy' +*SmtpPolicyApi* | [**smtp_policies_moid_get**](docs/SmtpPolicyApi.md#smtp_policies_moid_get) | **GET** /smtp/Policies/{moid} | Get a specific instance of 'smtpPolicy' +*SmtpPolicyApi* | [**smtp_policies_moid_patch**](docs/SmtpPolicyApi.md#smtp_policies_moid_patch) | **PATCH** /smtp/Policies/{moid} | Update an instance of 'smtpPolicy' +*SmtpPolicyApi* | [**smtp_policies_moid_post**](docs/SmtpPolicyApi.md#smtp_policies_moid_post) | **POST** /smtp/Policies/{moid} | Update an instance of 'smtpPolicy' +*SmtpPolicyApi* | [**smtp_policies_post**](docs/SmtpPolicyApi.md#smtp_policies_post) | **POST** /smtp/Policies | Create an instance of 'smtpPolicy' +*SnmpPolicyApi* | [**snmp_policies_get**](docs/SnmpPolicyApi.md#snmp_policies_get) | **GET** /snmp/Policies | Get a list of 'snmpPolicy' instances +*SnmpPolicyApi* | [**snmp_policies_moid_delete**](docs/SnmpPolicyApi.md#snmp_policies_moid_delete) | **DELETE** /snmp/Policies/{moid} | Delete an instance of 'snmpPolicy' +*SnmpPolicyApi* | [**snmp_policies_moid_get**](docs/SnmpPolicyApi.md#snmp_policies_moid_get) | **GET** /snmp/Policies/{moid} | Get a specific instance of 'snmpPolicy' +*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' +*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' +*SolPolicyApi* | [**sol_policies_moid_patch**](docs/SolPolicyApi.md#sol_policies_moid_patch) | **PATCH** /sol/Policies/{moid} | Update an instance of 'solPolicy' +*SolPolicyApi* | [**sol_policies_moid_post**](docs/SolPolicyApi.md#sol_policies_moid_post) | **POST** /sol/Policies/{moid} | Update an instance of 'solPolicy' +*SolPolicyApi* | [**sol_policies_post**](docs/SolPolicyApi.md#sol_policies_post) | **POST** /sol/Policies | Create an instance of 'solPolicy' +*SshPolicyApi* | [**ssh_policies_get**](docs/SshPolicyApi.md#ssh_policies_get) | **GET** /ssh/Policies | Get a list of 'sshPolicy' instances +*SshPolicyApi* | [**ssh_policies_moid_delete**](docs/SshPolicyApi.md#ssh_policies_moid_delete) | **DELETE** /ssh/Policies/{moid} | Delete an instance of 'sshPolicy' +*SshPolicyApi* | [**ssh_policies_moid_get**](docs/SshPolicyApi.md#ssh_policies_moid_get) | **GET** /ssh/Policies/{moid} | Get a specific instance of 'sshPolicy' +*SshPolicyApi* | [**ssh_policies_moid_patch**](docs/SshPolicyApi.md#ssh_policies_moid_patch) | **PATCH** /ssh/Policies/{moid} | Update an instance of 'sshPolicy' +*SshPolicyApi* | [**ssh_policies_moid_post**](docs/SshPolicyApi.md#ssh_policies_moid_post) | **POST** /ssh/Policies/{moid} | Update an instance of 'sshPolicy' +*SshPolicyApi* | [**ssh_policies_post**](docs/SshPolicyApi.md#ssh_policies_post) | **POST** /ssh/Policies | Create an instance of 'sshPolicy' +*StorageControllerApi* | [**storage_controllers_get**](docs/StorageControllerApi.md#storage_controllers_get) | **GET** /storage/Controllers | Get a list of 'storageController' instances +*StorageControllerApi* | [**storage_controllers_moid_get**](docs/StorageControllerApi.md#storage_controllers_moid_get) | **GET** /storage/Controllers/{moid} | Get a specific instance of 'storageController' +*StorageControllerApi* | [**storage_controllers_moid_patch**](docs/StorageControllerApi.md#storage_controllers_moid_patch) | **PATCH** /storage/Controllers/{moid} | Update an instance of 'storageController' +*StorageControllerApi* | [**storage_controllers_moid_post**](docs/StorageControllerApi.md#storage_controllers_moid_post) | **POST** /storage/Controllers/{moid} | Update an instance of 'storageController' +*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_get**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_get) | **GET** /storage/DiskGroupPolicies | Get a list of 'storageDiskGroupPolicy' instances +*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_moid_delete**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_moid_delete) | **DELETE** /storage/DiskGroupPolicies/{moid} | Delete an instance of 'storageDiskGroupPolicy' +*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_moid_get**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_moid_get) | **GET** /storage/DiskGroupPolicies/{moid} | Get a specific instance of 'storageDiskGroupPolicy' +*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_moid_patch**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_moid_patch) | **PATCH** /storage/DiskGroupPolicies/{moid} | Update an instance of 'storageDiskGroupPolicy' +*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_moid_post**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_moid_post) | **POST** /storage/DiskGroupPolicies/{moid} | Update an instance of 'storageDiskGroupPolicy' +*StorageDiskGroupPolicyApi* | [**storage_disk_group_policies_post**](docs/StorageDiskGroupPolicyApi.md#storage_disk_group_policies_post) | **POST** /storage/DiskGroupPolicies | Create an instance of 'storageDiskGroupPolicy' +*StorageEnclosureApi* | [**storage_enclosures_get**](docs/StorageEnclosureApi.md#storage_enclosures_get) | **GET** /storage/Enclosures | Get a list of 'storageEnclosure' instances +*StorageEnclosureApi* | [**storage_enclosures_moid_get**](docs/StorageEnclosureApi.md#storage_enclosures_moid_get) | **GET** /storage/Enclosures/{moid} | Get a specific instance of 'storageEnclosure' +*StorageEnclosureApi* | [**storage_enclosures_moid_patch**](docs/StorageEnclosureApi.md#storage_enclosures_moid_patch) | **PATCH** /storage/Enclosures/{moid} | Update an instance of 'storageEnclosure' +*StorageEnclosureApi* | [**storage_enclosures_moid_post**](docs/StorageEnclosureApi.md#storage_enclosures_moid_post) | **POST** /storage/Enclosures/{moid} | Update an instance of 'storageEnclosure' +*StorageFlexFlashControllerApi* | [**storage_flex_flash_controllers_get**](docs/StorageFlexFlashControllerApi.md#storage_flex_flash_controllers_get) | **GET** /storage/FlexFlashControllers | Get a list of 'storageFlexFlashController' instances +*StorageFlexFlashControllerApi* | [**storage_flex_flash_controllers_moid_get**](docs/StorageFlexFlashControllerApi.md#storage_flex_flash_controllers_moid_get) | **GET** /storage/FlexFlashControllers/{moid} | Get a specific instance of 'storageFlexFlashController' +*StorageFlexFlashControllerApi* | [**storage_flex_flash_controllers_moid_patch**](docs/StorageFlexFlashControllerApi.md#storage_flex_flash_controllers_moid_patch) | **PATCH** /storage/FlexFlashControllers/{moid} | Update an instance of 'storageFlexFlashController' +*StorageFlexFlashControllerApi* | [**storage_flex_flash_controllers_moid_post**](docs/StorageFlexFlashControllerApi.md#storage_flex_flash_controllers_moid_post) | **POST** /storage/FlexFlashControllers/{moid} | Update an instance of 'storageFlexFlashController' +*StorageFlexFlashControllerPropsApi* | [**storage_flex_flash_controller_props_get**](docs/StorageFlexFlashControllerPropsApi.md#storage_flex_flash_controller_props_get) | **GET** /storage/FlexFlashControllerProps | Get a list of 'storageFlexFlashControllerProps' instances +*StorageFlexFlashControllerPropsApi* | [**storage_flex_flash_controller_props_moid_get**](docs/StorageFlexFlashControllerPropsApi.md#storage_flex_flash_controller_props_moid_get) | **GET** /storage/FlexFlashControllerProps/{moid} | Get a specific instance of 'storageFlexFlashControllerProps' +*StorageFlexFlashControllerPropsApi* | [**storage_flex_flash_controller_props_moid_patch**](docs/StorageFlexFlashControllerPropsApi.md#storage_flex_flash_controller_props_moid_patch) | **PATCH** /storage/FlexFlashControllerProps/{moid} | Update an instance of 'storageFlexFlashControllerProps' +*StorageFlexFlashControllerPropsApi* | [**storage_flex_flash_controller_props_moid_post**](docs/StorageFlexFlashControllerPropsApi.md#storage_flex_flash_controller_props_moid_post) | **POST** /storage/FlexFlashControllerProps/{moid} | Update an instance of 'storageFlexFlashControllerProps' +*StorageFlexFlashPhysicalDriveApi* | [**storage_flex_flash_physical_drives_get**](docs/StorageFlexFlashPhysicalDriveApi.md#storage_flex_flash_physical_drives_get) | **GET** /storage/FlexFlashPhysicalDrives | Get a list of 'storageFlexFlashPhysicalDrive' instances +*StorageFlexFlashPhysicalDriveApi* | [**storage_flex_flash_physical_drives_moid_get**](docs/StorageFlexFlashPhysicalDriveApi.md#storage_flex_flash_physical_drives_moid_get) | **GET** /storage/FlexFlashPhysicalDrives/{moid} | Get a specific instance of 'storageFlexFlashPhysicalDrive' +*StorageFlexFlashPhysicalDriveApi* | [**storage_flex_flash_physical_drives_moid_patch**](docs/StorageFlexFlashPhysicalDriveApi.md#storage_flex_flash_physical_drives_moid_patch) | **PATCH** /storage/FlexFlashPhysicalDrives/{moid} | Update an instance of 'storageFlexFlashPhysicalDrive' +*StorageFlexFlashPhysicalDriveApi* | [**storage_flex_flash_physical_drives_moid_post**](docs/StorageFlexFlashPhysicalDriveApi.md#storage_flex_flash_physical_drives_moid_post) | **POST** /storage/FlexFlashPhysicalDrives/{moid} | Update an instance of 'storageFlexFlashPhysicalDrive' +*StorageFlexFlashVirtualDriveApi* | [**storage_flex_flash_virtual_drives_get**](docs/StorageFlexFlashVirtualDriveApi.md#storage_flex_flash_virtual_drives_get) | **GET** /storage/FlexFlashVirtualDrives | Get a list of 'storageFlexFlashVirtualDrive' instances +*StorageFlexFlashVirtualDriveApi* | [**storage_flex_flash_virtual_drives_moid_get**](docs/StorageFlexFlashVirtualDriveApi.md#storage_flex_flash_virtual_drives_moid_get) | **GET** /storage/FlexFlashVirtualDrives/{moid} | Get a specific instance of 'storageFlexFlashVirtualDrive' +*StorageFlexFlashVirtualDriveApi* | [**storage_flex_flash_virtual_drives_moid_patch**](docs/StorageFlexFlashVirtualDriveApi.md#storage_flex_flash_virtual_drives_moid_patch) | **PATCH** /storage/FlexFlashVirtualDrives/{moid} | Update an instance of 'storageFlexFlashVirtualDrive' +*StorageFlexFlashVirtualDriveApi* | [**storage_flex_flash_virtual_drives_moid_post**](docs/StorageFlexFlashVirtualDriveApi.md#storage_flex_flash_virtual_drives_moid_post) | **POST** /storage/FlexFlashVirtualDrives/{moid} | Update an instance of 'storageFlexFlashVirtualDrive' +*StorageFlexUtilControllerApi* | [**storage_flex_util_controllers_get**](docs/StorageFlexUtilControllerApi.md#storage_flex_util_controllers_get) | **GET** /storage/FlexUtilControllers | Get a list of 'storageFlexUtilController' instances +*StorageFlexUtilControllerApi* | [**storage_flex_util_controllers_moid_get**](docs/StorageFlexUtilControllerApi.md#storage_flex_util_controllers_moid_get) | **GET** /storage/FlexUtilControllers/{moid} | Get a specific instance of 'storageFlexUtilController' +*StorageFlexUtilControllerApi* | [**storage_flex_util_controllers_moid_patch**](docs/StorageFlexUtilControllerApi.md#storage_flex_util_controllers_moid_patch) | **PATCH** /storage/FlexUtilControllers/{moid} | Update an instance of 'storageFlexUtilController' +*StorageFlexUtilControllerApi* | [**storage_flex_util_controllers_moid_post**](docs/StorageFlexUtilControllerApi.md#storage_flex_util_controllers_moid_post) | **POST** /storage/FlexUtilControllers/{moid} | Update an instance of 'storageFlexUtilController' +*StorageFlexUtilPhysicalDriveApi* | [**storage_flex_util_physical_drives_get**](docs/StorageFlexUtilPhysicalDriveApi.md#storage_flex_util_physical_drives_get) | **GET** /storage/FlexUtilPhysicalDrives | Get a list of 'storageFlexUtilPhysicalDrive' instances +*StorageFlexUtilPhysicalDriveApi* | [**storage_flex_util_physical_drives_moid_get**](docs/StorageFlexUtilPhysicalDriveApi.md#storage_flex_util_physical_drives_moid_get) | **GET** /storage/FlexUtilPhysicalDrives/{moid} | Get a specific instance of 'storageFlexUtilPhysicalDrive' +*StorageFlexUtilPhysicalDriveApi* | [**storage_flex_util_physical_drives_moid_patch**](docs/StorageFlexUtilPhysicalDriveApi.md#storage_flex_util_physical_drives_moid_patch) | **PATCH** /storage/FlexUtilPhysicalDrives/{moid} | Update an instance of 'storageFlexUtilPhysicalDrive' +*StorageFlexUtilPhysicalDriveApi* | [**storage_flex_util_physical_drives_moid_post**](docs/StorageFlexUtilPhysicalDriveApi.md#storage_flex_util_physical_drives_moid_post) | **POST** /storage/FlexUtilPhysicalDrives/{moid} | Update an instance of 'storageFlexUtilPhysicalDrive' +*StorageFlexUtilVirtualDriveApi* | [**storage_flex_util_virtual_drives_get**](docs/StorageFlexUtilVirtualDriveApi.md#storage_flex_util_virtual_drives_get) | **GET** /storage/FlexUtilVirtualDrives | Get a list of 'storageFlexUtilVirtualDrive' instances +*StorageFlexUtilVirtualDriveApi* | [**storage_flex_util_virtual_drives_moid_get**](docs/StorageFlexUtilVirtualDriveApi.md#storage_flex_util_virtual_drives_moid_get) | **GET** /storage/FlexUtilVirtualDrives/{moid} | Get a specific instance of 'storageFlexUtilVirtualDrive' +*StorageFlexUtilVirtualDriveApi* | [**storage_flex_util_virtual_drives_moid_patch**](docs/StorageFlexUtilVirtualDriveApi.md#storage_flex_util_virtual_drives_moid_patch) | **PATCH** /storage/FlexUtilVirtualDrives/{moid} | Update an instance of 'storageFlexUtilVirtualDrive' +*StorageFlexUtilVirtualDriveApi* | [**storage_flex_util_virtual_drives_moid_post**](docs/StorageFlexUtilVirtualDriveApi.md#storage_flex_util_virtual_drives_moid_post) | **POST** /storage/FlexUtilVirtualDrives/{moid} | Update an instance of 'storageFlexUtilVirtualDrive' +*StoragePhysicalDiskApi* | [**storage_physical_disks_get**](docs/StoragePhysicalDiskApi.md#storage_physical_disks_get) | **GET** /storage/PhysicalDisks | Get a list of 'storagePhysicalDisk' instances +*StoragePhysicalDiskApi* | [**storage_physical_disks_moid_get**](docs/StoragePhysicalDiskApi.md#storage_physical_disks_moid_get) | **GET** /storage/PhysicalDisks/{moid} | Get a specific instance of 'storagePhysicalDisk' +*StoragePhysicalDiskApi* | [**storage_physical_disks_moid_patch**](docs/StoragePhysicalDiskApi.md#storage_physical_disks_moid_patch) | **PATCH** /storage/PhysicalDisks/{moid} | Update an instance of 'storagePhysicalDisk' +*StoragePhysicalDiskApi* | [**storage_physical_disks_moid_post**](docs/StoragePhysicalDiskApi.md#storage_physical_disks_moid_post) | **POST** /storage/PhysicalDisks/{moid} | Update an instance of 'storagePhysicalDisk' +*StoragePhysicalDiskExtensionApi* | [**storage_physical_disk_extensions_get**](docs/StoragePhysicalDiskExtensionApi.md#storage_physical_disk_extensions_get) | **GET** /storage/PhysicalDiskExtensions | Get a list of 'storagePhysicalDiskExtension' instances +*StoragePhysicalDiskExtensionApi* | [**storage_physical_disk_extensions_moid_get**](docs/StoragePhysicalDiskExtensionApi.md#storage_physical_disk_extensions_moid_get) | **GET** /storage/PhysicalDiskExtensions/{moid} | Get a specific instance of 'storagePhysicalDiskExtension' +*StoragePhysicalDiskExtensionApi* | [**storage_physical_disk_extensions_moid_patch**](docs/StoragePhysicalDiskExtensionApi.md#storage_physical_disk_extensions_moid_patch) | **PATCH** /storage/PhysicalDiskExtensions/{moid} | Update an instance of 'storagePhysicalDiskExtension' +*StoragePhysicalDiskExtensionApi* | [**storage_physical_disk_extensions_moid_post**](docs/StoragePhysicalDiskExtensionApi.md#storage_physical_disk_extensions_moid_post) | **POST** /storage/PhysicalDiskExtensions/{moid} | Update an instance of 'storagePhysicalDiskExtension' +*StoragePhysicalDiskUsageApi* | [**storage_physical_disk_usages_get**](docs/StoragePhysicalDiskUsageApi.md#storage_physical_disk_usages_get) | **GET** /storage/PhysicalDiskUsages | Get a list of 'storagePhysicalDiskUsage' instances +*StoragePhysicalDiskUsageApi* | [**storage_physical_disk_usages_moid_get**](docs/StoragePhysicalDiskUsageApi.md#storage_physical_disk_usages_moid_get) | **GET** /storage/PhysicalDiskUsages/{moid} | Get a specific instance of 'storagePhysicalDiskUsage' +*StoragePhysicalDiskUsageApi* | [**storage_physical_disk_usages_moid_patch**](docs/StoragePhysicalDiskUsageApi.md#storage_physical_disk_usages_moid_patch) | **PATCH** /storage/PhysicalDiskUsages/{moid} | Update an instance of 'storagePhysicalDiskUsage' +*StoragePhysicalDiskUsageApi* | [**storage_physical_disk_usages_moid_post**](docs/StoragePhysicalDiskUsageApi.md#storage_physical_disk_usages_moid_post) | **POST** /storage/PhysicalDiskUsages/{moid} | Update an instance of 'storagePhysicalDiskUsage' +*StorageSasExpanderApi* | [**storage_sas_expanders_get**](docs/StorageSasExpanderApi.md#storage_sas_expanders_get) | **GET** /storage/SasExpanders | Get a list of 'storageSasExpander' instances +*StorageSasExpanderApi* | [**storage_sas_expanders_moid_get**](docs/StorageSasExpanderApi.md#storage_sas_expanders_moid_get) | **GET** /storage/SasExpanders/{moid} | Get a specific instance of 'storageSasExpander' +*StorageSasExpanderApi* | [**storage_sas_expanders_moid_patch**](docs/StorageSasExpanderApi.md#storage_sas_expanders_moid_patch) | **PATCH** /storage/SasExpanders/{moid} | Update an instance of 'storageSasExpander' +*StorageSasExpanderApi* | [**storage_sas_expanders_moid_post**](docs/StorageSasExpanderApi.md#storage_sas_expanders_moid_post) | **POST** /storage/SasExpanders/{moid} | Update an instance of 'storageSasExpander' +*StorageStoragePolicyApi* | [**storage_storage_policies_get**](docs/StorageStoragePolicyApi.md#storage_storage_policies_get) | **GET** /storage/StoragePolicies | Get a list of 'storageStoragePolicy' instances +*StorageStoragePolicyApi* | [**storage_storage_policies_moid_delete**](docs/StorageStoragePolicyApi.md#storage_storage_policies_moid_delete) | **DELETE** /storage/StoragePolicies/{moid} | Delete an instance of 'storageStoragePolicy' +*StorageStoragePolicyApi* | [**storage_storage_policies_moid_get**](docs/StorageStoragePolicyApi.md#storage_storage_policies_moid_get) | **GET** /storage/StoragePolicies/{moid} | Get a specific instance of 'storageStoragePolicy' +*StorageStoragePolicyApi* | [**storage_storage_policies_moid_patch**](docs/StorageStoragePolicyApi.md#storage_storage_policies_moid_patch) | **PATCH** /storage/StoragePolicies/{moid} | Update an instance of 'storageStoragePolicy' +*StorageStoragePolicyApi* | [**storage_storage_policies_moid_post**](docs/StorageStoragePolicyApi.md#storage_storage_policies_moid_post) | **POST** /storage/StoragePolicies/{moid} | Update an instance of 'storageStoragePolicy' +*StorageStoragePolicyApi* | [**storage_storage_policies_post**](docs/StorageStoragePolicyApi.md#storage_storage_policies_post) | **POST** /storage/StoragePolicies | Create an instance of 'storageStoragePolicy' +*StorageVdMemberEpApi* | [**storage_vd_member_eps_get**](docs/StorageVdMemberEpApi.md#storage_vd_member_eps_get) | **GET** /storage/VdMemberEps | Get a list of 'storageVdMemberEp' instances +*StorageVdMemberEpApi* | [**storage_vd_member_eps_moid_get**](docs/StorageVdMemberEpApi.md#storage_vd_member_eps_moid_get) | **GET** /storage/VdMemberEps/{moid} | Get a specific instance of 'storageVdMemberEp' +*StorageVdMemberEpApi* | [**storage_vd_member_eps_moid_patch**](docs/StorageVdMemberEpApi.md#storage_vd_member_eps_moid_patch) | **PATCH** /storage/VdMemberEps/{moid} | Update an instance of 'storageVdMemberEp' +*StorageVdMemberEpApi* | [**storage_vd_member_eps_moid_post**](docs/StorageVdMemberEpApi.md#storage_vd_member_eps_moid_post) | **POST** /storage/VdMemberEps/{moid} | Update an instance of 'storageVdMemberEp' +*StorageVirtualDriveApi* | [**storage_virtual_drives_get**](docs/StorageVirtualDriveApi.md#storage_virtual_drives_get) | **GET** /storage/VirtualDrives | Get a list of 'storageVirtualDrive' instances +*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' +*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' +*SyslogPolicyApi* | [**syslog_policies_moid_patch**](docs/SyslogPolicyApi.md#syslog_policies_moid_patch) | **PATCH** /syslog/Policies/{moid} | Update an instance of 'syslogPolicy' +*SyslogPolicyApi* | [**syslog_policies_moid_post**](docs/SyslogPolicyApi.md#syslog_policies_moid_post) | **POST** /syslog/Policies/{moid} | Update an instance of 'syslogPolicy' +*SyslogPolicyApi* | [**syslog_policies_post**](docs/SyslogPolicyApi.md#syslog_policies_post) | **POST** /syslog/Policies | Create an instance of 'syslogPolicy' +*TaskWorkflowActionApi* | [**task_workflow_actions_get**](docs/TaskWorkflowActionApi.md#task_workflow_actions_get) | **GET** /task/WorkflowActions | Get a list of 'taskWorkflowAction' instances +*TaskWorkflowActionApi* | [**task_workflow_actions_moid_get**](docs/TaskWorkflowActionApi.md#task_workflow_actions_moid_get) | **GET** /task/WorkflowActions/{moid} | Get a specific instance of 'taskWorkflowAction' +*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' +*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 +*TestcryptAdministratorApi* | [**testcrypt_administrators_moid_get**](docs/TestcryptAdministratorApi.md#testcrypt_administrators_moid_get) | **GET** /testcrypt/Administrators/{moid} | Get a specific instance of 'testcryptAdministrator' +*TestcryptAdministratorApi* | [**testcrypt_administrators_moid_patch**](docs/TestcryptAdministratorApi.md#testcrypt_administrators_moid_patch) | **PATCH** /testcrypt/Administrators/{moid} | Update an instance of 'testcryptAdministrator' +*TestcryptAdministratorApi* | [**testcrypt_administrators_moid_post**](docs/TestcryptAdministratorApi.md#testcrypt_administrators_moid_post) | **POST** /testcrypt/Administrators/{moid} | Update an instance of 'testcryptAdministrator' +*TestcryptAdministratorApi* | [**testcrypt_administrators_post**](docs/TestcryptAdministratorApi.md#testcrypt_administrators_post) | **POST** /testcrypt/Administrators | Create an instance of 'testcryptAdministrator' +*TestcryptCredentialApi* | [**testcrypt_credentials_get**](docs/TestcryptCredentialApi.md#testcrypt_credentials_get) | **GET** /testcrypt/Credentials | Get a list of 'testcryptCredential' instances +*TestcryptCredentialApi* | [**testcrypt_credentials_moid_delete**](docs/TestcryptCredentialApi.md#testcrypt_credentials_moid_delete) | **DELETE** /testcrypt/Credentials/{moid} | Delete an instance of 'testcryptCredential' +*TestcryptCredentialApi* | [**testcrypt_credentials_moid_get**](docs/TestcryptCredentialApi.md#testcrypt_credentials_moid_get) | **GET** /testcrypt/Credentials/{moid} | Get a specific instance of 'testcryptCredential' +*TestcryptCredentialApi* | [**testcrypt_credentials_moid_patch**](docs/TestcryptCredentialApi.md#testcrypt_credentials_moid_patch) | **PATCH** /testcrypt/Credentials/{moid} | Update an instance of 'testcryptCredential' +*TestcryptCredentialApi* | [**testcrypt_credentials_moid_post**](docs/TestcryptCredentialApi.md#testcrypt_credentials_moid_post) | **POST** /testcrypt/Credentials/{moid} | Update an instance of 'testcryptCredential' +*TestcryptCredentialApi* | [**testcrypt_credentials_post**](docs/TestcryptCredentialApi.md#testcrypt_credentials_post) | **POST** /testcrypt/Credentials | Create an instance of 'testcryptCredential' +*TestcryptReadOnlyUserApi* | [**testcrypt_read_only_users_get**](docs/TestcryptReadOnlyUserApi.md#testcrypt_read_only_users_get) | **GET** /testcrypt/ReadOnlyUsers | Get a list of 'testcryptReadOnlyUser' instances +*TestcryptReadOnlyUserApi* | [**testcrypt_read_only_users_moid_delete**](docs/TestcryptReadOnlyUserApi.md#testcrypt_read_only_users_moid_delete) | **DELETE** /testcrypt/ReadOnlyUsers/{moid} | Delete an instance of 'testcryptReadOnlyUser' +*TestcryptReadOnlyUserApi* | [**testcrypt_read_only_users_moid_get**](docs/TestcryptReadOnlyUserApi.md#testcrypt_read_only_users_moid_get) | **GET** /testcrypt/ReadOnlyUsers/{moid} | Get a specific instance of 'testcryptReadOnlyUser' +*TestcryptReadOnlyUserApi* | [**testcrypt_read_only_users_moid_patch**](docs/TestcryptReadOnlyUserApi.md#testcrypt_read_only_users_moid_patch) | **PATCH** /testcrypt/ReadOnlyUsers/{moid} | Update an instance of 'testcryptReadOnlyUser' +*TestcryptReadOnlyUserApi* | [**testcrypt_read_only_users_moid_post**](docs/TestcryptReadOnlyUserApi.md#testcrypt_read_only_users_moid_post) | **POST** /testcrypt/ReadOnlyUsers/{moid} | Update an instance of 'testcryptReadOnlyUser' +*TestcryptReadOnlyUserApi* | [**testcrypt_read_only_users_post**](docs/TestcryptReadOnlyUserApi.md#testcrypt_read_only_users_post) | **POST** /testcrypt/ReadOnlyUsers | Create an instance of 'testcryptReadOnlyUser' +*TestcryptShadowCredentialApi* | [**testcrypt_shadow_credentials_get**](docs/TestcryptShadowCredentialApi.md#testcrypt_shadow_credentials_get) | **GET** /testcrypt/ShadowCredentials | Get a list of 'testcryptShadowCredential' instances +*TestcryptShadowCredentialApi* | [**testcrypt_shadow_credentials_moid_get**](docs/TestcryptShadowCredentialApi.md#testcrypt_shadow_credentials_moid_get) | **GET** /testcrypt/ShadowCredentials/{moid} | Get a specific instance of 'testcryptShadowCredential' +*TopSystemApi* | [**top_systems_get**](docs/TopSystemApi.md#top_systems_get) | **GET** /top/Systems | Get a list of 'topSystem' instances +*TopSystemApi* | [**top_systems_moid_get**](docs/TopSystemApi.md#top_systems_moid_get) | **GET** /top/Systems/{moid} | Get a specific instance of 'topSystem' +*TopSystemApi* | [**top_systems_moid_patch**](docs/TopSystemApi.md#top_systems_moid_patch) | **PATCH** /top/Systems/{moid} | Update an instance of 'topSystem' +*TopSystemApi* | [**top_systems_moid_post**](docs/TopSystemApi.md#top_systems_moid_post) | **POST** /top/Systems/{moid} | Update an instance of 'topSystem' +*VmediaPolicyApi* | [**vmedia_policies_get**](docs/VmediaPolicyApi.md#vmedia_policies_get) | **GET** /vmedia/Policies | Get a list of 'vmediaPolicy' instances +*VmediaPolicyApi* | [**vmedia_policies_moid_delete**](docs/VmediaPolicyApi.md#vmedia_policies_moid_delete) | **DELETE** /vmedia/Policies/{moid} | Delete an instance of 'vmediaPolicy' +*VmediaPolicyApi* | [**vmedia_policies_moid_get**](docs/VmediaPolicyApi.md#vmedia_policies_moid_get) | **GET** /vmedia/Policies/{moid} | Get a specific instance of 'vmediaPolicy' +*VmediaPolicyApi* | [**vmedia_policies_moid_patch**](docs/VmediaPolicyApi.md#vmedia_policies_moid_patch) | **PATCH** /vmedia/Policies/{moid} | Update an instance of 'vmediaPolicy' +*VmediaPolicyApi* | [**vmedia_policies_moid_post**](docs/VmediaPolicyApi.md#vmedia_policies_moid_post) | **POST** /vmedia/Policies/{moid} | Update an instance of 'vmediaPolicy' +*VmediaPolicyApi* | [**vmedia_policies_post**](docs/VmediaPolicyApi.md#vmedia_policies_post) | **POST** /vmedia/Policies | Create an instance of 'vmediaPolicy' +*WorkflowBuildTaskMetaApi* | [**workflow_build_task_meta_get**](docs/WorkflowBuildTaskMetaApi.md#workflow_build_task_meta_get) | **GET** /workflow/BuildTaskMeta | Get a list of 'workflowBuildTaskMeta' instances +*WorkflowBuildTaskMetaApi* | [**workflow_build_task_meta_moid_get**](docs/WorkflowBuildTaskMetaApi.md#workflow_build_task_meta_moid_get) | **GET** /workflow/BuildTaskMeta/{moid} | Get a specific instance of 'workflowBuildTaskMeta' +*WorkflowBuildTaskMetaOwnerApi* | [**workflow_build_task_meta_owners_get**](docs/WorkflowBuildTaskMetaOwnerApi.md#workflow_build_task_meta_owners_get) | **GET** /workflow/BuildTaskMetaOwners | Get a list of 'workflowBuildTaskMetaOwner' instances +*WorkflowBuildTaskMetaOwnerApi* | [**workflow_build_task_meta_owners_moid_get**](docs/WorkflowBuildTaskMetaOwnerApi.md#workflow_build_task_meta_owners_moid_get) | **GET** /workflow/BuildTaskMetaOwners/{moid} | Get a specific instance of 'workflowBuildTaskMetaOwner' +*WorkflowPendingDynamicWorkflowInfoApi* | [**workflow_pending_dynamic_workflow_infos_get**](docs/WorkflowPendingDynamicWorkflowInfoApi.md#workflow_pending_dynamic_workflow_infos_get) | **GET** /workflow/PendingDynamicWorkflowInfos | Get a list of 'workflowPendingDynamicWorkflowInfo' instances +*WorkflowPendingDynamicWorkflowInfoApi* | [**workflow_pending_dynamic_workflow_infos_moid_get**](docs/WorkflowPendingDynamicWorkflowInfoApi.md#workflow_pending_dynamic_workflow_infos_moid_get) | **GET** /workflow/PendingDynamicWorkflowInfos/{moid} | Get a specific instance of 'workflowPendingDynamicWorkflowInfo' +*WorkflowTaskInfoApi* | [**workflow_task_infos_get**](docs/WorkflowTaskInfoApi.md#workflow_task_infos_get) | **GET** /workflow/TaskInfos | Get a list of 'workflowTaskInfo' instances +*WorkflowTaskInfoApi* | [**workflow_task_infos_moid_get**](docs/WorkflowTaskInfoApi.md#workflow_task_infos_moid_get) | **GET** /workflow/TaskInfos/{moid} | Get a specific instance of 'workflowTaskInfo' +*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_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' +*WorkflowWorkflowInfoApi* | [**workflow_workflow_infos_post**](docs/WorkflowWorkflowInfoApi.md#workflow_workflow_infos_post) | **POST** /workflow/WorkflowInfos | Create an instance of 'workflowWorkflowInfo' +*WorkflowWorkflowMetaApi* | [**workflow_workflow_meta_get**](docs/WorkflowWorkflowMetaApi.md#workflow_workflow_meta_get) | **GET** /workflow/WorkflowMeta | Get a list of 'workflowWorkflowMeta' instances +*WorkflowWorkflowMetaApi* | [**workflow_workflow_meta_moid_get**](docs/WorkflowWorkflowMetaApi.md#workflow_workflow_meta_moid_get) | **GET** /workflow/WorkflowMeta/{moid} | Get a specific instance of 'workflowWorkflowMeta' ## Documentation For Models @@ -672,11 +764,15 @@ Class | Method | HTTP request | Description - [AdapterHostFcInterfaceList](docs/AdapterHostFcInterfaceList.md) - [AdapterHostIscsiInterfaceList](docs/AdapterHostIscsiInterfaceList.md) - [AdapterUnitList](docs/AdapterUnitList.md) + - [AssetClusterMemberList](docs/AssetClusterMemberList.md) + - [AssetDeviceConfigurationList](docs/AssetDeviceConfigurationList.md) - [AssetDeviceRegistrationList](docs/AssetDeviceRegistrationList.md) - [BiosPolicyList](docs/BiosPolicyList.md) - [BiosUnitList](docs/BiosUnitList.md) - [BootDeviceBase](docs/BootDeviceBase.md) - [BootPrecisionPolicyList](docs/BootPrecisionPolicyList.md) + - [CommIpV4Interface](docs/CommIpV4Interface.md) + - [CommIpV6Interface](docs/CommIpV6Interface.md) - [ComputeBladeList](docs/ComputeBladeList.md) - [ComputeBoardList](docs/ComputeBoardList.md) - [ComputeIpAddress](docs/ComputeIpAddress.md) @@ -689,8 +785,11 @@ Class | Method | HTTP request | Description - [CondHclStatusJobList](docs/CondHclStatusJobList.md) - [CondHclStatusList](docs/CondHclStatusList.md) - [ConnectorAuthMessage](docs/ConnectorAuthMessage.md) + - [ConnectorStreamMessage](docs/ConnectorStreamMessage.md) + - [ConnectorpackConnectorPackSummary](docs/ConnectorpackConnectorPackSummary.md) - [CryptEncryptionTokenList](docs/CryptEncryptionTokenList.md) - [DeviceinfoSerialNumberInfoList](docs/DeviceinfoSerialNumberInfoList.md) + - [DevopsAbstractTriggerDetails](docs/DevopsAbstractTriggerDetails.md) - [EquipmentChassisList](docs/EquipmentChassisList.md) - [EquipmentDeviceSummaryList](docs/EquipmentDeviceSummaryList.md) - [EquipmentFanList](docs/EquipmentFanList.md) @@ -719,12 +818,16 @@ Class | Method | HTTP request | Description - [FirmwareUpgradeStatusList](docs/FirmwareUpgradeStatusList.md) - [GraphicsCardList](docs/GraphicsCardList.md) - [GraphicsControllerList](docs/GraphicsControllerList.md) - - [HclCompatibilityInfoList](docs/HclCompatibilityInfoList.md) - [HclDataImportLogList](docs/HclDataImportLogList.md) + - [HclDriver](docs/HclDriver.md) - [HclFirmware](docs/HclFirmware.md) - - [HclNoteList](docs/HclNoteList.md) + - [HclHardwareCompatibilityProfile](docs/HclHardwareCompatibilityProfile.md) - [HclProduct](docs/HclProduct.md) + - [HclServiceStatusList](docs/HclServiceStatusList.md) + - [HyperflexAbstractAppSetting](docs/HyperflexAbstractAppSetting.md) - [HyperflexAlarmList](docs/HyperflexAlarmList.md) + - [HyperflexAppCatalogList](docs/HyperflexAppCatalogList.md) + - [HyperflexAppSettingConstraint](docs/HyperflexAppSettingConstraint.md) - [HyperflexAutoSupportPolicyList](docs/HyperflexAutoSupportPolicyList.md) - [HyperflexClusterList](docs/HyperflexClusterList.md) - [HyperflexClusterNetworkPolicyList](docs/HyperflexClusterNetworkPolicyList.md) @@ -734,9 +837,13 @@ Class | Method | HTTP request | Description - [HyperflexConfigResultList](docs/HyperflexConfigResultList.md) - [HyperflexExtFcStoragePolicyList](docs/HyperflexExtFcStoragePolicyList.md) - [HyperflexExtIscsiStoragePolicyList](docs/HyperflexExtIscsiStoragePolicyList.md) + - [HyperflexFeatureLimitExternalList](docs/HyperflexFeatureLimitExternalList.md) + - [HyperflexFeatureLimitInternalList](docs/HyperflexFeatureLimitInternalList.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) - [HyperflexManagedObjectReference](docs/HyperflexManagedObjectReference.md) - [HyperflexNamedVlan](docs/HyperflexNamedVlan.md) @@ -744,6 +851,8 @@ Class | Method | HTTP request | Description - [HyperflexNodeConfigPolicyList](docs/HyperflexNodeConfigPolicyList.md) - [HyperflexNodeProfileList](docs/HyperflexNodeProfileList.md) - [HyperflexProxySettingPolicyList](docs/HyperflexProxySettingPolicyList.md) + - [HyperflexServerFirmwareVersionList](docs/HyperflexServerFirmwareVersionList.md) + - [HyperflexServerModelList](docs/HyperflexServerModelList.md) - [HyperflexStPlatformClusterHealingInfo](docs/HyperflexStPlatformClusterHealingInfo.md) - [HyperflexStPlatformClusterResiliencyInfo](docs/HyperflexStPlatformClusterResiliencyInfo.md) - [HyperflexSummary](docs/HyperflexSummary.md) @@ -760,7 +869,9 @@ Class | Method | HTTP request | Description - [IaasLicenseUtilizationInfo](docs/IaasLicenseUtilizationInfo.md) - [IaasUcsdInfoList](docs/IaasUcsdInfoList.md) - [IamAccountList](docs/IamAccountList.md) + - [IamAccountPermissions](docs/IamAccountPermissions.md) - [IamApiKeyList](docs/IamApiKeyList.md) + - [IamDomainGroupList](docs/IamDomainGroupList.md) - [IamEndPointPasswordProperties](docs/IamEndPointPasswordProperties.md) - [IamEndPointPrivilegeList](docs/IamEndPointPrivilegeList.md) - [IamEndPointRoleList](docs/IamEndPointRoleList.md) @@ -775,13 +886,16 @@ Class | Method | HTTP request | Description - [IamLdapPolicyList](docs/IamLdapPolicyList.md) - [IamLdapProviderList](docs/IamLdapProviderList.md) - [IamPermissionList](docs/IamPermissionList.md) + - [IamPermissionReference](docs/IamPermissionReference.md) - [IamPrivilegeList](docs/IamPrivilegeList.md) - [IamPrivilegeSetList](docs/IamPrivilegeSetList.md) - [IamQualifierList](docs/IamQualifierList.md) - [IamResourceLimitsList](docs/IamResourceLimitsList.md) - [IamRoleList](docs/IamRoleList.md) + - [IamServiceProviderList](docs/IamServiceProviderList.md) - [IamSessionLimitsList](docs/IamSessionLimitsList.md) - [IamSessionList](docs/IamSessionList.md) + - [IamSsoSessionAttributes](docs/IamSsoSessionAttributes.md) - [IamSystemList](docs/IamSystemList.md) - [IamUserGroupList](docs/IamUserGroupList.md) - [IamUserList](docs/IamUserList.md) @@ -815,18 +929,19 @@ Class | Method | HTTP request | Description - [NetworkElementSummaryList](docs/NetworkElementSummaryList.md) - [NetworkconfigPolicyList](docs/NetworkconfigPolicyList.md) - [NtpPolicyList](docs/NtpPolicyList.md) - - [OauthAccessToken](docs/OauthAccessToken.md) - - [OauthOauthUserList](docs/OauthOauthUserList.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) + - [SdcardPartition](docs/SdcardPartition.md) + - [SdcardPolicyList](docs/SdcardPolicyList.md) + - [SdcardVirtualDrive](docs/SdcardVirtualDrive.md) - [SearchSearchItemList](docs/SearchSearchItemList.md) - [SearchTagItemList](docs/SearchTagItemList.md) - [SecurityUnitList](docs/SecurityUnitList.md) - - [ServerConfigChange](docs/ServerConfigChange.md) - - [ServerConfigChangeDetail](docs/ServerConfigChangeDetail.md) + - [ServerConfigChangeDetailList](docs/ServerConfigChangeDetailList.md) - [ServerConfigResultEntryList](docs/ServerConfigResultEntryList.md) - [ServerConfigResultList](docs/ServerConfigResultList.md) - [ServerProfileList](docs/ServerProfileList.md) @@ -857,19 +972,29 @@ Class | Method | HTTP request | Description - [StorageVdMemberEpList](docs/StorageVdMemberEpList.md) - [StorageVirtualDriveConfig](docs/StorageVirtualDriveConfig.md) - [StorageVirtualDriveList](docs/StorageVirtualDriveList.md) + - [SyslogLocalClientBase](docs/SyslogLocalClientBase.md) + - [SyslogPolicyList](docs/SyslogPolicyList.md) + - [SyslogRemoteClientBase](docs/SyslogRemoteClientBase.md) - [TaskFileDownloadInfo](docs/TaskFileDownloadInfo.md) - [TaskWorkflowActionList](docs/TaskWorkflowActionList.md) - [TerminalAuditLogList](docs/TerminalAuditLogList.md) + - [TestcryptAdministratorList](docs/TestcryptAdministratorList.md) + - [TestcryptCredentialList](docs/TestcryptCredentialList.md) + - [TestcryptReadOnlyUserList](docs/TestcryptReadOnlyUserList.md) + - [TestcryptShadowCredentialList](docs/TestcryptShadowCredentialList.md) + - [TestcryptUser](docs/TestcryptUser.md) - [TopSystemList](docs/TopSystemList.md) - [VmediaMapping](docs/VmediaMapping.md) - [VmediaPolicyList](docs/VmediaPolicyList.md) - [WorkflowBuildTaskMetaList](docs/WorkflowBuildTaskMetaList.md) + - [WorkflowBuildTaskMetaOwnerList](docs/WorkflowBuildTaskMetaOwnerList.md) + - [WorkflowDynamicWorkflowActionTaskList](docs/WorkflowDynamicWorkflowActionTaskList.md) + - [WorkflowPendingDynamicWorkflowInfoList](docs/WorkflowPendingDynamicWorkflowInfoList.md) - [WorkflowTaskInfoList](docs/WorkflowTaskInfoList.md) - [WorkflowTaskMetaList](docs/WorkflowTaskMetaList.md) - [WorkflowTaskRetryInfo](docs/WorkflowTaskRetryInfo.md) - [WorkflowWorkflowInfoList](docs/WorkflowWorkflowInfoList.md) - [WorkflowWorkflowMetaList](docs/WorkflowWorkflowMetaList.md) - - [WorkflowWorkflowTaskList](docs/WorkflowWorkflowTaskList.md) - [AaaAbstractAuditRecord](docs/AaaAbstractAuditRecord.md) - [AaaAbstractAuditRecordRef](docs/AaaAbstractAuditRecordRef.md) - [AaaAuditRecordLocalRef](docs/AaaAuditRecordLocalRef.md) @@ -879,9 +1004,14 @@ Class | Method | HTTP request | Description - [AdapterHostFcInterfaceRef](docs/AdapterHostFcInterfaceRef.md) - [AdapterHostIscsiInterfaceRef](docs/AdapterHostIscsiInterfaceRef.md) - [AdapterUnitRef](docs/AdapterUnitRef.md) + - [AssetClusterMemberRef](docs/AssetClusterMemberRef.md) + - [AssetConnectionControlMessageRef](docs/AssetConnectionControlMessageRef.md) - [AssetDeviceClaim](docs/AssetDeviceClaim.md) - [AssetDeviceClaimRef](docs/AssetDeviceClaimRef.md) - - [AssetDeviceRegistration](docs/AssetDeviceRegistration.md) + - [AssetDeviceConfiguration](docs/AssetDeviceConfiguration.md) + - [AssetDeviceConfigurationRef](docs/AssetDeviceConfigurationRef.md) + - [AssetDeviceConnection](docs/AssetDeviceConnection.md) + - [AssetDeviceConnectionRef](docs/AssetDeviceConnectionRef.md) - [AssetDeviceRegistrationRef](docs/AssetDeviceRegistrationRef.md) - [AssetSecurityTokenRef](docs/AssetSecurityTokenRef.md) - [BiosDeployTaskRef](docs/BiosDeployTaskRef.md) @@ -902,6 +1032,8 @@ Class | Method | HTTP request | Description - [BootUefiShellRef](docs/BootUefiShellRef.md) - [BootUsbRef](docs/BootUsbRef.md) - [BootVirtualMediaRef](docs/BootVirtualMediaRef.md) + - [CommIpV4InterfaceRef](docs/CommIpV4InterfaceRef.md) + - [CommIpV6InterfaceRef](docs/CommIpV6InterfaceRef.md) - [ComputeBladeRef](docs/ComputeBladeRef.md) - [ComputeBoardRef](docs/ComputeBoardRef.md) - [ComputeIpAddressRef](docs/ComputeIpAddressRef.md) @@ -922,12 +1054,25 @@ Class | Method | HTTP request | Description - [CondHclStatusJobRef](docs/CondHclStatusJobRef.md) - [CondHclStatusRef](docs/CondHclStatusRef.md) - [ConnectorAuthMessageRef](docs/ConnectorAuthMessageRef.md) + - [ConnectorCloseStreamMessage](docs/ConnectorCloseStreamMessage.md) + - [ConnectorCloseStreamMessageRef](docs/ConnectorCloseStreamMessageRef.md) - [ConnectorCommandMessageRef](docs/ConnectorCommandMessageRef.md) + - [ConnectorControlMessageRef](docs/ConnectorControlMessageRef.md) - [ConnectorEventChannelControlRef](docs/ConnectorEventChannelControlRef.md) - [ConnectorEventRef](docs/ConnectorEventRef.md) + - [ConnectorFetchStreamMessage](docs/ConnectorFetchStreamMessage.md) + - [ConnectorFetchStreamMessageRef](docs/ConnectorFetchStreamMessageRef.md) - [ConnectorJobAsyncResponseRef](docs/ConnectorJobAsyncResponseRef.md) - [ConnectorJobMessageRef](docs/ConnectorJobMessageRef.md) + - [ConnectorStartStream](docs/ConnectorStartStream.md) + - [ConnectorStartStreamRef](docs/ConnectorStartStreamRef.md) + - [ConnectorStreamInput](docs/ConnectorStreamInput.md) + - [ConnectorStreamInputRef](docs/ConnectorStreamInputRef.md) + - [ConnectorStreamMessageRef](docs/ConnectorStreamMessageRef.md) + - [ConnectorStreamRef](docs/ConnectorStreamRef.md) - [ConnectorXmlApiMessageRef](docs/ConnectorXmlApiMessageRef.md) + - [ConnectorpackConnectorPackSummaryRef](docs/ConnectorpackConnectorPackSummaryRef.md) + - [ConnectorpackUpgradeRef](docs/ConnectorpackUpgradeRef.md) - [CryptAccountKeyRef](docs/CryptAccountKeyRef.md) - [CryptDecryptRef](docs/CryptDecryptRef.md) - [CryptEncryptRef](docs/CryptEncryptRef.md) @@ -936,6 +1081,11 @@ Class | Method | HTTP request | Description - [CryptEncryptionTokenRef](docs/CryptEncryptionTokenRef.md) - [DeviceinfoSerialNumberInfo](docs/DeviceinfoSerialNumberInfo.md) - [DeviceinfoSerialNumberInfoRef](docs/DeviceinfoSerialNumberInfoRef.md) + - [DevopsAbstractTriggerDetailsRef](docs/DevopsAbstractTriggerDetailsRef.md) + - [DevopsNotificationTrigger](docs/DevopsNotificationTrigger.md) + - [DevopsNotificationTriggerRef](docs/DevopsNotificationTriggerRef.md) + - [DevopsTriggerRef](docs/DevopsTriggerRef.md) + - [EpansibleRunnerRef](docs/EpansibleRunnerRef.md) - [EquipmentBaseRef](docs/EquipmentBaseRef.md) - [EquipmentChassisRef](docs/EquipmentChassisRef.md) - [EquipmentDeviceSummaryRef](docs/EquipmentDeviceSummaryRef.md) @@ -984,20 +1134,27 @@ Class | Method | HTTP request | Description - [FirmwareimcWaitForFirmwareUpgradeRef](docs/FirmwareimcWaitForFirmwareUpgradeRef.md) - [GraphicsCardRef](docs/GraphicsCardRef.md) - [GraphicsControllerRef](docs/GraphicsControllerRef.md) - - [HclActiveCollectionNodeRef](docs/HclActiveCollectionNodeRef.md) - - [HclCompatibilityInfo](docs/HclCompatibilityInfo.md) - [HclCompatibilityInfoRef](docs/HclCompatibilityInfoRef.md) + - [HclCompatibilityStatus](docs/HclCompatibilityStatus.md) + - [HclCompatibilityStatusRef](docs/HclCompatibilityStatusRef.md) - [HclDataImportLog](docs/HclDataImportLog.md) - [HclDataImportLogRef](docs/HclDataImportLogRef.md) + - [HclDriverRef](docs/HclDriverRef.md) - [HclFirmwareRef](docs/HclFirmwareRef.md) - [HclHardwareCompatibilityProfileRef](docs/HclHardwareCompatibilityProfileRef.md) - - [HclNote](docs/HclNote.md) - [HclNoteRef](docs/HclNoteRef.md) - [HclProductRef](docs/HclProductRef.md) + - [HclServiceStatus](docs/HclServiceStatus.md) - [HclServiceStatusRef](docs/HclServiceStatusRef.md) + - [HclSupportedDriverName](docs/HclSupportedDriverName.md) + - [HclSupportedDriverNameRef](docs/HclSupportedDriverNameRef.md) - [HxdpconnectorHxInventoryMsgRef](docs/HxdpconnectorHxInventoryMsgRef.md) + - [HyperflexAbstractAppSettingRef](docs/HyperflexAbstractAppSettingRef.md) - [HyperflexAlarm](docs/HyperflexAlarm.md) - [HyperflexAlarmRef](docs/HyperflexAlarmRef.md) + - [HyperflexAppCatalog](docs/HyperflexAppCatalog.md) + - [HyperflexAppCatalogRef](docs/HyperflexAppCatalogRef.md) + - [HyperflexAppSettingConstraintRef](docs/HyperflexAppSettingConstraintRef.md) - [HyperflexAutoSupportPolicyRef](docs/HyperflexAutoSupportPolicyRef.md) - [HyperflexCluster](docs/HyperflexCluster.md) - [HyperflexClusterNetworkPolicyRef](docs/HyperflexClusterNetworkPolicyRef.md) @@ -1009,9 +1166,19 @@ Class | Method | HTTP request | Description - [HyperflexCredentialsRef](docs/HyperflexCredentialsRef.md) - [HyperflexExtFcStoragePolicyRef](docs/HyperflexExtFcStoragePolicyRef.md) - [HyperflexExtIscsiStoragePolicyRef](docs/HyperflexExtIscsiStoragePolicyRef.md) + - [HyperflexFeatureLimitEntry](docs/HyperflexFeatureLimitEntry.md) + - [HyperflexFeatureLimitEntryRef](docs/HyperflexFeatureLimitEntryRef.md) + - [HyperflexFeatureLimitExternal](docs/HyperflexFeatureLimitExternal.md) + - [HyperflexFeatureLimitExternalRef](docs/HyperflexFeatureLimitExternalRef.md) + - [HyperflexFeatureLimitInternal](docs/HyperflexFeatureLimitInternal.md) + - [HyperflexFeatureLimitInternalRef](docs/HyperflexFeatureLimitInternalRef.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) @@ -1019,6 +1186,14 @@ Class | Method | HTTP request | Description - [HyperflexNodeConfigPolicyRef](docs/HyperflexNodeConfigPolicyRef.md) - [HyperflexNodeProfileRef](docs/HyperflexNodeProfileRef.md) - [HyperflexProxySettingPolicyRef](docs/HyperflexProxySettingPolicyRef.md) + - [HyperflexServerFirmwareVersion](docs/HyperflexServerFirmwareVersion.md) + - [HyperflexServerFirmwareVersionEntry](docs/HyperflexServerFirmwareVersionEntry.md) + - [HyperflexServerFirmwareVersionEntryRef](docs/HyperflexServerFirmwareVersionEntryRef.md) + - [HyperflexServerFirmwareVersionRef](docs/HyperflexServerFirmwareVersionRef.md) + - [HyperflexServerModel](docs/HyperflexServerModel.md) + - [HyperflexServerModelEntry](docs/HyperflexServerModelEntry.md) + - [HyperflexServerModelEntryRef](docs/HyperflexServerModelEntryRef.md) + - [HyperflexServerModelRef](docs/HyperflexServerModelRef.md) - [HyperflexStPlatformClusterHealingInfoRef](docs/HyperflexStPlatformClusterHealingInfoRef.md) - [HyperflexStPlatformClusterResiliencyInfoRef](docs/HyperflexStPlatformClusterResiliencyInfoRef.md) - [HyperflexSummaryRef](docs/HyperflexSummaryRef.md) @@ -1039,9 +1214,12 @@ Class | Method | HTTP request | Description - [IaasUcsdInfo](docs/IaasUcsdInfo.md) - [IaasUcsdInfoRef](docs/IaasUcsdInfoRef.md) - [IamAccount](docs/IamAccount.md) + - [IamAccountPermissionsRef](docs/IamAccountPermissionsRef.md) - [IamAccountRef](docs/IamAccountRef.md) - [IamApiKey](docs/IamApiKey.md) - [IamApiKeyRef](docs/IamApiKeyRef.md) + - [IamDomainGroup](docs/IamDomainGroup.md) + - [IamDomainGroupRef](docs/IamDomainGroupRef.md) - [IamEndPointPasswordPropertiesRef](docs/IamEndPointPasswordPropertiesRef.md) - [IamEndPointPrivilege](docs/IamEndPointPrivilege.md) - [IamEndPointPrivilegeRef](docs/IamEndPointPrivilegeRef.md) @@ -1069,6 +1247,7 @@ Class | Method | HTTP request | Description - [IamLdapValidationTaskRef](docs/IamLdapValidationTaskRef.md) - [IamPermission](docs/IamPermission.md) - [IamPermissionRef](docs/IamPermissionRef.md) + - [IamPermissionReferenceRef](docs/IamPermissionReferenceRef.md) - [IamPrivilege](docs/IamPrivilege.md) - [IamPrivilegeRef](docs/IamPrivilegeRef.md) - [IamPrivilegeSet](docs/IamPrivilegeSet.md) @@ -1079,12 +1258,15 @@ Class | Method | HTTP request | Description - [IamResourceLimitsRef](docs/IamResourceLimitsRef.md) - [IamRole](docs/IamRole.md) - [IamRoleRef](docs/IamRoleRef.md) + - [IamServiceProvider](docs/IamServiceProvider.md) + - [IamServiceProviderRef](docs/IamServiceProviderRef.md) - [IamSession](docs/IamSession.md) - [IamSessionLimits](docs/IamSessionLimits.md) - [IamSessionLimitsRef](docs/IamSessionLimitsRef.md) - [IamSessionRef](docs/IamSessionRef.md) - [IamSpConsoleRef](docs/IamSpConsoleRef.md) - [IamSpEngineRef](docs/IamSpEngineRef.md) + - [IamSsoSessionAttributesRef](docs/IamSsoSessionAttributesRef.md) - [IamSystem](docs/IamSystem.md) - [IamSystemRef](docs/IamSystemRef.md) - [IamUser](docs/IamUser.md) @@ -1137,6 +1319,7 @@ 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) - [NetworkElementRef](docs/NetworkElementRef.md) - [NetworkElementSummaryRef](docs/NetworkElementSummaryRef.md) @@ -1149,9 +1332,11 @@ Class | Method | HTTP request | Description - [NtpPolicyRef](docs/NtpPolicyRef.md) - [NtpValidationTaskRef](docs/NtpValidationTaskRef.md) - [Oauth2AuthTokenRef](docs/Oauth2AuthTokenRef.md) - - [OauthAccessTokenRef](docs/OauthAccessTokenRef.md) - - [OauthOauthUser](docs/OauthOauthUser.md) - - [OauthOauthUserRef](docs/OauthOauthUserRef.md) + - [PartitionallocConsumerRef](docs/PartitionallocConsumerRef.md) + - [PartitionallocPartRef](docs/PartitionallocPartRef.md) + - [PartitionallocPartitionedRef](docs/PartitionallocPartitionedRef.md) + - [PolicyAbstractConfigChangeDetail](docs/PolicyAbstractConfigChangeDetail.md) + - [PolicyAbstractConfigChangeDetailRef](docs/PolicyAbstractConfigChangeDetailRef.md) - [PolicyAbstractConfigProfileRef](docs/PolicyAbstractConfigProfileRef.md) - [PolicyAbstractConfigResult](docs/PolicyAbstractConfigResult.md) - [PolicyAbstractConfigResultEntry](docs/PolicyAbstractConfigResultEntry.md) @@ -1161,8 +1346,12 @@ Class | Method | HTTP request | Description - [PolicyAbstractPolicyRef](docs/PolicyAbstractPolicyRef.md) - [PolicyAbstractProfile](docs/PolicyAbstractProfile.md) - [PolicyAbstractProfileRef](docs/PolicyAbstractProfileRef.md) + - [PolicyAnalyzeImpactTaskRef](docs/PolicyAnalyzeImpactTaskRef.md) + - [PolicyConfigChangeDetailTypeRef](docs/PolicyConfigChangeDetailTypeRef.md) + - [PolicyConfigChangeRef](docs/PolicyConfigChangeRef.md) - [PolicyConfigContextRef](docs/PolicyConfigContextRef.md) - [PolicyConfigResultContextRef](docs/PolicyConfigResultContextRef.md) + - [PolicyTakeSnapshotTaskRef](docs/PolicyTakeSnapshotTaskRef.md) - [PortGroupRef](docs/PortGroupRef.md) - [PortPhysicalRef](docs/PortPhysicalRef.md) - [PortSubGroupRef](docs/PortSubGroupRef.md) @@ -1177,6 +1366,7 @@ Class | Method | HTTP request | Description - [QataskRetryFixedRef](docs/QataskRetryFixedRef.md) - [QataskSuccessAsyncTaskRef](docs/QataskSuccessAsyncTaskRef.md) - [QataskTaskinScheuledRef](docs/QataskTaskinScheuledRef.md) + - [QataskTimeoutwfExponentialRef](docs/QataskTimeoutwfExponentialRef.md) - [QataskTimeoutwfFixedRef](docs/QataskTimeoutwfFixedRef.md) - [QataskUcsTask1Ref](docs/QataskUcsTask1Ref.md) - [QataskUcsTask2Ref](docs/QataskUcsTask2Ref.md) @@ -1189,7 +1379,17 @@ Class | Method | HTTP request | Description - [QataskUcsTask9Ref](docs/QataskUcsTask9Ref.md) - [QataskWaitForDownloadRef](docs/QataskWaitForDownloadRef.md) - [QataskWaitForFirmwareUpgradeRef](docs/QataskWaitForFirmwareUpgradeRef.md) - - [RestApiRef](docs/RestApiRef.md) + - [SdcardDeployTaskRef](docs/SdcardDeployTaskRef.md) + - [SdcardDiagnosticsRef](docs/SdcardDiagnosticsRef.md) + - [SdcardDriversRef](docs/SdcardDriversRef.md) + - [SdcardHostUpgradeUtilityRef](docs/SdcardHostUpgradeUtilityRef.md) + - [SdcardOperatingSystemRef](docs/SdcardOperatingSystemRef.md) + - [SdcardPartitionRef](docs/SdcardPartitionRef.md) + - [SdcardPolicyRef](docs/SdcardPolicyRef.md) + - [SdcardServerConfigurationUtilityRef](docs/SdcardServerConfigurationUtilityRef.md) + - [SdcardUserPartitionRef](docs/SdcardUserPartitionRef.md) + - [SdcardValidationTaskRef](docs/SdcardValidationTaskRef.md) + - [SdcardVirtualDriveRef](docs/SdcardVirtualDriveRef.md) - [SearchSearchItem](docs/SearchSearchItem.md) - [SearchSearchItemRef](docs/SearchSearchItemRef.md) - [SearchSuggestItem](docs/SearchSuggestItem.md) @@ -1198,8 +1398,6 @@ Class | Method | HTTP request | Description - [SearchTagItemRef](docs/SearchTagItemRef.md) - [SecurityUnitRef](docs/SecurityUnitRef.md) - [ServerConfigChangeDetailRef](docs/ServerConfigChangeDetailRef.md) - - [ServerConfigChangeDetailsRef](docs/ServerConfigChangeDetailsRef.md) - - [ServerConfigChangeRef](docs/ServerConfigChangeRef.md) - [ServerConfigResultEntryRef](docs/ServerConfigResultEntryRef.md) - [ServerConfigResultRef](docs/ServerConfigResultRef.md) - [ServerProfileApplyTaskRef](docs/ServerProfileApplyTaskRef.md) @@ -1219,6 +1417,7 @@ Class | Method | HTTP request | Description - [SshDeployTaskRef](docs/SshDeployTaskRef.md) - [SshPolicyRef](docs/SshPolicyRef.md) - [SshValidationTaskRef](docs/SshValidationTaskRef.md) + - [StorageAnalyzeImpactTaskRef](docs/StorageAnalyzeImpactTaskRef.md) - [StorageControllerRef](docs/StorageControllerRef.md) - [StorageDeployTaskRef](docs/StorageDeployTaskRef.md) - [StorageDiskGroupPolicyRef](docs/StorageDiskGroupPolicyRef.md) @@ -1238,11 +1437,20 @@ Class | Method | HTTP request | Description - [StorageSasExpanderRef](docs/StorageSasExpanderRef.md) - [StorageSpanGroupRef](docs/StorageSpanGroupRef.md) - [StorageStoragePolicyRef](docs/StorageStoragePolicyRef.md) + - [StorageTakeSnapshotTaskRef](docs/StorageTakeSnapshotTaskRef.md) - [StorageValidationTaskRef](docs/StorageValidationTaskRef.md) - [StorageVdMemberEpRef](docs/StorageVdMemberEpRef.md) - [StorageVirtualDriveConfigRef](docs/StorageVirtualDriveConfigRef.md) - [StorageVirtualDriveRef](docs/StorageVirtualDriveRef.md) + - [SyslogDeployTaskRef](docs/SyslogDeployTaskRef.md) + - [SyslogLocalClientBaseRef](docs/SyslogLocalClientBaseRef.md) + - [SyslogLocalFileLoggingClientRef](docs/SyslogLocalFileLoggingClientRef.md) + - [SyslogPolicyRef](docs/SyslogPolicyRef.md) + - [SyslogRemoteClientBaseRef](docs/SyslogRemoteClientBaseRef.md) + - [SyslogRemoteLoggingClientRef](docs/SyslogRemoteLoggingClientRef.md) + - [SyslogValidationTaskRef](docs/SyslogValidationTaskRef.md) - [TaskFileDownloadInfoRef](docs/TaskFileDownloadInfoRef.md) + - [TaskInputTaskRef](docs/TaskInputTaskRef.md) - [TaskUcsTask1Ref](docs/TaskUcsTask1Ref.md) - [TaskUcsTask2Ref](docs/TaskUcsTask2Ref.md) - [TaskUcsTask3Ref](docs/TaskUcsTask3Ref.md) @@ -1256,6 +1464,15 @@ Class | Method | HTTP request | Description - [TaskWorkflowActionRef](docs/TaskWorkflowActionRef.md) - [TerminalAuditLog](docs/TerminalAuditLog.md) - [TerminalAuditLogRef](docs/TerminalAuditLogRef.md) + - [TestcryptAdministrator](docs/TestcryptAdministrator.md) + - [TestcryptAdministratorRef](docs/TestcryptAdministratorRef.md) + - [TestcryptCredential](docs/TestcryptCredential.md) + - [TestcryptCredentialRef](docs/TestcryptCredentialRef.md) + - [TestcryptReadOnlyUser](docs/TestcryptReadOnlyUser.md) + - [TestcryptReadOnlyUserRef](docs/TestcryptReadOnlyUserRef.md) + - [TestcryptShadowCredential](docs/TestcryptShadowCredential.md) + - [TestcryptShadowCredentialRef](docs/TestcryptShadowCredentialRef.md) + - [TestcryptUserRef](docs/TestcryptUserRef.md) - [TopSystemRef](docs/TopSystemRef.md) - [UcsdconnectorInventoryMessageRef](docs/UcsdconnectorInventoryMessageRef.md) - [ViewsView](docs/ViewsView.md) @@ -1265,7 +1482,14 @@ Class | Method | HTTP request | Description - [VmediaPolicyRef](docs/VmediaPolicyRef.md) - [VmediaValidationTaskRef](docs/VmediaValidationTaskRef.md) - [WorkflowBuildTaskMeta](docs/WorkflowBuildTaskMeta.md) + - [WorkflowBuildTaskMetaOwner](docs/WorkflowBuildTaskMetaOwner.md) + - [WorkflowBuildTaskMetaOwnerRef](docs/WorkflowBuildTaskMetaOwnerRef.md) - [WorkflowBuildTaskMetaRef](docs/WorkflowBuildTaskMetaRef.md) + - [WorkflowDynamicWorkflowActionTaskListRef](docs/WorkflowDynamicWorkflowActionTaskListRef.md) + - [WorkflowInputDefinitionRef](docs/WorkflowInputDefinitionRef.md) + - [WorkflowInputParameterRef](docs/WorkflowInputParameterRef.md) + - [WorkflowPendingDynamicWorkflowInfo](docs/WorkflowPendingDynamicWorkflowInfo.md) + - [WorkflowPendingDynamicWorkflowInfoRef](docs/WorkflowPendingDynamicWorkflowInfoRef.md) - [WorkflowTaskInfo](docs/WorkflowTaskInfo.md) - [WorkflowTaskInfoRef](docs/WorkflowTaskInfoRef.md) - [WorkflowTaskMeta](docs/WorkflowTaskMeta.md) @@ -1275,9 +1499,9 @@ Class | Method | HTTP request | Description - [WorkflowWorkflowInfoRef](docs/WorkflowWorkflowInfoRef.md) - [WorkflowWorkflowMeta](docs/WorkflowWorkflowMeta.md) - [WorkflowWorkflowMetaRef](docs/WorkflowWorkflowMetaRef.md) - - [WorkflowWorkflowTask](docs/WorkflowWorkflowTask.md) - - [WorkflowWorkflowTaskRef](docs/WorkflowWorkflowTaskRef.md) - [AaaAuditRecord](docs/AaaAuditRecord.md) + - [AssetClusterMember](docs/AssetClusterMember.md) + - [AssetDeviceRegistration](docs/AssetDeviceRegistration.md) - [BiosPolicy](docs/BiosPolicy.md) - [BootPrecisionPolicy](docs/BootPrecisionPolicy.md) - [ComputePhysicalSummary](docs/ComputePhysicalSummary.md) @@ -1318,6 +1542,8 @@ Class | Method | HTTP request | Description - [PortGroup](docs/PortGroup.md) - [PortPhysical](docs/PortPhysical.md) - [PortSubGroup](docs/PortSubGroup.md) + - [SdcardPolicy](docs/SdcardPolicy.md) + - [ServerConfigChangeDetail](docs/ServerConfigChangeDetail.md) - [ServerConfigResult](docs/ServerConfigResult.md) - [ServerConfigResultEntry](docs/ServerConfigResultEntry.md) - [SmtpPolicy](docs/SmtpPolicy.md) @@ -1330,6 +1556,7 @@ Class | Method | HTTP request | Description - [StoragePhysicalDiskUsage](docs/StoragePhysicalDiskUsage.md) - [StorageStoragePolicy](docs/StorageStoragePolicy.md) - [StorageVdMemberEp](docs/StorageVdMemberEp.md) + - [SyslogPolicy](docs/SyslogPolicy.md) - [TopSystem](docs/TopSystem.md) - [VmediaPolicy](docs/VmediaPolicy.md) - [AdapterExtEthInterface](docs/AdapterExtEthInterface.md) diff --git a/examples/add_user.py b/examples/add_user.py index c3a5dc1e..1b8427ff 100644 --- a/examples/add_user.py +++ b/examples/add_user.py @@ -4,11 +4,9 @@ import json import argparse from intersight.intersight_api_client import IntersightApiClient -from intersight.apis import iam_account_api -from intersight.apis import iam_user_api -from intersight.apis import iam_role_api -from intersight.apis import iam_end_point_role_api from intersight.apis import iam_permission_api +from intersight.apis import iam_idp_reference_api +from intersight.apis import iam_user_api def add_user(intersight_api_params, username, user_role='Account Administrator'): @@ -20,62 +18,45 @@ def add_user(intersight_api_params, username, user_role='Account Administrator') api_key_id=intersight_api_params['api_key_id'], ) - # GET Users - users_handle = iam_user_api.IamUserApi(api_instance) - kwargs = dict(filter="Name eq '%s'" % username) - users_result = users_handle.iam_users_get(**kwargs) - - # GET Accounts - accounts_handle = iam_account_api.IamAccountApi(api_instance) - accounts_result = accounts_handle.iam_accounts_get() + # GET Permissions + permissions_handle = iam_permission_api.IamPermissionApi(api_instance) + kwargs = dict(filter="Name eq '%s'" % user_role) + permissions_result = permissions_handle.iam_permissions_get(**kwargs) - if not users_result.results: - # POST Users with Idpreference - users_body = { - 'Name': username, - 'Idpreference': accounts_result.results[0].idpreferences[0], - } - users_result = users_handle.iam_users_post(users_body) - result['changed'] = True + if permissions_result.results: + # GET IdpReference + idp_reference_handle = iam_idp_reference_api.IamIdpReferenceApi(api_instance) + idp_reference_name = 'Cisco' + kwargs = dict(filter="Name eq '%s'" % idp_reference_name) + idp_reference_result = idp_reference_handle.iam_idp_references_get(**kwargs) + if idp_reference_result.results: + user_matches = False + # GET Users + users_handle = iam_user_api.IamUserApi(api_instance) + kwargs = dict(filter="Email eq '%s'" % username) + users_result = users_handle.iam_users_get(**kwargs) + if ( + users_result.results and + users_result.results[0].permissions[0].moid == permissions_result.results[0].moid and + users_result.results[0].idpreference.moid == idp_reference_result.results[0].moid + ): + user_matches = True - # GET Users again - kwargs = dict(filter="Name eq '%s'" % username) - users_result = users_handle.iam_users_get(**kwargs) - - # GET Roles - roles_handle = iam_role_api.IamRoleApi(api_instance) - roles_result = roles_handle.iam_roles_get() - for role in roles_result.results: - if role.name == user_role: - # GET EndPointRoles - end_point_roles_handle = iam_end_point_role_api.IamEndPointRoleApi(api_instance) - endpoint_roles = {} - endpoint_roles['Read-Only'] = 'endpoint-readonly' - endpoint_roles['Account Administrator'] = 'endpoint-admin' - kwargs = dict(filter="RoleType eq '%s'" % endpoint_roles[user_role]) - end_point_roles_result = end_point_roles_handle.iam_end_point_roles_get(**kwargs) - - permissions_handle = iam_permission_api.IamPermissionApi(api_instance) - kwargs = dict(filter="Subject eq '%s'" % users_result.results[0].moid) - permissions_result = permissions_handle.iam_permissions_get(**kwargs) - - permissions_body = { - 'Subject': users_result.results[0].moid, - 'Type': 'User', - 'Account': accounts_result.results[0].account_moid, - 'EndPointRoles': end_point_roles_result.results, - 'Roles': [role], - } - if permissions_result.results: - # PATCH Permissions with EndPointRoles - permissions_result = permissions_handle.iam_permissions_moid_patch(permissions_result.results[0].moid, permissions_body) - else: - # POST Permissions with EndPointRoles - permissions_result = permissions_handle.iam_permissions_post(permissions_body) - break + if not user_matches: + # POST Users with Permissions and IdpReference + users_body = { + 'Email': username, + 'Idpreference': idp_reference_result.results[0].moid, + 'Permissions': [permissions_result.results[0].moid], + } + users_result = users_handle.iam_users_post(users_body) + result['changed'] = True + else: # user exists and IdP/Permissions match + print('User exists with requested role:', username) + else: + print('Could not find IdP', idp_reference_name) else: - # for loop completed without finding a role - print("Role not found:", user_role) + print('Invalid user role', user_role) if __name__ == "__main__": @@ -94,7 +75,7 @@ def add_user(intersight_api_params, username, user_role='Account Administrator') intersight_api_params = json.load(api_file) add_user(intersight_api_params, args.id, args.role) - + except Exception as err: print("Exception:", str(err)) import traceback diff --git a/examples/delete_user.py b/examples/delete_user.py index 5f014616..b8ae0b63 100644 --- a/examples/delete_user.py +++ b/examples/delete_user.py @@ -5,7 +5,6 @@ import argparse from intersight.intersight_api_client import IntersightApiClient from intersight.apis import iam_user_api -from intersight.apis import iam_permission_api if __name__ == "__main__": result = dict(changed=False) @@ -30,20 +29,12 @@ # GET Users users_handle = iam_user_api.IamUserApi(api_instance) - kwargs = dict(filter="Name eq '%s'" % args.id) + kwargs = dict(filter="Email eq '%s'" % args.id) users_result = users_handle.iam_users_get(**kwargs) if users_result.results: - # GET Permissions - permissions_handle = iam_permission_api.IamPermissionApi(api_instance) - kwargs = dict(filter="Subject eq '%s'" % users_result.results[0].moid) - permissions_result = permissions_handle.iam_permissions_get(**kwargs) - - # DELETE Permissions - permissions_delete_result = permissions_handle.iam_permissions_moid_delete(moid=permissions_result.results[0].moid) - result['changed'] = True - # DELETE Users users_delete_result = users_handle.iam_users_moid_delete(moid=users_result.results[0].moid) + result['changed'] = True else: print("User not found:", args.id) diff --git a/intersight/__init__.py b/intersight/__init__.py index 3c8d1619..e03c10ac 100644 --- a/intersight/__init__.py +++ b/intersight/__init__.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -20,11 +20,15 @@ from .models.adapter_host_fc_interface_list import AdapterHostFcInterfaceList from .models.adapter_host_iscsi_interface_list import AdapterHostIscsiInterfaceList from .models.adapter_unit_list import AdapterUnitList +from .models.asset_cluster_member_list import AssetClusterMemberList +from .models.asset_device_configuration_list import AssetDeviceConfigurationList 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_device_base import BootDeviceBase from .models.boot_precision_policy_list import BootPrecisionPolicyList +from .models.comm_ip_v4_interface import CommIpV4Interface +from .models.comm_ip_v6_interface import CommIpV6Interface from .models.compute_blade_list import ComputeBladeList from .models.compute_board_list import ComputeBoardList from .models.compute_ip_address import ComputeIpAddress @@ -37,8 +41,11 @@ from .models.cond_hcl_status_job_list import CondHclStatusJobList from .models.cond_hcl_status_list import CondHclStatusList from .models.connector_auth_message import ConnectorAuthMessage +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.deviceinfo_serial_number_info_list import DeviceinfoSerialNumberInfoList +from .models.devops_abstract_trigger_details import DevopsAbstractTriggerDetails from .models.equipment_chassis_list import EquipmentChassisList from .models.equipment_device_summary_list import EquipmentDeviceSummaryList from .models.equipment_fan_list import EquipmentFanList @@ -67,12 +74,16 @@ 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_compatibility_info_list import HclCompatibilityInfoList from .models.hcl_data_import_log_list import HclDataImportLogList +from .models.hcl_driver import HclDriver from .models.hcl_firmware import HclFirmware -from .models.hcl_note_list import HclNoteList +from .models.hcl_hardware_compatibility_profile import HclHardwareCompatibilityProfile from .models.hcl_product import HclProduct +from .models.hcl_service_status_list import HclServiceStatusList +from .models.hyperflex_abstract_app_setting import HyperflexAbstractAppSetting from .models.hyperflex_alarm_list import HyperflexAlarmList +from .models.hyperflex_app_catalog_list import HyperflexAppCatalogList +from .models.hyperflex_app_setting_constraint import HyperflexAppSettingConstraint from .models.hyperflex_auto_support_policy_list import HyperflexAutoSupportPolicyList from .models.hyperflex_cluster_list import HyperflexClusterList from .models.hyperflex_cluster_network_policy_list import HyperflexClusterNetworkPolicyList @@ -82,9 +93,13 @@ from .models.hyperflex_config_result_list import HyperflexConfigResultList from .models.hyperflex_ext_fc_storage_policy_list import HyperflexExtFcStoragePolicyList 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_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 from .models.hyperflex_managed_object_reference import HyperflexManagedObjectReference from .models.hyperflex_named_vlan import HyperflexNamedVlan @@ -92,6 +107,8 @@ from .models.hyperflex_node_config_policy_list import HyperflexNodeConfigPolicyList 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 +from .models.hyperflex_server_model_list import HyperflexServerModelList from .models.hyperflex_st_platform_cluster_healing_info import HyperflexStPlatformClusterHealingInfo from .models.hyperflex_st_platform_cluster_resiliency_info import HyperflexStPlatformClusterResiliencyInfo from .models.hyperflex_summary import HyperflexSummary @@ -108,7 +125,9 @@ from .models.iaas_license_utilization_info import IaasLicenseUtilizationInfo from .models.iaas_ucsd_info_list import IaasUcsdInfoList from .models.iam_account_list import IamAccountList +from .models.iam_account_permissions import IamAccountPermissions from .models.iam_api_key_list import IamApiKeyList +from .models.iam_domain_group_list import IamDomainGroupList from .models.iam_end_point_password_properties import IamEndPointPasswordProperties from .models.iam_end_point_privilege_list import IamEndPointPrivilegeList from .models.iam_end_point_role_list import IamEndPointRoleList @@ -123,13 +142,16 @@ from .models.iam_ldap_policy_list import IamLdapPolicyList from .models.iam_ldap_provider_list import IamLdapProviderList from .models.iam_permission_list import IamPermissionList +from .models.iam_permission_reference import IamPermissionReference from .models.iam_privilege_list import IamPrivilegeList from .models.iam_privilege_set_list import IamPrivilegeSetList from .models.iam_qualifier_list import IamQualifierList from .models.iam_resource_limits_list import IamResourceLimitsList from .models.iam_role_list import IamRoleList +from .models.iam_service_provider_list import IamServiceProviderList from .models.iam_session_limits_list import IamSessionLimitsList from .models.iam_session_list import IamSessionList +from .models.iam_sso_session_attributes import IamSsoSessionAttributes from .models.iam_system_list import IamSystemList from .models.iam_user_group_list import IamUserGroupList from .models.iam_user_list import IamUserList @@ -163,18 +185,19 @@ from .models.network_element_summary_list import NetworkElementSummaryList from .models.networkconfig_policy_list import NetworkconfigPolicyList from .models.ntp_policy_list import NtpPolicyList -from .models.oauth_access_token import OauthAccessToken -from .models.oauth_oauth_user_list import OauthOauthUserList +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.sdcard_partition import SdcardPartition +from .models.sdcard_policy_list import SdcardPolicyList +from .models.sdcard_virtual_drive import SdcardVirtualDrive from .models.search_search_item_list import SearchSearchItemList from .models.search_tag_item_list import SearchTagItemList from .models.security_unit_list import SecurityUnitList -from .models.server_config_change import ServerConfigChange -from .models.server_config_change_detail import ServerConfigChangeDetail +from .models.server_config_change_detail_list import ServerConfigChangeDetailList from .models.server_config_result_entry_list import ServerConfigResultEntryList from .models.server_config_result_list import ServerConfigResultList from .models.server_profile_list import ServerProfileList @@ -205,19 +228,29 @@ from .models.storage_vd_member_ep_list import StorageVdMemberEpList from .models.storage_virtual_drive_config import StorageVirtualDriveConfig from .models.storage_virtual_drive_list import StorageVirtualDriveList +from .models.syslog_local_client_base import SyslogLocalClientBase +from .models.syslog_policy_list import SyslogPolicyList +from .models.syslog_remote_client_base import SyslogRemoteClientBase from .models.task_file_download_info import TaskFileDownloadInfo from .models.task_workflow_action_list import TaskWorkflowActionList from .models.terminal_audit_log_list import TerminalAuditLogList +from .models.testcrypt_administrator_list import TestcryptAdministratorList +from .models.testcrypt_credential_list import TestcryptCredentialList +from .models.testcrypt_read_only_user_list import TestcryptReadOnlyUserList +from .models.testcrypt_shadow_credential_list import TestcryptShadowCredentialList +from .models.testcrypt_user import TestcryptUser from .models.top_system_list import TopSystemList from .models.vmedia_mapping import VmediaMapping from .models.vmedia_policy_list import VmediaPolicyList from .models.workflow_build_task_meta_list import WorkflowBuildTaskMetaList +from .models.workflow_build_task_meta_owner_list import WorkflowBuildTaskMetaOwnerList +from .models.workflow_dynamic_workflow_action_task_list import WorkflowDynamicWorkflowActionTaskList +from .models.workflow_pending_dynamic_workflow_info_list import WorkflowPendingDynamicWorkflowInfoList from .models.workflow_task_info_list import WorkflowTaskInfoList from .models.workflow_task_meta_list import WorkflowTaskMetaList from .models.workflow_task_retry_info import WorkflowTaskRetryInfo from .models.workflow_workflow_info_list import WorkflowWorkflowInfoList from .models.workflow_workflow_meta_list import WorkflowWorkflowMetaList -from .models.workflow_workflow_task_list import WorkflowWorkflowTaskList from .models.aaa_abstract_audit_record import AaaAbstractAuditRecord from .models.aaa_abstract_audit_record_ref import AaaAbstractAuditRecordRef from .models.aaa_audit_record_local_ref import AaaAuditRecordLocalRef @@ -227,9 +260,14 @@ from .models.adapter_host_fc_interface_ref import AdapterHostFcInterfaceRef from .models.adapter_host_iscsi_interface_ref import AdapterHostIscsiInterfaceRef from .models.adapter_unit_ref import AdapterUnitRef +from .models.asset_cluster_member_ref import AssetClusterMemberRef +from .models.asset_connection_control_message_ref import AssetConnectionControlMessageRef from .models.asset_device_claim import AssetDeviceClaim from .models.asset_device_claim_ref import AssetDeviceClaimRef -from .models.asset_device_registration import AssetDeviceRegistration +from .models.asset_device_configuration import AssetDeviceConfiguration +from .models.asset_device_configuration_ref import AssetDeviceConfigurationRef +from .models.asset_device_connection import AssetDeviceConnection +from .models.asset_device_connection_ref import AssetDeviceConnectionRef from .models.asset_device_registration_ref import AssetDeviceRegistrationRef from .models.asset_security_token_ref import AssetSecurityTokenRef from .models.bios_deploy_task_ref import BiosDeployTaskRef @@ -250,6 +288,8 @@ from .models.boot_uefi_shell_ref import BootUefiShellRef from .models.boot_usb_ref import BootUsbRef from .models.boot_virtual_media_ref import BootVirtualMediaRef +from .models.comm_ip_v4_interface_ref import CommIpV4InterfaceRef +from .models.comm_ip_v6_interface_ref import CommIpV6InterfaceRef from .models.compute_blade_ref import ComputeBladeRef from .models.compute_board_ref import ComputeBoardRef from .models.compute_ip_address_ref import ComputeIpAddressRef @@ -270,12 +310,25 @@ from .models.cond_hcl_status_job_ref import CondHclStatusJobRef from .models.cond_hcl_status_ref import CondHclStatusRef from .models.connector_auth_message_ref import ConnectorAuthMessageRef +from .models.connector_close_stream_message import ConnectorCloseStreamMessage +from .models.connector_close_stream_message_ref import ConnectorCloseStreamMessageRef from .models.connector_command_message_ref import ConnectorCommandMessageRef +from .models.connector_control_message_ref import ConnectorControlMessageRef from .models.connector_event_channel_control_ref import ConnectorEventChannelControlRef from .models.connector_event_ref import ConnectorEventRef +from .models.connector_fetch_stream_message import ConnectorFetchStreamMessage +from .models.connector_fetch_stream_message_ref import ConnectorFetchStreamMessageRef from .models.connector_job_async_response_ref import ConnectorJobAsyncResponseRef from .models.connector_job_message_ref import ConnectorJobMessageRef +from .models.connector_start_stream import ConnectorStartStream +from .models.connector_start_stream_ref import ConnectorStartStreamRef +from .models.connector_stream_input import ConnectorStreamInput +from .models.connector_stream_input_ref import ConnectorStreamInputRef +from .models.connector_stream_message_ref import ConnectorStreamMessageRef +from .models.connector_stream_ref import ConnectorStreamRef from .models.connector_xml_api_message_ref import ConnectorXmlApiMessageRef +from .models.connectorpack_connector_pack_summary_ref import ConnectorpackConnectorPackSummaryRef +from .models.connectorpack_upgrade_ref import ConnectorpackUpgradeRef from .models.crypt_account_key_ref import CryptAccountKeyRef from .models.crypt_decrypt_ref import CryptDecryptRef from .models.crypt_encrypt_ref import CryptEncryptRef @@ -284,6 +337,11 @@ from .models.crypt_encryption_token_ref import CryptEncryptionTokenRef 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 +from .models.devops_notification_trigger import DevopsNotificationTrigger +from .models.devops_notification_trigger_ref import DevopsNotificationTriggerRef +from .models.devops_trigger_ref import DevopsTriggerRef +from .models.epansible_runner_ref import EpansibleRunnerRef from .models.equipment_base_ref import EquipmentBaseRef from .models.equipment_chassis_ref import EquipmentChassisRef from .models.equipment_device_summary_ref import EquipmentDeviceSummaryRef @@ -332,20 +390,27 @@ from .models.firmwareimc_wait_for_firmware_upgrade_ref import FirmwareimcWaitForFirmwareUpgradeRef from .models.graphics_card_ref import GraphicsCardRef from .models.graphics_controller_ref import GraphicsControllerRef -from .models.hcl_active_collection_node_ref import HclActiveCollectionNodeRef -from .models.hcl_compatibility_info import HclCompatibilityInfo 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_ref import HclDriverRef from .models.hcl_firmware_ref import HclFirmwareRef from .models.hcl_hardware_compatibility_profile_ref import HclHardwareCompatibilityProfileRef -from .models.hcl_note import HclNote from .models.hcl_note_ref import HclNoteRef from .models.hcl_product_ref import HclProductRef +from .models.hcl_service_status import HclServiceStatus from .models.hcl_service_status_ref import HclServiceStatusRef +from .models.hcl_supported_driver_name import HclSupportedDriverName +from .models.hcl_supported_driver_name_ref import HclSupportedDriverNameRef from .models.hxdpconnector_hx_inventory_msg_ref import HxdpconnectorHxInventoryMsgRef +from .models.hyperflex_abstract_app_setting_ref import HyperflexAbstractAppSettingRef from .models.hyperflex_alarm import HyperflexAlarm from .models.hyperflex_alarm_ref import HyperflexAlarmRef +from .models.hyperflex_app_catalog import HyperflexAppCatalog +from .models.hyperflex_app_catalog_ref import HyperflexAppCatalogRef +from .models.hyperflex_app_setting_constraint_ref import HyperflexAppSettingConstraintRef from .models.hyperflex_auto_support_policy_ref import HyperflexAutoSupportPolicyRef from .models.hyperflex_cluster import HyperflexCluster from .models.hyperflex_cluster_network_policy_ref import HyperflexClusterNetworkPolicyRef @@ -357,9 +422,19 @@ from .models.hyperflex_credentials_ref import HyperflexCredentialsRef from .models.hyperflex_ext_fc_storage_policy_ref import HyperflexExtFcStoragePolicyRef from .models.hyperflex_ext_iscsi_storage_policy_ref import HyperflexExtIscsiStoragePolicyRef +from .models.hyperflex_feature_limit_entry import HyperflexFeatureLimitEntry +from .models.hyperflex_feature_limit_entry_ref import HyperflexFeatureLimitEntryRef +from .models.hyperflex_feature_limit_external import HyperflexFeatureLimitExternal +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_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 @@ -367,6 +442,14 @@ from .models.hyperflex_node_config_policy_ref import HyperflexNodeConfigPolicyRef from .models.hyperflex_node_profile_ref import HyperflexNodeProfileRef 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 +from .models.hyperflex_server_firmware_version_entry_ref import HyperflexServerFirmwareVersionEntryRef +from .models.hyperflex_server_firmware_version_ref import HyperflexServerFirmwareVersionRef +from .models.hyperflex_server_model import HyperflexServerModel +from .models.hyperflex_server_model_entry import HyperflexServerModelEntry +from .models.hyperflex_server_model_entry_ref import HyperflexServerModelEntryRef +from .models.hyperflex_server_model_ref import HyperflexServerModelRef from .models.hyperflex_st_platform_cluster_healing_info_ref import HyperflexStPlatformClusterHealingInfoRef from .models.hyperflex_st_platform_cluster_resiliency_info_ref import HyperflexStPlatformClusterResiliencyInfoRef from .models.hyperflex_summary_ref import HyperflexSummaryRef @@ -387,9 +470,12 @@ from .models.iaas_ucsd_info import IaasUcsdInfo from .models.iaas_ucsd_info_ref import IaasUcsdInfoRef from .models.iam_account import IamAccount +from .models.iam_account_permissions_ref import IamAccountPermissionsRef from .models.iam_account_ref import IamAccountRef from .models.iam_api_key import IamApiKey from .models.iam_api_key_ref import IamApiKeyRef +from .models.iam_domain_group import IamDomainGroup +from .models.iam_domain_group_ref import IamDomainGroupRef from .models.iam_end_point_password_properties_ref import IamEndPointPasswordPropertiesRef from .models.iam_end_point_privilege import IamEndPointPrivilege from .models.iam_end_point_privilege_ref import IamEndPointPrivilegeRef @@ -417,6 +503,7 @@ from .models.iam_ldap_validation_task_ref import IamLdapValidationTaskRef from .models.iam_permission import IamPermission from .models.iam_permission_ref import IamPermissionRef +from .models.iam_permission_reference_ref import IamPermissionReferenceRef from .models.iam_privilege import IamPrivilege from .models.iam_privilege_ref import IamPrivilegeRef from .models.iam_privilege_set import IamPrivilegeSet @@ -427,12 +514,15 @@ from .models.iam_resource_limits_ref import IamResourceLimitsRef from .models.iam_role import IamRole from .models.iam_role_ref import IamRoleRef +from .models.iam_service_provider import IamServiceProvider +from .models.iam_service_provider_ref import IamServiceProviderRef from .models.iam_session import IamSession from .models.iam_session_limits import IamSessionLimits from .models.iam_session_limits_ref import IamSessionLimitsRef from .models.iam_session_ref import IamSessionRef from .models.iam_sp_console_ref import IamSpConsoleRef from .models.iam_sp_engine_ref import IamSpEngineRef +from .models.iam_sso_session_attributes_ref import IamSsoSessionAttributesRef from .models.iam_system import IamSystem from .models.iam_system_ref import IamSystemRef from .models.iam_user import IamUser @@ -485,6 +575,7 @@ 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.network_element_ref import NetworkElementRef from .models.network_element_summary_ref import NetworkElementSummaryRef @@ -497,9 +588,11 @@ 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.oauth_access_token_ref import OauthAccessTokenRef -from .models.oauth_oauth_user import OauthOauthUser -from .models.oauth_oauth_user_ref import OauthOauthUserRef +from .models.partitionalloc_consumer_ref import PartitionallocConsumerRef +from .models.partitionalloc_part_ref import PartitionallocPartRef +from .models.partitionalloc_partitioned_ref import PartitionallocPartitionedRef +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 from .models.policy_abstract_config_result import PolicyAbstractConfigResult from .models.policy_abstract_config_result_entry import PolicyAbstractConfigResultEntry @@ -509,8 +602,12 @@ from .models.policy_abstract_policy_ref import PolicyAbstractPolicyRef from .models.policy_abstract_profile import PolicyAbstractProfile from .models.policy_abstract_profile_ref import PolicyAbstractProfileRef +from .models.policy_analyze_impact_task_ref import PolicyAnalyzeImpactTaskRef +from .models.policy_config_change_detail_type_ref import PolicyConfigChangeDetailTypeRef +from .models.policy_config_change_ref import PolicyConfigChangeRef from .models.policy_config_context_ref import PolicyConfigContextRef from .models.policy_config_result_context_ref import PolicyConfigResultContextRef +from .models.policy_take_snapshot_task_ref import PolicyTakeSnapshotTaskRef from .models.port_group_ref import PortGroupRef from .models.port_physical_ref import PortPhysicalRef from .models.port_sub_group_ref import PortSubGroupRef @@ -525,6 +622,7 @@ from .models.qatask_retry_fixed_ref import QataskRetryFixedRef from .models.qatask_success_async_task_ref import QataskSuccessAsyncTaskRef from .models.qatask_taskin_scheuled_ref import QataskTaskinScheuledRef +from .models.qatask_timeoutwf_exponential_ref import QataskTimeoutwfExponentialRef from .models.qatask_timeoutwf_fixed_ref import QataskTimeoutwfFixedRef from .models.qatask_ucs_task1_ref import QataskUcsTask1Ref from .models.qatask_ucs_task2_ref import QataskUcsTask2Ref @@ -537,7 +635,17 @@ 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.rest_api_ref import RestApiRef +from .models.sdcard_deploy_task_ref import SdcardDeployTaskRef +from .models.sdcard_diagnostics_ref import SdcardDiagnosticsRef +from .models.sdcard_drivers_ref import SdcardDriversRef +from .models.sdcard_host_upgrade_utility_ref import SdcardHostUpgradeUtilityRef +from .models.sdcard_operating_system_ref import SdcardOperatingSystemRef +from .models.sdcard_partition_ref import SdcardPartitionRef +from .models.sdcard_policy_ref import SdcardPolicyRef +from .models.sdcard_server_configuration_utility_ref import SdcardServerConfigurationUtilityRef +from .models.sdcard_user_partition_ref import SdcardUserPartitionRef +from .models.sdcard_validation_task_ref import SdcardValidationTaskRef +from .models.sdcard_virtual_drive_ref import SdcardVirtualDriveRef from .models.search_search_item import SearchSearchItem from .models.search_search_item_ref import SearchSearchItemRef from .models.search_suggest_item import SearchSuggestItem @@ -546,8 +654,6 @@ from .models.search_tag_item_ref import SearchTagItemRef from .models.security_unit_ref import SecurityUnitRef from .models.server_config_change_detail_ref import ServerConfigChangeDetailRef -from .models.server_config_change_details_ref import ServerConfigChangeDetailsRef -from .models.server_config_change_ref import ServerConfigChangeRef from .models.server_config_result_entry_ref import ServerConfigResultEntryRef from .models.server_config_result_ref import ServerConfigResultRef from .models.server_profile_apply_task_ref import ServerProfileApplyTaskRef @@ -567,6 +673,7 @@ from .models.ssh_deploy_task_ref import SshDeployTaskRef from .models.ssh_policy_ref import SshPolicyRef from .models.ssh_validation_task_ref import SshValidationTaskRef +from .models.storage_analyze_impact_task_ref import StorageAnalyzeImpactTaskRef from .models.storage_controller_ref import StorageControllerRef from .models.storage_deploy_task_ref import StorageDeployTaskRef from .models.storage_disk_group_policy_ref import StorageDiskGroupPolicyRef @@ -586,11 +693,20 @@ from .models.storage_sas_expander_ref import StorageSasExpanderRef from .models.storage_span_group_ref import StorageSpanGroupRef from .models.storage_storage_policy_ref import StorageStoragePolicyRef +from .models.storage_take_snapshot_task_ref import StorageTakeSnapshotTaskRef 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_ref import StorageVirtualDriveRef +from .models.syslog_deploy_task_ref import SyslogDeployTaskRef +from .models.syslog_local_client_base_ref import SyslogLocalClientBaseRef +from .models.syslog_local_file_logging_client_ref import SyslogLocalFileLoggingClientRef +from .models.syslog_policy_ref import SyslogPolicyRef +from .models.syslog_remote_client_base_ref import SyslogRemoteClientBaseRef +from .models.syslog_remote_logging_client_ref import SyslogRemoteLoggingClientRef +from .models.syslog_validation_task_ref import SyslogValidationTaskRef from .models.task_file_download_info_ref import TaskFileDownloadInfoRef +from .models.task_input_task_ref import TaskInputTaskRef from .models.task_ucs_task1_ref import TaskUcsTask1Ref from .models.task_ucs_task2_ref import TaskUcsTask2Ref from .models.task_ucs_task3_ref import TaskUcsTask3Ref @@ -604,6 +720,15 @@ from .models.task_workflow_action_ref import TaskWorkflowActionRef from .models.terminal_audit_log import TerminalAuditLog from .models.terminal_audit_log_ref import TerminalAuditLogRef +from .models.testcrypt_administrator import TestcryptAdministrator +from .models.testcrypt_administrator_ref import TestcryptAdministratorRef +from .models.testcrypt_credential import TestcryptCredential +from .models.testcrypt_credential_ref import TestcryptCredentialRef +from .models.testcrypt_read_only_user import TestcryptReadOnlyUser +from .models.testcrypt_read_only_user_ref import TestcryptReadOnlyUserRef +from .models.testcrypt_shadow_credential import TestcryptShadowCredential +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_inventory_message_ref import UcsdconnectorInventoryMessageRef from .models.views_view import ViewsView @@ -613,7 +738,14 @@ from .models.vmedia_policy_ref import VmediaPolicyRef from .models.vmedia_validation_task_ref import VmediaValidationTaskRef from .models.workflow_build_task_meta import WorkflowBuildTaskMeta +from .models.workflow_build_task_meta_owner import WorkflowBuildTaskMetaOwner +from .models.workflow_build_task_meta_owner_ref import WorkflowBuildTaskMetaOwnerRef from .models.workflow_build_task_meta_ref import WorkflowBuildTaskMetaRef +from .models.workflow_dynamic_workflow_action_task_list_ref import WorkflowDynamicWorkflowActionTaskListRef +from .models.workflow_input_definition_ref import WorkflowInputDefinitionRef +from .models.workflow_input_parameter_ref import WorkflowInputParameterRef +from .models.workflow_pending_dynamic_workflow_info import WorkflowPendingDynamicWorkflowInfo +from .models.workflow_pending_dynamic_workflow_info_ref import WorkflowPendingDynamicWorkflowInfoRef from .models.workflow_task_info import WorkflowTaskInfo from .models.workflow_task_info_ref import WorkflowTaskInfoRef from .models.workflow_task_meta import WorkflowTaskMeta @@ -623,9 +755,9 @@ from .models.workflow_workflow_info_ref import WorkflowWorkflowInfoRef from .models.workflow_workflow_meta import WorkflowWorkflowMeta from .models.workflow_workflow_meta_ref import WorkflowWorkflowMetaRef -from .models.workflow_workflow_task import WorkflowWorkflowTask -from .models.workflow_workflow_task_ref import WorkflowWorkflowTaskRef from .models.aaa_audit_record import AaaAuditRecord +from .models.asset_cluster_member import AssetClusterMember +from .models.asset_device_registration import AssetDeviceRegistration from .models.bios_policy import BiosPolicy from .models.boot_precision_policy import BootPrecisionPolicy from .models.compute_physical_summary import ComputePhysicalSummary @@ -666,6 +798,8 @@ from .models.port_group import PortGroup from .models.port_physical import PortPhysical from .models.port_sub_group import PortSubGroup +from .models.sdcard_policy import SdcardPolicy +from .models.server_config_change_detail import ServerConfigChangeDetail from .models.server_config_result import ServerConfigResult from .models.server_config_result_entry import ServerConfigResultEntry from .models.smtp_policy import SmtpPolicy @@ -678,6 +812,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.syslog_policy import SyslogPolicy from .models.top_system import TopSystem from .models.vmedia_policy import VmediaPolicy from .models.adapter_ext_eth_interface import AdapterExtEthInterface @@ -728,7 +863,9 @@ from .apis.adapter_host_fc_interface_api import AdapterHostFcInterfaceApi from .apis.adapter_host_iscsi_interface_api import AdapterHostIscsiInterfaceApi from .apis.adapter_unit_api import AdapterUnitApi +from .apis.asset_cluster_member_api import AssetClusterMemberApi from .apis.asset_device_claim_api import AssetDeviceClaimApi +from .apis.asset_device_configuration_api import AssetDeviceConfigurationApi from .apis.asset_device_registration_api import AssetDeviceRegistrationApi from .apis.bios_policy_api import BiosPolicyApi from .apis.bios_unit_api import BiosUnitApi @@ -766,10 +903,12 @@ from .apis.firmware_upgrade_status_api import FirmwareUpgradeStatusApi from .apis.graphics_card_api import GraphicsCardApi from .apis.graphics_controller_api import GraphicsControllerApi -from .apis.hcl_compatibility_info_api import HclCompatibilityInfoApi +from .apis.hcl_compatibility_status_api import HclCompatibilityStatusApi from .apis.hcl_data_import_log_api import HclDataImportLogApi -from .apis.hcl_note_api import HclNoteApi +from .apis.hcl_service_status_api import HclServiceStatusApi +from .apis.hcl_supported_driver_name_api import HclSupportedDriverNameApi from .apis.hyperflex_alarm_api import HyperflexAlarmApi +from .apis.hyperflex_app_catalog_api import HyperflexAppCatalogApi from .apis.hyperflex_auto_support_policy_api import HyperflexAutoSupportPolicyApi from .apis.hyperflex_cluster_api import HyperflexClusterApi from .apis.hyperflex_cluster_network_policy_api import HyperflexClusterNetworkPolicyApi @@ -779,10 +918,15 @@ from .apis.hyperflex_config_result_entry_api import HyperflexConfigResultEntryApi from .apis.hyperflex_ext_fc_storage_policy_api import HyperflexExtFcStoragePolicyApi from .apis.hyperflex_ext_iscsi_storage_policy_api import HyperflexExtIscsiStoragePolicyApi +from .apis.hyperflex_feature_limit_external_api import HyperflexFeatureLimitExternalApi +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_config_policy_api import HyperflexNodeConfigPolicyApi from .apis.hyperflex_node_profile_api import HyperflexNodeProfileApi from .apis.hyperflex_proxy_setting_policy_api import HyperflexProxySettingPolicyApi +from .apis.hyperflex_server_firmware_version_api import HyperflexServerFirmwareVersionApi +from .apis.hyperflex_server_model_api import HyperflexServerModelApi from .apis.hyperflex_sys_config_policy_api import HyperflexSysConfigPolicyApi from .apis.hyperflex_ucsm_config_policy_api import HyperflexUcsmConfigPolicyApi from .apis.hyperflex_vcenter_config_policy_api import HyperflexVcenterConfigPolicyApi @@ -792,6 +936,7 @@ from .apis.iaas_ucsd_info_api import IaasUcsdInfoApi from .apis.iam_account_api import IamAccountApi from .apis.iam_api_key_api import IamApiKeyApi +from .apis.iam_domain_group_api import IamDomainGroupApi from .apis.iam_end_point_privilege_api import IamEndPointPrivilegeApi from .apis.iam_end_point_role_api import IamEndPointRoleApi from .apis.iam_end_point_user_api import IamEndPointUserApi @@ -808,6 +953,7 @@ from .apis.iam_qualifier_api import IamQualifierApi from .apis.iam_resource_limits_api import IamResourceLimitsApi from .apis.iam_role_api import IamRoleApi +from .apis.iam_service_provider_api import IamServiceProviderApi from .apis.iam_session_api import IamSessionApi from .apis.iam_session_limits_api import IamSessionLimitsApi from .apis.iam_system_api import IamSystemApi @@ -836,14 +982,15 @@ 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.port_group_api import PortGroupApi from .apis.port_sub_group_api import PortSubGroupApi from .apis.processor_unit_api import ProcessorUnitApi +from .apis.sdcard_policy_api import SdcardPolicyApi from .apis.search_search_item_api import SearchSearchItemApi from .apis.search_suggest_item_api import SearchSuggestItemApi from .apis.search_tag_item_api import SearchTagItemApi from .apis.security_unit_api import SecurityUnitApi +from .apis.server_config_change_detail_api import ServerConfigChangeDetailApi from .apis.server_config_result_api import ServerConfigResultApi from .apis.server_config_result_entry_api import ServerConfigResultEntryApi from .apis.server_profile_api import ServerProfileApi @@ -868,16 +1015,22 @@ 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.syslog_policy_api import SyslogPolicyApi from .apis.task_workflow_action_api import TaskWorkflowActionApi from .apis.terminal_audit_log_api import TerminalAuditLogApi +from .apis.testcrypt_administrator_api import TestcryptAdministratorApi +from .apis.testcrypt_credential_api import TestcryptCredentialApi +from .apis.testcrypt_read_only_user_api import TestcryptReadOnlyUserApi +from .apis.testcrypt_shadow_credential_api import TestcryptShadowCredentialApi from .apis.top_system_api import TopSystemApi from .apis.vmedia_policy_api import VmediaPolicyApi from .apis.workflow_build_task_meta_api import WorkflowBuildTaskMetaApi +from .apis.workflow_build_task_meta_owner_api import WorkflowBuildTaskMetaOwnerApi +from .apis.workflow_pending_dynamic_workflow_info_api import WorkflowPendingDynamicWorkflowInfoApi from .apis.workflow_task_info_api import WorkflowTaskInfoApi from .apis.workflow_task_meta_api import WorkflowTaskMetaApi from .apis.workflow_workflow_info_api import WorkflowWorkflowInfoApi from .apis.workflow_workflow_meta_api import WorkflowWorkflowMetaApi -from .apis.workflow_workflow_task_api import WorkflowWorkflowTaskApi # import ApiClient from .api_client import ApiClient diff --git a/intersight/api_client.py b/intersight/api_client.py index 3e95ffeb..3e43fc90 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/apis/__init__.py b/intersight/apis/__init__.py index 63de9f67..cf876e41 100644 --- a/intersight/apis/__init__.py +++ b/intersight/apis/__init__.py @@ -7,7 +7,9 @@ from .adapter_host_fc_interface_api import AdapterHostFcInterfaceApi from .adapter_host_iscsi_interface_api import AdapterHostIscsiInterfaceApi from .adapter_unit_api import AdapterUnitApi +from .asset_cluster_member_api import AssetClusterMemberApi from .asset_device_claim_api import AssetDeviceClaimApi +from .asset_device_configuration_api import AssetDeviceConfigurationApi from .asset_device_registration_api import AssetDeviceRegistrationApi from .bios_policy_api import BiosPolicyApi from .bios_unit_api import BiosUnitApi @@ -45,10 +47,12 @@ from .firmware_upgrade_status_api import FirmwareUpgradeStatusApi from .graphics_card_api import GraphicsCardApi from .graphics_controller_api import GraphicsControllerApi -from .hcl_compatibility_info_api import HclCompatibilityInfoApi +from .hcl_compatibility_status_api import HclCompatibilityStatusApi from .hcl_data_import_log_api import HclDataImportLogApi -from .hcl_note_api import HclNoteApi +from .hcl_service_status_api import HclServiceStatusApi +from .hcl_supported_driver_name_api import HclSupportedDriverNameApi from .hyperflex_alarm_api import HyperflexAlarmApi +from .hyperflex_app_catalog_api import HyperflexAppCatalogApi from .hyperflex_auto_support_policy_api import HyperflexAutoSupportPolicyApi from .hyperflex_cluster_api import HyperflexClusterApi from .hyperflex_cluster_network_policy_api import HyperflexClusterNetworkPolicyApi @@ -58,10 +62,15 @@ from .hyperflex_config_result_entry_api import HyperflexConfigResultEntryApi from .hyperflex_ext_fc_storage_policy_api import HyperflexExtFcStoragePolicyApi from .hyperflex_ext_iscsi_storage_policy_api import HyperflexExtIscsiStoragePolicyApi +from .hyperflex_feature_limit_external_api import HyperflexFeatureLimitExternalApi +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_config_policy_api import HyperflexNodeConfigPolicyApi from .hyperflex_node_profile_api import HyperflexNodeProfileApi from .hyperflex_proxy_setting_policy_api import HyperflexProxySettingPolicyApi +from .hyperflex_server_firmware_version_api import HyperflexServerFirmwareVersionApi +from .hyperflex_server_model_api import HyperflexServerModelApi from .hyperflex_sys_config_policy_api import HyperflexSysConfigPolicyApi from .hyperflex_ucsm_config_policy_api import HyperflexUcsmConfigPolicyApi from .hyperflex_vcenter_config_policy_api import HyperflexVcenterConfigPolicyApi @@ -71,6 +80,7 @@ from .iaas_ucsd_info_api import IaasUcsdInfoApi from .iam_account_api import IamAccountApi from .iam_api_key_api import IamApiKeyApi +from .iam_domain_group_api import IamDomainGroupApi from .iam_end_point_privilege_api import IamEndPointPrivilegeApi from .iam_end_point_role_api import IamEndPointRoleApi from .iam_end_point_user_api import IamEndPointUserApi @@ -87,6 +97,7 @@ from .iam_qualifier_api import IamQualifierApi from .iam_resource_limits_api import IamResourceLimitsApi from .iam_role_api import IamRoleApi +from .iam_service_provider_api import IamServiceProviderApi from .iam_session_api import IamSessionApi from .iam_session_limits_api import IamSessionLimitsApi from .iam_system_api import IamSystemApi @@ -115,14 +126,15 @@ 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 .port_group_api import PortGroupApi from .port_sub_group_api import PortSubGroupApi from .processor_unit_api import ProcessorUnitApi +from .sdcard_policy_api import SdcardPolicyApi from .search_search_item_api import SearchSearchItemApi from .search_suggest_item_api import SearchSuggestItemApi from .search_tag_item_api import SearchTagItemApi from .security_unit_api import SecurityUnitApi +from .server_config_change_detail_api import ServerConfigChangeDetailApi from .server_config_result_api import ServerConfigResultApi from .server_config_result_entry_api import ServerConfigResultEntryApi from .server_profile_api import ServerProfileApi @@ -147,13 +159,19 @@ from .storage_storage_policy_api import StorageStoragePolicyApi from .storage_vd_member_ep_api import StorageVdMemberEpApi from .storage_virtual_drive_api import StorageVirtualDriveApi +from .syslog_policy_api import SyslogPolicyApi from .task_workflow_action_api import TaskWorkflowActionApi from .terminal_audit_log_api import TerminalAuditLogApi +from .testcrypt_administrator_api import TestcryptAdministratorApi +from .testcrypt_credential_api import TestcryptCredentialApi +from .testcrypt_read_only_user_api import TestcryptReadOnlyUserApi +from .testcrypt_shadow_credential_api import TestcryptShadowCredentialApi from .top_system_api import TopSystemApi from .vmedia_policy_api import VmediaPolicyApi from .workflow_build_task_meta_api import WorkflowBuildTaskMetaApi +from .workflow_build_task_meta_owner_api import WorkflowBuildTaskMetaOwnerApi +from .workflow_pending_dynamic_workflow_info_api import WorkflowPendingDynamicWorkflowInfoApi from .workflow_task_info_api import WorkflowTaskInfoApi from .workflow_task_meta_api import WorkflowTaskMetaApi from .workflow_workflow_info_api import WorkflowWorkflowInfoApi from .workflow_workflow_meta_api import WorkflowWorkflowMetaApi -from .workflow_workflow_task_api import WorkflowWorkflowTaskApi diff --git a/intersight/apis/aaa_audit_record_api.py b/intersight/apis/aaa_audit_record_api.py index f56e02b5..1e7b57db 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def aaa_audit_records_get(self, **kwargs): """ - List of aaaAuditRecords + Get a list of 'aaaAuditRecord' 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,14 @@ def aaa_audit_records_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)) :return: AaaAuditRecordList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def aaa_audit_records_get(self, **kwargs): def aaa_audit_records_get_with_http_info(self, **kwargs): """ - List of aaaAuditRecords + Get a list of 'aaaAuditRecord' 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 +87,20 @@ def aaa_audit_records_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)) :return: AaaAuditRecordList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def aaa_audit_records_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 +138,8 @@ def aaa_audit_records_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'])) header_params = {} @@ -175,7 +175,7 @@ def aaa_audit_records_get_with_http_info(self, **kwargs): def aaa_audit_records_moid_get(self, moid, **kwargs): """ - A instance of aaaAuditRecord + Get a specific instance of 'aaaAuditRecord' This method makes 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 +200,7 @@ def aaa_audit_records_moid_get(self, moid, **kwargs): def aaa_audit_records_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of aaaAuditRecord + Get a specific instance of 'aaaAuditRecord' This method makes 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/adapter_ext_eth_interface_api.py b/intersight/apis/adapter_ext_eth_interface_api.py index fade0010..c03d99f0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def adapter_ext_eth_interfaces_get(self, **kwargs): """ - List of adapterExtEthInterfaces + Get a list of 'adapterExtEthInterface' 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,14 @@ def adapter_ext_eth_interfaces_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)) :return: AdapterExtEthInterfaceList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def adapter_ext_eth_interfaces_get(self, **kwargs): def adapter_ext_eth_interfaces_get_with_http_info(self, **kwargs): """ - List of adapterExtEthInterfaces + Get a list of 'adapterExtEthInterface' 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 +87,20 @@ def adapter_ext_eth_interfaces_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)) :return: AdapterExtEthInterfaceList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def adapter_ext_eth_interfaces_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 +138,8 @@ def adapter_ext_eth_interfaces_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'])) header_params = {} @@ -175,7 +175,7 @@ def adapter_ext_eth_interfaces_get_with_http_info(self, **kwargs): def adapter_ext_eth_interfaces_moid_get(self, moid, **kwargs): """ - A instance of adapterExtEthInterface + Get a specific instance of 'adapterExtEthInterface' This method makes 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 +200,7 @@ def adapter_ext_eth_interfaces_moid_get(self, moid, **kwargs): def adapter_ext_eth_interfaces_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of adapterExtEthInterface + Get a specific instance of 'adapterExtEthInterface' This method makes 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/adapter_host_eth_interface_api.py b/intersight/apis/adapter_host_eth_interface_api.py index 22e231e8..c186b4fe 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def adapter_host_eth_interfaces_get(self, **kwargs): """ - List of adapterHostEthInterfaces + Get a list of 'adapterHostEthInterface' 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,14 @@ def adapter_host_eth_interfaces_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)) :return: AdapterHostEthInterfaceList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def adapter_host_eth_interfaces_get(self, **kwargs): def adapter_host_eth_interfaces_get_with_http_info(self, **kwargs): """ - List of adapterHostEthInterfaces + Get a list of 'adapterHostEthInterface' 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 +87,20 @@ def adapter_host_eth_interfaces_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)) :return: AdapterHostEthInterfaceList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def adapter_host_eth_interfaces_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 +138,8 @@ def adapter_host_eth_interfaces_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'])) header_params = {} @@ -175,7 +175,7 @@ def adapter_host_eth_interfaces_get_with_http_info(self, **kwargs): def adapter_host_eth_interfaces_moid_get(self, moid, **kwargs): """ - A instance of adapterHostEthInterface + Get a specific instance of 'adapterHostEthInterface' This method makes 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 +200,7 @@ def adapter_host_eth_interfaces_moid_get(self, moid, **kwargs): def adapter_host_eth_interfaces_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of adapterHostEthInterface + Get a specific instance of 'adapterHostEthInterface' This method makes 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/adapter_host_fc_interface_api.py b/intersight/apis/adapter_host_fc_interface_api.py index a1b01e96..07680d05 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def adapter_host_fc_interfaces_get(self, **kwargs): """ - List of adapterHostFcInterfaces + Get a list of 'adapterHostFcInterface' 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,14 @@ def adapter_host_fc_interfaces_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)) :return: AdapterHostFcInterfaceList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def adapter_host_fc_interfaces_get(self, **kwargs): def adapter_host_fc_interfaces_get_with_http_info(self, **kwargs): """ - List of adapterHostFcInterfaces + Get a list of 'adapterHostFcInterface' 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 +87,20 @@ def adapter_host_fc_interfaces_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)) :return: AdapterHostFcInterfaceList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def adapter_host_fc_interfaces_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 +138,8 @@ def adapter_host_fc_interfaces_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'])) header_params = {} @@ -175,7 +175,7 @@ def adapter_host_fc_interfaces_get_with_http_info(self, **kwargs): def adapter_host_fc_interfaces_moid_get(self, moid, **kwargs): """ - A instance of adapterHostFcInterface + Get a specific instance of 'adapterHostFcInterface' This method makes 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 +200,7 @@ def adapter_host_fc_interfaces_moid_get(self, moid, **kwargs): def adapter_host_fc_interfaces_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of adapterHostFcInterface + Get a specific instance of 'adapterHostFcInterface' This method makes 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/adapter_host_iscsi_interface_api.py b/intersight/apis/adapter_host_iscsi_interface_api.py index 5ae71b16..257bb94b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def adapter_host_iscsi_interfaces_get(self, **kwargs): """ - List of adapterHostIscsiInterfaces + Get a list of 'adapterHostIscsiInterface' 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,14 @@ def adapter_host_iscsi_interfaces_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)) :return: AdapterHostIscsiInterfaceList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def adapter_host_iscsi_interfaces_get(self, **kwargs): def adapter_host_iscsi_interfaces_get_with_http_info(self, **kwargs): """ - List of adapterHostIscsiInterfaces + Get a list of 'adapterHostIscsiInterface' 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 +87,20 @@ def adapter_host_iscsi_interfaces_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)) :return: AdapterHostIscsiInterfaceList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def adapter_host_iscsi_interfaces_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 +138,8 @@ def adapter_host_iscsi_interfaces_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'])) header_params = {} @@ -175,7 +175,7 @@ def adapter_host_iscsi_interfaces_get_with_http_info(self, **kwargs): def adapter_host_iscsi_interfaces_moid_get(self, moid, **kwargs): """ - A instance of adapterHostIscsiInterface + Get a specific instance of 'adapterHostIscsiInterface' This method makes 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 +200,7 @@ def adapter_host_iscsi_interfaces_moid_get(self, moid, **kwargs): def adapter_host_iscsi_interfaces_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of adapterHostIscsiInterface + Get a specific instance of 'adapterHostIscsiInterface' This method makes 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/adapter_unit_api.py b/intersight/apis/adapter_unit_api.py index 21205a74..1011d9b8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def adapter_units_get(self, **kwargs): """ - List of adapterUnits + Get a list of 'adapterUnit' 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,14 @@ def adapter_units_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)) :return: AdapterUnitList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def adapter_units_get(self, **kwargs): def adapter_units_get_with_http_info(self, **kwargs): """ - List of adapterUnits + Get a list of 'adapterUnit' 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 +87,20 @@ def adapter_units_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)) :return: AdapterUnitList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def adapter_units_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 +138,8 @@ def adapter_units_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'])) header_params = {} @@ -175,7 +175,7 @@ def adapter_units_get_with_http_info(self, **kwargs): def adapter_units_moid_get(self, moid, **kwargs): """ - A instance of adapterUnit + Get a specific instance of 'adapterUnit' This method makes 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 +200,7 @@ def adapter_units_moid_get(self, moid, **kwargs): def adapter_units_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of adapterUnit + Get a specific instance of 'adapterUnit' This method makes 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/asset_cluster_member_api.py b/intersight/apis/asset_cluster_member_api.py new file mode 100644 index 00000000..ea7c4e1b --- /dev/null +++ b/intersight/apis/asset_cluster_member_api.py @@ -0,0 +1,278 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 AssetClusterMemberApi(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 asset_cluster_members_get(self, **kwargs): + """ + Get a list of 'assetClusterMember' 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.asset_cluster_members_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)) + :return: AssetClusterMemberList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.asset_cluster_members_get_with_http_info(**kwargs) + else: + (data) = self.asset_cluster_members_get_with_http_info(**kwargs) + return data + + def asset_cluster_members_get_with_http_info(self, **kwargs): + """ + Get a list of 'assetClusterMember' 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.asset_cluster_members_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)) + :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.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 asset_cluster_members_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'])) + + 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('/asset/ClusterMembers', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AssetClusterMemberList', + 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 asset_cluster_members_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'assetClusterMember' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.asset_cluster_members_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the assetClusterMember instance. (required) + :return: AssetClusterMember + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.asset_cluster_members_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.asset_cluster_members_moid_get_with_http_info(moid, **kwargs) + return data + + def asset_cluster_members_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'assetClusterMember' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.asset_cluster_members_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 assetClusterMember instance. (required) + :return: AssetClusterMember + 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 asset_cluster_members_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 `asset_cluster_members_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('/asset/ClusterMembers/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AssetClusterMember', + 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/asset_device_claim_api.py b/intersight/apis/asset_device_claim_api.py index 0290bf7e..ba452c87 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def asset_device_claims_moid_delete(self, moid, **kwargs): """ - Delete an instance of assetDeviceClaim + Delete an instance of 'assetDeviceClaim' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +67,7 @@ def asset_device_claims_moid_delete(self, moid, **kwargs): def asset_device_claims_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of assetDeviceClaim + Delete an instance of 'assetDeviceClaim' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -146,7 +146,7 @@ def asset_device_claims_moid_delete_with_http_info(self, moid, **kwargs): def asset_device_claims_post(self, body, **kwargs): """ - Create a assetDeviceClaim + Create an instance of 'assetDeviceClaim' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -171,7 +171,7 @@ def asset_device_claims_post(self, body, **kwargs): def asset_device_claims_post_with_http_info(self, body, **kwargs): """ - Create a assetDeviceClaim + Create an instance of 'assetDeviceClaim' This method makes 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/asset_device_configuration_api.py b/intersight/apis/asset_device_configuration_api.py new file mode 100644 index 00000000..14424fdc --- /dev/null +++ b/intersight/apis/asset_device_configuration_api.py @@ -0,0 +1,500 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 AssetDeviceConfigurationApi(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 asset_device_configurations_get(self, **kwargs): + """ + Get a list of 'assetDeviceConfiguration' 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.asset_device_configurations_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)) + :return: AssetDeviceConfigurationList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.asset_device_configurations_get_with_http_info(**kwargs) + else: + (data) = self.asset_device_configurations_get_with_http_info(**kwargs) + return data + + def asset_device_configurations_get_with_http_info(self, **kwargs): + """ + Get a list of 'assetDeviceConfiguration' 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.asset_device_configurations_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)) + :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.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 asset_device_configurations_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'])) + + 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('/asset/DeviceConfigurations', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AssetDeviceConfigurationList', + 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 asset_device_configurations_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'assetDeviceConfiguration' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.asset_device_configurations_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the assetDeviceConfiguration instance. (required) + :return: AssetDeviceConfiguration + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.asset_device_configurations_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.asset_device_configurations_moid_get_with_http_info(moid, **kwargs) + return data + + def asset_device_configurations_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'assetDeviceConfiguration' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.asset_device_configurations_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 assetDeviceConfiguration instance. (required) + :return: AssetDeviceConfiguration + 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 asset_device_configurations_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 `asset_device_configurations_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('/asset/DeviceConfigurations/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AssetDeviceConfiguration', + 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 asset_device_configurations_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'assetDeviceConfiguration' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.asset_device_configurations_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the assetDeviceConfiguration instance. (required) + :param AssetDeviceConfiguration body: assetDeviceConfiguration 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.asset_device_configurations_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.asset_device_configurations_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def asset_device_configurations_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'assetDeviceConfiguration' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.asset_device_configurations_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 assetDeviceConfiguration instance. (required) + :param AssetDeviceConfiguration body: assetDeviceConfiguration 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 asset_device_configurations_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 `asset_device_configurations_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 `asset_device_configurations_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('/asset/DeviceConfigurations/{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 asset_device_configurations_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'assetDeviceConfiguration' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.asset_device_configurations_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the assetDeviceConfiguration instance. (required) + :param AssetDeviceConfiguration body: assetDeviceConfiguration 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.asset_device_configurations_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.asset_device_configurations_moid_post_with_http_info(moid, body, **kwargs) + return data + + def asset_device_configurations_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'assetDeviceConfiguration' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.asset_device_configurations_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 assetDeviceConfiguration instance. (required) + :param AssetDeviceConfiguration body: assetDeviceConfiguration 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 asset_device_configurations_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 `asset_device_configurations_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 `asset_device_configurations_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('/asset/DeviceConfigurations/{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/asset_device_registration_api.py b/intersight/apis/asset_device_registration_api.py index 4045879e..048c9f01 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def asset_device_registrations_get(self, **kwargs): """ - List of assetDeviceRegistrations + Get a list of 'assetDeviceRegistration' 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,14 @@ def asset_device_registrations_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)) :return: AssetDeviceRegistrationList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def asset_device_registrations_get(self, **kwargs): def asset_device_registrations_get_with_http_info(self, **kwargs): """ - List of assetDeviceRegistrations + Get a list of 'assetDeviceRegistration' 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 +87,20 @@ def asset_device_registrations_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)) :return: AssetDeviceRegistrationList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def asset_device_registrations_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 +138,8 @@ def asset_device_registrations_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'])) header_params = {} @@ -175,7 +175,7 @@ def asset_device_registrations_get_with_http_info(self, **kwargs): def asset_device_registrations_moid_delete(self, moid, **kwargs): """ - Delete an instance of assetDeviceRegistration + Deletes the resource representing the device connector. All associated REST resources will be deleted. In particular, inventory and operational data associated with this device will be deleted. This method makes 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 +200,7 @@ def asset_device_registrations_moid_delete(self, moid, **kwargs): def asset_device_registrations_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of assetDeviceRegistration + Deletes the resource representing the device connector. All associated REST resources will be deleted. In particular, inventory and operational data associated with this device will be deleted. This method makes 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 +279,7 @@ def asset_device_registrations_moid_delete_with_http_info(self, moid, **kwargs): def asset_device_registrations_moid_get(self, moid, **kwargs): """ - A instance of assetDeviceRegistration + Get a specific instance of 'assetDeviceRegistration' This method makes 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 +304,7 @@ def asset_device_registrations_moid_get(self, moid, **kwargs): def asset_device_registrations_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of assetDeviceRegistration + Get a specific instance of 'assetDeviceRegistration' This method makes 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 +383,7 @@ def asset_device_registrations_moid_get_with_http_info(self, moid, **kwargs): def asset_device_registrations_moid_patch(self, moid, body, **kwargs): """ - Update an instance of assetDeviceRegistration + Updates the resource representing the device connector. For example, this can be used to annotate the device connector resource with user-specified tags. This method makes 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 +409,7 @@ def asset_device_registrations_moid_patch(self, moid, body, **kwargs): def asset_device_registrations_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of assetDeviceRegistration + Updates the resource representing the device connector. For example, this can be used to annotate the device connector resource with user-specified tags. This method makes 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 +494,7 @@ def asset_device_registrations_moid_patch_with_http_info(self, moid, body, **kwa def asset_device_registrations_moid_post(self, moid, body, **kwargs): """ - Update an instance of assetDeviceRegistration + Updates the resource representing the device connector. For example, this can be used to annotate the device connector resource with user-specified tags. This method makes 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 +520,7 @@ def asset_device_registrations_moid_post(self, moid, body, **kwargs): def asset_device_registrations_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of assetDeviceRegistration + Updates the resource representing the device connector. For example, this can be used to annotate the device connector resource with user-specified tags. This method makes 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/bios_policy_api.py b/intersight/apis/bios_policy_api.py index b7b54165..0a8e6fac 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def bios_policies_get(self, **kwargs): """ - List of biosPolicies + Get a list of 'biosPolicy' 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,14 @@ def bios_policies_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)) :return: BiosPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def bios_policies_get(self, **kwargs): def bios_policies_get_with_http_info(self, **kwargs): """ - List of biosPolicies + Get a list of 'biosPolicy' 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 +87,20 @@ def bios_policies_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)) :return: BiosPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def bios_policies_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 +138,8 @@ def bios_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def bios_policies_get_with_http_info(self, **kwargs): def bios_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of biosPolicy + Delete an instance of 'biosPolicy' This method makes 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 +200,7 @@ def bios_policies_moid_delete(self, moid, **kwargs): def bios_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of biosPolicy + Delete an instance of 'biosPolicy' This method makes 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 +279,7 @@ def bios_policies_moid_delete_with_http_info(self, moid, **kwargs): def bios_policies_moid_get(self, moid, **kwargs): """ - A instance of biosPolicy + Get a specific instance of 'biosPolicy' This method makes 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 +304,7 @@ def bios_policies_moid_get(self, moid, **kwargs): def bios_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of biosPolicy + Get a specific instance of 'biosPolicy' This method makes 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 +383,7 @@ def bios_policies_moid_get_with_http_info(self, moid, **kwargs): def bios_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of biosPolicy + Update an instance of 'biosPolicy' This method makes 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 +409,7 @@ def bios_policies_moid_patch(self, moid, body, **kwargs): def bios_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of biosPolicy + Update an instance of 'biosPolicy' This method makes 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 +494,7 @@ def bios_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def bios_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of biosPolicy + Update an instance of 'biosPolicy' This method makes 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 +520,7 @@ def bios_policies_moid_post(self, moid, body, **kwargs): def bios_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of biosPolicy + Update an instance of 'biosPolicy' This method makes 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 +605,7 @@ def bios_policies_moid_post_with_http_info(self, moid, body, **kwargs): def bios_policies_post(self, body, **kwargs): """ - Create a biosPolicy + Create an instance of 'biosPolicy' This method makes 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 +630,7 @@ def bios_policies_post(self, body, **kwargs): def bios_policies_post_with_http_info(self, body, **kwargs): """ - Create a biosPolicy + Create an instance of 'biosPolicy' This method makes 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/bios_unit_api.py b/intersight/apis/bios_unit_api.py index 35771053..61e37959 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def bios_units_get(self, **kwargs): """ - List of biosUnits + Get a list of 'biosUnit' 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,14 @@ def bios_units_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)) :return: BiosUnitList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def bios_units_get(self, **kwargs): def bios_units_get_with_http_info(self, **kwargs): """ - List of biosUnits + Get a list of 'biosUnit' 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 +87,20 @@ def bios_units_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)) :return: BiosUnitList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def bios_units_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 +138,8 @@ def bios_units_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'])) header_params = {} @@ -175,7 +175,7 @@ def bios_units_get_with_http_info(self, **kwargs): def bios_units_moid_get(self, moid, **kwargs): """ - A instance of biosUnit + Get a specific instance of 'biosUnit' This method makes 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 +200,7 @@ def bios_units_moid_get(self, moid, **kwargs): def bios_units_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of biosUnit + Get a specific instance of 'biosUnit' This method makes 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 +279,7 @@ def bios_units_moid_get_with_http_info(self, moid, **kwargs): def bios_units_moid_patch(self, moid, body, **kwargs): """ - Update an instance of biosUnit + Update an instance of 'biosUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def bios_units_moid_patch(self, moid, body, **kwargs): def bios_units_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of biosUnit + Update an instance of 'biosUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def bios_units_moid_patch_with_http_info(self, moid, body, **kwargs): def bios_units_moid_post(self, moid, body, **kwargs): """ - Update an instance of biosUnit + Update an instance of 'biosUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def bios_units_moid_post(self, moid, body, **kwargs): def bios_units_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of biosUnit + Update an instance of 'biosUnit' This method makes 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/boot_precision_policy_api.py b/intersight/apis/boot_precision_policy_api.py index eb2f51e9..3c1da279 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def boot_precision_policies_get(self, **kwargs): """ - List of bootPrecisionPolicies + Get a list of 'bootPrecisionPolicy' 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,14 @@ def boot_precision_policies_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)) :return: BootPrecisionPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def boot_precision_policies_get(self, **kwargs): def boot_precision_policies_get_with_http_info(self, **kwargs): """ - List of bootPrecisionPolicies + Get a list of 'bootPrecisionPolicy' 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 +87,20 @@ def boot_precision_policies_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)) :return: BootPrecisionPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def boot_precision_policies_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 +138,8 @@ def boot_precision_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def boot_precision_policies_get_with_http_info(self, **kwargs): def boot_precision_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of bootPrecisionPolicy + Delete an instance of 'bootPrecisionPolicy' This method makes 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 +200,7 @@ def boot_precision_policies_moid_delete(self, moid, **kwargs): def boot_precision_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of bootPrecisionPolicy + Delete an instance of 'bootPrecisionPolicy' This method makes 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 +279,7 @@ def boot_precision_policies_moid_delete_with_http_info(self, moid, **kwargs): def boot_precision_policies_moid_get(self, moid, **kwargs): """ - A instance of bootPrecisionPolicy + Get a specific instance of 'bootPrecisionPolicy' This method makes 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 +304,7 @@ def boot_precision_policies_moid_get(self, moid, **kwargs): def boot_precision_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of bootPrecisionPolicy + Get a specific instance of 'bootPrecisionPolicy' This method makes 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 +383,7 @@ def boot_precision_policies_moid_get_with_http_info(self, moid, **kwargs): def boot_precision_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of bootPrecisionPolicy + Update an instance of 'bootPrecisionPolicy' This method makes 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 +409,7 @@ def boot_precision_policies_moid_patch(self, moid, body, **kwargs): def boot_precision_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of bootPrecisionPolicy + Update an instance of 'bootPrecisionPolicy' This method makes 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 +494,7 @@ def boot_precision_policies_moid_patch_with_http_info(self, moid, body, **kwargs def boot_precision_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of bootPrecisionPolicy + Update an instance of 'bootPrecisionPolicy' This method makes 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 +520,7 @@ def boot_precision_policies_moid_post(self, moid, body, **kwargs): def boot_precision_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of bootPrecisionPolicy + Update an instance of 'bootPrecisionPolicy' This method makes 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 +605,7 @@ def boot_precision_policies_moid_post_with_http_info(self, moid, body, **kwargs) def boot_precision_policies_post(self, body, **kwargs): """ - Create a bootPrecisionPolicy + Create an instance of 'bootPrecisionPolicy' This method makes 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 +630,7 @@ def boot_precision_policies_post(self, body, **kwargs): def boot_precision_policies_post_with_http_info(self, body, **kwargs): """ - Create a bootPrecisionPolicy + Create an instance of 'bootPrecisionPolicy' This method makes 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/compute_blade_api.py b/intersight/apis/compute_blade_api.py index b8235513..600a33e2 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def compute_blades_get(self, **kwargs): """ - List of computeBlades + Get a list of 'computeBlade' 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,14 @@ def compute_blades_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)) :return: ComputeBladeList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def compute_blades_get(self, **kwargs): def compute_blades_get_with_http_info(self, **kwargs): """ - List of computeBlades + Get a list of 'computeBlade' 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 +87,20 @@ def compute_blades_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)) :return: ComputeBladeList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def compute_blades_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 +138,8 @@ def compute_blades_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'])) header_params = {} @@ -175,7 +175,7 @@ def compute_blades_get_with_http_info(self, **kwargs): def compute_blades_moid_get(self, moid, **kwargs): """ - A instance of computeBlade + Get a specific instance of 'computeBlade' This method makes 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 +200,7 @@ def compute_blades_moid_get(self, moid, **kwargs): def compute_blades_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of computeBlade + Get a specific instance of 'computeBlade' This method makes 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 +279,7 @@ def compute_blades_moid_get_with_http_info(self, moid, **kwargs): def compute_blades_moid_patch(self, moid, body, **kwargs): """ - Update an instance of computeBlade + Update an instance of 'computeBlade' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def compute_blades_moid_patch(self, moid, body, **kwargs): def compute_blades_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of computeBlade + Update an instance of 'computeBlade' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def compute_blades_moid_patch_with_http_info(self, moid, body, **kwargs): def compute_blades_moid_post(self, moid, body, **kwargs): """ - Update an instance of computeBlade + Update an instance of 'computeBlade' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def compute_blades_moid_post(self, moid, body, **kwargs): def compute_blades_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of computeBlade + Update an instance of 'computeBlade' This method makes 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/compute_board_api.py b/intersight/apis/compute_board_api.py index b1d3d0bd..9c7e3131 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def compute_boards_get(self, **kwargs): """ - List of computeBoards + Get a list of 'computeBoard' 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,14 @@ def compute_boards_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)) :return: ComputeBoardList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def compute_boards_get(self, **kwargs): def compute_boards_get_with_http_info(self, **kwargs): """ - List of computeBoards + Get a list of 'computeBoard' 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 +87,20 @@ def compute_boards_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)) :return: ComputeBoardList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def compute_boards_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 +138,8 @@ def compute_boards_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'])) header_params = {} @@ -175,7 +175,7 @@ def compute_boards_get_with_http_info(self, **kwargs): def compute_boards_moid_get(self, moid, **kwargs): """ - A instance of computeBoard + Get a specific instance of 'computeBoard' This method makes 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 +200,7 @@ def compute_boards_moid_get(self, moid, **kwargs): def compute_boards_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of computeBoard + Get a specific instance of 'computeBoard' This method makes 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 +279,7 @@ def compute_boards_moid_get_with_http_info(self, moid, **kwargs): def compute_boards_moid_patch(self, moid, body, **kwargs): """ - Update an instance of computeBoard + Update an instance of 'computeBoard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def compute_boards_moid_patch(self, moid, body, **kwargs): def compute_boards_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of computeBoard + Update an instance of 'computeBoard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def compute_boards_moid_patch_with_http_info(self, moid, body, **kwargs): def compute_boards_moid_post(self, moid, body, **kwargs): """ - Update an instance of computeBoard + Update an instance of 'computeBoard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def compute_boards_moid_post(self, moid, body, **kwargs): def compute_boards_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of computeBoard + Update an instance of 'computeBoard' This method makes 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/compute_physical_summary_api.py b/intersight/apis/compute_physical_summary_api.py index 8b9d46f2..b9c84cf7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def compute_physical_summaries_get(self, **kwargs): """ - List of computePhysicalSummaries + Get a list of 'computePhysicalSummary' 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,14 @@ def compute_physical_summaries_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)) :return: ComputePhysicalSummaryList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def compute_physical_summaries_get(self, **kwargs): def compute_physical_summaries_get_with_http_info(self, **kwargs): """ - List of computePhysicalSummaries + Get a list of 'computePhysicalSummary' 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 +87,20 @@ def compute_physical_summaries_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)) :return: ComputePhysicalSummaryList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def compute_physical_summaries_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 +138,8 @@ def compute_physical_summaries_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'])) header_params = {} @@ -175,7 +175,7 @@ def compute_physical_summaries_get_with_http_info(self, **kwargs): def compute_physical_summaries_moid_get(self, moid, **kwargs): """ - A instance of computePhysicalSummary + Get a specific instance of 'computePhysicalSummary' This method makes 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 +200,7 @@ def compute_physical_summaries_moid_get(self, moid, **kwargs): def compute_physical_summaries_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of computePhysicalSummary + Get a specific instance of 'computePhysicalSummary' This method makes 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/compute_rack_unit_api.py b/intersight/apis/compute_rack_unit_api.py index cf5ab53a..8137e576 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def compute_rack_units_get(self, **kwargs): """ - List of computeRackUnits + Get a list of 'computeRackUnit' 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,14 @@ def compute_rack_units_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)) :return: ComputeRackUnitList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def compute_rack_units_get(self, **kwargs): def compute_rack_units_get_with_http_info(self, **kwargs): """ - List of computeRackUnits + Get a list of 'computeRackUnit' 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 +87,20 @@ def compute_rack_units_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)) :return: ComputeRackUnitList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def compute_rack_units_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 +138,8 @@ def compute_rack_units_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'])) header_params = {} @@ -175,7 +175,7 @@ def compute_rack_units_get_with_http_info(self, **kwargs): def compute_rack_units_moid_get(self, moid, **kwargs): """ - A instance of computeRackUnit + Get a specific instance of 'computeRackUnit' This method makes 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 +200,7 @@ def compute_rack_units_moid_get(self, moid, **kwargs): def compute_rack_units_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of computeRackUnit + Get a specific instance of 'computeRackUnit' This method makes 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 +279,7 @@ def compute_rack_units_moid_get_with_http_info(self, moid, **kwargs): def compute_rack_units_moid_patch(self, moid, body, **kwargs): """ - Update an instance of computeRackUnit + Update an instance of 'computeRackUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def compute_rack_units_moid_patch(self, moid, body, **kwargs): def compute_rack_units_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of computeRackUnit + Update an instance of 'computeRackUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def compute_rack_units_moid_patch_with_http_info(self, moid, body, **kwargs): def compute_rack_units_moid_post(self, moid, body, **kwargs): """ - Update an instance of computeRackUnit + Update an instance of 'computeRackUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def compute_rack_units_moid_post(self, moid, body, **kwargs): def compute_rack_units_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of computeRackUnit + Update an instance of 'computeRackUnit' This method makes 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/compute_server_setting_api.py b/intersight/apis/compute_server_setting_api.py index c3f129cf..66660252 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def compute_server_settings_get(self, **kwargs): """ - List of computeServerSettings + Get a list of 'computeServerSetting' 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,14 @@ def compute_server_settings_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)) :return: ComputeServerSettingList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def compute_server_settings_get(self, **kwargs): def compute_server_settings_get_with_http_info(self, **kwargs): """ - List of computeServerSettings + Get a list of 'computeServerSetting' 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 +87,20 @@ def compute_server_settings_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)) :return: ComputeServerSettingList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def compute_server_settings_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 +138,8 @@ def compute_server_settings_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'])) header_params = {} @@ -175,7 +175,7 @@ def compute_server_settings_get_with_http_info(self, **kwargs): def compute_server_settings_moid_get(self, moid, **kwargs): """ - A instance of computeServerSetting + Get a specific instance of 'computeServerSetting' This method makes 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 +200,7 @@ def compute_server_settings_moid_get(self, moid, **kwargs): def compute_server_settings_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of computeServerSetting + Get a specific instance of 'computeServerSetting' This method makes 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 +279,7 @@ def compute_server_settings_moid_get_with_http_info(self, moid, **kwargs): def compute_server_settings_moid_patch(self, moid, body, **kwargs): """ - Update an instance of computeServerSetting + Update an instance of 'computeServerSetting' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def compute_server_settings_moid_patch(self, moid, body, **kwargs): def compute_server_settings_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of computeServerSetting + Update an instance of 'computeServerSetting' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def compute_server_settings_moid_patch_with_http_info(self, moid, body, **kwargs def compute_server_settings_moid_post(self, moid, body, **kwargs): """ - Update an instance of computeServerSetting + Update an instance of 'computeServerSetting' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def compute_server_settings_moid_post(self, moid, body, **kwargs): def compute_server_settings_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of computeServerSetting + Update an instance of 'computeServerSetting' This method makes 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/cond_alarm_api.py b/intersight/apis/cond_alarm_api.py index ea7b826d..ebc402d9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def cond_alarms_get(self, **kwargs): """ - List of condAlarms + Get a list of 'condAlarm' 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,14 @@ def cond_alarms_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)) :return: CondAlarmList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def cond_alarms_get(self, **kwargs): def cond_alarms_get_with_http_info(self, **kwargs): """ - List of condAlarms + Get a list of 'condAlarm' 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 +87,20 @@ def cond_alarms_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)) :return: CondAlarmList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def cond_alarms_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 +138,8 @@ def cond_alarms_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'])) header_params = {} @@ -175,7 +175,7 @@ def cond_alarms_get_with_http_info(self, **kwargs): def cond_alarms_moid_get(self, moid, **kwargs): """ - A instance of condAlarm + Get a specific instance of 'condAlarm' This method makes 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 +200,7 @@ def cond_alarms_moid_get(self, moid, **kwargs): def cond_alarms_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of condAlarm + Get a specific instance of 'condAlarm' This method makes 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/cond_hcl_status_api.py b/intersight/apis/cond_hcl_status_api.py index ec36703f..6e8d640c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def cond_hcl_statuses_get(self, **kwargs): """ - List of condHclStatuses + Get a list of 'condHclStatus' 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,14 @@ def cond_hcl_statuses_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)) :return: CondHclStatusList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def cond_hcl_statuses_get(self, **kwargs): def cond_hcl_statuses_get_with_http_info(self, **kwargs): """ - List of condHclStatuses + Get a list of 'condHclStatus' 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 +87,20 @@ def cond_hcl_statuses_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)) :return: CondHclStatusList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def cond_hcl_statuses_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 +138,8 @@ def cond_hcl_statuses_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'])) header_params = {} @@ -175,7 +175,7 @@ def cond_hcl_statuses_get_with_http_info(self, **kwargs): def cond_hcl_statuses_moid_get(self, moid, **kwargs): """ - A instance of condHclStatus + Get a specific instance of 'condHclStatus' This method makes 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 +200,7 @@ def cond_hcl_statuses_moid_get(self, moid, **kwargs): def cond_hcl_statuses_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of condHclStatus + Get a specific instance of 'condHclStatus' This method makes 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/cond_hcl_status_detail_api.py b/intersight/apis/cond_hcl_status_detail_api.py index 3d308f53..564e9124 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def cond_hcl_status_details_get(self, **kwargs): """ - List of condHclStatusDetails + Get a list of 'condHclStatusDetail' 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,14 @@ def cond_hcl_status_details_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)) :return: CondHclStatusDetailList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def cond_hcl_status_details_get(self, **kwargs): def cond_hcl_status_details_get_with_http_info(self, **kwargs): """ - List of condHclStatusDetails + Get a list of 'condHclStatusDetail' 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 +87,20 @@ def cond_hcl_status_details_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)) :return: CondHclStatusDetailList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def cond_hcl_status_details_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 +138,8 @@ def cond_hcl_status_details_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'])) header_params = {} @@ -175,7 +175,7 @@ def cond_hcl_status_details_get_with_http_info(self, **kwargs): def cond_hcl_status_details_moid_get(self, moid, **kwargs): """ - A instance of condHclStatusDetail + Get a specific instance of 'condHclStatusDetail' This method makes 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 +200,7 @@ def cond_hcl_status_details_moid_get(self, moid, **kwargs): def cond_hcl_status_details_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of condHclStatusDetail + Get a specific instance of 'condHclStatusDetail' This method makes 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/cond_hcl_status_job_api.py b/intersight/apis/cond_hcl_status_job_api.py index c3675842..b5ca6585 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def cond_hcl_status_jobs_get(self, **kwargs): """ - List of condHclStatusJobs + Get a list of 'condHclStatusJob' 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,14 @@ def cond_hcl_status_jobs_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)) :return: CondHclStatusJobList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def cond_hcl_status_jobs_get(self, **kwargs): def cond_hcl_status_jobs_get_with_http_info(self, **kwargs): """ - List of condHclStatusJobs + Get a list of 'condHclStatusJob' 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 +87,20 @@ def cond_hcl_status_jobs_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)) :return: CondHclStatusJobList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def cond_hcl_status_jobs_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 +138,8 @@ def cond_hcl_status_jobs_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'])) header_params = {} @@ -175,7 +175,7 @@ def cond_hcl_status_jobs_get_with_http_info(self, **kwargs): def cond_hcl_status_jobs_moid_get(self, moid, **kwargs): """ - A instance of condHclStatusJob + Get a specific instance of 'condHclStatusJob' This method makes 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 +200,7 @@ def cond_hcl_status_jobs_moid_get(self, moid, **kwargs): def cond_hcl_status_jobs_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of condHclStatusJob + Get a specific instance of 'condHclStatusJob' This method makes 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/crypt_encryption_token_api.py b/intersight/apis/crypt_encryption_token_api.py index 62c4ebb2..cb7e9cff 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def crypt_encryption_tokens_get(self, **kwargs): """ - List of cryptEncryptionTokens + Get a list of 'cryptEncryptionToken' 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,14 @@ def crypt_encryption_tokens_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)) :return: CryptEncryptionTokenList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def crypt_encryption_tokens_get(self, **kwargs): def crypt_encryption_tokens_get_with_http_info(self, **kwargs): """ - List of cryptEncryptionTokens + Get a list of 'cryptEncryptionToken' 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 +87,20 @@ def crypt_encryption_tokens_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)) :return: CryptEncryptionTokenList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def crypt_encryption_tokens_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 +138,8 @@ def crypt_encryption_tokens_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'])) header_params = {} @@ -175,7 +175,7 @@ def crypt_encryption_tokens_get_with_http_info(self, **kwargs): def crypt_encryption_tokens_moid_get(self, moid, **kwargs): """ - A instance of cryptEncryptionToken + Get a specific instance of 'cryptEncryptionToken' This method makes 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 +200,7 @@ def crypt_encryption_tokens_moid_get(self, moid, **kwargs): def crypt_encryption_tokens_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of cryptEncryptionToken + Get a specific instance of 'cryptEncryptionToken' This method makes 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 +279,7 @@ def crypt_encryption_tokens_moid_get_with_http_info(self, moid, **kwargs): def crypt_encryption_tokens_moid_patch(self, moid, body, **kwargs): """ - Update an instance of cryptEncryptionToken + Update an instance of 'cryptEncryptionToken' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def crypt_encryption_tokens_moid_patch(self, moid, body, **kwargs): def crypt_encryption_tokens_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of cryptEncryptionToken + Update an instance of 'cryptEncryptionToken' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def crypt_encryption_tokens_moid_patch_with_http_info(self, moid, body, **kwargs def crypt_encryption_tokens_moid_post(self, moid, body, **kwargs): """ - Update an instance of cryptEncryptionToken + Update an instance of 'cryptEncryptionToken' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def crypt_encryption_tokens_moid_post(self, moid, body, **kwargs): def crypt_encryption_tokens_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of cryptEncryptionToken + Update an instance of 'cryptEncryptionToken' This method makes 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/deviceinfo_serial_number_info_api.py b/intersight/apis/deviceinfo_serial_number_info_api.py index a7e0c74a..f47994ad 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def deviceinfo_serial_number_infos_get(self, **kwargs): """ - List of deviceinfoSerialNumberInfos + Get a list of 'deviceinfoSerialNumberInfo' 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,14 @@ def deviceinfo_serial_number_infos_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)) :return: DeviceinfoSerialNumberInfoList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def deviceinfo_serial_number_infos_get(self, **kwargs): def deviceinfo_serial_number_infos_get_with_http_info(self, **kwargs): """ - List of deviceinfoSerialNumberInfos + Get a list of 'deviceinfoSerialNumberInfo' 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 +87,20 @@ def deviceinfo_serial_number_infos_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)) :return: DeviceinfoSerialNumberInfoList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def deviceinfo_serial_number_infos_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 +138,8 @@ def deviceinfo_serial_number_infos_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'])) header_params = {} @@ -175,7 +175,7 @@ def deviceinfo_serial_number_infos_get_with_http_info(self, **kwargs): def deviceinfo_serial_number_infos_moid_get(self, moid, **kwargs): """ - A instance of deviceinfoSerialNumberInfo + Get a specific instance of 'deviceinfoSerialNumberInfo' This method makes 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 +200,7 @@ def deviceinfo_serial_number_infos_moid_get(self, moid, **kwargs): def deviceinfo_serial_number_infos_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of deviceinfoSerialNumberInfo + Get a specific instance of 'deviceinfoSerialNumberInfo' This method makes 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/equipment_chassis_api.py b/intersight/apis/equipment_chassis_api.py index 780999bc..092b2277 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_chasses_get(self, **kwargs): """ - List of equipmentChasses + Get a list of 'equipmentChassis' 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,14 @@ def equipment_chasses_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)) :return: EquipmentChassisList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_chasses_get(self, **kwargs): def equipment_chasses_get_with_http_info(self, **kwargs): """ - List of equipmentChasses + Get a list of 'equipmentChassis' 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 +87,20 @@ def equipment_chasses_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)) :return: EquipmentChassisList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_chasses_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 +138,8 @@ def equipment_chasses_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_chasses_get_with_http_info(self, **kwargs): def equipment_chasses_moid_get(self, moid, **kwargs): """ - A instance of equipmentChassis + Get a specific instance of 'equipmentChassis' This method makes 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 +200,7 @@ def equipment_chasses_moid_get(self, moid, **kwargs): def equipment_chasses_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentChassis + Get a specific instance of 'equipmentChassis' This method makes 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 +279,7 @@ def equipment_chasses_moid_get_with_http_info(self, moid, **kwargs): def equipment_chasses_moid_patch(self, moid, body, **kwargs): """ - Update an instance of equipmentChassis + Update an instance of 'equipmentChassis' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def equipment_chasses_moid_patch(self, moid, body, **kwargs): def equipment_chasses_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentChassis + Update an instance of 'equipmentChassis' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def equipment_chasses_moid_patch_with_http_info(self, moid, body, **kwargs): def equipment_chasses_moid_post(self, moid, body, **kwargs): """ - Update an instance of equipmentChassis + Update an instance of 'equipmentChassis' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def equipment_chasses_moid_post(self, moid, body, **kwargs): def equipment_chasses_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentChassis + Update an instance of 'equipmentChassis' This method makes 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/equipment_device_summary_api.py b/intersight/apis/equipment_device_summary_api.py index 817cf233..9dbbefbb 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_device_summaries_get(self, **kwargs): """ - List of equipmentDeviceSummaries + Get a list of 'equipmentDeviceSummary' 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,14 @@ def equipment_device_summaries_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)) :return: EquipmentDeviceSummaryList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_device_summaries_get(self, **kwargs): def equipment_device_summaries_get_with_http_info(self, **kwargs): """ - List of equipmentDeviceSummaries + Get a list of 'equipmentDeviceSummary' 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 +87,20 @@ def equipment_device_summaries_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)) :return: EquipmentDeviceSummaryList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_device_summaries_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 +138,8 @@ def equipment_device_summaries_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_device_summaries_get_with_http_info(self, **kwargs): def equipment_device_summaries_moid_get(self, moid, **kwargs): """ - A instance of equipmentDeviceSummary + Get a specific instance of 'equipmentDeviceSummary' This method makes 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 +200,7 @@ def equipment_device_summaries_moid_get(self, moid, **kwargs): def equipment_device_summaries_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentDeviceSummary + Get a specific instance of 'equipmentDeviceSummary' This method makes 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/equipment_fan_api.py b/intersight/apis/equipment_fan_api.py index 79e0b933..3e1f405a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_fans_get(self, **kwargs): """ - List of equipmentFans + Get a list of 'equipmentFan' 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,14 @@ def equipment_fans_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)) :return: EquipmentFanList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_fans_get(self, **kwargs): def equipment_fans_get_with_http_info(self, **kwargs): """ - List of equipmentFans + Get a list of 'equipmentFan' 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 +87,20 @@ def equipment_fans_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)) :return: EquipmentFanList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_fans_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 +138,8 @@ def equipment_fans_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_fans_get_with_http_info(self, **kwargs): def equipment_fans_moid_get(self, moid, **kwargs): """ - A instance of equipmentFan + Get a specific instance of 'equipmentFan' This method makes 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 +200,7 @@ def equipment_fans_moid_get(self, moid, **kwargs): def equipment_fans_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentFan + Get a specific instance of 'equipmentFan' This method makes 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 +279,7 @@ def equipment_fans_moid_get_with_http_info(self, moid, **kwargs): def equipment_fans_moid_patch(self, moid, body, **kwargs): """ - Update an instance of equipmentFan + Update an instance of 'equipmentFan' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def equipment_fans_moid_patch(self, moid, body, **kwargs): def equipment_fans_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentFan + Update an instance of 'equipmentFan' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def equipment_fans_moid_patch_with_http_info(self, moid, body, **kwargs): def equipment_fans_moid_post(self, moid, body, **kwargs): """ - Update an instance of equipmentFan + Update an instance of 'equipmentFan' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def equipment_fans_moid_post(self, moid, body, **kwargs): def equipment_fans_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentFan + Update an instance of 'equipmentFan' This method makes 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/equipment_fan_module_api.py b/intersight/apis/equipment_fan_module_api.py index 34f1bcab..94a987e9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_fan_modules_get(self, **kwargs): """ - List of equipmentFanModules + Get a list of 'equipmentFanModule' 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,14 @@ def equipment_fan_modules_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)) :return: EquipmentFanModuleList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_fan_modules_get(self, **kwargs): def equipment_fan_modules_get_with_http_info(self, **kwargs): """ - List of equipmentFanModules + Get a list of 'equipmentFanModule' 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 +87,20 @@ def equipment_fan_modules_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)) :return: EquipmentFanModuleList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_fan_modules_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 +138,8 @@ def equipment_fan_modules_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_fan_modules_get_with_http_info(self, **kwargs): def equipment_fan_modules_moid_get(self, moid, **kwargs): """ - A instance of equipmentFanModule + Get a specific instance of 'equipmentFanModule' This method makes 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 +200,7 @@ def equipment_fan_modules_moid_get(self, moid, **kwargs): def equipment_fan_modules_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentFanModule + Get a specific instance of 'equipmentFanModule' This method makes 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 +279,7 @@ def equipment_fan_modules_moid_get_with_http_info(self, moid, **kwargs): def equipment_fan_modules_moid_patch(self, moid, body, **kwargs): """ - Update an instance of equipmentFanModule + Update an instance of 'equipmentFanModule' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def equipment_fan_modules_moid_patch(self, moid, body, **kwargs): def equipment_fan_modules_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentFanModule + Update an instance of 'equipmentFanModule' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def equipment_fan_modules_moid_patch_with_http_info(self, moid, body, **kwargs): def equipment_fan_modules_moid_post(self, moid, body, **kwargs): """ - Update an instance of equipmentFanModule + Update an instance of 'equipmentFanModule' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def equipment_fan_modules_moid_post(self, moid, body, **kwargs): def equipment_fan_modules_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentFanModule + Update an instance of 'equipmentFanModule' This method makes 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/equipment_fex_api.py b/intersight/apis/equipment_fex_api.py index dd197a10..7034a70a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_fexes_get(self, **kwargs): """ - List of equipmentFexes + Get a list of 'equipmentFex' 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,14 @@ def equipment_fexes_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)) :return: EquipmentFexList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_fexes_get(self, **kwargs): def equipment_fexes_get_with_http_info(self, **kwargs): """ - List of equipmentFexes + Get a list of 'equipmentFex' 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 +87,20 @@ def equipment_fexes_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)) :return: EquipmentFexList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_fexes_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 +138,8 @@ def equipment_fexes_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_fexes_get_with_http_info(self, **kwargs): def equipment_fexes_moid_get(self, moid, **kwargs): """ - A instance of equipmentFex + Get a specific instance of 'equipmentFex' This method makes 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 +200,7 @@ def equipment_fexes_moid_get(self, moid, **kwargs): def equipment_fexes_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentFex + Get a specific instance of 'equipmentFex' This method makes 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 +279,7 @@ def equipment_fexes_moid_get_with_http_info(self, moid, **kwargs): def equipment_fexes_moid_patch(self, moid, body, **kwargs): """ - Update an instance of equipmentFex + Update an instance of 'equipmentFex' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def equipment_fexes_moid_patch(self, moid, body, **kwargs): def equipment_fexes_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentFex + Update an instance of 'equipmentFex' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def equipment_fexes_moid_patch_with_http_info(self, moid, body, **kwargs): def equipment_fexes_moid_post(self, moid, body, **kwargs): """ - Update an instance of equipmentFex + Update an instance of 'equipmentFex' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def equipment_fexes_moid_post(self, moid, body, **kwargs): def equipment_fexes_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentFex + Update an instance of 'equipmentFex' This method makes 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/equipment_io_card_api.py b/intersight/apis/equipment_io_card_api.py index a740319c..ae2560c3 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_io_cards_get(self, **kwargs): """ - List of equipmentIoCards + Get a list of 'equipmentIoCard' 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,14 @@ def equipment_io_cards_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)) :return: EquipmentIoCardList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_io_cards_get(self, **kwargs): def equipment_io_cards_get_with_http_info(self, **kwargs): """ - List of equipmentIoCards + Get a list of 'equipmentIoCard' 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 +87,20 @@ def equipment_io_cards_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)) :return: EquipmentIoCardList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_io_cards_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 +138,8 @@ def equipment_io_cards_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_io_cards_get_with_http_info(self, **kwargs): def equipment_io_cards_moid_get(self, moid, **kwargs): """ - A instance of equipmentIoCard + Get a specific instance of 'equipmentIoCard' This method makes 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 +200,7 @@ def equipment_io_cards_moid_get(self, moid, **kwargs): def equipment_io_cards_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentIoCard + Get a specific instance of 'equipmentIoCard' This method makes 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 +279,7 @@ def equipment_io_cards_moid_get_with_http_info(self, moid, **kwargs): def equipment_io_cards_moid_patch(self, moid, body, **kwargs): """ - Update an instance of equipmentIoCard + Update an instance of 'equipmentIoCard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def equipment_io_cards_moid_patch(self, moid, body, **kwargs): def equipment_io_cards_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentIoCard + Update an instance of 'equipmentIoCard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def equipment_io_cards_moid_patch_with_http_info(self, moid, body, **kwargs): def equipment_io_cards_moid_post(self, moid, body, **kwargs): """ - Update an instance of equipmentIoCard + Update an instance of 'equipmentIoCard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def equipment_io_cards_moid_post(self, moid, body, **kwargs): def equipment_io_cards_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentIoCard + Update an instance of 'equipmentIoCard' This method makes 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/equipment_locator_led_api.py b/intersight/apis/equipment_locator_led_api.py index 24bc73f2..8196a59b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_locator_leds_get(self, **kwargs): """ - List of equipmentLocatorLeds + Get a list of 'equipmentLocatorLed' 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,14 @@ def equipment_locator_leds_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)) :return: EquipmentLocatorLedList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_locator_leds_get(self, **kwargs): def equipment_locator_leds_get_with_http_info(self, **kwargs): """ - List of equipmentLocatorLeds + Get a list of 'equipmentLocatorLed' 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 +87,20 @@ def equipment_locator_leds_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)) :return: EquipmentLocatorLedList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_locator_leds_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 +138,8 @@ def equipment_locator_leds_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_locator_leds_get_with_http_info(self, **kwargs): def equipment_locator_leds_moid_get(self, moid, **kwargs): """ - A instance of equipmentLocatorLed + Get a specific instance of 'equipmentLocatorLed' This method makes 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 +200,7 @@ def equipment_locator_leds_moid_get(self, moid, **kwargs): def equipment_locator_leds_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentLocatorLed + Get a specific instance of 'equipmentLocatorLed' This method makes 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 +279,7 @@ def equipment_locator_leds_moid_get_with_http_info(self, moid, **kwargs): def equipment_locator_leds_moid_patch(self, moid, body, **kwargs): """ - Update an instance of equipmentLocatorLed + Update an instance of 'equipmentLocatorLed' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def equipment_locator_leds_moid_patch(self, moid, body, **kwargs): def equipment_locator_leds_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentLocatorLed + Update an instance of 'equipmentLocatorLed' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def equipment_locator_leds_moid_patch_with_http_info(self, moid, body, **kwargs) def equipment_locator_leds_moid_post(self, moid, body, **kwargs): """ - Update an instance of equipmentLocatorLed + Update an instance of 'equipmentLocatorLed' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def equipment_locator_leds_moid_post(self, moid, body, **kwargs): def equipment_locator_leds_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentLocatorLed + Update an instance of 'equipmentLocatorLed' This method makes 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/equipment_psu_api.py b/intersight/apis/equipment_psu_api.py index 76b5c338..30ba3d29 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_psus_get(self, **kwargs): """ - List of equipmentPsus + Get a list of 'equipmentPsu' 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,14 @@ def equipment_psus_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)) :return: EquipmentPsuList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_psus_get(self, **kwargs): def equipment_psus_get_with_http_info(self, **kwargs): """ - List of equipmentPsus + Get a list of 'equipmentPsu' 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 +87,20 @@ def equipment_psus_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)) :return: EquipmentPsuList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_psus_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 +138,8 @@ def equipment_psus_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_psus_get_with_http_info(self, **kwargs): def equipment_psus_moid_get(self, moid, **kwargs): """ - A instance of equipmentPsu + Get a specific instance of 'equipmentPsu' This method makes 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 +200,7 @@ def equipment_psus_moid_get(self, moid, **kwargs): def equipment_psus_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentPsu + Get a specific instance of 'equipmentPsu' This method makes 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 +279,7 @@ def equipment_psus_moid_get_with_http_info(self, moid, **kwargs): def equipment_psus_moid_patch(self, moid, body, **kwargs): """ - Update an instance of equipmentPsu + Update an instance of 'equipmentPsu' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def equipment_psus_moid_patch(self, moid, body, **kwargs): def equipment_psus_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentPsu + Update an instance of 'equipmentPsu' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def equipment_psus_moid_patch_with_http_info(self, moid, body, **kwargs): def equipment_psus_moid_post(self, moid, body, **kwargs): """ - Update an instance of equipmentPsu + Update an instance of 'equipmentPsu' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def equipment_psus_moid_post(self, moid, body, **kwargs): def equipment_psus_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentPsu + Update an instance of 'equipmentPsu' This method makes 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/equipment_switch_card_api.py b/intersight/apis/equipment_switch_card_api.py index 364c6e89..412ecf7d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_switch_cards_get(self, **kwargs): """ - List of equipmentSwitchCards + Get a list of 'equipmentSwitchCard' 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,14 @@ def equipment_switch_cards_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)) :return: EquipmentSwitchCardList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_switch_cards_get(self, **kwargs): def equipment_switch_cards_get_with_http_info(self, **kwargs): """ - List of equipmentSwitchCards + Get a list of 'equipmentSwitchCard' 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 +87,20 @@ def equipment_switch_cards_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)) :return: EquipmentSwitchCardList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_switch_cards_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 +138,8 @@ def equipment_switch_cards_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_switch_cards_get_with_http_info(self, **kwargs): def equipment_switch_cards_moid_get(self, moid, **kwargs): """ - A instance of equipmentSwitchCard + Get a specific instance of 'equipmentSwitchCard' This method makes 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 +200,7 @@ def equipment_switch_cards_moid_get(self, moid, **kwargs): def equipment_switch_cards_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentSwitchCard + Get a specific instance of 'equipmentSwitchCard' This method makes 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 +279,7 @@ def equipment_switch_cards_moid_get_with_http_info(self, moid, **kwargs): def equipment_switch_cards_moid_patch(self, moid, body, **kwargs): """ - Update an instance of equipmentSwitchCard + Update an instance of 'equipmentSwitchCard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def equipment_switch_cards_moid_patch(self, moid, body, **kwargs): def equipment_switch_cards_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentSwitchCard + Update an instance of 'equipmentSwitchCard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def equipment_switch_cards_moid_patch_with_http_info(self, moid, body, **kwargs) def equipment_switch_cards_moid_post(self, moid, body, **kwargs): """ - Update an instance of equipmentSwitchCard + Update an instance of 'equipmentSwitchCard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def equipment_switch_cards_moid_post(self, moid, body, **kwargs): def equipment_switch_cards_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentSwitchCard + Update an instance of 'equipmentSwitchCard' This method makes 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/equipment_system_io_controller_api.py b/intersight/apis/equipment_system_io_controller_api.py index 6908df63..baead8d5 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def equipment_system_io_controllers_get(self, **kwargs): """ - List of equipmentSystemIoControllers + Get a list of 'equipmentSystemIoController' 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,14 @@ def equipment_system_io_controllers_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)) :return: EquipmentSystemIoControllerList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def equipment_system_io_controllers_get(self, **kwargs): def equipment_system_io_controllers_get_with_http_info(self, **kwargs): """ - List of equipmentSystemIoControllers + Get a list of 'equipmentSystemIoController' 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 +87,20 @@ def equipment_system_io_controllers_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)) :return: EquipmentSystemIoControllerList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def equipment_system_io_controllers_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 +138,8 @@ def equipment_system_io_controllers_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'])) header_params = {} @@ -175,7 +175,7 @@ def equipment_system_io_controllers_get_with_http_info(self, **kwargs): def equipment_system_io_controllers_moid_get(self, moid, **kwargs): """ - A instance of equipmentSystemIoController + Get a specific instance of 'equipmentSystemIoController' This method makes 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 +200,7 @@ def equipment_system_io_controllers_moid_get(self, moid, **kwargs): def equipment_system_io_controllers_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of equipmentSystemIoController + Get a specific instance of 'equipmentSystemIoController' This method makes 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 +279,7 @@ def equipment_system_io_controllers_moid_get_with_http_info(self, moid, **kwargs def equipment_system_io_controllers_moid_patch(self, moid, body, **kwargs): """ - Update an instance of equipmentSystemIoController + Update an instance of 'equipmentSystemIoController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def equipment_system_io_controllers_moid_patch(self, moid, body, **kwargs): def equipment_system_io_controllers_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentSystemIoController + Update an instance of 'equipmentSystemIoController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def equipment_system_io_controllers_moid_patch_with_http_info(self, moid, body, def equipment_system_io_controllers_moid_post(self, moid, body, **kwargs): """ - Update an instance of equipmentSystemIoController + Update an instance of 'equipmentSystemIoController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def equipment_system_io_controllers_moid_post(self, moid, body, **kwargs): def equipment_system_io_controllers_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of equipmentSystemIoController + Update an instance of 'equipmentSystemIoController' This method makes 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/ether_physical_port_api.py b/intersight/apis/ether_physical_port_api.py index 1e8340ef..48fd82bf 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def ether_physical_ports_get(self, **kwargs): """ - List of etherPhysicalPorts + Get a list of 'etherPhysicalPort' 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,14 @@ def ether_physical_ports_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)) :return: EtherPhysicalPortList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def ether_physical_ports_get(self, **kwargs): def ether_physical_ports_get_with_http_info(self, **kwargs): """ - List of etherPhysicalPorts + Get a list of 'etherPhysicalPort' 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 +87,20 @@ def ether_physical_ports_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)) :return: EtherPhysicalPortList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def ether_physical_ports_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 +138,8 @@ def ether_physical_ports_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'])) header_params = {} @@ -175,7 +175,7 @@ def ether_physical_ports_get_with_http_info(self, **kwargs): def ether_physical_ports_moid_get(self, moid, **kwargs): """ - A instance of etherPhysicalPort + Get a specific instance of 'etherPhysicalPort' This method makes 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 +200,7 @@ def ether_physical_ports_moid_get(self, moid, **kwargs): def ether_physical_ports_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of etherPhysicalPort + Get a specific instance of 'etherPhysicalPort' This method makes 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 +279,7 @@ def ether_physical_ports_moid_get_with_http_info(self, moid, **kwargs): def ether_physical_ports_moid_patch(self, moid, body, **kwargs): """ - Update an instance of etherPhysicalPort + Update an instance of 'etherPhysicalPort' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def ether_physical_ports_moid_patch(self, moid, body, **kwargs): def ether_physical_ports_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of etherPhysicalPort + Update an instance of 'etherPhysicalPort' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def ether_physical_ports_moid_patch_with_http_info(self, moid, body, **kwargs): def ether_physical_ports_moid_post(self, moid, body, **kwargs): """ - Update an instance of etherPhysicalPort + Update an instance of 'etherPhysicalPort' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def ether_physical_ports_moid_post(self, moid, body, **kwargs): def ether_physical_ports_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of etherPhysicalPort + Update an instance of 'etherPhysicalPort' This method makes 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/externalsite_authorization_api.py b/intersight/apis/externalsite_authorization_api.py index 445114a4..10c61eb1 100644 --- a/intersight/apis/externalsite_authorization_api.py +++ b/intersight/apis/externalsite_authorization_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def externalsite_authorizations_get(self, **kwargs): """ - List of externalsiteAuthorizations + Get a list of 'externalsiteAuthorization' 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,14 @@ def externalsite_authorizations_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)) :return: ExternalsiteAuthorizationList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def externalsite_authorizations_get(self, **kwargs): def externalsite_authorizations_get_with_http_info(self, **kwargs): """ - List of externalsiteAuthorizations + Get a list of 'externalsiteAuthorization' 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 +87,20 @@ def externalsite_authorizations_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)) :return: ExternalsiteAuthorizationList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def externalsite_authorizations_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 +138,8 @@ def externalsite_authorizations_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'])) header_params = {} @@ -175,7 +175,7 @@ def externalsite_authorizations_get_with_http_info(self, **kwargs): def externalsite_authorizations_moid_get(self, moid, **kwargs): """ - A instance of externalsiteAuthorization + Get a specific instance of 'externalsiteAuthorization' This method makes 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 +200,7 @@ def externalsite_authorizations_moid_get(self, moid, **kwargs): def externalsite_authorizations_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of externalsiteAuthorization + Get a specific instance of 'externalsiteAuthorization' This method makes 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 +279,7 @@ def externalsite_authorizations_moid_get_with_http_info(self, moid, **kwargs): def externalsite_authorizations_moid_patch(self, moid, body, **kwargs): """ - Update an instance of externalsiteAuthorization + Update an instance of 'externalsiteAuthorization' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def externalsite_authorizations_moid_patch(self, moid, body, **kwargs): def externalsite_authorizations_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of externalsiteAuthorization + Update an instance of 'externalsiteAuthorization' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def externalsite_authorizations_moid_patch_with_http_info(self, moid, body, **kw def externalsite_authorizations_moid_post(self, moid, body, **kwargs): """ - Update an instance of externalsiteAuthorization + Update an instance of 'externalsiteAuthorization' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def externalsite_authorizations_moid_post(self, moid, body, **kwargs): def externalsite_authorizations_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of externalsiteAuthorization + Update an instance of 'externalsiteAuthorization' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -501,7 +501,7 @@ def externalsite_authorizations_moid_post_with_http_info(self, moid, body, **kwa def externalsite_authorizations_post(self, body, **kwargs): """ - Create a externalsiteAuthorization + Create an instance of 'externalsiteAuthorization' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -526,7 +526,7 @@ def externalsite_authorizations_post(self, body, **kwargs): def externalsite_authorizations_post_with_http_info(self, body, **kwargs): """ - Create a externalsiteAuthorization + Create an instance of 'externalsiteAuthorization' This method makes 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/fault_instance_api.py b/intersight/apis/fault_instance_api.py index f6f82507..f560d2f3 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def fault_instances_get(self, **kwargs): """ - List of faultInstances + Get a list of 'faultInstance' 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,14 @@ def fault_instances_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)) :return: FaultInstanceList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def fault_instances_get(self, **kwargs): def fault_instances_get_with_http_info(self, **kwargs): """ - List of faultInstances + Get a list of 'faultInstance' 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 +87,20 @@ def fault_instances_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)) :return: FaultInstanceList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def fault_instances_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 +138,8 @@ def fault_instances_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'])) header_params = {} @@ -175,7 +175,7 @@ def fault_instances_get_with_http_info(self, **kwargs): def fault_instances_moid_get(self, moid, **kwargs): """ - A instance of faultInstance + Get a specific instance of 'faultInstance' This method makes 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 +200,7 @@ def fault_instances_moid_get(self, moid, **kwargs): def fault_instances_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of faultInstance + Get a specific instance of 'faultInstance' This method makes 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 +279,7 @@ def fault_instances_moid_get_with_http_info(self, moid, **kwargs): def fault_instances_moid_patch(self, moid, body, **kwargs): """ - Update an instance of faultInstance + Update an instance of 'faultInstance' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def fault_instances_moid_patch(self, moid, body, **kwargs): def fault_instances_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of faultInstance + Update an instance of 'faultInstance' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def fault_instances_moid_patch_with_http_info(self, moid, body, **kwargs): def fault_instances_moid_post(self, moid, body, **kwargs): """ - Update an instance of faultInstance + Update an instance of 'faultInstance' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def fault_instances_moid_post(self, moid, body, **kwargs): def fault_instances_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of faultInstance + Update an instance of 'faultInstance' This method makes 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/fc_physical_port_api.py b/intersight/apis/fc_physical_port_api.py index 19a32646..d02aec53 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def fc_physical_ports_get(self, **kwargs): """ - List of fcPhysicalPorts + Get a list of 'fcPhysicalPort' 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,14 @@ def fc_physical_ports_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)) :return: FcPhysicalPortList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def fc_physical_ports_get(self, **kwargs): def fc_physical_ports_get_with_http_info(self, **kwargs): """ - List of fcPhysicalPorts + Get a list of 'fcPhysicalPort' 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 +87,20 @@ def fc_physical_ports_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)) :return: FcPhysicalPortList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def fc_physical_ports_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 +138,8 @@ def fc_physical_ports_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'])) header_params = {} @@ -175,7 +175,7 @@ def fc_physical_ports_get_with_http_info(self, **kwargs): def fc_physical_ports_moid_get(self, moid, **kwargs): """ - A instance of fcPhysicalPort + Get a specific instance of 'fcPhysicalPort' This method makes 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 +200,7 @@ def fc_physical_ports_moid_get(self, moid, **kwargs): def fc_physical_ports_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of fcPhysicalPort + Get a specific instance of 'fcPhysicalPort' This method makes 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 +279,7 @@ def fc_physical_ports_moid_get_with_http_info(self, moid, **kwargs): def fc_physical_ports_moid_patch(self, moid, body, **kwargs): """ - Update an instance of fcPhysicalPort + Update an instance of 'fcPhysicalPort' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def fc_physical_ports_moid_patch(self, moid, body, **kwargs): def fc_physical_ports_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of fcPhysicalPort + Update an instance of 'fcPhysicalPort' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def fc_physical_ports_moid_patch_with_http_info(self, moid, body, **kwargs): def fc_physical_ports_moid_post(self, moid, body, **kwargs): """ - Update an instance of fcPhysicalPort + Update an instance of 'fcPhysicalPort' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def fc_physical_ports_moid_post(self, moid, body, **kwargs): def fc_physical_ports_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of fcPhysicalPort + Update an instance of 'fcPhysicalPort' This method makes 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/feedback_feedback_post_api.py b/intersight/apis/feedback_feedback_post_api.py index a99cc5ca..e2f79e4e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def feedback_feedback_posts_post(self, body, **kwargs): """ - Create a feedbackFeedbackPost + Create an instance of 'feedbackFeedbackPost' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +67,7 @@ def feedback_feedback_posts_post(self, body, **kwargs): def feedback_feedback_posts_post_with_http_info(self, body, **kwargs): """ - Create a feedbackFeedbackPost + Create an instance of 'feedbackFeedbackPost' This method makes 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/firmware_distributable_api.py b/intersight/apis/firmware_distributable_api.py index 2d1a2eed..9863317f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def firmware_distributables_get(self, **kwargs): """ - List of firmwareDistributables + Get a list of 'firmwareDistributable' 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,14 @@ def firmware_distributables_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)) :return: FirmwareDistributableList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def firmware_distributables_get(self, **kwargs): def firmware_distributables_get_with_http_info(self, **kwargs): """ - List of firmwareDistributables + Get a list of 'firmwareDistributable' 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 +87,20 @@ def firmware_distributables_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)) :return: FirmwareDistributableList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def firmware_distributables_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 +138,8 @@ def firmware_distributables_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'])) header_params = {} @@ -175,7 +175,7 @@ def firmware_distributables_get_with_http_info(self, **kwargs): def firmware_distributables_moid_get(self, moid, **kwargs): """ - A instance of firmwareDistributable + Get a specific instance of 'firmwareDistributable' This method makes 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 +200,7 @@ def firmware_distributables_moid_get(self, moid, **kwargs): def firmware_distributables_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of firmwareDistributable + Get a specific instance of 'firmwareDistributable' This method makes 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/firmware_eula_api.py b/intersight/apis/firmware_eula_api.py index 5d92fd1b..6edc39a9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def firmware_eulas_get(self, **kwargs): """ - List of firmwareEulas + Get a list of 'firmwareEula' 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,14 @@ def firmware_eulas_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)) :return: FirmwareEulaList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def firmware_eulas_get(self, **kwargs): def firmware_eulas_get_with_http_info(self, **kwargs): """ - List of firmwareEulas + Get a list of 'firmwareEula' 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 +87,20 @@ def firmware_eulas_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)) :return: FirmwareEulaList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def firmware_eulas_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 +138,8 @@ def firmware_eulas_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'])) header_params = {} @@ -175,7 +175,7 @@ def firmware_eulas_get_with_http_info(self, **kwargs): def firmware_eulas_moid_get(self, moid, **kwargs): """ - A instance of firmwareEula + Get a specific instance of 'firmwareEula' This method makes 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 +200,7 @@ def firmware_eulas_moid_get(self, moid, **kwargs): def firmware_eulas_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of firmwareEula + Get a specific instance of 'firmwareEula' This method makes 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 +279,7 @@ def firmware_eulas_moid_get_with_http_info(self, moid, **kwargs): def firmware_eulas_post(self, body, **kwargs): """ - Create a firmwareEula + Create an instance of 'firmwareEula' This method makes 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 +304,7 @@ def firmware_eulas_post(self, body, **kwargs): def firmware_eulas_post_with_http_info(self, body, **kwargs): """ - Create a firmwareEula + Create an instance of 'firmwareEula' This method makes 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/firmware_running_firmware_api.py b/intersight/apis/firmware_running_firmware_api.py index b3a2194f..1ebe768f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def firmware_running_firmwares_get(self, **kwargs): """ - List of firmwareRunningFirmwares + Get a list of 'firmwareRunningFirmware' 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,14 @@ def firmware_running_firmwares_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)) :return: FirmwareRunningFirmwareList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def firmware_running_firmwares_get(self, **kwargs): def firmware_running_firmwares_get_with_http_info(self, **kwargs): """ - List of firmwareRunningFirmwares + Get a list of 'firmwareRunningFirmware' 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 +87,20 @@ def firmware_running_firmwares_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)) :return: FirmwareRunningFirmwareList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def firmware_running_firmwares_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 +138,8 @@ def firmware_running_firmwares_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'])) header_params = {} @@ -175,7 +175,7 @@ def firmware_running_firmwares_get_with_http_info(self, **kwargs): def firmware_running_firmwares_moid_get(self, moid, **kwargs): """ - A instance of firmwareRunningFirmware + Get a specific instance of 'firmwareRunningFirmware' This method makes 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 +200,7 @@ def firmware_running_firmwares_moid_get(self, moid, **kwargs): def firmware_running_firmwares_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of firmwareRunningFirmware + Get a specific instance of 'firmwareRunningFirmware' This method makes 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 +279,7 @@ def firmware_running_firmwares_moid_get_with_http_info(self, moid, **kwargs): def firmware_running_firmwares_moid_patch(self, moid, body, **kwargs): """ - Update an instance of firmwareRunningFirmware + Update an instance of 'firmwareRunningFirmware' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def firmware_running_firmwares_moid_patch(self, moid, body, **kwargs): def firmware_running_firmwares_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of firmwareRunningFirmware + Update an instance of 'firmwareRunningFirmware' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def firmware_running_firmwares_moid_patch_with_http_info(self, moid, body, **kwa def firmware_running_firmwares_moid_post(self, moid, body, **kwargs): """ - Update an instance of firmwareRunningFirmware + Update an instance of 'firmwareRunningFirmware' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def firmware_running_firmwares_moid_post(self, moid, body, **kwargs): def firmware_running_firmwares_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of firmwareRunningFirmware + Update an instance of 'firmwareRunningFirmware' This method makes 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/firmware_upgrade_api.py b/intersight/apis/firmware_upgrade_api.py index c79343c8..ad5b8518 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def firmware_upgrades_get(self, **kwargs): """ - List of firmwareUpgrades + Get a list of 'firmwareUpgrade' 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,14 @@ def firmware_upgrades_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)) :return: FirmwareUpgradeList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def firmware_upgrades_get(self, **kwargs): def firmware_upgrades_get_with_http_info(self, **kwargs): """ - List of firmwareUpgrades + Get a list of 'firmwareUpgrade' 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 +87,20 @@ def firmware_upgrades_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)) :return: FirmwareUpgradeList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def firmware_upgrades_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 +138,8 @@ def firmware_upgrades_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'])) header_params = {} @@ -175,7 +175,7 @@ def firmware_upgrades_get_with_http_info(self, **kwargs): def firmware_upgrades_moid_delete(self, moid, **kwargs): """ - Delete an instance of firmwareUpgrade + Delete an instance of 'firmwareUpgrade' This method makes 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 +200,7 @@ def firmware_upgrades_moid_delete(self, moid, **kwargs): def firmware_upgrades_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of firmwareUpgrade + Delete an instance of 'firmwareUpgrade' This method makes 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 +279,7 @@ def firmware_upgrades_moid_delete_with_http_info(self, moid, **kwargs): def firmware_upgrades_moid_get(self, moid, **kwargs): """ - A instance of firmwareUpgrade + Get a specific instance of 'firmwareUpgrade' This method makes 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 +304,7 @@ def firmware_upgrades_moid_get(self, moid, **kwargs): def firmware_upgrades_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of firmwareUpgrade + Get a specific instance of 'firmwareUpgrade' This method makes 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 +383,7 @@ def firmware_upgrades_moid_get_with_http_info(self, moid, **kwargs): def firmware_upgrades_post(self, body, **kwargs): """ - Create a firmwareUpgrade + Create an instance of 'firmwareUpgrade' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -408,7 +408,7 @@ def firmware_upgrades_post(self, body, **kwargs): def firmware_upgrades_post_with_http_info(self, body, **kwargs): """ - Create a firmwareUpgrade + Create an instance of 'firmwareUpgrade' This method makes 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/firmware_upgrade_status_api.py b/intersight/apis/firmware_upgrade_status_api.py index c75eed52..d6cd549c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def firmware_upgrade_statuses_get(self, **kwargs): """ - List of firmwareUpgradeStatuses + Get a list of 'firmwareUpgradeStatus' 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,14 @@ def firmware_upgrade_statuses_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)) :return: FirmwareUpgradeStatusList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def firmware_upgrade_statuses_get(self, **kwargs): def firmware_upgrade_statuses_get_with_http_info(self, **kwargs): """ - List of firmwareUpgradeStatuses + Get a list of 'firmwareUpgradeStatus' 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 +87,20 @@ def firmware_upgrade_statuses_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)) :return: FirmwareUpgradeStatusList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def firmware_upgrade_statuses_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 +138,8 @@ def firmware_upgrade_statuses_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'])) header_params = {} @@ -175,7 +175,7 @@ def firmware_upgrade_statuses_get_with_http_info(self, **kwargs): def firmware_upgrade_statuses_moid_get(self, moid, **kwargs): """ - A instance of firmwareUpgradeStatus + Get a specific instance of 'firmwareUpgradeStatus' This method makes 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 +200,7 @@ def firmware_upgrade_statuses_moid_get(self, moid, **kwargs): def firmware_upgrade_statuses_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of firmwareUpgradeStatus + Get a specific instance of 'firmwareUpgradeStatus' This method makes 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/graphics_card_api.py b/intersight/apis/graphics_card_api.py index b0f28bcb..2310f708 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def graphics_cards_get(self, **kwargs): """ - List of graphicsCards + Get a list of 'graphicsCard' 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,14 @@ def graphics_cards_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)) :return: GraphicsCardList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def graphics_cards_get(self, **kwargs): def graphics_cards_get_with_http_info(self, **kwargs): """ - List of graphicsCards + Get a list of 'graphicsCard' 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 +87,20 @@ def graphics_cards_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)) :return: GraphicsCardList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def graphics_cards_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 +138,8 @@ def graphics_cards_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'])) header_params = {} @@ -175,7 +175,7 @@ def graphics_cards_get_with_http_info(self, **kwargs): def graphics_cards_moid_get(self, moid, **kwargs): """ - A instance of graphicsCard + Get a specific instance of 'graphicsCard' This method makes 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 +200,7 @@ def graphics_cards_moid_get(self, moid, **kwargs): def graphics_cards_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of graphicsCard + Get a specific instance of 'graphicsCard' This method makes 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 +279,7 @@ def graphics_cards_moid_get_with_http_info(self, moid, **kwargs): def graphics_cards_moid_patch(self, moid, body, **kwargs): """ - Update an instance of graphicsCard + Update an instance of 'graphicsCard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def graphics_cards_moid_patch(self, moid, body, **kwargs): def graphics_cards_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of graphicsCard + Update an instance of 'graphicsCard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def graphics_cards_moid_patch_with_http_info(self, moid, body, **kwargs): def graphics_cards_moid_post(self, moid, body, **kwargs): """ - Update an instance of graphicsCard + Update an instance of 'graphicsCard' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def graphics_cards_moid_post(self, moid, body, **kwargs): def graphics_cards_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of graphicsCard + Update an instance of 'graphicsCard' This method makes 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/graphics_controller_api.py b/intersight/apis/graphics_controller_api.py index a7ff6ce5..02fbc71a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def graphics_controllers_get(self, **kwargs): """ - List of graphicsControllers + Get a list of 'graphicsController' 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,14 @@ def graphics_controllers_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)) :return: GraphicsControllerList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def graphics_controllers_get(self, **kwargs): def graphics_controllers_get_with_http_info(self, **kwargs): """ - List of graphicsControllers + Get a list of 'graphicsController' 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 +87,20 @@ def graphics_controllers_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)) :return: GraphicsControllerList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def graphics_controllers_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 +138,8 @@ def graphics_controllers_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'])) header_params = {} @@ -175,7 +175,7 @@ def graphics_controllers_get_with_http_info(self, **kwargs): def graphics_controllers_moid_get(self, moid, **kwargs): """ - A instance of graphicsController + Get a specific instance of 'graphicsController' This method makes 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 +200,7 @@ def graphics_controllers_moid_get(self, moid, **kwargs): def graphics_controllers_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of graphicsController + Get a specific instance of 'graphicsController' This method makes 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 +279,7 @@ def graphics_controllers_moid_get_with_http_info(self, moid, **kwargs): def graphics_controllers_moid_patch(self, moid, body, **kwargs): """ - Update an instance of graphicsController + Update an instance of 'graphicsController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def graphics_controllers_moid_patch(self, moid, body, **kwargs): def graphics_controllers_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of graphicsController + Update an instance of 'graphicsController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def graphics_controllers_moid_patch_with_http_info(self, moid, body, **kwargs): def graphics_controllers_moid_post(self, moid, body, **kwargs): """ - Update an instance of graphicsController + Update an instance of 'graphicsController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def graphics_controllers_moid_post(self, moid, body, **kwargs): def graphics_controllers_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of graphicsController + Update an instance of 'graphicsController' This method makes 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/hcl_compatibility_status_api.py b/intersight/apis/hcl_compatibility_status_api.py index 64751e90..bbc6d2b0 100644 --- a/intersight/apis/hcl_compatibility_status_api.py +++ b/intersight/apis/hcl_compatibility_status_api.py @@ -1,11 +1,11 @@ # coding: utf-8 """ - UCS Starship API + Intersight REST API - This is the UCS Starship REST API + This is Intersight REST API - OpenAPI spec version: 1.0.0 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hcl_compatibility_statuses_post(self, body, **kwargs): """ - Create a hclCompatibilityStatus + Create an instance of 'hclCompatibilityStatus' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +67,7 @@ def hcl_compatibility_statuses_post(self, body, **kwargs): def hcl_compatibility_statuses_post_with_http_info(self, body, **kwargs): """ - Create a hclCompatibilityStatus + Create an instance of 'hclCompatibilityStatus' This method makes 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/hcl_data_import_log_api.py b/intersight/apis/hcl_data_import_log_api.py index f7f5a223..cf8ad246 100644 --- a/intersight/apis/hcl_data_import_log_api.py +++ b/intersight/apis/hcl_data_import_log_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hcl_data_import_logs_get(self, **kwargs): """ - List of hclDataImportLogs + Get a list of 'hclDataImportLog' 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,14 @@ def hcl_data_import_logs_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)) :return: HclDataImportLogList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hcl_data_import_logs_get(self, **kwargs): def hcl_data_import_logs_get_with_http_info(self, **kwargs): """ - List of hclDataImportLogs + Get a list of 'hclDataImportLog' 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 +87,20 @@ def hcl_data_import_logs_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)) :return: HclDataImportLogList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hcl_data_import_logs_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 +138,8 @@ def hcl_data_import_logs_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'])) header_params = {} @@ -175,7 +175,7 @@ def hcl_data_import_logs_get_with_http_info(self, **kwargs): def hcl_data_import_logs_moid_get(self, moid, **kwargs): """ - A instance of hclDataImportLog + Get a specific instance of 'hclDataImportLog' This method makes 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 +200,7 @@ def hcl_data_import_logs_moid_get(self, moid, **kwargs): def hcl_data_import_logs_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hclDataImportLog + Get a specific instance of 'hclDataImportLog' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -276,3 +276,107 @@ def hcl_data_import_logs_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 hcl_data_import_logs_post(self, body, **kwargs): + """ + Create an instance of 'hclDataImportLog' + This method makes a synchronous HTTP request by default. To make 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_data_import_logs_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HclDataImportLog body: hclDataImportLog 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.hcl_data_import_logs_post_with_http_info(body, **kwargs) + else: + (data) = self.hcl_data_import_logs_post_with_http_info(body, **kwargs) + return data + + def hcl_data_import_logs_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'hclDataImportLog' + This method makes a synchronous HTTP request by default. To make 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_data_import_logs_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HclDataImportLog body: hclDataImportLog 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 hcl_data_import_logs_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 `hcl_data_import_logs_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('/hcl/DataImportLogs', '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/hcl_service_status_api.py b/intersight/apis/hcl_service_status_api.py new file mode 100644 index 00000000..4b0428ec --- /dev/null +++ b/intersight/apis/hcl_service_status_api.py @@ -0,0 +1,278 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 HclServiceStatusApi(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_service_statuses_get(self, **kwargs): + """ + Get a list of 'hclServiceStatus' 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_service_statuses_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)) + :return: HclServiceStatusList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hcl_service_statuses_get_with_http_info(**kwargs) + else: + (data) = self.hcl_service_statuses_get_with_http_info(**kwargs) + return data + + def hcl_service_statuses_get_with_http_info(self, **kwargs): + """ + Get a list of 'hclServiceStatus' 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_service_statuses_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)) + :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.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_service_statuses_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'])) + + 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/ServiceStatuses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HclServiceStatusList', + 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_service_statuses_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hclServiceStatus' + This method makes a synchronous HTTP request by default. To make 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_service_statuses_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hclServiceStatus instance. (required) + :return: HclServiceStatus + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hcl_service_statuses_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hcl_service_statuses_moid_get_with_http_info(moid, **kwargs) + return data + + def hcl_service_statuses_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hclServiceStatus' + This method makes a synchronous HTTP request by default. To make 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_service_statuses_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 hclServiceStatus instance. (required) + :return: HclServiceStatus + 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_service_statuses_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_service_statuses_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/ServiceStatuses/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HclServiceStatus', + 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_supported_driver_name_api.py b/intersight/apis/hcl_supported_driver_name_api.py index eadb5aae..9b443984 100644 --- a/intersight/apis/hcl_supported_driver_name_api.py +++ b/intersight/apis/hcl_supported_driver_name_api.py @@ -1,11 +1,11 @@ # coding: utf-8 """ - UCS Starship API + Intersight REST API - This is the UCS Starship REST API + This is Intersight REST API - OpenAPI spec version: 1.0.0 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hcl_supported_driver_names_post(self, body, **kwargs): """ - Create a hclSupportedDriverName + Create an instance of 'hclSupportedDriverName' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +67,7 @@ def hcl_supported_driver_names_post(self, body, **kwargs): def hcl_supported_driver_names_post_with_http_info(self, body, **kwargs): """ - Create a hclSupportedDriverName + Create an instance of 'hclSupportedDriverName' This method makes 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/hyperflex_alarm_api.py b/intersight/apis/hyperflex_alarm_api.py index c7794bba..48c710ea 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_alarms_get(self, **kwargs): """ - List of hyperflexAlarms + Get a list of 'hyperflexAlarm' 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,14 @@ def hyperflex_alarms_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)) :return: HyperflexAlarmList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_alarms_get(self, **kwargs): def hyperflex_alarms_get_with_http_info(self, **kwargs): """ - List of hyperflexAlarms + Get a list of 'hyperflexAlarm' 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 +87,20 @@ def hyperflex_alarms_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)) :return: HyperflexAlarmList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_alarms_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 +138,8 @@ def hyperflex_alarms_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_alarms_get_with_http_info(self, **kwargs): def hyperflex_alarms_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexAlarm + 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. @@ -200,7 +200,7 @@ def hyperflex_alarms_moid_delete(self, moid, **kwargs): def hyperflex_alarms_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexAlarm + 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. @@ -279,7 +279,7 @@ def hyperflex_alarms_moid_delete_with_http_info(self, moid, **kwargs): def hyperflex_alarms_moid_get(self, moid, **kwargs): """ - A instance of hyperflexAlarm + Get a specific 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. @@ -304,7 +304,7 @@ def hyperflex_alarms_moid_get(self, moid, **kwargs): def hyperflex_alarms_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexAlarm + Get a specific 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. @@ -383,7 +383,7 @@ def hyperflex_alarms_moid_get_with_http_info(self, moid, **kwargs): def hyperflex_alarms_post(self, body, **kwargs): """ - Create a hyperflexAlarm + 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. @@ -408,7 +408,7 @@ def hyperflex_alarms_post(self, body, **kwargs): def hyperflex_alarms_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexAlarm + 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. diff --git a/intersight/apis/hyperflex_app_catalog_api.py b/intersight/apis/hyperflex_app_catalog_api.py new file mode 100644 index 00000000..e126ab62 --- /dev/null +++ b/intersight/apis/hyperflex_app_catalog_api.py @@ -0,0 +1,708 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 HyperflexAppCatalogApi(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_app_catalogs_get(self, **kwargs): + """ + Get a list of 'hyperflexAppCatalog' 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_app_catalogs_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)) + :return: HyperflexAppCatalogList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_app_catalogs_get_with_http_info(**kwargs) + else: + (data) = self.hyperflex_app_catalogs_get_with_http_info(**kwargs) + return data + + def hyperflex_app_catalogs_get_with_http_info(self, **kwargs): + """ + Get a list of 'hyperflexAppCatalog' 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_app_catalogs_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)) + :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.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_app_catalogs_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'])) + + 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/AppCatalogs', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexAppCatalogList', + 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_app_catalogs_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexAppCatalog 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_app_catalogs_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_app_catalogs_moid_delete_with_http_info(moid, **kwargs) + return data + + def hyperflex_app_catalogs_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_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 hyperflexAppCatalog 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_app_catalogs_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_app_catalogs_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/AppCatalogs/{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_app_catalogs_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexAppCatalog instance. (required) + :return: HyperflexAppCatalog + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_app_catalogs_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_app_catalogs_moid_get_with_http_info(moid, **kwargs) + return data + + def hyperflex_app_catalogs_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_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 hyperflexAppCatalog instance. (required) + :return: HyperflexAppCatalog + 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_app_catalogs_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_app_catalogs_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/AppCatalogs/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexAppCatalog', + 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_app_catalogs_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexAppCatalog instance. (required) + :param HyperflexAppCatalog body: hyperflexAppCatalog 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_app_catalogs_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_app_catalogs_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_app_catalogs_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_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 hyperflexAppCatalog instance. (required) + :param HyperflexAppCatalog body: hyperflexAppCatalog 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_app_catalogs_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_app_catalogs_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_app_catalogs_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/AppCatalogs/{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_app_catalogs_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexAppCatalog instance. (required) + :param HyperflexAppCatalog body: hyperflexAppCatalog 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_app_catalogs_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_app_catalogs_moid_post_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_app_catalogs_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_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 hyperflexAppCatalog instance. (required) + :param HyperflexAppCatalog body: hyperflexAppCatalog 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_app_catalogs_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_app_catalogs_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_app_catalogs_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/AppCatalogs/{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 hyperflex_app_catalogs_post(self, body, **kwargs): + """ + Create an instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexAppCatalog body: hyperflexAppCatalog 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_app_catalogs_post_with_http_info(body, **kwargs) + else: + (data) = self.hyperflex_app_catalogs_post_with_http_info(body, **kwargs) + return data + + def hyperflex_app_catalogs_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'hyperflexAppCatalog' + This method makes a synchronous HTTP request by default. To make 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_app_catalogs_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexAppCatalog body: hyperflexAppCatalog 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_app_catalogs_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_app_catalogs_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/AppCatalogs', '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_auto_support_policy_api.py b/intersight/apis/hyperflex_auto_support_policy_api.py index a68540a9..22b9e5d7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_auto_support_policies_get(self, **kwargs): """ - List of hyperflexAutoSupportPolicies + Get a list of 'hyperflexAutoSupportPolicy' 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,14 @@ def hyperflex_auto_support_policies_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)) :return: HyperflexAutoSupportPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_auto_support_policies_get(self, **kwargs): def hyperflex_auto_support_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexAutoSupportPolicies + Get a list of 'hyperflexAutoSupportPolicy' 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 +87,20 @@ def hyperflex_auto_support_policies_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)) :return: HyperflexAutoSupportPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_auto_support_policies_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 +138,8 @@ def hyperflex_auto_support_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_auto_support_policies_get_with_http_info(self, **kwargs): def hyperflex_auto_support_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexAutoSupportPolicy + Delete an instance of 'hyperflexAutoSupportPolicy' This method makes 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 +200,7 @@ def hyperflex_auto_support_policies_moid_delete(self, moid, **kwargs): def hyperflex_auto_support_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexAutoSupportPolicy + Delete an instance of 'hyperflexAutoSupportPolicy' This method makes 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 +279,7 @@ def hyperflex_auto_support_policies_moid_delete_with_http_info(self, moid, **kwa def hyperflex_auto_support_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexAutoSupportPolicy + Get a specific instance of 'hyperflexAutoSupportPolicy' This method makes 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 +304,7 @@ def hyperflex_auto_support_policies_moid_get(self, moid, **kwargs): def hyperflex_auto_support_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexAutoSupportPolicy + Get a specific instance of 'hyperflexAutoSupportPolicy' This method makes 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 +383,7 @@ def hyperflex_auto_support_policies_moid_get_with_http_info(self, moid, **kwargs def hyperflex_auto_support_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexAutoSupportPolicy + Update an instance of 'hyperflexAutoSupportPolicy' This method makes 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 +409,7 @@ def hyperflex_auto_support_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_auto_support_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexAutoSupportPolicy + Update an instance of 'hyperflexAutoSupportPolicy' This method makes 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 +494,7 @@ def hyperflex_auto_support_policies_moid_patch_with_http_info(self, moid, body, def hyperflex_auto_support_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexAutoSupportPolicy + Update an instance of 'hyperflexAutoSupportPolicy' This method makes 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 +520,7 @@ def hyperflex_auto_support_policies_moid_post(self, moid, body, **kwargs): def hyperflex_auto_support_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexAutoSupportPolicy + Update an instance of 'hyperflexAutoSupportPolicy' This method makes 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 +605,7 @@ def hyperflex_auto_support_policies_moid_post_with_http_info(self, moid, body, * def hyperflex_auto_support_policies_post(self, body, **kwargs): """ - Create a hyperflexAutoSupportPolicy + Create an instance of 'hyperflexAutoSupportPolicy' This method makes 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 +630,7 @@ def hyperflex_auto_support_policies_post(self, body, **kwargs): def hyperflex_auto_support_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexAutoSupportPolicy + Create an instance of 'hyperflexAutoSupportPolicy' This method makes 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/hyperflex_cluster_api.py b/intersight/apis/hyperflex_cluster_api.py index 94f1a9a9..0c052d3a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_clusters_get(self, **kwargs): """ - List of hyperflexClusters + Get a list of 'hyperflexCluster' 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,14 @@ def hyperflex_clusters_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)) :return: HyperflexClusterList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_clusters_get(self, **kwargs): def hyperflex_clusters_get_with_http_info(self, **kwargs): """ - List of hyperflexClusters + Get a list of 'hyperflexCluster' 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 +87,20 @@ def hyperflex_clusters_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)) :return: HyperflexClusterList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_clusters_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 +138,8 @@ def hyperflex_clusters_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_clusters_get_with_http_info(self, **kwargs): def hyperflex_clusters_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexCluster + 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. @@ -200,7 +200,7 @@ def hyperflex_clusters_moid_delete(self, moid, **kwargs): def hyperflex_clusters_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexCluster + 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. @@ -279,7 +279,7 @@ def hyperflex_clusters_moid_delete_with_http_info(self, moid, **kwargs): def hyperflex_clusters_moid_get(self, moid, **kwargs): """ - A instance of hyperflexCluster + Get a specific 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. @@ -304,7 +304,7 @@ def hyperflex_clusters_moid_get(self, moid, **kwargs): def hyperflex_clusters_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexCluster + Get a specific 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. @@ -383,7 +383,7 @@ def hyperflex_clusters_moid_get_with_http_info(self, moid, **kwargs): def hyperflex_clusters_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexCluster + 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. @@ -409,7 +409,7 @@ def hyperflex_clusters_moid_patch(self, moid, body, **kwargs): def hyperflex_clusters_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexCluster + 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. @@ -494,7 +494,7 @@ def hyperflex_clusters_moid_patch_with_http_info(self, moid, body, **kwargs): def hyperflex_clusters_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexCluster + 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. @@ -520,7 +520,7 @@ def hyperflex_clusters_moid_post(self, moid, body, **kwargs): def hyperflex_clusters_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexCluster + 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. diff --git a/intersight/apis/hyperflex_cluster_network_policy_api.py b/intersight/apis/hyperflex_cluster_network_policy_api.py index 10df18dd..44068606 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_cluster_network_policies_get(self, **kwargs): """ - List of hyperflexClusterNetworkPolicies + Get a list of 'hyperflexClusterNetworkPolicy' 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,14 @@ def hyperflex_cluster_network_policies_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)) :return: HyperflexClusterNetworkPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_cluster_network_policies_get(self, **kwargs): def hyperflex_cluster_network_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexClusterNetworkPolicies + Get a list of 'hyperflexClusterNetworkPolicy' 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 +87,20 @@ def hyperflex_cluster_network_policies_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)) :return: HyperflexClusterNetworkPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_cluster_network_policies_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 +138,8 @@ def hyperflex_cluster_network_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_cluster_network_policies_get_with_http_info(self, **kwargs): def hyperflex_cluster_network_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexClusterNetworkPolicy + Delete an instance of 'hyperflexClusterNetworkPolicy' This method makes 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 +200,7 @@ def hyperflex_cluster_network_policies_moid_delete(self, moid, **kwargs): def hyperflex_cluster_network_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexClusterNetworkPolicy + Delete an instance of 'hyperflexClusterNetworkPolicy' This method makes 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 +279,7 @@ def hyperflex_cluster_network_policies_moid_delete_with_http_info(self, moid, ** def hyperflex_cluster_network_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexClusterNetworkPolicy + Get a specific instance of 'hyperflexClusterNetworkPolicy' This method makes 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 +304,7 @@ def hyperflex_cluster_network_policies_moid_get(self, moid, **kwargs): def hyperflex_cluster_network_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexClusterNetworkPolicy + Get a specific instance of 'hyperflexClusterNetworkPolicy' This method makes 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 +383,7 @@ def hyperflex_cluster_network_policies_moid_get_with_http_info(self, moid, **kwa def hyperflex_cluster_network_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterNetworkPolicy + Update an instance of 'hyperflexClusterNetworkPolicy' This method makes 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 +409,7 @@ def hyperflex_cluster_network_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_cluster_network_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterNetworkPolicy + Update an instance of 'hyperflexClusterNetworkPolicy' This method makes 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 +494,7 @@ def hyperflex_cluster_network_policies_moid_patch_with_http_info(self, moid, bod def hyperflex_cluster_network_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterNetworkPolicy + Update an instance of 'hyperflexClusterNetworkPolicy' This method makes 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 +520,7 @@ def hyperflex_cluster_network_policies_moid_post(self, moid, body, **kwargs): def hyperflex_cluster_network_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterNetworkPolicy + Update an instance of 'hyperflexClusterNetworkPolicy' This method makes 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 +605,7 @@ def hyperflex_cluster_network_policies_moid_post_with_http_info(self, moid, body def hyperflex_cluster_network_policies_post(self, body, **kwargs): """ - Create a hyperflexClusterNetworkPolicy + Create an instance of 'hyperflexClusterNetworkPolicy' This method makes 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 +630,7 @@ def hyperflex_cluster_network_policies_post(self, body, **kwargs): def hyperflex_cluster_network_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexClusterNetworkPolicy + Create an instance of 'hyperflexClusterNetworkPolicy' This method makes 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/hyperflex_cluster_profile_api.py b/intersight/apis/hyperflex_cluster_profile_api.py index 1b396d1b..e2951299 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_cluster_profiles_get(self, **kwargs): """ - List of hyperflexClusterProfiles + Get a list of 'hyperflexClusterProfile' 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,14 @@ def hyperflex_cluster_profiles_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)) :return: HyperflexClusterProfileList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_cluster_profiles_get(self, **kwargs): def hyperflex_cluster_profiles_get_with_http_info(self, **kwargs): """ - List of hyperflexClusterProfiles + Get a list of 'hyperflexClusterProfile' 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 +87,20 @@ def hyperflex_cluster_profiles_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)) :return: HyperflexClusterProfileList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_cluster_profiles_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 +138,8 @@ def hyperflex_cluster_profiles_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_cluster_profiles_get_with_http_info(self, **kwargs): def hyperflex_cluster_profiles_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexClusterProfile + Delete an instance of 'hyperflexClusterProfile' This method makes 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 +200,7 @@ def hyperflex_cluster_profiles_moid_delete(self, moid, **kwargs): def hyperflex_cluster_profiles_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexClusterProfile + Delete an instance of 'hyperflexClusterProfile' This method makes 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 +279,7 @@ def hyperflex_cluster_profiles_moid_delete_with_http_info(self, moid, **kwargs): def hyperflex_cluster_profiles_moid_get(self, moid, **kwargs): """ - A instance of hyperflexClusterProfile + Get a specific instance of 'hyperflexClusterProfile' This method makes 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 +304,7 @@ def hyperflex_cluster_profiles_moid_get(self, moid, **kwargs): def hyperflex_cluster_profiles_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexClusterProfile + Get a specific instance of 'hyperflexClusterProfile' This method makes 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 +383,7 @@ def hyperflex_cluster_profiles_moid_get_with_http_info(self, moid, **kwargs): def hyperflex_cluster_profiles_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterProfile + Update an instance of 'hyperflexClusterProfile' This method makes 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 +409,7 @@ def hyperflex_cluster_profiles_moid_patch(self, moid, body, **kwargs): def hyperflex_cluster_profiles_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterProfile + Update an instance of 'hyperflexClusterProfile' This method makes 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 +494,7 @@ def hyperflex_cluster_profiles_moid_patch_with_http_info(self, moid, body, **kwa def hyperflex_cluster_profiles_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterProfile + Update an instance of 'hyperflexClusterProfile' This method makes 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 +520,7 @@ def hyperflex_cluster_profiles_moid_post(self, moid, body, **kwargs): def hyperflex_cluster_profiles_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterProfile + Update an instance of 'hyperflexClusterProfile' This method makes 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 +605,7 @@ def hyperflex_cluster_profiles_moid_post_with_http_info(self, moid, body, **kwar def hyperflex_cluster_profiles_post(self, body, **kwargs): """ - Create a hyperflexClusterProfile + Create an instance of 'hyperflexClusterProfile' This method makes 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 +630,7 @@ def hyperflex_cluster_profiles_post(self, body, **kwargs): def hyperflex_cluster_profiles_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexClusterProfile + Create an instance of 'hyperflexClusterProfile' This method makes 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/hyperflex_cluster_storage_policy_api.py b/intersight/apis/hyperflex_cluster_storage_policy_api.py index 621f3323..ac2bf749 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_cluster_storage_policies_get(self, **kwargs): """ - List of hyperflexClusterStoragePolicies + Get a list of 'hyperflexClusterStoragePolicy' 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,14 @@ def hyperflex_cluster_storage_policies_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)) :return: HyperflexClusterStoragePolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_cluster_storage_policies_get(self, **kwargs): def hyperflex_cluster_storage_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexClusterStoragePolicies + Get a list of 'hyperflexClusterStoragePolicy' 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 +87,20 @@ def hyperflex_cluster_storage_policies_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)) :return: HyperflexClusterStoragePolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_cluster_storage_policies_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 +138,8 @@ def hyperflex_cluster_storage_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_cluster_storage_policies_get_with_http_info(self, **kwargs): def hyperflex_cluster_storage_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexClusterStoragePolicy + Delete an instance of 'hyperflexClusterStoragePolicy' This method makes 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 +200,7 @@ def hyperflex_cluster_storage_policies_moid_delete(self, moid, **kwargs): def hyperflex_cluster_storage_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexClusterStoragePolicy + Delete an instance of 'hyperflexClusterStoragePolicy' This method makes 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 +279,7 @@ def hyperflex_cluster_storage_policies_moid_delete_with_http_info(self, moid, ** def hyperflex_cluster_storage_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexClusterStoragePolicy + Get a specific instance of 'hyperflexClusterStoragePolicy' This method makes 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 +304,7 @@ def hyperflex_cluster_storage_policies_moid_get(self, moid, **kwargs): def hyperflex_cluster_storage_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexClusterStoragePolicy + Get a specific instance of 'hyperflexClusterStoragePolicy' This method makes 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 +383,7 @@ def hyperflex_cluster_storage_policies_moid_get_with_http_info(self, moid, **kwa def hyperflex_cluster_storage_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterStoragePolicy + Update an instance of 'hyperflexClusterStoragePolicy' This method makes 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 +409,7 @@ def hyperflex_cluster_storage_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_cluster_storage_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterStoragePolicy + Update an instance of 'hyperflexClusterStoragePolicy' This method makes 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 +494,7 @@ def hyperflex_cluster_storage_policies_moid_patch_with_http_info(self, moid, bod def hyperflex_cluster_storage_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterStoragePolicy + Update an instance of 'hyperflexClusterStoragePolicy' This method makes 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 +520,7 @@ def hyperflex_cluster_storage_policies_moid_post(self, moid, body, **kwargs): def hyperflex_cluster_storage_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexClusterStoragePolicy + Update an instance of 'hyperflexClusterStoragePolicy' This method makes 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 +605,7 @@ def hyperflex_cluster_storage_policies_moid_post_with_http_info(self, moid, body def hyperflex_cluster_storage_policies_post(self, body, **kwargs): """ - Create a hyperflexClusterStoragePolicy + Create an instance of 'hyperflexClusterStoragePolicy' This method makes 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 +630,7 @@ def hyperflex_cluster_storage_policies_post(self, body, **kwargs): def hyperflex_cluster_storage_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexClusterStoragePolicy + Create an instance of 'hyperflexClusterStoragePolicy' This method makes 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/hyperflex_config_result_api.py b/intersight/apis/hyperflex_config_result_api.py index 3c63c29d..307071a7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_config_results_get(self, **kwargs): """ - List of hyperflexConfigResults + Get a list of 'hyperflexConfigResult' 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,14 @@ def hyperflex_config_results_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)) :return: HyperflexConfigResultList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_config_results_get(self, **kwargs): def hyperflex_config_results_get_with_http_info(self, **kwargs): """ - List of hyperflexConfigResults + Get a list of 'hyperflexConfigResult' 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 +87,20 @@ def hyperflex_config_results_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)) :return: HyperflexConfigResultList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_config_results_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 +138,8 @@ def hyperflex_config_results_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_config_results_get_with_http_info(self, **kwargs): def hyperflex_config_results_moid_get(self, moid, **kwargs): """ - A instance of hyperflexConfigResult + Get a specific instance of 'hyperflexConfigResult' This method makes 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 +200,7 @@ def hyperflex_config_results_moid_get(self, moid, **kwargs): def hyperflex_config_results_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexConfigResult + Get a specific instance of 'hyperflexConfigResult' This method makes 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/hyperflex_config_result_entry_api.py b/intersight/apis/hyperflex_config_result_entry_api.py index 71f05cbe..2b729ab0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_config_result_entries_get(self, **kwargs): """ - List of hyperflexConfigResultEntries + Get a list of 'hyperflexConfigResultEntry' 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,14 @@ def hyperflex_config_result_entries_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)) :return: HyperflexConfigResultEntryList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_config_result_entries_get(self, **kwargs): def hyperflex_config_result_entries_get_with_http_info(self, **kwargs): """ - List of hyperflexConfigResultEntries + Get a list of 'hyperflexConfigResultEntry' 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 +87,20 @@ def hyperflex_config_result_entries_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)) :return: HyperflexConfigResultEntryList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_config_result_entries_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 +138,8 @@ def hyperflex_config_result_entries_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_config_result_entries_get_with_http_info(self, **kwargs): def hyperflex_config_result_entries_moid_get(self, moid, **kwargs): """ - A instance of hyperflexConfigResultEntry + Get a specific instance of 'hyperflexConfigResultEntry' This method makes 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 +200,7 @@ def hyperflex_config_result_entries_moid_get(self, moid, **kwargs): def hyperflex_config_result_entries_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexConfigResultEntry + Get a specific instance of 'hyperflexConfigResultEntry' This method makes 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/hyperflex_ext_fc_storage_policy_api.py b/intersight/apis/hyperflex_ext_fc_storage_policy_api.py index a2ab1f4e..b959b365 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_ext_fc_storage_policies_get(self, **kwargs): """ - List of hyperflexExtFcStoragePolicies + Get a list of 'hyperflexExtFcStoragePolicy' 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,14 @@ def hyperflex_ext_fc_storage_policies_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)) :return: HyperflexExtFcStoragePolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_ext_fc_storage_policies_get(self, **kwargs): def hyperflex_ext_fc_storage_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexExtFcStoragePolicies + Get a list of 'hyperflexExtFcStoragePolicy' 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 +87,20 @@ def hyperflex_ext_fc_storage_policies_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)) :return: HyperflexExtFcStoragePolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_ext_fc_storage_policies_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 +138,8 @@ def hyperflex_ext_fc_storage_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_ext_fc_storage_policies_get_with_http_info(self, **kwargs): def hyperflex_ext_fc_storage_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexExtFcStoragePolicy + Delete an instance of 'hyperflexExtFcStoragePolicy' This method makes 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 +200,7 @@ def hyperflex_ext_fc_storage_policies_moid_delete(self, moid, **kwargs): def hyperflex_ext_fc_storage_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexExtFcStoragePolicy + Delete an instance of 'hyperflexExtFcStoragePolicy' This method makes 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 +279,7 @@ def hyperflex_ext_fc_storage_policies_moid_delete_with_http_info(self, moid, **k def hyperflex_ext_fc_storage_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexExtFcStoragePolicy + Get a specific instance of 'hyperflexExtFcStoragePolicy' This method makes 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 +304,7 @@ def hyperflex_ext_fc_storage_policies_moid_get(self, moid, **kwargs): def hyperflex_ext_fc_storage_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexExtFcStoragePolicy + Get a specific instance of 'hyperflexExtFcStoragePolicy' This method makes 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 +383,7 @@ def hyperflex_ext_fc_storage_policies_moid_get_with_http_info(self, moid, **kwar def hyperflex_ext_fc_storage_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexExtFcStoragePolicy + Update an instance of 'hyperflexExtFcStoragePolicy' This method makes 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 +409,7 @@ def hyperflex_ext_fc_storage_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_ext_fc_storage_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexExtFcStoragePolicy + Update an instance of 'hyperflexExtFcStoragePolicy' This method makes 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 +494,7 @@ def hyperflex_ext_fc_storage_policies_moid_patch_with_http_info(self, moid, body def hyperflex_ext_fc_storage_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexExtFcStoragePolicy + Update an instance of 'hyperflexExtFcStoragePolicy' This method makes 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 +520,7 @@ def hyperflex_ext_fc_storage_policies_moid_post(self, moid, body, **kwargs): def hyperflex_ext_fc_storage_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexExtFcStoragePolicy + Update an instance of 'hyperflexExtFcStoragePolicy' This method makes 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 +605,7 @@ def hyperflex_ext_fc_storage_policies_moid_post_with_http_info(self, moid, body, def hyperflex_ext_fc_storage_policies_post(self, body, **kwargs): """ - Create a hyperflexExtFcStoragePolicy + Create an instance of 'hyperflexExtFcStoragePolicy' This method makes 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 +630,7 @@ def hyperflex_ext_fc_storage_policies_post(self, body, **kwargs): def hyperflex_ext_fc_storage_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexExtFcStoragePolicy + Create an instance of 'hyperflexExtFcStoragePolicy' This method makes 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/hyperflex_ext_iscsi_storage_policy_api.py b/intersight/apis/hyperflex_ext_iscsi_storage_policy_api.py index 276f24ad..12af68f5 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_ext_iscsi_storage_policies_get(self, **kwargs): """ - List of hyperflexExtIscsiStoragePolicies + Get a list of 'hyperflexExtIscsiStoragePolicy' 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,14 @@ def hyperflex_ext_iscsi_storage_policies_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)) :return: HyperflexExtIscsiStoragePolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_ext_iscsi_storage_policies_get(self, **kwargs): def hyperflex_ext_iscsi_storage_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexExtIscsiStoragePolicies + Get a list of 'hyperflexExtIscsiStoragePolicy' 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 +87,20 @@ def hyperflex_ext_iscsi_storage_policies_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)) :return: HyperflexExtIscsiStoragePolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_ext_iscsi_storage_policies_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 +138,8 @@ def hyperflex_ext_iscsi_storage_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_ext_iscsi_storage_policies_get_with_http_info(self, **kwargs): def hyperflex_ext_iscsi_storage_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexExtIscsiStoragePolicy + Delete an instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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 +200,7 @@ def hyperflex_ext_iscsi_storage_policies_moid_delete(self, moid, **kwargs): def hyperflex_ext_iscsi_storage_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexExtIscsiStoragePolicy + Delete an instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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 +279,7 @@ def hyperflex_ext_iscsi_storage_policies_moid_delete_with_http_info(self, moid, def hyperflex_ext_iscsi_storage_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexExtIscsiStoragePolicy + Get a specific instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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 +304,7 @@ def hyperflex_ext_iscsi_storage_policies_moid_get(self, moid, **kwargs): def hyperflex_ext_iscsi_storage_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexExtIscsiStoragePolicy + Get a specific instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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 +383,7 @@ def hyperflex_ext_iscsi_storage_policies_moid_get_with_http_info(self, moid, **k def hyperflex_ext_iscsi_storage_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexExtIscsiStoragePolicy + Update an instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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 +409,7 @@ def hyperflex_ext_iscsi_storage_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_ext_iscsi_storage_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexExtIscsiStoragePolicy + Update an instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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 +494,7 @@ def hyperflex_ext_iscsi_storage_policies_moid_patch_with_http_info(self, moid, b def hyperflex_ext_iscsi_storage_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexExtIscsiStoragePolicy + Update an instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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 +520,7 @@ def hyperflex_ext_iscsi_storage_policies_moid_post(self, moid, body, **kwargs): def hyperflex_ext_iscsi_storage_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexExtIscsiStoragePolicy + Update an instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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 +605,7 @@ def hyperflex_ext_iscsi_storage_policies_moid_post_with_http_info(self, moid, bo def hyperflex_ext_iscsi_storage_policies_post(self, body, **kwargs): """ - Create a hyperflexExtIscsiStoragePolicy + Create an instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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 +630,7 @@ def hyperflex_ext_iscsi_storage_policies_post(self, body, **kwargs): def hyperflex_ext_iscsi_storage_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexExtIscsiStoragePolicy + Create an instance of 'hyperflexExtIscsiStoragePolicy' This method makes 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/hyperflex_feature_limit_external_api.py b/intersight/apis/hyperflex_feature_limit_external_api.py new file mode 100644 index 00000000..ce8edb78 --- /dev/null +++ b/intersight/apis/hyperflex_feature_limit_external_api.py @@ -0,0 +1,708 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 HyperflexFeatureLimitExternalApi(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_feature_limit_externals_get(self, **kwargs): + """ + Get a list of 'hyperflexFeatureLimitExternal' 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_feature_limit_externals_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)) + :return: HyperflexFeatureLimitExternalList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_feature_limit_externals_get_with_http_info(**kwargs) + else: + (data) = self.hyperflex_feature_limit_externals_get_with_http_info(**kwargs) + return data + + def hyperflex_feature_limit_externals_get_with_http_info(self, **kwargs): + """ + Get a list of 'hyperflexFeatureLimitExternal' 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_feature_limit_externals_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)) + :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.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_feature_limit_externals_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'])) + + 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/FeatureLimitExternals', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexFeatureLimitExternalList', + 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_feature_limit_externals_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexFeatureLimitExternal 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_feature_limit_externals_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_feature_limit_externals_moid_delete_with_http_info(moid, **kwargs) + return data + + def hyperflex_feature_limit_externals_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_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 hyperflexFeatureLimitExternal 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_feature_limit_externals_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_feature_limit_externals_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/FeatureLimitExternals/{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_feature_limit_externals_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexFeatureLimitExternal instance. (required) + :return: HyperflexFeatureLimitExternal + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_feature_limit_externals_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_feature_limit_externals_moid_get_with_http_info(moid, **kwargs) + return data + + def hyperflex_feature_limit_externals_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_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 hyperflexFeatureLimitExternal instance. (required) + :return: HyperflexFeatureLimitExternal + 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_feature_limit_externals_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_feature_limit_externals_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/FeatureLimitExternals/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexFeatureLimitExternal', + 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_feature_limit_externals_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexFeatureLimitExternal instance. (required) + :param HyperflexFeatureLimitExternal body: hyperflexFeatureLimitExternal 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_feature_limit_externals_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_feature_limit_externals_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_feature_limit_externals_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_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 hyperflexFeatureLimitExternal instance. (required) + :param HyperflexFeatureLimitExternal body: hyperflexFeatureLimitExternal 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_feature_limit_externals_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_feature_limit_externals_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_feature_limit_externals_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/FeatureLimitExternals/{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_feature_limit_externals_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexFeatureLimitExternal instance. (required) + :param HyperflexFeatureLimitExternal body: hyperflexFeatureLimitExternal 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_feature_limit_externals_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_feature_limit_externals_moid_post_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_feature_limit_externals_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_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 hyperflexFeatureLimitExternal instance. (required) + :param HyperflexFeatureLimitExternal body: hyperflexFeatureLimitExternal 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_feature_limit_externals_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_feature_limit_externals_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_feature_limit_externals_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/FeatureLimitExternals/{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 hyperflex_feature_limit_externals_post(self, body, **kwargs): + """ + Create an instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexFeatureLimitExternal body: hyperflexFeatureLimitExternal 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_feature_limit_externals_post_with_http_info(body, **kwargs) + else: + (data) = self.hyperflex_feature_limit_externals_post_with_http_info(body, **kwargs) + return data + + def hyperflex_feature_limit_externals_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'hyperflexFeatureLimitExternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_externals_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexFeatureLimitExternal body: hyperflexFeatureLimitExternal 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_feature_limit_externals_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_feature_limit_externals_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/FeatureLimitExternals', '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_feature_limit_internal_api.py b/intersight/apis/hyperflex_feature_limit_internal_api.py new file mode 100644 index 00000000..3d01e1fe --- /dev/null +++ b/intersight/apis/hyperflex_feature_limit_internal_api.py @@ -0,0 +1,708 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 HyperflexFeatureLimitInternalApi(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_feature_limit_internals_get(self, **kwargs): + """ + Get a list of 'hyperflexFeatureLimitInternal' 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_feature_limit_internals_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)) + :return: HyperflexFeatureLimitInternalList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_feature_limit_internals_get_with_http_info(**kwargs) + else: + (data) = self.hyperflex_feature_limit_internals_get_with_http_info(**kwargs) + return data + + def hyperflex_feature_limit_internals_get_with_http_info(self, **kwargs): + """ + Get a list of 'hyperflexFeatureLimitInternal' 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_feature_limit_internals_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)) + :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.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_feature_limit_internals_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'])) + + 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/FeatureLimitInternals', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexFeatureLimitInternalList', + 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_feature_limit_internals_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexFeatureLimitInternal 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_feature_limit_internals_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_feature_limit_internals_moid_delete_with_http_info(moid, **kwargs) + return data + + def hyperflex_feature_limit_internals_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_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 hyperflexFeatureLimitInternal 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_feature_limit_internals_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_feature_limit_internals_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/FeatureLimitInternals/{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_feature_limit_internals_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexFeatureLimitInternal instance. (required) + :return: HyperflexFeatureLimitInternal + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_feature_limit_internals_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_feature_limit_internals_moid_get_with_http_info(moid, **kwargs) + return data + + def hyperflex_feature_limit_internals_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_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 hyperflexFeatureLimitInternal instance. (required) + :return: HyperflexFeatureLimitInternal + 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_feature_limit_internals_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_feature_limit_internals_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/FeatureLimitInternals/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexFeatureLimitInternal', + 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_feature_limit_internals_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexFeatureLimitInternal instance. (required) + :param HyperflexFeatureLimitInternal body: hyperflexFeatureLimitInternal 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_feature_limit_internals_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_feature_limit_internals_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_feature_limit_internals_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_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 hyperflexFeatureLimitInternal instance. (required) + :param HyperflexFeatureLimitInternal body: hyperflexFeatureLimitInternal 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_feature_limit_internals_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_feature_limit_internals_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_feature_limit_internals_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/FeatureLimitInternals/{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_feature_limit_internals_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexFeatureLimitInternal instance. (required) + :param HyperflexFeatureLimitInternal body: hyperflexFeatureLimitInternal 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_feature_limit_internals_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_feature_limit_internals_moid_post_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_feature_limit_internals_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_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 hyperflexFeatureLimitInternal instance. (required) + :param HyperflexFeatureLimitInternal body: hyperflexFeatureLimitInternal 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_feature_limit_internals_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_feature_limit_internals_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_feature_limit_internals_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/FeatureLimitInternals/{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 hyperflex_feature_limit_internals_post(self, body, **kwargs): + """ + Create an instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexFeatureLimitInternal body: hyperflexFeatureLimitInternal 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_feature_limit_internals_post_with_http_info(body, **kwargs) + else: + (data) = self.hyperflex_feature_limit_internals_post_with_http_info(body, **kwargs) + return data + + def hyperflex_feature_limit_internals_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'hyperflexFeatureLimitInternal' + This method makes a synchronous HTTP request by default. To make 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_feature_limit_internals_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexFeatureLimitInternal body: hyperflexFeatureLimitInternal 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_feature_limit_internals_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_feature_limit_internals_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/FeatureLimitInternals', '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_hxdp_version_api.py b/intersight/apis/hyperflex_hxdp_version_api.py new file mode 100644 index 00000000..8ecc01e7 --- /dev/null +++ b/intersight/apis/hyperflex_hxdp_version_api.py @@ -0,0 +1,708 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 HyperflexHxdpVersionApi(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_hxdp_versions_get(self, **kwargs): + """ + Get a list of 'hyperflexHxdpVersion' 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_hxdp_versions_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)) + :return: HyperflexHxdpVersionList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_hxdp_versions_get_with_http_info(**kwargs) + else: + (data) = self.hyperflex_hxdp_versions_get_with_http_info(**kwargs) + return data + + def hyperflex_hxdp_versions_get_with_http_info(self, **kwargs): + """ + Get a list of 'hyperflexHxdpVersion' 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_hxdp_versions_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)) + :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.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_hxdp_versions_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'])) + + 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/HxdpVersions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexHxdpVersionList', + 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_hxdp_versions_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexHxdpVersion 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_hxdp_versions_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_hxdp_versions_moid_delete_with_http_info(moid, **kwargs) + return data + + def hyperflex_hxdp_versions_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_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 hyperflexHxdpVersion 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_hxdp_versions_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_hxdp_versions_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/HxdpVersions/{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_hxdp_versions_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexHxdpVersion instance. (required) + :return: HyperflexHxdpVersion + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_hxdp_versions_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_hxdp_versions_moid_get_with_http_info(moid, **kwargs) + return data + + def hyperflex_hxdp_versions_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_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 hyperflexHxdpVersion instance. (required) + :return: HyperflexHxdpVersion + 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_hxdp_versions_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_hxdp_versions_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/HxdpVersions/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexHxdpVersion', + 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_hxdp_versions_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexHxdpVersion instance. (required) + :param HyperflexHxdpVersion body: hyperflexHxdpVersion 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_hxdp_versions_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_hxdp_versions_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_hxdp_versions_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_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 hyperflexHxdpVersion instance. (required) + :param HyperflexHxdpVersion body: hyperflexHxdpVersion 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_hxdp_versions_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_hxdp_versions_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_hxdp_versions_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/HxdpVersions/{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_hxdp_versions_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexHxdpVersion instance. (required) + :param HyperflexHxdpVersion body: hyperflexHxdpVersion 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_hxdp_versions_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_hxdp_versions_moid_post_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_hxdp_versions_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_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 hyperflexHxdpVersion instance. (required) + :param HyperflexHxdpVersion body: hyperflexHxdpVersion 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_hxdp_versions_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_hxdp_versions_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_hxdp_versions_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/HxdpVersions/{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 hyperflex_hxdp_versions_post(self, body, **kwargs): + """ + Create an instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexHxdpVersion body: hyperflexHxdpVersion 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_hxdp_versions_post_with_http_info(body, **kwargs) + else: + (data) = self.hyperflex_hxdp_versions_post_with_http_info(body, **kwargs) + return data + + def hyperflex_hxdp_versions_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'hyperflexHxdpVersion' + This method makes a synchronous HTTP request by default. To make 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_hxdp_versions_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexHxdpVersion body: hyperflexHxdpVersion 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_hxdp_versions_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_hxdp_versions_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/HxdpVersions', '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_local_credential_policy_api.py b/intersight/apis/hyperflex_local_credential_policy_api.py index fe9e5a1e..465094d2 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_local_credential_policies_get(self, **kwargs): """ - List of hyperflexLocalCredentialPolicies + Get a list of 'hyperflexLocalCredentialPolicy' 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,14 @@ def hyperflex_local_credential_policies_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)) :return: HyperflexLocalCredentialPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_local_credential_policies_get(self, **kwargs): def hyperflex_local_credential_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexLocalCredentialPolicies + Get a list of 'hyperflexLocalCredentialPolicy' 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 +87,20 @@ def hyperflex_local_credential_policies_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)) :return: HyperflexLocalCredentialPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_local_credential_policies_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 +138,8 @@ def hyperflex_local_credential_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_local_credential_policies_get_with_http_info(self, **kwargs): def hyperflex_local_credential_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexLocalCredentialPolicy + Delete an instance of 'hyperflexLocalCredentialPolicy' This method makes 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 +200,7 @@ def hyperflex_local_credential_policies_moid_delete(self, moid, **kwargs): def hyperflex_local_credential_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexLocalCredentialPolicy + Delete an instance of 'hyperflexLocalCredentialPolicy' This method makes 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 +279,7 @@ def hyperflex_local_credential_policies_moid_delete_with_http_info(self, moid, * def hyperflex_local_credential_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexLocalCredentialPolicy + Get a specific instance of 'hyperflexLocalCredentialPolicy' This method makes 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 +304,7 @@ def hyperflex_local_credential_policies_moid_get(self, moid, **kwargs): def hyperflex_local_credential_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexLocalCredentialPolicy + Get a specific instance of 'hyperflexLocalCredentialPolicy' This method makes 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 +383,7 @@ def hyperflex_local_credential_policies_moid_get_with_http_info(self, moid, **kw def hyperflex_local_credential_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexLocalCredentialPolicy + Update an instance of 'hyperflexLocalCredentialPolicy' This method makes 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 +409,7 @@ def hyperflex_local_credential_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_local_credential_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexLocalCredentialPolicy + Update an instance of 'hyperflexLocalCredentialPolicy' This method makes 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 +494,7 @@ def hyperflex_local_credential_policies_moid_patch_with_http_info(self, moid, bo def hyperflex_local_credential_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexLocalCredentialPolicy + Update an instance of 'hyperflexLocalCredentialPolicy' This method makes 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 +520,7 @@ def hyperflex_local_credential_policies_moid_post(self, moid, body, **kwargs): def hyperflex_local_credential_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexLocalCredentialPolicy + Update an instance of 'hyperflexLocalCredentialPolicy' This method makes 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 +605,7 @@ def hyperflex_local_credential_policies_moid_post_with_http_info(self, moid, bod def hyperflex_local_credential_policies_post(self, body, **kwargs): """ - Create a hyperflexLocalCredentialPolicy + Create an instance of 'hyperflexLocalCredentialPolicy' This method makes 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 +630,7 @@ def hyperflex_local_credential_policies_post(self, body, **kwargs): def hyperflex_local_credential_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexLocalCredentialPolicy + Create an instance of 'hyperflexLocalCredentialPolicy' This method makes 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/hyperflex_node_config_policy_api.py b/intersight/apis/hyperflex_node_config_policy_api.py index b8b71039..bca89358 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_node_config_policies_get(self, **kwargs): """ - List of hyperflexNodeConfigPolicies + Get a list of 'hyperflexNodeConfigPolicy' 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,14 @@ def hyperflex_node_config_policies_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)) :return: HyperflexNodeConfigPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_node_config_policies_get(self, **kwargs): def hyperflex_node_config_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexNodeConfigPolicies + Get a list of 'hyperflexNodeConfigPolicy' 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 +87,20 @@ def hyperflex_node_config_policies_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)) :return: HyperflexNodeConfigPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_node_config_policies_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 +138,8 @@ def hyperflex_node_config_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_node_config_policies_get_with_http_info(self, **kwargs): def hyperflex_node_config_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexNodeConfigPolicy + Delete an instance of 'hyperflexNodeConfigPolicy' This method makes 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 +200,7 @@ def hyperflex_node_config_policies_moid_delete(self, moid, **kwargs): def hyperflex_node_config_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexNodeConfigPolicy + Delete an instance of 'hyperflexNodeConfigPolicy' This method makes 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 +279,7 @@ def hyperflex_node_config_policies_moid_delete_with_http_info(self, moid, **kwar def hyperflex_node_config_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexNodeConfigPolicy + Get a specific instance of 'hyperflexNodeConfigPolicy' This method makes 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 +304,7 @@ def hyperflex_node_config_policies_moid_get(self, moid, **kwargs): def hyperflex_node_config_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexNodeConfigPolicy + Get a specific instance of 'hyperflexNodeConfigPolicy' This method makes 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 +383,7 @@ def hyperflex_node_config_policies_moid_get_with_http_info(self, moid, **kwargs) def hyperflex_node_config_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexNodeConfigPolicy + Update an instance of 'hyperflexNodeConfigPolicy' This method makes 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 +409,7 @@ def hyperflex_node_config_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_node_config_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexNodeConfigPolicy + Update an instance of 'hyperflexNodeConfigPolicy' This method makes 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 +494,7 @@ def hyperflex_node_config_policies_moid_patch_with_http_info(self, moid, body, * def hyperflex_node_config_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexNodeConfigPolicy + Update an instance of 'hyperflexNodeConfigPolicy' This method makes 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 +520,7 @@ def hyperflex_node_config_policies_moid_post(self, moid, body, **kwargs): def hyperflex_node_config_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexNodeConfigPolicy + Update an instance of 'hyperflexNodeConfigPolicy' This method makes 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 +605,7 @@ def hyperflex_node_config_policies_moid_post_with_http_info(self, moid, body, ** def hyperflex_node_config_policies_post(self, body, **kwargs): """ - Create a hyperflexNodeConfigPolicy + Create an instance of 'hyperflexNodeConfigPolicy' This method makes 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 +630,7 @@ def hyperflex_node_config_policies_post(self, body, **kwargs): def hyperflex_node_config_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexNodeConfigPolicy + Create an instance of 'hyperflexNodeConfigPolicy' This method makes 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/hyperflex_node_profile_api.py b/intersight/apis/hyperflex_node_profile_api.py index ce374145..36d719c2 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_node_profiles_get(self, **kwargs): """ - List of hyperflexNodeProfiles + Get a list of 'hyperflexNodeProfile' 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,14 @@ def hyperflex_node_profiles_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)) :return: HyperflexNodeProfileList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_node_profiles_get(self, **kwargs): def hyperflex_node_profiles_get_with_http_info(self, **kwargs): """ - List of hyperflexNodeProfiles + Get a list of 'hyperflexNodeProfile' 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 +87,20 @@ def hyperflex_node_profiles_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)) :return: HyperflexNodeProfileList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_node_profiles_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 +138,8 @@ def hyperflex_node_profiles_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_node_profiles_get_with_http_info(self, **kwargs): def hyperflex_node_profiles_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexNodeProfile + Delete an instance of 'hyperflexNodeProfile' This method makes 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 +200,7 @@ def hyperflex_node_profiles_moid_delete(self, moid, **kwargs): def hyperflex_node_profiles_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexNodeProfile + Delete an instance of 'hyperflexNodeProfile' This method makes 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 +279,7 @@ def hyperflex_node_profiles_moid_delete_with_http_info(self, moid, **kwargs): def hyperflex_node_profiles_moid_get(self, moid, **kwargs): """ - A instance of hyperflexNodeProfile + Get a specific instance of 'hyperflexNodeProfile' This method makes 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 +304,7 @@ def hyperflex_node_profiles_moid_get(self, moid, **kwargs): def hyperflex_node_profiles_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexNodeProfile + Get a specific instance of 'hyperflexNodeProfile' This method makes 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 +383,7 @@ def hyperflex_node_profiles_moid_get_with_http_info(self, moid, **kwargs): def hyperflex_node_profiles_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexNodeProfile + Update an instance of 'hyperflexNodeProfile' This method makes 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 +409,7 @@ def hyperflex_node_profiles_moid_patch(self, moid, body, **kwargs): def hyperflex_node_profiles_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexNodeProfile + Update an instance of 'hyperflexNodeProfile' This method makes 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 +494,7 @@ def hyperflex_node_profiles_moid_patch_with_http_info(self, moid, body, **kwargs def hyperflex_node_profiles_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexNodeProfile + Update an instance of 'hyperflexNodeProfile' This method makes 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 +520,7 @@ def hyperflex_node_profiles_moid_post(self, moid, body, **kwargs): def hyperflex_node_profiles_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexNodeProfile + Update an instance of 'hyperflexNodeProfile' This method makes 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 +605,7 @@ def hyperflex_node_profiles_moid_post_with_http_info(self, moid, body, **kwargs) def hyperflex_node_profiles_post(self, body, **kwargs): """ - Create a hyperflexNodeProfile + Create an instance of 'hyperflexNodeProfile' This method makes 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 +630,7 @@ def hyperflex_node_profiles_post(self, body, **kwargs): def hyperflex_node_profiles_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexNodeProfile + Create an instance of 'hyperflexNodeProfile' This method makes 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/hyperflex_proxy_setting_policy_api.py b/intersight/apis/hyperflex_proxy_setting_policy_api.py index 90b413d3..c04bffd3 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_proxy_setting_policies_get(self, **kwargs): """ - List of hyperflexProxySettingPolicies + Get a list of 'hyperflexProxySettingPolicy' 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,14 @@ def hyperflex_proxy_setting_policies_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)) :return: HyperflexProxySettingPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_proxy_setting_policies_get(self, **kwargs): def hyperflex_proxy_setting_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexProxySettingPolicies + Get a list of 'hyperflexProxySettingPolicy' 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 +87,20 @@ def hyperflex_proxy_setting_policies_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)) :return: HyperflexProxySettingPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_proxy_setting_policies_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 +138,8 @@ def hyperflex_proxy_setting_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_proxy_setting_policies_get_with_http_info(self, **kwargs): def hyperflex_proxy_setting_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexProxySettingPolicy + Delete an instance of 'hyperflexProxySettingPolicy' This method makes 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 +200,7 @@ def hyperflex_proxy_setting_policies_moid_delete(self, moid, **kwargs): def hyperflex_proxy_setting_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexProxySettingPolicy + Delete an instance of 'hyperflexProxySettingPolicy' This method makes 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 +279,7 @@ def hyperflex_proxy_setting_policies_moid_delete_with_http_info(self, moid, **kw def hyperflex_proxy_setting_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexProxySettingPolicy + Get a specific instance of 'hyperflexProxySettingPolicy' This method makes 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 +304,7 @@ def hyperflex_proxy_setting_policies_moid_get(self, moid, **kwargs): def hyperflex_proxy_setting_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexProxySettingPolicy + Get a specific instance of 'hyperflexProxySettingPolicy' This method makes 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 +383,7 @@ def hyperflex_proxy_setting_policies_moid_get_with_http_info(self, moid, **kwarg def hyperflex_proxy_setting_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexProxySettingPolicy + Update an instance of 'hyperflexProxySettingPolicy' This method makes 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 +409,7 @@ def hyperflex_proxy_setting_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_proxy_setting_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexProxySettingPolicy + Update an instance of 'hyperflexProxySettingPolicy' This method makes 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 +494,7 @@ def hyperflex_proxy_setting_policies_moid_patch_with_http_info(self, moid, body, def hyperflex_proxy_setting_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexProxySettingPolicy + Update an instance of 'hyperflexProxySettingPolicy' This method makes 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 +520,7 @@ def hyperflex_proxy_setting_policies_moid_post(self, moid, body, **kwargs): def hyperflex_proxy_setting_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexProxySettingPolicy + Update an instance of 'hyperflexProxySettingPolicy' This method makes 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 +605,7 @@ def hyperflex_proxy_setting_policies_moid_post_with_http_info(self, moid, body, def hyperflex_proxy_setting_policies_post(self, body, **kwargs): """ - Create a hyperflexProxySettingPolicy + Create an instance of 'hyperflexProxySettingPolicy' This method makes 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 +630,7 @@ def hyperflex_proxy_setting_policies_post(self, body, **kwargs): def hyperflex_proxy_setting_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexProxySettingPolicy + Create an instance of 'hyperflexProxySettingPolicy' This method makes 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/hyperflex_server_firmware_version_api.py b/intersight/apis/hyperflex_server_firmware_version_api.py new file mode 100644 index 00000000..96755a93 --- /dev/null +++ b/intersight/apis/hyperflex_server_firmware_version_api.py @@ -0,0 +1,708 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 HyperflexServerFirmwareVersionApi(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_server_firmware_versions_get(self, **kwargs): + """ + Get a list of 'hyperflexServerFirmwareVersion' 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_server_firmware_versions_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)) + :return: HyperflexServerFirmwareVersionList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_server_firmware_versions_get_with_http_info(**kwargs) + else: + (data) = self.hyperflex_server_firmware_versions_get_with_http_info(**kwargs) + return data + + def hyperflex_server_firmware_versions_get_with_http_info(self, **kwargs): + """ + Get a list of 'hyperflexServerFirmwareVersion' 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_server_firmware_versions_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)) + :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.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_server_firmware_versions_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'])) + + 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/ServerFirmwareVersions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexServerFirmwareVersionList', + 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_server_firmware_versions_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexServerFirmwareVersion 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_server_firmware_versions_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_server_firmware_versions_moid_delete_with_http_info(moid, **kwargs) + return data + + def hyperflex_server_firmware_versions_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_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 hyperflexServerFirmwareVersion 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_server_firmware_versions_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_server_firmware_versions_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/ServerFirmwareVersions/{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_server_firmware_versions_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexServerFirmwareVersion instance. (required) + :return: HyperflexServerFirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_server_firmware_versions_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_server_firmware_versions_moid_get_with_http_info(moid, **kwargs) + return data + + def hyperflex_server_firmware_versions_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_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 hyperflexServerFirmwareVersion instance. (required) + :return: HyperflexServerFirmwareVersion + 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_server_firmware_versions_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_server_firmware_versions_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/ServerFirmwareVersions/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexServerFirmwareVersion', + 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_server_firmware_versions_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexServerFirmwareVersion instance. (required) + :param HyperflexServerFirmwareVersion body: hyperflexServerFirmwareVersion 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_server_firmware_versions_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_server_firmware_versions_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_server_firmware_versions_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_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 hyperflexServerFirmwareVersion instance. (required) + :param HyperflexServerFirmwareVersion body: hyperflexServerFirmwareVersion 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_server_firmware_versions_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_server_firmware_versions_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_server_firmware_versions_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/ServerFirmwareVersions/{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_server_firmware_versions_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexServerFirmwareVersion instance. (required) + :param HyperflexServerFirmwareVersion body: hyperflexServerFirmwareVersion 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_server_firmware_versions_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_server_firmware_versions_moid_post_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_server_firmware_versions_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_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 hyperflexServerFirmwareVersion instance. (required) + :param HyperflexServerFirmwareVersion body: hyperflexServerFirmwareVersion 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_server_firmware_versions_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_server_firmware_versions_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_server_firmware_versions_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/ServerFirmwareVersions/{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 hyperflex_server_firmware_versions_post(self, body, **kwargs): + """ + Create an instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexServerFirmwareVersion body: hyperflexServerFirmwareVersion 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_server_firmware_versions_post_with_http_info(body, **kwargs) + else: + (data) = self.hyperflex_server_firmware_versions_post_with_http_info(body, **kwargs) + return data + + def hyperflex_server_firmware_versions_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'hyperflexServerFirmwareVersion' + This method makes a synchronous HTTP request by default. To make 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_server_firmware_versions_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexServerFirmwareVersion body: hyperflexServerFirmwareVersion 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_server_firmware_versions_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_server_firmware_versions_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/ServerFirmwareVersions', '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_server_model_api.py b/intersight/apis/hyperflex_server_model_api.py new file mode 100644 index 00000000..dfee06e4 --- /dev/null +++ b/intersight/apis/hyperflex_server_model_api.py @@ -0,0 +1,708 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 HyperflexServerModelApi(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_server_models_get(self, **kwargs): + """ + Get a list of 'hyperflexServerModel' 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_server_models_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)) + :return: HyperflexServerModelList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_server_models_get_with_http_info(**kwargs) + else: + (data) = self.hyperflex_server_models_get_with_http_info(**kwargs) + return data + + def hyperflex_server_models_get_with_http_info(self, **kwargs): + """ + Get a list of 'hyperflexServerModel' 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_server_models_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)) + :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.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_server_models_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'])) + + 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/ServerModels', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexServerModelList', + 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_server_models_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexServerModel 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_server_models_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_server_models_moid_delete_with_http_info(moid, **kwargs) + return data + + def hyperflex_server_models_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_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 hyperflexServerModel 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_server_models_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_server_models_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/ServerModels/{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_server_models_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexServerModel instance. (required) + :return: HyperflexServerModel + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_server_models_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_server_models_moid_get_with_http_info(moid, **kwargs) + return data + + def hyperflex_server_models_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_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 hyperflexServerModel instance. (required) + :return: HyperflexServerModel + 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_server_models_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_server_models_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/ServerModels/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexServerModel', + 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_server_models_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexServerModel instance. (required) + :param HyperflexServerModel body: hyperflexServerModel 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_server_models_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_server_models_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_server_models_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_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 hyperflexServerModel instance. (required) + :param HyperflexServerModel body: hyperflexServerModel 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_server_models_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_server_models_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_server_models_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/ServerModels/{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_server_models_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexServerModel instance. (required) + :param HyperflexServerModel body: hyperflexServerModel 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_server_models_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.hyperflex_server_models_moid_post_with_http_info(moid, body, **kwargs) + return data + + def hyperflex_server_models_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_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 hyperflexServerModel instance. (required) + :param HyperflexServerModel body: hyperflexServerModel 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_server_models_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_server_models_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_server_models_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/ServerModels/{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 hyperflex_server_models_post(self, body, **kwargs): + """ + Create an instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexServerModel body: hyperflexServerModel 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_server_models_post_with_http_info(body, **kwargs) + else: + (data) = self.hyperflex_server_models_post_with_http_info(body, **kwargs) + return data + + def hyperflex_server_models_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'hyperflexServerModel' + This method makes a synchronous HTTP request by default. To make 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_server_models_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param HyperflexServerModel body: hyperflexServerModel 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_server_models_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_server_models_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/ServerModels', '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_sys_config_policy_api.py b/intersight/apis/hyperflex_sys_config_policy_api.py index 69125f5f..b889b88a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_sys_config_policies_get(self, **kwargs): """ - List of hyperflexSysConfigPolicies + Get a list of 'hyperflexSysConfigPolicy' 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,14 @@ def hyperflex_sys_config_policies_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)) :return: HyperflexSysConfigPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_sys_config_policies_get(self, **kwargs): def hyperflex_sys_config_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexSysConfigPolicies + Get a list of 'hyperflexSysConfigPolicy' 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 +87,20 @@ def hyperflex_sys_config_policies_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)) :return: HyperflexSysConfigPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_sys_config_policies_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 +138,8 @@ def hyperflex_sys_config_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_sys_config_policies_get_with_http_info(self, **kwargs): def hyperflex_sys_config_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexSysConfigPolicy + Delete an instance of 'hyperflexSysConfigPolicy' This method makes 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 +200,7 @@ def hyperflex_sys_config_policies_moid_delete(self, moid, **kwargs): def hyperflex_sys_config_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexSysConfigPolicy + Delete an instance of 'hyperflexSysConfigPolicy' This method makes 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 +279,7 @@ def hyperflex_sys_config_policies_moid_delete_with_http_info(self, moid, **kwarg def hyperflex_sys_config_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexSysConfigPolicy + Get a specific instance of 'hyperflexSysConfigPolicy' This method makes 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 +304,7 @@ def hyperflex_sys_config_policies_moid_get(self, moid, **kwargs): def hyperflex_sys_config_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexSysConfigPolicy + Get a specific instance of 'hyperflexSysConfigPolicy' This method makes 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 +383,7 @@ def hyperflex_sys_config_policies_moid_get_with_http_info(self, moid, **kwargs): def hyperflex_sys_config_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexSysConfigPolicy + Update an instance of 'hyperflexSysConfigPolicy' This method makes 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 +409,7 @@ def hyperflex_sys_config_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_sys_config_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexSysConfigPolicy + Update an instance of 'hyperflexSysConfigPolicy' This method makes 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 +494,7 @@ def hyperflex_sys_config_policies_moid_patch_with_http_info(self, moid, body, ** def hyperflex_sys_config_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexSysConfigPolicy + Update an instance of 'hyperflexSysConfigPolicy' This method makes 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 +520,7 @@ def hyperflex_sys_config_policies_moid_post(self, moid, body, **kwargs): def hyperflex_sys_config_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexSysConfigPolicy + Update an instance of 'hyperflexSysConfigPolicy' This method makes 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 +605,7 @@ def hyperflex_sys_config_policies_moid_post_with_http_info(self, moid, body, **k def hyperflex_sys_config_policies_post(self, body, **kwargs): """ - Create a hyperflexSysConfigPolicy + Create an instance of 'hyperflexSysConfigPolicy' This method makes 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 +630,7 @@ def hyperflex_sys_config_policies_post(self, body, **kwargs): def hyperflex_sys_config_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexSysConfigPolicy + Create an instance of 'hyperflexSysConfigPolicy' This method makes 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/hyperflex_ucsm_config_policy_api.py b/intersight/apis/hyperflex_ucsm_config_policy_api.py index 97c6d67a..d57c1386 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_ucsm_config_policies_get(self, **kwargs): """ - List of hyperflexUcsmConfigPolicies + Get a list of 'hyperflexUcsmConfigPolicy' 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,14 @@ def hyperflex_ucsm_config_policies_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)) :return: HyperflexUcsmConfigPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_ucsm_config_policies_get(self, **kwargs): def hyperflex_ucsm_config_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexUcsmConfigPolicies + Get a list of 'hyperflexUcsmConfigPolicy' 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 +87,20 @@ def hyperflex_ucsm_config_policies_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)) :return: HyperflexUcsmConfigPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_ucsm_config_policies_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 +138,8 @@ def hyperflex_ucsm_config_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_ucsm_config_policies_get_with_http_info(self, **kwargs): def hyperflex_ucsm_config_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexUcsmConfigPolicy + Delete an instance of 'hyperflexUcsmConfigPolicy' This method makes 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 +200,7 @@ def hyperflex_ucsm_config_policies_moid_delete(self, moid, **kwargs): def hyperflex_ucsm_config_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexUcsmConfigPolicy + Delete an instance of 'hyperflexUcsmConfigPolicy' This method makes 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 +279,7 @@ def hyperflex_ucsm_config_policies_moid_delete_with_http_info(self, moid, **kwar def hyperflex_ucsm_config_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexUcsmConfigPolicy + Get a specific instance of 'hyperflexUcsmConfigPolicy' This method makes 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 +304,7 @@ def hyperflex_ucsm_config_policies_moid_get(self, moid, **kwargs): def hyperflex_ucsm_config_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexUcsmConfigPolicy + Get a specific instance of 'hyperflexUcsmConfigPolicy' This method makes 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 +383,7 @@ def hyperflex_ucsm_config_policies_moid_get_with_http_info(self, moid, **kwargs) def hyperflex_ucsm_config_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexUcsmConfigPolicy + Update an instance of 'hyperflexUcsmConfigPolicy' This method makes 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 +409,7 @@ def hyperflex_ucsm_config_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_ucsm_config_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexUcsmConfigPolicy + Update an instance of 'hyperflexUcsmConfigPolicy' This method makes 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 +494,7 @@ def hyperflex_ucsm_config_policies_moid_patch_with_http_info(self, moid, body, * def hyperflex_ucsm_config_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexUcsmConfigPolicy + Update an instance of 'hyperflexUcsmConfigPolicy' This method makes 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 +520,7 @@ def hyperflex_ucsm_config_policies_moid_post(self, moid, body, **kwargs): def hyperflex_ucsm_config_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexUcsmConfigPolicy + Update an instance of 'hyperflexUcsmConfigPolicy' This method makes 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 +605,7 @@ def hyperflex_ucsm_config_policies_moid_post_with_http_info(self, moid, body, ** def hyperflex_ucsm_config_policies_post(self, body, **kwargs): """ - Create a hyperflexUcsmConfigPolicy + Create an instance of 'hyperflexUcsmConfigPolicy' This method makes 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 +630,7 @@ def hyperflex_ucsm_config_policies_post(self, body, **kwargs): def hyperflex_ucsm_config_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexUcsmConfigPolicy + Create an instance of 'hyperflexUcsmConfigPolicy' This method makes 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/hyperflex_vcenter_config_policy_api.py b/intersight/apis/hyperflex_vcenter_config_policy_api.py index a66dcd17..1a56e96b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def hyperflex_vcenter_config_policies_get(self, **kwargs): """ - List of hyperflexVcenterConfigPolicies + Get a list of 'hyperflexVcenterConfigPolicy' 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,14 @@ def hyperflex_vcenter_config_policies_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)) :return: HyperflexVcenterConfigPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def hyperflex_vcenter_config_policies_get(self, **kwargs): def hyperflex_vcenter_config_policies_get_with_http_info(self, **kwargs): """ - List of hyperflexVcenterConfigPolicies + Get a list of 'hyperflexVcenterConfigPolicy' 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 +87,20 @@ def hyperflex_vcenter_config_policies_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)) :return: HyperflexVcenterConfigPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def hyperflex_vcenter_config_policies_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 +138,8 @@ def hyperflex_vcenter_config_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def hyperflex_vcenter_config_policies_get_with_http_info(self, **kwargs): def hyperflex_vcenter_config_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of hyperflexVcenterConfigPolicy + Delete an instance of 'hyperflexVcenterConfigPolicy' This method makes 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 +200,7 @@ def hyperflex_vcenter_config_policies_moid_delete(self, moid, **kwargs): def hyperflex_vcenter_config_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of hyperflexVcenterConfigPolicy + Delete an instance of 'hyperflexVcenterConfigPolicy' This method makes 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 +279,7 @@ def hyperflex_vcenter_config_policies_moid_delete_with_http_info(self, moid, **k def hyperflex_vcenter_config_policies_moid_get(self, moid, **kwargs): """ - A instance of hyperflexVcenterConfigPolicy + Get a specific instance of 'hyperflexVcenterConfigPolicy' This method makes 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 +304,7 @@ def hyperflex_vcenter_config_policies_moid_get(self, moid, **kwargs): def hyperflex_vcenter_config_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of hyperflexVcenterConfigPolicy + Get a specific instance of 'hyperflexVcenterConfigPolicy' This method makes 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 +383,7 @@ def hyperflex_vcenter_config_policies_moid_get_with_http_info(self, moid, **kwar def hyperflex_vcenter_config_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of hyperflexVcenterConfigPolicy + Update an instance of 'hyperflexVcenterConfigPolicy' This method makes 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 +409,7 @@ def hyperflex_vcenter_config_policies_moid_patch(self, moid, body, **kwargs): def hyperflex_vcenter_config_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexVcenterConfigPolicy + Update an instance of 'hyperflexVcenterConfigPolicy' This method makes 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 +494,7 @@ def hyperflex_vcenter_config_policies_moid_patch_with_http_info(self, moid, body def hyperflex_vcenter_config_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of hyperflexVcenterConfigPolicy + Update an instance of 'hyperflexVcenterConfigPolicy' This method makes 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 +520,7 @@ def hyperflex_vcenter_config_policies_moid_post(self, moid, body, **kwargs): def hyperflex_vcenter_config_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of hyperflexVcenterConfigPolicy + Update an instance of 'hyperflexVcenterConfigPolicy' This method makes 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 +605,7 @@ def hyperflex_vcenter_config_policies_moid_post_with_http_info(self, moid, body, def hyperflex_vcenter_config_policies_post(self, body, **kwargs): """ - Create a hyperflexVcenterConfigPolicy + Create an instance of 'hyperflexVcenterConfigPolicy' This method makes 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 +630,7 @@ def hyperflex_vcenter_config_policies_post(self, body, **kwargs): def hyperflex_vcenter_config_policies_post_with_http_info(self, body, **kwargs): """ - Create a hyperflexVcenterConfigPolicy + Create an instance of 'hyperflexVcenterConfigPolicy' This method makes 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/iaas_connector_pack_api.py b/intersight/apis/iaas_connector_pack_api.py index ea0a08dd..53572836 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iaas_connector_packs_get(self, **kwargs): """ - List of iaasConnectorPacks + Get a list of 'iaasConnectorPack' 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,14 @@ def iaas_connector_packs_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)) :return: IaasConnectorPackList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iaas_connector_packs_get(self, **kwargs): def iaas_connector_packs_get_with_http_info(self, **kwargs): """ - List of iaasConnectorPacks + Get a list of 'iaasConnectorPack' 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 +87,20 @@ def iaas_connector_packs_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)) :return: IaasConnectorPackList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iaas_connector_packs_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 +138,8 @@ def iaas_connector_packs_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'])) header_params = {} @@ -175,7 +175,7 @@ def iaas_connector_packs_get_with_http_info(self, **kwargs): def iaas_connector_packs_moid_get(self, moid, **kwargs): """ - A instance of iaasConnectorPack + Get a specific instance of 'iaasConnectorPack' This method makes 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 +200,7 @@ def iaas_connector_packs_moid_get(self, moid, **kwargs): def iaas_connector_packs_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iaasConnectorPack + Get a specific instance of 'iaasConnectorPack' This method makes 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/iaas_device_status_api.py b/intersight/apis/iaas_device_status_api.py index c2de2720..fafd2aab 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iaas_device_statuses_get(self, **kwargs): """ - List of iaasDeviceStatuses + Get a list of 'iaasDeviceStatus' 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,14 @@ def iaas_device_statuses_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)) :return: IaasDeviceStatusList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iaas_device_statuses_get(self, **kwargs): def iaas_device_statuses_get_with_http_info(self, **kwargs): """ - List of iaasDeviceStatuses + Get a list of 'iaasDeviceStatus' 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 +87,20 @@ def iaas_device_statuses_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)) :return: IaasDeviceStatusList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iaas_device_statuses_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 +138,8 @@ def iaas_device_statuses_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'])) header_params = {} @@ -175,7 +175,7 @@ def iaas_device_statuses_get_with_http_info(self, **kwargs): def iaas_device_statuses_moid_get(self, moid, **kwargs): """ - A instance of iaasDeviceStatus + Get a specific instance of 'iaasDeviceStatus' This method makes 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 +200,7 @@ def iaas_device_statuses_moid_get(self, moid, **kwargs): def iaas_device_statuses_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iaasDeviceStatus + Get a specific instance of 'iaasDeviceStatus' This method makes 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/iaas_license_info_api.py b/intersight/apis/iaas_license_info_api.py index 8f61ea91..08433b74 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iaas_license_infos_get(self, **kwargs): """ - List of iaasLicenseInfos + Get a list of 'iaasLicenseInfo' 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,14 @@ def iaas_license_infos_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)) :return: IaasLicenseInfoList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iaas_license_infos_get(self, **kwargs): def iaas_license_infos_get_with_http_info(self, **kwargs): """ - List of iaasLicenseInfos + Get a list of 'iaasLicenseInfo' 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 +87,20 @@ def iaas_license_infos_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)) :return: IaasLicenseInfoList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iaas_license_infos_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 +138,8 @@ def iaas_license_infos_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'])) header_params = {} @@ -175,7 +175,7 @@ def iaas_license_infos_get_with_http_info(self, **kwargs): def iaas_license_infos_moid_get(self, moid, **kwargs): """ - A instance of iaasLicenseInfo + Get a specific instance of 'iaasLicenseInfo' This method makes 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 +200,7 @@ def iaas_license_infos_moid_get(self, moid, **kwargs): def iaas_license_infos_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iaasLicenseInfo + Get a specific instance of 'iaasLicenseInfo' This method makes 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/iaas_ucsd_info_api.py b/intersight/apis/iaas_ucsd_info_api.py index 4880d34d..05fd68e9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iaas_ucsd_infos_get(self, **kwargs): """ - List of iaasUcsdInfos + Get a list of 'iaasUcsdInfo' 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,14 @@ def iaas_ucsd_infos_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)) :return: IaasUcsdInfoList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iaas_ucsd_infos_get(self, **kwargs): def iaas_ucsd_infos_get_with_http_info(self, **kwargs): """ - List of iaasUcsdInfos + Get a list of 'iaasUcsdInfo' 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 +87,20 @@ def iaas_ucsd_infos_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)) :return: IaasUcsdInfoList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iaas_ucsd_infos_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 +138,8 @@ def iaas_ucsd_infos_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'])) header_params = {} @@ -175,7 +175,7 @@ def iaas_ucsd_infos_get_with_http_info(self, **kwargs): def iaas_ucsd_infos_moid_get(self, moid, **kwargs): """ - A instance of iaasUcsdInfo + Get a specific instance of 'iaasUcsdInfo' This method makes 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 +200,7 @@ def iaas_ucsd_infos_moid_get(self, moid, **kwargs): def iaas_ucsd_infos_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iaasUcsdInfo + Get a specific instance of 'iaasUcsdInfo' This method makes 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/iam_account_api.py b/intersight/apis/iam_account_api.py index eae616de..95670074 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_accounts_get(self, **kwargs): """ - List of iamAccounts + Get a list of 'iamAccount' 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,14 @@ def iam_accounts_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)) :return: IamAccountList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_accounts_get(self, **kwargs): def iam_accounts_get_with_http_info(self, **kwargs): """ - List of iamAccounts + Get a list of 'iamAccount' 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 +87,20 @@ def iam_accounts_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)) :return: IamAccountList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_accounts_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 +138,8 @@ def iam_accounts_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_accounts_get_with_http_info(self, **kwargs): def iam_accounts_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamAccount + Delete an instance of 'iamAccount' This method makes 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 +200,7 @@ def iam_accounts_moid_delete(self, moid, **kwargs): def iam_accounts_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamAccount + Delete an instance of 'iamAccount' This method makes 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 +279,7 @@ def iam_accounts_moid_delete_with_http_info(self, moid, **kwargs): def iam_accounts_moid_get(self, moid, **kwargs): """ - A instance of iamAccount + Get a specific instance of 'iamAccount' This method makes 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 +304,7 @@ def iam_accounts_moid_get(self, moid, **kwargs): def iam_accounts_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamAccount + Get a specific instance of 'iamAccount' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -381,9 +381,231 @@ def iam_accounts_moid_get_with_http_info(self, moid, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def iam_accounts_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'iamAccount' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_accounts_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamAccount instance. (required) + :param IamAccount body: iamAccount 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.iam_accounts_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_accounts_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def iam_accounts_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamAccount' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_accounts_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 iamAccount instance. (required) + :param IamAccount body: iamAccount 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 iam_accounts_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 `iam_accounts_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 `iam_accounts_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('/iam/Accounts/{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 iam_accounts_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'iamAccount' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_accounts_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamAccount instance. (required) + :param IamAccount body: iamAccount 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.iam_accounts_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_accounts_moid_post_with_http_info(moid, body, **kwargs) + return data + + def iam_accounts_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamAccount' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_accounts_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 iamAccount instance. (required) + :param IamAccount body: iamAccount 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 iam_accounts_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 `iam_accounts_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 `iam_accounts_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('/iam/Accounts/{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 iam_accounts_post(self, body, **kwargs): """ - Create a iamAccount + Create an instance of 'iamAccount' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -408,7 +630,7 @@ def iam_accounts_post(self, body, **kwargs): def iam_accounts_post_with_http_info(self, body, **kwargs): """ - Create a iamAccount + Create an instance of 'iamAccount' This method makes 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/iam_api_key_api.py b/intersight/apis/iam_api_key_api.py index 2695958f..3dcb509a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_api_keys_get(self, **kwargs): """ - List of iamApiKeys + Get a list of 'iamApiKey' 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,14 @@ def iam_api_keys_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)) :return: IamApiKeyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_api_keys_get(self, **kwargs): def iam_api_keys_get_with_http_info(self, **kwargs): """ - List of iamApiKeys + Get a list of 'iamApiKey' 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 +87,20 @@ def iam_api_keys_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)) :return: IamApiKeyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_api_keys_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 +138,8 @@ def iam_api_keys_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_api_keys_get_with_http_info(self, **kwargs): def iam_api_keys_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamApiKey + Delete an instance of 'iamApiKey' This method makes 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 +200,7 @@ def iam_api_keys_moid_delete(self, moid, **kwargs): def iam_api_keys_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamApiKey + Delete an instance of 'iamApiKey' This method makes 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 +279,7 @@ def iam_api_keys_moid_delete_with_http_info(self, moid, **kwargs): def iam_api_keys_moid_get(self, moid, **kwargs): """ - A instance of iamApiKey + Get a specific instance of 'iamApiKey' This method makes 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 +304,7 @@ def iam_api_keys_moid_get(self, moid, **kwargs): def iam_api_keys_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamApiKey + Get a specific instance of 'iamApiKey' This method makes 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 +383,7 @@ def iam_api_keys_moid_get_with_http_info(self, moid, **kwargs): def iam_api_keys_moid_patch(self, moid, body, **kwargs): """ - Update an instance of iamApiKey + Update an instance of 'iamApiKey' This method makes 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 +409,7 @@ def iam_api_keys_moid_patch(self, moid, body, **kwargs): def iam_api_keys_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamApiKey + Update an instance of 'iamApiKey' This method makes 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 +494,7 @@ def iam_api_keys_moid_patch_with_http_info(self, moid, body, **kwargs): def iam_api_keys_moid_post(self, moid, body, **kwargs): """ - Update an instance of iamApiKey + Update an instance of 'iamApiKey' This method makes 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 +520,7 @@ def iam_api_keys_moid_post(self, moid, body, **kwargs): def iam_api_keys_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamApiKey + Update an instance of 'iamApiKey' This method makes 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 +605,7 @@ def iam_api_keys_moid_post_with_http_info(self, moid, body, **kwargs): def iam_api_keys_post(self, body, **kwargs): """ - Create a iamApiKey + Create an instance of 'iamApiKey' This method makes 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 +630,7 @@ def iam_api_keys_post(self, body, **kwargs): def iam_api_keys_post_with_http_info(self, body, **kwargs): """ - Create a iamApiKey + Create an instance of 'iamApiKey' This method makes 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/iam_domain_group_api.py b/intersight/apis/iam_domain_group_api.py new file mode 100644 index 00000000..80305b61 --- /dev/null +++ b/intersight/apis/iam_domain_group_api.py @@ -0,0 +1,278 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 IamDomainGroupApi(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 iam_domain_groups_get(self, **kwargs): + """ + Get a list of 'iamDomainGroup' 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.iam_domain_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)) + :return: IamDomainGroupList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.iam_domain_groups_get_with_http_info(**kwargs) + else: + (data) = self.iam_domain_groups_get_with_http_info(**kwargs) + return data + + def iam_domain_groups_get_with_http_info(self, **kwargs): + """ + Get a list of 'iamDomainGroup' 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.iam_domain_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)) + :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.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 iam_domain_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'])) + + 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('/iam/DomainGroups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='IamDomainGroupList', + 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 iam_domain_groups_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'iamDomainGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_domain_groups_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamDomainGroup instance. (required) + :return: IamDomainGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.iam_domain_groups_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.iam_domain_groups_moid_get_with_http_info(moid, **kwargs) + return data + + def iam_domain_groups_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'iamDomainGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_domain_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 iamDomainGroup instance. (required) + :return: IamDomainGroup + 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 iam_domain_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 `iam_domain_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('/iam/DomainGroups/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='IamDomainGroup', + 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_end_point_privilege_api.py b/intersight/apis/iam_end_point_privilege_api.py index 2b74ae72..5328c180 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_end_point_privileges_get(self, **kwargs): """ - List of iamEndPointPrivileges + Get a list of 'iamEndPointPrivilege' 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,14 @@ def iam_end_point_privileges_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)) :return: IamEndPointPrivilegeList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_end_point_privileges_get(self, **kwargs): def iam_end_point_privileges_get_with_http_info(self, **kwargs): """ - List of iamEndPointPrivileges + Get a list of 'iamEndPointPrivilege' 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 +87,20 @@ def iam_end_point_privileges_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)) :return: IamEndPointPrivilegeList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_end_point_privileges_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 +138,8 @@ def iam_end_point_privileges_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_end_point_privileges_get_with_http_info(self, **kwargs): def iam_end_point_privileges_moid_get(self, moid, **kwargs): """ - A instance of iamEndPointPrivilege + Get a specific instance of 'iamEndPointPrivilege' This method makes 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 +200,7 @@ def iam_end_point_privileges_moid_get(self, moid, **kwargs): def iam_end_point_privileges_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamEndPointPrivilege + Get a specific instance of 'iamEndPointPrivilege' This method makes 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/iam_end_point_role_api.py b/intersight/apis/iam_end_point_role_api.py index 01c01320..4880f972 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_end_point_roles_get(self, **kwargs): """ - List of iamEndPointRoles + Get a list of 'iamEndPointRole' 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,14 @@ def iam_end_point_roles_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)) :return: IamEndPointRoleList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_end_point_roles_get(self, **kwargs): def iam_end_point_roles_get_with_http_info(self, **kwargs): """ - List of iamEndPointRoles + Get a list of 'iamEndPointRole' 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 +87,20 @@ def iam_end_point_roles_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)) :return: IamEndPointRoleList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_end_point_roles_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 +138,8 @@ def iam_end_point_roles_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_end_point_roles_get_with_http_info(self, **kwargs): def iam_end_point_roles_moid_get(self, moid, **kwargs): """ - A instance of iamEndPointRole + Get a specific instance of 'iamEndPointRole' This method makes 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 +200,7 @@ def iam_end_point_roles_moid_get(self, moid, **kwargs): def iam_end_point_roles_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamEndPointRole + Get a specific instance of 'iamEndPointRole' This method makes 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/iam_end_point_user_api.py b/intersight/apis/iam_end_point_user_api.py index eb278cf8..b127d5b4 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_end_point_users_get(self, **kwargs): """ - List of iamEndPointUsers + Get a list of 'iamEndPointUser' 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,14 @@ def iam_end_point_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)) :return: IamEndPointUserList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_end_point_users_get(self, **kwargs): def iam_end_point_users_get_with_http_info(self, **kwargs): """ - List of iamEndPointUsers + Get a list of 'iamEndPointUser' 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 +87,20 @@ def iam_end_point_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)) :return: IamEndPointUserList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_end_point_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 +138,8 @@ def iam_end_point_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_end_point_users_get_with_http_info(self, **kwargs): def iam_end_point_users_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamEndPointUser + Delete an instance of 'iamEndPointUser' This method makes 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 +200,7 @@ def iam_end_point_users_moid_delete(self, moid, **kwargs): def iam_end_point_users_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamEndPointUser + Delete an instance of 'iamEndPointUser' This method makes 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 +279,7 @@ def iam_end_point_users_moid_delete_with_http_info(self, moid, **kwargs): def iam_end_point_users_moid_get(self, moid, **kwargs): """ - A instance of iamEndPointUser + Get a specific instance of 'iamEndPointUser' This method makes 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 +304,7 @@ def iam_end_point_users_moid_get(self, moid, **kwargs): def iam_end_point_users_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamEndPointUser + Get a specific instance of 'iamEndPointUser' This method makes 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 +383,7 @@ def iam_end_point_users_moid_get_with_http_info(self, moid, **kwargs): def iam_end_point_users_moid_patch(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUser + Update an instance of 'iamEndPointUser' This method makes 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 +409,7 @@ def iam_end_point_users_moid_patch(self, moid, body, **kwargs): def iam_end_point_users_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUser + Update an instance of 'iamEndPointUser' This method makes 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 +494,7 @@ def iam_end_point_users_moid_patch_with_http_info(self, moid, body, **kwargs): def iam_end_point_users_moid_post(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUser + Update an instance of 'iamEndPointUser' This method makes 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 +520,7 @@ def iam_end_point_users_moid_post(self, moid, body, **kwargs): def iam_end_point_users_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUser + Update an instance of 'iamEndPointUser' This method makes 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 +605,7 @@ def iam_end_point_users_moid_post_with_http_info(self, moid, body, **kwargs): def iam_end_point_users_post(self, body, **kwargs): """ - Create a iamEndPointUser + Create an instance of 'iamEndPointUser' This method makes 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 +630,7 @@ def iam_end_point_users_post(self, body, **kwargs): def iam_end_point_users_post_with_http_info(self, body, **kwargs): """ - Create a iamEndPointUser + Create an instance of 'iamEndPointUser' This method makes 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/iam_end_point_user_policy_api.py b/intersight/apis/iam_end_point_user_policy_api.py index 6b7796d5..0639c802 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_end_point_user_policies_get(self, **kwargs): """ - List of iamEndPointUserPolicies + Get a list of 'iamEndPointUserPolicy' 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,14 @@ def iam_end_point_user_policies_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)) :return: IamEndPointUserPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_end_point_user_policies_get(self, **kwargs): def iam_end_point_user_policies_get_with_http_info(self, **kwargs): """ - List of iamEndPointUserPolicies + Get a list of 'iamEndPointUserPolicy' 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 +87,20 @@ def iam_end_point_user_policies_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)) :return: IamEndPointUserPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_end_point_user_policies_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 +138,8 @@ def iam_end_point_user_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_end_point_user_policies_get_with_http_info(self, **kwargs): def iam_end_point_user_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamEndPointUserPolicy + Delete an instance of 'iamEndPointUserPolicy' This method makes 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 +200,7 @@ def iam_end_point_user_policies_moid_delete(self, moid, **kwargs): def iam_end_point_user_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamEndPointUserPolicy + Delete an instance of 'iamEndPointUserPolicy' This method makes 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 +279,7 @@ def iam_end_point_user_policies_moid_delete_with_http_info(self, moid, **kwargs) def iam_end_point_user_policies_moid_get(self, moid, **kwargs): """ - A instance of iamEndPointUserPolicy + Get a specific instance of 'iamEndPointUserPolicy' This method makes 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 +304,7 @@ def iam_end_point_user_policies_moid_get(self, moid, **kwargs): def iam_end_point_user_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamEndPointUserPolicy + Get a specific instance of 'iamEndPointUserPolicy' This method makes 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 +383,7 @@ def iam_end_point_user_policies_moid_get_with_http_info(self, moid, **kwargs): def iam_end_point_user_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUserPolicy + Update an instance of 'iamEndPointUserPolicy' This method makes 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 +409,7 @@ def iam_end_point_user_policies_moid_patch(self, moid, body, **kwargs): def iam_end_point_user_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUserPolicy + Update an instance of 'iamEndPointUserPolicy' This method makes 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 +494,7 @@ def iam_end_point_user_policies_moid_patch_with_http_info(self, moid, body, **kw def iam_end_point_user_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUserPolicy + Update an instance of 'iamEndPointUserPolicy' This method makes 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 +520,7 @@ def iam_end_point_user_policies_moid_post(self, moid, body, **kwargs): def iam_end_point_user_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUserPolicy + Update an instance of 'iamEndPointUserPolicy' This method makes 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 +605,7 @@ def iam_end_point_user_policies_moid_post_with_http_info(self, moid, body, **kwa def iam_end_point_user_policies_post(self, body, **kwargs): """ - Create a iamEndPointUserPolicy + Create an instance of 'iamEndPointUserPolicy' This method makes 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 +630,7 @@ def iam_end_point_user_policies_post(self, body, **kwargs): def iam_end_point_user_policies_post_with_http_info(self, body, **kwargs): """ - Create a iamEndPointUserPolicy + Create an instance of 'iamEndPointUserPolicy' This method makes 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/iam_end_point_user_role_api.py b/intersight/apis/iam_end_point_user_role_api.py index 5bc7951d..f29e6fa5 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_end_point_user_roles_get(self, **kwargs): """ - List of iamEndPointUserRoles + Get a list of 'iamEndPointUserRole' 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,14 @@ def iam_end_point_user_roles_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)) :return: IamEndPointUserRoleList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_end_point_user_roles_get(self, **kwargs): def iam_end_point_user_roles_get_with_http_info(self, **kwargs): """ - List of iamEndPointUserRoles + Get a list of 'iamEndPointUserRole' 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 +87,20 @@ def iam_end_point_user_roles_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)) :return: IamEndPointUserRoleList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_end_point_user_roles_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 +138,8 @@ def iam_end_point_user_roles_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_end_point_user_roles_get_with_http_info(self, **kwargs): def iam_end_point_user_roles_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamEndPointUserRole + Delete an instance of 'iamEndPointUserRole' This method makes 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 +200,7 @@ def iam_end_point_user_roles_moid_delete(self, moid, **kwargs): def iam_end_point_user_roles_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamEndPointUserRole + Delete an instance of 'iamEndPointUserRole' This method makes 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 +279,7 @@ def iam_end_point_user_roles_moid_delete_with_http_info(self, moid, **kwargs): def iam_end_point_user_roles_moid_get(self, moid, **kwargs): """ - A instance of iamEndPointUserRole + Get a specific instance of 'iamEndPointUserRole' This method makes 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 +304,7 @@ def iam_end_point_user_roles_moid_get(self, moid, **kwargs): def iam_end_point_user_roles_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamEndPointUserRole + Get a specific instance of 'iamEndPointUserRole' This method makes 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 +383,7 @@ def iam_end_point_user_roles_moid_get_with_http_info(self, moid, **kwargs): def iam_end_point_user_roles_moid_patch(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUserRole + Update an instance of 'iamEndPointUserRole' This method makes 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 +409,7 @@ def iam_end_point_user_roles_moid_patch(self, moid, body, **kwargs): def iam_end_point_user_roles_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUserRole + Update an instance of 'iamEndPointUserRole' This method makes 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 +494,7 @@ def iam_end_point_user_roles_moid_patch_with_http_info(self, moid, body, **kwarg def iam_end_point_user_roles_moid_post(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUserRole + Update an instance of 'iamEndPointUserRole' This method makes 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 +520,7 @@ def iam_end_point_user_roles_moid_post(self, moid, body, **kwargs): def iam_end_point_user_roles_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamEndPointUserRole + Update an instance of 'iamEndPointUserRole' This method makes 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 +605,7 @@ def iam_end_point_user_roles_moid_post_with_http_info(self, moid, body, **kwargs def iam_end_point_user_roles_post(self, body, **kwargs): """ - Create a iamEndPointUserRole + Create an instance of 'iamEndPointUserRole' This method makes 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 +630,7 @@ def iam_end_point_user_roles_post(self, body, **kwargs): def iam_end_point_user_roles_post_with_http_info(self, body, **kwargs): """ - Create a iamEndPointUserRole + Create an instance of 'iamEndPointUserRole' This method makes 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/iam_idp_api.py b/intersight/apis/iam_idp_api.py index c7105760..fbc1057f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_idps_get(self, **kwargs): """ - List of iamIdps + Get a list of 'iamIdp' 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,14 @@ def iam_idps_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)) :return: IamIdpList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_idps_get(self, **kwargs): def iam_idps_get_with_http_info(self, **kwargs): """ - List of iamIdps + Get a list of 'iamIdp' 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 +87,20 @@ def iam_idps_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)) :return: IamIdpList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_idps_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 +138,8 @@ def iam_idps_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'])) header_params = {} @@ -173,9 +173,113 @@ def iam_idps_get_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def iam_idps_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'iamIdp' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_idps_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamIdp 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.iam_idps_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.iam_idps_moid_delete_with_http_info(moid, **kwargs) + return data + + def iam_idps_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'iamIdp' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_idps_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 iamIdp 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 iam_idps_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 `iam_idps_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('/iam/Idps/{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 iam_idps_moid_get(self, moid, **kwargs): """ - A instance of iamIdp + Get a specific instance of 'iamIdp' This method makes 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 +304,7 @@ def iam_idps_moid_get(self, moid, **kwargs): def iam_idps_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamIdp + Get a specific instance of 'iamIdp' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -276,3 +380,329 @@ def iam_idps_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 iam_idps_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'iamIdp' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_idps_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamIdp instance. (required) + :param IamIdp body: iamIdp 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.iam_idps_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_idps_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def iam_idps_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamIdp' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_idps_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 iamIdp instance. (required) + :param IamIdp body: iamIdp 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 iam_idps_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 `iam_idps_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 `iam_idps_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('/iam/Idps/{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 iam_idps_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'iamIdp' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_idps_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamIdp instance. (required) + :param IamIdp body: iamIdp 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.iam_idps_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_idps_moid_post_with_http_info(moid, body, **kwargs) + return data + + def iam_idps_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamIdp' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_idps_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 iamIdp instance. (required) + :param IamIdp body: iamIdp 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 iam_idps_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 `iam_idps_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 `iam_idps_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('/iam/Idps/{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 iam_idps_post(self, body, **kwargs): + """ + Create an instance of 'iamIdp' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_idps_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param IamIdp body: iamIdp 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.iam_idps_post_with_http_info(body, **kwargs) + else: + (data) = self.iam_idps_post_with_http_info(body, **kwargs) + return data + + def iam_idps_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'iamIdp' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_idps_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param IamIdp body: iamIdp 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 iam_idps_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 `iam_idps_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('/iam/Idps', '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/iam_idp_reference_api.py b/intersight/apis/iam_idp_reference_api.py index 77d8e77b..6df8c087 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_idp_references_get(self, **kwargs): """ - List of iamIdpReferences + Get a list of 'iamIdpReference' 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,14 @@ def iam_idp_references_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)) :return: IamIdpReferenceList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_idp_references_get(self, **kwargs): def iam_idp_references_get_with_http_info(self, **kwargs): """ - List of iamIdpReferences + Get a list of 'iamIdpReference' 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 +87,20 @@ def iam_idp_references_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)) :return: IamIdpReferenceList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_idp_references_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 +138,8 @@ def iam_idp_references_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_idp_references_get_with_http_info(self, **kwargs): def iam_idp_references_moid_get(self, moid, **kwargs): """ - A instance of iamIdpReference + Get a specific instance of 'iamIdpReference' This method makes 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 +200,7 @@ def iam_idp_references_moid_get(self, moid, **kwargs): def iam_idp_references_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamIdpReference + Get a specific instance of 'iamIdpReference' This method makes 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/iam_ldap_group_api.py b/intersight/apis/iam_ldap_group_api.py index 39739187..5aab372e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_ldap_groups_get(self, **kwargs): """ - List of iamLdapGroups + Get a list of 'iamLdapGroup' 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,14 @@ def iam_ldap_groups_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)) :return: IamLdapGroupList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_ldap_groups_get(self, **kwargs): def iam_ldap_groups_get_with_http_info(self, **kwargs): """ - List of iamLdapGroups + Get a list of 'iamLdapGroup' 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 +87,20 @@ def iam_ldap_groups_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)) :return: IamLdapGroupList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_ldap_groups_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 +138,8 @@ def iam_ldap_groups_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_ldap_groups_get_with_http_info(self, **kwargs): def iam_ldap_groups_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamLdapGroup + Delete an instance of 'iamLdapGroup' This method makes 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 +200,7 @@ def iam_ldap_groups_moid_delete(self, moid, **kwargs): def iam_ldap_groups_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamLdapGroup + Delete an instance of 'iamLdapGroup' This method makes 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 +279,7 @@ def iam_ldap_groups_moid_delete_with_http_info(self, moid, **kwargs): def iam_ldap_groups_moid_get(self, moid, **kwargs): """ - A instance of iamLdapGroup + Get a specific instance of 'iamLdapGroup' This method makes 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 +304,7 @@ def iam_ldap_groups_moid_get(self, moid, **kwargs): def iam_ldap_groups_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamLdapGroup + Get a specific instance of 'iamLdapGroup' This method makes 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 +383,7 @@ def iam_ldap_groups_moid_get_with_http_info(self, moid, **kwargs): def iam_ldap_groups_moid_patch(self, moid, body, **kwargs): """ - Update an instance of iamLdapGroup + Update an instance of 'iamLdapGroup' This method makes 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 +409,7 @@ def iam_ldap_groups_moid_patch(self, moid, body, **kwargs): def iam_ldap_groups_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamLdapGroup + Update an instance of 'iamLdapGroup' This method makes 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 +494,7 @@ def iam_ldap_groups_moid_patch_with_http_info(self, moid, body, **kwargs): def iam_ldap_groups_moid_post(self, moid, body, **kwargs): """ - Update an instance of iamLdapGroup + Update an instance of 'iamLdapGroup' This method makes 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 +520,7 @@ def iam_ldap_groups_moid_post(self, moid, body, **kwargs): def iam_ldap_groups_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamLdapGroup + Update an instance of 'iamLdapGroup' This method makes 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 +605,7 @@ def iam_ldap_groups_moid_post_with_http_info(self, moid, body, **kwargs): def iam_ldap_groups_post(self, body, **kwargs): """ - Create a iamLdapGroup + Create an instance of 'iamLdapGroup' This method makes 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 +630,7 @@ def iam_ldap_groups_post(self, body, **kwargs): def iam_ldap_groups_post_with_http_info(self, body, **kwargs): """ - Create a iamLdapGroup + Create an instance of 'iamLdapGroup' This method makes 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/iam_ldap_policy_api.py b/intersight/apis/iam_ldap_policy_api.py index 5a779181..ffd9c1e0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_ldap_policies_get(self, **kwargs): """ - List of iamLdapPolicies + Get a list of 'iamLdapPolicy' 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,14 @@ def iam_ldap_policies_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)) :return: IamLdapPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_ldap_policies_get(self, **kwargs): def iam_ldap_policies_get_with_http_info(self, **kwargs): """ - List of iamLdapPolicies + Get a list of 'iamLdapPolicy' 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 +87,20 @@ def iam_ldap_policies_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)) :return: IamLdapPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_ldap_policies_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 +138,8 @@ def iam_ldap_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_ldap_policies_get_with_http_info(self, **kwargs): def iam_ldap_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamLdapPolicy + Delete an instance of 'iamLdapPolicy' This method makes 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 +200,7 @@ def iam_ldap_policies_moid_delete(self, moid, **kwargs): def iam_ldap_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamLdapPolicy + Delete an instance of 'iamLdapPolicy' This method makes 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 +279,7 @@ def iam_ldap_policies_moid_delete_with_http_info(self, moid, **kwargs): def iam_ldap_policies_moid_get(self, moid, **kwargs): """ - A instance of iamLdapPolicy + Get a specific instance of 'iamLdapPolicy' This method makes 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 +304,7 @@ def iam_ldap_policies_moid_get(self, moid, **kwargs): def iam_ldap_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamLdapPolicy + Get a specific instance of 'iamLdapPolicy' This method makes 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 +383,7 @@ def iam_ldap_policies_moid_get_with_http_info(self, moid, **kwargs): def iam_ldap_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of iamLdapPolicy + Update an instance of 'iamLdapPolicy' This method makes 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 +409,7 @@ def iam_ldap_policies_moid_patch(self, moid, body, **kwargs): def iam_ldap_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamLdapPolicy + Update an instance of 'iamLdapPolicy' This method makes 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 +494,7 @@ def iam_ldap_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def iam_ldap_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of iamLdapPolicy + Update an instance of 'iamLdapPolicy' This method makes 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 +520,7 @@ def iam_ldap_policies_moid_post(self, moid, body, **kwargs): def iam_ldap_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamLdapPolicy + Update an instance of 'iamLdapPolicy' This method makes 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 +605,7 @@ def iam_ldap_policies_moid_post_with_http_info(self, moid, body, **kwargs): def iam_ldap_policies_post(self, body, **kwargs): """ - Create a iamLdapPolicy + Create an instance of 'iamLdapPolicy' This method makes 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 +630,7 @@ def iam_ldap_policies_post(self, body, **kwargs): def iam_ldap_policies_post_with_http_info(self, body, **kwargs): """ - Create a iamLdapPolicy + Create an instance of 'iamLdapPolicy' This method makes 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/iam_ldap_provider_api.py b/intersight/apis/iam_ldap_provider_api.py index 3fa57908..743c3180 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_ldap_providers_get(self, **kwargs): """ - List of iamLdapProviders + Get a list of 'iamLdapProvider' 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,14 @@ def iam_ldap_providers_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)) :return: IamLdapProviderList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_ldap_providers_get(self, **kwargs): def iam_ldap_providers_get_with_http_info(self, **kwargs): """ - List of iamLdapProviders + Get a list of 'iamLdapProvider' 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 +87,20 @@ def iam_ldap_providers_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)) :return: IamLdapProviderList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_ldap_providers_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 +138,8 @@ def iam_ldap_providers_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_ldap_providers_get_with_http_info(self, **kwargs): def iam_ldap_providers_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamLdapProvider + Delete an instance of 'iamLdapProvider' This method makes 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 +200,7 @@ def iam_ldap_providers_moid_delete(self, moid, **kwargs): def iam_ldap_providers_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamLdapProvider + Delete an instance of 'iamLdapProvider' This method makes 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 +279,7 @@ def iam_ldap_providers_moid_delete_with_http_info(self, moid, **kwargs): def iam_ldap_providers_moid_get(self, moid, **kwargs): """ - A instance of iamLdapProvider + Get a specific instance of 'iamLdapProvider' This method makes 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 +304,7 @@ def iam_ldap_providers_moid_get(self, moid, **kwargs): def iam_ldap_providers_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamLdapProvider + Get a specific instance of 'iamLdapProvider' This method makes 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 +383,7 @@ def iam_ldap_providers_moid_get_with_http_info(self, moid, **kwargs): def iam_ldap_providers_moid_patch(self, moid, body, **kwargs): """ - Update an instance of iamLdapProvider + Update an instance of 'iamLdapProvider' This method makes 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 +409,7 @@ def iam_ldap_providers_moid_patch(self, moid, body, **kwargs): def iam_ldap_providers_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamLdapProvider + Update an instance of 'iamLdapProvider' This method makes 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 +494,7 @@ def iam_ldap_providers_moid_patch_with_http_info(self, moid, body, **kwargs): def iam_ldap_providers_moid_post(self, moid, body, **kwargs): """ - Update an instance of iamLdapProvider + Update an instance of 'iamLdapProvider' This method makes 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 +520,7 @@ def iam_ldap_providers_moid_post(self, moid, body, **kwargs): def iam_ldap_providers_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamLdapProvider + Update an instance of 'iamLdapProvider' This method makes 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 +605,7 @@ def iam_ldap_providers_moid_post_with_http_info(self, moid, body, **kwargs): def iam_ldap_providers_post(self, body, **kwargs): """ - Create a iamLdapProvider + Create an instance of 'iamLdapProvider' This method makes 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 +630,7 @@ def iam_ldap_providers_post(self, body, **kwargs): def iam_ldap_providers_post_with_http_info(self, body, **kwargs): """ - Create a iamLdapProvider + Create an instance of 'iamLdapProvider' This method makes 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/iam_permission_api.py b/intersight/apis/iam_permission_api.py index 171798a7..b9ff9116 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_permissions_get(self, **kwargs): """ - List of iamPermissions + Get a list of 'iamPermission' 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,14 @@ def iam_permissions_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)) :return: IamPermissionList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_permissions_get(self, **kwargs): def iam_permissions_get_with_http_info(self, **kwargs): """ - List of iamPermissions + Get a list of 'iamPermission' 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 +87,20 @@ def iam_permissions_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)) :return: IamPermissionList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_permissions_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 +138,8 @@ def iam_permissions_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'])) header_params = {} @@ -173,113 +173,9 @@ def iam_permissions_get_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def iam_permissions_moid_delete(self, moid, **kwargs): - """ - Delete an instance of iamPermission - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.iam_permissions_moid_delete(moid, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the iamPermission 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.iam_permissions_moid_delete_with_http_info(moid, **kwargs) - else: - (data) = self.iam_permissions_moid_delete_with_http_info(moid, **kwargs) - return data - - def iam_permissions_moid_delete_with_http_info(self, moid, **kwargs): - """ - Delete an instance of iamPermission - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.iam_permissions_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 iamPermission 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 iam_permissions_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 `iam_permissions_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('/iam/Permissions/{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 iam_permissions_moid_get(self, moid, **kwargs): """ - A instance of iamPermission + Get a specific instance of 'iamPermission' This method makes 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 +200,7 @@ def iam_permissions_moid_get(self, moid, **kwargs): def iam_permissions_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamPermission + Get a specific instance of 'iamPermission' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -380,329 +276,3 @@ def iam_permissions_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 iam_permissions_moid_patch(self, moid, body, **kwargs): - """ - Update an instance of iamPermission - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.iam_permissions_moid_patch(moid, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the iamPermission instance. (required) - :param IamPermission body: iamPermission 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.iam_permissions_moid_patch_with_http_info(moid, body, **kwargs) - else: - (data) = self.iam_permissions_moid_patch_with_http_info(moid, body, **kwargs) - return data - - def iam_permissions_moid_patch_with_http_info(self, moid, body, **kwargs): - """ - Update an instance of iamPermission - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.iam_permissions_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 iamPermission instance. (required) - :param IamPermission body: iamPermission 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 iam_permissions_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 `iam_permissions_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 `iam_permissions_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('/iam/Permissions/{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 iam_permissions_moid_post(self, moid, body, **kwargs): - """ - Update an instance of iamPermission - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.iam_permissions_moid_post(moid, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the iamPermission instance. (required) - :param IamPermission body: iamPermission 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.iam_permissions_moid_post_with_http_info(moid, body, **kwargs) - else: - (data) = self.iam_permissions_moid_post_with_http_info(moid, body, **kwargs) - return data - - def iam_permissions_moid_post_with_http_info(self, moid, body, **kwargs): - """ - Update an instance of iamPermission - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.iam_permissions_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 iamPermission instance. (required) - :param IamPermission body: iamPermission 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 iam_permissions_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 `iam_permissions_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 `iam_permissions_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('/iam/Permissions/{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 iam_permissions_post(self, body, **kwargs): - """ - Create a iamPermission - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.iam_permissions_post(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param IamPermission body: iamPermission 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.iam_permissions_post_with_http_info(body, **kwargs) - else: - (data) = self.iam_permissions_post_with_http_info(body, **kwargs) - return data - - def iam_permissions_post_with_http_info(self, body, **kwargs): - """ - Create a iamPermission - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.iam_permissions_post_with_http_info(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param IamPermission body: iamPermission 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 iam_permissions_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 `iam_permissions_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('/iam/Permissions', '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/iam_privilege_api.py b/intersight/apis/iam_privilege_api.py index 9aee131b..8ac893da 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_privileges_get(self, **kwargs): """ - List of iamPrivileges + Get a list of 'iamPrivilege' 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,14 @@ def iam_privileges_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)) :return: IamPrivilegeList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_privileges_get(self, **kwargs): def iam_privileges_get_with_http_info(self, **kwargs): """ - List of iamPrivileges + Get a list of 'iamPrivilege' 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 +87,20 @@ def iam_privileges_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)) :return: IamPrivilegeList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_privileges_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 +138,8 @@ def iam_privileges_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_privileges_get_with_http_info(self, **kwargs): def iam_privileges_moid_get(self, moid, **kwargs): """ - A instance of iamPrivilege + Get a specific instance of 'iamPrivilege' This method makes 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 +200,7 @@ def iam_privileges_moid_get(self, moid, **kwargs): def iam_privileges_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamPrivilege + Get a specific instance of 'iamPrivilege' This method makes 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/iam_privilege_set_api.py b/intersight/apis/iam_privilege_set_api.py index d9069917..cee2213d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_privilege_sets_get(self, **kwargs): """ - List of iamPrivilegeSets + Get a list of 'iamPrivilegeSet' 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,14 @@ def iam_privilege_sets_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)) :return: IamPrivilegeSetList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_privilege_sets_get(self, **kwargs): def iam_privilege_sets_get_with_http_info(self, **kwargs): """ - List of iamPrivilegeSets + Get a list of 'iamPrivilegeSet' 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 +87,20 @@ def iam_privilege_sets_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)) :return: IamPrivilegeSetList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_privilege_sets_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 +138,8 @@ def iam_privilege_sets_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_privilege_sets_get_with_http_info(self, **kwargs): def iam_privilege_sets_moid_get(self, moid, **kwargs): """ - A instance of iamPrivilegeSet + Get a specific instance of 'iamPrivilegeSet' This method makes 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 +200,7 @@ def iam_privilege_sets_moid_get(self, moid, **kwargs): def iam_privilege_sets_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamPrivilegeSet + Get a specific instance of 'iamPrivilegeSet' This method makes 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/iam_qualifier_api.py b/intersight/apis/iam_qualifier_api.py index ab7ecbf4..697a238c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_qualifiers_get(self, **kwargs): """ - List of iamQualifiers + Get a list of 'iamQualifier' 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,14 @@ def iam_qualifiers_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)) :return: IamQualifierList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_qualifiers_get(self, **kwargs): def iam_qualifiers_get_with_http_info(self, **kwargs): """ - List of iamQualifiers + Get a list of 'iamQualifier' 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 +87,20 @@ def iam_qualifiers_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)) :return: IamQualifierList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_qualifiers_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 +138,8 @@ def iam_qualifiers_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'])) header_params = {} @@ -173,9 +173,113 @@ def iam_qualifiers_get_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def iam_qualifiers_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'iamQualifier' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_qualifiers_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamQualifier 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.iam_qualifiers_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.iam_qualifiers_moid_delete_with_http_info(moid, **kwargs) + return data + + def iam_qualifiers_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'iamQualifier' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_qualifiers_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 iamQualifier 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 iam_qualifiers_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 `iam_qualifiers_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('/iam/Qualifiers/{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 iam_qualifiers_moid_get(self, moid, **kwargs): """ - A instance of iamQualifier + Get a specific instance of 'iamQualifier' This method makes 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 +304,7 @@ def iam_qualifiers_moid_get(self, moid, **kwargs): def iam_qualifiers_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamQualifier + Get a specific instance of 'iamQualifier' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -276,3 +380,329 @@ def iam_qualifiers_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 iam_qualifiers_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'iamQualifier' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_qualifiers_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamQualifier instance. (required) + :param IamQualifier body: iamQualifier 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.iam_qualifiers_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_qualifiers_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def iam_qualifiers_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamQualifier' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_qualifiers_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 iamQualifier instance. (required) + :param IamQualifier body: iamQualifier 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 iam_qualifiers_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 `iam_qualifiers_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 `iam_qualifiers_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('/iam/Qualifiers/{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 iam_qualifiers_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'iamQualifier' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_qualifiers_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamQualifier instance. (required) + :param IamQualifier body: iamQualifier 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.iam_qualifiers_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_qualifiers_moid_post_with_http_info(moid, body, **kwargs) + return data + + def iam_qualifiers_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamQualifier' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_qualifiers_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 iamQualifier instance. (required) + :param IamQualifier body: iamQualifier 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 iam_qualifiers_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 `iam_qualifiers_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 `iam_qualifiers_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('/iam/Qualifiers/{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 iam_qualifiers_post(self, body, **kwargs): + """ + Create an instance of 'iamQualifier' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_qualifiers_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param IamQualifier body: iamQualifier 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.iam_qualifiers_post_with_http_info(body, **kwargs) + else: + (data) = self.iam_qualifiers_post_with_http_info(body, **kwargs) + return data + + def iam_qualifiers_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'iamQualifier' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_qualifiers_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param IamQualifier body: iamQualifier 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 iam_qualifiers_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 `iam_qualifiers_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('/iam/Qualifiers', '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/iam_resource_limits_api.py b/intersight/apis/iam_resource_limits_api.py index 4155ffd9..569a1e14 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_resource_limits_get(self, **kwargs): """ - List of iamResourceLimits + Get a list of 'iamResourceLimits' 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,14 @@ def iam_resource_limits_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)) :return: IamResourceLimitsList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_resource_limits_get(self, **kwargs): def iam_resource_limits_get_with_http_info(self, **kwargs): """ - List of iamResourceLimits + Get a list of 'iamResourceLimits' 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 +87,20 @@ def iam_resource_limits_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)) :return: IamResourceLimitsList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_resource_limits_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 +138,8 @@ def iam_resource_limits_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_resource_limits_get_with_http_info(self, **kwargs): def iam_resource_limits_moid_get(self, moid, **kwargs): """ - A instance of iamResourceLimits + Get a specific instance of 'iamResourceLimits' This method makes 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 +200,7 @@ def iam_resource_limits_moid_get(self, moid, **kwargs): def iam_resource_limits_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamResourceLimits + Get a specific instance of 'iamResourceLimits' This method makes 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/iam_role_api.py b/intersight/apis/iam_role_api.py index 93f47969..1ffbb214 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_roles_get(self, **kwargs): """ - List of iamRoles + Get a list of 'iamRole' 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,14 @@ def iam_roles_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)) :return: IamRoleList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_roles_get(self, **kwargs): def iam_roles_get_with_http_info(self, **kwargs): """ - List of iamRoles + Get a list of 'iamRole' 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 +87,20 @@ def iam_roles_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)) :return: IamRoleList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_roles_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 +138,8 @@ def iam_roles_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_roles_get_with_http_info(self, **kwargs): def iam_roles_moid_get(self, moid, **kwargs): """ - A instance of iamRole + Get a specific instance of 'iamRole' This method makes 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 +200,7 @@ def iam_roles_moid_get(self, moid, **kwargs): def iam_roles_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamRole + Get a specific instance of 'iamRole' This method makes 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/iam_service_provider_api.py b/intersight/apis/iam_service_provider_api.py new file mode 100644 index 00000000..17a2ff23 --- /dev/null +++ b/intersight/apis/iam_service_provider_api.py @@ -0,0 +1,278 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 IamServiceProviderApi(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 iam_service_providers_get(self, **kwargs): + """ + Get a list of 'iamServiceProvider' 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.iam_service_providers_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)) + :return: IamServiceProviderList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.iam_service_providers_get_with_http_info(**kwargs) + else: + (data) = self.iam_service_providers_get_with_http_info(**kwargs) + return data + + def iam_service_providers_get_with_http_info(self, **kwargs): + """ + Get a list of 'iamServiceProvider' 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.iam_service_providers_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)) + :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.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 iam_service_providers_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'])) + + 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('/iam/ServiceProviders', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='IamServiceProviderList', + 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 iam_service_providers_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'iamServiceProvider' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_service_providers_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamServiceProvider instance. (required) + :return: IamServiceProvider + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.iam_service_providers_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.iam_service_providers_moid_get_with_http_info(moid, **kwargs) + return data + + def iam_service_providers_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'iamServiceProvider' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_service_providers_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 iamServiceProvider instance. (required) + :return: IamServiceProvider + 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 iam_service_providers_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 `iam_service_providers_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('/iam/ServiceProviders/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='IamServiceProvider', + 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_session_api.py b/intersight/apis/iam_session_api.py index 6e85c344..4af158cc 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_sessions_get(self, **kwargs): """ - List of iamSessions + Get a list of 'iamSession' 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,14 @@ def iam_sessions_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)) :return: IamSessionList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_sessions_get(self, **kwargs): def iam_sessions_get_with_http_info(self, **kwargs): """ - List of iamSessions + Get a list of 'iamSession' 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 +87,20 @@ def iam_sessions_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)) :return: IamSessionList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_sessions_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 +138,8 @@ def iam_sessions_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_sessions_get_with_http_info(self, **kwargs): def iam_sessions_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamSession + Delete an instance of 'iamSession' This method makes 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 +200,7 @@ def iam_sessions_moid_delete(self, moid, **kwargs): def iam_sessions_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamSession + Delete an instance of 'iamSession' This method makes 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 +279,7 @@ def iam_sessions_moid_delete_with_http_info(self, moid, **kwargs): def iam_sessions_moid_get(self, moid, **kwargs): """ - A instance of iamSession + Get a specific instance of 'iamSession' This method makes 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 +304,7 @@ def iam_sessions_moid_get(self, moid, **kwargs): def iam_sessions_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamSession + Get a specific instance of 'iamSession' This method makes 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/iam_session_limits_api.py b/intersight/apis/iam_session_limits_api.py index 1a472dd3..d9c9d949 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_session_limits_get(self, **kwargs): """ - List of iamSessionLimits + Get a list of 'iamSessionLimits' 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,14 @@ def iam_session_limits_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)) :return: IamSessionLimitsList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_session_limits_get(self, **kwargs): def iam_session_limits_get_with_http_info(self, **kwargs): """ - List of iamSessionLimits + Get a list of 'iamSessionLimits' 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 +87,20 @@ def iam_session_limits_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)) :return: IamSessionLimitsList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_session_limits_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 +138,8 @@ def iam_session_limits_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_session_limits_get_with_http_info(self, **kwargs): def iam_session_limits_moid_get(self, moid, **kwargs): """ - A instance of iamSessionLimits + Get a specific instance of 'iamSessionLimits' This method makes 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 +200,7 @@ def iam_session_limits_moid_get(self, moid, **kwargs): def iam_session_limits_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamSessionLimits + Get a specific instance of 'iamSessionLimits' This method makes 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/iam_system_api.py b/intersight/apis/iam_system_api.py index c76b53f3..95d41c5e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_systems_get(self, **kwargs): """ - List of iamSystems + Get a list of 'iamSystem' 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,14 @@ def iam_systems_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)) :return: IamSystemList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_systems_get(self, **kwargs): def iam_systems_get_with_http_info(self, **kwargs): """ - List of iamSystems + Get a list of 'iamSystem' 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 +87,20 @@ def iam_systems_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)) :return: IamSystemList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_systems_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 +138,8 @@ def iam_systems_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_systems_get_with_http_info(self, **kwargs): def iam_systems_moid_get(self, moid, **kwargs): """ - A instance of iamSystem + Get a specific instance of 'iamSystem' This method makes 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 +200,7 @@ def iam_systems_moid_get(self, moid, **kwargs): def iam_systems_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamSystem + Get a specific instance of 'iamSystem' This method makes 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/iam_user_api.py b/intersight/apis/iam_user_api.py index d8a9e3cb..ee46db72 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_users_get(self, **kwargs): """ - List of iamUsers + Get a list of 'iamUser' 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,14 @@ def iam_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)) :return: IamUserList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_users_get(self, **kwargs): def iam_users_get_with_http_info(self, **kwargs): """ - List of iamUsers + Get a list of 'iamUser' 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 +87,20 @@ def iam_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)) :return: IamUserList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_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 +138,8 @@ def iam_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_users_get_with_http_info(self, **kwargs): def iam_users_moid_delete(self, moid, **kwargs): """ - Delete an instance of iamUser + Delete an instance of 'iamUser' This method makes 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 +200,7 @@ def iam_users_moid_delete(self, moid, **kwargs): def iam_users_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of iamUser + Delete an instance of 'iamUser' This method makes 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 +279,7 @@ def iam_users_moid_delete_with_http_info(self, moid, **kwargs): def iam_users_moid_get(self, moid, **kwargs): """ - A instance of iamUser + Get a specific instance of 'iamUser' This method makes 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 +304,7 @@ def iam_users_moid_get(self, moid, **kwargs): def iam_users_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamUser + Get a specific instance of 'iamUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -381,9 +381,231 @@ def iam_users_moid_get_with_http_info(self, moid, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def iam_users_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'iamUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_users_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamUser instance. (required) + :param IamUser body: iamUser 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.iam_users_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_users_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def iam_users_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_users_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 iamUser instance. (required) + :param IamUser body: iamUser 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 iam_users_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 `iam_users_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 `iam_users_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('/iam/Users/{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 iam_users_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'iamUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_users_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamUser instance. (required) + :param IamUser body: iamUser 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.iam_users_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_users_moid_post_with_http_info(moid, body, **kwargs) + return data + + def iam_users_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_users_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 iamUser instance. (required) + :param IamUser body: iamUser 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 iam_users_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 `iam_users_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 `iam_users_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('/iam/Users/{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 iam_users_post(self, body, **kwargs): """ - Create a iamUser + Create an instance of 'iamUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -408,7 +630,7 @@ def iam_users_post(self, body, **kwargs): def iam_users_post_with_http_info(self, body, **kwargs): """ - Create a iamUser + Create an instance of 'iamUser' This method makes 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/iam_user_group_api.py b/intersight/apis/iam_user_group_api.py index f1a090a2..5dc5e328 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_user_groups_get(self, **kwargs): """ - List of iamUserGroups + Get a list of 'iamUserGroup' 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,14 @@ def iam_user_groups_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)) :return: IamUserGroupList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_user_groups_get(self, **kwargs): def iam_user_groups_get_with_http_info(self, **kwargs): """ - List of iamUserGroups + Get a list of 'iamUserGroup' 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 +87,20 @@ def iam_user_groups_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)) :return: IamUserGroupList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_user_groups_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 +138,8 @@ def iam_user_groups_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'])) header_params = {} @@ -173,9 +173,113 @@ def iam_user_groups_get_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def iam_user_groups_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'iamUserGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_user_groups_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iamUserGroup 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.iam_user_groups_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.iam_user_groups_moid_delete_with_http_info(moid, **kwargs) + return data + + def iam_user_groups_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'iamUserGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_user_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 iamUserGroup 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 iam_user_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 `iam_user_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('/iam/UserGroups/{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 iam_user_groups_moid_get(self, moid, **kwargs): """ - A instance of iamUserGroup + Get a specific instance of 'iamUserGroup' This method makes 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 +304,7 @@ def iam_user_groups_moid_get(self, moid, **kwargs): def iam_user_groups_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamUserGroup + Get a specific instance of 'iamUserGroup' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -276,3 +380,329 @@ def iam_user_groups_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 iam_user_groups_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'iamUserGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_user_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 iamUserGroup instance. (required) + :param IamUserGroup body: iamUserGroup 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.iam_user_groups_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_user_groups_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def iam_user_groups_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamUserGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_user_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 iamUserGroup instance. (required) + :param IamUserGroup body: iamUserGroup 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 iam_user_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 `iam_user_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 `iam_user_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('/iam/UserGroups/{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 iam_user_groups_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'iamUserGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_user_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 iamUserGroup instance. (required) + :param IamUserGroup body: iamUserGroup 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.iam_user_groups_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.iam_user_groups_moid_post_with_http_info(moid, body, **kwargs) + return data + + def iam_user_groups_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'iamUserGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_user_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 iamUserGroup instance. (required) + :param IamUserGroup body: iamUserGroup 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 iam_user_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 `iam_user_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 `iam_user_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('/iam/UserGroups/{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 iam_user_groups_post(self, body, **kwargs): + """ + Create an instance of 'iamUserGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_user_groups_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param IamUserGroup body: iamUserGroup 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.iam_user_groups_post_with_http_info(body, **kwargs) + else: + (data) = self.iam_user_groups_post_with_http_info(body, **kwargs) + return data + + def iam_user_groups_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'iamUserGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iam_user_groups_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param IamUserGroup body: iamUserGroup 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 iam_user_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 `iam_user_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('/iam/UserGroups', '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/iam_user_preference_api.py b/intersight/apis/iam_user_preference_api.py index 3d6489b2..1fde6662 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def iam_user_preferences_get(self, **kwargs): """ - List of iamUserPreferences + Get a list of 'iamUserPreference' 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,14 @@ def iam_user_preferences_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)) :return: IamUserPreferenceList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def iam_user_preferences_get(self, **kwargs): def iam_user_preferences_get_with_http_info(self, **kwargs): """ - List of iamUserPreferences + Get a list of 'iamUserPreference' 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 +87,20 @@ def iam_user_preferences_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)) :return: IamUserPreferenceList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def iam_user_preferences_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 +138,8 @@ def iam_user_preferences_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'])) header_params = {} @@ -175,7 +175,7 @@ def iam_user_preferences_get_with_http_info(self, **kwargs): def iam_user_preferences_moid_get(self, moid, **kwargs): """ - A instance of iamUserPreference + Get a specific instance of 'iamUserPreference' This method makes 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 +200,7 @@ def iam_user_preferences_moid_get(self, moid, **kwargs): def iam_user_preferences_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of iamUserPreference + Get a specific instance of 'iamUserPreference' This method makes 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 +279,7 @@ def iam_user_preferences_moid_get_with_http_info(self, moid, **kwargs): def iam_user_preferences_moid_patch(self, moid, body, **kwargs): """ - Update an instance of iamUserPreference + Update an instance of 'iamUserPreference' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def iam_user_preferences_moid_patch(self, moid, body, **kwargs): def iam_user_preferences_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamUserPreference + Update an instance of 'iamUserPreference' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def iam_user_preferences_moid_patch_with_http_info(self, moid, body, **kwargs): def iam_user_preferences_moid_post(self, moid, body, **kwargs): """ - Update an instance of iamUserPreference + Update an instance of 'iamUserPreference' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def iam_user_preferences_moid_post(self, moid, body, **kwargs): def iam_user_preferences_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of iamUserPreference + Update an instance of 'iamUserPreference' This method makes 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/inventory_device_info_api.py b/intersight/apis/inventory_device_info_api.py index 1ec20a6e..90453372 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def inventory_device_infos_get(self, **kwargs): """ - List of inventoryDeviceInfos + Get a list of 'inventoryDeviceInfo' 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,14 @@ def inventory_device_infos_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)) :return: InventoryDeviceInfoList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def inventory_device_infos_get(self, **kwargs): def inventory_device_infos_get_with_http_info(self, **kwargs): """ - List of inventoryDeviceInfos + Get a list of 'inventoryDeviceInfo' 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 +87,20 @@ def inventory_device_infos_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)) :return: InventoryDeviceInfoList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def inventory_device_infos_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 +138,8 @@ def inventory_device_infos_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'])) header_params = {} @@ -175,7 +175,7 @@ def inventory_device_infos_get_with_http_info(self, **kwargs): def inventory_device_infos_moid_get(self, moid, **kwargs): """ - A instance of inventoryDeviceInfo + Get a specific instance of 'inventoryDeviceInfo' This method makes 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 +200,7 @@ def inventory_device_infos_moid_get(self, moid, **kwargs): def inventory_device_infos_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of inventoryDeviceInfo + Get a specific instance of 'inventoryDeviceInfo' This method makes 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/inventory_dn_mo_binding_api.py b/intersight/apis/inventory_dn_mo_binding_api.py index 2c46e32a..a8df4ed7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def inventory_dn_mo_bindings_get(self, **kwargs): """ - List of inventoryDnMoBindings + Get a list of 'inventoryDnMoBinding' 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,14 @@ def inventory_dn_mo_bindings_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)) :return: InventoryDnMoBindingList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def inventory_dn_mo_bindings_get(self, **kwargs): def inventory_dn_mo_bindings_get_with_http_info(self, **kwargs): """ - List of inventoryDnMoBindings + Get a list of 'inventoryDnMoBinding' 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 +87,20 @@ def inventory_dn_mo_bindings_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)) :return: InventoryDnMoBindingList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def inventory_dn_mo_bindings_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 +138,8 @@ def inventory_dn_mo_bindings_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'])) header_params = {} @@ -175,7 +175,7 @@ def inventory_dn_mo_bindings_get_with_http_info(self, **kwargs): def inventory_dn_mo_bindings_moid_get(self, moid, **kwargs): """ - A instance of inventoryDnMoBinding + Get a specific instance of 'inventoryDnMoBinding' This method makes 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 +200,7 @@ def inventory_dn_mo_bindings_moid_get(self, moid, **kwargs): def inventory_dn_mo_bindings_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of inventoryDnMoBinding + Get a specific instance of 'inventoryDnMoBinding' This method makes 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/inventory_generic_inventory_api.py b/intersight/apis/inventory_generic_inventory_api.py index ad1e4d89..7986f1e0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def inventory_generic_inventories_get(self, **kwargs): """ - List of inventoryGenericInventories + Get a list of 'inventoryGenericInventory' 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,14 @@ def inventory_generic_inventories_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)) :return: InventoryGenericInventoryList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def inventory_generic_inventories_get(self, **kwargs): def inventory_generic_inventories_get_with_http_info(self, **kwargs): """ - List of inventoryGenericInventories + Get a list of 'inventoryGenericInventory' 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 +87,20 @@ def inventory_generic_inventories_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)) :return: InventoryGenericInventoryList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def inventory_generic_inventories_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 +138,8 @@ def inventory_generic_inventories_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'])) header_params = {} @@ -175,7 +175,7 @@ def inventory_generic_inventories_get_with_http_info(self, **kwargs): def inventory_generic_inventories_moid_get(self, moid, **kwargs): """ - A instance of inventoryGenericInventory + Get a specific instance of 'inventoryGenericInventory' This method makes 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 +200,7 @@ def inventory_generic_inventories_moid_get(self, moid, **kwargs): def inventory_generic_inventories_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of inventoryGenericInventory + Get a specific instance of 'inventoryGenericInventory' This method makes 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 +279,7 @@ def inventory_generic_inventories_moid_get_with_http_info(self, moid, **kwargs): def inventory_generic_inventories_moid_patch(self, moid, body, **kwargs): """ - Update an instance of inventoryGenericInventory + Update an instance of 'inventoryGenericInventory' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def inventory_generic_inventories_moid_patch(self, moid, body, **kwargs): def inventory_generic_inventories_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of inventoryGenericInventory + Update an instance of 'inventoryGenericInventory' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def inventory_generic_inventories_moid_patch_with_http_info(self, moid, body, ** def inventory_generic_inventories_moid_post(self, moid, body, **kwargs): """ - Update an instance of inventoryGenericInventory + Update an instance of 'inventoryGenericInventory' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def inventory_generic_inventories_moid_post(self, moid, body, **kwargs): def inventory_generic_inventories_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of inventoryGenericInventory + Update an instance of 'inventoryGenericInventory' This method makes 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/inventory_generic_inventory_holder_api.py b/intersight/apis/inventory_generic_inventory_holder_api.py index b263ec60..26fc7f69 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def inventory_generic_inventory_holders_get(self, **kwargs): """ - List of inventoryGenericInventoryHolders + Get a list of 'inventoryGenericInventoryHolder' 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,14 @@ def inventory_generic_inventory_holders_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)) :return: InventoryGenericInventoryHolderList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def inventory_generic_inventory_holders_get(self, **kwargs): def inventory_generic_inventory_holders_get_with_http_info(self, **kwargs): """ - List of inventoryGenericInventoryHolders + Get a list of 'inventoryGenericInventoryHolder' 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 +87,20 @@ def inventory_generic_inventory_holders_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)) :return: InventoryGenericInventoryHolderList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def inventory_generic_inventory_holders_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 +138,8 @@ def inventory_generic_inventory_holders_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'])) header_params = {} @@ -175,7 +175,7 @@ def inventory_generic_inventory_holders_get_with_http_info(self, **kwargs): def inventory_generic_inventory_holders_moid_get(self, moid, **kwargs): """ - A instance of inventoryGenericInventoryHolder + Get a specific instance of 'inventoryGenericInventoryHolder' This method makes 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 +200,7 @@ def inventory_generic_inventory_holders_moid_get(self, moid, **kwargs): def inventory_generic_inventory_holders_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of inventoryGenericInventoryHolder + Get a specific instance of 'inventoryGenericInventoryHolder' This method makes 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 +279,7 @@ def inventory_generic_inventory_holders_moid_get_with_http_info(self, moid, **kw def inventory_generic_inventory_holders_moid_patch(self, moid, body, **kwargs): """ - Update an instance of inventoryGenericInventoryHolder + Update an instance of 'inventoryGenericInventoryHolder' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def inventory_generic_inventory_holders_moid_patch(self, moid, body, **kwargs): def inventory_generic_inventory_holders_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of inventoryGenericInventoryHolder + Update an instance of 'inventoryGenericInventoryHolder' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def inventory_generic_inventory_holders_moid_patch_with_http_info(self, moid, bo def inventory_generic_inventory_holders_moid_post(self, moid, body, **kwargs): """ - Update an instance of inventoryGenericInventoryHolder + Update an instance of 'inventoryGenericInventoryHolder' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def inventory_generic_inventory_holders_moid_post(self, moid, body, **kwargs): def inventory_generic_inventory_holders_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of inventoryGenericInventoryHolder + Update an instance of 'inventoryGenericInventoryHolder' This method makes 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/inventory_request_api.py b/intersight/apis/inventory_request_api.py index 69b37dab..98bf6af2 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def inventory_requests_post(self, body, **kwargs): """ - Create a inventoryRequest + Create an instance of 'inventoryRequest' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +67,7 @@ def inventory_requests_post(self, body, **kwargs): def inventory_requests_post_with_http_info(self, body, **kwargs): """ - Create a inventoryRequest + Create an instance of 'inventoryRequest' This method makes 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/ipmioverlan_policy_api.py b/intersight/apis/ipmioverlan_policy_api.py index 9c313814..f2c14862 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def ipmioverlan_policies_get(self, **kwargs): """ - List of ipmioverlanPolicies + Get a list of 'ipmioverlanPolicy' 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,14 @@ def ipmioverlan_policies_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)) :return: IpmioverlanPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def ipmioverlan_policies_get(self, **kwargs): def ipmioverlan_policies_get_with_http_info(self, **kwargs): """ - List of ipmioverlanPolicies + Get a list of 'ipmioverlanPolicy' 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 +87,20 @@ def ipmioverlan_policies_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)) :return: IpmioverlanPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def ipmioverlan_policies_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 +138,8 @@ def ipmioverlan_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def ipmioverlan_policies_get_with_http_info(self, **kwargs): def ipmioverlan_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of ipmioverlanPolicy + Delete an instance of 'ipmioverlanPolicy' This method makes 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 +200,7 @@ def ipmioverlan_policies_moid_delete(self, moid, **kwargs): def ipmioverlan_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of ipmioverlanPolicy + Delete an instance of 'ipmioverlanPolicy' This method makes 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 +279,7 @@ def ipmioverlan_policies_moid_delete_with_http_info(self, moid, **kwargs): def ipmioverlan_policies_moid_get(self, moid, **kwargs): """ - A instance of ipmioverlanPolicy + Get a specific instance of 'ipmioverlanPolicy' This method makes 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 +304,7 @@ def ipmioverlan_policies_moid_get(self, moid, **kwargs): def ipmioverlan_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of ipmioverlanPolicy + Get a specific instance of 'ipmioverlanPolicy' This method makes 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 +383,7 @@ def ipmioverlan_policies_moid_get_with_http_info(self, moid, **kwargs): def ipmioverlan_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of ipmioverlanPolicy + Update an instance of 'ipmioverlanPolicy' This method makes 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 +409,7 @@ def ipmioverlan_policies_moid_patch(self, moid, body, **kwargs): def ipmioverlan_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of ipmioverlanPolicy + Update an instance of 'ipmioverlanPolicy' This method makes 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 +494,7 @@ def ipmioverlan_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def ipmioverlan_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of ipmioverlanPolicy + Update an instance of 'ipmioverlanPolicy' This method makes 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 +520,7 @@ def ipmioverlan_policies_moid_post(self, moid, body, **kwargs): def ipmioverlan_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of ipmioverlanPolicy + Update an instance of 'ipmioverlanPolicy' This method makes 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 +605,7 @@ def ipmioverlan_policies_moid_post_with_http_info(self, moid, body, **kwargs): def ipmioverlan_policies_post(self, body, **kwargs): """ - Create a ipmioverlanPolicy + Create an instance of 'ipmioverlanPolicy' This method makes 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 +630,7 @@ def ipmioverlan_policies_post(self, body, **kwargs): def ipmioverlan_policies_post_with_http_info(self, body, **kwargs): """ - Create a ipmioverlanPolicy + Create an instance of 'ipmioverlanPolicy' This method makes 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/kvm_policy_api.py b/intersight/apis/kvm_policy_api.py index 673c54a9..7a6294b9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def kvm_policies_get(self, **kwargs): """ - List of kvmPolicies + Get a list of 'kvmPolicy' 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,14 @@ def kvm_policies_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)) :return: KvmPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def kvm_policies_get(self, **kwargs): def kvm_policies_get_with_http_info(self, **kwargs): """ - List of kvmPolicies + Get a list of 'kvmPolicy' 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 +87,20 @@ def kvm_policies_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)) :return: KvmPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def kvm_policies_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 +138,8 @@ def kvm_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def kvm_policies_get_with_http_info(self, **kwargs): def kvm_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of kvmPolicy + Delete an instance of 'kvmPolicy' This method makes 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 +200,7 @@ def kvm_policies_moid_delete(self, moid, **kwargs): def kvm_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of kvmPolicy + Delete an instance of 'kvmPolicy' This method makes 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 +279,7 @@ def kvm_policies_moid_delete_with_http_info(self, moid, **kwargs): def kvm_policies_moid_get(self, moid, **kwargs): """ - A instance of kvmPolicy + Get a specific instance of 'kvmPolicy' This method makes 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 +304,7 @@ def kvm_policies_moid_get(self, moid, **kwargs): def kvm_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of kvmPolicy + Get a specific instance of 'kvmPolicy' This method makes 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 +383,7 @@ def kvm_policies_moid_get_with_http_info(self, moid, **kwargs): def kvm_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of kvmPolicy + Update an instance of 'kvmPolicy' This method makes 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 +409,7 @@ def kvm_policies_moid_patch(self, moid, body, **kwargs): def kvm_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of kvmPolicy + Update an instance of 'kvmPolicy' This method makes 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 +494,7 @@ def kvm_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def kvm_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of kvmPolicy + Update an instance of 'kvmPolicy' This method makes 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 +520,7 @@ def kvm_policies_moid_post(self, moid, body, **kwargs): def kvm_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of kvmPolicy + Update an instance of 'kvmPolicy' This method makes 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 +605,7 @@ def kvm_policies_moid_post_with_http_info(self, moid, body, **kwargs): def kvm_policies_post(self, body, **kwargs): """ - Create a kvmPolicy + Create an instance of 'kvmPolicy' This method makes 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 +630,7 @@ def kvm_policies_post(self, body, **kwargs): def kvm_policies_post_with_http_info(self, body, **kwargs): """ - Create a kvmPolicy + Create an instance of 'kvmPolicy' This method makes 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/license_account_license_data_api.py b/intersight/apis/license_account_license_data_api.py index afe66095..1b101d83 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def license_account_license_data_get(self, **kwargs): """ - List of licenseAccountLicenseData + Get a list of 'licenseAccountLicenseData' 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,14 @@ def license_account_license_data_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)) :return: LicenseAccountLicenseDataList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def license_account_license_data_get(self, **kwargs): def license_account_license_data_get_with_http_info(self, **kwargs): """ - List of licenseAccountLicenseData + Get a list of 'licenseAccountLicenseData' 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 +87,20 @@ def license_account_license_data_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)) :return: LicenseAccountLicenseDataList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def license_account_license_data_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 +138,8 @@ def license_account_license_data_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'])) header_params = {} @@ -175,7 +175,7 @@ def license_account_license_data_get_with_http_info(self, **kwargs): def license_account_license_data_moid_get(self, moid, **kwargs): """ - A instance of licenseAccountLicenseData + Get a specific instance of 'licenseAccountLicenseData' This method makes 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 +200,7 @@ def license_account_license_data_moid_get(self, moid, **kwargs): def license_account_license_data_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of licenseAccountLicenseData + Get a specific instance of 'licenseAccountLicenseData' This method makes 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/license_customer_op_api.py b/intersight/apis/license_customer_op_api.py index da43991f..c186393d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def license_customer_ops_get(self, **kwargs): """ - List of licenseCustomerOps + Get a list of 'licenseCustomerOp' 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,14 @@ def license_customer_ops_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)) :return: LicenseCustomerOpList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def license_customer_ops_get(self, **kwargs): def license_customer_ops_get_with_http_info(self, **kwargs): """ - List of licenseCustomerOps + Get a list of 'licenseCustomerOp' 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 +87,20 @@ def license_customer_ops_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)) :return: LicenseCustomerOpList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def license_customer_ops_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 +138,8 @@ def license_customer_ops_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'])) header_params = {} @@ -175,7 +175,7 @@ def license_customer_ops_get_with_http_info(self, **kwargs): def license_customer_ops_moid_get(self, moid, **kwargs): """ - A instance of licenseCustomerOp + Get a specific instance of 'licenseCustomerOp' This method makes 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 +200,7 @@ def license_customer_ops_moid_get(self, moid, **kwargs): def license_customer_ops_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of licenseCustomerOp + Get a specific instance of 'licenseCustomerOp' This method makes 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 +279,7 @@ def license_customer_ops_moid_get_with_http_info(self, moid, **kwargs): def license_customer_ops_moid_patch(self, moid, body, **kwargs): """ - Update an instance of licenseCustomerOp + Update an instance of 'licenseCustomerOp' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def license_customer_ops_moid_patch(self, moid, body, **kwargs): def license_customer_ops_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of licenseCustomerOp + Update an instance of 'licenseCustomerOp' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def license_customer_ops_moid_patch_with_http_info(self, moid, body, **kwargs): def license_customer_ops_moid_post(self, moid, body, **kwargs): """ - Update an instance of licenseCustomerOp + Update an instance of 'licenseCustomerOp' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def license_customer_ops_moid_post(self, moid, body, **kwargs): def license_customer_ops_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of licenseCustomerOp + Update an instance of 'licenseCustomerOp' This method makes 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/license_license_info_api.py b/intersight/apis/license_license_info_api.py index b4b4dbda..cb0f7cd5 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def license_license_infos_get(self, **kwargs): """ - List of licenseLicenseInfos + Get a list of 'licenseLicenseInfo' 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,14 @@ def license_license_infos_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)) :return: LicenseLicenseInfoList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def license_license_infos_get(self, **kwargs): def license_license_infos_get_with_http_info(self, **kwargs): """ - List of licenseLicenseInfos + Get a list of 'licenseLicenseInfo' 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 +87,20 @@ def license_license_infos_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)) :return: LicenseLicenseInfoList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def license_license_infos_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 +138,8 @@ def license_license_infos_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'])) header_params = {} @@ -175,7 +175,7 @@ def license_license_infos_get_with_http_info(self, **kwargs): def license_license_infos_moid_get(self, moid, **kwargs): """ - A instance of licenseLicenseInfo + Get a specific instance of 'licenseLicenseInfo' This method makes 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 +200,7 @@ def license_license_infos_moid_get(self, moid, **kwargs): def license_license_infos_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of licenseLicenseInfo + Get a specific instance of 'licenseLicenseInfo' This method makes 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 +279,7 @@ def license_license_infos_moid_get_with_http_info(self, moid, **kwargs): def license_license_infos_moid_patch(self, moid, body, **kwargs): """ - Update an instance of licenseLicenseInfo + Update an instance of 'licenseLicenseInfo' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def license_license_infos_moid_patch(self, moid, body, **kwargs): def license_license_infos_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of licenseLicenseInfo + Update an instance of 'licenseLicenseInfo' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def license_license_infos_moid_patch_with_http_info(self, moid, body, **kwargs): def license_license_infos_moid_post(self, moid, body, **kwargs): """ - Update an instance of licenseLicenseInfo + Update an instance of 'licenseLicenseInfo' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def license_license_infos_moid_post(self, moid, body, **kwargs): def license_license_infos_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of licenseLicenseInfo + Update an instance of 'licenseLicenseInfo' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -501,7 +501,7 @@ def license_license_infos_moid_post_with_http_info(self, moid, body, **kwargs): def license_license_infos_post(self, body, **kwargs): """ - Create a licenseLicenseInfo + Create an instance of 'licenseLicenseInfo' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -526,7 +526,7 @@ def license_license_infos_post(self, body, **kwargs): def license_license_infos_post_with_http_info(self, body, **kwargs): """ - Create a licenseLicenseInfo + Create an instance of 'licenseLicenseInfo' This method makes 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/license_smartlicense_token_api.py b/intersight/apis/license_smartlicense_token_api.py index e1b4e01b..1ad60d27 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def license_smartlicense_tokens_get(self, **kwargs): """ - List of licenseSmartlicenseTokens + Get a list of 'licenseSmartlicenseToken' 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,14 @@ def license_smartlicense_tokens_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)) :return: LicenseSmartlicenseTokenList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def license_smartlicense_tokens_get(self, **kwargs): def license_smartlicense_tokens_get_with_http_info(self, **kwargs): """ - List of licenseSmartlicenseTokens + Get a list of 'licenseSmartlicenseToken' 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 +87,20 @@ def license_smartlicense_tokens_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)) :return: LicenseSmartlicenseTokenList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def license_smartlicense_tokens_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 +138,8 @@ def license_smartlicense_tokens_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'])) header_params = {} @@ -175,7 +175,7 @@ def license_smartlicense_tokens_get_with_http_info(self, **kwargs): def license_smartlicense_tokens_moid_get(self, moid, **kwargs): """ - A instance of licenseSmartlicenseToken + Get a specific instance of 'licenseSmartlicenseToken' This method makes 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 +200,7 @@ def license_smartlicense_tokens_moid_get(self, moid, **kwargs): def license_smartlicense_tokens_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of licenseSmartlicenseToken + Get a specific instance of 'licenseSmartlicenseToken' This method makes 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 +279,7 @@ def license_smartlicense_tokens_moid_get_with_http_info(self, moid, **kwargs): def license_smartlicense_tokens_moid_patch(self, moid, body, **kwargs): """ - Update an instance of licenseSmartlicenseToken + Update an instance of 'licenseSmartlicenseToken' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def license_smartlicense_tokens_moid_patch(self, moid, body, **kwargs): def license_smartlicense_tokens_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of licenseSmartlicenseToken + Update an instance of 'licenseSmartlicenseToken' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def license_smartlicense_tokens_moid_patch_with_http_info(self, moid, body, **kw def license_smartlicense_tokens_moid_post(self, moid, body, **kwargs): """ - Update an instance of licenseSmartlicenseToken + Update an instance of 'licenseSmartlicenseToken' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def license_smartlicense_tokens_moid_post(self, moid, body, **kwargs): def license_smartlicense_tokens_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of licenseSmartlicenseToken + Update an instance of 'licenseSmartlicenseToken' This method makes 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/ls_service_profile_api.py b/intersight/apis/ls_service_profile_api.py index cbdaf893..cc085ffa 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def ls_service_profiles_get(self, **kwargs): """ - List of lsServiceProfiles + Get a list of 'lsServiceProfile' 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,14 @@ def ls_service_profiles_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)) :return: LsServiceProfileList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def ls_service_profiles_get(self, **kwargs): def ls_service_profiles_get_with_http_info(self, **kwargs): """ - List of lsServiceProfiles + Get a list of 'lsServiceProfile' 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 +87,20 @@ def ls_service_profiles_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)) :return: LsServiceProfileList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def ls_service_profiles_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 +138,8 @@ def ls_service_profiles_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'])) header_params = {} @@ -175,7 +175,7 @@ def ls_service_profiles_get_with_http_info(self, **kwargs): def ls_service_profiles_moid_get(self, moid, **kwargs): """ - A instance of lsServiceProfile + Get a specific instance of 'lsServiceProfile' This method makes 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 +200,7 @@ def ls_service_profiles_moid_get(self, moid, **kwargs): def ls_service_profiles_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of lsServiceProfile + Get a specific instance of 'lsServiceProfile' This method makes 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 +279,7 @@ def ls_service_profiles_moid_get_with_http_info(self, moid, **kwargs): def ls_service_profiles_moid_patch(self, moid, body, **kwargs): """ - Update an instance of lsServiceProfile + Update an instance of 'lsServiceProfile' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def ls_service_profiles_moid_patch(self, moid, body, **kwargs): def ls_service_profiles_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of lsServiceProfile + Update an instance of 'lsServiceProfile' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def ls_service_profiles_moid_patch_with_http_info(self, moid, body, **kwargs): def ls_service_profiles_moid_post(self, moid, body, **kwargs): """ - Update an instance of lsServiceProfile + Update an instance of 'lsServiceProfile' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def ls_service_profiles_moid_post(self, moid, body, **kwargs): def ls_service_profiles_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of lsServiceProfile + Update an instance of 'lsServiceProfile' This method makes 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/management_controller_api.py b/intersight/apis/management_controller_api.py index a98cf1d4..ae7cb845 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def management_controllers_get(self, **kwargs): """ - List of managementControllers + Get a list of 'managementController' 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,14 @@ def management_controllers_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)) :return: ManagementControllerList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def management_controllers_get(self, **kwargs): def management_controllers_get_with_http_info(self, **kwargs): """ - List of managementControllers + Get a list of 'managementController' 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 +87,20 @@ def management_controllers_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)) :return: ManagementControllerList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def management_controllers_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 +138,8 @@ def management_controllers_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'])) header_params = {} @@ -175,7 +175,7 @@ def management_controllers_get_with_http_info(self, **kwargs): def management_controllers_moid_get(self, moid, **kwargs): """ - A instance of managementController + Get a specific instance of 'managementController' This method makes 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 +200,7 @@ def management_controllers_moid_get(self, moid, **kwargs): def management_controllers_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of managementController + Get a specific instance of 'managementController' This method makes 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 +279,7 @@ def management_controllers_moid_get_with_http_info(self, moid, **kwargs): def management_controllers_moid_patch(self, moid, body, **kwargs): """ - Update an instance of managementController + Update an instance of 'managementController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def management_controllers_moid_patch(self, moid, body, **kwargs): def management_controllers_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of managementController + Update an instance of 'managementController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def management_controllers_moid_patch_with_http_info(self, moid, body, **kwargs) def management_controllers_moid_post(self, moid, body, **kwargs): """ - Update an instance of managementController + Update an instance of 'managementController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def management_controllers_moid_post(self, moid, body, **kwargs): def management_controllers_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of managementController + Update an instance of 'managementController' This method makes 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/management_entity_api.py b/intersight/apis/management_entity_api.py index 930a18a7..e454fb68 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def management_entities_get(self, **kwargs): """ - List of managementEntities + Get a list of 'managementEntity' 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,14 @@ def management_entities_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)) :return: ManagementEntityList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def management_entities_get(self, **kwargs): def management_entities_get_with_http_info(self, **kwargs): """ - List of managementEntities + Get a list of 'managementEntity' 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 +87,20 @@ def management_entities_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)) :return: ManagementEntityList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def management_entities_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 +138,8 @@ def management_entities_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'])) header_params = {} @@ -175,7 +175,7 @@ def management_entities_get_with_http_info(self, **kwargs): def management_entities_moid_get(self, moid, **kwargs): """ - A instance of managementEntity + Get a specific instance of 'managementEntity' This method makes 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 +200,7 @@ def management_entities_moid_get(self, moid, **kwargs): def management_entities_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of managementEntity + Get a specific instance of 'managementEntity' This method makes 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 +279,7 @@ def management_entities_moid_get_with_http_info(self, moid, **kwargs): def management_entities_moid_patch(self, moid, body, **kwargs): """ - Update an instance of managementEntity + Update an instance of 'managementEntity' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def management_entities_moid_patch(self, moid, body, **kwargs): def management_entities_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of managementEntity + Update an instance of 'managementEntity' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def management_entities_moid_patch_with_http_info(self, moid, body, **kwargs): def management_entities_moid_post(self, moid, body, **kwargs): """ - Update an instance of managementEntity + Update an instance of 'managementEntity' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def management_entities_moid_post(self, moid, body, **kwargs): def management_entities_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of managementEntity + Update an instance of 'managementEntity' This method makes 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/management_interface_api.py b/intersight/apis/management_interface_api.py index 2e017d2f..ad29b2ea 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def management_interfaces_get(self, **kwargs): """ - List of managementInterfaces + Get a list of 'managementInterface' 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,14 @@ def management_interfaces_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)) :return: ManagementInterfaceList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def management_interfaces_get(self, **kwargs): def management_interfaces_get_with_http_info(self, **kwargs): """ - List of managementInterfaces + Get a list of 'managementInterface' 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 +87,20 @@ def management_interfaces_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)) :return: ManagementInterfaceList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def management_interfaces_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 +138,8 @@ def management_interfaces_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'])) header_params = {} @@ -175,7 +175,7 @@ def management_interfaces_get_with_http_info(self, **kwargs): def management_interfaces_moid_get(self, moid, **kwargs): """ - A instance of managementInterface + Get a specific instance of 'managementInterface' This method makes 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 +200,7 @@ def management_interfaces_moid_get(self, moid, **kwargs): def management_interfaces_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of managementInterface + Get a specific instance of 'managementInterface' This method makes 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 +279,7 @@ def management_interfaces_moid_get_with_http_info(self, moid, **kwargs): def management_interfaces_moid_patch(self, moid, body, **kwargs): """ - Update an instance of managementInterface + Update an instance of 'managementInterface' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def management_interfaces_moid_patch(self, moid, body, **kwargs): def management_interfaces_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of managementInterface + Update an instance of 'managementInterface' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def management_interfaces_moid_patch_with_http_info(self, moid, body, **kwargs): def management_interfaces_moid_post(self, moid, body, **kwargs): """ - Update an instance of managementInterface + Update an instance of 'managementInterface' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def management_interfaces_moid_post(self, moid, body, **kwargs): def management_interfaces_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of managementInterface + Update an instance of 'managementInterface' This method makes 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/memory_array_api.py b/intersight/apis/memory_array_api.py index a8237a7b..f8b5579c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def memory_arrays_get(self, **kwargs): """ - List of memoryArrays + Get a list of 'memoryArray' 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,14 @@ def memory_arrays_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)) :return: MemoryArrayList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def memory_arrays_get(self, **kwargs): def memory_arrays_get_with_http_info(self, **kwargs): """ - List of memoryArrays + Get a list of 'memoryArray' 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 +87,20 @@ def memory_arrays_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)) :return: MemoryArrayList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def memory_arrays_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 +138,8 @@ def memory_arrays_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'])) header_params = {} @@ -175,7 +175,7 @@ def memory_arrays_get_with_http_info(self, **kwargs): def memory_arrays_moid_get(self, moid, **kwargs): """ - A instance of memoryArray + Get a specific instance of 'memoryArray' This method makes 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 +200,7 @@ def memory_arrays_moid_get(self, moid, **kwargs): def memory_arrays_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of memoryArray + Get a specific instance of 'memoryArray' This method makes 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 +279,7 @@ def memory_arrays_moid_get_with_http_info(self, moid, **kwargs): def memory_arrays_moid_patch(self, moid, body, **kwargs): """ - Update an instance of memoryArray + Update an instance of 'memoryArray' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def memory_arrays_moid_patch(self, moid, body, **kwargs): def memory_arrays_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of memoryArray + Update an instance of 'memoryArray' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def memory_arrays_moid_patch_with_http_info(self, moid, body, **kwargs): def memory_arrays_moid_post(self, moid, body, **kwargs): """ - Update an instance of memoryArray + Update an instance of 'memoryArray' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def memory_arrays_moid_post(self, moid, body, **kwargs): def memory_arrays_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of memoryArray + Update an instance of 'memoryArray' This method makes 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/memory_unit_api.py b/intersight/apis/memory_unit_api.py index 430d4739..f7a53b2c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def memory_units_get(self, **kwargs): """ - List of memoryUnits + Get a list of 'memoryUnit' 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,14 @@ def memory_units_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)) :return: MemoryUnitList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def memory_units_get(self, **kwargs): def memory_units_get_with_http_info(self, **kwargs): """ - List of memoryUnits + Get a list of 'memoryUnit' 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 +87,20 @@ def memory_units_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)) :return: MemoryUnitList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def memory_units_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 +138,8 @@ def memory_units_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'])) header_params = {} @@ -175,7 +175,7 @@ def memory_units_get_with_http_info(self, **kwargs): def memory_units_moid_get(self, moid, **kwargs): """ - A instance of memoryUnit + Get a specific instance of 'memoryUnit' This method makes 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 +200,7 @@ def memory_units_moid_get(self, moid, **kwargs): def memory_units_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of memoryUnit + Get a specific instance of 'memoryUnit' This method makes 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 +279,7 @@ def memory_units_moid_get_with_http_info(self, moid, **kwargs): def memory_units_moid_patch(self, moid, body, **kwargs): """ - Update an instance of memoryUnit + Update an instance of 'memoryUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def memory_units_moid_patch(self, moid, body, **kwargs): def memory_units_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of memoryUnit + Update an instance of 'memoryUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def memory_units_moid_patch_with_http_info(self, moid, body, **kwargs): def memory_units_moid_post(self, moid, body, **kwargs): """ - Update an instance of memoryUnit + Update an instance of 'memoryUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def memory_units_moid_post(self, moid, body, **kwargs): def memory_units_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of memoryUnit + Update an instance of 'memoryUnit' This method makes 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/meta_definition_api.py b/intersight/apis/meta_definition_api.py index a02e0834..47dcf629 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def meta_definitions_get(self, **kwargs): """ - List of metaDefinitions + Get a list of 'metaDefinition' 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,14 @@ def meta_definitions_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)) :return: MetaDefinitionList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def meta_definitions_get(self, **kwargs): def meta_definitions_get_with_http_info(self, **kwargs): """ - List of metaDefinitions + Get a list of 'metaDefinition' 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 +87,20 @@ def meta_definitions_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)) :return: MetaDefinitionList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def meta_definitions_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 +138,8 @@ def meta_definitions_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'])) header_params = {} @@ -173,9 +173,113 @@ def meta_definitions_get_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def meta_definitions_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'metaDefinition' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.meta_definitions_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the metaDefinition 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.meta_definitions_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.meta_definitions_moid_delete_with_http_info(moid, **kwargs) + return data + + def meta_definitions_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'metaDefinition' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.meta_definitions_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 metaDefinition 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 meta_definitions_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 `meta_definitions_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('/meta/Definitions/{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 meta_definitions_moid_get(self, moid, **kwargs): """ - A instance of metaDefinition + Get a specific instance of 'metaDefinition' This method makes 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 +304,7 @@ def meta_definitions_moid_get(self, moid, **kwargs): def meta_definitions_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of metaDefinition + Get a specific instance of 'metaDefinition' This method makes 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/network_element_api.py b/intersight/apis/network_element_api.py index 4ad1ceb2..3e38475c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def network_elements_get(self, **kwargs): """ - List of networkElements + Get a list of 'networkElement' 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,14 @@ def network_elements_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)) :return: NetworkElementList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def network_elements_get(self, **kwargs): def network_elements_get_with_http_info(self, **kwargs): """ - List of networkElements + Get a list of 'networkElement' 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 +87,20 @@ def network_elements_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)) :return: NetworkElementList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def network_elements_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 +138,8 @@ def network_elements_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'])) header_params = {} @@ -175,7 +175,7 @@ def network_elements_get_with_http_info(self, **kwargs): def network_elements_moid_get(self, moid, **kwargs): """ - A instance of networkElement + Get a specific instance of 'networkElement' This method makes 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 +200,7 @@ def network_elements_moid_get(self, moid, **kwargs): def network_elements_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of networkElement + Get a specific instance of 'networkElement' This method makes 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 +279,7 @@ def network_elements_moid_get_with_http_info(self, moid, **kwargs): def network_elements_moid_patch(self, moid, body, **kwargs): """ - Update an instance of networkElement + Update an instance of 'networkElement' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def network_elements_moid_patch(self, moid, body, **kwargs): def network_elements_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of networkElement + Update an instance of 'networkElement' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def network_elements_moid_patch_with_http_info(self, moid, body, **kwargs): def network_elements_moid_post(self, moid, body, **kwargs): """ - Update an instance of networkElement + Update an instance of 'networkElement' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def network_elements_moid_post(self, moid, body, **kwargs): def network_elements_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of networkElement + Update an instance of 'networkElement' This method makes 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/network_element_summary_api.py b/intersight/apis/network_element_summary_api.py index a09f86bf..a453c9d6 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def network_element_summaries_get(self, **kwargs): """ - List of networkElementSummaries + Get a list of 'networkElementSummary' 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,14 @@ def network_element_summaries_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)) :return: NetworkElementSummaryList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def network_element_summaries_get(self, **kwargs): def network_element_summaries_get_with_http_info(self, **kwargs): """ - List of networkElementSummaries + Get a list of 'networkElementSummary' 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 +87,20 @@ def network_element_summaries_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)) :return: NetworkElementSummaryList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def network_element_summaries_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 +138,8 @@ def network_element_summaries_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'])) header_params = {} @@ -175,7 +175,7 @@ def network_element_summaries_get_with_http_info(self, **kwargs): def network_element_summaries_moid_get(self, moid, **kwargs): """ - A instance of networkElementSummary + Get a specific instance of 'networkElementSummary' This method makes 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 +200,7 @@ def network_element_summaries_moid_get(self, moid, **kwargs): def network_element_summaries_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of networkElementSummary + Get a specific instance of 'networkElementSummary' This method makes 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/networkconfig_policy_api.py b/intersight/apis/networkconfig_policy_api.py index 03f8bf37..df7fa139 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def networkconfig_policies_get(self, **kwargs): """ - List of networkconfigPolicies + Get a list of 'networkconfigPolicy' 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,14 @@ def networkconfig_policies_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)) :return: NetworkconfigPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def networkconfig_policies_get(self, **kwargs): def networkconfig_policies_get_with_http_info(self, **kwargs): """ - List of networkconfigPolicies + Get a list of 'networkconfigPolicy' 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 +87,20 @@ def networkconfig_policies_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)) :return: NetworkconfigPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def networkconfig_policies_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 +138,8 @@ def networkconfig_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def networkconfig_policies_get_with_http_info(self, **kwargs): def networkconfig_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of networkconfigPolicy + Delete an instance of 'networkconfigPolicy' This method makes 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 +200,7 @@ def networkconfig_policies_moid_delete(self, moid, **kwargs): def networkconfig_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of networkconfigPolicy + Delete an instance of 'networkconfigPolicy' This method makes 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 +279,7 @@ def networkconfig_policies_moid_delete_with_http_info(self, moid, **kwargs): def networkconfig_policies_moid_get(self, moid, **kwargs): """ - A instance of networkconfigPolicy + Get a specific instance of 'networkconfigPolicy' This method makes 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 +304,7 @@ def networkconfig_policies_moid_get(self, moid, **kwargs): def networkconfig_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of networkconfigPolicy + Get a specific instance of 'networkconfigPolicy' This method makes 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 +383,7 @@ def networkconfig_policies_moid_get_with_http_info(self, moid, **kwargs): def networkconfig_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of networkconfigPolicy + Update an instance of 'networkconfigPolicy' This method makes 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 +409,7 @@ def networkconfig_policies_moid_patch(self, moid, body, **kwargs): def networkconfig_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of networkconfigPolicy + Update an instance of 'networkconfigPolicy' This method makes 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 +494,7 @@ def networkconfig_policies_moid_patch_with_http_info(self, moid, body, **kwargs) def networkconfig_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of networkconfigPolicy + Update an instance of 'networkconfigPolicy' This method makes 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 +520,7 @@ def networkconfig_policies_moid_post(self, moid, body, **kwargs): def networkconfig_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of networkconfigPolicy + Update an instance of 'networkconfigPolicy' This method makes 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 +605,7 @@ def networkconfig_policies_moid_post_with_http_info(self, moid, body, **kwargs): def networkconfig_policies_post(self, body, **kwargs): """ - Create a networkconfigPolicy + Create an instance of 'networkconfigPolicy' This method makes 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 +630,7 @@ def networkconfig_policies_post(self, body, **kwargs): def networkconfig_policies_post_with_http_info(self, body, **kwargs): """ - Create a networkconfigPolicy + Create an instance of 'networkconfigPolicy' This method makes 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/ntp_policy_api.py b/intersight/apis/ntp_policy_api.py index f4c86e24..d38aa558 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def ntp_policies_get(self, **kwargs): """ - List of ntpPolicies + Get a list of 'ntpPolicy' 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,14 @@ def ntp_policies_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)) :return: NtpPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def ntp_policies_get(self, **kwargs): def ntp_policies_get_with_http_info(self, **kwargs): """ - List of ntpPolicies + Get a list of 'ntpPolicy' 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 +87,20 @@ def ntp_policies_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)) :return: NtpPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def ntp_policies_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 +138,8 @@ def ntp_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def ntp_policies_get_with_http_info(self, **kwargs): def ntp_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of ntpPolicy + Delete an instance of 'ntpPolicy' This method makes 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 +200,7 @@ def ntp_policies_moid_delete(self, moid, **kwargs): def ntp_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of ntpPolicy + Delete an instance of 'ntpPolicy' This method makes 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 +279,7 @@ def ntp_policies_moid_delete_with_http_info(self, moid, **kwargs): def ntp_policies_moid_get(self, moid, **kwargs): """ - A instance of ntpPolicy + Get a specific instance of 'ntpPolicy' This method makes 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 +304,7 @@ def ntp_policies_moid_get(self, moid, **kwargs): def ntp_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of ntpPolicy + Get a specific instance of 'ntpPolicy' This method makes 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 +383,7 @@ def ntp_policies_moid_get_with_http_info(self, moid, **kwargs): def ntp_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of ntpPolicy + Update an instance of 'ntpPolicy' This method makes 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 +409,7 @@ def ntp_policies_moid_patch(self, moid, body, **kwargs): def ntp_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of ntpPolicy + Update an instance of 'ntpPolicy' This method makes 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 +494,7 @@ def ntp_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def ntp_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of ntpPolicy + Update an instance of 'ntpPolicy' This method makes 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 +520,7 @@ def ntp_policies_moid_post(self, moid, body, **kwargs): def ntp_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of ntpPolicy + Update an instance of 'ntpPolicy' This method makes 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 +605,7 @@ def ntp_policies_moid_post_with_http_info(self, moid, body, **kwargs): def ntp_policies_post(self, body, **kwargs): """ - Create a ntpPolicy + Create an instance of 'ntpPolicy' This method makes 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 +630,7 @@ def ntp_policies_post(self, body, **kwargs): def ntp_policies_post_with_http_info(self, body, **kwargs): """ - Create a ntpPolicy + Create an instance of 'ntpPolicy' This method makes 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/port_group_api.py b/intersight/apis/port_group_api.py index 261cbbb2..500ef19c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def port_groups_get(self, **kwargs): """ - List of portGroups + Get a list of 'portGroup' 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,14 @@ def port_groups_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)) :return: PortGroupList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def port_groups_get(self, **kwargs): def port_groups_get_with_http_info(self, **kwargs): """ - List of portGroups + Get a list of 'portGroup' 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 +87,20 @@ def port_groups_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)) :return: PortGroupList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def port_groups_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 +138,8 @@ def port_groups_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'])) header_params = {} @@ -175,7 +175,7 @@ def port_groups_get_with_http_info(self, **kwargs): def port_groups_moid_get(self, moid, **kwargs): """ - A instance of portGroup + Get a specific instance of 'portGroup' This method makes 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 +200,7 @@ def port_groups_moid_get(self, moid, **kwargs): def port_groups_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of portGroup + Get a specific instance of 'portGroup' This method makes 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 +279,7 @@ def port_groups_moid_get_with_http_info(self, moid, **kwargs): def port_groups_moid_patch(self, moid, body, **kwargs): """ - Update an instance of portGroup + Update an instance of 'portGroup' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def port_groups_moid_patch(self, moid, body, **kwargs): def port_groups_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of portGroup + Update an instance of 'portGroup' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def port_groups_moid_patch_with_http_info(self, moid, body, **kwargs): def port_groups_moid_post(self, moid, body, **kwargs): """ - Update an instance of portGroup + Update an instance of 'portGroup' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def port_groups_moid_post(self, moid, body, **kwargs): def port_groups_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of portGroup + Update an instance of 'portGroup' This method makes 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/port_sub_group_api.py b/intersight/apis/port_sub_group_api.py index 1ded0d07..7f3f8119 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def port_sub_groups_get(self, **kwargs): """ - List of portSubGroups + Get a list of 'portSubGroup' 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,14 @@ def port_sub_groups_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)) :return: PortSubGroupList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def port_sub_groups_get(self, **kwargs): def port_sub_groups_get_with_http_info(self, **kwargs): """ - List of portSubGroups + Get a list of 'portSubGroup' 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 +87,20 @@ def port_sub_groups_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)) :return: PortSubGroupList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def port_sub_groups_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 +138,8 @@ def port_sub_groups_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'])) header_params = {} @@ -175,7 +175,7 @@ def port_sub_groups_get_with_http_info(self, **kwargs): def port_sub_groups_moid_get(self, moid, **kwargs): """ - A instance of portSubGroup + Get a specific instance of 'portSubGroup' This method makes 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 +200,7 @@ def port_sub_groups_moid_get(self, moid, **kwargs): def port_sub_groups_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of portSubGroup + Get a specific instance of 'portSubGroup' This method makes 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 +279,7 @@ def port_sub_groups_moid_get_with_http_info(self, moid, **kwargs): def port_sub_groups_moid_patch(self, moid, body, **kwargs): """ - Update an instance of portSubGroup + Update an instance of 'portSubGroup' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def port_sub_groups_moid_patch(self, moid, body, **kwargs): def port_sub_groups_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of portSubGroup + Update an instance of 'portSubGroup' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def port_sub_groups_moid_patch_with_http_info(self, moid, body, **kwargs): def port_sub_groups_moid_post(self, moid, body, **kwargs): """ - Update an instance of portSubGroup + Update an instance of 'portSubGroup' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def port_sub_groups_moid_post(self, moid, body, **kwargs): def port_sub_groups_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of portSubGroup + Update an instance of 'portSubGroup' This method makes 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/processor_unit_api.py b/intersight/apis/processor_unit_api.py index c9e23c9f..abeffcb9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def processor_units_get(self, **kwargs): """ - List of processorUnits + Get a list of 'processorUnit' 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,14 @@ def processor_units_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)) :return: ProcessorUnitList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def processor_units_get(self, **kwargs): def processor_units_get_with_http_info(self, **kwargs): """ - List of processorUnits + Get a list of 'processorUnit' 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 +87,20 @@ def processor_units_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)) :return: ProcessorUnitList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def processor_units_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 +138,8 @@ def processor_units_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'])) header_params = {} @@ -175,7 +175,7 @@ def processor_units_get_with_http_info(self, **kwargs): def processor_units_moid_get(self, moid, **kwargs): """ - A instance of processorUnit + Get a specific instance of 'processorUnit' This method makes 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 +200,7 @@ def processor_units_moid_get(self, moid, **kwargs): def processor_units_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of processorUnit + Get a specific instance of 'processorUnit' This method makes 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 +279,7 @@ def processor_units_moid_get_with_http_info(self, moid, **kwargs): def processor_units_moid_patch(self, moid, body, **kwargs): """ - Update an instance of processorUnit + Update an instance of 'processorUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def processor_units_moid_patch(self, moid, body, **kwargs): def processor_units_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of processorUnit + Update an instance of 'processorUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def processor_units_moid_patch_with_http_info(self, moid, body, **kwargs): def processor_units_moid_post(self, moid, body, **kwargs): """ - Update an instance of processorUnit + Update an instance of 'processorUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def processor_units_moid_post(self, moid, body, **kwargs): def processor_units_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of processorUnit + Update an instance of 'processorUnit' This method makes 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/sdcard_policy_api.py b/intersight/apis/sdcard_policy_api.py new file mode 100644 index 00000000..3a6d9c8b --- /dev/null +++ b/intersight/apis/sdcard_policy_api.py @@ -0,0 +1,708 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 SdcardPolicyApi(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 sdcard_policies_get(self, **kwargs): + """ + Get a list of 'sdcardPolicy' 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.sdcard_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)) + :return: SdcardPolicyList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.sdcard_policies_get_with_http_info(**kwargs) + else: + (data) = self.sdcard_policies_get_with_http_info(**kwargs) + return data + + def sdcard_policies_get_with_http_info(self, **kwargs): + """ + Get a list of 'sdcardPolicy' 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.sdcard_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)) + :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.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 sdcard_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'])) + + 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('/sdcard/Policies', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='SdcardPolicyList', + 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 sdcard_policies_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_policies_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the sdcardPolicy 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.sdcard_policies_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.sdcard_policies_moid_delete_with_http_info(moid, **kwargs) + return data + + def sdcard_policies_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_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 sdcardPolicy 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 sdcard_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 `sdcard_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('/sdcard/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 sdcard_policies_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_policies_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the sdcardPolicy instance. (required) + :return: SdcardPolicy + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.sdcard_policies_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.sdcard_policies_moid_get_with_http_info(moid, **kwargs) + return data + + def sdcard_policies_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_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 sdcardPolicy instance. (required) + :return: SdcardPolicy + 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 sdcard_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 `sdcard_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('/sdcard/Policies/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='SdcardPolicy', + 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 sdcard_policies_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_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 sdcardPolicy instance. (required) + :param SdcardPolicy body: sdcardPolicy 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.sdcard_policies_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.sdcard_policies_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def sdcard_policies_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_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 sdcardPolicy instance. (required) + :param SdcardPolicy body: sdcardPolicy 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 sdcard_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 `sdcard_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 `sdcard_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('/sdcard/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 sdcard_policies_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_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 sdcardPolicy instance. (required) + :param SdcardPolicy body: sdcardPolicy 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.sdcard_policies_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.sdcard_policies_moid_post_with_http_info(moid, body, **kwargs) + return data + + def sdcard_policies_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_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 sdcardPolicy instance. (required) + :param SdcardPolicy body: sdcardPolicy 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 sdcard_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 `sdcard_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 `sdcard_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('/sdcard/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 sdcard_policies_post(self, body, **kwargs): + """ + Create an instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_policies_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param SdcardPolicy body: sdcardPolicy 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.sdcard_policies_post_with_http_info(body, **kwargs) + else: + (data) = self.sdcard_policies_post_with_http_info(body, **kwargs) + return data + + def sdcard_policies_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'sdcardPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.sdcard_policies_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param SdcardPolicy body: sdcardPolicy 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 sdcard_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 `sdcard_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('/sdcard/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/search_search_item_api.py b/intersight/apis/search_search_item_api.py index 29978822..7eec6920 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def search_search_items_get(self, **kwargs): """ - List of searchSearchItems + Get a list of 'searchSearchItem' 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,14 @@ def search_search_items_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)) :return: SearchSearchItemList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def search_search_items_get(self, **kwargs): def search_search_items_get_with_http_info(self, **kwargs): """ - List of searchSearchItems + Get a list of 'searchSearchItem' 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 +87,20 @@ def search_search_items_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)) :return: SearchSearchItemList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def search_search_items_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 +138,8 @@ def search_search_items_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'])) header_params = {} @@ -175,7 +175,7 @@ def search_search_items_get_with_http_info(self, **kwargs): def search_search_items_moid_get(self, moid, **kwargs): """ - A instance of searchSearchItem + Get a specific instance of 'searchSearchItem' This method makes 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 +200,7 @@ def search_search_items_moid_get(self, moid, **kwargs): def search_search_items_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of searchSearchItem + Get a specific instance of 'searchSearchItem' This method makes 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/search_suggest_item_api.py b/intersight/apis/search_suggest_item_api.py index d3d6a23b..75e877da 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def search_suggest_items_post(self, body, **kwargs): """ - Create a searchSuggestItem + Create an instance of 'searchSuggestItem' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +67,7 @@ def search_suggest_items_post(self, body, **kwargs): def search_suggest_items_post_with_http_info(self, body, **kwargs): """ - Create a searchSuggestItem + Create an instance of 'searchSuggestItem' This method makes 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/search_tag_item_api.py b/intersight/apis/search_tag_item_api.py index 34f364f5..55fdee10 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def search_tag_items_get(self, **kwargs): """ - List of searchTagItems + Get a list of 'searchTagItem' 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,14 @@ def search_tag_items_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)) :return: SearchTagItemList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def search_tag_items_get(self, **kwargs): def search_tag_items_get_with_http_info(self, **kwargs): """ - List of searchTagItems + Get a list of 'searchTagItem' 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 +87,20 @@ def search_tag_items_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)) :return: SearchTagItemList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def search_tag_items_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 +138,8 @@ def search_tag_items_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'])) header_params = {} @@ -175,7 +175,7 @@ def search_tag_items_get_with_http_info(self, **kwargs): def search_tag_items_moid_get(self, moid, **kwargs): """ - A instance of searchTagItem + Get a specific instance of 'searchTagItem' This method makes 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 +200,7 @@ def search_tag_items_moid_get(self, moid, **kwargs): def search_tag_items_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of searchTagItem + Get a specific instance of 'searchTagItem' This method makes 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/security_unit_api.py b/intersight/apis/security_unit_api.py index 5178a931..e24b6ea0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def security_units_get(self, **kwargs): """ - List of securityUnits + Get a list of 'securityUnit' 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,14 @@ def security_units_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)) :return: SecurityUnitList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def security_units_get(self, **kwargs): def security_units_get_with_http_info(self, **kwargs): """ - List of securityUnits + Get a list of 'securityUnit' 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 +87,20 @@ def security_units_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)) :return: SecurityUnitList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def security_units_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 +138,8 @@ def security_units_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'])) header_params = {} @@ -175,7 +175,7 @@ def security_units_get_with_http_info(self, **kwargs): def security_units_moid_get(self, moid, **kwargs): """ - A instance of securityUnit + Get a specific instance of 'securityUnit' This method makes 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 +200,7 @@ def security_units_moid_get(self, moid, **kwargs): def security_units_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of securityUnit + Get a specific instance of 'securityUnit' This method makes 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 +279,7 @@ def security_units_moid_get_with_http_info(self, moid, **kwargs): def security_units_moid_patch(self, moid, body, **kwargs): """ - Update an instance of securityUnit + Update an instance of 'securityUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def security_units_moid_patch(self, moid, body, **kwargs): def security_units_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of securityUnit + Update an instance of 'securityUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def security_units_moid_patch_with_http_info(self, moid, body, **kwargs): def security_units_moid_post(self, moid, body, **kwargs): """ - Update an instance of securityUnit + Update an instance of 'securityUnit' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def security_units_moid_post(self, moid, body, **kwargs): def security_units_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of securityUnit + Update an instance of 'securityUnit' This method makes 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/server_config_change_detail_api.py b/intersight/apis/server_config_change_detail_api.py new file mode 100644 index 00000000..cf5387ff --- /dev/null +++ b/intersight/apis/server_config_change_detail_api.py @@ -0,0 +1,278 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 ServerConfigChangeDetailApi(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 server_config_change_details_get(self, **kwargs): + """ + Get a list of 'serverConfigChangeDetail' 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.server_config_change_details_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)) + :return: ServerConfigChangeDetailList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.server_config_change_details_get_with_http_info(**kwargs) + else: + (data) = self.server_config_change_details_get_with_http_info(**kwargs) + return data + + def server_config_change_details_get_with_http_info(self, **kwargs): + """ + Get a list of 'serverConfigChangeDetail' 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.server_config_change_details_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)) + :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.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 server_config_change_details_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'])) + + 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('/server/ConfigChangeDetails', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ServerConfigChangeDetailList', + 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 server_config_change_details_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'serverConfigChangeDetail' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.server_config_change_details_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the serverConfigChangeDetail instance. (required) + :return: ServerConfigChangeDetail + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.server_config_change_details_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.server_config_change_details_moid_get_with_http_info(moid, **kwargs) + return data + + def server_config_change_details_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'serverConfigChangeDetail' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.server_config_change_details_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 serverConfigChangeDetail instance. (required) + :return: ServerConfigChangeDetail + 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 server_config_change_details_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 `server_config_change_details_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('/server/ConfigChangeDetails/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ServerConfigChangeDetail', + 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/server_config_result_api.py b/intersight/apis/server_config_result_api.py index 83f0d85d..9b17faeb 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def server_config_results_get(self, **kwargs): """ - List of serverConfigResults + Get a list of 'serverConfigResult' 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,14 @@ def server_config_results_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)) :return: ServerConfigResultList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def server_config_results_get(self, **kwargs): def server_config_results_get_with_http_info(self, **kwargs): """ - List of serverConfigResults + Get a list of 'serverConfigResult' 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 +87,20 @@ def server_config_results_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)) :return: ServerConfigResultList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def server_config_results_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 +138,8 @@ def server_config_results_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'])) header_params = {} @@ -175,7 +175,7 @@ def server_config_results_get_with_http_info(self, **kwargs): def server_config_results_moid_get(self, moid, **kwargs): """ - A instance of serverConfigResult + Get a specific instance of 'serverConfigResult' This method makes 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 +200,7 @@ def server_config_results_moid_get(self, moid, **kwargs): def server_config_results_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of serverConfigResult + Get a specific instance of 'serverConfigResult' This method makes 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/server_config_result_entry_api.py b/intersight/apis/server_config_result_entry_api.py index a7ce0f11..acd29eae 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def server_config_result_entries_get(self, **kwargs): """ - List of serverConfigResultEntries + Get a list of 'serverConfigResultEntry' 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,14 @@ def server_config_result_entries_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)) :return: ServerConfigResultEntryList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def server_config_result_entries_get(self, **kwargs): def server_config_result_entries_get_with_http_info(self, **kwargs): """ - List of serverConfigResultEntries + Get a list of 'serverConfigResultEntry' 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 +87,20 @@ def server_config_result_entries_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)) :return: ServerConfigResultEntryList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def server_config_result_entries_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 +138,8 @@ def server_config_result_entries_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'])) header_params = {} @@ -175,7 +175,7 @@ def server_config_result_entries_get_with_http_info(self, **kwargs): def server_config_result_entries_moid_get(self, moid, **kwargs): """ - A instance of serverConfigResultEntry + Get a specific instance of 'serverConfigResultEntry' This method makes 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 +200,7 @@ def server_config_result_entries_moid_get(self, moid, **kwargs): def server_config_result_entries_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of serverConfigResultEntry + Get a specific instance of 'serverConfigResultEntry' This method makes 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/server_profile_api.py b/intersight/apis/server_profile_api.py index cd849c2b..491ec4b8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def server_profiles_get(self, **kwargs): """ - List of serverProfiles + Get a list of 'serverProfile' 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,14 @@ def server_profiles_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)) :return: ServerProfileList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def server_profiles_get(self, **kwargs): def server_profiles_get_with_http_info(self, **kwargs): """ - List of serverProfiles + Get a list of 'serverProfile' 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 +87,20 @@ def server_profiles_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)) :return: ServerProfileList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def server_profiles_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 +138,8 @@ def server_profiles_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'])) header_params = {} @@ -175,7 +175,7 @@ def server_profiles_get_with_http_info(self, **kwargs): def server_profiles_moid_delete(self, moid, **kwargs): """ - Delete an instance of serverProfile + Delete an instance of 'serverProfile' This method makes 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 +200,7 @@ def server_profiles_moid_delete(self, moid, **kwargs): def server_profiles_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of serverProfile + Delete an instance of 'serverProfile' This method makes 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 +279,7 @@ def server_profiles_moid_delete_with_http_info(self, moid, **kwargs): def server_profiles_moid_get(self, moid, **kwargs): """ - A instance of serverProfile + Get a specific instance of 'serverProfile' This method makes 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 +304,7 @@ def server_profiles_moid_get(self, moid, **kwargs): def server_profiles_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of serverProfile + Get a specific instance of 'serverProfile' This method makes 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 +383,7 @@ def server_profiles_moid_get_with_http_info(self, moid, **kwargs): def server_profiles_moid_patch(self, moid, body, **kwargs): """ - Update an instance of serverProfile + Update an instance of 'serverProfile' This method makes 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 +409,7 @@ def server_profiles_moid_patch(self, moid, body, **kwargs): def server_profiles_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of serverProfile + Update an instance of 'serverProfile' This method makes 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 +494,7 @@ def server_profiles_moid_patch_with_http_info(self, moid, body, **kwargs): def server_profiles_moid_post(self, moid, body, **kwargs): """ - Update an instance of serverProfile + Update an instance of 'serverProfile' This method makes 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 +520,7 @@ def server_profiles_moid_post(self, moid, body, **kwargs): def server_profiles_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of serverProfile + Update an instance of 'serverProfile' This method makes 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 +605,7 @@ def server_profiles_moid_post_with_http_info(self, moid, body, **kwargs): def server_profiles_post(self, body, **kwargs): """ - Create a serverProfile + Create an instance of 'serverProfile' This method makes 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 +630,7 @@ def server_profiles_post(self, body, **kwargs): def server_profiles_post_with_http_info(self, body, **kwargs): """ - Create a serverProfile + Create an instance of 'serverProfile' This method makes 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/smtp_policy_api.py b/intersight/apis/smtp_policy_api.py index a463d1b5..589838d1 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def smtp_policies_get(self, **kwargs): """ - List of smtpPolicies + Get a list of 'smtpPolicy' 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,14 @@ def smtp_policies_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)) :return: SmtpPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def smtp_policies_get(self, **kwargs): def smtp_policies_get_with_http_info(self, **kwargs): """ - List of smtpPolicies + Get a list of 'smtpPolicy' 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 +87,20 @@ def smtp_policies_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)) :return: SmtpPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def smtp_policies_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 +138,8 @@ def smtp_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def smtp_policies_get_with_http_info(self, **kwargs): def smtp_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of smtpPolicy + Delete an instance of 'smtpPolicy' This method makes 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 +200,7 @@ def smtp_policies_moid_delete(self, moid, **kwargs): def smtp_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of smtpPolicy + Delete an instance of 'smtpPolicy' This method makes 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 +279,7 @@ def smtp_policies_moid_delete_with_http_info(self, moid, **kwargs): def smtp_policies_moid_get(self, moid, **kwargs): """ - A instance of smtpPolicy + Get a specific instance of 'smtpPolicy' This method makes 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 +304,7 @@ def smtp_policies_moid_get(self, moid, **kwargs): def smtp_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of smtpPolicy + Get a specific instance of 'smtpPolicy' This method makes 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 +383,7 @@ def smtp_policies_moid_get_with_http_info(self, moid, **kwargs): def smtp_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of smtpPolicy + Update an instance of 'smtpPolicy' This method makes 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 +409,7 @@ def smtp_policies_moid_patch(self, moid, body, **kwargs): def smtp_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of smtpPolicy + Update an instance of 'smtpPolicy' This method makes 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 +494,7 @@ def smtp_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def smtp_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of smtpPolicy + Update an instance of 'smtpPolicy' This method makes 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 +520,7 @@ def smtp_policies_moid_post(self, moid, body, **kwargs): def smtp_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of smtpPolicy + Update an instance of 'smtpPolicy' This method makes 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 +605,7 @@ def smtp_policies_moid_post_with_http_info(self, moid, body, **kwargs): def smtp_policies_post(self, body, **kwargs): """ - Create a smtpPolicy + Create an instance of 'smtpPolicy' This method makes 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 +630,7 @@ def smtp_policies_post(self, body, **kwargs): def smtp_policies_post_with_http_info(self, body, **kwargs): """ - Create a smtpPolicy + Create an instance of 'smtpPolicy' This method makes 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/snmp_policy_api.py b/intersight/apis/snmp_policy_api.py index 5b98e01b..8d243a1f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def snmp_policies_get(self, **kwargs): """ - List of snmpPolicies + Get a list of 'snmpPolicy' 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,14 @@ def snmp_policies_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)) :return: SnmpPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def snmp_policies_get(self, **kwargs): def snmp_policies_get_with_http_info(self, **kwargs): """ - List of snmpPolicies + Get a list of 'snmpPolicy' 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 +87,20 @@ def snmp_policies_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)) :return: SnmpPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def snmp_policies_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 +138,8 @@ def snmp_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def snmp_policies_get_with_http_info(self, **kwargs): def snmp_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of snmpPolicy + Delete an instance of 'snmpPolicy' This method makes 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 +200,7 @@ def snmp_policies_moid_delete(self, moid, **kwargs): def snmp_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of snmpPolicy + Delete an instance of 'snmpPolicy' This method makes 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 +279,7 @@ def snmp_policies_moid_delete_with_http_info(self, moid, **kwargs): def snmp_policies_moid_get(self, moid, **kwargs): """ - A instance of snmpPolicy + Get a specific instance of 'snmpPolicy' This method makes 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 +304,7 @@ def snmp_policies_moid_get(self, moid, **kwargs): def snmp_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of snmpPolicy + Get a specific instance of 'snmpPolicy' This method makes 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 +383,7 @@ def snmp_policies_moid_get_with_http_info(self, moid, **kwargs): def snmp_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of snmpPolicy + Update an instance of 'snmpPolicy' This method makes 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 +409,7 @@ def snmp_policies_moid_patch(self, moid, body, **kwargs): def snmp_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of snmpPolicy + Update an instance of 'snmpPolicy' This method makes 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 +494,7 @@ def snmp_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def snmp_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of snmpPolicy + Update an instance of 'snmpPolicy' This method makes 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 +520,7 @@ def snmp_policies_moid_post(self, moid, body, **kwargs): def snmp_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of snmpPolicy + Update an instance of 'snmpPolicy' This method makes 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 +605,7 @@ def snmp_policies_moid_post_with_http_info(self, moid, body, **kwargs): def snmp_policies_post(self, body, **kwargs): """ - Create a snmpPolicy + Create an instance of 'snmpPolicy' This method makes 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 +630,7 @@ def snmp_policies_post(self, body, **kwargs): def snmp_policies_post_with_http_info(self, body, **kwargs): """ - Create a snmpPolicy + Create an instance of 'snmpPolicy' This method makes 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/sol_policy_api.py b/intersight/apis/sol_policy_api.py index 6df69623..d957252b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def sol_policies_get(self, **kwargs): """ - List of solPolicies + Get a list of 'solPolicy' 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,14 @@ def sol_policies_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)) :return: SolPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def sol_policies_get(self, **kwargs): def sol_policies_get_with_http_info(self, **kwargs): """ - List of solPolicies + Get a list of 'solPolicy' 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 +87,20 @@ def sol_policies_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)) :return: SolPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def sol_policies_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 +138,8 @@ def sol_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def sol_policies_get_with_http_info(self, **kwargs): def sol_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of solPolicy + Delete an instance of 'solPolicy' This method makes 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 +200,7 @@ def sol_policies_moid_delete(self, moid, **kwargs): def sol_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of solPolicy + Delete an instance of 'solPolicy' This method makes 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 +279,7 @@ def sol_policies_moid_delete_with_http_info(self, moid, **kwargs): def sol_policies_moid_get(self, moid, **kwargs): """ - A instance of solPolicy + Get a specific instance of 'solPolicy' This method makes 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 +304,7 @@ def sol_policies_moid_get(self, moid, **kwargs): def sol_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of solPolicy + Get a specific instance of 'solPolicy' This method makes 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 +383,7 @@ def sol_policies_moid_get_with_http_info(self, moid, **kwargs): def sol_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of solPolicy + Update an instance of 'solPolicy' This method makes 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 +409,7 @@ def sol_policies_moid_patch(self, moid, body, **kwargs): def sol_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of solPolicy + Update an instance of 'solPolicy' This method makes 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 +494,7 @@ def sol_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def sol_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of solPolicy + Update an instance of 'solPolicy' This method makes 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 +520,7 @@ def sol_policies_moid_post(self, moid, body, **kwargs): def sol_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of solPolicy + Update an instance of 'solPolicy' This method makes 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 +605,7 @@ def sol_policies_moid_post_with_http_info(self, moid, body, **kwargs): def sol_policies_post(self, body, **kwargs): """ - Create a solPolicy + Create an instance of 'solPolicy' This method makes 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 +630,7 @@ def sol_policies_post(self, body, **kwargs): def sol_policies_post_with_http_info(self, body, **kwargs): """ - Create a solPolicy + Create an instance of 'solPolicy' This method makes 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/ssh_policy_api.py b/intersight/apis/ssh_policy_api.py index 37274933..262d9a74 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def ssh_policies_get(self, **kwargs): """ - List of sshPolicies + Get a list of 'sshPolicy' 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,14 @@ def ssh_policies_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)) :return: SshPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def ssh_policies_get(self, **kwargs): def ssh_policies_get_with_http_info(self, **kwargs): """ - List of sshPolicies + Get a list of 'sshPolicy' 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 +87,20 @@ def ssh_policies_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)) :return: SshPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def ssh_policies_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 +138,8 @@ def ssh_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def ssh_policies_get_with_http_info(self, **kwargs): def ssh_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of sshPolicy + Delete an instance of 'sshPolicy' This method makes 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 +200,7 @@ def ssh_policies_moid_delete(self, moid, **kwargs): def ssh_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of sshPolicy + Delete an instance of 'sshPolicy' This method makes 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 +279,7 @@ def ssh_policies_moid_delete_with_http_info(self, moid, **kwargs): def ssh_policies_moid_get(self, moid, **kwargs): """ - A instance of sshPolicy + Get a specific instance of 'sshPolicy' This method makes 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 +304,7 @@ def ssh_policies_moid_get(self, moid, **kwargs): def ssh_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of sshPolicy + Get a specific instance of 'sshPolicy' This method makes 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 +383,7 @@ def ssh_policies_moid_get_with_http_info(self, moid, **kwargs): def ssh_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of sshPolicy + Update an instance of 'sshPolicy' This method makes 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 +409,7 @@ def ssh_policies_moid_patch(self, moid, body, **kwargs): def ssh_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of sshPolicy + Update an instance of 'sshPolicy' This method makes 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 +494,7 @@ def ssh_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def ssh_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of sshPolicy + Update an instance of 'sshPolicy' This method makes 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 +520,7 @@ def ssh_policies_moid_post(self, moid, body, **kwargs): def ssh_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of sshPolicy + Update an instance of 'sshPolicy' This method makes 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 +605,7 @@ def ssh_policies_moid_post_with_http_info(self, moid, body, **kwargs): def ssh_policies_post(self, body, **kwargs): """ - Create a sshPolicy + Create an instance of 'sshPolicy' This method makes 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 +630,7 @@ def ssh_policies_post(self, body, **kwargs): def ssh_policies_post_with_http_info(self, body, **kwargs): """ - Create a sshPolicy + Create an instance of 'sshPolicy' This method makes 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/storage_controller_api.py b/intersight/apis/storage_controller_api.py index ebf3fbcd..18e34481 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_controllers_get(self, **kwargs): """ - List of storageControllers + Get a list of 'storageController' 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,14 @@ def storage_controllers_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)) :return: StorageControllerList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_controllers_get(self, **kwargs): def storage_controllers_get_with_http_info(self, **kwargs): """ - List of storageControllers + Get a list of 'storageController' 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 +87,20 @@ def storage_controllers_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)) :return: StorageControllerList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_controllers_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 +138,8 @@ def storage_controllers_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_controllers_get_with_http_info(self, **kwargs): def storage_controllers_moid_get(self, moid, **kwargs): """ - A instance of storageController + Get a specific instance of 'storageController' This method makes 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 +200,7 @@ def storage_controllers_moid_get(self, moid, **kwargs): def storage_controllers_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageController + Get a specific instance of 'storageController' This method makes 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 +279,7 @@ def storage_controllers_moid_get_with_http_info(self, moid, **kwargs): def storage_controllers_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageController + Update an instance of 'storageController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_controllers_moid_patch(self, moid, body, **kwargs): def storage_controllers_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageController + Update an instance of 'storageController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_controllers_moid_patch_with_http_info(self, moid, body, **kwargs): def storage_controllers_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageController + Update an instance of 'storageController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_controllers_moid_post(self, moid, body, **kwargs): def storage_controllers_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageController + Update an instance of 'storageController' This method makes 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/storage_disk_group_policy_api.py b/intersight/apis/storage_disk_group_policy_api.py index cbc5fa93..67956dbb 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_disk_group_policies_get(self, **kwargs): """ - List of storageDiskGroupPolicies + Get a list of 'storageDiskGroupPolicy' 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,14 @@ def storage_disk_group_policies_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)) :return: StorageDiskGroupPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_disk_group_policies_get(self, **kwargs): def storage_disk_group_policies_get_with_http_info(self, **kwargs): """ - List of storageDiskGroupPolicies + Get a list of 'storageDiskGroupPolicy' 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 +87,20 @@ def storage_disk_group_policies_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)) :return: StorageDiskGroupPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_disk_group_policies_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 +138,8 @@ def storage_disk_group_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_disk_group_policies_get_with_http_info(self, **kwargs): def storage_disk_group_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of storageDiskGroupPolicy + Delete an instance of 'storageDiskGroupPolicy' This method makes 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 +200,7 @@ def storage_disk_group_policies_moid_delete(self, moid, **kwargs): def storage_disk_group_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of storageDiskGroupPolicy + Delete an instance of 'storageDiskGroupPolicy' This method makes 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 +279,7 @@ def storage_disk_group_policies_moid_delete_with_http_info(self, moid, **kwargs) def storage_disk_group_policies_moid_get(self, moid, **kwargs): """ - A instance of storageDiskGroupPolicy + Get a specific instance of 'storageDiskGroupPolicy' This method makes 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 +304,7 @@ def storage_disk_group_policies_moid_get(self, moid, **kwargs): def storage_disk_group_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageDiskGroupPolicy + Get a specific instance of 'storageDiskGroupPolicy' This method makes 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 +383,7 @@ def storage_disk_group_policies_moid_get_with_http_info(self, moid, **kwargs): def storage_disk_group_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageDiskGroupPolicy + Update an instance of 'storageDiskGroupPolicy' This method makes 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 +409,7 @@ def storage_disk_group_policies_moid_patch(self, moid, body, **kwargs): def storage_disk_group_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageDiskGroupPolicy + Update an instance of 'storageDiskGroupPolicy' This method makes 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 +494,7 @@ def storage_disk_group_policies_moid_patch_with_http_info(self, moid, body, **kw def storage_disk_group_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageDiskGroupPolicy + Update an instance of 'storageDiskGroupPolicy' This method makes 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 +520,7 @@ def storage_disk_group_policies_moid_post(self, moid, body, **kwargs): def storage_disk_group_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageDiskGroupPolicy + Update an instance of 'storageDiskGroupPolicy' This method makes 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 +605,7 @@ def storage_disk_group_policies_moid_post_with_http_info(self, moid, body, **kwa def storage_disk_group_policies_post(self, body, **kwargs): """ - Create a storageDiskGroupPolicy + Create an instance of 'storageDiskGroupPolicy' This method makes 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 +630,7 @@ def storage_disk_group_policies_post(self, body, **kwargs): def storage_disk_group_policies_post_with_http_info(self, body, **kwargs): """ - Create a storageDiskGroupPolicy + Create an instance of 'storageDiskGroupPolicy' This method makes 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/storage_enclosure_api.py b/intersight/apis/storage_enclosure_api.py index 79cab96c..b0e3665c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_enclosures_get(self, **kwargs): """ - List of storageEnclosures + Get a list of 'storageEnclosure' 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,14 @@ def storage_enclosures_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)) :return: StorageEnclosureList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_enclosures_get(self, **kwargs): def storage_enclosures_get_with_http_info(self, **kwargs): """ - List of storageEnclosures + Get a list of 'storageEnclosure' 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 +87,20 @@ def storage_enclosures_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)) :return: StorageEnclosureList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_enclosures_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 +138,8 @@ def storage_enclosures_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_enclosures_get_with_http_info(self, **kwargs): def storage_enclosures_moid_get(self, moid, **kwargs): """ - A instance of storageEnclosure + Get a specific instance of 'storageEnclosure' This method makes 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 +200,7 @@ def storage_enclosures_moid_get(self, moid, **kwargs): def storage_enclosures_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageEnclosure + Get a specific instance of 'storageEnclosure' This method makes 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 +279,7 @@ def storage_enclosures_moid_get_with_http_info(self, moid, **kwargs): def storage_enclosures_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageEnclosure + Update an instance of 'storageEnclosure' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_enclosures_moid_patch(self, moid, body, **kwargs): def storage_enclosures_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageEnclosure + Update an instance of 'storageEnclosure' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_enclosures_moid_patch_with_http_info(self, moid, body, **kwargs): def storage_enclosures_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageEnclosure + Update an instance of 'storageEnclosure' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_enclosures_moid_post(self, moid, body, **kwargs): def storage_enclosures_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageEnclosure + Update an instance of 'storageEnclosure' This method makes 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/storage_flex_flash_controller_api.py b/intersight/apis/storage_flex_flash_controller_api.py index 558bc427..3a117d11 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_flex_flash_controllers_get(self, **kwargs): """ - List of storageFlexFlashControllers + Get a list of 'storageFlexFlashController' 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,14 @@ def storage_flex_flash_controllers_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)) :return: StorageFlexFlashControllerList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_flex_flash_controllers_get(self, **kwargs): def storage_flex_flash_controllers_get_with_http_info(self, **kwargs): """ - List of storageFlexFlashControllers + Get a list of 'storageFlexFlashController' 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 +87,20 @@ def storage_flex_flash_controllers_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)) :return: StorageFlexFlashControllerList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_flex_flash_controllers_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 +138,8 @@ def storage_flex_flash_controllers_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_flex_flash_controllers_get_with_http_info(self, **kwargs): def storage_flex_flash_controllers_moid_get(self, moid, **kwargs): """ - A instance of storageFlexFlashController + Get a specific instance of 'storageFlexFlashController' This method makes 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 +200,7 @@ def storage_flex_flash_controllers_moid_get(self, moid, **kwargs): def storage_flex_flash_controllers_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageFlexFlashController + Get a specific instance of 'storageFlexFlashController' This method makes 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 +279,7 @@ def storage_flex_flash_controllers_moid_get_with_http_info(self, moid, **kwargs) def storage_flex_flash_controllers_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashController + Update an instance of 'storageFlexFlashController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_flex_flash_controllers_moid_patch(self, moid, body, **kwargs): def storage_flex_flash_controllers_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashController + Update an instance of 'storageFlexFlashController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_flex_flash_controllers_moid_patch_with_http_info(self, moid, body, * def storage_flex_flash_controllers_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashController + Update an instance of 'storageFlexFlashController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_flex_flash_controllers_moid_post(self, moid, body, **kwargs): def storage_flex_flash_controllers_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashController + Update an instance of 'storageFlexFlashController' This method makes 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/storage_flex_flash_controller_props_api.py b/intersight/apis/storage_flex_flash_controller_props_api.py index f93943ec..df1d053d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_flex_flash_controller_props_get(self, **kwargs): """ - List of storageFlexFlashControllerProps + Get a list of 'storageFlexFlashControllerProps' 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,14 @@ def storage_flex_flash_controller_props_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)) :return: StorageFlexFlashControllerPropsList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_flex_flash_controller_props_get(self, **kwargs): def storage_flex_flash_controller_props_get_with_http_info(self, **kwargs): """ - List of storageFlexFlashControllerProps + Get a list of 'storageFlexFlashControllerProps' 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 +87,20 @@ def storage_flex_flash_controller_props_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)) :return: StorageFlexFlashControllerPropsList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_flex_flash_controller_props_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 +138,8 @@ def storage_flex_flash_controller_props_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_flex_flash_controller_props_get_with_http_info(self, **kwargs): def storage_flex_flash_controller_props_moid_get(self, moid, **kwargs): """ - A instance of storageFlexFlashControllerProps + Get a specific instance of 'storageFlexFlashControllerProps' This method makes 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 +200,7 @@ def storage_flex_flash_controller_props_moid_get(self, moid, **kwargs): def storage_flex_flash_controller_props_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageFlexFlashControllerProps + Get a specific instance of 'storageFlexFlashControllerProps' This method makes 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 +279,7 @@ def storage_flex_flash_controller_props_moid_get_with_http_info(self, moid, **kw def storage_flex_flash_controller_props_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashControllerProps + Update an instance of 'storageFlexFlashControllerProps' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_flex_flash_controller_props_moid_patch(self, moid, body, **kwargs): def storage_flex_flash_controller_props_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashControllerProps + Update an instance of 'storageFlexFlashControllerProps' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_flex_flash_controller_props_moid_patch_with_http_info(self, moid, bo def storage_flex_flash_controller_props_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashControllerProps + Update an instance of 'storageFlexFlashControllerProps' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_flex_flash_controller_props_moid_post(self, moid, body, **kwargs): def storage_flex_flash_controller_props_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashControllerProps + Update an instance of 'storageFlexFlashControllerProps' This method makes 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/storage_flex_flash_physical_drive_api.py b/intersight/apis/storage_flex_flash_physical_drive_api.py index 347f67ae..65b892bb 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_flex_flash_physical_drives_get(self, **kwargs): """ - List of storageFlexFlashPhysicalDrives + Get a list of 'storageFlexFlashPhysicalDrive' 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,14 @@ def storage_flex_flash_physical_drives_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)) :return: StorageFlexFlashPhysicalDriveList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_flex_flash_physical_drives_get(self, **kwargs): def storage_flex_flash_physical_drives_get_with_http_info(self, **kwargs): """ - List of storageFlexFlashPhysicalDrives + Get a list of 'storageFlexFlashPhysicalDrive' 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 +87,20 @@ def storage_flex_flash_physical_drives_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)) :return: StorageFlexFlashPhysicalDriveList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_flex_flash_physical_drives_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 +138,8 @@ def storage_flex_flash_physical_drives_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_flex_flash_physical_drives_get_with_http_info(self, **kwargs): def storage_flex_flash_physical_drives_moid_get(self, moid, **kwargs): """ - A instance of storageFlexFlashPhysicalDrive + Get a specific instance of 'storageFlexFlashPhysicalDrive' This method makes 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 +200,7 @@ def storage_flex_flash_physical_drives_moid_get(self, moid, **kwargs): def storage_flex_flash_physical_drives_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageFlexFlashPhysicalDrive + Get a specific instance of 'storageFlexFlashPhysicalDrive' This method makes 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 +279,7 @@ def storage_flex_flash_physical_drives_moid_get_with_http_info(self, moid, **kwa def storage_flex_flash_physical_drives_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashPhysicalDrive + Update an instance of 'storageFlexFlashPhysicalDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_flex_flash_physical_drives_moid_patch(self, moid, body, **kwargs): def storage_flex_flash_physical_drives_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashPhysicalDrive + Update an instance of 'storageFlexFlashPhysicalDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_flex_flash_physical_drives_moid_patch_with_http_info(self, moid, bod def storage_flex_flash_physical_drives_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashPhysicalDrive + Update an instance of 'storageFlexFlashPhysicalDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_flex_flash_physical_drives_moid_post(self, moid, body, **kwargs): def storage_flex_flash_physical_drives_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashPhysicalDrive + Update an instance of 'storageFlexFlashPhysicalDrive' This method makes 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/storage_flex_flash_virtual_drive_api.py b/intersight/apis/storage_flex_flash_virtual_drive_api.py index e24b0cd8..b1f49194 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_flex_flash_virtual_drives_get(self, **kwargs): """ - List of storageFlexFlashVirtualDrives + Get a list of 'storageFlexFlashVirtualDrive' 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,14 @@ def storage_flex_flash_virtual_drives_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)) :return: StorageFlexFlashVirtualDriveList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_flex_flash_virtual_drives_get(self, **kwargs): def storage_flex_flash_virtual_drives_get_with_http_info(self, **kwargs): """ - List of storageFlexFlashVirtualDrives + Get a list of 'storageFlexFlashVirtualDrive' 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 +87,20 @@ def storage_flex_flash_virtual_drives_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)) :return: StorageFlexFlashVirtualDriveList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_flex_flash_virtual_drives_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 +138,8 @@ def storage_flex_flash_virtual_drives_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_flex_flash_virtual_drives_get_with_http_info(self, **kwargs): def storage_flex_flash_virtual_drives_moid_get(self, moid, **kwargs): """ - A instance of storageFlexFlashVirtualDrive + Get a specific instance of 'storageFlexFlashVirtualDrive' This method makes 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 +200,7 @@ def storage_flex_flash_virtual_drives_moid_get(self, moid, **kwargs): def storage_flex_flash_virtual_drives_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageFlexFlashVirtualDrive + Get a specific instance of 'storageFlexFlashVirtualDrive' This method makes 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 +279,7 @@ def storage_flex_flash_virtual_drives_moid_get_with_http_info(self, moid, **kwar def storage_flex_flash_virtual_drives_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashVirtualDrive + Update an instance of 'storageFlexFlashVirtualDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_flex_flash_virtual_drives_moid_patch(self, moid, body, **kwargs): def storage_flex_flash_virtual_drives_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashVirtualDrive + Update an instance of 'storageFlexFlashVirtualDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_flex_flash_virtual_drives_moid_patch_with_http_info(self, moid, body def storage_flex_flash_virtual_drives_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashVirtualDrive + Update an instance of 'storageFlexFlashVirtualDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_flex_flash_virtual_drives_moid_post(self, moid, body, **kwargs): def storage_flex_flash_virtual_drives_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexFlashVirtualDrive + Update an instance of 'storageFlexFlashVirtualDrive' This method makes 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/storage_flex_util_controller_api.py b/intersight/apis/storage_flex_util_controller_api.py index 978113a0..95d67d68 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_flex_util_controllers_get(self, **kwargs): """ - List of storageFlexUtilControllers + Get a list of 'storageFlexUtilController' 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,14 @@ def storage_flex_util_controllers_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)) :return: StorageFlexUtilControllerList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_flex_util_controllers_get(self, **kwargs): def storage_flex_util_controllers_get_with_http_info(self, **kwargs): """ - List of storageFlexUtilControllers + Get a list of 'storageFlexUtilController' 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 +87,20 @@ def storage_flex_util_controllers_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)) :return: StorageFlexUtilControllerList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_flex_util_controllers_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 +138,8 @@ def storage_flex_util_controllers_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_flex_util_controllers_get_with_http_info(self, **kwargs): def storage_flex_util_controllers_moid_get(self, moid, **kwargs): """ - A instance of storageFlexUtilController + Get a specific instance of 'storageFlexUtilController' This method makes 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 +200,7 @@ def storage_flex_util_controllers_moid_get(self, moid, **kwargs): def storage_flex_util_controllers_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageFlexUtilController + Get a specific instance of 'storageFlexUtilController' This method makes 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 +279,7 @@ def storage_flex_util_controllers_moid_get_with_http_info(self, moid, **kwargs): def storage_flex_util_controllers_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilController + Update an instance of 'storageFlexUtilController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_flex_util_controllers_moid_patch(self, moid, body, **kwargs): def storage_flex_util_controllers_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilController + Update an instance of 'storageFlexUtilController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_flex_util_controllers_moid_patch_with_http_info(self, moid, body, ** def storage_flex_util_controllers_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilController + Update an instance of 'storageFlexUtilController' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_flex_util_controllers_moid_post(self, moid, body, **kwargs): def storage_flex_util_controllers_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilController + Update an instance of 'storageFlexUtilController' This method makes 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/storage_flex_util_physical_drive_api.py b/intersight/apis/storage_flex_util_physical_drive_api.py index d340c3c2..f90c9f54 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_flex_util_physical_drives_get(self, **kwargs): """ - List of storageFlexUtilPhysicalDrives + Get a list of 'storageFlexUtilPhysicalDrive' 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,14 @@ def storage_flex_util_physical_drives_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)) :return: StorageFlexUtilPhysicalDriveList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_flex_util_physical_drives_get(self, **kwargs): def storage_flex_util_physical_drives_get_with_http_info(self, **kwargs): """ - List of storageFlexUtilPhysicalDrives + Get a list of 'storageFlexUtilPhysicalDrive' 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 +87,20 @@ def storage_flex_util_physical_drives_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)) :return: StorageFlexUtilPhysicalDriveList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_flex_util_physical_drives_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 +138,8 @@ def storage_flex_util_physical_drives_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_flex_util_physical_drives_get_with_http_info(self, **kwargs): def storage_flex_util_physical_drives_moid_get(self, moid, **kwargs): """ - A instance of storageFlexUtilPhysicalDrive + Get a specific instance of 'storageFlexUtilPhysicalDrive' This method makes 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 +200,7 @@ def storage_flex_util_physical_drives_moid_get(self, moid, **kwargs): def storage_flex_util_physical_drives_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageFlexUtilPhysicalDrive + Get a specific instance of 'storageFlexUtilPhysicalDrive' This method makes 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 +279,7 @@ def storage_flex_util_physical_drives_moid_get_with_http_info(self, moid, **kwar def storage_flex_util_physical_drives_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilPhysicalDrive + Update an instance of 'storageFlexUtilPhysicalDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_flex_util_physical_drives_moid_patch(self, moid, body, **kwargs): def storage_flex_util_physical_drives_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilPhysicalDrive + Update an instance of 'storageFlexUtilPhysicalDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_flex_util_physical_drives_moid_patch_with_http_info(self, moid, body def storage_flex_util_physical_drives_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilPhysicalDrive + Update an instance of 'storageFlexUtilPhysicalDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_flex_util_physical_drives_moid_post(self, moid, body, **kwargs): def storage_flex_util_physical_drives_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilPhysicalDrive + Update an instance of 'storageFlexUtilPhysicalDrive' This method makes 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/storage_flex_util_virtual_drive_api.py b/intersight/apis/storage_flex_util_virtual_drive_api.py index 80eb8a22..51e5d1f6 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_flex_util_virtual_drives_get(self, **kwargs): """ - List of storageFlexUtilVirtualDrives + Get a list of 'storageFlexUtilVirtualDrive' 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,14 @@ def storage_flex_util_virtual_drives_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)) :return: StorageFlexUtilVirtualDriveList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_flex_util_virtual_drives_get(self, **kwargs): def storage_flex_util_virtual_drives_get_with_http_info(self, **kwargs): """ - List of storageFlexUtilVirtualDrives + Get a list of 'storageFlexUtilVirtualDrive' 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 +87,20 @@ def storage_flex_util_virtual_drives_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)) :return: StorageFlexUtilVirtualDriveList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_flex_util_virtual_drives_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 +138,8 @@ def storage_flex_util_virtual_drives_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_flex_util_virtual_drives_get_with_http_info(self, **kwargs): def storage_flex_util_virtual_drives_moid_get(self, moid, **kwargs): """ - A instance of storageFlexUtilVirtualDrive + Get a specific instance of 'storageFlexUtilVirtualDrive' This method makes 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 +200,7 @@ def storage_flex_util_virtual_drives_moid_get(self, moid, **kwargs): def storage_flex_util_virtual_drives_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageFlexUtilVirtualDrive + Get a specific instance of 'storageFlexUtilVirtualDrive' This method makes 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 +279,7 @@ def storage_flex_util_virtual_drives_moid_get_with_http_info(self, moid, **kwarg def storage_flex_util_virtual_drives_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilVirtualDrive + Update an instance of 'storageFlexUtilVirtualDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_flex_util_virtual_drives_moid_patch(self, moid, body, **kwargs): def storage_flex_util_virtual_drives_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilVirtualDrive + Update an instance of 'storageFlexUtilVirtualDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_flex_util_virtual_drives_moid_patch_with_http_info(self, moid, body, def storage_flex_util_virtual_drives_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilVirtualDrive + Update an instance of 'storageFlexUtilVirtualDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_flex_util_virtual_drives_moid_post(self, moid, body, **kwargs): def storage_flex_util_virtual_drives_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageFlexUtilVirtualDrive + Update an instance of 'storageFlexUtilVirtualDrive' This method makes 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/storage_physical_disk_api.py b/intersight/apis/storage_physical_disk_api.py index c29655ba..0c151e1e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_physical_disks_get(self, **kwargs): """ - List of storagePhysicalDisks + Get a list of 'storagePhysicalDisk' 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,14 @@ def storage_physical_disks_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)) :return: StoragePhysicalDiskList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_physical_disks_get(self, **kwargs): def storage_physical_disks_get_with_http_info(self, **kwargs): """ - List of storagePhysicalDisks + Get a list of 'storagePhysicalDisk' 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 +87,20 @@ def storage_physical_disks_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)) :return: StoragePhysicalDiskList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_physical_disks_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 +138,8 @@ def storage_physical_disks_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_physical_disks_get_with_http_info(self, **kwargs): def storage_physical_disks_moid_get(self, moid, **kwargs): """ - A instance of storagePhysicalDisk + Get a specific instance of 'storagePhysicalDisk' This method makes 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 +200,7 @@ def storage_physical_disks_moid_get(self, moid, **kwargs): def storage_physical_disks_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storagePhysicalDisk + Get a specific instance of 'storagePhysicalDisk' This method makes 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 +279,7 @@ def storage_physical_disks_moid_get_with_http_info(self, moid, **kwargs): def storage_physical_disks_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDisk + Update an instance of 'storagePhysicalDisk' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_physical_disks_moid_patch(self, moid, body, **kwargs): def storage_physical_disks_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDisk + Update an instance of 'storagePhysicalDisk' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_physical_disks_moid_patch_with_http_info(self, moid, body, **kwargs) def storage_physical_disks_moid_post(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDisk + Update an instance of 'storagePhysicalDisk' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_physical_disks_moid_post(self, moid, body, **kwargs): def storage_physical_disks_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDisk + Update an instance of 'storagePhysicalDisk' This method makes 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/storage_physical_disk_extension_api.py b/intersight/apis/storage_physical_disk_extension_api.py index 94895b05..06aed853 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_physical_disk_extensions_get(self, **kwargs): """ - List of storagePhysicalDiskExtensions + Get a list of 'storagePhysicalDiskExtension' 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,14 @@ def storage_physical_disk_extensions_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)) :return: StoragePhysicalDiskExtensionList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_physical_disk_extensions_get(self, **kwargs): def storage_physical_disk_extensions_get_with_http_info(self, **kwargs): """ - List of storagePhysicalDiskExtensions + Get a list of 'storagePhysicalDiskExtension' 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 +87,20 @@ def storage_physical_disk_extensions_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)) :return: StoragePhysicalDiskExtensionList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_physical_disk_extensions_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 +138,8 @@ def storage_physical_disk_extensions_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_physical_disk_extensions_get_with_http_info(self, **kwargs): def storage_physical_disk_extensions_moid_get(self, moid, **kwargs): """ - A instance of storagePhysicalDiskExtension + Get a specific instance of 'storagePhysicalDiskExtension' This method makes 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 +200,7 @@ def storage_physical_disk_extensions_moid_get(self, moid, **kwargs): def storage_physical_disk_extensions_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storagePhysicalDiskExtension + Get a specific instance of 'storagePhysicalDiskExtension' This method makes 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 +279,7 @@ def storage_physical_disk_extensions_moid_get_with_http_info(self, moid, **kwarg def storage_physical_disk_extensions_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDiskExtension + Update an instance of 'storagePhysicalDiskExtension' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_physical_disk_extensions_moid_patch(self, moid, body, **kwargs): def storage_physical_disk_extensions_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDiskExtension + Update an instance of 'storagePhysicalDiskExtension' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_physical_disk_extensions_moid_patch_with_http_info(self, moid, body, def storage_physical_disk_extensions_moid_post(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDiskExtension + Update an instance of 'storagePhysicalDiskExtension' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_physical_disk_extensions_moid_post(self, moid, body, **kwargs): def storage_physical_disk_extensions_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDiskExtension + Update an instance of 'storagePhysicalDiskExtension' This method makes 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/storage_physical_disk_usage_api.py b/intersight/apis/storage_physical_disk_usage_api.py index be7f22d6..47f25c6f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_physical_disk_usages_get(self, **kwargs): """ - List of storagePhysicalDiskUsages + Get a list of 'storagePhysicalDiskUsage' 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,14 @@ def storage_physical_disk_usages_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)) :return: StoragePhysicalDiskUsageList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_physical_disk_usages_get(self, **kwargs): def storage_physical_disk_usages_get_with_http_info(self, **kwargs): """ - List of storagePhysicalDiskUsages + Get a list of 'storagePhysicalDiskUsage' 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 +87,20 @@ def storage_physical_disk_usages_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)) :return: StoragePhysicalDiskUsageList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_physical_disk_usages_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 +138,8 @@ def storage_physical_disk_usages_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_physical_disk_usages_get_with_http_info(self, **kwargs): def storage_physical_disk_usages_moid_get(self, moid, **kwargs): """ - A instance of storagePhysicalDiskUsage + Get a specific instance of 'storagePhysicalDiskUsage' This method makes 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 +200,7 @@ def storage_physical_disk_usages_moid_get(self, moid, **kwargs): def storage_physical_disk_usages_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storagePhysicalDiskUsage + Get a specific instance of 'storagePhysicalDiskUsage' This method makes 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 +279,7 @@ def storage_physical_disk_usages_moid_get_with_http_info(self, moid, **kwargs): def storage_physical_disk_usages_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDiskUsage + Update an instance of 'storagePhysicalDiskUsage' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_physical_disk_usages_moid_patch(self, moid, body, **kwargs): def storage_physical_disk_usages_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDiskUsage + Update an instance of 'storagePhysicalDiskUsage' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_physical_disk_usages_moid_patch_with_http_info(self, moid, body, **k def storage_physical_disk_usages_moid_post(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDiskUsage + Update an instance of 'storagePhysicalDiskUsage' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_physical_disk_usages_moid_post(self, moid, body, **kwargs): def storage_physical_disk_usages_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storagePhysicalDiskUsage + Update an instance of 'storagePhysicalDiskUsage' This method makes 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/storage_sas_expander_api.py b/intersight/apis/storage_sas_expander_api.py index 8ce4741b..bde23ea4 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_sas_expanders_get(self, **kwargs): """ - List of storageSasExpanders + Get a list of 'storageSasExpander' 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,14 @@ def storage_sas_expanders_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)) :return: StorageSasExpanderList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_sas_expanders_get(self, **kwargs): def storage_sas_expanders_get_with_http_info(self, **kwargs): """ - List of storageSasExpanders + Get a list of 'storageSasExpander' 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 +87,20 @@ def storage_sas_expanders_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)) :return: StorageSasExpanderList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_sas_expanders_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 +138,8 @@ def storage_sas_expanders_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_sas_expanders_get_with_http_info(self, **kwargs): def storage_sas_expanders_moid_get(self, moid, **kwargs): """ - A instance of storageSasExpander + Get a specific instance of 'storageSasExpander' This method makes 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 +200,7 @@ def storage_sas_expanders_moid_get(self, moid, **kwargs): def storage_sas_expanders_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageSasExpander + Get a specific instance of 'storageSasExpander' This method makes 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 +279,7 @@ def storage_sas_expanders_moid_get_with_http_info(self, moid, **kwargs): def storage_sas_expanders_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageSasExpander + Update an instance of 'storageSasExpander' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_sas_expanders_moid_patch(self, moid, body, **kwargs): def storage_sas_expanders_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageSasExpander + Update an instance of 'storageSasExpander' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_sas_expanders_moid_patch_with_http_info(self, moid, body, **kwargs): def storage_sas_expanders_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageSasExpander + Update an instance of 'storageSasExpander' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_sas_expanders_moid_post(self, moid, body, **kwargs): def storage_sas_expanders_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageSasExpander + Update an instance of 'storageSasExpander' This method makes 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/storage_storage_policy_api.py b/intersight/apis/storage_storage_policy_api.py index 5467c189..2a4c0b32 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_storage_policies_get(self, **kwargs): """ - List of storageStoragePolicies + Get a list of 'storageStoragePolicy' 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,14 @@ def storage_storage_policies_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)) :return: StorageStoragePolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_storage_policies_get(self, **kwargs): def storage_storage_policies_get_with_http_info(self, **kwargs): """ - List of storageStoragePolicies + Get a list of 'storageStoragePolicy' 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 +87,20 @@ def storage_storage_policies_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)) :return: StorageStoragePolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_storage_policies_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 +138,8 @@ def storage_storage_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_storage_policies_get_with_http_info(self, **kwargs): def storage_storage_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of storageStoragePolicy + Delete an instance of 'storageStoragePolicy' This method makes 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 +200,7 @@ def storage_storage_policies_moid_delete(self, moid, **kwargs): def storage_storage_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of storageStoragePolicy + Delete an instance of 'storageStoragePolicy' This method makes 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 +279,7 @@ def storage_storage_policies_moid_delete_with_http_info(self, moid, **kwargs): def storage_storage_policies_moid_get(self, moid, **kwargs): """ - A instance of storageStoragePolicy + Get a specific instance of 'storageStoragePolicy' This method makes 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 +304,7 @@ def storage_storage_policies_moid_get(self, moid, **kwargs): def storage_storage_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageStoragePolicy + Get a specific instance of 'storageStoragePolicy' This method makes 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 +383,7 @@ def storage_storage_policies_moid_get_with_http_info(self, moid, **kwargs): def storage_storage_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageStoragePolicy + Update an instance of 'storageStoragePolicy' This method makes 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 +409,7 @@ def storage_storage_policies_moid_patch(self, moid, body, **kwargs): def storage_storage_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageStoragePolicy + Update an instance of 'storageStoragePolicy' This method makes 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 +494,7 @@ def storage_storage_policies_moid_patch_with_http_info(self, moid, body, **kwarg def storage_storage_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageStoragePolicy + Update an instance of 'storageStoragePolicy' This method makes 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 +520,7 @@ def storage_storage_policies_moid_post(self, moid, body, **kwargs): def storage_storage_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageStoragePolicy + Update an instance of 'storageStoragePolicy' This method makes 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 +605,7 @@ def storage_storage_policies_moid_post_with_http_info(self, moid, body, **kwargs def storage_storage_policies_post(self, body, **kwargs): """ - Create a storageStoragePolicy + Create an instance of 'storageStoragePolicy' This method makes 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 +630,7 @@ def storage_storage_policies_post(self, body, **kwargs): def storage_storage_policies_post_with_http_info(self, body, **kwargs): """ - Create a storageStoragePolicy + Create an instance of 'storageStoragePolicy' This method makes 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/storage_vd_member_ep_api.py b/intersight/apis/storage_vd_member_ep_api.py index 1363c3a7..e74310a9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_vd_member_eps_get(self, **kwargs): """ - List of storageVdMemberEps + Get a list of 'storageVdMemberEp' 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,14 @@ def storage_vd_member_eps_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)) :return: StorageVdMemberEpList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_vd_member_eps_get(self, **kwargs): def storage_vd_member_eps_get_with_http_info(self, **kwargs): """ - List of storageVdMemberEps + Get a list of 'storageVdMemberEp' 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 +87,20 @@ def storage_vd_member_eps_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)) :return: StorageVdMemberEpList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_vd_member_eps_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 +138,8 @@ def storage_vd_member_eps_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_vd_member_eps_get_with_http_info(self, **kwargs): def storage_vd_member_eps_moid_get(self, moid, **kwargs): """ - A instance of storageVdMemberEp + Get a specific instance of 'storageVdMemberEp' This method makes 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 +200,7 @@ def storage_vd_member_eps_moid_get(self, moid, **kwargs): def storage_vd_member_eps_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageVdMemberEp + Get a specific instance of 'storageVdMemberEp' This method makes 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 +279,7 @@ def storage_vd_member_eps_moid_get_with_http_info(self, moid, **kwargs): def storage_vd_member_eps_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageVdMemberEp + Update an instance of 'storageVdMemberEp' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_vd_member_eps_moid_patch(self, moid, body, **kwargs): def storage_vd_member_eps_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageVdMemberEp + Update an instance of 'storageVdMemberEp' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_vd_member_eps_moid_patch_with_http_info(self, moid, body, **kwargs): def storage_vd_member_eps_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageVdMemberEp + Update an instance of 'storageVdMemberEp' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_vd_member_eps_moid_post(self, moid, body, **kwargs): def storage_vd_member_eps_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageVdMemberEp + Update an instance of 'storageVdMemberEp' This method makes 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/storage_virtual_drive_api.py b/intersight/apis/storage_virtual_drive_api.py index ba1f04d1..a7603519 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def storage_virtual_drives_get(self, **kwargs): """ - List of storageVirtualDrives + Get a list of 'storageVirtualDrive' 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,14 @@ def storage_virtual_drives_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)) :return: StorageVirtualDriveList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def storage_virtual_drives_get(self, **kwargs): def storage_virtual_drives_get_with_http_info(self, **kwargs): """ - List of storageVirtualDrives + Get a list of 'storageVirtualDrive' 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 +87,20 @@ def storage_virtual_drives_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)) :return: StorageVirtualDriveList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def storage_virtual_drives_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 +138,8 @@ def storage_virtual_drives_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'])) header_params = {} @@ -175,7 +175,7 @@ def storage_virtual_drives_get_with_http_info(self, **kwargs): def storage_virtual_drives_moid_get(self, moid, **kwargs): """ - A instance of storageVirtualDrive + Get a specific instance of 'storageVirtualDrive' This method makes 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 +200,7 @@ def storage_virtual_drives_moid_get(self, moid, **kwargs): def storage_virtual_drives_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of storageVirtualDrive + Get a specific instance of 'storageVirtualDrive' This method makes 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 +279,7 @@ def storage_virtual_drives_moid_get_with_http_info(self, moid, **kwargs): def storage_virtual_drives_moid_patch(self, moid, body, **kwargs): """ - Update an instance of storageVirtualDrive + Update an instance of 'storageVirtualDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def storage_virtual_drives_moid_patch(self, moid, body, **kwargs): def storage_virtual_drives_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageVirtualDrive + Update an instance of 'storageVirtualDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def storage_virtual_drives_moid_patch_with_http_info(self, moid, body, **kwargs) def storage_virtual_drives_moid_post(self, moid, body, **kwargs): """ - Update an instance of storageVirtualDrive + Update an instance of 'storageVirtualDrive' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def storage_virtual_drives_moid_post(self, moid, body, **kwargs): def storage_virtual_drives_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of storageVirtualDrive + Update an instance of 'storageVirtualDrive' This method makes 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/syslog_policy_api.py b/intersight/apis/syslog_policy_api.py new file mode 100644 index 00000000..3ab8c2f8 --- /dev/null +++ b/intersight/apis/syslog_policy_api.py @@ -0,0 +1,708 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 SyslogPolicyApi(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 syslog_policies_get(self, **kwargs): + """ + Get a list of 'syslogPolicy' 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.syslog_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)) + :return: SyslogPolicyList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.syslog_policies_get_with_http_info(**kwargs) + else: + (data) = self.syslog_policies_get_with_http_info(**kwargs) + return data + + def syslog_policies_get_with_http_info(self, **kwargs): + """ + Get a list of 'syslogPolicy' 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.syslog_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)) + :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.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 syslog_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'])) + + 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('/syslog/Policies', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='SyslogPolicyList', + 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 syslog_policies_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_policies_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the syslogPolicy 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.syslog_policies_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.syslog_policies_moid_delete_with_http_info(moid, **kwargs) + return data + + def syslog_policies_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_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 syslogPolicy 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 syslog_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 `syslog_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('/syslog/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 syslog_policies_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_policies_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the syslogPolicy instance. (required) + :return: SyslogPolicy + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.syslog_policies_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.syslog_policies_moid_get_with_http_info(moid, **kwargs) + return data + + def syslog_policies_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_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 syslogPolicy instance. (required) + :return: SyslogPolicy + 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 syslog_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 `syslog_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('/syslog/Policies/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='SyslogPolicy', + 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 syslog_policies_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_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 syslogPolicy instance. (required) + :param SyslogPolicy body: syslogPolicy 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.syslog_policies_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.syslog_policies_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def syslog_policies_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_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 syslogPolicy instance. (required) + :param SyslogPolicy body: syslogPolicy 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 syslog_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 `syslog_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 `syslog_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('/syslog/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 syslog_policies_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_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 syslogPolicy instance. (required) + :param SyslogPolicy body: syslogPolicy 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.syslog_policies_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.syslog_policies_moid_post_with_http_info(moid, body, **kwargs) + return data + + def syslog_policies_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_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 syslogPolicy instance. (required) + :param SyslogPolicy body: syslogPolicy 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 syslog_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 `syslog_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 `syslog_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('/syslog/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 syslog_policies_post(self, body, **kwargs): + """ + Create an instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_policies_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param SyslogPolicy body: syslogPolicy 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.syslog_policies_post_with_http_info(body, **kwargs) + else: + (data) = self.syslog_policies_post_with_http_info(body, **kwargs) + return data + + def syslog_policies_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'syslogPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.syslog_policies_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param SyslogPolicy body: syslogPolicy 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 syslog_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 `syslog_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('/syslog/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/task_workflow_action_api.py b/intersight/apis/task_workflow_action_api.py index 0e3fbfc7..19ed2b40 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def task_workflow_actions_get(self, **kwargs): """ - List of taskWorkflowActions + Get a list of 'taskWorkflowAction' 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,14 @@ def task_workflow_actions_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)) :return: TaskWorkflowActionList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def task_workflow_actions_get(self, **kwargs): def task_workflow_actions_get_with_http_info(self, **kwargs): """ - List of taskWorkflowActions + Get a list of 'taskWorkflowAction' 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 +87,20 @@ def task_workflow_actions_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)) :return: TaskWorkflowActionList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def task_workflow_actions_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 +138,8 @@ def task_workflow_actions_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'])) header_params = {} @@ -175,7 +175,7 @@ def task_workflow_actions_get_with_http_info(self, **kwargs): def task_workflow_actions_moid_get(self, moid, **kwargs): """ - A instance of taskWorkflowAction + Get a specific instance of 'taskWorkflowAction' This method makes 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 +200,7 @@ def task_workflow_actions_moid_get(self, moid, **kwargs): def task_workflow_actions_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of taskWorkflowAction + Get a specific instance of 'taskWorkflowAction' This method makes 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 +279,7 @@ def task_workflow_actions_moid_get_with_http_info(self, moid, **kwargs): def task_workflow_actions_moid_patch(self, moid, body, **kwargs): """ - Update an instance of taskWorkflowAction + Update an instance of 'taskWorkflowAction' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def task_workflow_actions_moid_patch(self, moid, body, **kwargs): def task_workflow_actions_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of taskWorkflowAction + Update an instance of 'taskWorkflowAction' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def task_workflow_actions_moid_patch_with_http_info(self, moid, body, **kwargs): def task_workflow_actions_moid_post(self, moid, body, **kwargs): """ - Update an instance of taskWorkflowAction + Update an instance of 'taskWorkflowAction' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def task_workflow_actions_moid_post(self, moid, body, **kwargs): def task_workflow_actions_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of taskWorkflowAction + Update an instance of 'taskWorkflowAction' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -501,7 +501,7 @@ def task_workflow_actions_moid_post_with_http_info(self, moid, body, **kwargs): def task_workflow_actions_post(self, body, **kwargs): """ - Create a taskWorkflowAction + Create an instance of 'taskWorkflowAction' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -526,7 +526,7 @@ def task_workflow_actions_post(self, body, **kwargs): def task_workflow_actions_post_with_http_info(self, body, **kwargs): """ - Create a taskWorkflowAction + Create an instance of 'taskWorkflowAction' This method makes 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/terminal_audit_log_api.py b/intersight/apis/terminal_audit_log_api.py index e04d9b56..78595d6e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def terminal_audit_logs_get(self, **kwargs): """ - List of terminalAuditLogs + Get a list of 'terminalAuditLog' 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,14 @@ def terminal_audit_logs_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)) :return: TerminalAuditLogList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def terminal_audit_logs_get(self, **kwargs): def terminal_audit_logs_get_with_http_info(self, **kwargs): """ - List of terminalAuditLogs + Get a list of 'terminalAuditLog' 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 +87,20 @@ def terminal_audit_logs_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)) :return: TerminalAuditLogList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def terminal_audit_logs_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 +138,8 @@ def terminal_audit_logs_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'])) header_params = {} @@ -175,7 +175,7 @@ def terminal_audit_logs_get_with_http_info(self, **kwargs): def terminal_audit_logs_moid_get(self, moid, **kwargs): """ - A instance of terminalAuditLog + Get a specific instance of 'terminalAuditLog' This method makes 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 +200,7 @@ def terminal_audit_logs_moid_get(self, moid, **kwargs): def terminal_audit_logs_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of terminalAuditLog + Get a specific instance of 'terminalAuditLog' This method makes 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/testcrypt_administrator_api.py b/intersight/apis/testcrypt_administrator_api.py new file mode 100644 index 00000000..d38f2dff --- /dev/null +++ b/intersight/apis/testcrypt_administrator_api.py @@ -0,0 +1,600 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 TestcryptAdministratorApi(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 testcrypt_administrators_get(self, **kwargs): + """ + Get a list of 'testcryptAdministrator' 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.testcrypt_administrators_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 + :return: TestcryptAdministratorList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.testcrypt_administrators_get_with_http_info(**kwargs) + else: + (data) = self.testcrypt_administrators_get_with_http_info(**kwargs) + return data + + def testcrypt_administrators_get_with_http_info(self, **kwargs): + """ + Get a list of 'testcryptAdministrator' 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.testcrypt_administrators_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 + :return: TestcryptAdministratorList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand'] + 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 testcrypt_administrators_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'])) + + 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('/testcrypt/Administrators', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TestcryptAdministratorList', + 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 testcrypt_administrators_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'testcryptAdministrator' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_administrators_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptAdministrator instance. (required) + :return: TestcryptAdministrator + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.testcrypt_administrators_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.testcrypt_administrators_moid_get_with_http_info(moid, **kwargs) + return data + + def testcrypt_administrators_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'testcryptAdministrator' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_administrators_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 testcryptAdministrator instance. (required) + :return: TestcryptAdministrator + 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 testcrypt_administrators_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 `testcrypt_administrators_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('/testcrypt/Administrators/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TestcryptAdministrator', + 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 testcrypt_administrators_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptAdministrator' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_administrators_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptAdministrator instance. (required) + :param TestcryptAdministrator body: testcryptAdministrator 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.testcrypt_administrators_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.testcrypt_administrators_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def testcrypt_administrators_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptAdministrator' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_administrators_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 testcryptAdministrator instance. (required) + :param TestcryptAdministrator body: testcryptAdministrator 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 testcrypt_administrators_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 `testcrypt_administrators_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 `testcrypt_administrators_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('/testcrypt/Administrators/{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 testcrypt_administrators_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptAdministrator' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_administrators_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptAdministrator instance. (required) + :param TestcryptAdministrator body: testcryptAdministrator 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.testcrypt_administrators_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.testcrypt_administrators_moid_post_with_http_info(moid, body, **kwargs) + return data + + def testcrypt_administrators_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptAdministrator' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_administrators_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 testcryptAdministrator instance. (required) + :param TestcryptAdministrator body: testcryptAdministrator 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 testcrypt_administrators_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 `testcrypt_administrators_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 `testcrypt_administrators_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('/testcrypt/Administrators/{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 testcrypt_administrators_post(self, body, **kwargs): + """ + Create an instance of 'testcryptAdministrator' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_administrators_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param TestcryptAdministrator body: testcryptAdministrator 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.testcrypt_administrators_post_with_http_info(body, **kwargs) + else: + (data) = self.testcrypt_administrators_post_with_http_info(body, **kwargs) + return data + + def testcrypt_administrators_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'testcryptAdministrator' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_administrators_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param TestcryptAdministrator body: testcryptAdministrator 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 testcrypt_administrators_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 `testcrypt_administrators_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('/testcrypt/Administrators', '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/testcrypt_credential_api.py b/intersight/apis/testcrypt_credential_api.py new file mode 100644 index 00000000..e73d8baf --- /dev/null +++ b/intersight/apis/testcrypt_credential_api.py @@ -0,0 +1,704 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 TestcryptCredentialApi(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 testcrypt_credentials_get(self, **kwargs): + """ + Get a list of 'testcryptCredential' 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.testcrypt_credentials_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 + :return: TestcryptCredentialList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.testcrypt_credentials_get_with_http_info(**kwargs) + else: + (data) = self.testcrypt_credentials_get_with_http_info(**kwargs) + return data + + def testcrypt_credentials_get_with_http_info(self, **kwargs): + """ + Get a list of 'testcryptCredential' 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.testcrypt_credentials_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 + :return: TestcryptCredentialList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand'] + 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 testcrypt_credentials_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'])) + + 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('/testcrypt/Credentials', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TestcryptCredentialList', + 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 testcrypt_credentials_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptCredential 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.testcrypt_credentials_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.testcrypt_credentials_moid_delete_with_http_info(moid, **kwargs) + return data + + def testcrypt_credentials_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_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 testcryptCredential 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 testcrypt_credentials_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 `testcrypt_credentials_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('/testcrypt/Credentials/{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 testcrypt_credentials_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptCredential instance. (required) + :return: TestcryptCredential + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.testcrypt_credentials_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.testcrypt_credentials_moid_get_with_http_info(moid, **kwargs) + return data + + def testcrypt_credentials_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_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 testcryptCredential instance. (required) + :return: TestcryptCredential + 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 testcrypt_credentials_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 `testcrypt_credentials_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('/testcrypt/Credentials/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TestcryptCredential', + 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 testcrypt_credentials_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptCredential instance. (required) + :param TestcryptCredential body: testcryptCredential 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.testcrypt_credentials_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.testcrypt_credentials_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def testcrypt_credentials_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_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 testcryptCredential instance. (required) + :param TestcryptCredential body: testcryptCredential 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 testcrypt_credentials_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 `testcrypt_credentials_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 `testcrypt_credentials_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('/testcrypt/Credentials/{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 testcrypt_credentials_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptCredential instance. (required) + :param TestcryptCredential body: testcryptCredential 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.testcrypt_credentials_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.testcrypt_credentials_moid_post_with_http_info(moid, body, **kwargs) + return data + + def testcrypt_credentials_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_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 testcryptCredential instance. (required) + :param TestcryptCredential body: testcryptCredential 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 testcrypt_credentials_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 `testcrypt_credentials_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 `testcrypt_credentials_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('/testcrypt/Credentials/{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 testcrypt_credentials_post(self, body, **kwargs): + """ + Create an instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param TestcryptCredential body: testcryptCredential 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.testcrypt_credentials_post_with_http_info(body, **kwargs) + else: + (data) = self.testcrypt_credentials_post_with_http_info(body, **kwargs) + return data + + def testcrypt_credentials_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'testcryptCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_credentials_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param TestcryptCredential body: testcryptCredential 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 testcrypt_credentials_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 `testcrypt_credentials_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('/testcrypt/Credentials', '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/testcrypt_read_only_user_api.py b/intersight/apis/testcrypt_read_only_user_api.py new file mode 100644 index 00000000..057ab064 --- /dev/null +++ b/intersight/apis/testcrypt_read_only_user_api.py @@ -0,0 +1,704 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 TestcryptReadOnlyUserApi(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 testcrypt_read_only_users_get(self, **kwargs): + """ + Get a list of 'testcryptReadOnlyUser' 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.testcrypt_read_only_users_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 + :return: TestcryptReadOnlyUserList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.testcrypt_read_only_users_get_with_http_info(**kwargs) + else: + (data) = self.testcrypt_read_only_users_get_with_http_info(**kwargs) + return data + + def testcrypt_read_only_users_get_with_http_info(self, **kwargs): + """ + Get a list of 'testcryptReadOnlyUser' 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.testcrypt_read_only_users_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 + :return: TestcryptReadOnlyUserList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand'] + 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 testcrypt_read_only_users_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'])) + + 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('/testcrypt/ReadOnlyUsers', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TestcryptReadOnlyUserList', + 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 testcrypt_read_only_users_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptReadOnlyUser 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.testcrypt_read_only_users_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.testcrypt_read_only_users_moid_delete_with_http_info(moid, **kwargs) + return data + + def testcrypt_read_only_users_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_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 testcryptReadOnlyUser 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 testcrypt_read_only_users_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 `testcrypt_read_only_users_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('/testcrypt/ReadOnlyUsers/{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 testcrypt_read_only_users_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptReadOnlyUser instance. (required) + :return: TestcryptReadOnlyUser + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.testcrypt_read_only_users_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.testcrypt_read_only_users_moid_get_with_http_info(moid, **kwargs) + return data + + def testcrypt_read_only_users_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_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 testcryptReadOnlyUser instance. (required) + :return: TestcryptReadOnlyUser + 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 testcrypt_read_only_users_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 `testcrypt_read_only_users_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('/testcrypt/ReadOnlyUsers/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TestcryptReadOnlyUser', + 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 testcrypt_read_only_users_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptReadOnlyUser instance. (required) + :param TestcryptReadOnlyUser body: testcryptReadOnlyUser 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.testcrypt_read_only_users_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.testcrypt_read_only_users_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def testcrypt_read_only_users_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_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 testcryptReadOnlyUser instance. (required) + :param TestcryptReadOnlyUser body: testcryptReadOnlyUser 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 testcrypt_read_only_users_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 `testcrypt_read_only_users_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 `testcrypt_read_only_users_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('/testcrypt/ReadOnlyUsers/{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 testcrypt_read_only_users_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptReadOnlyUser instance. (required) + :param TestcryptReadOnlyUser body: testcryptReadOnlyUser 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.testcrypt_read_only_users_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.testcrypt_read_only_users_moid_post_with_http_info(moid, body, **kwargs) + return data + + def testcrypt_read_only_users_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_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 testcryptReadOnlyUser instance. (required) + :param TestcryptReadOnlyUser body: testcryptReadOnlyUser 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 testcrypt_read_only_users_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 `testcrypt_read_only_users_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 `testcrypt_read_only_users_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('/testcrypt/ReadOnlyUsers/{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 testcrypt_read_only_users_post(self, body, **kwargs): + """ + Create an instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param TestcryptReadOnlyUser body: testcryptReadOnlyUser 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.testcrypt_read_only_users_post_with_http_info(body, **kwargs) + else: + (data) = self.testcrypt_read_only_users_post_with_http_info(body, **kwargs) + return data + + def testcrypt_read_only_users_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'testcryptReadOnlyUser' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_read_only_users_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param TestcryptReadOnlyUser body: testcryptReadOnlyUser 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 testcrypt_read_only_users_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 `testcrypt_read_only_users_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('/testcrypt/ReadOnlyUsers', '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/testcrypt_shadow_credential_api.py b/intersight/apis/testcrypt_shadow_credential_api.py new file mode 100644 index 00000000..417a1f10 --- /dev/null +++ b/intersight/apis/testcrypt_shadow_credential_api.py @@ -0,0 +1,274 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 TestcryptShadowCredentialApi(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 testcrypt_shadow_credentials_get(self, **kwargs): + """ + Get a list of 'testcryptShadowCredential' 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.testcrypt_shadow_credentials_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 + :return: TestcryptShadowCredentialList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.testcrypt_shadow_credentials_get_with_http_info(**kwargs) + else: + (data) = self.testcrypt_shadow_credentials_get_with_http_info(**kwargs) + return data + + def testcrypt_shadow_credentials_get_with_http_info(self, **kwargs): + """ + Get a list of 'testcryptShadowCredential' 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.testcrypt_shadow_credentials_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 + :return: TestcryptShadowCredentialList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand'] + 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 testcrypt_shadow_credentials_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'])) + + 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('/testcrypt/ShadowCredentials', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TestcryptShadowCredentialList', + 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 testcrypt_shadow_credentials_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'testcryptShadowCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_shadow_credentials_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the testcryptShadowCredential instance. (required) + :return: TestcryptShadowCredential + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.testcrypt_shadow_credentials_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.testcrypt_shadow_credentials_moid_get_with_http_info(moid, **kwargs) + return data + + def testcrypt_shadow_credentials_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'testcryptShadowCredential' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.testcrypt_shadow_credentials_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 testcryptShadowCredential instance. (required) + :return: TestcryptShadowCredential + 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 testcrypt_shadow_credentials_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 `testcrypt_shadow_credentials_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('/testcrypt/ShadowCredentials/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TestcryptShadowCredential', + 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/top_system_api.py b/intersight/apis/top_system_api.py index 4f1877e1..efbd3e4c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def top_systems_get(self, **kwargs): """ - List of topSystems + Get a list of 'topSystem' 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,14 @@ def top_systems_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)) :return: TopSystemList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def top_systems_get(self, **kwargs): def top_systems_get_with_http_info(self, **kwargs): """ - List of topSystems + Get a list of 'topSystem' 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 +87,20 @@ def top_systems_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)) :return: TopSystemList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def top_systems_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 +138,8 @@ def top_systems_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'])) header_params = {} @@ -175,7 +175,7 @@ def top_systems_get_with_http_info(self, **kwargs): def top_systems_moid_get(self, moid, **kwargs): """ - A instance of topSystem + Get a specific instance of 'topSystem' This method makes 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 +200,7 @@ def top_systems_moid_get(self, moid, **kwargs): def top_systems_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of topSystem + Get a specific instance of 'topSystem' This method makes 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 +279,7 @@ def top_systems_moid_get_with_http_info(self, moid, **kwargs): def top_systems_moid_patch(self, moid, body, **kwargs): """ - Update an instance of topSystem + Update an instance of 'topSystem' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +305,7 @@ def top_systems_moid_patch(self, moid, body, **kwargs): def top_systems_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of topSystem + Update an instance of 'topSystem' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -390,7 +390,7 @@ def top_systems_moid_patch_with_http_info(self, moid, body, **kwargs): def top_systems_moid_post(self, moid, body, **kwargs): """ - Update an instance of topSystem + Update an instance of 'topSystem' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -416,7 +416,7 @@ def top_systems_moid_post(self, moid, body, **kwargs): def top_systems_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of topSystem + Update an instance of 'topSystem' This method makes 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/vmedia_policy_api.py b/intersight/apis/vmedia_policy_api.py index d062ee73..2b3821de 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def vmedia_policies_get(self, **kwargs): """ - List of vmediaPolicies + Get a list of 'vmediaPolicy' 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,14 @@ def vmedia_policies_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)) :return: VmediaPolicyList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def vmedia_policies_get(self, **kwargs): def vmedia_policies_get_with_http_info(self, **kwargs): """ - List of vmediaPolicies + Get a list of 'vmediaPolicy' 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 +87,20 @@ def vmedia_policies_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)) :return: VmediaPolicyList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def vmedia_policies_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 +138,8 @@ def vmedia_policies_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'])) header_params = {} @@ -175,7 +175,7 @@ def vmedia_policies_get_with_http_info(self, **kwargs): def vmedia_policies_moid_delete(self, moid, **kwargs): """ - Delete an instance of vmediaPolicy + Delete an instance of 'vmediaPolicy' This method makes 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 +200,7 @@ def vmedia_policies_moid_delete(self, moid, **kwargs): def vmedia_policies_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of vmediaPolicy + Delete an instance of 'vmediaPolicy' This method makes 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 +279,7 @@ def vmedia_policies_moid_delete_with_http_info(self, moid, **kwargs): def vmedia_policies_moid_get(self, moid, **kwargs): """ - A instance of vmediaPolicy + Get a specific instance of 'vmediaPolicy' This method makes 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 +304,7 @@ def vmedia_policies_moid_get(self, moid, **kwargs): def vmedia_policies_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of vmediaPolicy + Get a specific instance of 'vmediaPolicy' This method makes 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 +383,7 @@ def vmedia_policies_moid_get_with_http_info(self, moid, **kwargs): def vmedia_policies_moid_patch(self, moid, body, **kwargs): """ - Update an instance of vmediaPolicy + Update an instance of 'vmediaPolicy' This method makes 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 +409,7 @@ def vmedia_policies_moid_patch(self, moid, body, **kwargs): def vmedia_policies_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of vmediaPolicy + Update an instance of 'vmediaPolicy' This method makes 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 +494,7 @@ def vmedia_policies_moid_patch_with_http_info(self, moid, body, **kwargs): def vmedia_policies_moid_post(self, moid, body, **kwargs): """ - Update an instance of vmediaPolicy + Update an instance of 'vmediaPolicy' This method makes 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 +520,7 @@ def vmedia_policies_moid_post(self, moid, body, **kwargs): def vmedia_policies_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of vmediaPolicy + Update an instance of 'vmediaPolicy' This method makes 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 +605,7 @@ def vmedia_policies_moid_post_with_http_info(self, moid, body, **kwargs): def vmedia_policies_post(self, body, **kwargs): """ - Create a vmediaPolicy + Create an instance of 'vmediaPolicy' This method makes 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 +630,7 @@ def vmedia_policies_post(self, body, **kwargs): def vmedia_policies_post_with_http_info(self, body, **kwargs): """ - Create a vmediaPolicy + Create an instance of 'vmediaPolicy' This method makes 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/workflow_build_task_meta_api.py b/intersight/apis/workflow_build_task_meta_api.py index 7e0b7ce2..5c600ab7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def workflow_build_task_meta_get(self, **kwargs): """ - List of workflowBuildTaskMeta + Get a list of 'workflowBuildTaskMeta' 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,14 @@ def workflow_build_task_meta_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)) :return: WorkflowBuildTaskMetaList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def workflow_build_task_meta_get(self, **kwargs): def workflow_build_task_meta_get_with_http_info(self, **kwargs): """ - List of workflowBuildTaskMeta + Get a list of 'workflowBuildTaskMeta' 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 +87,20 @@ def workflow_build_task_meta_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)) :return: WorkflowBuildTaskMetaList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def workflow_build_task_meta_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 +138,8 @@ def workflow_build_task_meta_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'])) header_params = {} @@ -175,7 +175,7 @@ def workflow_build_task_meta_get_with_http_info(self, **kwargs): def workflow_build_task_meta_moid_get(self, moid, **kwargs): """ - A instance of workflowBuildTaskMeta + Get a specific instance of 'workflowBuildTaskMeta' This method makes 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 +200,7 @@ def workflow_build_task_meta_moid_get(self, moid, **kwargs): def workflow_build_task_meta_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of workflowBuildTaskMeta + Get a specific instance of 'workflowBuildTaskMeta' This method makes 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/workflow_build_task_meta_owner_api.py b/intersight/apis/workflow_build_task_meta_owner_api.py new file mode 100644 index 00000000..e5643ac5 --- /dev/null +++ b/intersight/apis/workflow_build_task_meta_owner_api.py @@ -0,0 +1,278 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 WorkflowBuildTaskMetaOwnerApi(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 workflow_build_task_meta_owners_get(self, **kwargs): + """ + Get a list of 'workflowBuildTaskMetaOwner' 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.workflow_build_task_meta_owners_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)) + :return: WorkflowBuildTaskMetaOwnerList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.workflow_build_task_meta_owners_get_with_http_info(**kwargs) + else: + (data) = self.workflow_build_task_meta_owners_get_with_http_info(**kwargs) + return data + + def workflow_build_task_meta_owners_get_with_http_info(self, **kwargs): + """ + Get a list of 'workflowBuildTaskMetaOwner' 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.workflow_build_task_meta_owners_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)) + :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.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_build_task_meta_owners_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'])) + + 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/BuildTaskMetaOwners', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='WorkflowBuildTaskMetaOwnerList', + 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_build_task_meta_owners_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'workflowBuildTaskMetaOwner' + This method makes a synchronous HTTP request by default. To make 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_build_task_meta_owners_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the workflowBuildTaskMetaOwner instance. (required) + :return: WorkflowBuildTaskMetaOwner + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.workflow_build_task_meta_owners_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.workflow_build_task_meta_owners_moid_get_with_http_info(moid, **kwargs) + return data + + def workflow_build_task_meta_owners_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'workflowBuildTaskMetaOwner' + This method makes a synchronous HTTP request by default. To make 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_build_task_meta_owners_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 workflowBuildTaskMetaOwner instance. (required) + :return: WorkflowBuildTaskMetaOwner + 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_build_task_meta_owners_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 `workflow_build_task_meta_owners_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('/workflow/BuildTaskMetaOwners/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='WorkflowBuildTaskMetaOwner', + 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/workflow_pending_dynamic_workflow_info_api.py b/intersight/apis/workflow_pending_dynamic_workflow_info_api.py new file mode 100644 index 00000000..a716c657 --- /dev/null +++ b/intersight/apis/workflow_pending_dynamic_workflow_info_api.py @@ -0,0 +1,278 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + 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 WorkflowPendingDynamicWorkflowInfoApi(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 workflow_pending_dynamic_workflow_infos_get(self, **kwargs): + """ + Get a list of 'workflowPendingDynamicWorkflowInfo' 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.workflow_pending_dynamic_workflow_infos_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)) + :return: WorkflowPendingDynamicWorkflowInfoList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.workflow_pending_dynamic_workflow_infos_get_with_http_info(**kwargs) + else: + (data) = self.workflow_pending_dynamic_workflow_infos_get_with_http_info(**kwargs) + return data + + def workflow_pending_dynamic_workflow_infos_get_with_http_info(self, **kwargs): + """ + Get a list of 'workflowPendingDynamicWorkflowInfo' 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.workflow_pending_dynamic_workflow_infos_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)) + :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.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_pending_dynamic_workflow_infos_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'])) + + 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/PendingDynamicWorkflowInfos', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='WorkflowPendingDynamicWorkflowInfoList', + 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_pending_dynamic_workflow_infos_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'workflowPendingDynamicWorkflowInfo' + This method makes a synchronous HTTP request by default. To make 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_pending_dynamic_workflow_infos_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the workflowPendingDynamicWorkflowInfo instance. (required) + :return: WorkflowPendingDynamicWorkflowInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.workflow_pending_dynamic_workflow_infos_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.workflow_pending_dynamic_workflow_infos_moid_get_with_http_info(moid, **kwargs) + return data + + def workflow_pending_dynamic_workflow_infos_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'workflowPendingDynamicWorkflowInfo' + This method makes a synchronous HTTP request by default. To make 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_pending_dynamic_workflow_infos_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 workflowPendingDynamicWorkflowInfo instance. (required) + :return: WorkflowPendingDynamicWorkflowInfo + 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_pending_dynamic_workflow_infos_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 `workflow_pending_dynamic_workflow_infos_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('/workflow/PendingDynamicWorkflowInfos/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='WorkflowPendingDynamicWorkflowInfo', + 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/workflow_task_info_api.py b/intersight/apis/workflow_task_info_api.py index 42027a6c..369a4dbd 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def workflow_task_infos_get(self, **kwargs): """ - List of workflowTaskInfos + Get a list of 'workflowTaskInfo' 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,14 @@ def workflow_task_infos_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)) :return: WorkflowTaskInfoList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def workflow_task_infos_get(self, **kwargs): def workflow_task_infos_get_with_http_info(self, **kwargs): """ - List of workflowTaskInfos + Get a list of 'workflowTaskInfo' 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 +87,20 @@ def workflow_task_infos_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)) :return: WorkflowTaskInfoList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def workflow_task_infos_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 +138,8 @@ def workflow_task_infos_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'])) header_params = {} @@ -175,7 +175,7 @@ def workflow_task_infos_get_with_http_info(self, **kwargs): def workflow_task_infos_moid_get(self, moid, **kwargs): """ - A instance of workflowTaskInfo + Get a specific instance of 'workflowTaskInfo' This method makes 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 +200,7 @@ def workflow_task_infos_moid_get(self, moid, **kwargs): def workflow_task_infos_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of workflowTaskInfo + Get a specific instance of 'workflowTaskInfo' This method makes 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/workflow_task_meta_api.py b/intersight/apis/workflow_task_meta_api.py index 697b7011..d0c816d6 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def workflow_task_meta_get(self, **kwargs): """ - List of workflowTaskMeta + Get a list of 'workflowTaskMeta' 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,14 @@ def workflow_task_meta_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)) :return: WorkflowTaskMetaList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def workflow_task_meta_get(self, **kwargs): def workflow_task_meta_get_with_http_info(self, **kwargs): """ - List of workflowTaskMeta + Get a list of 'workflowTaskMeta' 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 +87,20 @@ def workflow_task_meta_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)) :return: WorkflowTaskMetaList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def workflow_task_meta_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 +138,8 @@ def workflow_task_meta_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'])) header_params = {} @@ -175,7 +175,7 @@ def workflow_task_meta_get_with_http_info(self, **kwargs): def workflow_task_meta_moid_get(self, moid, **kwargs): """ - A instance of workflowTaskMeta + Get a specific instance of 'workflowTaskMeta' This method makes 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 +200,7 @@ def workflow_task_meta_moid_get(self, moid, **kwargs): def workflow_task_meta_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of workflowTaskMeta + Get a specific instance of 'workflowTaskMeta' This method makes 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/workflow_workflow_info_api.py b/intersight/apis/workflow_workflow_info_api.py index cfff9884..d4946c3f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def workflow_workflow_infos_get(self, **kwargs): """ - List of workflowWorkflowInfos + Get a list of 'workflowWorkflowInfo' 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,14 @@ def workflow_workflow_infos_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)) :return: WorkflowWorkflowInfoList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def workflow_workflow_infos_get(self, **kwargs): def workflow_workflow_infos_get_with_http_info(self, **kwargs): """ - List of workflowWorkflowInfos + Get a list of 'workflowWorkflowInfo' 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 +87,20 @@ def workflow_workflow_infos_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)) :return: WorkflowWorkflowInfoList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def workflow_workflow_infos_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 +138,8 @@ def workflow_workflow_infos_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'])) header_params = {} @@ -175,7 +175,7 @@ def workflow_workflow_infos_get_with_http_info(self, **kwargs): def workflow_workflow_infos_moid_get(self, moid, **kwargs): """ - A instance of workflowWorkflowInfo + Get a specific 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. @@ -200,7 +200,7 @@ def workflow_workflow_infos_moid_get(self, moid, **kwargs): def workflow_workflow_infos_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of workflowWorkflowInfo + Get a specific 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. @@ -276,3 +276,329 @@ def workflow_workflow_infos_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 workflow_workflow_infos_moid_patch(self, moid, body, **kwargs): + """ + Update 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_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the workflowWorkflowInfo instance. (required) + :param WorkflowWorkflowInfo body: workflowWorkflowInfo 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.workflow_workflow_infos_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.workflow_workflow_infos_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def workflow_workflow_infos_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update 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_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 workflowWorkflowInfo instance. (required) + :param WorkflowWorkflowInfo body: workflowWorkflowInfo 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 workflow_workflow_infos_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 `workflow_workflow_infos_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 `workflow_workflow_infos_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('/workflow/WorkflowInfos/{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 workflow_workflow_infos_moid_post(self, moid, body, **kwargs): + """ + Update 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_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the workflowWorkflowInfo instance. (required) + :param WorkflowWorkflowInfo body: workflowWorkflowInfo 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.workflow_workflow_infos_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.workflow_workflow_infos_moid_post_with_http_info(moid, body, **kwargs) + return data + + def workflow_workflow_infos_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update 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_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 workflowWorkflowInfo instance. (required) + :param WorkflowWorkflowInfo body: workflowWorkflowInfo 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 workflow_workflow_infos_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 `workflow_workflow_infos_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 `workflow_workflow_infos_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('/workflow/WorkflowInfos/{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 workflow_workflow_infos_post(self, body, **kwargs): + """ + Create 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_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param WorkflowWorkflowInfo body: workflowWorkflowInfo 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.workflow_workflow_infos_post_with_http_info(body, **kwargs) + else: + (data) = self.workflow_workflow_infos_post_with_http_info(body, **kwargs) + return data + + def workflow_workflow_infos_post_with_http_info(self, body, **kwargs): + """ + Create 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_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param WorkflowWorkflowInfo body: workflowWorkflowInfo 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 workflow_workflow_infos_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 `workflow_workflow_infos_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('/workflow/WorkflowInfos', '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/workflow_workflow_meta_api.py b/intersight/apis/workflow_workflow_meta_api.py index 8b2bc106..8125694f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def workflow_workflow_meta_get(self, **kwargs): """ - List of workflowWorkflowMeta + Get a list of 'workflowWorkflowMeta' 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,14 @@ def workflow_workflow_meta_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)) :return: WorkflowWorkflowMetaList If the method is called asynchronously, returns the request thread. @@ -75,7 +75,7 @@ def workflow_workflow_meta_get(self, **kwargs): def workflow_workflow_meta_get_with_http_info(self, **kwargs): """ - List of workflowWorkflowMeta + Get a list of 'workflowWorkflowMeta' 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 +87,20 @@ def workflow_workflow_meta_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)) :return: WorkflowWorkflowMetaList 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +126,6 @@ def workflow_workflow_meta_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 +138,8 @@ def workflow_workflow_meta_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'])) header_params = {} @@ -175,7 +175,7 @@ def workflow_workflow_meta_get_with_http_info(self, **kwargs): def workflow_workflow_meta_moid_get(self, moid, **kwargs): """ - A instance of workflowWorkflowMeta + Get a specific instance of 'workflowWorkflowMeta' This method makes 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 +200,7 @@ def workflow_workflow_meta_moid_get(self, moid, **kwargs): def workflow_workflow_meta_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of workflowWorkflowMeta + Get a specific instance of 'workflowWorkflowMeta' This method makes 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/configuration.py b/intersight/configuration.py index 95f3c121..addad3a7 100644 --- a/intersight/configuration.py +++ b/intersight/configuration.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 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.5-612\n"\ + "Version of the API: 1.0.7-681\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 9658a23e..cf9fbc45 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -20,11 +20,15 @@ from .adapter_host_fc_interface_list import AdapterHostFcInterfaceList from .adapter_host_iscsi_interface_list import AdapterHostIscsiInterfaceList from .adapter_unit_list import AdapterUnitList +from .asset_cluster_member_list import AssetClusterMemberList +from .asset_device_configuration_list import AssetDeviceConfigurationList from .asset_device_registration_list import AssetDeviceRegistrationList from .bios_policy_list import BiosPolicyList from .bios_unit_list import BiosUnitList from .boot_device_base import BootDeviceBase from .boot_precision_policy_list import BootPrecisionPolicyList +from .comm_ip_v4_interface import CommIpV4Interface +from .comm_ip_v6_interface import CommIpV6Interface from .compute_blade_list import ComputeBladeList from .compute_board_list import ComputeBoardList from .compute_ip_address import ComputeIpAddress @@ -37,8 +41,11 @@ from .cond_hcl_status_job_list import CondHclStatusJobList from .cond_hcl_status_list import CondHclStatusList from .connector_auth_message import ConnectorAuthMessage +from .connector_stream_message import ConnectorStreamMessage +from .connectorpack_connector_pack_summary import ConnectorpackConnectorPackSummary from .crypt_encryption_token_list import CryptEncryptionTokenList from .deviceinfo_serial_number_info_list import DeviceinfoSerialNumberInfoList +from .devops_abstract_trigger_details import DevopsAbstractTriggerDetails from .equipment_chassis_list import EquipmentChassisList from .equipment_device_summary_list import EquipmentDeviceSummaryList from .equipment_fan_list import EquipmentFanList @@ -67,12 +74,16 @@ from .firmware_upgrade_status_list import FirmwareUpgradeStatusList from .graphics_card_list import GraphicsCardList from .graphics_controller_list import GraphicsControllerList -from .hcl_compatibility_info_list import HclCompatibilityInfoList from .hcl_data_import_log_list import HclDataImportLogList +from .hcl_driver import HclDriver from .hcl_firmware import HclFirmware -from .hcl_note_list import HclNoteList +from .hcl_hardware_compatibility_profile import HclHardwareCompatibilityProfile from .hcl_product import HclProduct +from .hcl_service_status_list import HclServiceStatusList +from .hyperflex_abstract_app_setting import HyperflexAbstractAppSetting from .hyperflex_alarm_list import HyperflexAlarmList +from .hyperflex_app_catalog_list import HyperflexAppCatalogList +from .hyperflex_app_setting_constraint import HyperflexAppSettingConstraint from .hyperflex_auto_support_policy_list import HyperflexAutoSupportPolicyList from .hyperflex_cluster_list import HyperflexClusterList from .hyperflex_cluster_network_policy_list import HyperflexClusterNetworkPolicyList @@ -82,9 +93,13 @@ from .hyperflex_config_result_list import HyperflexConfigResultList from .hyperflex_ext_fc_storage_policy_list import HyperflexExtFcStoragePolicyList 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_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 from .hyperflex_managed_object_reference import HyperflexManagedObjectReference from .hyperflex_named_vlan import HyperflexNamedVlan @@ -92,6 +107,8 @@ from .hyperflex_node_config_policy_list import HyperflexNodeConfigPolicyList from .hyperflex_node_profile_list import HyperflexNodeProfileList from .hyperflex_proxy_setting_policy_list import HyperflexProxySettingPolicyList +from .hyperflex_server_firmware_version_list import HyperflexServerFirmwareVersionList +from .hyperflex_server_model_list import HyperflexServerModelList from .hyperflex_st_platform_cluster_healing_info import HyperflexStPlatformClusterHealingInfo from .hyperflex_st_platform_cluster_resiliency_info import HyperflexStPlatformClusterResiliencyInfo from .hyperflex_summary import HyperflexSummary @@ -108,7 +125,9 @@ from .iaas_license_utilization_info import IaasLicenseUtilizationInfo from .iaas_ucsd_info_list import IaasUcsdInfoList from .iam_account_list import IamAccountList +from .iam_account_permissions import IamAccountPermissions from .iam_api_key_list import IamApiKeyList +from .iam_domain_group_list import IamDomainGroupList from .iam_end_point_password_properties import IamEndPointPasswordProperties from .iam_end_point_privilege_list import IamEndPointPrivilegeList from .iam_end_point_role_list import IamEndPointRoleList @@ -123,13 +142,16 @@ from .iam_ldap_policy_list import IamLdapPolicyList from .iam_ldap_provider_list import IamLdapProviderList from .iam_permission_list import IamPermissionList +from .iam_permission_reference import IamPermissionReference from .iam_privilege_list import IamPrivilegeList from .iam_privilege_set_list import IamPrivilegeSetList from .iam_qualifier_list import IamQualifierList from .iam_resource_limits_list import IamResourceLimitsList from .iam_role_list import IamRoleList +from .iam_service_provider_list import IamServiceProviderList from .iam_session_limits_list import IamSessionLimitsList from .iam_session_list import IamSessionList +from .iam_sso_session_attributes import IamSsoSessionAttributes from .iam_system_list import IamSystemList from .iam_user_group_list import IamUserGroupList from .iam_user_list import IamUserList @@ -163,18 +185,19 @@ from .network_element_summary_list import NetworkElementSummaryList from .networkconfig_policy_list import NetworkconfigPolicyList from .ntp_policy_list import NtpPolicyList -from .oauth_access_token import OauthAccessToken -from .oauth_oauth_user_list import OauthOauthUserList +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 .sdcard_partition import SdcardPartition +from .sdcard_policy_list import SdcardPolicyList +from .sdcard_virtual_drive import SdcardVirtualDrive from .search_search_item_list import SearchSearchItemList from .search_tag_item_list import SearchTagItemList from .security_unit_list import SecurityUnitList -from .server_config_change import ServerConfigChange -from .server_config_change_detail import ServerConfigChangeDetail +from .server_config_change_detail_list import ServerConfigChangeDetailList from .server_config_result_entry_list import ServerConfigResultEntryList from .server_config_result_list import ServerConfigResultList from .server_profile_list import ServerProfileList @@ -205,19 +228,29 @@ from .storage_vd_member_ep_list import StorageVdMemberEpList from .storage_virtual_drive_config import StorageVirtualDriveConfig from .storage_virtual_drive_list import StorageVirtualDriveList +from .syslog_local_client_base import SyslogLocalClientBase +from .syslog_policy_list import SyslogPolicyList +from .syslog_remote_client_base import SyslogRemoteClientBase from .task_file_download_info import TaskFileDownloadInfo from .task_workflow_action_list import TaskWorkflowActionList from .terminal_audit_log_list import TerminalAuditLogList +from .testcrypt_administrator_list import TestcryptAdministratorList +from .testcrypt_credential_list import TestcryptCredentialList +from .testcrypt_read_only_user_list import TestcryptReadOnlyUserList +from .testcrypt_shadow_credential_list import TestcryptShadowCredentialList +from .testcrypt_user import TestcryptUser from .top_system_list import TopSystemList from .vmedia_mapping import VmediaMapping from .vmedia_policy_list import VmediaPolicyList from .workflow_build_task_meta_list import WorkflowBuildTaskMetaList +from .workflow_build_task_meta_owner_list import WorkflowBuildTaskMetaOwnerList +from .workflow_dynamic_workflow_action_task_list import WorkflowDynamicWorkflowActionTaskList +from .workflow_pending_dynamic_workflow_info_list import WorkflowPendingDynamicWorkflowInfoList from .workflow_task_info_list import WorkflowTaskInfoList from .workflow_task_meta_list import WorkflowTaskMetaList from .workflow_task_retry_info import WorkflowTaskRetryInfo from .workflow_workflow_info_list import WorkflowWorkflowInfoList from .workflow_workflow_meta_list import WorkflowWorkflowMetaList -from .workflow_workflow_task_list import WorkflowWorkflowTaskList from .aaa_abstract_audit_record import AaaAbstractAuditRecord from .aaa_abstract_audit_record_ref import AaaAbstractAuditRecordRef from .aaa_audit_record_local_ref import AaaAuditRecordLocalRef @@ -227,9 +260,14 @@ from .adapter_host_fc_interface_ref import AdapterHostFcInterfaceRef from .adapter_host_iscsi_interface_ref import AdapterHostIscsiInterfaceRef from .adapter_unit_ref import AdapterUnitRef +from .asset_cluster_member_ref import AssetClusterMemberRef +from .asset_connection_control_message_ref import AssetConnectionControlMessageRef from .asset_device_claim import AssetDeviceClaim from .asset_device_claim_ref import AssetDeviceClaimRef -from .asset_device_registration import AssetDeviceRegistration +from .asset_device_configuration import AssetDeviceConfiguration +from .asset_device_configuration_ref import AssetDeviceConfigurationRef +from .asset_device_connection import AssetDeviceConnection +from .asset_device_connection_ref import AssetDeviceConnectionRef from .asset_device_registration_ref import AssetDeviceRegistrationRef from .asset_security_token_ref import AssetSecurityTokenRef from .bios_deploy_task_ref import BiosDeployTaskRef @@ -250,6 +288,8 @@ from .boot_uefi_shell_ref import BootUefiShellRef from .boot_usb_ref import BootUsbRef from .boot_virtual_media_ref import BootVirtualMediaRef +from .comm_ip_v4_interface_ref import CommIpV4InterfaceRef +from .comm_ip_v6_interface_ref import CommIpV6InterfaceRef from .compute_blade_ref import ComputeBladeRef from .compute_board_ref import ComputeBoardRef from .compute_ip_address_ref import ComputeIpAddressRef @@ -270,12 +310,25 @@ from .cond_hcl_status_job_ref import CondHclStatusJobRef from .cond_hcl_status_ref import CondHclStatusRef from .connector_auth_message_ref import ConnectorAuthMessageRef +from .connector_close_stream_message import ConnectorCloseStreamMessage +from .connector_close_stream_message_ref import ConnectorCloseStreamMessageRef from .connector_command_message_ref import ConnectorCommandMessageRef +from .connector_control_message_ref import ConnectorControlMessageRef from .connector_event_channel_control_ref import ConnectorEventChannelControlRef from .connector_event_ref import ConnectorEventRef +from .connector_fetch_stream_message import ConnectorFetchStreamMessage +from .connector_fetch_stream_message_ref import ConnectorFetchStreamMessageRef from .connector_job_async_response_ref import ConnectorJobAsyncResponseRef from .connector_job_message_ref import ConnectorJobMessageRef +from .connector_start_stream import ConnectorStartStream +from .connector_start_stream_ref import ConnectorStartStreamRef +from .connector_stream_input import ConnectorStreamInput +from .connector_stream_input_ref import ConnectorStreamInputRef +from .connector_stream_message_ref import ConnectorStreamMessageRef +from .connector_stream_ref import ConnectorStreamRef from .connector_xml_api_message_ref import ConnectorXmlApiMessageRef +from .connectorpack_connector_pack_summary_ref import ConnectorpackConnectorPackSummaryRef +from .connectorpack_upgrade_ref import ConnectorpackUpgradeRef from .crypt_account_key_ref import CryptAccountKeyRef from .crypt_decrypt_ref import CryptDecryptRef from .crypt_encrypt_ref import CryptEncryptRef @@ -284,6 +337,11 @@ from .crypt_encryption_token_ref import CryptEncryptionTokenRef from .deviceinfo_serial_number_info import DeviceinfoSerialNumberInfo from .deviceinfo_serial_number_info_ref import DeviceinfoSerialNumberInfoRef +from .devops_abstract_trigger_details_ref import DevopsAbstractTriggerDetailsRef +from .devops_notification_trigger import DevopsNotificationTrigger +from .devops_notification_trigger_ref import DevopsNotificationTriggerRef +from .devops_trigger_ref import DevopsTriggerRef +from .epansible_runner_ref import EpansibleRunnerRef from .equipment_base_ref import EquipmentBaseRef from .equipment_chassis_ref import EquipmentChassisRef from .equipment_device_summary_ref import EquipmentDeviceSummaryRef @@ -332,20 +390,27 @@ from .firmwareimc_wait_for_firmware_upgrade_ref import FirmwareimcWaitForFirmwareUpgradeRef from .graphics_card_ref import GraphicsCardRef from .graphics_controller_ref import GraphicsControllerRef -from .hcl_active_collection_node_ref import HclActiveCollectionNodeRef -from .hcl_compatibility_info import HclCompatibilityInfo 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_ref import HclDriverRef from .hcl_firmware_ref import HclFirmwareRef from .hcl_hardware_compatibility_profile_ref import HclHardwareCompatibilityProfileRef -from .hcl_note import HclNote from .hcl_note_ref import HclNoteRef from .hcl_product_ref import HclProductRef +from .hcl_service_status import HclServiceStatus from .hcl_service_status_ref import HclServiceStatusRef +from .hcl_supported_driver_name import HclSupportedDriverName +from .hcl_supported_driver_name_ref import HclSupportedDriverNameRef from .hxdpconnector_hx_inventory_msg_ref import HxdpconnectorHxInventoryMsgRef +from .hyperflex_abstract_app_setting_ref import HyperflexAbstractAppSettingRef from .hyperflex_alarm import HyperflexAlarm from .hyperflex_alarm_ref import HyperflexAlarmRef +from .hyperflex_app_catalog import HyperflexAppCatalog +from .hyperflex_app_catalog_ref import HyperflexAppCatalogRef +from .hyperflex_app_setting_constraint_ref import HyperflexAppSettingConstraintRef from .hyperflex_auto_support_policy_ref import HyperflexAutoSupportPolicyRef from .hyperflex_cluster import HyperflexCluster from .hyperflex_cluster_network_policy_ref import HyperflexClusterNetworkPolicyRef @@ -357,9 +422,19 @@ from .hyperflex_credentials_ref import HyperflexCredentialsRef from .hyperflex_ext_fc_storage_policy_ref import HyperflexExtFcStoragePolicyRef from .hyperflex_ext_iscsi_storage_policy_ref import HyperflexExtIscsiStoragePolicyRef +from .hyperflex_feature_limit_entry import HyperflexFeatureLimitEntry +from .hyperflex_feature_limit_entry_ref import HyperflexFeatureLimitEntryRef +from .hyperflex_feature_limit_external import HyperflexFeatureLimitExternal +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_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 @@ -367,6 +442,14 @@ from .hyperflex_node_config_policy_ref import HyperflexNodeConfigPolicyRef from .hyperflex_node_profile_ref import HyperflexNodeProfileRef from .hyperflex_proxy_setting_policy_ref import HyperflexProxySettingPolicyRef +from .hyperflex_server_firmware_version import HyperflexServerFirmwareVersion +from .hyperflex_server_firmware_version_entry import HyperflexServerFirmwareVersionEntry +from .hyperflex_server_firmware_version_entry_ref import HyperflexServerFirmwareVersionEntryRef +from .hyperflex_server_firmware_version_ref import HyperflexServerFirmwareVersionRef +from .hyperflex_server_model import HyperflexServerModel +from .hyperflex_server_model_entry import HyperflexServerModelEntry +from .hyperflex_server_model_entry_ref import HyperflexServerModelEntryRef +from .hyperflex_server_model_ref import HyperflexServerModelRef from .hyperflex_st_platform_cluster_healing_info_ref import HyperflexStPlatformClusterHealingInfoRef from .hyperflex_st_platform_cluster_resiliency_info_ref import HyperflexStPlatformClusterResiliencyInfoRef from .hyperflex_summary_ref import HyperflexSummaryRef @@ -387,9 +470,12 @@ from .iaas_ucsd_info import IaasUcsdInfo from .iaas_ucsd_info_ref import IaasUcsdInfoRef from .iam_account import IamAccount +from .iam_account_permissions_ref import IamAccountPermissionsRef from .iam_account_ref import IamAccountRef from .iam_api_key import IamApiKey from .iam_api_key_ref import IamApiKeyRef +from .iam_domain_group import IamDomainGroup +from .iam_domain_group_ref import IamDomainGroupRef from .iam_end_point_password_properties_ref import IamEndPointPasswordPropertiesRef from .iam_end_point_privilege import IamEndPointPrivilege from .iam_end_point_privilege_ref import IamEndPointPrivilegeRef @@ -417,6 +503,7 @@ from .iam_ldap_validation_task_ref import IamLdapValidationTaskRef from .iam_permission import IamPermission from .iam_permission_ref import IamPermissionRef +from .iam_permission_reference_ref import IamPermissionReferenceRef from .iam_privilege import IamPrivilege from .iam_privilege_ref import IamPrivilegeRef from .iam_privilege_set import IamPrivilegeSet @@ -427,12 +514,15 @@ from .iam_resource_limits_ref import IamResourceLimitsRef from .iam_role import IamRole from .iam_role_ref import IamRoleRef +from .iam_service_provider import IamServiceProvider +from .iam_service_provider_ref import IamServiceProviderRef from .iam_session import IamSession from .iam_session_limits import IamSessionLimits from .iam_session_limits_ref import IamSessionLimitsRef from .iam_session_ref import IamSessionRef from .iam_sp_console_ref import IamSpConsoleRef from .iam_sp_engine_ref import IamSpEngineRef +from .iam_sso_session_attributes_ref import IamSsoSessionAttributesRef from .iam_system import IamSystem from .iam_system_ref import IamSystemRef from .iam_user import IamUser @@ -485,6 +575,7 @@ 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 .network_element_ref import NetworkElementRef from .network_element_summary_ref import NetworkElementSummaryRef @@ -497,9 +588,11 @@ from .ntp_policy_ref import NtpPolicyRef from .ntp_validation_task_ref import NtpValidationTaskRef from .oauth2_auth_token_ref import Oauth2AuthTokenRef -from .oauth_access_token_ref import OauthAccessTokenRef -from .oauth_oauth_user import OauthOauthUser -from .oauth_oauth_user_ref import OauthOauthUserRef +from .partitionalloc_consumer_ref import PartitionallocConsumerRef +from .partitionalloc_part_ref import PartitionallocPartRef +from .partitionalloc_partitioned_ref import PartitionallocPartitionedRef +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 from .policy_abstract_config_result import PolicyAbstractConfigResult from .policy_abstract_config_result_entry import PolicyAbstractConfigResultEntry @@ -509,8 +602,12 @@ from .policy_abstract_policy_ref import PolicyAbstractPolicyRef from .policy_abstract_profile import PolicyAbstractProfile from .policy_abstract_profile_ref import PolicyAbstractProfileRef +from .policy_analyze_impact_task_ref import PolicyAnalyzeImpactTaskRef +from .policy_config_change_detail_type_ref import PolicyConfigChangeDetailTypeRef +from .policy_config_change_ref import PolicyConfigChangeRef from .policy_config_context_ref import PolicyConfigContextRef from .policy_config_result_context_ref import PolicyConfigResultContextRef +from .policy_take_snapshot_task_ref import PolicyTakeSnapshotTaskRef from .port_group_ref import PortGroupRef from .port_physical_ref import PortPhysicalRef from .port_sub_group_ref import PortSubGroupRef @@ -525,6 +622,7 @@ from .qatask_retry_fixed_ref import QataskRetryFixedRef from .qatask_success_async_task_ref import QataskSuccessAsyncTaskRef from .qatask_taskin_scheuled_ref import QataskTaskinScheuledRef +from .qatask_timeoutwf_exponential_ref import QataskTimeoutwfExponentialRef from .qatask_timeoutwf_fixed_ref import QataskTimeoutwfFixedRef from .qatask_ucs_task1_ref import QataskUcsTask1Ref from .qatask_ucs_task2_ref import QataskUcsTask2Ref @@ -537,7 +635,17 @@ 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 .rest_api_ref import RestApiRef +from .sdcard_deploy_task_ref import SdcardDeployTaskRef +from .sdcard_diagnostics_ref import SdcardDiagnosticsRef +from .sdcard_drivers_ref import SdcardDriversRef +from .sdcard_host_upgrade_utility_ref import SdcardHostUpgradeUtilityRef +from .sdcard_operating_system_ref import SdcardOperatingSystemRef +from .sdcard_partition_ref import SdcardPartitionRef +from .sdcard_policy_ref import SdcardPolicyRef +from .sdcard_server_configuration_utility_ref import SdcardServerConfigurationUtilityRef +from .sdcard_user_partition_ref import SdcardUserPartitionRef +from .sdcard_validation_task_ref import SdcardValidationTaskRef +from .sdcard_virtual_drive_ref import SdcardVirtualDriveRef from .search_search_item import SearchSearchItem from .search_search_item_ref import SearchSearchItemRef from .search_suggest_item import SearchSuggestItem @@ -546,8 +654,6 @@ from .search_tag_item_ref import SearchTagItemRef from .security_unit_ref import SecurityUnitRef from .server_config_change_detail_ref import ServerConfigChangeDetailRef -from .server_config_change_details_ref import ServerConfigChangeDetailsRef -from .server_config_change_ref import ServerConfigChangeRef from .server_config_result_entry_ref import ServerConfigResultEntryRef from .server_config_result_ref import ServerConfigResultRef from .server_profile_apply_task_ref import ServerProfileApplyTaskRef @@ -567,6 +673,7 @@ from .ssh_deploy_task_ref import SshDeployTaskRef from .ssh_policy_ref import SshPolicyRef from .ssh_validation_task_ref import SshValidationTaskRef +from .storage_analyze_impact_task_ref import StorageAnalyzeImpactTaskRef from .storage_controller_ref import StorageControllerRef from .storage_deploy_task_ref import StorageDeployTaskRef from .storage_disk_group_policy_ref import StorageDiskGroupPolicyRef @@ -586,11 +693,20 @@ from .storage_sas_expander_ref import StorageSasExpanderRef from .storage_span_group_ref import StorageSpanGroupRef from .storage_storage_policy_ref import StorageStoragePolicyRef +from .storage_take_snapshot_task_ref import StorageTakeSnapshotTaskRef 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_ref import StorageVirtualDriveRef +from .syslog_deploy_task_ref import SyslogDeployTaskRef +from .syslog_local_client_base_ref import SyslogLocalClientBaseRef +from .syslog_local_file_logging_client_ref import SyslogLocalFileLoggingClientRef +from .syslog_policy_ref import SyslogPolicyRef +from .syslog_remote_client_base_ref import SyslogRemoteClientBaseRef +from .syslog_remote_logging_client_ref import SyslogRemoteLoggingClientRef +from .syslog_validation_task_ref import SyslogValidationTaskRef from .task_file_download_info_ref import TaskFileDownloadInfoRef +from .task_input_task_ref import TaskInputTaskRef from .task_ucs_task1_ref import TaskUcsTask1Ref from .task_ucs_task2_ref import TaskUcsTask2Ref from .task_ucs_task3_ref import TaskUcsTask3Ref @@ -604,6 +720,15 @@ from .task_workflow_action_ref import TaskWorkflowActionRef from .terminal_audit_log import TerminalAuditLog from .terminal_audit_log_ref import TerminalAuditLogRef +from .testcrypt_administrator import TestcryptAdministrator +from .testcrypt_administrator_ref import TestcryptAdministratorRef +from .testcrypt_credential import TestcryptCredential +from .testcrypt_credential_ref import TestcryptCredentialRef +from .testcrypt_read_only_user import TestcryptReadOnlyUser +from .testcrypt_read_only_user_ref import TestcryptReadOnlyUserRef +from .testcrypt_shadow_credential import TestcryptShadowCredential +from .testcrypt_shadow_credential_ref import TestcryptShadowCredentialRef +from .testcrypt_user_ref import TestcryptUserRef from .top_system_ref import TopSystemRef from .ucsdconnector_inventory_message_ref import UcsdconnectorInventoryMessageRef from .views_view import ViewsView @@ -613,7 +738,14 @@ from .vmedia_policy_ref import VmediaPolicyRef from .vmedia_validation_task_ref import VmediaValidationTaskRef from .workflow_build_task_meta import WorkflowBuildTaskMeta +from .workflow_build_task_meta_owner import WorkflowBuildTaskMetaOwner +from .workflow_build_task_meta_owner_ref import WorkflowBuildTaskMetaOwnerRef from .workflow_build_task_meta_ref import WorkflowBuildTaskMetaRef +from .workflow_dynamic_workflow_action_task_list_ref import WorkflowDynamicWorkflowActionTaskListRef +from .workflow_input_definition_ref import WorkflowInputDefinitionRef +from .workflow_input_parameter_ref import WorkflowInputParameterRef +from .workflow_pending_dynamic_workflow_info import WorkflowPendingDynamicWorkflowInfo +from .workflow_pending_dynamic_workflow_info_ref import WorkflowPendingDynamicWorkflowInfoRef from .workflow_task_info import WorkflowTaskInfo from .workflow_task_info_ref import WorkflowTaskInfoRef from .workflow_task_meta import WorkflowTaskMeta @@ -623,9 +755,9 @@ from .workflow_workflow_info_ref import WorkflowWorkflowInfoRef from .workflow_workflow_meta import WorkflowWorkflowMeta from .workflow_workflow_meta_ref import WorkflowWorkflowMetaRef -from .workflow_workflow_task import WorkflowWorkflowTask -from .workflow_workflow_task_ref import WorkflowWorkflowTaskRef from .aaa_audit_record import AaaAuditRecord +from .asset_cluster_member import AssetClusterMember +from .asset_device_registration import AssetDeviceRegistration from .bios_policy import BiosPolicy from .boot_precision_policy import BootPrecisionPolicy from .compute_physical_summary import ComputePhysicalSummary @@ -666,6 +798,8 @@ from .port_group import PortGroup from .port_physical import PortPhysical from .port_sub_group import PortSubGroup +from .sdcard_policy import SdcardPolicy +from .server_config_change_detail import ServerConfigChangeDetail from .server_config_result import ServerConfigResult from .server_config_result_entry import ServerConfigResultEntry from .smtp_policy import SmtpPolicy @@ -678,6 +812,7 @@ from .storage_physical_disk_usage import StoragePhysicalDiskUsage from .storage_storage_policy import StorageStoragePolicy from .storage_vd_member_ep import StorageVdMemberEp +from .syslog_policy import SyslogPolicy from .top_system import TopSystem from .vmedia_policy import VmediaPolicy from .adapter_ext_eth_interface import AdapterExtEthInterface diff --git a/intersight/models/aaa_abstract_audit_record.py b/intersight/models/aaa_abstract_audit_record.py index 68e7abdd..47353753 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/aaa_abstract_audit_record_ref.py b/intersight/models/aaa_abstract_audit_record_ref.py index 9fd00cfd..239b35be 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3c484e2d..0ff9de67 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -46,6 +46,7 @@ class AaaAuditRecord(object): 'request': 'object', 'trace_id': 'str', 'account': 'IamAccountRef', + 'email': 'str', 'inst_id': 'str', 'sessions': 'IamSessionRef', 'source_ip': 'str', @@ -69,6 +70,7 @@ class AaaAuditRecord(object): 'request': 'Request', 'trace_id': 'TraceId', 'account': 'Account', + 'email': 'Email', 'inst_id': 'InstId', 'sessions': 'Sessions', 'source_ip': 'SourceIp', @@ -76,7 +78,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, 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, 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 """ @@ -96,6 +98,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._request = None self._trace_id = None self._account = None + self._email = None self._inst_id = None self._sessions = None self._source_ip = None @@ -132,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.trace_id = trace_id if account is not None: self.account = account + if email is not None: + self.email = email if inst_id is not None: self.inst_id = inst_id if sessions is not None: @@ -488,6 +493,29 @@ def account(self, account): self._account = account + @property + def email(self): + """ + Gets the email of this AaaAuditRecord. + The email of the associated user that made the change. This is needed in case that user is later deleted, we still have some reference to the information. + + :return: The email of this AaaAuditRecord. + :rtype: str + """ + return self._email + + @email.setter + def email(self, email): + """ + Sets the email of this AaaAuditRecord. + The email of the associated user that made the change. This is needed in case that user is later deleted, we still have some reference to the information. + + :param email: The email of this AaaAuditRecord. + :type: str + """ + + self._email = email + @property def inst_id(self): """ diff --git a/intersight/models/aaa_audit_record_list.py b/intersight/models/aaa_audit_record_list.py index 6f16bfc8..fb54c789 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6eca6730..0e27a350 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a21c03a8..154a3633 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e8011474..668d366f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_ext_eth_interface_list.py b/intersight/models/adapter_ext_eth_interface_list.py index f7388a4f..2f72f366 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8275c47e..10058b33 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.5-612 + OpenAPI spec version: 1.0.7-681 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 278ecd45..d307319b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_host_eth_interface_list.py b/intersight/models/adapter_host_eth_interface_list.py index b349c512..8b8410be 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6c104a99..8673f64f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d455287a..8044506a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_host_fc_interface_list.py b/intersight/models/adapter_host_fc_interface_list.py index 8b2da266..757d2179 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d02b3a03..4e836eaa 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fa4d1b6e..8658f168 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_host_iscsi_interface_list.py b/intersight/models/adapter_host_iscsi_interface_list.py index d5d1e530..dc08e2fb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c7d7a04c..652e9ba9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c5a4ccbe..38a9cc29 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_unit_list.py b/intersight/models/adapter_unit_list.py index 87747313..0b6d4f27 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.5-612 + OpenAPI spec version: 1.0.7-681 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 845badd6..ab6b725c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..ad1a55c6 --- /dev/null +++ b/intersight/models/asset_cluster_member.py @@ -0,0 +1,667 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class AssetClusterMember(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]', + 'api_version': 'int', + 'app_partition_number': 'int', + 'connection_reason': 'str', + 'connection_status': 'str', + 'connection_status_last_change_time': 'datetime', + 'connector_version': 'str', + 'device_external_ip_address': 'str', + 'proxy_app': 'str', + 'device': 'AssetDeviceRegistrationRef', + 'leadership': 'str', + 'member_identity': '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', + 'api_version': 'ApiVersion', + 'app_partition_number': 'AppPartitionNumber', + 'connection_reason': 'ConnectionReason', + 'connection_status': 'ConnectionStatus', + 'connection_status_last_change_time': 'ConnectionStatusLastChangeTime', + 'connector_version': 'ConnectorVersion', + 'device_external_ip_address': 'DeviceExternalIpAddress', + 'proxy_app': 'ProxyApp', + 'device': 'Device', + 'leadership': 'Leadership', + '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): + """ + AssetClusterMember - 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._api_version = None + self._app_partition_number = 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._device = None + self._leadership = None + self._member_identity = 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 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_reason is not None: + self.connection_reason = connection_reason + if connection_status is not None: + self.connection_status = connection_status + if connection_status_last_change_time is not None: + self.connection_status_last_change_time = connection_status_last_change_time + if connector_version is not None: + self.connector_version = connector_version + if device_external_ip_address is not None: + self.device_external_ip_address = device_external_ip_address + if proxy_app is not None: + self.proxy_app = proxy_app + if device is not None: + self.device = device + if leadership is not None: + self.leadership = leadership + if member_identity is not None: + self.member_identity = member_identity + + @property + def account_moid(self): + """ + Gets the account_moid of this AssetClusterMember. + The Account ID for this managed object. + + :return: The account_moid of this AssetClusterMember. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this AssetClusterMember. + The Account ID for this managed object. + + :param account_moid: The account_moid of this AssetClusterMember. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this AssetClusterMember. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this AssetClusterMember. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this AssetClusterMember. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this AssetClusterMember. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this AssetClusterMember. + The time when this managed object was created. + + :return: The create_time of this AssetClusterMember. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this AssetClusterMember. + The time when this managed object was created. + + :param create_time: The create_time of this AssetClusterMember. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this AssetClusterMember. + The time when this managed object was last modified. + + :return: The mod_time of this AssetClusterMember. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this AssetClusterMember. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this AssetClusterMember. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this AssetClusterMember. + A unique identifier of this Managed Object instance. + + :return: The moid of this AssetClusterMember. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this AssetClusterMember. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this AssetClusterMember. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this AssetClusterMember. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this AssetClusterMember. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this AssetClusterMember. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this AssetClusterMember. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this AssetClusterMember. + An array of owners which represent effective ownership of this object. + + :return: The owners of this AssetClusterMember. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this AssetClusterMember. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this AssetClusterMember. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this AssetClusterMember. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this AssetClusterMember. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this AssetClusterMember. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this AssetClusterMember. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this AssetClusterMember. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this AssetClusterMember. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this AssetClusterMember. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def api_version(self): + """ + Gets the api_version of this AssetClusterMember. + The version of the connector api. Describes the capability of the connector's framework. If the version is lower than the current minimum supported version defined in the service managing the connection, the device connector will be connected with limited capabilities until the device connector is upgraded to a fully supported version. For example if a device connector that was released without delta inventory capabilities registers and connects to Intersight, inventory collection may be disabled until it has been upgraded. + + :return: The api_version of this AssetClusterMember. + :rtype: int + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this AssetClusterMember. + The version of the connector api. Describes the capability of the connector's framework. If the version is lower than the current minimum supported version defined in the service managing the connection, the device connector will be connected with limited capabilities until the device connector is upgraded to a fully supported version. For example if a device connector that was released without delta inventory capabilities registers and connects to Intersight, inventory collection may be disabled until it has been upgraded. + + :param api_version: The api_version of this AssetClusterMember. + :type: int + """ + + self._api_version = api_version + + @property + def app_partition_number(self): + """ + Gets the app_partition_number of this AssetClusterMember. + The partition number corresponding to the instance of the Proxy App which is managing the web-socket to the device connector. + + :return: The app_partition_number of this AssetClusterMember. + :rtype: int + """ + return self._app_partition_number + + @app_partition_number.setter + def app_partition_number(self, app_partition_number): + """ + Sets the app_partition_number of this AssetClusterMember. + The partition number corresponding to the instance of the Proxy App which is managing the web-socket to the device connector. + + :param app_partition_number: The app_partition_number of this AssetClusterMember. + :type: int + """ + + self._app_partition_number = app_partition_number + + @property + def connection_reason(self): + """ + Gets the connection_reason of this AssetClusterMember. + If 'connectionStatus' is not equal to Connected, connectionReason provides further details about why the device is not connected with the cloud. + + :return: The connection_reason of this AssetClusterMember. + :rtype: str + """ + return self._connection_reason + + @connection_reason.setter + def connection_reason(self, connection_reason): + """ + Sets the connection_reason of this AssetClusterMember. + If 'connectionStatus' is not equal to Connected, connectionReason provides further details about why the device is not connected with the cloud. + + :param connection_reason: The connection_reason of this AssetClusterMember. + :type: str + """ + + self._connection_reason = connection_reason + + @property + def connection_status(self): + """ + Gets the connection_status of this AssetClusterMember. + The status of the persistent connection between the device connector and Intersight. + + :return: The connection_status of this AssetClusterMember. + :rtype: str + """ + return self._connection_status + + @connection_status.setter + def connection_status(self, connection_status): + """ + Sets the connection_status of this AssetClusterMember. + The status of the persistent connection between the device connector and Intersight. + + :param connection_status: The connection_status of this AssetClusterMember. + :type: str + """ + allowed_values = ["", "Connected", "NotConnected"] + if connection_status not in allowed_values: + raise ValueError( + "Invalid value for `connection_status` ({0}), must be one of {1}" + .format(connection_status, allowed_values) + ) + + self._connection_status = connection_status + + @property + def connection_status_last_change_time(self): + """ + Gets the connection_status_last_change_time of this AssetClusterMember. + The last time at which the 'connectionStatus' property value changed. If connectionStatus is Connected, this time can be interpreted as the starting time since which a persistent connection has been maintained between the cloud and device connector. If connectionStatus is NotConnected, this time can be interpreted as the last time the device connector was connected with the cloud. + + :return: The connection_status_last_change_time of this AssetClusterMember. + :rtype: datetime + """ + return self._connection_status_last_change_time + + @connection_status_last_change_time.setter + def connection_status_last_change_time(self, connection_status_last_change_time): + """ + Sets the connection_status_last_change_time of this AssetClusterMember. + The last time at which the 'connectionStatus' property value changed. If connectionStatus is Connected, this time can be interpreted as the starting time since which a persistent connection has been maintained between the cloud and device connector. If connectionStatus is NotConnected, this time can be interpreted as the last time the device connector was connected with the cloud. + + :param connection_status_last_change_time: The connection_status_last_change_time of this AssetClusterMember. + :type: datetime + """ + + self._connection_status_last_change_time = connection_status_last_change_time + + @property + def connector_version(self): + """ + Gets the connector_version of this AssetClusterMember. + The version of the device connector running on the managed device. + + :return: The connector_version of this AssetClusterMember. + :rtype: str + """ + return self._connector_version + + @connector_version.setter + def connector_version(self, connector_version): + """ + Sets the connector_version of this AssetClusterMember. + The version of the device connector running on the managed device. + + :param connector_version: The connector_version of this AssetClusterMember. + :type: str + """ + + self._connector_version = connector_version + + @property + def device_external_ip_address(self): + """ + Gets the device_external_ip_address of this AssetClusterMember. + The IP Address of the managed device as seen from the cloud at the time of registration. Eg this could be the IP of the managed device's interface which has a route to the internet or a NAT IP when the managed device is deployed in a private network. + + :return: The device_external_ip_address of this AssetClusterMember. + :rtype: str + """ + return self._device_external_ip_address + + @device_external_ip_address.setter + def device_external_ip_address(self, device_external_ip_address): + """ + Sets the device_external_ip_address of this AssetClusterMember. + The IP Address of the managed device as seen from the cloud at the time of registration. Eg this could be the IP of the managed device's interface which has a route to the internet or a NAT IP when the managed device is deployed in a private network. + + :param device_external_ip_address: The device_external_ip_address of this AssetClusterMember. + :type: str + """ + + self._device_external_ip_address = device_external_ip_address + + @property + def proxy_app(self): + """ + Gets the proxy_app of this AssetClusterMember. + The name of the app which will proxy the messages to the device connector. + + :return: The proxy_app of this AssetClusterMember. + :rtype: str + """ + return self._proxy_app + + @proxy_app.setter + def proxy_app(self, proxy_app): + """ + Sets the proxy_app of this AssetClusterMember. + The name of the app which will proxy the messages to the device connector. + + :param proxy_app: The proxy_app of this AssetClusterMember. + :type: str + """ + + self._proxy_app = proxy_app + + @property + def device(self): + """ + Gets the device of this AssetClusterMember. + + :return: The device of this AssetClusterMember. + :rtype: AssetDeviceRegistrationRef + """ + return self._device + + @device.setter + def device(self, device): + """ + Sets the device of this AssetClusterMember. + + :param device: The device of this AssetClusterMember. + :type: AssetDeviceRegistrationRef + """ + + self._device = device + + @property + def leadership(self): + """ + Gets the leadership of this AssetClusterMember. + The current leadershipstate of this member. Updated by the device connector on failover or leadership change. If a member is elected as Primary within the cluster this connection will be the same as the DeviceRegistration connection. E.g a message addressed to the DeviceRegistration will be forwarded to the ClusterMember connection. + + :return: The leadership of this AssetClusterMember. + :rtype: str + """ + return self._leadership + + @leadership.setter + def leadership(self, leadership): + """ + Sets the leadership of this AssetClusterMember. + The current leadershipstate of this member. Updated by the device connector on failover or leadership change. If a member is elected as Primary within the cluster this connection will be the same as the DeviceRegistration connection. E.g a message addressed to the DeviceRegistration will be forwarded to the ClusterMember connection. + + :param leadership: The leadership of this AssetClusterMember. + :type: str + """ + allowed_values = ["Unknown", "Primary", "Secondary"] + if leadership not in allowed_values: + raise ValueError( + "Invalid value for `leadership` ({0}), must be one of {1}" + .format(leadership, allowed_values) + ) + + self._leadership = leadership + + @property + def member_identity(self): + """ + Gets the member_identity of this AssetClusterMember. + The unique identity of the member within the cluster. The identity is retrieved from the platform and reported by the device connector at connection time. + + :return: The member_identity of this AssetClusterMember. + :rtype: str + """ + return self._member_identity + + @member_identity.setter + def member_identity(self, member_identity): + """ + Sets the member_identity of this AssetClusterMember. + The unique identity of the member within the cluster. The identity is retrieved from the platform and reported by the device connector at connection time. + + :param member_identity: The member_identity of this AssetClusterMember. + :type: str + """ + + self._member_identity = member_identity + + 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, AssetClusterMember): + 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/asset_cluster_member_list.py b/intersight/models/asset_cluster_member_list.py new file mode 100644 index 00000000..b90742df --- /dev/null +++ b/intersight/models/asset_cluster_member_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class AssetClusterMemberList(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[AssetClusterMember]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + AssetClusterMemberList - 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 AssetClusterMemberList. + The number of assetClusterMembers matching your request in total for all pages. + + :return: The count of this AssetClusterMemberList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this AssetClusterMemberList. + The number of assetClusterMembers matching your request in total for all pages. + + :param count: The count of this AssetClusterMemberList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this AssetClusterMemberList. + The array of assetClusterMembers matching your request. + + :return: The results of this AssetClusterMemberList. + :rtype: list[AssetClusterMember] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this AssetClusterMemberList. + The array of assetClusterMembers matching your request. + + :param results: The results of this AssetClusterMemberList. + :type: list[AssetClusterMember] + """ + + 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, AssetClusterMemberList): + 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/asset_cluster_member_ref.py b/intersight/models/asset_cluster_member_ref.py new file mode 100644 index 00000000..b08ace10 --- /dev/null +++ b/intersight/models/asset_cluster_member_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class AssetClusterMemberRef(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): + """ + AssetClusterMemberRef - 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 AssetClusterMemberRef. + + :return: The moid of this AssetClusterMemberRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this AssetClusterMemberRef. + + :param moid: The moid of this AssetClusterMemberRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this AssetClusterMemberRef. + + :return: The object_type of this AssetClusterMemberRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this AssetClusterMemberRef. + + :param object_type: The object_type of this AssetClusterMemberRef. + :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, AssetClusterMemberRef): + 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/asset_connection_control_message_ref.py b/intersight/models/asset_connection_control_message_ref.py new file mode 100644 index 00000000..5eac1d7c --- /dev/null +++ b/intersight/models/asset_connection_control_message_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class AssetConnectionControlMessageRef(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): + """ + AssetConnectionControlMessageRef - 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 AssetConnectionControlMessageRef. + + :return: The moid of this AssetConnectionControlMessageRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this AssetConnectionControlMessageRef. + + :param moid: The moid of this AssetConnectionControlMessageRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this AssetConnectionControlMessageRef. + + :return: The object_type of this AssetConnectionControlMessageRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this AssetConnectionControlMessageRef. + + :param object_type: The object_type of this AssetConnectionControlMessageRef. + :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, AssetConnectionControlMessageRef): + 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/asset_device_claim.py b/intersight/models/asset_device_claim.py index 61b505df..9742f19f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -361,6 +361,7 @@ def device(self, device): def security_token(self): """ Gets the security_token of this AssetDeviceClaim. + Obtained from the device connector management UI or API (REST endpoint /connector/SecurityTokens). :return: The security_token of this AssetDeviceClaim. :rtype: str @@ -371,6 +372,7 @@ def security_token(self): def security_token(self, security_token): """ Sets the security_token of this AssetDeviceClaim. + Obtained from the device connector management UI or API (REST endpoint /connector/SecurityTokens). :param security_token: The security_token of this AssetDeviceClaim. :type: str @@ -382,6 +384,7 @@ def security_token(self, security_token): def serial_number(self): """ Gets the serial_number of this AssetDeviceClaim. + Obtained from the device connector management UI or API (REST endpoint /connector/DeviceIdentifiers). :return: The serial_number of this AssetDeviceClaim. :rtype: str @@ -392,6 +395,7 @@ def serial_number(self): def serial_number(self, serial_number): """ Sets the serial_number of this AssetDeviceClaim. + Obtained from the device connector management UI or API (REST endpoint /connector/DeviceIdentifiers). :param serial_number: The serial_number of this AssetDeviceClaim. :type: str diff --git a/intersight/models/asset_device_claim_ref.py b/intersight/models/asset_device_claim_ref.py index de24d1bc..2f055f13 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..30e0a2a2 --- /dev/null +++ b/intersight/models/asset_device_configuration.py @@ -0,0 +1,431 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class AssetDeviceConfiguration(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]', + 'device': 'AssetDeviceRegistrationRef', + 'local_configuration_locked': 'bool', + 'log_level': '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', + '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): + """ + AssetDeviceConfiguration - 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._device = None + self._local_configuration_locked = None + self._log_level = 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 device is not None: + self.device = device + if local_configuration_locked is not None: + self.local_configuration_locked = local_configuration_locked + if log_level is not None: + self.log_level = log_level + + @property + def account_moid(self): + """ + Gets the account_moid of this AssetDeviceConfiguration. + The Account ID for this managed object. + + :return: The account_moid of this AssetDeviceConfiguration. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this AssetDeviceConfiguration. + The Account ID for this managed object. + + :param account_moid: The account_moid of this AssetDeviceConfiguration. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this AssetDeviceConfiguration. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this AssetDeviceConfiguration. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this AssetDeviceConfiguration. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this AssetDeviceConfiguration. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this AssetDeviceConfiguration. + The time when this managed object was created. + + :return: The create_time of this AssetDeviceConfiguration. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this AssetDeviceConfiguration. + The time when this managed object was created. + + :param create_time: The create_time of this AssetDeviceConfiguration. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this AssetDeviceConfiguration. + The time when this managed object was last modified. + + :return: The mod_time of this AssetDeviceConfiguration. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this AssetDeviceConfiguration. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this AssetDeviceConfiguration. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this AssetDeviceConfiguration. + A unique identifier of this Managed Object instance. + + :return: The moid of this AssetDeviceConfiguration. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this AssetDeviceConfiguration. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this AssetDeviceConfiguration. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this AssetDeviceConfiguration. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this AssetDeviceConfiguration. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this AssetDeviceConfiguration. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this AssetDeviceConfiguration. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this AssetDeviceConfiguration. + An array of owners which represent effective ownership of this object. + + :return: The owners of this AssetDeviceConfiguration. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this AssetDeviceConfiguration. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this AssetDeviceConfiguration. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this AssetDeviceConfiguration. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this AssetDeviceConfiguration. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this AssetDeviceConfiguration. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this AssetDeviceConfiguration. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this AssetDeviceConfiguration. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this AssetDeviceConfiguration. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this AssetDeviceConfiguration. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def device(self): + """ + Gets the device of this AssetDeviceConfiguration. + + :return: The device of this AssetDeviceConfiguration. + :rtype: AssetDeviceRegistrationRef + """ + return self._device + + @device.setter + def device(self, device): + """ + Sets the device of this AssetDeviceConfiguration. + + :param device: The device of this AssetDeviceConfiguration. + :type: AssetDeviceRegistrationRef + """ + + self._device = device + + @property + def local_configuration_locked(self): + """ + Gets the local_configuration_locked of this AssetDeviceConfiguration. + Specifies whether configuration through the platforms local management interface has been disabled, with only configuration through the Intersight service enabled + + :return: The local_configuration_locked of this AssetDeviceConfiguration. + :rtype: bool + """ + return self._local_configuration_locked + + @local_configuration_locked.setter + def local_configuration_locked(self, local_configuration_locked): + """ + Sets the local_configuration_locked of this AssetDeviceConfiguration. + Specifies whether configuration through the platforms local management interface has been disabled, with only configuration through the Intersight service enabled + + :param local_configuration_locked: The local_configuration_locked of this AssetDeviceConfiguration. + :type: bool + """ + + self._local_configuration_locked = local_configuration_locked + + @property + def log_level(self): + """ + Gets the log_level of this AssetDeviceConfiguration. + The log level of the device connector service. + + :return: The log_level of this AssetDeviceConfiguration. + :rtype: str + """ + return self._log_level + + @log_level.setter + def log_level(self, log_level): + """ + Sets the log_level of this AssetDeviceConfiguration. + The log level of the device connector service. + + :param log_level: The log_level of this AssetDeviceConfiguration. + :type: str + """ + + self._log_level = log_level + + 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, AssetDeviceConfiguration): + 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/asset_device_configuration_list.py b/intersight/models/asset_device_configuration_list.py new file mode 100644 index 00000000..c49cc0d1 --- /dev/null +++ b/intersight/models/asset_device_configuration_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class AssetDeviceConfigurationList(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[AssetDeviceConfiguration]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + AssetDeviceConfigurationList - 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 AssetDeviceConfigurationList. + The number of assetDeviceConfigurations matching your request in total for all pages. + + :return: The count of this AssetDeviceConfigurationList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this AssetDeviceConfigurationList. + The number of assetDeviceConfigurations matching your request in total for all pages. + + :param count: The count of this AssetDeviceConfigurationList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this AssetDeviceConfigurationList. + The array of assetDeviceConfigurations matching your request. + + :return: The results of this AssetDeviceConfigurationList. + :rtype: list[AssetDeviceConfiguration] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this AssetDeviceConfigurationList. + The array of assetDeviceConfigurations matching your request. + + :param results: The results of this AssetDeviceConfigurationList. + :type: list[AssetDeviceConfiguration] + """ + + 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, AssetDeviceConfigurationList): + 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/asset_device_configuration_ref.py b/intersight/models/asset_device_configuration_ref.py new file mode 100644 index 00000000..cd0d19fe --- /dev/null +++ b/intersight/models/asset_device_configuration_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class AssetDeviceConfigurationRef(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): + """ + AssetDeviceConfigurationRef - 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 AssetDeviceConfigurationRef. + + :return: The moid of this AssetDeviceConfigurationRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this AssetDeviceConfigurationRef. + + :param moid: The moid of this AssetDeviceConfigurationRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this AssetDeviceConfigurationRef. + + :return: The object_type of this AssetDeviceConfigurationRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this AssetDeviceConfigurationRef. + + :param object_type: The object_type of this AssetDeviceConfigurationRef. + :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, AssetDeviceConfigurationRef): + 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/asset_device_connection.py b/intersight/models/asset_device_connection.py new file mode 100644 index 00000000..f701177d --- /dev/null +++ b/intersight/models/asset_device_connection.py @@ -0,0 +1,579 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class AssetDeviceConnection(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]', + 'api_version': 'int', + 'app_partition_number': 'int', + 'connection_reason': 'str', + 'connection_status': 'str', + 'connection_status_last_change_time': 'datetime', + 'connector_version': 'str', + 'device_external_ip_address': 'str', + 'proxy_app': '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', + 'api_version': 'ApiVersion', + 'app_partition_number': 'AppPartitionNumber', + 'connection_reason': 'ConnectionReason', + 'connection_status': 'ConnectionStatus', + 'connection_status_last_change_time': 'ConnectionStatusLastChangeTime', + 'connector_version': 'ConnectorVersion', + 'device_external_ip_address': 'DeviceExternalIpAddress', + '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): + """ + AssetDeviceConnection - 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._api_version = None + self._app_partition_number = 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 + + 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 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_reason is not None: + self.connection_reason = connection_reason + if connection_status is not None: + self.connection_status = connection_status + if connection_status_last_change_time is not None: + self.connection_status_last_change_time = connection_status_last_change_time + if connector_version is not None: + self.connector_version = connector_version + if device_external_ip_address is not None: + self.device_external_ip_address = device_external_ip_address + if proxy_app is not None: + self.proxy_app = proxy_app + + @property + def account_moid(self): + """ + Gets the account_moid of this AssetDeviceConnection. + The Account ID for this managed object. + + :return: The account_moid of this AssetDeviceConnection. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this AssetDeviceConnection. + The Account ID for this managed object. + + :param account_moid: The account_moid of this AssetDeviceConnection. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this AssetDeviceConnection. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this AssetDeviceConnection. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this AssetDeviceConnection. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this AssetDeviceConnection. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this AssetDeviceConnection. + The time when this managed object was created. + + :return: The create_time of this AssetDeviceConnection. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this AssetDeviceConnection. + The time when this managed object was created. + + :param create_time: The create_time of this AssetDeviceConnection. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this AssetDeviceConnection. + The time when this managed object was last modified. + + :return: The mod_time of this AssetDeviceConnection. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this AssetDeviceConnection. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this AssetDeviceConnection. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this AssetDeviceConnection. + A unique identifier of this Managed Object instance. + + :return: The moid of this AssetDeviceConnection. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this AssetDeviceConnection. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this AssetDeviceConnection. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this AssetDeviceConnection. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this AssetDeviceConnection. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this AssetDeviceConnection. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this AssetDeviceConnection. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this AssetDeviceConnection. + An array of owners which represent effective ownership of this object. + + :return: The owners of this AssetDeviceConnection. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this AssetDeviceConnection. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this AssetDeviceConnection. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this AssetDeviceConnection. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this AssetDeviceConnection. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this AssetDeviceConnection. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this AssetDeviceConnection. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this AssetDeviceConnection. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this AssetDeviceConnection. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this AssetDeviceConnection. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def api_version(self): + """ + Gets the api_version of this AssetDeviceConnection. + The version of the connector api. Describes the capability of the connector's framework. If the version is lower than the current minimum supported version defined in the service managing the connection, the device connector will be connected with limited capabilities until the device connector is upgraded to a fully supported version. For example if a device connector that was released without delta inventory capabilities registers and connects to Intersight, inventory collection may be disabled until it has been upgraded. + + :return: The api_version of this AssetDeviceConnection. + :rtype: int + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this AssetDeviceConnection. + The version of the connector api. Describes the capability of the connector's framework. If the version is lower than the current minimum supported version defined in the service managing the connection, the device connector will be connected with limited capabilities until the device connector is upgraded to a fully supported version. For example if a device connector that was released without delta inventory capabilities registers and connects to Intersight, inventory collection may be disabled until it has been upgraded. + + :param api_version: The api_version of this AssetDeviceConnection. + :type: int + """ + + self._api_version = api_version + + @property + def app_partition_number(self): + """ + Gets the app_partition_number of this AssetDeviceConnection. + The partition number corresponding to the instance of the Proxy App which is managing the web-socket to the device connector. + + :return: The app_partition_number of this AssetDeviceConnection. + :rtype: int + """ + return self._app_partition_number + + @app_partition_number.setter + def app_partition_number(self, app_partition_number): + """ + Sets the app_partition_number of this AssetDeviceConnection. + The partition number corresponding to the instance of the Proxy App which is managing the web-socket to the device connector. + + :param app_partition_number: The app_partition_number of this AssetDeviceConnection. + :type: int + """ + + self._app_partition_number = app_partition_number + + @property + def connection_reason(self): + """ + Gets the connection_reason of this AssetDeviceConnection. + If 'connectionStatus' is not equal to Connected, connectionReason provides further details about why the device is not connected with the cloud. + + :return: The connection_reason of this AssetDeviceConnection. + :rtype: str + """ + return self._connection_reason + + @connection_reason.setter + def connection_reason(self, connection_reason): + """ + Sets the connection_reason of this AssetDeviceConnection. + If 'connectionStatus' is not equal to Connected, connectionReason provides further details about why the device is not connected with the cloud. + + :param connection_reason: The connection_reason of this AssetDeviceConnection. + :type: str + """ + + self._connection_reason = connection_reason + + @property + def connection_status(self): + """ + Gets the connection_status of this AssetDeviceConnection. + The status of the persistent connection between the device connector and Intersight. + + :return: The connection_status of this AssetDeviceConnection. + :rtype: str + """ + return self._connection_status + + @connection_status.setter + def connection_status(self, connection_status): + """ + Sets the connection_status of this AssetDeviceConnection. + The status of the persistent connection between the device connector and Intersight. + + :param connection_status: The connection_status of this AssetDeviceConnection. + :type: str + """ + allowed_values = ["", "Connected", "NotConnected"] + if connection_status not in allowed_values: + raise ValueError( + "Invalid value for `connection_status` ({0}), must be one of {1}" + .format(connection_status, allowed_values) + ) + + self._connection_status = connection_status + + @property + def connection_status_last_change_time(self): + """ + Gets the connection_status_last_change_time of this AssetDeviceConnection. + The last time at which the 'connectionStatus' property value changed. If connectionStatus is Connected, this time can be interpreted as the starting time since which a persistent connection has been maintained between the cloud and device connector. If connectionStatus is NotConnected, this time can be interpreted as the last time the device connector was connected with the cloud. + + :return: The connection_status_last_change_time of this AssetDeviceConnection. + :rtype: datetime + """ + return self._connection_status_last_change_time + + @connection_status_last_change_time.setter + def connection_status_last_change_time(self, connection_status_last_change_time): + """ + Sets the connection_status_last_change_time of this AssetDeviceConnection. + The last time at which the 'connectionStatus' property value changed. If connectionStatus is Connected, this time can be interpreted as the starting time since which a persistent connection has been maintained between the cloud and device connector. If connectionStatus is NotConnected, this time can be interpreted as the last time the device connector was connected with the cloud. + + :param connection_status_last_change_time: The connection_status_last_change_time of this AssetDeviceConnection. + :type: datetime + """ + + self._connection_status_last_change_time = connection_status_last_change_time + + @property + def connector_version(self): + """ + Gets the connector_version of this AssetDeviceConnection. + The version of the device connector running on the managed device. + + :return: The connector_version of this AssetDeviceConnection. + :rtype: str + """ + return self._connector_version + + @connector_version.setter + def connector_version(self, connector_version): + """ + Sets the connector_version of this AssetDeviceConnection. + The version of the device connector running on the managed device. + + :param connector_version: The connector_version of this AssetDeviceConnection. + :type: str + """ + + self._connector_version = connector_version + + @property + def device_external_ip_address(self): + """ + Gets the device_external_ip_address of this AssetDeviceConnection. + The IP Address of the managed device as seen from the cloud at the time of registration. Eg this could be the IP of the managed device's interface which has a route to the internet or a NAT IP when the managed device is deployed in a private network. + + :return: The device_external_ip_address of this AssetDeviceConnection. + :rtype: str + """ + return self._device_external_ip_address + + @device_external_ip_address.setter + def device_external_ip_address(self, device_external_ip_address): + """ + Sets the device_external_ip_address of this AssetDeviceConnection. + The IP Address of the managed device as seen from the cloud at the time of registration. Eg this could be the IP of the managed device's interface which has a route to the internet or a NAT IP when the managed device is deployed in a private network. + + :param device_external_ip_address: The device_external_ip_address of this AssetDeviceConnection. + :type: str + """ + + self._device_external_ip_address = device_external_ip_address + + @property + def proxy_app(self): + """ + Gets the proxy_app of this AssetDeviceConnection. + The name of the app which will proxy the messages to the device connector. + + :return: The proxy_app of this AssetDeviceConnection. + :rtype: str + """ + return self._proxy_app + + @proxy_app.setter + def proxy_app(self, proxy_app): + """ + Sets the proxy_app of this AssetDeviceConnection. + The name of the app which will proxy the messages to the device connector. + + :param proxy_app: The proxy_app of this AssetDeviceConnection. + :type: str + """ + + self._proxy_app = proxy_app + + 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, AssetDeviceConnection): + 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/asset_device_connection_ref.py b/intersight/models/asset_device_connection_ref.py new file mode 100644 index 00000000..7ad47ffc --- /dev/null +++ b/intersight/models/asset_device_connection_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class AssetDeviceConnectionRef(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): + """ + AssetDeviceConnectionRef - 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 AssetDeviceConnectionRef. + + :return: The moid of this AssetDeviceConnectionRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this AssetDeviceConnectionRef. + + :param moid: The moid of this AssetDeviceConnectionRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this AssetDeviceConnectionRef. + + :return: The object_type of this AssetDeviceConnectionRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this AssetDeviceConnectionRef. + + :param object_type: The object_type of this AssetDeviceConnectionRef. + :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, AssetDeviceConnectionRef): + 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/asset_device_registration.py b/intersight/models/asset_device_registration.py index a4d8d693..907d9059 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,20 +40,26 @@ class AssetDeviceRegistration(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', - 'access_key': 'str', - 'access_key_id': 'str', - 'account': 'IamAccountRef', 'api_version': 'int', - 'claimed_by_user': 'IamUserRef', - 'claimed_time': 'datetime', + 'app_partition_number': 'int', 'connection_reason': 'str', 'connection_status': 'str', 'connection_status_last_change_time': 'datetime', 'connector_version': 'str', - 'device_claim': 'AssetDeviceClaimRef', 'device_external_ip_address': 'str', + 'proxy_app': 'str', + 'access_key': 'str', + 'access_key_id': 'str', + 'account': 'IamAccountRef', + 'claimed_by_user': 'IamUserRef', + 'claimed_by_user_name': 'str', + 'claimed_time': 'datetime', + 'cluster_members': 'list[AssetClusterMemberRef]', + 'device_claim': 'AssetDeviceClaimRef', + 'device_configuration': 'AssetDeviceConfigurationRef', 'device_hostname': 'list[str]', 'device_ip_address': 'list[str]', + 'domain_group': 'IamDomainGroupRef', 'execution_mode': 'str', 'pid': 'list[str]', 'platform_type': 'str', @@ -74,20 +80,26 @@ class AssetDeviceRegistration(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', - 'access_key': 'AccessKey', - 'access_key_id': 'AccessKeyId', - 'account': 'Account', 'api_version': 'ApiVersion', - 'claimed_by_user': 'ClaimedByUser', - 'claimed_time': 'ClaimedTime', + 'app_partition_number': 'AppPartitionNumber', 'connection_reason': 'ConnectionReason', 'connection_status': 'ConnectionStatus', 'connection_status_last_change_time': 'ConnectionStatusLastChangeTime', 'connector_version': 'ConnectorVersion', - 'device_claim': 'DeviceClaim', 'device_external_ip_address': 'DeviceExternalIpAddress', + 'proxy_app': 'ProxyApp', + 'access_key': 'AccessKey', + 'access_key_id': 'AccessKeyId', + 'account': 'Account', + 'claimed_by_user': 'ClaimedByUser', + 'claimed_by_user_name': 'ClaimedByUserName', + 'claimed_time': 'ClaimedTime', + 'cluster_members': 'ClusterMembers', + 'device_claim': 'DeviceClaim', + 'device_configuration': 'DeviceConfiguration', 'device_hostname': 'DeviceHostname', 'device_ip_address': 'DeviceIpAddress', + 'domain_group': 'DomainGroup', 'execution_mode': 'ExecutionMode', 'pid': 'Pid', 'platform_type': 'PlatformType', @@ -98,7 +110,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, access_key=None, access_key_id=None, account=None, api_version=None, claimed_by_user=None, claimed_time=None, connection_reason=None, connection_status='null', connection_status_last_change_time=None, connector_version=None, device_claim=None, device_external_ip_address=None, device_hostname=None, device_ip_address=None, execution_mode=None, 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, 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): """ AssetDeviceRegistration - a model defined in Swagger """ @@ -112,20 +124,26 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None - self._access_key = None - self._access_key_id = None - self._account = None self._api_version = None - self._claimed_by_user = None - self._claimed_time = None + self._app_partition_number = None self._connection_reason = None self._connection_status = None self._connection_status_last_change_time = None self._connector_version = None - self._device_claim = 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 + self._claimed_by_user_name = None + self._claimed_time = None + self._cluster_members = None + self._device_claim = None + self._device_configuration = None self._device_hostname = None self._device_ip_address = None + self._domain_group = None self._execution_mode = None self._pid = None self._platform_type = None @@ -153,18 +171,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags - 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: - self.account = account if api_version is not None: self.api_version = api_version - if claimed_by_user is not None: - self.claimed_by_user = claimed_by_user - if claimed_time is not None: - self.claimed_time = claimed_time + if app_partition_number is not None: + self.app_partition_number = app_partition_number if connection_reason is not None: self.connection_reason = connection_reason if connection_status is not None: @@ -173,14 +183,34 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.connection_status_last_change_time = connection_status_last_change_time if connector_version is not None: self.connector_version = connector_version - if device_claim is not None: - self.device_claim = device_claim if device_external_ip_address is not None: 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: + self.account = account + if claimed_by_user is not None: + self.claimed_by_user = claimed_by_user + if claimed_by_user_name is not None: + self.claimed_by_user_name = claimed_by_user_name + if claimed_time is not None: + self.claimed_time = claimed_time + if cluster_members is not None: + self.cluster_members = cluster_members + if device_claim is not None: + self.device_claim = device_claim + if device_configuration is not None: + self.device_configuration = device_configuration if device_hostname is not None: self.device_hostname = device_hostname if device_ip_address is not None: self.device_ip_address = device_ip_address + if domain_group is not None: + self.domain_group = domain_group if execution_mode is not None: self.execution_mode = execution_mode if pid is not None: @@ -405,80 +435,11 @@ def tags(self, tags): self._tags = tags - @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. - - :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. - - :param access_key: The access_key of this AssetDeviceRegistration. - :type: str - """ - - self._access_key = access_key - - @property - def access_key_id(self): - """ - Gets the access_key_id of this AssetDeviceRegistration. - Part of the credential used for the device connector to authenticate with the cloud. - - :return: The access_key_id of this AssetDeviceRegistration. - :rtype: str - """ - return self._access_key_id - - @access_key_id.setter - def access_key_id(self, access_key_id): - """ - Sets the access_key_id of this AssetDeviceRegistration. - Part of the credential used for the device connector to authenticate with the cloud. - - :param access_key_id: The access_key_id of this AssetDeviceRegistration. - :type: str - """ - - self._access_key_id = access_key_id - - @property - def account(self): - """ - Gets the account of this AssetDeviceRegistration. - The account to which the device has been claimed. - - :return: The account of this AssetDeviceRegistration. - :rtype: IamAccountRef - """ - return self._account - - @account.setter - def account(self, account): - """ - Sets the account of this AssetDeviceRegistration. - The account to which the device has been claimed. - - :param account: The account of this AssetDeviceRegistration. - :type: IamAccountRef - """ - - self._account = account - @property def api_version(self): """ Gets the api_version of this AssetDeviceRegistration. - The version of the connector api. Describes the capability of the connectors framework. If the version is lower than the current minimum supported version defined in the service managing the connection the device will be connected with limited capabilities until the device is upgraded to a fully supported version. For example if a device connector that was released without delta inventory capabilities registers and connects to Intersight inventory collection may be disabled until it has been upgraded. + The version of the connector api. Describes the capability of the connector's framework. If the version is lower than the current minimum supported version defined in the service managing the connection, the device connector will be connected with limited capabilities until the device connector is upgraded to a fully supported version. For example if a device connector that was released without delta inventory capabilities registers and connects to Intersight, inventory collection may be disabled until it has been upgraded. :return: The api_version of this AssetDeviceRegistration. :rtype: int @@ -489,7 +450,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this AssetDeviceRegistration. - The version of the connector api. Describes the capability of the connectors framework. If the version is lower than the current minimum supported version defined in the service managing the connection the device will be connected with limited capabilities until the device is upgraded to a fully supported version. For example if a device connector that was released without delta inventory capabilities registers and connects to Intersight inventory collection may be disabled until it has been upgraded. + The version of the connector api. Describes the capability of the connector's framework. If the version is lower than the current minimum supported version defined in the service managing the connection, the device connector will be connected with limited capabilities until the device connector is upgraded to a fully supported version. For example if a device connector that was released without delta inventory capabilities registers and connects to Intersight, inventory collection may be disabled until it has been upgraded. :param api_version: The api_version of this AssetDeviceRegistration. :type: int @@ -498,50 +459,27 @@ def api_version(self, api_version): self._api_version = api_version @property - def claimed_by_user(self): + def app_partition_number(self): """ - Gets the claimed_by_user of this AssetDeviceRegistration. - The user who claimed the device for the account. + Gets the app_partition_number of this AssetDeviceRegistration. + The partition number corresponding to the instance of the Proxy App which is managing the web-socket to the device connector. - :return: The claimed_by_user of this AssetDeviceRegistration. - :rtype: IamUserRef - """ - return self._claimed_by_user - - @claimed_by_user.setter - def claimed_by_user(self, claimed_by_user): - """ - Sets the claimed_by_user of this AssetDeviceRegistration. - The user who claimed the device for the account. - - :param claimed_by_user: The claimed_by_user of this AssetDeviceRegistration. - :type: IamUserRef - """ - - self._claimed_by_user = claimed_by_user - - @property - def claimed_time(self): - """ - Gets the claimed_time of this AssetDeviceRegistration. - The date and time at which the device was claimed to this account. - - :return: The claimed_time of this AssetDeviceRegistration. - :rtype: datetime + :return: The app_partition_number of this AssetDeviceRegistration. + :rtype: int """ - return self._claimed_time + return self._app_partition_number - @claimed_time.setter - def claimed_time(self, claimed_time): + @app_partition_number.setter + def app_partition_number(self, app_partition_number): """ - Sets the claimed_time of this AssetDeviceRegistration. - The date and time at which the device was claimed to this account. + Sets the app_partition_number of this AssetDeviceRegistration. + The partition number corresponding to the instance of the Proxy App which is managing the web-socket to the device connector. - :param claimed_time: The claimed_time of this AssetDeviceRegistration. - :type: datetime + :param app_partition_number: The app_partition_number of this AssetDeviceRegistration. + :type: int """ - self._claimed_time = claimed_time + self._app_partition_number = app_partition_number @property def connection_reason(self): @@ -570,7 +508,7 @@ def connection_reason(self, connection_reason): def connection_status(self): """ Gets the connection_status of this AssetDeviceRegistration. - The status of the connection between the device connector and the cloud. Values are [Connected|NotConnected]. + The status of the persistent connection between the device connector and Intersight. :return: The connection_status of this AssetDeviceRegistration. :rtype: str @@ -581,7 +519,7 @@ def connection_status(self): def connection_status(self, connection_status): """ Sets the connection_status of this AssetDeviceRegistration. - The status of the connection between the device connector and the cloud. Values are [Connected|NotConnected]. + The status of the persistent connection between the device connector and Intersight. :param connection_status: The connection_status of this AssetDeviceRegistration. :type: str @@ -622,7 +560,7 @@ def connection_status_last_change_time(self, connection_status_last_change_time) def connector_version(self): """ Gets the connector_version of this AssetDeviceRegistration. - The version of the device connector running on the managed device. The version format is 1.2.3 for Release builds and 1.2.3-456 for Development builds. + The version of the device connector running on the managed device. :return: The connector_version of this AssetDeviceRegistration. :rtype: str @@ -633,7 +571,7 @@ def connector_version(self): def connector_version(self, connector_version): """ Sets the connector_version of this AssetDeviceRegistration. - The version of the device connector running on the managed device. The version format is 1.2.3 for Release builds and 1.2.3-456 for Development builds. + The version of the device connector running on the managed device. :param connector_version: The connector_version of this AssetDeviceRegistration. :type: str @@ -641,10 +579,216 @@ def connector_version(self, connector_version): self._connector_version = connector_version + @property + def device_external_ip_address(self): + """ + Gets the device_external_ip_address of this AssetDeviceRegistration. + The IP Address of the managed device as seen from the cloud at the time of registration. Eg this could be the IP of the managed device's interface which has a route to the internet or a NAT IP when the managed device is deployed in a private network. + + :return: The device_external_ip_address of this AssetDeviceRegistration. + :rtype: str + """ + return self._device_external_ip_address + + @device_external_ip_address.setter + def device_external_ip_address(self, device_external_ip_address): + """ + Sets the device_external_ip_address of this AssetDeviceRegistration. + The IP Address of the managed device as seen from the cloud at the time of registration. Eg this could be the IP of the managed device's interface which has a route to the internet or a NAT IP when the managed device is deployed in a private network. + + :param device_external_ip_address: The device_external_ip_address of this AssetDeviceRegistration. + :type: str + """ + + self._device_external_ip_address = device_external_ip_address + + @property + def proxy_app(self): + """ + Gets the proxy_app of this AssetDeviceRegistration. + The name of the app which will proxy the messages to the device connector. + + :return: The proxy_app of this AssetDeviceRegistration. + :rtype: str + """ + return self._proxy_app + + @proxy_app.setter + def proxy_app(self, proxy_app): + """ + Sets the proxy_app of this AssetDeviceRegistration. + The name of the app which will proxy the messages to the device connector. + + :param proxy_app: The proxy_app of this AssetDeviceRegistration. + :type: str + """ + + 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): + """ + Gets the access_key_id of this AssetDeviceRegistration. + An identifier for the credential used by the device connector to authenticate with Starship. + + :return: The access_key_id of this AssetDeviceRegistration. + :rtype: str + """ + return self._access_key_id + + @access_key_id.setter + def access_key_id(self, access_key_id): + """ + Sets the access_key_id of this AssetDeviceRegistration. + An identifier for the credential used by the device connector to authenticate with Starship. + + :param access_key_id: The access_key_id of this AssetDeviceRegistration. + :type: str + """ + + self._access_key_id = access_key_id + + @property + def account(self): + """ + Gets the account of this AssetDeviceRegistration. + The account to which the device has been claimed. + + :return: The account of this AssetDeviceRegistration. + :rtype: IamAccountRef + """ + return self._account + + @account.setter + def account(self, account): + """ + Sets the account of this AssetDeviceRegistration. + The account to which the device has been claimed. + + :param account: The account of this AssetDeviceRegistration. + :type: IamAccountRef + """ + + self._account = account + + @property + def claimed_by_user(self): + """ + Gets the claimed_by_user of this AssetDeviceRegistration. + The user who claimed the device for the account. + + :return: The claimed_by_user of this AssetDeviceRegistration. + :rtype: IamUserRef + """ + return self._claimed_by_user + + @claimed_by_user.setter + def claimed_by_user(self, claimed_by_user): + """ + Sets the claimed_by_user of this AssetDeviceRegistration. + The user who claimed the device for the account. + + :param claimed_by_user: The claimed_by_user of this AssetDeviceRegistration. + :type: IamUserRef + """ + + self._claimed_by_user = claimed_by_user + + @property + def claimed_by_user_name(self): + """ + Gets the claimed_by_user_name of this AssetDeviceRegistration. + The name of the user who claimed the device for the account. + + :return: The claimed_by_user_name of this AssetDeviceRegistration. + :rtype: str + """ + return self._claimed_by_user_name + + @claimed_by_user_name.setter + def claimed_by_user_name(self, claimed_by_user_name): + """ + Sets the claimed_by_user_name of this AssetDeviceRegistration. + The name of the user who claimed the device for the account. + + :param claimed_by_user_name: The claimed_by_user_name of this AssetDeviceRegistration. + :type: str + """ + + self._claimed_by_user_name = claimed_by_user_name + + @property + def claimed_time(self): + """ + Gets the claimed_time of this AssetDeviceRegistration. + The date and time at which the device was claimed to this account. + + :return: The claimed_time of this AssetDeviceRegistration. + :rtype: datetime + """ + return self._claimed_time + + @claimed_time.setter + def claimed_time(self, claimed_time): + """ + Sets the claimed_time of this AssetDeviceRegistration. + The date and time at which the device was claimed to this account. + + :param claimed_time: The claimed_time of this AssetDeviceRegistration. + :type: datetime + """ + + self._claimed_time = claimed_time + + @property + def cluster_members(self): + """ + Gets the cluster_members of this AssetDeviceRegistration. + + :return: The cluster_members of this AssetDeviceRegistration. + :rtype: list[AssetClusterMemberRef] + """ + return self._cluster_members + + @cluster_members.setter + def cluster_members(self, cluster_members): + """ + Sets the cluster_members of this AssetDeviceRegistration. + + :param cluster_members: The cluster_members of this AssetDeviceRegistration. + :type: list[AssetClusterMemberRef] + """ + + self._cluster_members = cluster_members + @property def device_claim(self): """ Gets the device_claim of this AssetDeviceRegistration. + The user who claimed the device for the account. :return: The device_claim of this AssetDeviceRegistration. :rtype: AssetDeviceClaimRef @@ -655,6 +799,7 @@ def device_claim(self): def device_claim(self, device_claim): """ Sets the device_claim of this AssetDeviceRegistration. + The user who claimed the device for the account. :param device_claim: The device_claim of this AssetDeviceRegistration. :type: AssetDeviceClaimRef @@ -663,27 +808,25 @@ def device_claim(self, device_claim): self._device_claim = device_claim @property - def device_external_ip_address(self): + def device_configuration(self): """ - Gets the device_external_ip_address of this AssetDeviceRegistration. - The IP Address of the managed device as seen from the cloud at the time of registration. Eg this could be the IP of the managed device's interface which has a route to the internet or a NAT IP when the managed device is deployed in a private network. + Gets the device_configuration of this AssetDeviceRegistration. - :return: The device_external_ip_address of this AssetDeviceRegistration. - :rtype: str + :return: The device_configuration of this AssetDeviceRegistration. + :rtype: AssetDeviceConfigurationRef """ - return self._device_external_ip_address + return self._device_configuration - @device_external_ip_address.setter - def device_external_ip_address(self, device_external_ip_address): + @device_configuration.setter + def device_configuration(self, device_configuration): """ - Sets the device_external_ip_address of this AssetDeviceRegistration. - The IP Address of the managed device as seen from the cloud at the time of registration. Eg this could be the IP of the managed device's interface which has a route to the internet or a NAT IP when the managed device is deployed in a private network. + Sets the device_configuration of this AssetDeviceRegistration. - :param device_external_ip_address: The device_external_ip_address of this AssetDeviceRegistration. - :type: str + :param device_configuration: The device_configuration of this AssetDeviceRegistration. + :type: AssetDeviceConfigurationRef """ - self._device_external_ip_address = device_external_ip_address + self._device_configuration = device_configuration @property def device_hostname(self): @@ -731,6 +874,29 @@ def device_ip_address(self, device_ip_address): self._device_ip_address = device_ip_address + @property + def domain_group(self): + """ + Gets the domain_group of this AssetDeviceRegistration. + The domain group to which the device has been assigned. + + :return: The domain_group of this AssetDeviceRegistration. + :rtype: IamDomainGroupRef + """ + return self._domain_group + + @domain_group.setter + def domain_group(self, domain_group): + """ + Sets the domain_group of this AssetDeviceRegistration. + The domain group to which the device has been assigned. + + :param domain_group: The domain_group of this AssetDeviceRegistration. + :type: IamDomainGroupRef + """ + + self._domain_group = domain_group + @property def execution_mode(self): """ @@ -751,6 +917,12 @@ def execution_mode(self, execution_mode): :param execution_mode: The execution_mode of this AssetDeviceRegistration. :type: str """ + allowed_values = ["", "Normal", "Emulator", "ContainerEmulator"] + if execution_mode not in allowed_values: + raise ValueError( + "Invalid value for `execution_mode` ({0}), must be one of {1}" + .format(execution_mode, allowed_values) + ) self._execution_mode = execution_mode @@ -797,7 +969,7 @@ def platform_type(self, platform_type): :param platform_type: The platform_type of this AssetDeviceRegistration. :type: str """ - allowed_values = ["", "UCSFI", "IMC", "IMCM4", "IMCM5", "HX", "UCSD"] + allowed_values = ["", "APIC", "UCSFI", "IMC", "IMCM4", "IMCM5", "HX", "UCSD", "IntersightAppliance", "PureStorage"] if platform_type not in allowed_values: raise ValueError( "Invalid value for `platform_type` ({0}), must be one of {1}" @@ -810,7 +982,7 @@ def platform_type(self, platform_type): def public_access_key(self): """ Gets the public_access_key of this AssetDeviceRegistration. - The devices public key. Used to verify that the signature a device connector sends on connect has been signed by the connectors private key stored on the devices filesystem. Must be a PEM encoded RSA public key string. + The device connector's public key used by the cloud to authenticate a connection from the device connector. The public key is used to verify that the signature a device connector sends on connect has been signed by the connector's private key stored on the device's filesystem. Must be a PEM encoded RSA public key string. :return: The public_access_key of this AssetDeviceRegistration. :rtype: str @@ -821,7 +993,7 @@ def public_access_key(self): def public_access_key(self, public_access_key): """ Sets the public_access_key of this AssetDeviceRegistration. - The devices public key. Used to verify that the signature a device connector sends on connect has been signed by the connectors private key stored on the devices filesystem. Must be a PEM encoded RSA public key string. + The device connector's public key used by the cloud to authenticate a connection from the device connector. The public key is used to verify that the signature a device connector sends on connect has been signed by the connector's private key stored on the device's filesystem. Must be a PEM encoded RSA public key string. :param public_access_key: The public_access_key of this AssetDeviceRegistration. :type: str diff --git a/intersight/models/asset_device_registration_list.py b/intersight/models/asset_device_registration_list.py index 67799fda..063de4da 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3f0b3381..326dc5dd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 453f7926..92506525 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0b25234e..143eec4d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 dd220f58..2804126c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/bios_policy_list.py b/intersight/models/bios_policy_list.py index 0bd2d508..1b903bd1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 055876ba..84d3cb98 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7a32dd49..b124165a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/bios_unit_list.py b/intersight/models/bios_unit_list.py index 39ce2a87..1626c287 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.5-612 + OpenAPI spec version: 1.0.7-681 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 69e780a7..14174767 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.5-612 + OpenAPI spec version: 1.0.7-681 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 96d4cb4b..3da89596 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_device_base.py b/intersight/models/boot_device_base.py index f7622789..74bc83a2 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9ee7686d..5afdf8c7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 37532874..afd4ad8b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_local_disk_ref.py b/intersight/models/boot_local_disk_ref.py index 68219a48..ff1e7cb3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 00af214f..5e5a8e26 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.5-612 + OpenAPI spec version: 1.0.7-681 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 87aece67..edbaa3a6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0b9886e5..47715c57 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.5-612 + OpenAPI spec version: 1.0.7-681 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 40aeca57..da7fae94 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_precision_policy_list.py b/intersight/models/boot_precision_policy_list.py index 985f9ad6..6e907ed9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2c4b510f..d4d9b25c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 68b95b25..8db45028 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.5-612 + OpenAPI spec version: 1.0.7-681 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 85d24ae0..ef6eb378 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6ef86f88..a46e233e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 752b8256..bc0c94cc 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9ea85ede..fcd428ee 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.5-612 + OpenAPI spec version: 1.0.7-681 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 668f320a..8a83fad0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e2b86935..c8ce0574 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..51077cfc --- /dev/null +++ b/intersight/models/comm_ip_v4_interface.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CommIpV4Interface(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 = { + 'gateway': 'str', + 'ip_address': 'str', + 'netmask': 'str' + } + + attribute_map = { + 'gateway': 'Gateway', + 'ip_address': 'IpAddress', + 'netmask': 'Netmask' + } + + def __init__(self, gateway=None, ip_address=None, netmask=None): + """ + CommIpV4Interface - a model defined in Swagger + """ + + self._gateway = None + self._ip_address = None + self._netmask = None + + if gateway is not None: + self.gateway = gateway + if ip_address is not None: + self.ip_address = ip_address + if netmask is not None: + self.netmask = netmask + + @property + def gateway(self): + """ + Gets the gateway of this CommIpV4Interface. + IP Gateway + + :return: The gateway of this CommIpV4Interface. + :rtype: str + """ + return self._gateway + + @gateway.setter + def gateway(self, gateway): + """ + Sets the gateway of this CommIpV4Interface. + IP Gateway + + :param gateway: The gateway of this CommIpV4Interface. + :type: str + """ + + self._gateway = gateway + + @property + def ip_address(self): + """ + Gets the ip_address of this CommIpV4Interface. + IP Address + + :return: The ip_address of this CommIpV4Interface. + :rtype: str + """ + return self._ip_address + + @ip_address.setter + def ip_address(self, ip_address): + """ + Sets the ip_address of this CommIpV4Interface. + IP Address + + :param ip_address: The ip_address of this CommIpV4Interface. + :type: str + """ + + self._ip_address = ip_address + + @property + def netmask(self): + """ + Gets the netmask of this CommIpV4Interface. + IP Netmask + + :return: The netmask of this CommIpV4Interface. + :rtype: str + """ + return self._netmask + + @netmask.setter + def netmask(self, netmask): + """ + Sets the netmask of this CommIpV4Interface. + IP Netmask + + :param netmask: The netmask of this CommIpV4Interface. + :type: str + """ + + self._netmask = netmask + + 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, CommIpV4Interface): + 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/comm_ip_v4_interface_ref.py b/intersight/models/comm_ip_v4_interface_ref.py new file mode 100644 index 00000000..48645b95 --- /dev/null +++ b/intersight/models/comm_ip_v4_interface_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CommIpV4InterfaceRef(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): + """ + CommIpV4InterfaceRef - 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 CommIpV4InterfaceRef. + + :return: The moid of this CommIpV4InterfaceRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this CommIpV4InterfaceRef. + + :param moid: The moid of this CommIpV4InterfaceRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this CommIpV4InterfaceRef. + + :return: The object_type of this CommIpV4InterfaceRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this CommIpV4InterfaceRef. + + :param object_type: The object_type of this CommIpV4InterfaceRef. + :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, CommIpV4InterfaceRef): + 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/comm_ip_v6_interface.py b/intersight/models/comm_ip_v6_interface.py new file mode 100644 index 00000000..3484252f --- /dev/null +++ b/intersight/models/comm_ip_v6_interface.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CommIpV6Interface(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 = { + 'gateway': 'str', + 'ip_address': 'str', + 'prefix': 'str' + } + + attribute_map = { + 'gateway': 'Gateway', + 'ip_address': 'IpAddress', + 'prefix': 'Prefix' + } + + def __init__(self, gateway=None, ip_address=None, prefix=None): + """ + CommIpV6Interface - a model defined in Swagger + """ + + self._gateway = None + self._ip_address = None + self._prefix = None + + if gateway is not None: + self.gateway = gateway + if ip_address is not None: + self.ip_address = ip_address + if prefix is not None: + self.prefix = prefix + + @property + def gateway(self): + """ + Gets the gateway of this CommIpV6Interface. + IP Gateway + + :return: The gateway of this CommIpV6Interface. + :rtype: str + """ + return self._gateway + + @gateway.setter + def gateway(self, gateway): + """ + Sets the gateway of this CommIpV6Interface. + IP Gateway + + :param gateway: The gateway of this CommIpV6Interface. + :type: str + """ + + self._gateway = gateway + + @property + def ip_address(self): + """ + Gets the ip_address of this CommIpV6Interface. + IP Address + + :return: The ip_address of this CommIpV6Interface. + :rtype: str + """ + return self._ip_address + + @ip_address.setter + def ip_address(self, ip_address): + """ + Sets the ip_address of this CommIpV6Interface. + IP Address + + :param ip_address: The ip_address of this CommIpV6Interface. + :type: str + """ + + self._ip_address = ip_address + + @property + def prefix(self): + """ + Gets the prefix of this CommIpV6Interface. + IPv6 Prefix + + :return: The prefix of this CommIpV6Interface. + :rtype: str + """ + return self._prefix + + @prefix.setter + def prefix(self, prefix): + """ + Sets the prefix of this CommIpV6Interface. + IPv6 Prefix + + :param prefix: The prefix of this CommIpV6Interface. + :type: str + """ + + self._prefix = prefix + + 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, CommIpV6Interface): + 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/comm_ip_v6_interface_ref.py b/intersight/models/comm_ip_v6_interface_ref.py new file mode 100644 index 00000000..9ecd0523 --- /dev/null +++ b/intersight/models/comm_ip_v6_interface_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CommIpV6InterfaceRef(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): + """ + CommIpV6InterfaceRef - 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 CommIpV6InterfaceRef. + + :return: The moid of this CommIpV6InterfaceRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this CommIpV6InterfaceRef. + + :param moid: The moid of this CommIpV6InterfaceRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this CommIpV6InterfaceRef. + + :return: The object_type of this CommIpV6InterfaceRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this CommIpV6InterfaceRef. + + :param object_type: The object_type of this CommIpV6InterfaceRef. + :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, CommIpV6InterfaceRef): + 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/compute_blade.py b/intersight/models/compute_blade.py index f36fa544..277276e7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_blade_list.py b/intersight/models/compute_blade_list.py index 0ef619a3..bdeb47cb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7ff749fb..8b6d8d88 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0b53280b..95015131 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_board_list.py b/intersight/models/compute_board_list.py index b95ad00d..295b4872 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.5-612 + OpenAPI spec version: 1.0.7-681 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 1ad0cc34..dc80cad8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 986227a4..ae674ff5 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b28f4653..5064d4a2 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2c576c62..0abd2e63 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.5-612 + OpenAPI spec version: 1.0.7-681 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 156ba4af..5cac971f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 f604abc4..b8562acb 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_physical_ref.py b/intersight/models/compute_physical_ref.py index c3f929cd..321578eb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 198f217a..25f3bb7d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_physical_summary_list.py b/intersight/models/compute_physical_summary_list.py index 05e6925a..1eb4b357 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7594aae0..b0be6b7a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e662e11c..2ef27cd0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_rack_unit_list.py b/intersight/models/compute_rack_unit_list.py index d17c1124..c1ec6526 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.5-612 + OpenAPI spec version: 1.0.7-681 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 f764d765..6cb08ca5 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.5-612 + OpenAPI spec version: 1.0.7-681 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 07559753..2faaaaf0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9947928a..680c70f7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b74ed0f0..3cc79fa9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 bf523c5e..0222a48c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_server_setting_list.py b/intersight/models/compute_server_setting_list.py index fbe5cf50..fa9d1742 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.5-612 + OpenAPI spec version: 1.0.7-681 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 816b06fe..121d36e3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4291165b..663bd8d7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_alarm_list.py b/intersight/models/cond_alarm_list.py index 023a9f7b..dbb3f372 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e2966b9d..57af1e0a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ed4465d4..cfba218e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_hcl_status_detail.py b/intersight/models/cond_hcl_status_detail.py index edb7de98..c2353672 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_hcl_status_detail_list.py b/intersight/models/cond_hcl_status_detail_list.py index dca94e54..24c3b7b1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 38111294..dc686a48 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.5-612 + OpenAPI spec version: 1.0.7-681 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 55986303..e4562fb9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_hcl_status_job_list.py b/intersight/models/cond_hcl_status_job_list.py index b1477b45..168a099d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a004a8e1..d783b14b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 12c2d240..044821dc 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.5-612 + OpenAPI spec version: 1.0.7-681 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 458154a5..f3d935d5 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7211823f..12fafec2 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.5-612 + OpenAPI spec version: 1.0.7-681 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 36f144e1..56e875e1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..494482ca --- /dev/null +++ b/intersight/models/connector_close_stream_message.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorCloseStreamMessage(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 = { + 'stream_name': 'str' + } + + attribute_map = { + 'stream_name': 'StreamName' + } + + def __init__(self, stream_name=None): + """ + ConnectorCloseStreamMessage - a model defined in Swagger + """ + + self._stream_name = None + + if stream_name is not None: + self.stream_name = stream_name + + @property + def stream_name(self): + """ + Gets the stream_name of this ConnectorCloseStreamMessage. + The requested stream name. Stream names are unique per device endpoint. + + :return: The stream_name of this ConnectorCloseStreamMessage. + :rtype: str + """ + return self._stream_name + + @stream_name.setter + def stream_name(self, stream_name): + """ + Sets the stream_name of this ConnectorCloseStreamMessage. + The requested stream name. Stream names are unique per device endpoint. + + :param stream_name: The stream_name of this ConnectorCloseStreamMessage. + :type: str + """ + + self._stream_name = stream_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, ConnectorCloseStreamMessage): + 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/connector_close_stream_message_ref.py b/intersight/models/connector_close_stream_message_ref.py new file mode 100644 index 00000000..01a2b481 --- /dev/null +++ b/intersight/models/connector_close_stream_message_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorCloseStreamMessageRef(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): + """ + ConnectorCloseStreamMessageRef - 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 ConnectorCloseStreamMessageRef. + + :return: The moid of this ConnectorCloseStreamMessageRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ConnectorCloseStreamMessageRef. + + :param moid: The moid of this ConnectorCloseStreamMessageRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ConnectorCloseStreamMessageRef. + + :return: The object_type of this ConnectorCloseStreamMessageRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ConnectorCloseStreamMessageRef. + + :param object_type: The object_type of this ConnectorCloseStreamMessageRef. + :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, ConnectorCloseStreamMessageRef): + 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/connector_command_message_ref.py b/intersight/models/connector_command_message_ref.py index 04e14211..ba2754e0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..654f88b1 --- /dev/null +++ b/intersight/models/connector_control_message_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorControlMessageRef(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): + """ + ConnectorControlMessageRef - 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 ConnectorControlMessageRef. + + :return: The moid of this ConnectorControlMessageRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ConnectorControlMessageRef. + + :param moid: The moid of this ConnectorControlMessageRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ConnectorControlMessageRef. + + :return: The object_type of this ConnectorControlMessageRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ConnectorControlMessageRef. + + :param object_type: The object_type of this ConnectorControlMessageRef. + :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, ConnectorControlMessageRef): + 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/connector_event_channel_control_ref.py b/intersight/models/connector_event_channel_control_ref.py index 6f799388..a81f43db 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9b32bcb0..f2106c07 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..58e9e931 --- /dev/null +++ b/intersight/models/connector_fetch_stream_message.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorFetchStreamMessage(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 = { + 'stream_name': 'str', + 'sequences': 'list[int]' + } + + attribute_map = { + 'stream_name': 'StreamName', + 'sequences': 'Sequences' + } + + def __init__(self, stream_name=None, sequences=None): + """ + ConnectorFetchStreamMessage - a model defined in Swagger + """ + + self._stream_name = None + self._sequences = None + + if stream_name is not None: + self.stream_name = stream_name + if sequences is not None: + self.sequences = sequences + + @property + def stream_name(self): + """ + Gets the stream_name of this ConnectorFetchStreamMessage. + The requested stream name. Stream names are unique per device endpoint. + + :return: The stream_name of this ConnectorFetchStreamMessage. + :rtype: str + """ + return self._stream_name + + @stream_name.setter + def stream_name(self, stream_name): + """ + Sets the stream_name of this ConnectorFetchStreamMessage. + The requested stream name. Stream names are unique per device endpoint. + + :param stream_name: The stream_name of this ConnectorFetchStreamMessage. + :type: str + """ + + self._stream_name = stream_name + + @property + def sequences(self): + """ + Gets the sequences of this ConnectorFetchStreamMessage. + List of sequences to retrieve from the stream cache + + :return: The sequences of this ConnectorFetchStreamMessage. + :rtype: list[int] + """ + return self._sequences + + @sequences.setter + def sequences(self, sequences): + """ + Sets the sequences of this ConnectorFetchStreamMessage. + List of sequences to retrieve from the stream cache + + :param sequences: The sequences of this ConnectorFetchStreamMessage. + :type: list[int] + """ + + self._sequences = sequences + + 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, ConnectorFetchStreamMessage): + 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/connector_fetch_stream_message_ref.py b/intersight/models/connector_fetch_stream_message_ref.py new file mode 100644 index 00000000..334f970c --- /dev/null +++ b/intersight/models/connector_fetch_stream_message_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorFetchStreamMessageRef(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): + """ + ConnectorFetchStreamMessageRef - 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 ConnectorFetchStreamMessageRef. + + :return: The moid of this ConnectorFetchStreamMessageRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ConnectorFetchStreamMessageRef. + + :param moid: The moid of this ConnectorFetchStreamMessageRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ConnectorFetchStreamMessageRef. + + :return: The object_type of this ConnectorFetchStreamMessageRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ConnectorFetchStreamMessageRef. + + :param object_type: The object_type of this ConnectorFetchStreamMessageRef. + :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, ConnectorFetchStreamMessageRef): + 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/connector_job_async_response_ref.py b/intersight/models/connector_job_async_response_ref.py index 12c3d319..c7e5c770 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6c7b576d..7ddda363 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..2f18ed4e --- /dev/null +++ b/intersight/models/connector_start_stream.py @@ -0,0 +1,321 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorStartStream(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 = { + 'stream_name': 'str', + 'batch_size': 'int', + 'force_rebuild': 'bool', + 'input': 'str', + 'plugin_name': 'str', + 'poll_interval': 'int', + 'priority': 'int', + 'response_topic': 'str' + } + + attribute_map = { + 'stream_name': 'StreamName', + 'batch_size': 'BatchSize', + 'force_rebuild': 'ForceRebuild', + 'input': 'Input', + 'plugin_name': 'PluginName', + 'poll_interval': 'PollInterval', + 'priority': 'Priority', + 'response_topic': 'ResponseTopic' + } + + def __init__(self, stream_name=None, batch_size=None, force_rebuild=None, input=None, plugin_name=None, poll_interval=None, priority=None, response_topic=None): + """ + ConnectorStartStream - a model defined in Swagger + """ + + self._stream_name = None + self._batch_size = None + self._force_rebuild = None + self._input = None + self._plugin_name = None + self._poll_interval = None + self._priority = None + self._response_topic = None + + if stream_name is not None: + self.stream_name = stream_name + if batch_size is not None: + self.batch_size = batch_size + if force_rebuild is not None: + self.force_rebuild = force_rebuild + if input is not None: + self.input = input + if plugin_name is not None: + self.plugin_name = plugin_name + if poll_interval is not None: + self.poll_interval = poll_interval + if priority is not None: + self.priority = priority + if response_topic is not None: + self.response_topic = response_topic + + @property + def stream_name(self): + """ + Gets the stream_name of this ConnectorStartStream. + The requested stream name. Stream names are unique per device endpoint. + + :return: The stream_name of this ConnectorStartStream. + :rtype: str + """ + return self._stream_name + + @stream_name.setter + def stream_name(self, stream_name): + """ + Sets the stream_name of this ConnectorStartStream. + The requested stream name. Stream names are unique per device endpoint. + + :param stream_name: The stream_name of this ConnectorStartStream. + :type: str + """ + + self._stream_name = stream_name + + @property + def batch_size(self): + """ + Gets the batch_size of this ConnectorStartStream. + The number of outputs from a plugin to collect into a single message. Applicable only to streams that involve polling plugins and plugins which support emitting batchable data. Default value of zero indicates no batching. + + :return: The batch_size of this ConnectorStartStream. + :rtype: int + """ + return self._batch_size + + @batch_size.setter + def batch_size(self, batch_size): + """ + Sets the batch_size of this ConnectorStartStream. + The number of outputs from a plugin to collect into a single message. Applicable only to streams that involve polling plugins and plugins which support emitting batchable data. Default value of zero indicates no batching. + + :param batch_size: The batch_size of this ConnectorStartStream. + :type: int + """ + + self._batch_size = batch_size + + @property + def force_rebuild(self): + """ + Gets the force_rebuild of this ConnectorStartStream. + Flag to force a rebuild of an existing stream. To be used if a stream is unable to recover itself in response to dropped messages. + + :return: The force_rebuild of this ConnectorStartStream. + :rtype: bool + """ + return self._force_rebuild + + @force_rebuild.setter + def force_rebuild(self, force_rebuild): + """ + Sets the force_rebuild of this ConnectorStartStream. + Flag to force a rebuild of an existing stream. To be used if a stream is unable to recover itself in response to dropped messages. + + :param force_rebuild: The force_rebuild of this ConnectorStartStream. + :type: bool + """ + + self._force_rebuild = force_rebuild + + @property + def input(self): + """ + Gets the input of this ConnectorStartStream. + Input to the plugin to start the start the stream or collect stream messages. + + :return: The input of this ConnectorStartStream. + :rtype: str + """ + return self._input + + @input.setter + def input(self, input): + """ + Sets the input of this ConnectorStartStream. + Input to the plugin to start the start the stream or collect stream messages. + + :param input: The input of this ConnectorStartStream. + :type: str + """ + + self._input = input + + @property + def plugin_name(self): + """ + Gets the plugin_name of this ConnectorStartStream. + The plugin to run the stream on + + :return: The plugin_name of this ConnectorStartStream. + :rtype: str + """ + return self._plugin_name + + @plugin_name.setter + def plugin_name(self, plugin_name): + """ + Sets the plugin_name of this ConnectorStartStream. + The plugin to run the stream on + + :param plugin_name: The plugin_name of this ConnectorStartStream. + :type: str + """ + + self._plugin_name = plugin_name + + @property + def poll_interval(self): + """ + Gets the poll_interval of this ConnectorStartStream. + The desired interval to emit messages from this stream. The stream plugin will poll plugins at this interval to create a stream event. + + :return: The poll_interval of this ConnectorStartStream. + :rtype: int + """ + return self._poll_interval + + @poll_interval.setter + def poll_interval(self, poll_interval): + """ + Sets the poll_interval of this ConnectorStartStream. + The desired interval to emit messages from this stream. The stream plugin will poll plugins at this interval to create a stream event. + + :param poll_interval: The poll_interval of this ConnectorStartStream. + :type: int + """ + + self._poll_interval = poll_interval + + @property + def priority(self): + """ + Gets the priority of this ConnectorStartStream. + The priority level to apply to messages emitted by this stream + + :return: The priority of this ConnectorStartStream. + :rtype: int + """ + return self._priority + + @priority.setter + def priority(self, priority): + """ + Sets the priority of this ConnectorStartStream. + The priority level to apply to messages emitted by this stream + + :param priority: The priority of this ConnectorStartStream. + :type: int + """ + + self._priority = priority + + @property + def response_topic(self): + """ + Gets the response_topic of this ConnectorStartStream. + The topic for the device connector to publish messages to. + + :return: The response_topic of this ConnectorStartStream. + :rtype: str + """ + return self._response_topic + + @response_topic.setter + def response_topic(self, response_topic): + """ + Sets the response_topic of this ConnectorStartStream. + The topic for the device connector to publish messages to. + + :param response_topic: The response_topic of this ConnectorStartStream. + :type: str + """ + + self._response_topic = response_topic + + 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, ConnectorStartStream): + 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/connector_start_stream_ref.py b/intersight/models/connector_start_stream_ref.py new file mode 100644 index 00000000..943f298d --- /dev/null +++ b/intersight/models/connector_start_stream_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorStartStreamRef(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): + """ + ConnectorStartStreamRef - 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 ConnectorStartStreamRef. + + :return: The moid of this ConnectorStartStreamRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ConnectorStartStreamRef. + + :param moid: The moid of this ConnectorStartStreamRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ConnectorStartStreamRef. + + :return: The object_type of this ConnectorStartStreamRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ConnectorStartStreamRef. + + :param object_type: The object_type of this ConnectorStartStreamRef. + :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, ConnectorStartStreamRef): + 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/connector_stream_input.py b/intersight/models/connector_stream_input.py new file mode 100644 index 00000000..013d935b --- /dev/null +++ b/intersight/models/connector_stream_input.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorStreamInput(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 = { + 'stream_name': 'str', + 'input': 'str' + } + + attribute_map = { + 'stream_name': 'StreamName', + 'input': 'Input' + } + + def __init__(self, stream_name=None, input=None): + """ + ConnectorStreamInput - a model defined in Swagger + """ + + self._stream_name = None + self._input = None + + if stream_name is not None: + self.stream_name = stream_name + if input is not None: + self.input = input + + @property + def stream_name(self): + """ + Gets the stream_name of this ConnectorStreamInput. + The requested stream name. Stream names are unique per device endpoint. + + :return: The stream_name of this ConnectorStreamInput. + :rtype: str + """ + return self._stream_name + + @stream_name.setter + def stream_name(self, stream_name): + """ + Sets the stream_name of this ConnectorStreamInput. + The requested stream name. Stream names are unique per device endpoint. + + :param stream_name: The stream_name of this ConnectorStreamInput. + :type: str + """ + + self._stream_name = stream_name + + @property + def input(self): + """ + Gets the input of this ConnectorStreamInput. + The input to write to the stream plugin + + :return: The input of this ConnectorStreamInput. + :rtype: str + """ + return self._input + + @input.setter + def input(self, input): + """ + Sets the input of this ConnectorStreamInput. + The input to write to the stream plugin + + :param input: The input of this ConnectorStreamInput. + :type: str + """ + + self._input = input + + 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, ConnectorStreamInput): + 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/connector_stream_input_ref.py b/intersight/models/connector_stream_input_ref.py new file mode 100644 index 00000000..2afaa650 --- /dev/null +++ b/intersight/models/connector_stream_input_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorStreamInputRef(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): + """ + ConnectorStreamInputRef - 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 ConnectorStreamInputRef. + + :return: The moid of this ConnectorStreamInputRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ConnectorStreamInputRef. + + :param moid: The moid of this ConnectorStreamInputRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ConnectorStreamInputRef. + + :return: The object_type of this ConnectorStreamInputRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ConnectorStreamInputRef. + + :param object_type: The object_type of this ConnectorStreamInputRef. + :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, ConnectorStreamInputRef): + 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/connector_stream_message.py b/intersight/models/connector_stream_message.py new file mode 100644 index 00000000..05b4b47d --- /dev/null +++ b/intersight/models/connector_stream_message.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorStreamMessage(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 = { + 'stream_name': 'str' + } + + attribute_map = { + 'stream_name': 'StreamName' + } + + def __init__(self, stream_name=None): + """ + ConnectorStreamMessage - a model defined in Swagger + """ + + self._stream_name = None + + if stream_name is not None: + self.stream_name = stream_name + + @property + def stream_name(self): + """ + Gets the stream_name of this ConnectorStreamMessage. + The requested stream name. Stream names are unique per device endpoint. + + :return: The stream_name of this ConnectorStreamMessage. + :rtype: str + """ + return self._stream_name + + @stream_name.setter + def stream_name(self, stream_name): + """ + Sets the stream_name of this ConnectorStreamMessage. + The requested stream name. Stream names are unique per device endpoint. + + :param stream_name: The stream_name of this ConnectorStreamMessage. + :type: str + """ + + self._stream_name = stream_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, ConnectorStreamMessage): + 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/connector_stream_message_ref.py b/intersight/models/connector_stream_message_ref.py new file mode 100644 index 00000000..341b73e9 --- /dev/null +++ b/intersight/models/connector_stream_message_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorStreamMessageRef(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): + """ + ConnectorStreamMessageRef - 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 ConnectorStreamMessageRef. + + :return: The moid of this ConnectorStreamMessageRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ConnectorStreamMessageRef. + + :param moid: The moid of this ConnectorStreamMessageRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ConnectorStreamMessageRef. + + :return: The object_type of this ConnectorStreamMessageRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ConnectorStreamMessageRef. + + :param object_type: The object_type of this ConnectorStreamMessageRef. + :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, ConnectorStreamMessageRef): + 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/connector_stream_ref.py b/intersight/models/connector_stream_ref.py new file mode 100644 index 00000000..af51a097 --- /dev/null +++ b/intersight/models/connector_stream_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorStreamRef(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): + """ + ConnectorStreamRef - 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 ConnectorStreamRef. + + :return: The moid of this ConnectorStreamRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ConnectorStreamRef. + + :param moid: The moid of this ConnectorStreamRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ConnectorStreamRef. + + :return: The object_type of this ConnectorStreamRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ConnectorStreamRef. + + :param object_type: The object_type of this ConnectorStreamRef. + :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, ConnectorStreamRef): + 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/connector_xml_api_message_ref.py b/intersight/models/connector_xml_api_message_ref.py index 96e6d7bb..856b84a1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..60842094 --- /dev/null +++ b/intersight/models/connectorpack_connector_pack_summary.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorpackConnectorPackSummary(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 = { + 'downloaded_version': 'str', + 'name': 'str', + 'version': 'str' + } + + attribute_map = { + 'downloaded_version': 'DownloadedVersion', + 'name': 'Name', + 'version': 'Version' + } + + def __init__(self, downloaded_version=None, name=None, version=None): + """ + ConnectorpackConnectorPackSummary - a model defined in Swagger + """ + + self._downloaded_version = None + self._name = None + self._version = None + + if downloaded_version is not None: + self.downloaded_version = downloaded_version + if name is not None: + self.name = name + if version is not None: + self.version = version + + @property + def downloaded_version(self): + """ + Gets the downloaded_version of this ConnectorpackConnectorPackSummary. + Downloaded version of connector pack image in UCS Director + + :return: The downloaded_version of this ConnectorpackConnectorPackSummary. + :rtype: str + """ + return self._downloaded_version + + @downloaded_version.setter + def downloaded_version(self, downloaded_version): + """ + Sets the downloaded_version of this ConnectorpackConnectorPackSummary. + Downloaded version of connector pack image in UCS Director + + :param downloaded_version: The downloaded_version of this ConnectorpackConnectorPackSummary. + :type: str + """ + + self._downloaded_version = downloaded_version + + @property + def name(self): + """ + Gets the name of this ConnectorpackConnectorPackSummary. + Name of connector pack running in UCS Director + + :return: The name of this ConnectorpackConnectorPackSummary. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this ConnectorpackConnectorPackSummary. + Name of connector pack running in UCS Director + + :param name: The name of this ConnectorpackConnectorPackSummary. + :type: str + """ + + self._name = name + + @property + def version(self): + """ + Gets the version of this ConnectorpackConnectorPackSummary. + Running connector pack version in UCS Director + + :return: The version of this ConnectorpackConnectorPackSummary. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """ + Sets the version of this ConnectorpackConnectorPackSummary. + Running connector pack version in UCS Director + + :param version: The version of this ConnectorpackConnectorPackSummary. + :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, ConnectorpackConnectorPackSummary): + 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/connectorpack_connector_pack_summary_ref.py b/intersight/models/connectorpack_connector_pack_summary_ref.py new file mode 100644 index 00000000..67531f6b --- /dev/null +++ b/intersight/models/connectorpack_connector_pack_summary_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorpackConnectorPackSummaryRef(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): + """ + ConnectorpackConnectorPackSummaryRef - 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 ConnectorpackConnectorPackSummaryRef. + + :return: The moid of this ConnectorpackConnectorPackSummaryRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ConnectorpackConnectorPackSummaryRef. + + :param moid: The moid of this ConnectorpackConnectorPackSummaryRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ConnectorpackConnectorPackSummaryRef. + + :return: The object_type of this ConnectorpackConnectorPackSummaryRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ConnectorpackConnectorPackSummaryRef. + + :param object_type: The object_type of this ConnectorpackConnectorPackSummaryRef. + :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, ConnectorpackConnectorPackSummaryRef): + 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/connectorpack_upgrade_ref.py b/intersight/models/connectorpack_upgrade_ref.py new file mode 100644 index 00000000..b697e155 --- /dev/null +++ b/intersight/models/connectorpack_upgrade_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ConnectorpackUpgradeRef(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): + """ + ConnectorpackUpgradeRef - 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 ConnectorpackUpgradeRef. + + :return: The moid of this ConnectorpackUpgradeRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ConnectorpackUpgradeRef. + + :param moid: The moid of this ConnectorpackUpgradeRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ConnectorpackUpgradeRef. + + :return: The object_type of this ConnectorpackUpgradeRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ConnectorpackUpgradeRef. + + :param object_type: The object_type of this ConnectorpackUpgradeRef. + :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, ConnectorpackUpgradeRef): + 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/crypt_account_key_ref.py b/intersight/models/crypt_account_key_ref.py index b728071e..0c8a35a0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 80225c8d..155209f3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0da94749..1dc0e831 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8636e24e..363d71c1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e1ebf898..901d8fc6 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/crypt_encryption_token_list.py b/intersight/models/crypt_encryption_token_list.py index 418eca97..e2c7d418 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b0322edf..d05b6b19 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/deviceinfo_serial_number_info.py b/intersight/models/deviceinfo_serial_number_info.py index ee4d35f1..1f83fc3b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/deviceinfo_serial_number_info_list.py b/intersight/models/deviceinfo_serial_number_info_list.py index 4e0d15dd..af5744bd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a75b2633..56219896 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..60e9ae91 --- /dev/null +++ b/intersight/models/devops_abstract_trigger_details.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DevopsAbstractTriggerDetails(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 = { + + } + + attribute_map = { + + } + + def __init__(self): + """ + DevopsAbstractTriggerDetails - a model defined in Swagger + """ + + + + 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, DevopsAbstractTriggerDetails): + 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/devops_abstract_trigger_details_ref.py b/intersight/models/devops_abstract_trigger_details_ref.py new file mode 100644 index 00000000..86578520 --- /dev/null +++ b/intersight/models/devops_abstract_trigger_details_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DevopsAbstractTriggerDetailsRef(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): + """ + DevopsAbstractTriggerDetailsRef - 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 DevopsAbstractTriggerDetailsRef. + + :return: The moid of this DevopsAbstractTriggerDetailsRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this DevopsAbstractTriggerDetailsRef. + + :param moid: The moid of this DevopsAbstractTriggerDetailsRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this DevopsAbstractTriggerDetailsRef. + + :return: The object_type of this DevopsAbstractTriggerDetailsRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this DevopsAbstractTriggerDetailsRef. + + :param object_type: The object_type of this DevopsAbstractTriggerDetailsRef. + :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, DevopsAbstractTriggerDetailsRef): + 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/devops_notification_trigger.py b/intersight/models/devops_notification_trigger.py new file mode 100644 index 00000000..4bb6f670 --- /dev/null +++ b/intersight/models/devops_notification_trigger.py @@ -0,0 +1,305 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DevopsNotificationTrigger(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': 'str', + 'domain_group': 'str', + 'mo_type': 'str', + 'modification_type': 'str', + 'moid': 'str', + 'security_context_subject': 'str', + 'security_context_type': 'str' + } + + attribute_map = { + 'account': 'Account', + 'domain_group': 'DomainGroup', + 'mo_type': 'MoType', + 'modification_type': 'ModificationType', + 'moid': 'Moid', + 'security_context_subject': 'SecurityContextSubject', + 'security_context_type': 'SecurityContextType' + } + + def __init__(self, account=None, domain_group=None, mo_type=None, modification_type='Update', moid=None, security_context_subject=None, security_context_type='AccountContext'): + """ + DevopsNotificationTrigger - a model defined in Swagger + """ + + self._account = None + self._domain_group = None + self._mo_type = None + self._modification_type = None + self._moid = None + self._security_context_subject = None + self._security_context_type = None + + if account is not None: + self.account = account + if domain_group is not None: + self.domain_group = domain_group + if mo_type is not None: + self.mo_type = mo_type + if modification_type is not None: + self.modification_type = modification_type + if moid is not None: + self.moid = moid + if security_context_subject is not None: + self.security_context_subject = security_context_subject + if security_context_type is not None: + self.security_context_type = security_context_type + + @property + def account(self): + """ + Gets the account of this DevopsNotificationTrigger. + The Moid of the Account to which the MO identified by the 'moid' field belonged. This field is mandatory when modificationType is Delete and is ignored for other values of modificationType. + + :return: The account of this DevopsNotificationTrigger. + :rtype: str + """ + return self._account + + @account.setter + def account(self, account): + """ + Sets the account of this DevopsNotificationTrigger. + The Moid of the Account to which the MO identified by the 'moid' field belonged. This field is mandatory when modificationType is Delete and is ignored for other values of modificationType. + + :param account: The account of this DevopsNotificationTrigger. + :type: str + """ + + self._account = account + + @property + def domain_group(self): + """ + Gets the domain_group of this DevopsNotificationTrigger. + The Moid of the DomainGroup to which the MO identified by the 'moid' field belonged. This field is mandatory when modificationType is Delete and is ignored for other values of modificationType. + + :return: The domain_group of this DevopsNotificationTrigger. + :rtype: str + """ + return self._domain_group + + @domain_group.setter + def domain_group(self, domain_group): + """ + Sets the domain_group of this DevopsNotificationTrigger. + The Moid of the DomainGroup to which the MO identified by the 'moid' field belonged. This field is mandatory when modificationType is Delete and is ignored for other values of modificationType. + + :param domain_group: The domain_group of this DevopsNotificationTrigger. + :type: str + """ + + self._domain_group = domain_group + + @property + def mo_type(self): + """ + Gets the mo_type of this DevopsNotificationTrigger. + The type of the MO such as iam.Account. + + :return: The mo_type of this DevopsNotificationTrigger. + :rtype: str + """ + return self._mo_type + + @mo_type.setter + def mo_type(self, mo_type): + """ + Sets the mo_type of this DevopsNotificationTrigger. + The type of the MO such as iam.Account. + + :param mo_type: The mo_type of this DevopsNotificationTrigger. + :type: str + """ + + self._mo_type = mo_type + + @property + def modification_type(self): + """ + Gets the modification_type of this DevopsNotificationTrigger. + Indicates the type of change notification. + + :return: The modification_type of this DevopsNotificationTrigger. + :rtype: str + """ + return self._modification_type + + @modification_type.setter + def modification_type(self, modification_type): + """ + Sets the modification_type of this DevopsNotificationTrigger. + Indicates the type of change notification. + + :param modification_type: The modification_type of this DevopsNotificationTrigger. + :type: str + """ + allowed_values = ["Update", "Create", "Read", "Delete"] + if modification_type not in allowed_values: + raise ValueError( + "Invalid value for `modification_type` ({0}), must be one of {1}" + .format(modification_type, allowed_values) + ) + + self._modification_type = modification_type + + @property + def moid(self): + """ + Gets the moid of this DevopsNotificationTrigger. + The Moid of the MO. + + :return: The moid of this DevopsNotificationTrigger. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this DevopsNotificationTrigger. + The Moid of the MO. + + :param moid: The moid of this DevopsNotificationTrigger. + :type: str + """ + + self._moid = moid + + @property + def security_context_subject(self): + """ + Gets the security_context_subject of this DevopsNotificationTrigger. + A securityContextSubject must be specified when the securityContextType is AccountContext or DeviceContext. The field is the Moid of the respective iam.Account of asset.DeviceRegistration. + + :return: The security_context_subject of this DevopsNotificationTrigger. + :rtype: str + """ + return self._security_context_subject + + @security_context_subject.setter + def security_context_subject(self, security_context_subject): + """ + Sets the security_context_subject of this DevopsNotificationTrigger. + A securityContextSubject must be specified when the securityContextType is AccountContext or DeviceContext. The field is the Moid of the respective iam.Account of asset.DeviceRegistration. + + :param security_context_subject: The security_context_subject of this DevopsNotificationTrigger. + :type: str + """ + + self._security_context_subject = security_context_subject + + @property + def security_context_type(self): + """ + Gets the security_context_type of this DevopsNotificationTrigger. + In some scenarios it is necessary for change notifications to be processed in SystemContext. For example, when a device is claimed or unclaimed the notification must execute in SystemContext in order to move MOs related to the device between accounts. + + :return: The security_context_type of this DevopsNotificationTrigger. + :rtype: str + """ + return self._security_context_type + + @security_context_type.setter + def security_context_type(self, security_context_type): + """ + Sets the security_context_type of this DevopsNotificationTrigger. + In some scenarios it is necessary for change notifications to be processed in SystemContext. For example, when a device is claimed or unclaimed the notification must execute in SystemContext in order to move MOs related to the device between accounts. + + :param security_context_type: The security_context_type of this DevopsNotificationTrigger. + :type: str + """ + allowed_values = ["AccountContext", "SystemContext", "DeviceContext"] + if security_context_type not in allowed_values: + raise ValueError( + "Invalid value for `security_context_type` ({0}), must be one of {1}" + .format(security_context_type, allowed_values) + ) + + self._security_context_type = security_context_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, DevopsNotificationTrigger): + 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/devops_notification_trigger_ref.py b/intersight/models/devops_notification_trigger_ref.py new file mode 100644 index 00000000..572d201c --- /dev/null +++ b/intersight/models/devops_notification_trigger_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DevopsNotificationTriggerRef(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): + """ + DevopsNotificationTriggerRef - 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 DevopsNotificationTriggerRef. + + :return: The moid of this DevopsNotificationTriggerRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this DevopsNotificationTriggerRef. + + :param moid: The moid of this DevopsNotificationTriggerRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this DevopsNotificationTriggerRef. + + :return: The object_type of this DevopsNotificationTriggerRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this DevopsNotificationTriggerRef. + + :param object_type: The object_type of this DevopsNotificationTriggerRef. + :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, DevopsNotificationTriggerRef): + 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/devops_trigger_ref.py b/intersight/models/devops_trigger_ref.py new file mode 100644 index 00000000..4bf61628 --- /dev/null +++ b/intersight/models/devops_trigger_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DevopsTriggerRef(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): + """ + DevopsTriggerRef - 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 DevopsTriggerRef. + + :return: The moid of this DevopsTriggerRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this DevopsTriggerRef. + + :param moid: The moid of this DevopsTriggerRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this DevopsTriggerRef. + + :return: The object_type of this DevopsTriggerRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this DevopsTriggerRef. + + :param object_type: The object_type of this DevopsTriggerRef. + :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, DevopsTriggerRef): + 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/epansible_runner_ref.py b/intersight/models/epansible_runner_ref.py new file mode 100644 index 00000000..eb6eb107 --- /dev/null +++ b/intersight/models/epansible_runner_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EpansibleRunnerRef(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): + """ + EpansibleRunnerRef - 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 EpansibleRunnerRef. + + :return: The moid of this EpansibleRunnerRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this EpansibleRunnerRef. + + :param moid: The moid of this EpansibleRunnerRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this EpansibleRunnerRef. + + :return: The object_type of this EpansibleRunnerRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this EpansibleRunnerRef. + + :param object_type: The object_type of this EpansibleRunnerRef. + :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, EpansibleRunnerRef): + 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_base.py b/intersight/models/equipment_base.py index 4cd803ec..3b49c125 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_base_ref.py b/intersight/models/equipment_base_ref.py index ff93aa84..39a95165 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d7f0ca76..2318e9e2 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_chassis_list.py b/intersight/models/equipment_chassis_list.py index 5b8a7bc3..511de19d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3dddcb5b..06dd1b15 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.5-612 + OpenAPI spec version: 1.0.7-681 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 15de4804..d82fb38e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_device_summary_list.py b/intersight/models/equipment_device_summary_list.py index 3ea7e5d3..fa349275 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b37afcf0..d0bff693 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.5-612 + OpenAPI spec version: 1.0.7-681 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 98ccbbed..36497983 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_fan_list.py b/intersight/models/equipment_fan_list.py index ac3f48a6..096dc10f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6bce006c..ee38be6e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_fan_module_list.py b/intersight/models/equipment_fan_module_list.py index 9719783d..397af8f8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4cb1d311..f0d82d7c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6795261f..f1de8a2b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5a76e2a3..d381394b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_fex_list.py b/intersight/models/equipment_fex_list.py index 291194fc..2dd9ed01 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.5-612 + OpenAPI spec version: 1.0.7-681 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 81bca166..98339dff 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.5-612 + OpenAPI spec version: 1.0.7-681 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 29388d9f..c9efac82 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_io_card_list.py b/intersight/models/equipment_io_card_list.py index dcbed4b0..d120252c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a3daad86..4989eeff 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_locator_led.py b/intersight/models/equipment_locator_led.py index e9783011..70834a3e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_locator_led_list.py b/intersight/models/equipment_locator_led_list.py index 00059250..92547acb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2e1204bc..11040964 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.5-612 + OpenAPI spec version: 1.0.7-681 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 22d0a9f3..a3eac957 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_psu_list.py b/intersight/models/equipment_psu_list.py index 7519b806..2ad621e5 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8006e373..93e51133 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_switch_card.py b/intersight/models/equipment_switch_card.py index 796c7130..25ca0141 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_switch_card_list.py b/intersight/models/equipment_switch_card_list.py index 2eddec81..dd59e3c9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 1dc02ede..51242318 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9ee4fc29..42ab755b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_system_io_controller_list.py b/intersight/models/equipment_system_io_controller_list.py index 55e1edec..8153a3d1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9bb3e678..6b949103 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/error.py b/intersight/models/error.py index 3b84592f..5b009c4a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,25 +31,58 @@ class Error(object): and the value is json key in definition. """ swagger_types = { + 'cause': 'Error', 'code': 'int', - 'message': 'str' + 'message': 'str', + 'message_id': 'str' } attribute_map = { + 'cause': 'cause', 'code': 'code', - 'message': 'message' + 'message': 'message', + 'message_id': 'messageId' } - def __init__(self, code=None, message=None): + def __init__(self, cause=None, code=None, message=None, message_id=None): """ Error - a model defined in Swagger """ + self._cause = None self._code = None self._message = None + self._message_id = None + if cause is not None: + self.cause = cause self.code = code self.message = message + if message_id is not None: + self.message_id = message_id + + @property + def cause(self): + """ + Gets the cause of this Error. + The cause of this error + + :return: The cause of this Error. + :rtype: Error + """ + return self._cause + + @cause.setter + def cause(self, cause): + """ + Sets the cause of this Error. + The cause of this error + + :param cause: The cause of this Error. + :type: Error + """ + + self._cause = cause @property def code(self): @@ -97,6 +130,29 @@ def message(self, message): self._message = message + @property + def message_id(self): + """ + Gets the message_id of this Error. + A language-independent identifier of the specific error. + + :return: The message_id of this Error. + :rtype: str + """ + return self._message_id + + @message_id.setter + def message_id(self, message_id): + """ + Sets the message_id of this Error. + A language-independent identifier of the specific error. + + :param message_id: The message_id of this Error. + :type: str + """ + + self._message_id = message_id + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/ether_physical_port.py b/intersight/models/ether_physical_port.py index d50d9eea..3dcd82d8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ether_physical_port_list.py b/intersight/models/ether_physical_port_list.py index 4a0a57fc..887407bd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e20c43b4..93eed0a3 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/externalsite_authorization.py b/intersight/models/externalsite_authorization.py index d9d9a921..06cbbd5c 100644 --- a/intersight/models/externalsite_authorization.py +++ b/intersight/models/externalsite_authorization.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/externalsite_authorization_list.py b/intersight/models/externalsite_authorization_list.py index 16eaaba2..5c514114 100644 --- a/intersight/models/externalsite_authorization_list.py +++ b/intersight/models/externalsite_authorization_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/externalsite_authorization_ref.py b/intersight/models/externalsite_authorization_ref.py index 487ce030..d5439962 100644 --- a/intersight/models/externalsite_authorization_ref.py +++ b/intersight/models/externalsite_authorization_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 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 d834b9ab..e66b9239 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a3834743..eef141bb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fc0881e3..a6c7f666 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/fault_instance_list.py b/intersight/models/fault_instance_list.py index 602eda78..ba4f6f97 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2c68c82a..2044aa6b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fdcdd3f7..26908e99 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/fc_physical_port_list.py b/intersight/models/fc_physical_port_list.py index 3c5cbc04..3151fdb7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0e3b699a..05de1e87 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2ebc033e..afe36f4b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d796b31c..82334b1c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 683214c5..1e3146c5 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/feedback_feedback_post_ref.py b/intersight/models/feedback_feedback_post_ref.py index 38efcd64..17d9a0b4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2f0fd797..5e0699bd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e2fd1609..ad3bdc10 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6dd71b83..6cd17ef9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b764416a..8f35f7a8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_cifs_server_ref.py b/intersight/models/firmware_cifs_server_ref.py index b8778507..0c7a984e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 240b5291..805898ea 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.5-612 + OpenAPI spec version: 1.0.7-681 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 02feab1c..caa24f23 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.5-612 + OpenAPI spec version: 1.0.7-681 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 07d3cae7..52e9afd9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_distributable_list.py b/intersight/models/firmware_distributable_list.py index 8a7a6145..19b55d65 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3155a9cb..33b33d43 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3a33a606..b0bcb2d6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3d44540a..a1b1b4cd 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_eula_list.py b/intersight/models/firmware_eula_list.py index df94daa4..b005ac43 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4ecf40d6..490de276 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b2d15fa9..10b12f0f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_http_server_ref.py b/intersight/models/firmware_http_server_ref.py index c2e891ca..9d1932fb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 da7140e5..4e205b59 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.5-612 + OpenAPI spec version: 1.0.7-681 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 185d5557..4e7f611e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cabe0010..ca2c15fc 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_nfs_server_ref.py b/intersight/models/firmware_nfs_server_ref.py index beea2c9a..5d89447d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4e682b50..90c102d1 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_running_firmware_list.py b/intersight/models/firmware_running_firmware_list.py index f51c69e3..533b5dfd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 82f0be7d..392003cd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a64d6550..234e00de 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_upgrade_list.py b/intersight/models/firmware_upgrade_list.py index 1c9e533f..c0e6db3d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9d4fe208..fde7d8fa 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4136210b..641ac7e9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_upgrade_status_list.py b/intersight/models/firmware_upgrade_status_list.py index d1d07c53..3c3281fd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 83f0da5f..39772445 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.5-612 + OpenAPI spec version: 1.0.7-681 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 15327fd6..0cfa1beb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7c783003..3a2dea30 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.5-612 + OpenAPI spec version: 1.0.7-681 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 dac281cc..3eeb3ff5 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0b2896aa..e95f6244 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2a7437dc..2d02d1fe 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8f9cf7d7..2ab0be32 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7aa29e21..a07cc5cf 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.5-612 + OpenAPI spec version: 1.0.7-681 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 04164d9e..e1f9f34e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/graphics_card_list.py b/intersight/models/graphics_card_list.py index cc7be9c7..b4313cdc 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.5-612 + OpenAPI spec version: 1.0.7-681 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 455bda52..161b3309 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4e597a19..aa2c9dd0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/graphics_controller_list.py b/intersight/models/graphics_controller_list.py index 9c39ddf7..8681890c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 17e936d4..ba74e9bb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4f8f3b13..dc3df348 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0f871a4e..3e617111 100644 --- a/intersight/models/hcl_compatibility_status.py +++ b/intersight/models/hcl_compatibility_status.py @@ -1,11 +1,11 @@ # coding: utf-8 """ - UCS Starship API + Intersight REST API - This is the UCS Starship REST API + This is Intersight REST API - OpenAPI spec version: 1.0.0 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,13 +32,13 @@ class HclCompatibilityStatus(object): """ swagger_types = { 'account_moid': 'str', - 'ancestors': 'list[MoMoRef]', + 'ancestors': 'list[MoBaseMoRef]', 'create_time': 'datetime', 'mod_time': 'datetime', 'moid': 'str', 'object_type': 'str', 'owners': 'list[str]', - 'parent': 'MoMoRef', + 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', 'profile_list': 'list[HclHardwareCompatibilityProfile]', 'request_type': 'str' @@ -128,7 +128,7 @@ def ancestors(self): Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. :return: The ancestors of this HclCompatibilityStatus. - :rtype: list[MoMoRef] + :rtype: list[MoBaseMoRef] """ return self._ancestors @@ -139,7 +139,7 @@ def ancestors(self, ancestors): Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. :param ancestors: The ancestors of this HclCompatibilityStatus. - :type: list[MoMoRef] + :type: list[MoBaseMoRef] """ self._ancestors = ancestors @@ -266,7 +266,7 @@ def parent(self): The direct ancestor of this managed object in the containment hierarchy. :return: The parent of this HclCompatibilityStatus. - :rtype: MoMoRef + :rtype: MoBaseMoRef """ return self._parent @@ -277,7 +277,7 @@ def parent(self, parent): The direct ancestor of this managed object in the containment hierarchy. :param parent: The parent of this HclCompatibilityStatus. - :type: MoMoRef + :type: MoBaseMoRef """ self._parent = parent diff --git a/intersight/models/hcl_compatibility_status_ref.py b/intersight/models/hcl_compatibility_status_ref.py new file mode 100644 index 00000000..c062daf5 --- /dev/null +++ b/intersight/models/hcl_compatibility_status_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclCompatibilityStatusRef(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): + """ + HclCompatibilityStatusRef - 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 HclCompatibilityStatusRef. + + :return: The moid of this HclCompatibilityStatusRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclCompatibilityStatusRef. + + :param moid: The moid of this HclCompatibilityStatusRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclCompatibilityStatusRef. + + :return: The object_type of this HclCompatibilityStatusRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclCompatibilityStatusRef. + + :param object_type: The object_type of this HclCompatibilityStatusRef. + :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, HclCompatibilityStatusRef): + 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_data_import_log.py b/intersight/models/hcl_data_import_log.py index 286edc63..b8052a0d 100644 --- a/intersight/models/hcl_data_import_log.py +++ b/intersight/models/hcl_data_import_log.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,14 +40,13 @@ class HclDataImportLog(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', - 'catalog_name': 'str', - 'catalog_updated_date': 'str', - 'catalog_version': 'str', + 'account': 'IamAccountRef', 'check_sum': 'str', - 'file_create_date': 'str', - 'import_start_time': 'datetime', - 'import_state': 'str', - 'last_update_time': 'datetime' + 'import_type': 'str', + 'initiator_type': 'str', + 'last_hcl_data_modified_time': 'datetime', + 'status': 'str', + 'status_details': 'str' } attribute_map = { @@ -60,17 +59,16 @@ class HclDataImportLog(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', - 'catalog_name': 'CatalogName', - 'catalog_updated_date': 'CatalogUpdatedDate', - 'catalog_version': 'CatalogVersion', + 'account': 'Account', 'check_sum': 'CheckSum', - 'file_create_date': 'FileCreateDate', - 'import_start_time': 'ImportStartTime', - 'import_state': 'ImportState', - 'last_update_time': 'LastUpdateTime' + 'import_type': 'ImportType', + 'initiator_type': 'InitiatorType', + 'last_hcl_data_modified_time': 'LastHclDataModifiedTime', + 'status': 'Status', + 'status_details': 'StatusDetails' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, catalog_name=None, catalog_updated_date=None, catalog_version=None, check_sum=None, file_create_date=None, import_start_time=None, import_state='None', last_update_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, account=None, check_sum=None, import_type='Delta', initiator_type='Auto', last_hcl_data_modified_time=None, status='None', status_details=None): """ HclDataImportLog - a model defined in Swagger """ @@ -84,14 +82,13 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None - self._catalog_name = None - self._catalog_updated_date = None - self._catalog_version = None + self._account = None self._check_sum = None - self._file_create_date = None - self._import_start_time = None - self._import_state = None - self._last_update_time = None + self._import_type = None + self._initiator_type = None + self._last_hcl_data_modified_time = None + self._status = None + self._status_details = None if account_moid is not None: self.account_moid = account_moid @@ -111,22 +108,20 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags - if catalog_name is not None: - self.catalog_name = catalog_name - if catalog_updated_date is not None: - self.catalog_updated_date = catalog_updated_date - if catalog_version is not None: - self.catalog_version = catalog_version + if account is not None: + self.account = account if check_sum is not None: self.check_sum = check_sum - if file_create_date is not None: - self.file_create_date = file_create_date - if import_start_time is not None: - self.import_start_time = import_start_time - if import_state is not None: - self.import_state = import_state - if last_update_time is not None: - self.last_update_time = last_update_time + if import_type is not None: + self.import_type = import_type + if initiator_type is not None: + self.initiator_type = initiator_type + if last_hcl_data_modified_time is not None: + self.last_hcl_data_modified_time = last_hcl_data_modified_time + if status is not None: + self.status = status + if status_details is not None: + self.status_details = status_details @property def account_moid(self): @@ -336,194 +331,181 @@ def tags(self, tags): self._tags = tags @property - def catalog_name(self): + def account(self): """ - Gets the catalog_name of this HclDataImportLog. - Name of the HCL Data File + Gets the account of this HclDataImportLog. - :return: The catalog_name of this HclDataImportLog. - :rtype: str - """ - return self._catalog_name - - @catalog_name.setter - def catalog_name(self, catalog_name): - """ - Sets the catalog_name of this HclDataImportLog. - Name of the HCL Data File - - :param catalog_name: The catalog_name of this HclDataImportLog. - :type: str - """ - - self._catalog_name = catalog_name - - @property - def catalog_updated_date(self): + :return: The account of this HclDataImportLog. + :rtype: IamAccountRef """ - Gets the catalog_updated_date of this HclDataImportLog. - Date of the HCL Data update + return self._account - :return: The catalog_updated_date of this HclDataImportLog. - :rtype: str + @account.setter + def account(self, account): """ - return self._catalog_updated_date + Sets the account of this HclDataImportLog. - @catalog_updated_date.setter - def catalog_updated_date(self, catalog_updated_date): + :param account: The account of this HclDataImportLog. + :type: IamAccountRef """ - Sets the catalog_updated_date of this HclDataImportLog. - Date of the HCL Data update - :param catalog_updated_date: The catalog_updated_date of this HclDataImportLog. - :type: str - """ - - self._catalog_updated_date = catalog_updated_date + self._account = account @property - def catalog_version(self): + def check_sum(self): """ - Gets the catalog_version of this HclDataImportLog. - Version of the HCL Data + Gets the check_sum of this HclDataImportLog. + MD5 Checksum of the HCL Data file - :return: The catalog_version of this HclDataImportLog. + :return: The check_sum of this HclDataImportLog. :rtype: str """ - return self._catalog_version + return self._check_sum - @catalog_version.setter - def catalog_version(self, catalog_version): + @check_sum.setter + def check_sum(self, check_sum): """ - Sets the catalog_version of this HclDataImportLog. - Version of the HCL Data + Sets the check_sum of this HclDataImportLog. + MD5 Checksum of the HCL Data file - :param catalog_version: The catalog_version of this HclDataImportLog. + :param check_sum: The check_sum of this HclDataImportLog. :type: str """ - self._catalog_version = catalog_version + self._check_sum = check_sum @property - def check_sum(self): + def import_type(self): """ - Gets the check_sum of this HclDataImportLog. - Checksum of the HCL Data file MD5 checksum + Gets the import_type of this HclDataImportLog. + Type of the import whether it is full or a delta - :return: The check_sum of this HclDataImportLog. + :return: The import_type of this HclDataImportLog. :rtype: str """ - return self._check_sum + return self._import_type - @check_sum.setter - def check_sum(self, check_sum): + @import_type.setter + def import_type(self, import_type): """ - Sets the check_sum of this HclDataImportLog. - Checksum of the HCL Data file MD5 checksum + Sets the import_type of this HclDataImportLog. + Type of the import whether it is full or a delta - :param check_sum: The check_sum of this HclDataImportLog. + :param import_type: The import_type of this HclDataImportLog. :type: str """ + allowed_values = ["Delta", "Full"] + if import_type not in allowed_values: + raise ValueError( + "Invalid value for `import_type` ({0}), must be one of {1}" + .format(import_type, allowed_values) + ) - self._check_sum = check_sum + self._import_type = import_type @property - def file_create_date(self): + def initiator_type(self): """ - Gets the file_create_date of this HclDataImportLog. - Date of the HCL Data file creation + Gets the initiator_type of this HclDataImportLog. + Type of the initiator whether it is manual or a automated periodic operation by system. The value will be set during DoPost to Manual - :return: The file_create_date of this HclDataImportLog. + :return: The initiator_type of this HclDataImportLog. :rtype: str """ - return self._file_create_date + return self._initiator_type - @file_create_date.setter - def file_create_date(self, file_create_date): + @initiator_type.setter + def initiator_type(self, initiator_type): """ - Sets the file_create_date of this HclDataImportLog. - Date of the HCL Data file creation + Sets the initiator_type of this HclDataImportLog. + Type of the initiator whether it is manual or a automated periodic operation by system. The value will be set during DoPost to Manual - :param file_create_date: The file_create_date of this HclDataImportLog. + :param initiator_type: The initiator_type of this HclDataImportLog. :type: str """ + allowed_values = ["Auto", "Manual"] + if initiator_type not in allowed_values: + raise ValueError( + "Invalid value for `initiator_type` ({0}), must be one of {1}" + .format(initiator_type, allowed_values) + ) - self._file_create_date = file_create_date + self._initiator_type = initiator_type @property - def import_start_time(self): + def last_hcl_data_modified_time(self): """ - Gets the import_start_time of this HclDataImportLog. - Timestamp of the data import process + Gets the last_hcl_data_modified_time of this HclDataImportLog. + the timestamp of the last modified record in the HCL tool database. This value is used to query and get updated records - :return: The import_start_time of this HclDataImportLog. + :return: The last_hcl_data_modified_time of this HclDataImportLog. :rtype: datetime """ - return self._import_start_time + return self._last_hcl_data_modified_time - @import_start_time.setter - def import_start_time(self, import_start_time): + @last_hcl_data_modified_time.setter + def last_hcl_data_modified_time(self, last_hcl_data_modified_time): """ - Sets the import_start_time of this HclDataImportLog. - Timestamp of the data import process + Sets the last_hcl_data_modified_time of this HclDataImportLog. + the timestamp of the last modified record in the HCL tool database. This value is used to query and get updated records - :param import_start_time: The import_start_time of this HclDataImportLog. + :param last_hcl_data_modified_time: The last_hcl_data_modified_time of this HclDataImportLog. :type: datetime """ - self._import_start_time = import_start_time + self._last_hcl_data_modified_time = last_hcl_data_modified_time @property - def import_state(self): + def status(self): """ - Gets the import_state of this HclDataImportLog. + Gets the status of this HclDataImportLog. Status of the import process - :return: The import_state of this HclDataImportLog. + :return: The status of this HclDataImportLog. :rtype: str """ - return self._import_state + return self._status - @import_state.setter - def import_state(self, import_state): + @status.setter + def status(self, status): """ - Sets the import_state of this HclDataImportLog. + Sets the status of this HclDataImportLog. Status of the import process - :param import_state: The import_state of this HclDataImportLog. + :param status: The status of this HclDataImportLog. :type: str """ - allowed_values = ["None", "InProgress", "Success", "Started", "Failed"] - if import_state not in allowed_values: + allowed_values = ["None", "InProgress", "Success", "Started", "Failed", "NoChange"] + if status not in allowed_values: raise ValueError( - "Invalid value for `import_state` ({0}), must be one of {1}" - .format(import_state, allowed_values) + "Invalid value for `status` ({0}), must be one of {1}" + .format(status, allowed_values) ) - self._import_state = import_state + self._status = status @property - def last_update_time(self): + def status_details(self): """ - Gets the last_update_time of this HclDataImportLog. - Timestamp of the last sucessful commit + Gets the status_details of this HclDataImportLog. + More information on the status - :return: The last_update_time of this HclDataImportLog. - :rtype: datetime + :return: The status_details of this HclDataImportLog. + :rtype: str """ - return self._last_update_time + return self._status_details - @last_update_time.setter - def last_update_time(self, last_update_time): + @status_details.setter + def status_details(self, status_details): """ - Sets the last_update_time of this HclDataImportLog. - Timestamp of the last sucessful commit + Sets the status_details of this HclDataImportLog. + More information on the status - :param last_update_time: The last_update_time of this HclDataImportLog. - :type: datetime + :param status_details: The status_details of this HclDataImportLog. + :type: str """ - self._last_update_time = last_update_time + self._status_details = status_details def to_dict(self): """ diff --git a/intersight/models/hcl_data_import_log_list.py b/intersight/models/hcl_data_import_log_list.py index 8ab0d9e6..8e14cec4 100644 --- a/intersight/models/hcl_data_import_log_list.py +++ b/intersight/models/hcl_data_import_log_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 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 078061b4..f65918f9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_driver.py b/intersight/models/hcl_driver.py new file mode 100644 index 00000000..8d7b66f9 --- /dev/null +++ b/intersight/models/hcl_driver.py @@ -0,0 +1,209 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclDriver(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 = { + 'is_latest': 'bool', + 'name': 'str', + 'supported_date': 'str', + 'version': 'str' + } + + attribute_map = { + 'is_latest': 'IsLatest', + 'name': 'Name', + 'supported_date': 'SupportedDate', + 'version': 'Version' + } + + def __init__(self, is_latest=None, name=None, supported_date=None, version=None): + """ + HclDriver - a model defined in Swagger + """ + + self._is_latest = None + self._name = None + self._supported_date = None + self._version = None + + if is_latest is not None: + self.is_latest = is_latest + if name is not None: + self.name = name + if supported_date is not None: + self.supported_date = supported_date + if version is not None: + self.version = version + + @property + def is_latest(self): + """ + Gets the is_latest of this HclDriver. + is the driver version latest + + :return: The is_latest of this HclDriver. + :rtype: bool + """ + return self._is_latest + + @is_latest.setter + def is_latest(self, is_latest): + """ + Sets the is_latest of this HclDriver. + is the driver version latest + + :param is_latest: The is_latest of this HclDriver. + :type: bool + """ + + self._is_latest = is_latest + + @property + def name(self): + """ + Gets the name of this HclDriver. + name of the driver as read by the OS + + :return: The name of this HclDriver. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this HclDriver. + name of the driver as read by the OS + + :param name: The name of this HclDriver. + :type: str + """ + + self._name = name + + @property + def supported_date(self): + """ + Gets the supported_date of this HclDriver. + date when the support was claimed + + :return: The supported_date of this HclDriver. + :rtype: str + """ + return self._supported_date + + @supported_date.setter + def supported_date(self, supported_date): + """ + Sets the supported_date of this HclDriver. + date when the support was claimed + + :param supported_date: The supported_date of this HclDriver. + :type: str + """ + + self._supported_date = supported_date + + @property + def version(self): + """ + Gets the version of this HclDriver. + version of the driver + + :return: The version of this HclDriver. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """ + Sets the version of this HclDriver. + version of the driver + + :param version: The version of this HclDriver. + :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, HclDriver): + 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 new file mode 100644 index 00000000..326d004d --- /dev/null +++ b/intersight/models/hcl_driver_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclDriverRef(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): + """ + HclDriverRef - 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 HclDriverRef. + + :return: The moid of this HclDriverRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclDriverRef. + + :param moid: The moid of this HclDriverRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclDriverRef. + + :return: The object_type of this HclDriverRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclDriverRef. + + :param object_type: The object_type of this HclDriverRef. + :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, HclDriverRef): + 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_firmware.py b/intersight/models/hcl_firmware.py index 0e37b48b..a275a5a3 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -134,7 +134,7 @@ def error_code(self, error_code): :param error_code: The error_code of this HclFirmware. :type: str """ - allowed_values = ["Success", "Unknown", "InvalidUcsVersion", "UcsVersionServerOSCombinationNotSupported", "ProductNotSupported", "DriverNameNotSupported", "FirmwareNotSupported", "DriverVersionNotSupported", "FirmwareDriverVersionCombinationNotSupported", "FirmwareAndDriverNotSupported", "InternalError", "MarshallingError"] + allowed_values = ["Success", "Unknown", "UnknownServer", "InvalidUcsVersion", "ProcessorNotSupported", "OSNotSupported", "UCSVersionNotSupported", "UcsVersionServerOSCombinationNotSupported", "ProductUnknown", "ProductNotSupported", "DriverNameNotSupported", "FirmwareVersionNotSupported", "DriverVersionNotSupported", "FirmwareVersionDriverVersionCombinationNotSupported", "FirmwareVersionAndDriverVersionNotSupported", "FirmwareVersionAndDriverNameNotSupported", "InternalError", "MarshallingError"] if error_code not in allowed_values: raise ValueError( "Invalid value for `error_code` ({0}), must be one of {1}" diff --git a/intersight/models/hcl_firmware_ref.py b/intersight/models/hcl_firmware_ref.py index 33c773a7..d2b46255 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e2edb086..5f2d527a 100644 --- a/intersight/models/hcl_hardware_compatibility_profile.py +++ b/intersight/models/hcl_hardware_compatibility_profile.py @@ -1,11 +1,11 @@ # coding: utf-8 """ - UCS Starship API + Intersight REST API - This is the UCS Starship REST API + This is Intersight REST API - OpenAPI spec version: 1.0.0 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ 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=None): + 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'): """ HclHardwareCompatibilityProfile - a model defined in Swagger """ @@ -113,7 +113,7 @@ def error_code(self, error_code): :param error_code: The error_code of this HclHardwareCompatibilityProfile. :type: str """ - allowed_values = ["Success", "Unknown", "InvalidUcsVersion", "UcsVersionServerOSCombinationNotSupported", "ProductNotSupported", "DriverNameNotSupported", "FirmwareNotSupported", "DriverVersionNotSupported", "FirmwareDriverVersionCombinationNotSupported", "FirmwareAndDriverNotSupported", "InternalError", "MarshallingError"] + allowed_values = ["Success", "Unknown", "UnknownServer", "InvalidUcsVersion", "ProcessorNotSupported", "OSNotSupported", "UCSVersionNotSupported", "UcsVersionServerOSCombinationNotSupported", "ProductUnknown", "ProductNotSupported", "DriverNameNotSupported", "FirmwareVersionNotSupported", "DriverVersionNotSupported", "FirmwareVersionDriverVersionCombinationNotSupported", "FirmwareVersionAndDriverVersionNotSupported", "FirmwareVersionAndDriverNameNotSupported", "InternalError", "MarshallingError"] if error_code not in allowed_values: raise ValueError( "Invalid value for `error_code` ({0}), must be one of {1}" @@ -324,6 +324,12 @@ def version_type(self, version_type): :param version_type: The version_type of this HclHardwareCompatibilityProfile. :type: str """ + allowed_values = ["UCSM", "IMC"] + 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 diff --git a/intersight/models/hcl_hardware_compatibility_profile_ref.py b/intersight/models/hcl_hardware_compatibility_profile_ref.py index 850aa54e..020e5cbc 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.5-612 + OpenAPI spec version: 1.0.7-681 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 720cdf5f..fcf7775d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_product.py b/intersight/models/hcl_product.py index f1f25983..97f418cf 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -121,7 +121,7 @@ def error_code(self, error_code): :param error_code: The error_code of this HclProduct. :type: str """ - allowed_values = ["Success", "Unknown", "InvalidUcsVersion", "UcsVersionServerOSCombinationNotSupported", "ProductNotSupported", "DriverNameNotSupported", "FirmwareNotSupported", "DriverVersionNotSupported", "FirmwareDriverVersionCombinationNotSupported", "FirmwareAndDriverNotSupported", "InternalError", "MarshallingError"] + allowed_values = ["Success", "Unknown", "UnknownServer", "InvalidUcsVersion", "ProcessorNotSupported", "OSNotSupported", "UCSVersionNotSupported", "UcsVersionServerOSCombinationNotSupported", "ProductUnknown", "ProductNotSupported", "DriverNameNotSupported", "FirmwareVersionNotSupported", "DriverVersionNotSupported", "FirmwareVersionDriverVersionCombinationNotSupported", "FirmwareVersionAndDriverVersionNotSupported", "FirmwareVersionAndDriverNameNotSupported", "InternalError", "MarshallingError"] if error_code not in allowed_values: raise ValueError( "Invalid value for `error_code` ({0}), must be one of {1}" diff --git a/intersight/models/hcl_product_ref.py b/intersight/models/hcl_product_ref.py index bb7a6cc2..f280bada 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..06199dc2 --- /dev/null +++ b/intersight/models/hcl_service_status.py @@ -0,0 +1,467 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclServiceStatus(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]', + 'identity': 'str', + 'last_hcl_data_modified_time': 'datetime', + 'last_imported_data_checksum': 'str', + 'status': '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', + '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'): + """ + HclServiceStatus - 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._identity = None + self._last_hcl_data_modified_time = None + self._last_imported_data_checksum = None + self._status = 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 identity is not None: + self.identity = identity + if last_hcl_data_modified_time is not None: + self.last_hcl_data_modified_time = last_hcl_data_modified_time + if last_imported_data_checksum is not None: + self.last_imported_data_checksum = last_imported_data_checksum + if status is not None: + self.status = status + + @property + def account_moid(self): + """ + Gets the account_moid of this HclServiceStatus. + The Account ID for this managed object. + + :return: The account_moid of this HclServiceStatus. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HclServiceStatus. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HclServiceStatus. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HclServiceStatus. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HclServiceStatus. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HclServiceStatus. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HclServiceStatus. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HclServiceStatus. + The time when this managed object was created. + + :return: The create_time of this HclServiceStatus. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HclServiceStatus. + The time when this managed object was created. + + :param create_time: The create_time of this HclServiceStatus. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HclServiceStatus. + The time when this managed object was last modified. + + :return: The mod_time of this HclServiceStatus. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HclServiceStatus. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HclServiceStatus. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HclServiceStatus. + A unique identifier of this Managed Object instance. + + :return: The moid of this HclServiceStatus. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclServiceStatus. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HclServiceStatus. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclServiceStatus. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HclServiceStatus. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclServiceStatus. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HclServiceStatus. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HclServiceStatus. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HclServiceStatus. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HclServiceStatus. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HclServiceStatus. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HclServiceStatus. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HclServiceStatus. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HclServiceStatus. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HclServiceStatus. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HclServiceStatus. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HclServiceStatus. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this HclServiceStatus. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def identity(self): + """ + Gets the identity of this HclServiceStatus. + a field to have as an identifier so that upsert can be used + + :return: The identity of this HclServiceStatus. + :rtype: str + """ + return self._identity + + @identity.setter + def identity(self, identity): + """ + Sets the identity of this HclServiceStatus. + a field to have as an identifier so that upsert can be used + + :param identity: The identity of this HclServiceStatus. + :type: str + """ + + self._identity = identity + + @property + def last_hcl_data_modified_time(self): + """ + Gets the last_hcl_data_modified_time of this HclServiceStatus. + the timestamp of the last modified record in the HCL tool database. This value is used to query and get updated records + + :return: The last_hcl_data_modified_time of this HclServiceStatus. + :rtype: datetime + """ + return self._last_hcl_data_modified_time + + @last_hcl_data_modified_time.setter + def last_hcl_data_modified_time(self, last_hcl_data_modified_time): + """ + Sets the last_hcl_data_modified_time of this HclServiceStatus. + the timestamp of the last modified record in the HCL tool database. This value is used to query and get updated records + + :param last_hcl_data_modified_time: The last_hcl_data_modified_time of this HclServiceStatus. + :type: datetime + """ + + self._last_hcl_data_modified_time = last_hcl_data_modified_time + + @property + def last_imported_data_checksum(self): + """ + Gets the last_imported_data_checksum of this HclServiceStatus. + checksum of the data dump used as the base for delta updates + + :return: The last_imported_data_checksum of this HclServiceStatus. + :rtype: str + """ + return self._last_imported_data_checksum + + @last_imported_data_checksum.setter + def last_imported_data_checksum(self, last_imported_data_checksum): + """ + Sets the last_imported_data_checksum of this HclServiceStatus. + checksum of the data dump used as the base for delta updates + + :param last_imported_data_checksum: The last_imported_data_checksum of this HclServiceStatus. + :type: str + """ + + self._last_imported_data_checksum = last_imported_data_checksum + + @property + def status(self): + """ + Gets the status of this HclServiceStatus. + status of the service + + :return: The status of this HclServiceStatus. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """ + Sets the status of this HclServiceStatus. + status of the service + + :param status: The status of this HclServiceStatus. + :type: str + """ + allowed_values = ["Unknown", "Initializing", "DataRefreshing", "Active"] + 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 + + 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, HclServiceStatus): + 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_service_status_list.py b/intersight/models/hcl_service_status_list.py new file mode 100644 index 00000000..63253296 --- /dev/null +++ b/intersight/models/hcl_service_status_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclServiceStatusList(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[HclServiceStatus]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HclServiceStatusList - 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 HclServiceStatusList. + The number of hclServiceStatuses matching your request in total for all pages. + + :return: The count of this HclServiceStatusList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HclServiceStatusList. + The number of hclServiceStatuses matching your request in total for all pages. + + :param count: The count of this HclServiceStatusList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HclServiceStatusList. + The array of hclServiceStatuses matching your request. + + :return: The results of this HclServiceStatusList. + :rtype: list[HclServiceStatus] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HclServiceStatusList. + The array of hclServiceStatuses matching your request. + + :param results: The results of this HclServiceStatusList. + :type: list[HclServiceStatus] + """ + + 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, HclServiceStatusList): + 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_service_status_ref.py b/intersight/models/hcl_service_status_ref.py index a4a31e17..f2fc3403 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c6c6709c..f17c9f2e 100644 --- a/intersight/models/hcl_supported_driver_name.py +++ b/intersight/models/hcl_supported_driver_name.py @@ -1,11 +1,11 @@ # coding: utf-8 """ - UCS Starship API + Intersight REST API - This is the UCS Starship REST API + This is Intersight REST API - OpenAPI spec version: 1.0.0 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,13 +32,13 @@ class HclSupportedDriverName(object): """ swagger_types = { 'account_moid': 'str', - 'ancestors': 'list[MoMoRef]', + 'ancestors': 'list[MoBaseMoRef]', 'create_time': 'datetime', 'mod_time': 'datetime', 'moid': 'str', 'object_type': 'str', 'owners': 'list[str]', - 'parent': 'MoMoRef', + 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', 'product_list': 'list[HclProduct]' } @@ -123,7 +123,7 @@ def ancestors(self): Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. :return: The ancestors of this HclSupportedDriverName. - :rtype: list[MoMoRef] + :rtype: list[MoBaseMoRef] """ return self._ancestors @@ -134,7 +134,7 @@ def ancestors(self, ancestors): Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. :param ancestors: The ancestors of this HclSupportedDriverName. - :type: list[MoMoRef] + :type: list[MoBaseMoRef] """ self._ancestors = ancestors @@ -261,7 +261,7 @@ def parent(self): The direct ancestor of this managed object in the containment hierarchy. :return: The parent of this HclSupportedDriverName. - :rtype: MoMoRef + :rtype: MoBaseMoRef """ return self._parent @@ -272,7 +272,7 @@ def parent(self, parent): The direct ancestor of this managed object in the containment hierarchy. :param parent: The parent of this HclSupportedDriverName. - :type: MoMoRef + :type: MoBaseMoRef """ self._parent = parent diff --git a/intersight/models/hcl_supported_driver_name_ref.py b/intersight/models/hcl_supported_driver_name_ref.py new file mode 100644 index 00000000..eb3f9baf --- /dev/null +++ b/intersight/models/hcl_supported_driver_name_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclSupportedDriverNameRef(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): + """ + HclSupportedDriverNameRef - 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 HclSupportedDriverNameRef. + + :return: The moid of this HclSupportedDriverNameRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclSupportedDriverNameRef. + + :param moid: The moid of this HclSupportedDriverNameRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclSupportedDriverNameRef. + + :return: The object_type of this HclSupportedDriverNameRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclSupportedDriverNameRef. + + :param object_type: The object_type of this HclSupportedDriverNameRef. + :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, HclSupportedDriverNameRef): + 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/hxdpconnector_hx_inventory_msg_ref.py b/intersight/models/hxdpconnector_hx_inventory_msg_ref.py index f506d8a2..b2555ce3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..374e93b5 --- /dev/null +++ b/intersight/models/hyperflex_abstract_app_setting.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexAbstractAppSetting(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 = { + 'name': 'str', + 'value': 'str' + } + + attribute_map = { + 'name': 'Name', + 'value': 'Value' + } + + def __init__(self, name=None, value=None): + """ + HyperflexAbstractAppSetting - a model defined in Swagger + """ + + self._name = None + self._value = None + + if name is not None: + self.name = name + if value is not None: + self.value = value + + @property + def name(self): + """ + Gets the name of this HyperflexAbstractAppSetting. + Application setting identifier + + :return: The name of this HyperflexAbstractAppSetting. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this HyperflexAbstractAppSetting. + Application setting identifier + + :param name: The name of this HyperflexAbstractAppSetting. + :type: str + """ + + self._name = name + + @property + def value(self): + """ + Gets the value of this HyperflexAbstractAppSetting. + Application setting value + + :return: The value of this HyperflexAbstractAppSetting. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """ + Sets the value of this HyperflexAbstractAppSetting. + Application setting value + + :param value: The value of this HyperflexAbstractAppSetting. + :type: str + """ + + self._value = 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, HyperflexAbstractAppSetting): + 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_abstract_app_setting_ref.py b/intersight/models/hyperflex_abstract_app_setting_ref.py new file mode 100644 index 00000000..4f3eecef --- /dev/null +++ b/intersight/models/hyperflex_abstract_app_setting_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexAbstractAppSettingRef(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): + """ + HyperflexAbstractAppSettingRef - 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 HyperflexAbstractAppSettingRef. + + :return: The moid of this HyperflexAbstractAppSettingRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexAbstractAppSettingRef. + + :param moid: The moid of this HyperflexAbstractAppSettingRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexAbstractAppSettingRef. + + :return: The object_type of this HyperflexAbstractAppSettingRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexAbstractAppSettingRef. + + :param object_type: The object_type of this HyperflexAbstractAppSettingRef. + :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, HyperflexAbstractAppSettingRef): + 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_alarm.py b/intersight/models/hyperflex_alarm.py index 1c0def07..a27e42ff 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_alarm_list.py b/intersight/models/hyperflex_alarm_list.py index a78d0b14..19957e6e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a3df5640..4c5ec95a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..a1944fe9 --- /dev/null +++ b/intersight/models/hyperflex_app_catalog.py @@ -0,0 +1,489 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexAppCatalog(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]', + 'feature_limit_external': 'HyperflexFeatureLimitExternalRef', + 'feature_limit_internal': 'HyperflexFeatureLimitInternalRef', + 'hxdp_versions': 'list[HyperflexHxdpVersionRef]', + 'server_firmware_version': 'HyperflexServerFirmwareVersionRef', + 'server_model': 'HyperflexServerModelRef' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'feature_limit_external': 'FeatureLimitExternal', + 'feature_limit_internal': 'FeatureLimitInternal', + 'hxdp_versions': 'HxdpVersions', + 'server_firmware_version': 'ServerFirmwareVersion', + '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): + """ + HyperflexAppCatalog - 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._feature_limit_external = None + self._feature_limit_internal = None + self._hxdp_versions = None + self._server_firmware_version = None + self._server_model = 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 feature_limit_external is not None: + self.feature_limit_external = feature_limit_external + if feature_limit_internal is not None: + self.feature_limit_internal = feature_limit_internal + if hxdp_versions is not None: + self.hxdp_versions = hxdp_versions + if server_firmware_version is not None: + self.server_firmware_version = server_firmware_version + if server_model is not None: + self.server_model = server_model + + @property + def account_moid(self): + """ + Gets the account_moid of this HyperflexAppCatalog. + The Account ID for this managed object. + + :return: The account_moid of this HyperflexAppCatalog. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HyperflexAppCatalog. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HyperflexAppCatalog. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HyperflexAppCatalog. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HyperflexAppCatalog. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HyperflexAppCatalog. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HyperflexAppCatalog. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HyperflexAppCatalog. + The time when this managed object was created. + + :return: The create_time of this HyperflexAppCatalog. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HyperflexAppCatalog. + The time when this managed object was created. + + :param create_time: The create_time of this HyperflexAppCatalog. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HyperflexAppCatalog. + The time when this managed object was last modified. + + :return: The mod_time of this HyperflexAppCatalog. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HyperflexAppCatalog. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HyperflexAppCatalog. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HyperflexAppCatalog. + A unique identifier of this Managed Object instance. + + :return: The moid of this HyperflexAppCatalog. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexAppCatalog. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HyperflexAppCatalog. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexAppCatalog. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HyperflexAppCatalog. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexAppCatalog. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HyperflexAppCatalog. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HyperflexAppCatalog. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HyperflexAppCatalog. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HyperflexAppCatalog. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HyperflexAppCatalog. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HyperflexAppCatalog. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HyperflexAppCatalog. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HyperflexAppCatalog. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HyperflexAppCatalog. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HyperflexAppCatalog. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HyperflexAppCatalog. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this HyperflexAppCatalog. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def feature_limit_external(self): + """ + Gets the feature_limit_external of this HyperflexAppCatalog. + HyperFlex feature limits that are available to end users + + :return: The feature_limit_external of this HyperflexAppCatalog. + :rtype: HyperflexFeatureLimitExternalRef + """ + return self._feature_limit_external + + @feature_limit_external.setter + def feature_limit_external(self, feature_limit_external): + """ + Sets the feature_limit_external of this HyperflexAppCatalog. + HyperFlex feature limits that are available to end users + + :param feature_limit_external: The feature_limit_external of this HyperflexAppCatalog. + :type: HyperflexFeatureLimitExternalRef + """ + + self._feature_limit_external = feature_limit_external + + @property + def feature_limit_internal(self): + """ + Gets the feature_limit_internal of this HyperflexAppCatalog. + HyperFlex feature limits for internal system use + + :return: The feature_limit_internal of this HyperflexAppCatalog. + :rtype: HyperflexFeatureLimitInternalRef + """ + return self._feature_limit_internal + + @feature_limit_internal.setter + def feature_limit_internal(self, feature_limit_internal): + """ + Sets the feature_limit_internal of this HyperflexAppCatalog. + HyperFlex feature limits for internal system use + + :param feature_limit_internal: The feature_limit_internal of this HyperflexAppCatalog. + :type: HyperflexFeatureLimitInternalRef + """ + + self._feature_limit_internal = feature_limit_internal + + @property + def hxdp_versions(self): + """ + Gets the hxdp_versions of this HyperflexAppCatalog. + List of supported HyperFlex Data Platform versions + + :return: The hxdp_versions of this HyperflexAppCatalog. + :rtype: list[HyperflexHxdpVersionRef] + """ + return self._hxdp_versions + + @hxdp_versions.setter + def hxdp_versions(self, hxdp_versions): + """ + Sets the hxdp_versions of this HyperflexAppCatalog. + List of supported HyperFlex Data Platform versions + + :param hxdp_versions: The hxdp_versions of this HyperflexAppCatalog. + :type: list[HyperflexHxdpVersionRef] + """ + + self._hxdp_versions = hxdp_versions + + @property + def server_firmware_version(self): + """ + Gets the server_firmware_version of this HyperflexAppCatalog. + Supported server firmware bundle + + :return: The server_firmware_version of this HyperflexAppCatalog. + :rtype: HyperflexServerFirmwareVersionRef + """ + return self._server_firmware_version + + @server_firmware_version.setter + def server_firmware_version(self, server_firmware_version): + """ + Sets the server_firmware_version of this HyperflexAppCatalog. + Supported server firmware bundle + + :param server_firmware_version: The server_firmware_version of this HyperflexAppCatalog. + :type: HyperflexServerFirmwareVersionRef + """ + + self._server_firmware_version = server_firmware_version + + @property + def server_model(self): + """ + Gets the server_model of this HyperflexAppCatalog. + Supported server models in regex format + + :return: The server_model of this HyperflexAppCatalog. + :rtype: HyperflexServerModelRef + """ + return self._server_model + + @server_model.setter + def server_model(self, server_model): + """ + Sets the server_model of this HyperflexAppCatalog. + Supported server models in regex format + + :param server_model: The server_model of this HyperflexAppCatalog. + :type: HyperflexServerModelRef + """ + + self._server_model = server_model + + 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, HyperflexAppCatalog): + 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_app_catalog_list.py b/intersight/models/hyperflex_app_catalog_list.py new file mode 100644 index 00000000..55ba2d2f --- /dev/null +++ b/intersight/models/hyperflex_app_catalog_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexAppCatalogList(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[HyperflexAppCatalog]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HyperflexAppCatalogList - 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 HyperflexAppCatalogList. + The number of hyperflexAppCatalogs matching your request in total for all pages. + + :return: The count of this HyperflexAppCatalogList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HyperflexAppCatalogList. + The number of hyperflexAppCatalogs matching your request in total for all pages. + + :param count: The count of this HyperflexAppCatalogList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HyperflexAppCatalogList. + The array of hyperflexAppCatalogs matching your request. + + :return: The results of this HyperflexAppCatalogList. + :rtype: list[HyperflexAppCatalog] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HyperflexAppCatalogList. + The array of hyperflexAppCatalogs matching your request. + + :param results: The results of this HyperflexAppCatalogList. + :type: list[HyperflexAppCatalog] + """ + + 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, HyperflexAppCatalogList): + 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_app_catalog_ref.py b/intersight/models/hyperflex_app_catalog_ref.py new file mode 100644 index 00000000..07f12fad --- /dev/null +++ b/intersight/models/hyperflex_app_catalog_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexAppCatalogRef(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): + """ + HyperflexAppCatalogRef - 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 HyperflexAppCatalogRef. + + :return: The moid of this HyperflexAppCatalogRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexAppCatalogRef. + + :param moid: The moid of this HyperflexAppCatalogRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexAppCatalogRef. + + :return: The object_type of this HyperflexAppCatalogRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexAppCatalogRef. + + :param object_type: The object_type of this HyperflexAppCatalogRef. + :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, HyperflexAppCatalogRef): + 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_app_setting_constraint.py b/intersight/models/hyperflex_app_setting_constraint.py new file mode 100644 index 00000000..f23a438f --- /dev/null +++ b/intersight/models/hyperflex_app_setting_constraint.py @@ -0,0 +1,221 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexAppSettingConstraint(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 = { + 'hxdp_version': 'str', + 'hypervisor_type': 'str', + 'mgmt_platform': 'str', + 'server_model': 'str' + } + + attribute_map = { + 'hxdp_version': 'HxdpVersion', + 'hypervisor_type': 'HypervisorType', + 'mgmt_platform': 'MgmtPlatform', + 'server_model': 'ServerModel' + } + + def __init__(self, hxdp_version=None, hypervisor_type='ESXi', mgmt_platform='FI', server_model=None): + """ + HyperflexAppSettingConstraint - a model defined in Swagger + """ + + self._hxdp_version = None + self._hypervisor_type = None + self._mgmt_platform = None + self._server_model = None + + if hxdp_version is not None: + self.hxdp_version = hxdp_version + if hypervisor_type is not None: + self.hypervisor_type = hypervisor_type + if mgmt_platform is not None: + self.mgmt_platform = mgmt_platform + if server_model is not None: + self.server_model = server_model + + @property + def hxdp_version(self): + """ + Gets the hxdp_version of this HyperflexAppSettingConstraint. + HyperFlex Data Platform version in regex format + + :return: The hxdp_version of this HyperflexAppSettingConstraint. + :rtype: str + """ + return self._hxdp_version + + @hxdp_version.setter + def hxdp_version(self, hxdp_version): + """ + Sets the hxdp_version of this HyperflexAppSettingConstraint. + HyperFlex Data Platform version in regex format + + :param hxdp_version: The hxdp_version of this HyperflexAppSettingConstraint. + :type: str + """ + + self._hxdp_version = hxdp_version + + @property + def hypervisor_type(self): + """ + Gets the hypervisor_type of this HyperflexAppSettingConstraint. + Hypervisor type for the HyperFlex cluster + + :return: The hypervisor_type of this HyperflexAppSettingConstraint. + :rtype: str + """ + return self._hypervisor_type + + @hypervisor_type.setter + def hypervisor_type(self, hypervisor_type): + """ + Sets the hypervisor_type of this HyperflexAppSettingConstraint. + Hypervisor type for the HyperFlex cluster + + :param hypervisor_type: The hypervisor_type of this HyperflexAppSettingConstraint. + :type: str + """ + allowed_values = ["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 mgmt_platform(self): + """ + Gets the mgmt_platform of this HyperflexAppSettingConstraint. + Management platform for the Hyperflex Cluster + + :return: The mgmt_platform of this HyperflexAppSettingConstraint. + :rtype: str + """ + return self._mgmt_platform + + @mgmt_platform.setter + def mgmt_platform(self, mgmt_platform): + """ + Sets the mgmt_platform of this HyperflexAppSettingConstraint. + Management platform for the Hyperflex Cluster + + :param mgmt_platform: The mgmt_platform of this HyperflexAppSettingConstraint. + :type: str + """ + allowed_values = ["FI", "EDGE"] + if mgmt_platform not in allowed_values: + raise ValueError( + "Invalid value for `mgmt_platform` ({0}), must be one of {1}" + .format(mgmt_platform, allowed_values) + ) + + self._mgmt_platform = mgmt_platform + + @property + def server_model(self): + """ + Gets the server_model of this HyperflexAppSettingConstraint. + Supported server models in regex format + + :return: The server_model of this HyperflexAppSettingConstraint. + :rtype: str + """ + return self._server_model + + @server_model.setter + def server_model(self, server_model): + """ + Sets the server_model of this HyperflexAppSettingConstraint. + Supported server models in regex format + + :param server_model: The server_model of this HyperflexAppSettingConstraint. + :type: str + """ + + self._server_model = server_model + + 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, HyperflexAppSettingConstraint): + 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_app_setting_constraint_ref.py b/intersight/models/hyperflex_app_setting_constraint_ref.py new file mode 100644 index 00000000..84e6de7d --- /dev/null +++ b/intersight/models/hyperflex_app_setting_constraint_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexAppSettingConstraintRef(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): + """ + HyperflexAppSettingConstraintRef - 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 HyperflexAppSettingConstraintRef. + + :return: The moid of this HyperflexAppSettingConstraintRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexAppSettingConstraintRef. + + :param moid: The moid of this HyperflexAppSettingConstraintRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexAppSettingConstraintRef. + + :return: The object_type of this HyperflexAppSettingConstraintRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexAppSettingConstraintRef. + + :param object_type: The object_type of this HyperflexAppSettingConstraintRef. + :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, HyperflexAppSettingConstraintRef): + 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_auto_support_policy.py b/intersight/models/hyperflex_auto_support_policy.py index ee21ad18..208186d5 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_auto_support_policy_list.py b/intersight/models/hyperflex_auto_support_policy_list.py index 98a04060..dcbcc0b8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e91d2717..400d96ad 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d91a6ba5..ec4d638a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster_list.py b/intersight/models/hyperflex_cluster_list.py index e11a4d56..3ec8e476 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c61d2962..4f2914fc 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster_network_policy_list.py b/intersight/models/hyperflex_cluster_network_policy_list.py index 24ebdc4c..325fa98d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d758c35d..2a89b84b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 30fca144..01c0d3eb 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,6 +53,7 @@ class HyperflexClusterProfile(object): 'data_ip_address': 'str', 'ext_fc_storage': 'HyperflexExtFcStoragePolicyRef', 'ext_iscsi_storage': 'HyperflexExtIscsiStoragePolicyRef', + 'hxdp_version': 'str', 'hypervisor_type': 'str', 'local_credential': 'HyperflexLocalCredentialPolicyRef', 'mac_address_prefix': 'str', @@ -93,6 +94,7 @@ class HyperflexClusterProfile(object): 'data_ip_address': 'DataIpAddress', 'ext_fc_storage': 'ExtFcStorage', 'ext_iscsi_storage': 'ExtIscsiStorage', + 'hxdp_version': 'HxdpVersion', 'hypervisor_type': 'HypervisorType', 'local_credential': 'LocalCredential', 'mac_address_prefix': 'MacAddressPrefix', @@ -110,7 +112,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, 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, 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 """ @@ -137,6 +139,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._data_ip_address = None self._ext_fc_storage = None self._ext_iscsi_storage = None + self._hxdp_version = None self._hypervisor_type = None self._local_credential = None self._mac_address_prefix = None @@ -197,6 +200,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.ext_fc_storage = ext_fc_storage if ext_iscsi_storage is not None: self.ext_iscsi_storage = ext_iscsi_storage + if hxdp_version is not None: + self.hxdp_version = hxdp_version if hypervisor_type is not None: self.hypervisor_type = hypervisor_type if local_credential is not None: @@ -726,6 +731,29 @@ def ext_iscsi_storage(self, ext_iscsi_storage): self._ext_iscsi_storage = ext_iscsi_storage + @property + def hxdp_version(self): + """ + Gets the hxdp_version of this HyperflexClusterProfile. + Specifies the HyperFlex Data Platform version to be installed + + :return: The hxdp_version of this HyperflexClusterProfile. + :rtype: str + """ + return self._hxdp_version + + @hxdp_version.setter + def hxdp_version(self, hxdp_version): + """ + Sets the hxdp_version of this HyperflexClusterProfile. + Specifies the HyperFlex Data Platform version to be installed + + :param hxdp_version: The hxdp_version of this HyperflexClusterProfile. + :type: str + """ + + self._hxdp_version = hxdp_version + @property def hypervisor_type(self): """ diff --git a/intersight/models/hyperflex_cluster_profile_list.py b/intersight/models/hyperflex_cluster_profile_list.py index 412c102a..fa32d9e6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e460c559..af3b3c3e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8e6881ab..90d8661a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 11d33eba..f58fe163 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -44,6 +44,7 @@ class HyperflexClusterStoragePolicy(object): 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', 'disk_partition_cleanup': 'bool', + 'logical_avalability_zone_config': 'HyperflexLogicalAvailabilityZone', 'organization': 'IamAccountRef', 'vdi_optimization': 'bool' } @@ -62,11 +63,12 @@ class HyperflexClusterStoragePolicy(object): 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', 'disk_partition_cleanup': 'DiskPartitionCleanup', + 'logical_avalability_zone_config': 'LogicalAvalabilityZoneConfig', 'organization': 'Organization', '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, 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, 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 """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._name = None self._cluster_profiles = None self._disk_partition_cleanup = None + self._logical_avalability_zone_config = None self._organization = None self._vdi_optimization = None @@ -113,6 +116,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.cluster_profiles = cluster_profiles if disk_partition_cleanup is not None: self.disk_partition_cleanup = disk_partition_cleanup + if logical_avalability_zone_config is not None: + self.logical_avalability_zone_config = logical_avalability_zone_config if organization is not None: self.organization = organization if vdi_optimization is not None: @@ -417,6 +422,29 @@ def disk_partition_cleanup(self, disk_partition_cleanup): self._disk_partition_cleanup = disk_partition_cleanup + @property + def logical_avalability_zone_config(self): + """ + Gets the logical_avalability_zone_config of this HyperflexClusterStoragePolicy. + Enable or disable Logical Availability Zones (LAZ). If enabled, HyperFlex Data Platform automatically selects and groups nodes into different availability zones. For HyperFlex Data Platform versions prior to 3.0 release, this setting does not apply. For HyperFlex Data Platform versions 3.0 or higher, this setting is only applicable to Fabric Interconnect attached HyperFlex systems with 8 or more converged nodes. + + :return: The logical_avalability_zone_config of this HyperflexClusterStoragePolicy. + :rtype: HyperflexLogicalAvailabilityZone + """ + return self._logical_avalability_zone_config + + @logical_avalability_zone_config.setter + def logical_avalability_zone_config(self, logical_avalability_zone_config): + """ + Sets the logical_avalability_zone_config of this HyperflexClusterStoragePolicy. + Enable or disable Logical Availability Zones (LAZ). If enabled, HyperFlex Data Platform automatically selects and groups nodes into different availability zones. For HyperFlex Data Platform versions prior to 3.0 release, this setting does not apply. For HyperFlex Data Platform versions 3.0 or higher, this setting is only applicable to Fabric Interconnect attached HyperFlex systems with 8 or more converged nodes. + + :param logical_avalability_zone_config: The logical_avalability_zone_config of this HyperflexClusterStoragePolicy. + :type: HyperflexLogicalAvailabilityZone + """ + + self._logical_avalability_zone_config = logical_avalability_zone_config + @property def organization(self): """ @@ -444,7 +472,7 @@ def organization(self, organization): def vdi_optimization(self): """ Gets the vdi_optimization of this HyperflexClusterStoragePolicy. - Enable or disable VDI optimization (hybrid HX systems only) + Enable or disable VDI optimization (hybrid HyperFlex systems only) :return: The vdi_optimization of this HyperflexClusterStoragePolicy. :rtype: bool @@ -455,7 +483,7 @@ def vdi_optimization(self): def vdi_optimization(self, vdi_optimization): """ Sets the vdi_optimization of this HyperflexClusterStoragePolicy. - Enable or disable VDI optimization (hybrid HX systems only) + Enable or disable VDI optimization (hybrid HyperFlex systems only) :param vdi_optimization: The vdi_optimization of this HyperflexClusterStoragePolicy. :type: bool diff --git a/intersight/models/hyperflex_cluster_storage_policy_list.py b/intersight/models/hyperflex_cluster_storage_policy_list.py index ed8c1806..e17fcc3a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0eb43d00..b1380678 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5ed7e9a5..53f3b9e0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_config_result_entry.py b/intersight/models/hyperflex_config_result_entry.py index 841f23c0..9fd6feb9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_config_result_entry_list.py b/intersight/models/hyperflex_config_result_entry_list.py index b2530c95..09111c2f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b355f8fd..3661c040 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.5-612 + OpenAPI spec version: 1.0.7-681 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 aaedc803..60509367 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9afc5379..56103b22 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.5-612 + OpenAPI spec version: 1.0.7-681 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 91c98bd1..0eea7fcd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9c2a1a6b..2eff8969 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ext_fc_storage_policy_list.py b/intersight/models/hyperflex_ext_fc_storage_policy_list.py index a276ca03..2012d2ef 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4fae1f64..77c29f63 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9159b316..ae21431f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ext_iscsi_storage_policy_list.py b/intersight/models/hyperflex_ext_iscsi_storage_policy_list.py index 27a5632f..dca1bc9d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 974fc297..77ccfea0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..8f78d47c --- /dev/null +++ b/intersight/models/hyperflex_feature_limit_entry.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexFeatureLimitEntry(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 = { + 'name': 'str', + 'value': 'str', + 'constraint': 'HyperflexAppSettingConstraint' + } + + attribute_map = { + 'name': 'Name', + 'value': 'Value', + 'constraint': 'Constraint' + } + + def __init__(self, name=None, value=None, constraint=None): + """ + HyperflexFeatureLimitEntry - a model defined in Swagger + """ + + self._name = None + self._value = None + self._constraint = None + + if name is not None: + self.name = name + if value is not None: + self.value = value + if constraint is not None: + self.constraint = constraint + + @property + def name(self): + """ + Gets the name of this HyperflexFeatureLimitEntry. + Application setting identifier + + :return: The name of this HyperflexFeatureLimitEntry. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this HyperflexFeatureLimitEntry. + Application setting identifier + + :param name: The name of this HyperflexFeatureLimitEntry. + :type: str + """ + + self._name = name + + @property + def value(self): + """ + Gets the value of this HyperflexFeatureLimitEntry. + Application setting value + + :return: The value of this HyperflexFeatureLimitEntry. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """ + Sets the value of this HyperflexFeatureLimitEntry. + Application setting value + + :param value: The value of this HyperflexFeatureLimitEntry. + :type: str + """ + + self._value = value + + @property + def constraint(self): + """ + Gets the constraint of this HyperflexFeatureLimitEntry. + Conditions to be met to apply the AppSetting + + :return: The constraint of this HyperflexFeatureLimitEntry. + :rtype: HyperflexAppSettingConstraint + """ + return self._constraint + + @constraint.setter + def constraint(self, constraint): + """ + Sets the constraint of this HyperflexFeatureLimitEntry. + Conditions to be met to apply the AppSetting + + :param constraint: The constraint of this HyperflexFeatureLimitEntry. + :type: HyperflexAppSettingConstraint + """ + + self._constraint = constraint + + 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, HyperflexFeatureLimitEntry): + 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_feature_limit_entry_ref.py b/intersight/models/hyperflex_feature_limit_entry_ref.py new file mode 100644 index 00000000..6cd4cd95 --- /dev/null +++ b/intersight/models/hyperflex_feature_limit_entry_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexFeatureLimitEntryRef(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): + """ + HyperflexFeatureLimitEntryRef - 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 HyperflexFeatureLimitEntryRef. + + :return: The moid of this HyperflexFeatureLimitEntryRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexFeatureLimitEntryRef. + + :param moid: The moid of this HyperflexFeatureLimitEntryRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexFeatureLimitEntryRef. + + :return: The object_type of this HyperflexFeatureLimitEntryRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexFeatureLimitEntryRef. + + :param object_type: The object_type of this HyperflexFeatureLimitEntryRef. + :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, HyperflexFeatureLimitEntryRef): + 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_feature_limit_external.py b/intersight/models/hyperflex_feature_limit_external.py new file mode 100644 index 00000000..48c59397 --- /dev/null +++ b/intersight/models/hyperflex_feature_limit_external.py @@ -0,0 +1,403 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexFeatureLimitExternal(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]', + 'app_catalog': 'HyperflexAppCatalogRef', + 'feature_limit_entries': 'list[HyperflexFeatureLimitEntry]' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + '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): + """ + HyperflexFeatureLimitExternal - 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._app_catalog = None + self._feature_limit_entries = 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 app_catalog is not None: + self.app_catalog = app_catalog + if feature_limit_entries is not None: + self.feature_limit_entries = feature_limit_entries + + @property + def account_moid(self): + """ + Gets the account_moid of this HyperflexFeatureLimitExternal. + The Account ID for this managed object. + + :return: The account_moid of this HyperflexFeatureLimitExternal. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HyperflexFeatureLimitExternal. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HyperflexFeatureLimitExternal. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HyperflexFeatureLimitExternal. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HyperflexFeatureLimitExternal. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HyperflexFeatureLimitExternal. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HyperflexFeatureLimitExternal. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HyperflexFeatureLimitExternal. + The time when this managed object was created. + + :return: The create_time of this HyperflexFeatureLimitExternal. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HyperflexFeatureLimitExternal. + The time when this managed object was created. + + :param create_time: The create_time of this HyperflexFeatureLimitExternal. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HyperflexFeatureLimitExternal. + The time when this managed object was last modified. + + :return: The mod_time of this HyperflexFeatureLimitExternal. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HyperflexFeatureLimitExternal. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HyperflexFeatureLimitExternal. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HyperflexFeatureLimitExternal. + A unique identifier of this Managed Object instance. + + :return: The moid of this HyperflexFeatureLimitExternal. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexFeatureLimitExternal. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HyperflexFeatureLimitExternal. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexFeatureLimitExternal. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HyperflexFeatureLimitExternal. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexFeatureLimitExternal. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HyperflexFeatureLimitExternal. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HyperflexFeatureLimitExternal. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HyperflexFeatureLimitExternal. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HyperflexFeatureLimitExternal. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HyperflexFeatureLimitExternal. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HyperflexFeatureLimitExternal. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HyperflexFeatureLimitExternal. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HyperflexFeatureLimitExternal. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HyperflexFeatureLimitExternal. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HyperflexFeatureLimitExternal. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HyperflexFeatureLimitExternal. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this HyperflexFeatureLimitExternal. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def app_catalog(self): + """ + Gets the app_catalog of this HyperflexFeatureLimitExternal. + + :return: The app_catalog of this HyperflexFeatureLimitExternal. + :rtype: HyperflexAppCatalogRef + """ + return self._app_catalog + + @app_catalog.setter + def app_catalog(self, app_catalog): + """ + Sets the app_catalog of this HyperflexFeatureLimitExternal. + + :param app_catalog: The app_catalog of this HyperflexFeatureLimitExternal. + :type: HyperflexAppCatalogRef + """ + + self._app_catalog = app_catalog + + @property + def feature_limit_entries(self): + """ + Gets the feature_limit_entries of this HyperflexFeatureLimitExternal. + HyperFlex feature limits + + :return: The feature_limit_entries of this HyperflexFeatureLimitExternal. + :rtype: list[HyperflexFeatureLimitEntry] + """ + return self._feature_limit_entries + + @feature_limit_entries.setter + def feature_limit_entries(self, feature_limit_entries): + """ + Sets the feature_limit_entries of this HyperflexFeatureLimitExternal. + HyperFlex feature limits + + :param feature_limit_entries: The feature_limit_entries of this HyperflexFeatureLimitExternal. + :type: list[HyperflexFeatureLimitEntry] + """ + + self._feature_limit_entries = feature_limit_entries + + 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, HyperflexFeatureLimitExternal): + 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_feature_limit_external_list.py b/intersight/models/hyperflex_feature_limit_external_list.py new file mode 100644 index 00000000..5dcbe5f5 --- /dev/null +++ b/intersight/models/hyperflex_feature_limit_external_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexFeatureLimitExternalList(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[HyperflexFeatureLimitExternal]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HyperflexFeatureLimitExternalList - 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 HyperflexFeatureLimitExternalList. + The number of hyperflexFeatureLimitExternals matching your request in total for all pages. + + :return: The count of this HyperflexFeatureLimitExternalList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HyperflexFeatureLimitExternalList. + The number of hyperflexFeatureLimitExternals matching your request in total for all pages. + + :param count: The count of this HyperflexFeatureLimitExternalList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HyperflexFeatureLimitExternalList. + The array of hyperflexFeatureLimitExternals matching your request. + + :return: The results of this HyperflexFeatureLimitExternalList. + :rtype: list[HyperflexFeatureLimitExternal] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HyperflexFeatureLimitExternalList. + The array of hyperflexFeatureLimitExternals matching your request. + + :param results: The results of this HyperflexFeatureLimitExternalList. + :type: list[HyperflexFeatureLimitExternal] + """ + + 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, HyperflexFeatureLimitExternalList): + 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_feature_limit_external_ref.py b/intersight/models/hyperflex_feature_limit_external_ref.py new file mode 100644 index 00000000..38b685c2 --- /dev/null +++ b/intersight/models/hyperflex_feature_limit_external_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexFeatureLimitExternalRef(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): + """ + HyperflexFeatureLimitExternalRef - 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 HyperflexFeatureLimitExternalRef. + + :return: The moid of this HyperflexFeatureLimitExternalRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexFeatureLimitExternalRef. + + :param moid: The moid of this HyperflexFeatureLimitExternalRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexFeatureLimitExternalRef. + + :return: The object_type of this HyperflexFeatureLimitExternalRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexFeatureLimitExternalRef. + + :param object_type: The object_type of this HyperflexFeatureLimitExternalRef. + :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, HyperflexFeatureLimitExternalRef): + 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_feature_limit_internal.py b/intersight/models/hyperflex_feature_limit_internal.py new file mode 100644 index 00000000..b18cc957 --- /dev/null +++ b/intersight/models/hyperflex_feature_limit_internal.py @@ -0,0 +1,403 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexFeatureLimitInternal(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]', + 'app_catalog': 'HyperflexAppCatalogRef', + 'feature_limit_entries': 'list[HyperflexFeatureLimitEntry]' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + '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): + """ + HyperflexFeatureLimitInternal - 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._app_catalog = None + self._feature_limit_entries = 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 app_catalog is not None: + self.app_catalog = app_catalog + if feature_limit_entries is not None: + self.feature_limit_entries = feature_limit_entries + + @property + def account_moid(self): + """ + Gets the account_moid of this HyperflexFeatureLimitInternal. + The Account ID for this managed object. + + :return: The account_moid of this HyperflexFeatureLimitInternal. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HyperflexFeatureLimitInternal. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HyperflexFeatureLimitInternal. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HyperflexFeatureLimitInternal. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HyperflexFeatureLimitInternal. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HyperflexFeatureLimitInternal. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HyperflexFeatureLimitInternal. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HyperflexFeatureLimitInternal. + The time when this managed object was created. + + :return: The create_time of this HyperflexFeatureLimitInternal. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HyperflexFeatureLimitInternal. + The time when this managed object was created. + + :param create_time: The create_time of this HyperflexFeatureLimitInternal. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HyperflexFeatureLimitInternal. + The time when this managed object was last modified. + + :return: The mod_time of this HyperflexFeatureLimitInternal. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HyperflexFeatureLimitInternal. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HyperflexFeatureLimitInternal. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HyperflexFeatureLimitInternal. + A unique identifier of this Managed Object instance. + + :return: The moid of this HyperflexFeatureLimitInternal. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexFeatureLimitInternal. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HyperflexFeatureLimitInternal. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexFeatureLimitInternal. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HyperflexFeatureLimitInternal. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexFeatureLimitInternal. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HyperflexFeatureLimitInternal. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HyperflexFeatureLimitInternal. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HyperflexFeatureLimitInternal. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HyperflexFeatureLimitInternal. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HyperflexFeatureLimitInternal. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HyperflexFeatureLimitInternal. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HyperflexFeatureLimitInternal. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HyperflexFeatureLimitInternal. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HyperflexFeatureLimitInternal. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HyperflexFeatureLimitInternal. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HyperflexFeatureLimitInternal. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this HyperflexFeatureLimitInternal. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def app_catalog(self): + """ + Gets the app_catalog of this HyperflexFeatureLimitInternal. + + :return: The app_catalog of this HyperflexFeatureLimitInternal. + :rtype: HyperflexAppCatalogRef + """ + return self._app_catalog + + @app_catalog.setter + def app_catalog(self, app_catalog): + """ + Sets the app_catalog of this HyperflexFeatureLimitInternal. + + :param app_catalog: The app_catalog of this HyperflexFeatureLimitInternal. + :type: HyperflexAppCatalogRef + """ + + self._app_catalog = app_catalog + + @property + def feature_limit_entries(self): + """ + Gets the feature_limit_entries of this HyperflexFeatureLimitInternal. + HyperFlex feature limits + + :return: The feature_limit_entries of this HyperflexFeatureLimitInternal. + :rtype: list[HyperflexFeatureLimitEntry] + """ + return self._feature_limit_entries + + @feature_limit_entries.setter + def feature_limit_entries(self, feature_limit_entries): + """ + Sets the feature_limit_entries of this HyperflexFeatureLimitInternal. + HyperFlex feature limits + + :param feature_limit_entries: The feature_limit_entries of this HyperflexFeatureLimitInternal. + :type: list[HyperflexFeatureLimitEntry] + """ + + self._feature_limit_entries = feature_limit_entries + + 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, HyperflexFeatureLimitInternal): + 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_feature_limit_internal_list.py b/intersight/models/hyperflex_feature_limit_internal_list.py new file mode 100644 index 00000000..50c041c3 --- /dev/null +++ b/intersight/models/hyperflex_feature_limit_internal_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexFeatureLimitInternalList(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[HyperflexFeatureLimitInternal]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HyperflexFeatureLimitInternalList - 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 HyperflexFeatureLimitInternalList. + The number of hyperflexFeatureLimitInternals matching your request in total for all pages. + + :return: The count of this HyperflexFeatureLimitInternalList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HyperflexFeatureLimitInternalList. + The number of hyperflexFeatureLimitInternals matching your request in total for all pages. + + :param count: The count of this HyperflexFeatureLimitInternalList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HyperflexFeatureLimitInternalList. + The array of hyperflexFeatureLimitInternals matching your request. + + :return: The results of this HyperflexFeatureLimitInternalList. + :rtype: list[HyperflexFeatureLimitInternal] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HyperflexFeatureLimitInternalList. + The array of hyperflexFeatureLimitInternals matching your request. + + :param results: The results of this HyperflexFeatureLimitInternalList. + :type: list[HyperflexFeatureLimitInternal] + """ + + 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, HyperflexFeatureLimitInternalList): + 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_feature_limit_internal_ref.py b/intersight/models/hyperflex_feature_limit_internal_ref.py new file mode 100644 index 00000000..13830c28 --- /dev/null +++ b/intersight/models/hyperflex_feature_limit_internal_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexFeatureLimitInternalRef(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): + """ + HyperflexFeatureLimitInternalRef - 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 HyperflexFeatureLimitInternalRef. + + :return: The moid of this HyperflexFeatureLimitInternalRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexFeatureLimitInternalRef. + + :param moid: The moid of this HyperflexFeatureLimitInternalRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexFeatureLimitInternalRef. + + :return: The object_type of this HyperflexFeatureLimitInternalRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexFeatureLimitInternalRef. + + :param object_type: The object_type of this HyperflexFeatureLimitInternalRef. + :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, HyperflexFeatureLimitInternalRef): + 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 new file mode 100644 index 00000000..37126280 --- /dev/null +++ b/intersight/models/hyperflex_hxdp_version.py @@ -0,0 +1,431 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexHxdpVersion(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]', + 'app_catalog': 'HyperflexAppCatalogRef', + 'installer_image': 'HyperflexInstallerImageRef', + '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', + '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): + """ + HyperflexHxdpVersion - 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._app_catalog = None + self._installer_image = 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 app_catalog is not None: + self.app_catalog = app_catalog + if installer_image is not None: + self.installer_image = installer_image + if version is not None: + self.version = version + + @property + def account_moid(self): + """ + Gets the account_moid of this HyperflexHxdpVersion. + The Account ID for this managed object. + + :return: The account_moid of this HyperflexHxdpVersion. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HyperflexHxdpVersion. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HyperflexHxdpVersion. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HyperflexHxdpVersion. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HyperflexHxdpVersion. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HyperflexHxdpVersion. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HyperflexHxdpVersion. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HyperflexHxdpVersion. + The time when this managed object was created. + + :return: The create_time of this HyperflexHxdpVersion. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HyperflexHxdpVersion. + The time when this managed object was created. + + :param create_time: The create_time of this HyperflexHxdpVersion. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HyperflexHxdpVersion. + The time when this managed object was last modified. + + :return: The mod_time of this HyperflexHxdpVersion. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HyperflexHxdpVersion. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HyperflexHxdpVersion. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HyperflexHxdpVersion. + A unique identifier of this Managed Object instance. + + :return: The moid of this HyperflexHxdpVersion. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexHxdpVersion. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HyperflexHxdpVersion. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexHxdpVersion. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HyperflexHxdpVersion. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexHxdpVersion. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HyperflexHxdpVersion. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HyperflexHxdpVersion. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HyperflexHxdpVersion. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HyperflexHxdpVersion. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HyperflexHxdpVersion. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HyperflexHxdpVersion. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HyperflexHxdpVersion. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HyperflexHxdpVersion. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HyperflexHxdpVersion. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HyperflexHxdpVersion. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HyperflexHxdpVersion. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this HyperflexHxdpVersion. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def app_catalog(self): + """ + Gets the app_catalog of this HyperflexHxdpVersion. + + :return: The app_catalog of this HyperflexHxdpVersion. + :rtype: HyperflexAppCatalogRef + """ + return self._app_catalog + + @app_catalog.setter + def app_catalog(self, app_catalog): + """ + Sets the app_catalog of this HyperflexHxdpVersion. + + :param app_catalog: The app_catalog of this HyperflexHxdpVersion. + :type: HyperflexAppCatalogRef + """ + + self._app_catalog = app_catalog + + @property + def installer_image(self): + """ + Gets the installer_image of this HyperflexHxdpVersion. + Corresponding installer image for the HyperFlex Data Platform version + + :return: The installer_image of this HyperflexHxdpVersion. + :rtype: HyperflexInstallerImageRef + """ + return self._installer_image + + @installer_image.setter + def installer_image(self, installer_image): + """ + Sets the installer_image of this HyperflexHxdpVersion. + Corresponding installer image for the HyperFlex Data Platform version + + :param installer_image: The installer_image of this HyperflexHxdpVersion. + :type: HyperflexInstallerImageRef + """ + + self._installer_image = installer_image + + @property + def version(self): + """ + Gets the version of this HyperflexHxdpVersion. + HyperFlex Data Platform version + + :return: The version of this HyperflexHxdpVersion. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """ + Sets the version of this HyperflexHxdpVersion. + HyperFlex Data Platform version + + :param version: The version of this HyperflexHxdpVersion. + :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, HyperflexHxdpVersion): + 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_list.py b/intersight/models/hyperflex_hxdp_version_list.py new file mode 100644 index 00000000..ceaff069 --- /dev/null +++ b/intersight/models/hyperflex_hxdp_version_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexHxdpVersionList(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[HyperflexHxdpVersion]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HyperflexHxdpVersionList - 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 HyperflexHxdpVersionList. + The number of hyperflexHxdpVersions matching your request in total for all pages. + + :return: The count of this HyperflexHxdpVersionList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HyperflexHxdpVersionList. + The number of hyperflexHxdpVersions matching your request in total for all pages. + + :param count: The count of this HyperflexHxdpVersionList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HyperflexHxdpVersionList. + The array of hyperflexHxdpVersions matching your request. + + :return: The results of this HyperflexHxdpVersionList. + :rtype: list[HyperflexHxdpVersion] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HyperflexHxdpVersionList. + The array of hyperflexHxdpVersions matching your request. + + :param results: The results of this HyperflexHxdpVersionList. + :type: list[HyperflexHxdpVersion] + """ + + 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, HyperflexHxdpVersionList): + 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_ref.py b/intersight/models/hyperflex_hxdp_version_ref.py new file mode 100644 index 00000000..af2778a4 --- /dev/null +++ b/intersight/models/hyperflex_hxdp_version_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexHxdpVersionRef(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): + """ + HyperflexHxdpVersionRef - 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 HyperflexHxdpVersionRef. + + :return: The moid of this HyperflexHxdpVersionRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexHxdpVersionRef. + + :param moid: The moid of this HyperflexHxdpVersionRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexHxdpVersionRef. + + :return: The object_type of this HyperflexHxdpVersionRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexHxdpVersionRef. + + :param object_type: The object_type of this HyperflexHxdpVersionRef. + :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, HyperflexHxdpVersionRef): + 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_installer_image_ref.py b/intersight/models/hyperflex_installer_image_ref.py new file mode 100644 index 00000000..fe8a8833 --- /dev/null +++ b/intersight/models/hyperflex_installer_image_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexInstallerImageRef(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): + """ + HyperflexInstallerImageRef - 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 HyperflexInstallerImageRef. + + :return: The moid of this HyperflexInstallerImageRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexInstallerImageRef. + + :param moid: The moid of this HyperflexInstallerImageRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexInstallerImageRef. + + :return: The object_type of this HyperflexInstallerImageRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexInstallerImageRef. + + :param object_type: The object_type of this HyperflexInstallerImageRef. + :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, HyperflexInstallerImageRef): + 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_ip_addr_range.py b/intersight/models/hyperflex_ip_addr_range.py index 91f7600c..9f84e3f7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 53cd082c..559f0557 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_iterator_string.py b/intersight/models/hyperflex_iterator_string.py index f5be563e..9575d71e 100644 --- a/intersight/models/hyperflex_iterator_string.py +++ b/intersight/models/hyperflex_iterator_string.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_iterator_string_ref.py b/intersight/models/hyperflex_iterator_string_ref.py index e07d25d5..dc29c59e 100644 --- a/intersight/models/hyperflex_iterator_string_ref.py +++ b/intersight/models/hyperflex_iterator_string_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 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 10661fbe..7138fb02 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -43,6 +43,7 @@ class HyperflexLocalCredentialPolicy(object): 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', + 'factory_hypervisor_password': 'bool', 'hxdp_root_pwd': 'str', 'hypervisor_admin': 'str', 'hypervisor_admin_pwd': 'str', @@ -64,6 +65,7 @@ class HyperflexLocalCredentialPolicy(object): 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', + 'factory_hypervisor_password': 'FactoryHypervisorPassword', 'hxdp_root_pwd': 'HxdpRootPwd', 'hypervisor_admin': 'HypervisorAdmin', 'hypervisor_admin_pwd': 'HypervisorAdminPwd', @@ -72,7 +74,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, 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, 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 """ @@ -89,6 +91,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._description = None self._name = None self._cluster_profiles = None + self._factory_hypervisor_password = None self._hxdp_root_pwd = None self._hypervisor_admin = None self._hypervisor_admin_pwd = None @@ -120,6 +123,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.name = name if cluster_profiles is not None: self.cluster_profiles = cluster_profiles + if factory_hypervisor_password is not None: + self.factory_hypervisor_password = factory_hypervisor_password if hxdp_root_pwd is not None: self.hxdp_root_pwd = hxdp_root_pwd if hypervisor_admin is not None: @@ -409,11 +414,34 @@ def cluster_profiles(self, cluster_profiles): self._cluster_profiles = cluster_profiles + @property + def factory_hypervisor_password(self): + """ + Gets the factory_hypervisor_password of this HyperflexLocalCredentialPolicy. + Indicates if Hypervisor password is the factory set default password. For HyperFlex Data Platform versions 3.0 or higher, enable this if the default password was not changed on the Hypervisor. It is required to supply a new custom Hypervisor password that will be applied to the Hypervisor during deployment. For HyperFlex Data Platform versions prior to 3.0 release, this setting has no effect and the default password will be used for initial install. The Hypervisor password should be changed after deployment. + + :return: The factory_hypervisor_password of this HyperflexLocalCredentialPolicy. + :rtype: bool + """ + return self._factory_hypervisor_password + + @factory_hypervisor_password.setter + def factory_hypervisor_password(self, factory_hypervisor_password): + """ + Sets the factory_hypervisor_password of this HyperflexLocalCredentialPolicy. + Indicates if Hypervisor password is the factory set default password. For HyperFlex Data Platform versions 3.0 or higher, enable this if the default password was not changed on the Hypervisor. It is required to supply a new custom Hypervisor password that will be applied to the Hypervisor during deployment. For HyperFlex Data Platform versions prior to 3.0 release, this setting has no effect and the default password will be used for initial install. The Hypervisor password should be changed after deployment. + + :param factory_hypervisor_password: The factory_hypervisor_password of this HyperflexLocalCredentialPolicy. + :type: bool + """ + + self._factory_hypervisor_password = factory_hypervisor_password + @property def hxdp_root_pwd(self): """ Gets the hxdp_root_pwd of this HyperflexLocalCredentialPolicy. - HX 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 special character - !@#$%^&* :return: The hxdp_root_pwd of this HyperflexLocalCredentialPolicy. :rtype: str @@ -424,7 +452,7 @@ def hxdp_root_pwd(self): def hxdp_root_pwd(self, hxdp_root_pwd): """ Sets the hxdp_root_pwd of this HyperflexLocalCredentialPolicy. - HX 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 special character - !@#$%^&* :param hxdp_root_pwd: The hxdp_root_pwd of this HyperflexLocalCredentialPolicy. :type: str @@ -459,7 +487,7 @@ def hypervisor_admin(self, hypervisor_admin): def hypervisor_admin_pwd(self): """ Gets the hypervisor_admin_pwd of this HyperflexLocalCredentialPolicy. - Enter the ESXi root password. Use the default password \"Cisco123\" for newly manufactured HX servers. A custom password should only be used if ESXi 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 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. :return: The hypervisor_admin_pwd of this HyperflexLocalCredentialPolicy. :rtype: str @@ -470,7 +498,7 @@ def hypervisor_admin_pwd(self): def hypervisor_admin_pwd(self, hypervisor_admin_pwd): """ Sets the hypervisor_admin_pwd of this HyperflexLocalCredentialPolicy. - Enter the ESXi root password. Use the default password \"Cisco123\" for newly manufactured HX servers. A custom password should only be used if ESXi 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 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. :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 407666bb..722c46b3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c08e23da..9bd47645 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..6f82d964 --- /dev/null +++ b/intersight/models/hyperflex_logical_availability_zone.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexLogicalAvailabilityZone(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 = { + 'auto_config': 'bool' + } + + attribute_map = { + 'auto_config': 'AutoConfig' + } + + def __init__(self, auto_config=None): + """ + HyperflexLogicalAvailabilityZone - a model defined in Swagger + """ + + self._auto_config = None + + if auto_config is not None: + self.auto_config = auto_config + + @property + def auto_config(self): + """ + Gets the auto_config of this HyperflexLogicalAvailabilityZone. + Enable or disable Logical Availability Zones (LAZ). If enabled, HyperFlex Data Platform automatically selects and groups nodes into different availability zones. For HyperFlex Data Platform versions prior to 3.0 release, this setting does not apply. For HyperFlex Data Platform versions 3.0 or higher, this setting is only applicable to Fabric Interconnect attached HyperFlex systems with 8 or more converged nodes. + + :return: The auto_config of this HyperflexLogicalAvailabilityZone. + :rtype: bool + """ + return self._auto_config + + @auto_config.setter + def auto_config(self, auto_config): + """ + Sets the auto_config of this HyperflexLogicalAvailabilityZone. + Enable or disable Logical Availability Zones (LAZ). If enabled, HyperFlex Data Platform automatically selects and groups nodes into different availability zones. For HyperFlex Data Platform versions prior to 3.0 release, this setting does not apply. For HyperFlex Data Platform versions 3.0 or higher, this setting is only applicable to Fabric Interconnect attached HyperFlex systems with 8 or more converged nodes. + + :param auto_config: The auto_config of this HyperflexLogicalAvailabilityZone. + :type: bool + """ + + self._auto_config = auto_config + + 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, HyperflexLogicalAvailabilityZone): + 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_logical_availability_zone_ref.py b/intersight/models/hyperflex_logical_availability_zone_ref.py new file mode 100644 index 00000000..f6249d43 --- /dev/null +++ b/intersight/models/hyperflex_logical_availability_zone_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexLogicalAvailabilityZoneRef(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): + """ + HyperflexLogicalAvailabilityZoneRef - 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 HyperflexLogicalAvailabilityZoneRef. + + :return: The moid of this HyperflexLogicalAvailabilityZoneRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexLogicalAvailabilityZoneRef. + + :param moid: The moid of this HyperflexLogicalAvailabilityZoneRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexLogicalAvailabilityZoneRef. + + :return: The object_type of this HyperflexLogicalAvailabilityZoneRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexLogicalAvailabilityZoneRef. + + :param object_type: The object_type of this HyperflexLogicalAvailabilityZoneRef. + :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, HyperflexLogicalAvailabilityZoneRef): + 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_mac_addr_prefix_range.py b/intersight/models/hyperflex_mac_addr_prefix_range.py index 13ee82e7..88203544 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b7473a07..aebe4474 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7ef4ede0..fa6ff35f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cd148eea..c883bcb9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b12ae56e..dac1fa58 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b18c7d73..57b237de 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.5-612 + OpenAPI spec version: 1.0.7-681 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 70371908..020b1764 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ff5d7aa1..c1c0b0ba 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_node_config_policy.py b/intersight/models/hyperflex_node_config_policy.py index e47d4939..d370d4f5 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -431,7 +431,7 @@ def data_ip_range(self, data_ip_range): def hxdp_ip_range(self): """ Gets the hxdp_ip_range of this HyperflexNodeConfigPolicy. - HX storage management IP range + HyperFlex storage management IP range :return: The hxdp_ip_range of this HyperflexNodeConfigPolicy. :rtype: HyperflexIpAddrRange @@ -442,7 +442,7 @@ def hxdp_ip_range(self): def hxdp_ip_range(self, hxdp_ip_range): """ Sets the hxdp_ip_range of this HyperflexNodeConfigPolicy. - HX storage management IP range + HyperFlex storage management IP range :param hxdp_ip_range: The hxdp_ip_range of this HyperflexNodeConfigPolicy. :type: HyperflexIpAddrRange diff --git a/intersight/models/hyperflex_node_config_policy_list.py b/intersight/models/hyperflex_node_config_policy_list.py index 4d2f1706..1af76090 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9247940a..03b83469 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_node_profile.py b/intersight/models/hyperflex_node_profile.py index 6bbcdc40..6824385a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_node_profile_list.py b/intersight/models/hyperflex_node_profile_list.py index f483a28d..daba7bc3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 95a2f5fb..4c441b38 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_proxy_setting_policy.py b/intersight/models/hyperflex_proxy_setting_policy.py index aa0d2efc..5ae27da3 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -480,7 +480,7 @@ def organization(self, organization): def password(self): """ Gets the password of this HyperflexProxySettingPolicy. - HTTP Proxy password. It must contain at least 6 characters. + HTTP Proxy password :return: The password of this HyperflexProxySettingPolicy. :rtype: str @@ -491,7 +491,7 @@ def password(self): def password(self, password): """ Sets the password of this HyperflexProxySettingPolicy. - HTTP Proxy password. It must contain at least 6 characters. + HTTP Proxy password :param password: The password of this HyperflexProxySettingPolicy. :type: str diff --git a/intersight/models/hyperflex_proxy_setting_policy_list.py b/intersight/models/hyperflex_proxy_setting_policy_list.py index b285b239..c0e38678 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9657b7cc..abe13565 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..3e5d0e27 --- /dev/null +++ b/intersight/models/hyperflex_server_firmware_version.py @@ -0,0 +1,403 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerFirmwareVersion(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]', + 'app_catalog': 'HyperflexAppCatalogRef', + 'server_firmware_version_entries': 'list[HyperflexServerFirmwareVersionEntry]' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + '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): + """ + HyperflexServerFirmwareVersion - 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._app_catalog = None + self._server_firmware_version_entries = 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 app_catalog is not None: + self.app_catalog = app_catalog + if server_firmware_version_entries is not None: + self.server_firmware_version_entries = server_firmware_version_entries + + @property + def account_moid(self): + """ + Gets the account_moid of this HyperflexServerFirmwareVersion. + The Account ID for this managed object. + + :return: The account_moid of this HyperflexServerFirmwareVersion. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HyperflexServerFirmwareVersion. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HyperflexServerFirmwareVersion. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HyperflexServerFirmwareVersion. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HyperflexServerFirmwareVersion. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HyperflexServerFirmwareVersion. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HyperflexServerFirmwareVersion. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HyperflexServerFirmwareVersion. + The time when this managed object was created. + + :return: The create_time of this HyperflexServerFirmwareVersion. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HyperflexServerFirmwareVersion. + The time when this managed object was created. + + :param create_time: The create_time of this HyperflexServerFirmwareVersion. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HyperflexServerFirmwareVersion. + The time when this managed object was last modified. + + :return: The mod_time of this HyperflexServerFirmwareVersion. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HyperflexServerFirmwareVersion. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HyperflexServerFirmwareVersion. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HyperflexServerFirmwareVersion. + A unique identifier of this Managed Object instance. + + :return: The moid of this HyperflexServerFirmwareVersion. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexServerFirmwareVersion. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HyperflexServerFirmwareVersion. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexServerFirmwareVersion. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HyperflexServerFirmwareVersion. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexServerFirmwareVersion. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HyperflexServerFirmwareVersion. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HyperflexServerFirmwareVersion. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HyperflexServerFirmwareVersion. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HyperflexServerFirmwareVersion. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HyperflexServerFirmwareVersion. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HyperflexServerFirmwareVersion. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HyperflexServerFirmwareVersion. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HyperflexServerFirmwareVersion. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HyperflexServerFirmwareVersion. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HyperflexServerFirmwareVersion. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HyperflexServerFirmwareVersion. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this HyperflexServerFirmwareVersion. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def app_catalog(self): + """ + Gets the app_catalog of this HyperflexServerFirmwareVersion. + + :return: The app_catalog of this HyperflexServerFirmwareVersion. + :rtype: HyperflexAppCatalogRef + """ + return self._app_catalog + + @app_catalog.setter + def app_catalog(self, app_catalog): + """ + Sets the app_catalog of this HyperflexServerFirmwareVersion. + + :param app_catalog: The app_catalog of this HyperflexServerFirmwareVersion. + :type: HyperflexAppCatalogRef + """ + + self._app_catalog = app_catalog + + @property + def server_firmware_version_entries(self): + """ + Gets the server_firmware_version_entries of this HyperflexServerFirmwareVersion. + Specifies server firmware bundle versions used for server components such as CIMC, adapters, BIOS, etc. + + :return: The server_firmware_version_entries of this HyperflexServerFirmwareVersion. + :rtype: list[HyperflexServerFirmwareVersionEntry] + """ + return self._server_firmware_version_entries + + @server_firmware_version_entries.setter + def server_firmware_version_entries(self, server_firmware_version_entries): + """ + Sets the server_firmware_version_entries of this HyperflexServerFirmwareVersion. + Specifies server firmware bundle versions used for server components such as CIMC, adapters, BIOS, etc. + + :param server_firmware_version_entries: The server_firmware_version_entries of this HyperflexServerFirmwareVersion. + :type: list[HyperflexServerFirmwareVersionEntry] + """ + + self._server_firmware_version_entries = server_firmware_version_entries + + 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, HyperflexServerFirmwareVersion): + 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_server_firmware_version_entry.py b/intersight/models/hyperflex_server_firmware_version_entry.py new file mode 100644 index 00000000..d30b7f01 --- /dev/null +++ b/intersight/models/hyperflex_server_firmware_version_entry.py @@ -0,0 +1,209 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerFirmwareVersionEntry(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 = { + 'name': 'str', + 'value': 'str', + 'constraint': 'HyperflexAppSettingConstraint', + 'label': 'str' + } + + attribute_map = { + 'name': 'Name', + 'value': 'Value', + 'constraint': 'Constraint', + 'label': 'Label' + } + + def __init__(self, name=None, value=None, constraint=None, label=None): + """ + HyperflexServerFirmwareVersionEntry - a model defined in Swagger + """ + + self._name = None + self._value = None + self._constraint = None + self._label = None + + if name is not None: + self.name = name + if value is not None: + self.value = value + if constraint is not None: + self.constraint = constraint + if label is not None: + self.label = label + + @property + def name(self): + """ + Gets the name of this HyperflexServerFirmwareVersionEntry. + Application setting identifier + + :return: The name of this HyperflexServerFirmwareVersionEntry. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this HyperflexServerFirmwareVersionEntry. + Application setting identifier + + :param name: The name of this HyperflexServerFirmwareVersionEntry. + :type: str + """ + + self._name = name + + @property + def value(self): + """ + Gets the value of this HyperflexServerFirmwareVersionEntry. + Application setting value + + :return: The value of this HyperflexServerFirmwareVersionEntry. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """ + Sets the value of this HyperflexServerFirmwareVersionEntry. + Application setting value + + :param value: The value of this HyperflexServerFirmwareVersionEntry. + :type: str + """ + + self._value = value + + @property + def constraint(self): + """ + Gets the constraint of this HyperflexServerFirmwareVersionEntry. + Conditions to be met to apply the AppSetting + + :return: The constraint of this HyperflexServerFirmwareVersionEntry. + :rtype: HyperflexAppSettingConstraint + """ + return self._constraint + + @constraint.setter + def constraint(self, constraint): + """ + Sets the constraint of this HyperflexServerFirmwareVersionEntry. + Conditions to be met to apply the AppSetting + + :param constraint: The constraint of this HyperflexServerFirmwareVersionEntry. + :type: HyperflexAppSettingConstraint + """ + + self._constraint = constraint + + @property + def label(self): + """ + Gets the label of this HyperflexServerFirmwareVersionEntry. + Display name for server firmware bundle version in UI + + :return: The label of this HyperflexServerFirmwareVersionEntry. + :rtype: str + """ + return self._label + + @label.setter + def label(self, label): + """ + Sets the label of this HyperflexServerFirmwareVersionEntry. + Display name for server firmware bundle version in UI + + :param label: The label of this HyperflexServerFirmwareVersionEntry. + :type: str + """ + + self._label = label + + 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, HyperflexServerFirmwareVersionEntry): + 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_server_firmware_version_entry_ref.py b/intersight/models/hyperflex_server_firmware_version_entry_ref.py new file mode 100644 index 00000000..98f4c87c --- /dev/null +++ b/intersight/models/hyperflex_server_firmware_version_entry_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerFirmwareVersionEntryRef(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): + """ + HyperflexServerFirmwareVersionEntryRef - 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 HyperflexServerFirmwareVersionEntryRef. + + :return: The moid of this HyperflexServerFirmwareVersionEntryRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexServerFirmwareVersionEntryRef. + + :param moid: The moid of this HyperflexServerFirmwareVersionEntryRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexServerFirmwareVersionEntryRef. + + :return: The object_type of this HyperflexServerFirmwareVersionEntryRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexServerFirmwareVersionEntryRef. + + :param object_type: The object_type of this HyperflexServerFirmwareVersionEntryRef. + :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, HyperflexServerFirmwareVersionEntryRef): + 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_server_firmware_version_list.py b/intersight/models/hyperflex_server_firmware_version_list.py new file mode 100644 index 00000000..9096bc84 --- /dev/null +++ b/intersight/models/hyperflex_server_firmware_version_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerFirmwareVersionList(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[HyperflexServerFirmwareVersion]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HyperflexServerFirmwareVersionList - 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 HyperflexServerFirmwareVersionList. + The number of hyperflexServerFirmwareVersions matching your request in total for all pages. + + :return: The count of this HyperflexServerFirmwareVersionList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HyperflexServerFirmwareVersionList. + The number of hyperflexServerFirmwareVersions matching your request in total for all pages. + + :param count: The count of this HyperflexServerFirmwareVersionList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HyperflexServerFirmwareVersionList. + The array of hyperflexServerFirmwareVersions matching your request. + + :return: The results of this HyperflexServerFirmwareVersionList. + :rtype: list[HyperflexServerFirmwareVersion] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HyperflexServerFirmwareVersionList. + The array of hyperflexServerFirmwareVersions matching your request. + + :param results: The results of this HyperflexServerFirmwareVersionList. + :type: list[HyperflexServerFirmwareVersion] + """ + + 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, HyperflexServerFirmwareVersionList): + 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_server_firmware_version_ref.py b/intersight/models/hyperflex_server_firmware_version_ref.py new file mode 100644 index 00000000..d5296fff --- /dev/null +++ b/intersight/models/hyperflex_server_firmware_version_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerFirmwareVersionRef(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): + """ + HyperflexServerFirmwareVersionRef - 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 HyperflexServerFirmwareVersionRef. + + :return: The moid of this HyperflexServerFirmwareVersionRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexServerFirmwareVersionRef. + + :param moid: The moid of this HyperflexServerFirmwareVersionRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexServerFirmwareVersionRef. + + :return: The object_type of this HyperflexServerFirmwareVersionRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexServerFirmwareVersionRef. + + :param object_type: The object_type of this HyperflexServerFirmwareVersionRef. + :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, HyperflexServerFirmwareVersionRef): + 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_server_model.py b/intersight/models/hyperflex_server_model.py new file mode 100644 index 00000000..d4d4e191 --- /dev/null +++ b/intersight/models/hyperflex_server_model.py @@ -0,0 +1,403 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerModel(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]', + 'app_catalog': 'HyperflexAppCatalogRef', + 'server_model_entries': 'list[HyperflexServerModelEntry]' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + '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): + """ + HyperflexServerModel - 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._app_catalog = None + self._server_model_entries = 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 app_catalog is not None: + self.app_catalog = app_catalog + if server_model_entries is not None: + self.server_model_entries = server_model_entries + + @property + def account_moid(self): + """ + Gets the account_moid of this HyperflexServerModel. + The Account ID for this managed object. + + :return: The account_moid of this HyperflexServerModel. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HyperflexServerModel. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HyperflexServerModel. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HyperflexServerModel. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HyperflexServerModel. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HyperflexServerModel. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HyperflexServerModel. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HyperflexServerModel. + The time when this managed object was created. + + :return: The create_time of this HyperflexServerModel. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HyperflexServerModel. + The time when this managed object was created. + + :param create_time: The create_time of this HyperflexServerModel. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HyperflexServerModel. + The time when this managed object was last modified. + + :return: The mod_time of this HyperflexServerModel. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HyperflexServerModel. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HyperflexServerModel. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HyperflexServerModel. + A unique identifier of this Managed Object instance. + + :return: The moid of this HyperflexServerModel. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexServerModel. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HyperflexServerModel. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexServerModel. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HyperflexServerModel. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexServerModel. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HyperflexServerModel. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HyperflexServerModel. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HyperflexServerModel. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HyperflexServerModel. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HyperflexServerModel. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HyperflexServerModel. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HyperflexServerModel. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HyperflexServerModel. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HyperflexServerModel. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HyperflexServerModel. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HyperflexServerModel. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this HyperflexServerModel. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def app_catalog(self): + """ + Gets the app_catalog of this HyperflexServerModel. + + :return: The app_catalog of this HyperflexServerModel. + :rtype: HyperflexAppCatalogRef + """ + return self._app_catalog + + @app_catalog.setter + def app_catalog(self, app_catalog): + """ + Sets the app_catalog of this HyperflexServerModel. + + :param app_catalog: The app_catalog of this HyperflexServerModel. + :type: HyperflexAppCatalogRef + """ + + self._app_catalog = app_catalog + + @property + def server_model_entries(self): + """ + Gets the server_model_entries of this HyperflexServerModel. + Specifies supported server models in regex format + + :return: The server_model_entries of this HyperflexServerModel. + :rtype: list[HyperflexServerModelEntry] + """ + return self._server_model_entries + + @server_model_entries.setter + def server_model_entries(self, server_model_entries): + """ + Sets the server_model_entries of this HyperflexServerModel. + Specifies supported server models in regex format + + :param server_model_entries: The server_model_entries of this HyperflexServerModel. + :type: list[HyperflexServerModelEntry] + """ + + self._server_model_entries = server_model_entries + + 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, HyperflexServerModel): + 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_server_model_entry.py b/intersight/models/hyperflex_server_model_entry.py new file mode 100644 index 00000000..5a1c3035 --- /dev/null +++ b/intersight/models/hyperflex_server_model_entry.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerModelEntry(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 = { + 'name': 'str', + 'value': 'str', + 'constraint': 'HyperflexAppSettingConstraint' + } + + attribute_map = { + 'name': 'Name', + 'value': 'Value', + 'constraint': 'Constraint' + } + + def __init__(self, name=None, value=None, constraint=None): + """ + HyperflexServerModelEntry - a model defined in Swagger + """ + + self._name = None + self._value = None + self._constraint = None + + if name is not None: + self.name = name + if value is not None: + self.value = value + if constraint is not None: + self.constraint = constraint + + @property + def name(self): + """ + Gets the name of this HyperflexServerModelEntry. + Application setting identifier + + :return: The name of this HyperflexServerModelEntry. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this HyperflexServerModelEntry. + Application setting identifier + + :param name: The name of this HyperflexServerModelEntry. + :type: str + """ + + self._name = name + + @property + def value(self): + """ + Gets the value of this HyperflexServerModelEntry. + Application setting value + + :return: The value of this HyperflexServerModelEntry. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """ + Sets the value of this HyperflexServerModelEntry. + Application setting value + + :param value: The value of this HyperflexServerModelEntry. + :type: str + """ + + self._value = value + + @property + def constraint(self): + """ + Gets the constraint of this HyperflexServerModelEntry. + Conditions to be met to apply the AppSetting + + :return: The constraint of this HyperflexServerModelEntry. + :rtype: HyperflexAppSettingConstraint + """ + return self._constraint + + @constraint.setter + def constraint(self, constraint): + """ + Sets the constraint of this HyperflexServerModelEntry. + Conditions to be met to apply the AppSetting + + :param constraint: The constraint of this HyperflexServerModelEntry. + :type: HyperflexAppSettingConstraint + """ + + self._constraint = constraint + + 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, HyperflexServerModelEntry): + 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_server_model_entry_ref.py b/intersight/models/hyperflex_server_model_entry_ref.py new file mode 100644 index 00000000..69954373 --- /dev/null +++ b/intersight/models/hyperflex_server_model_entry_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerModelEntryRef(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): + """ + HyperflexServerModelEntryRef - 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 HyperflexServerModelEntryRef. + + :return: The moid of this HyperflexServerModelEntryRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexServerModelEntryRef. + + :param moid: The moid of this HyperflexServerModelEntryRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexServerModelEntryRef. + + :return: The object_type of this HyperflexServerModelEntryRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexServerModelEntryRef. + + :param object_type: The object_type of this HyperflexServerModelEntryRef. + :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, HyperflexServerModelEntryRef): + 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_server_model_list.py b/intersight/models/hyperflex_server_model_list.py new file mode 100644 index 00000000..46cb8783 --- /dev/null +++ b/intersight/models/hyperflex_server_model_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerModelList(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[HyperflexServerModel]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HyperflexServerModelList - 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 HyperflexServerModelList. + The number of hyperflexServerModels matching your request in total for all pages. + + :return: The count of this HyperflexServerModelList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HyperflexServerModelList. + The number of hyperflexServerModels matching your request in total for all pages. + + :param count: The count of this HyperflexServerModelList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HyperflexServerModelList. + The array of hyperflexServerModels matching your request. + + :return: The results of this HyperflexServerModelList. + :rtype: list[HyperflexServerModel] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HyperflexServerModelList. + The array of hyperflexServerModels matching your request. + + :param results: The results of this HyperflexServerModelList. + :type: list[HyperflexServerModel] + """ + + 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, HyperflexServerModelList): + 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_server_model_ref.py b/intersight/models/hyperflex_server_model_ref.py new file mode 100644 index 00000000..7ad2c8bd --- /dev/null +++ b/intersight/models/hyperflex_server_model_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexServerModelRef(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): + """ + HyperflexServerModelRef - 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 HyperflexServerModelRef. + + :return: The moid of this HyperflexServerModelRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexServerModelRef. + + :param moid: The moid of this HyperflexServerModelRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexServerModelRef. + + :return: The object_type of this HyperflexServerModelRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexServerModelRef. + + :param object_type: The object_type of this HyperflexServerModelRef. + :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, HyperflexServerModelRef): + 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_st_platform_cluster_healing_info.py b/intersight/models/hyperflex_st_platform_cluster_healing_info.py index 071ec4d6..8b8f71e2 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ 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 77fdfa48..1c74af90 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6cc2a874..95a6ab2b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ 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 ac819a46..15d45b98 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b621318a..8687a58e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_summary_ref.py b/intersight/models/hyperflex_summary_ref.py index 9a0fddb2..c953e405 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.5-612 + OpenAPI spec version: 1.0.7-681 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 612aa789..03297d22 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -43,6 +43,7 @@ class HyperflexSysConfigPolicy(object): 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', + 'dns_domain_name': 'str', 'dns_servers': 'list[str]', 'ntp_servers': 'list[str]', 'organization': 'IamAccountRef', @@ -62,13 +63,14 @@ class HyperflexSysConfigPolicy(object): 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', + 'dns_domain_name': 'DnsDomainName', 'dns_servers': 'DnsServers', 'ntp_servers': 'NtpServers', 'organization': 'Organization', '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_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, 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 """ @@ -85,6 +87,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._description = None self._name = None self._cluster_profiles = None + self._dns_domain_name = None self._dns_servers = None self._ntp_servers = None self._organization = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.name = name if cluster_profiles is not None: self.cluster_profiles = cluster_profiles + if dns_domain_name is not None: + self.dns_domain_name = dns_domain_name if dns_servers is not None: self.dns_servers = dns_servers if ntp_servers is not None: @@ -399,6 +404,29 @@ def cluster_profiles(self, cluster_profiles): self._cluster_profiles = cluster_profiles + @property + def dns_domain_name(self): + """ + Gets the dns_domain_name of this HyperflexSysConfigPolicy. + DNS Search Domain Name. This applies to HyperFlex Data Platform 3.0 or later only. + + :return: The dns_domain_name of this HyperflexSysConfigPolicy. + :rtype: str + """ + return self._dns_domain_name + + @dns_domain_name.setter + def dns_domain_name(self, dns_domain_name): + """ + Sets the dns_domain_name of this HyperflexSysConfigPolicy. + DNS Search Domain Name. This applies to HyperFlex Data Platform 3.0 or later only. + + :param dns_domain_name: The dns_domain_name of this HyperflexSysConfigPolicy. + :type: str + """ + + self._dns_domain_name = dns_domain_name + @property def dns_servers(self): """ diff --git a/intersight/models/hyperflex_sys_config_policy_list.py b/intersight/models/hyperflex_sys_config_policy_list.py index bbc51bc6..fbd100fe 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3d74a2ce..95a8d487 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.5-612 + OpenAPI spec version: 1.0.7-681 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 159c7e3a..29f81528 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ucsm_config_policy_list.py b/intersight/models/hyperflex_ucsm_config_policy_list.py index aad6982a..170f335a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4c29114c..8fa7b82f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 59b6aa31..f4574c78 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_vcenter_config_policy_list.py b/intersight/models/hyperflex_vcenter_config_policy_list.py index 2b706938..cba91681 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.5-612 + OpenAPI spec version: 1.0.7-681 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 eb3de265..f4f5eac6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0e6be9a9..e6ff07ca 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.5-612 + OpenAPI spec version: 1.0.7-681 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 33e6a081..878ab496 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c9f3770c..5ca77ce4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5e971c3c..7d40c2ab 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4ecf27cd..1df09277 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2d629c27..adeccb89 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c6f6f864..306e3bd2 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_connector_pack_list.py b/intersight/models/iaas_connector_pack_list.py index 926fb2d8..78d21e4b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 84ea8e22..e1d0cd9a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b4124106..19379ecf 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_device_status_list.py b/intersight/models/iaas_device_status_list.py index e75f8624..52e76300 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.5-612 + OpenAPI spec version: 1.0.7-681 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 18ac00d0..24d9445c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ea14603d..6c33eb0e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_license_info_list.py b/intersight/models/iaas_license_info_list.py index 1dee985b..5abfcc34 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7b788b84..740f9040 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b3909b76..74cf9da0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cbcffa1c..1afbdb26 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.5-612 + OpenAPI spec version: 1.0.7-681 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 06426fed..95bab0e5 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6175ac6f..88854ab6 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_ucsd_info.py b/intersight/models/iaas_ucsd_info.py index ffd4cf4d..126586c0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_ucsd_info_list.py b/intersight/models/iaas_ucsd_info_list.py index c179579c..31d1efc8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 67afe90e..f28b3d9f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_account.py b/intersight/models/iam_account.py index 10411213..dd68d418 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.5-612 + OpenAPI spec version: 1.0.7-681 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]', + 'domain_groups': 'list[IamDomainGroupRef]', 'end_point_roles': 'list[IamEndPointRoleRef]', 'idpreferences': 'list[IamIdpReferenceRef]', 'idps': 'list[IamIdpRef]', @@ -49,9 +50,6 @@ class IamAccount(object): 'privileges': 'list[IamPrivilegeRef]', 'resource_limits': 'IamResourceLimitsRef', 'roles': 'list[IamRoleRef]', - 'root_user_email': 'str', - 'root_user_id': 'str', - 'root_user_name': 'str', 'session_limits': 'IamSessionLimitsRef', 'status': 'str' } @@ -66,6 +64,7 @@ class IamAccount(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'domain_groups': 'DomainGroups', 'end_point_roles': 'EndPointRoles', 'idpreferences': 'Idpreferences', 'idps': 'Idps', @@ -75,14 +74,11 @@ class IamAccount(object): 'privileges': 'Privileges', 'resource_limits': 'ResourceLimits', 'roles': 'Roles', - 'root_user_email': 'RootUserEmail', - 'root_user_id': 'RootUserId', - 'root_user_name': 'RootUserName', 'session_limits': 'SessionLimits', '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, end_point_roles=None, idpreferences=None, idps=None, name=None, permissions=None, privilege_sets=None, privileges=None, resource_limits=None, roles=None, root_user_email=None, root_user_id=None, root_user_name=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, 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 """ @@ -96,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._domain_groups = None self._end_point_roles = None self._idpreferences = None self._idps = None @@ -105,9 +102,6 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._privileges = None self._resource_limits = None self._roles = None - self._root_user_email = None - self._root_user_id = None - self._root_user_name = None self._session_limits = None self._status = None @@ -129,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 domain_groups is not None: + self.domain_groups = domain_groups if end_point_roles is not None: self.end_point_roles = end_point_roles if idpreferences is not None: @@ -147,12 +143,6 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.resource_limits = resource_limits if roles is not None: self.roles = roles - if root_user_email is not None: - self.root_user_email = root_user_email - if root_user_id is not None: - self.root_user_id = root_user_id - if root_user_name is not None: - self.root_user_name = root_user_name if session_limits is not None: self.session_limits = session_limits if status is not None: @@ -365,10 +355,32 @@ def tags(self, tags): self._tags = tags + @property + def domain_groups(self): + """ + Gets the domain_groups of this IamAccount. + + :return: The domain_groups of this IamAccount. + :rtype: list[IamDomainGroupRef] + """ + return self._domain_groups + + @domain_groups.setter + def domain_groups(self, domain_groups): + """ + Sets the domain_groups of this IamAccount. + + :param domain_groups: The domain_groups of this IamAccount. + :type: list[IamDomainGroupRef] + """ + + self._domain_groups = domain_groups + @property def end_point_roles(self): """ Gets the end_point_roles of this IamAccount. + User defined end point roles. These roles are assigned to Intersight users to perform end point operations such as GUI/CLI cross launch. :return: The end_point_roles of this IamAccount. :rtype: list[IamEndPointRoleRef] @@ -379,6 +391,7 @@ def end_point_roles(self): def end_point_roles(self, end_point_roles): """ Sets the end_point_roles of this IamAccount. + User defined end point roles. These roles are assigned to Intersight users to perform end point operations such as GUI/CLI cross launch. :param end_point_roles: The end_point_roles of this IamAccount. :type: list[IamEndPointRoleRef] @@ -390,6 +403,7 @@ def end_point_roles(self, end_point_roles): def idpreferences(self): """ Gets the idpreferences of this IamAccount. + System created IdPs configured for authentication in an account. By default Cisco IdP is created upon account creation. :return: The idpreferences of this IamAccount. :rtype: list[IamIdpReferenceRef] @@ -400,6 +414,7 @@ def idpreferences(self): def idpreferences(self, idpreferences): """ Sets the idpreferences of this IamAccount. + System created IdPs configured for authentication in an account. By default Cisco IdP is created upon account creation. :param idpreferences: The idpreferences of this IamAccount. :type: list[IamIdpReferenceRef] @@ -411,6 +426,7 @@ def idpreferences(self, idpreferences): def idps(self): """ Gets the idps of this IamAccount. + IdPs configured for authentication in an account. :return: The idps of this IamAccount. :rtype: list[IamIdpRef] @@ -421,6 +437,7 @@ def idps(self): def idps(self, idps): """ Sets the idps of this IamAccount. + IdPs configured for authentication in an account. :param idps: The idps of this IamAccount. :type: list[IamIdpRef] @@ -432,6 +449,7 @@ def idps(self, idps): def name(self): """ Gets the name of this IamAccount. + Name of the account. By default, name is same as the MoID of the account. :return: The name of this IamAccount. :rtype: str @@ -442,6 +460,7 @@ def name(self): def name(self, name): """ Sets the name of this IamAccount. + Name of the account. By default, name is same as the MoID of the account. :param name: The name of this IamAccount. :type: str @@ -453,6 +472,7 @@ def name(self, name): def permissions(self): """ Gets the permissions of this IamAccount. + System defined permissions within an account. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. :return: The permissions of this IamAccount. :rtype: list[IamPermissionRef] @@ -463,6 +483,7 @@ def permissions(self): def permissions(self, permissions): """ Sets the permissions of this IamAccount. + System defined permissions within an account. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. :param permissions: The permissions of this IamAccount. :type: list[IamPermissionRef] @@ -474,6 +495,7 @@ def permissions(self, permissions): def privilege_sets(self): """ Gets the privilege_sets of this IamAccount. + User defined privilege sets. Privilege set is a collection of privileges. Privilege sets are assigned to a user using roles. :return: The privilege_sets of this IamAccount. :rtype: list[IamPrivilegeSetRef] @@ -484,6 +506,7 @@ def privilege_sets(self): def privilege_sets(self, privilege_sets): """ Sets the privilege_sets of this IamAccount. + User defined privilege sets. Privilege set is a collection of privileges. Privilege sets are assigned to a user using roles. :param privilege_sets: The privilege_sets of this IamAccount. :type: list[IamPrivilegeSetRef] @@ -495,6 +518,7 @@ def privilege_sets(self, privilege_sets): def privileges(self): """ Gets the privileges of this IamAccount. + Account specific privileges. Privilege represents an action which can be performed in Intersight such as creating server profile, deleting a user etc. Privileges are assigned to a user using privilege sets and roles. :return: The privileges of this IamAccount. :rtype: list[IamPrivilegeRef] @@ -505,6 +529,7 @@ def privileges(self): def privileges(self, privileges): """ Sets the privileges of this IamAccount. + Account specific privileges. Privilege represents an action which can be performed in Intersight such as creating server profile, deleting a user etc. Privileges are assigned to a user using privilege sets and roles. :param privileges: The privileges of this IamAccount. :type: list[IamPrivilegeRef] @@ -516,6 +541,7 @@ def privileges(self, privileges): def resource_limits(self): """ Gets the resource_limits of this IamAccount. + Represents user and user group related configuration limits. :return: The resource_limits of this IamAccount. :rtype: IamResourceLimitsRef @@ -526,6 +552,7 @@ def resource_limits(self): def resource_limits(self, resource_limits): """ Sets the resource_limits of this IamAccount. + Represents user and user group related configuration limits. :param resource_limits: The resource_limits of this IamAccount. :type: IamResourceLimitsRef @@ -537,6 +564,7 @@ def resource_limits(self, resource_limits): def roles(self): """ Gets the roles of this IamAccount. + User defined roles created within an account. Role is a collection of privilege sets. Roles are assigned to user using permission object. :return: The roles of this IamAccount. :rtype: list[IamRoleRef] @@ -547,6 +575,7 @@ def roles(self): def roles(self, roles): """ Sets the roles of this IamAccount. + User defined roles created within an account. Role is a collection of privilege sets. Roles are assigned to user using permission object. :param roles: The roles of this IamAccount. :type: list[IamRoleRef] @@ -554,73 +583,11 @@ def roles(self, roles): self._roles = roles - @property - def root_user_email(self): - """ - Gets the root_user_email of this IamAccount. - - :return: The root_user_email of this IamAccount. - :rtype: str - """ - return self._root_user_email - - @root_user_email.setter - def root_user_email(self, root_user_email): - """ - Sets the root_user_email of this IamAccount. - - :param root_user_email: The root_user_email of this IamAccount. - :type: str - """ - - self._root_user_email = root_user_email - - @property - def root_user_id(self): - """ - Gets the root_user_id of this IamAccount. - - :return: The root_user_id of this IamAccount. - :rtype: str - """ - return self._root_user_id - - @root_user_id.setter - def root_user_id(self, root_user_id): - """ - Sets the root_user_id of this IamAccount. - - :param root_user_id: The root_user_id of this IamAccount. - :type: str - """ - - self._root_user_id = root_user_id - - @property - def root_user_name(self): - """ - Gets the root_user_name of this IamAccount. - - :return: The root_user_name of this IamAccount. - :rtype: str - """ - return self._root_user_name - - @root_user_name.setter - def root_user_name(self, root_user_name): - """ - Sets the root_user_name of this IamAccount. - - :param root_user_name: The root_user_name of this IamAccount. - :type: str - """ - - self._root_user_name = root_user_name - @property def session_limits(self): """ Gets the session_limits of this IamAccount. + Represents session related configuration limits. :return: The session_limits of this IamAccount. :rtype: IamSessionLimitsRef @@ -631,6 +598,7 @@ def session_limits(self): def session_limits(self, session_limits): """ Sets the session_limits of this IamAccount. + Represents session related configuration limits. :param session_limits: The session_limits of this IamAccount. :type: IamSessionLimitsRef @@ -642,6 +610,7 @@ def session_limits(self, session_limits): def status(self): """ Gets the status of this IamAccount. + Status of the account. This account remains inactive until a device is claimed to the account. :return: The status of this IamAccount. :rtype: str @@ -652,6 +621,7 @@ def status(self): def status(self, status): """ Sets the status of this IamAccount. + Status of the account. This account remains inactive until a device is claimed to the account. :param status: The status of this IamAccount. :type: str diff --git a/intersight/models/iam_account_list.py b/intersight/models/iam_account_list.py index c02b390c..caeb4115 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..ca498c39 --- /dev/null +++ b/intersight/models/iam_account_permissions.py @@ -0,0 +1,209 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamAccountPermissions(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_identifier': 'str', + 'account_name': 'str', + 'account_status': 'str', + 'permissions': 'list[IamPermissionReference]' + } + + attribute_map = { + 'account_identifier': 'AccountIdentifier', + 'account_name': 'AccountName', + 'account_status': 'AccountStatus', + 'permissions': 'Permissions' + } + + def __init__(self, account_identifier=None, account_name=None, account_status=None, permissions=None): + """ + IamAccountPermissions - a model defined in Swagger + """ + + self._account_identifier = None + self._account_name = None + self._account_status = None + self._permissions = None + + if account_identifier is not None: + self.account_identifier = account_identifier + if account_name is not None: + self.account_name = account_name + if account_status is not None: + self.account_status = account_status + if permissions is not None: + self.permissions = permissions + + @property + def account_identifier(self): + """ + Gets the account_identifier of this IamAccountPermissions. + MOID of the account which a user can select after authentication. + + :return: The account_identifier of this IamAccountPermissions. + :rtype: str + """ + return self._account_identifier + + @account_identifier.setter + def account_identifier(self, account_identifier): + """ + Sets the account_identifier of this IamAccountPermissions. + MOID of the account which a user can select after authentication. + + :param account_identifier: The account_identifier of this IamAccountPermissions. + :type: str + """ + + self._account_identifier = account_identifier + + @property + def account_name(self): + """ + Gets the account_name of this IamAccountPermissions. + Name of the account which a user can select after authentication. + + :return: The account_name of this IamAccountPermissions. + :rtype: str + """ + return self._account_name + + @account_name.setter + def account_name(self, account_name): + """ + Sets the account_name of this IamAccountPermissions. + Name of the account which a user can select after authentication. + + :param account_name: The account_name of this IamAccountPermissions. + :type: str + """ + + self._account_name = account_name + + @property + def account_status(self): + """ + Gets the account_status of this IamAccountPermissions. + Status of the account. Account remains inactive until a device is claimed to the account. + + :return: The account_status of this IamAccountPermissions. + :rtype: str + """ + return self._account_status + + @account_status.setter + def account_status(self, account_status): + """ + Sets the account_status of this IamAccountPermissions. + Status of the account. Account remains inactive until a device is claimed to the account. + + :param account_status: The account_status of this IamAccountPermissions. + :type: str + """ + + self._account_status = account_status + + @property + def permissions(self): + """ + Gets the permissions of this IamAccountPermissions. + Permissions within an account which a user can select after authentication. + + :return: The permissions of this IamAccountPermissions. + :rtype: list[IamPermissionReference] + """ + return self._permissions + + @permissions.setter + def permissions(self, permissions): + """ + Sets the permissions of this IamAccountPermissions. + Permissions within an account which a user can select after authentication. + + :param permissions: The permissions of this IamAccountPermissions. + :type: list[IamPermissionReference] + """ + + self._permissions = permissions + + 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, IamAccountPermissions): + 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_permissions_ref.py b/intersight/models/iam_account_permissions_ref.py new file mode 100644 index 00000000..79ce5d5d --- /dev/null +++ b/intersight/models/iam_account_permissions_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamAccountPermissionsRef(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): + """ + IamAccountPermissionsRef - 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 IamAccountPermissionsRef. + + :return: The moid of this IamAccountPermissionsRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IamAccountPermissionsRef. + + :param moid: The moid of this IamAccountPermissionsRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IamAccountPermissionsRef. + + :return: The object_type of this IamAccountPermissionsRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IamAccountPermissionsRef. + + :param object_type: The object_type of this IamAccountPermissionsRef. + :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, IamAccountPermissionsRef): + 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_ref.py b/intersight/models/iam_account_ref.py index 4bb974f6..a9579ddc 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b6f05d95..3ca3cc73 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.5-612 + OpenAPI spec version: 1.0.7-681 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]', + 'permission': 'IamPermissionRef', 'private_key': 'str', 'purpose': 'str', 'user': 'IamUserRef' @@ -55,12 +56,13 @@ class IamApiKey(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + '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, 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, permission=None, private_key=None, purpose=None, user=None): """ IamApiKey - 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._permission = None self._private_key = None self._purpose = None self._user = 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 permission is not None: + self.permission = permission if private_key is not None: self.private_key = private_key if purpose is not None: @@ -310,11 +315,34 @@ def tags(self, tags): self._tags = tags + @property + def permission(self): + """ + Gets the permission of this IamApiKey. + Permissions associated with the API key. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. + + :return: The permission of this IamApiKey. + :rtype: IamPermissionRef + """ + return self._permission + + @permission.setter + def permission(self, permission): + """ + Sets the permission of this IamApiKey. + Permissions associated with the API key. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. + + :param permission: The permission of this IamApiKey. + :type: IamPermissionRef + """ + + self._permission = permission + @property def private_key(self): """ Gets the private_key of this IamApiKey. - Holds private key for API key + Holds private key for API key. :return: The private_key of this IamApiKey. :rtype: str @@ -325,7 +353,7 @@ def private_key(self): def private_key(self, private_key): """ Sets the private_key of this IamApiKey. - Holds private key for API key + Holds private key for API key. :param private_key: The private_key of this IamApiKey. :type: str @@ -337,7 +365,7 @@ def private_key(self, private_key): def purpose(self): """ Gets the purpose of this IamApiKey. - Specifies the purpose of API Key + Specifies the purpose of API Key. :return: The purpose of this IamApiKey. :rtype: str @@ -348,7 +376,7 @@ def purpose(self): def purpose(self, purpose): """ Sets the purpose of this IamApiKey. - Specifies the purpose of API Key + Specifies the purpose of API Key. :param purpose: The purpose of this IamApiKey. :type: str diff --git a/intersight/models/iam_api_key_list.py b/intersight/models/iam_api_key_list.py index 9b234e6e..f94de7a7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 668cbbf4..2e31458d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..f33848bb --- /dev/null +++ b/intersight/models/iam_domain_group.py @@ -0,0 +1,537 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamDomainGroup(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]', + 'account': 'IamAccountRef', + 'name': 'str', + 'partition1': 'int', + 'partition2': 'int', + 'partition3': 'int', + 'partition_key': 'str', + 'usage': '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', + 'account': 'Account', + 'name': 'Name', + 'partition1': 'Partition1', + 'partition2': 'Partition2', + 'partition3': 'Partition3', + 'partition_key': 'PartitionKey', + '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): + """ + IamDomainGroup - 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._account = None + self._name = None + self._partition1 = None + self._partition2 = None + self._partition3 = None + self._partition_key = None + self._usage = 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 account is not None: + self.account = account + if name is not None: + self.name = name + if partition1 is not None: + self.partition1 = partition1 + if partition2 is not None: + self.partition2 = partition2 + if partition3 is not None: + self.partition3 = partition3 + if partition_key is not None: + self.partition_key = partition_key + if usage is not None: + self.usage = usage + + @property + def account_moid(self): + """ + Gets the account_moid of this IamDomainGroup. + The Account ID for this managed object. + + :return: The account_moid of this IamDomainGroup. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this IamDomainGroup. + The Account ID for this managed object. + + :param account_moid: The account_moid of this IamDomainGroup. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this IamDomainGroup. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this IamDomainGroup. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this IamDomainGroup. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this IamDomainGroup. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this IamDomainGroup. + The time when this managed object was created. + + :return: The create_time of this IamDomainGroup. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this IamDomainGroup. + The time when this managed object was created. + + :param create_time: The create_time of this IamDomainGroup. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this IamDomainGroup. + The time when this managed object was last modified. + + :return: The mod_time of this IamDomainGroup. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this IamDomainGroup. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this IamDomainGroup. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this IamDomainGroup. + A unique identifier of this Managed Object instance. + + :return: The moid of this IamDomainGroup. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IamDomainGroup. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this IamDomainGroup. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IamDomainGroup. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this IamDomainGroup. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IamDomainGroup. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this IamDomainGroup. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this IamDomainGroup. + An array of owners which represent effective ownership of this object. + + :return: The owners of this IamDomainGroup. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this IamDomainGroup. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this IamDomainGroup. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this IamDomainGroup. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this IamDomainGroup. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this IamDomainGroup. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this IamDomainGroup. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this IamDomainGroup. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this IamDomainGroup. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this IamDomainGroup. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def account(self): + """ + Gets the account of this IamDomainGroup. + + :return: The account of this IamDomainGroup. + :rtype: IamAccountRef + """ + return self._account + + @account.setter + def account(self, account): + """ + Sets the account of this IamDomainGroup. + + :param account: The account of this IamDomainGroup. + :type: IamAccountRef + """ + + self._account = account + + @property + def name(self): + """ + Gets the name of this IamDomainGroup. + + :return: The name of this IamDomainGroup. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this IamDomainGroup. + + :param name: The name of this IamDomainGroup. + :type: str + """ + + self._name = name + + @property + def partition1(self): + """ + Gets the partition1 of this IamDomainGroup. + the partition number of the domain group for 1st partition count + + :return: The partition1 of this IamDomainGroup. + :rtype: int + """ + return self._partition1 + + @partition1.setter + def partition1(self, partition1): + """ + Sets the partition1 of this IamDomainGroup. + the partition number of the domain group for 1st partition count + + :param partition1: The partition1 of this IamDomainGroup. + :type: int + """ + + self._partition1 = partition1 + + @property + def partition2(self): + """ + Gets the partition2 of this IamDomainGroup. + the partition number of the domain group for 2nd partition count + + :return: The partition2 of this IamDomainGroup. + :rtype: int + """ + return self._partition2 + + @partition2.setter + def partition2(self, partition2): + """ + Sets the partition2 of this IamDomainGroup. + the partition number of the domain group for 2nd partition count + + :param partition2: The partition2 of this IamDomainGroup. + :type: int + """ + + self._partition2 = partition2 + + @property + def partition3(self): + """ + Gets the partition3 of this IamDomainGroup. + the partition number of the domain group for 3rd partition count + + :return: The partition3 of this IamDomainGroup. + :rtype: int + """ + return self._partition3 + + @partition3.setter + def partition3(self, partition3): + """ + Sets the partition3 of this IamDomainGroup. + the partition number of the domain group for 3rd partition count + + :param partition3: The partition3 of this IamDomainGroup. + :type: int + """ + + self._partition3 = partition3 + + @property + def partition_key(self): + """ + Gets the partition_key of this IamDomainGroup. + + :return: The partition_key of this IamDomainGroup. + :rtype: str + """ + return self._partition_key + + @partition_key.setter + def partition_key(self, partition_key): + """ + Sets the partition_key of this IamDomainGroup. + + :param partition_key: The partition_key of this IamDomainGroup. + :type: str + """ + + self._partition_key = partition_key + + @property + def usage(self): + """ + Gets the usage of this IamDomainGroup. + + :return: The usage of this IamDomainGroup. + :rtype: int + """ + return self._usage + + @usage.setter + def usage(self, usage): + """ + Sets the usage of this IamDomainGroup. + + :param usage: The usage of this IamDomainGroup. + :type: int + """ + + self._usage = usage + + 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, IamDomainGroup): + 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_domain_group_list.py b/intersight/models/iam_domain_group_list.py new file mode 100644 index 00000000..f3c92d7e --- /dev/null +++ b/intersight/models/iam_domain_group_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamDomainGroupList(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[IamDomainGroup]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + IamDomainGroupList - 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 IamDomainGroupList. + The number of iamDomainGroups matching your request in total for all pages. + + :return: The count of this IamDomainGroupList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this IamDomainGroupList. + The number of iamDomainGroups matching your request in total for all pages. + + :param count: The count of this IamDomainGroupList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this IamDomainGroupList. + The array of iamDomainGroups matching your request. + + :return: The results of this IamDomainGroupList. + :rtype: list[IamDomainGroup] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this IamDomainGroupList. + The array of iamDomainGroups matching your request. + + :param results: The results of this IamDomainGroupList. + :type: list[IamDomainGroup] + """ + + 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, IamDomainGroupList): + 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_domain_group_ref.py b/intersight/models/iam_domain_group_ref.py new file mode 100644 index 00000000..7ab1b31c --- /dev/null +++ b/intersight/models/iam_domain_group_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamDomainGroupRef(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): + """ + IamDomainGroupRef - 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 IamDomainGroupRef. + + :return: The moid of this IamDomainGroupRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IamDomainGroupRef. + + :param moid: The moid of this IamDomainGroupRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IamDomainGroupRef. + + :return: The object_type of this IamDomainGroupRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IamDomainGroupRef. + + :param object_type: The object_type of this IamDomainGroupRef. + :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, IamDomainGroupRef): + 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_end_point_password_properties.py b/intersight/models/iam_end_point_password_properties.py index 57883efc..ac94b440 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.5-612 + OpenAPI spec version: 1.0.7-681 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 137cc7d4..18645963 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.5-612 + OpenAPI spec version: 1.0.7-681 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 26da46e2..de272108 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -319,7 +319,7 @@ def tags(self, tags): def description(self): """ Gets the description of this IamEndPointPrivilege. - Description about functionality of this privilege + Description about functionality of this privilege. :return: The description of this IamEndPointPrivilege. :rtype: str @@ -330,7 +330,7 @@ def description(self): def description(self, description): """ Sets the description of this IamEndPointPrivilege. - Description about functionality of this privilege + Description about functionality of this privilege. :param description: The description of this IamEndPointPrivilege. :type: str @@ -342,7 +342,7 @@ def description(self, description): def name(self): """ Gets the name of this IamEndPointPrivilege. - Name of the end point privilege + Name of the end point privilege. :return: The name of this IamEndPointPrivilege. :rtype: str @@ -353,7 +353,7 @@ def name(self): def name(self, name): """ Sets the name of this IamEndPointPrivilege. - Name of the end point privilege + Name of the end point privilege. :param name: The name of this IamEndPointPrivilege. :type: str @@ -386,7 +386,7 @@ def system(self, system): def type(self): """ Gets the type of this IamEndPointPrivilege. - Type of the end point + Type of the end point such as UCSFI, IMC, etc. :return: The type of this IamEndPointPrivilege. :rtype: str @@ -397,12 +397,12 @@ def type(self): def type(self, type): """ Sets the type of this IamEndPointPrivilege. - Type of the end point + Type of the end point such as UCSFI, IMC, etc. :param type: The type of this IamEndPointPrivilege. :type: str """ - allowed_values = ["", "UCSFI", "IMC", "IMCM4", "IMCM5", "HX", "UCSD"] + allowed_values = ["", "APIC", "UCSFI", "IMC", "IMCM4", "IMCM5", "HX", "UCSD", "IntersightAppliance", "PureStorage"] if type not in allowed_values: raise ValueError( "Invalid value for `type` ({0}), must be one of {1}" diff --git a/intersight/models/iam_end_point_privilege_list.py b/intersight/models/iam_end_point_privilege_list.py index b2c682aa..ea61695a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a7f22d77..2f280c1a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a7c1854d..5cc0223f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -350,6 +350,7 @@ def account(self, account): def end_point_privileges(self): """ Gets the end_point_privileges of this IamEndPointRole. + Privileges assigned to this end point role. These privileges are assigned to users using end point roles to perform operations such as GUI/CLI cross launch. :return: The end_point_privileges of this IamEndPointRole. :rtype: list[IamEndPointPrivilegeRef] @@ -360,6 +361,7 @@ def end_point_privileges(self): def end_point_privileges(self, end_point_privileges): """ Sets the end_point_privileges of this IamEndPointRole. + Privileges assigned to this end point role. These privileges are assigned to users using end point roles to perform operations such as GUI/CLI cross launch. :param end_point_privileges: The end_point_privileges of this IamEndPointRole. :type: list[IamEndPointPrivilegeRef] @@ -371,7 +373,7 @@ def end_point_privileges(self, end_point_privileges): def name(self): """ Gets the name of this IamEndPointRole. - Name of the end point role + Name of the end point role. :return: The name of this IamEndPointRole. :rtype: str @@ -382,7 +384,7 @@ def name(self): def name(self, name): """ Sets the name of this IamEndPointRole. - Name of the end point role + Name of the end point role. :param name: The name of this IamEndPointRole. :type: str @@ -394,7 +396,7 @@ def name(self, name): def role_type(self): """ Gets the role_type of this IamEndPointRole. - Used to tags roles as special default role types common across endpoints + Used to specify tags to roles such as ep-admin, ep-readonly. :return: The role_type of this IamEndPointRole. :rtype: str @@ -405,7 +407,7 @@ def role_type(self): def role_type(self, role_type): """ Sets the role_type of this IamEndPointRole. - Used to tags roles as special default role types common across endpoints + Used to specify tags to roles such as ep-admin, ep-readonly. :param role_type: The role_type of this IamEndPointRole. :type: str @@ -438,7 +440,7 @@ def system(self, system): def type(self): """ Gets the type of this IamEndPointRole. - Type of the end point + Type of the end point such as UCSFI, IMC etc. :return: The type of this IamEndPointRole. :rtype: str @@ -449,12 +451,12 @@ def type(self): def type(self, type): """ Sets the type of this IamEndPointRole. - Type of the end point + Type of the end point such as UCSFI, IMC etc. :param type: The type of this IamEndPointRole. :type: str """ - allowed_values = ["", "UCSFI", "IMC", "IMCM4", "IMCM5", "HX", "UCSD"] + allowed_values = ["", "APIC", "UCSFI", "IMC", "IMCM4", "IMCM5", "HX", "UCSD", "IntersightAppliance", "PureStorage"] if type not in allowed_values: raise ValueError( "Invalid value for `type` ({0}), must be one of {1}" diff --git a/intersight/models/iam_end_point_role_list.py b/intersight/models/iam_end_point_role_list.py index bdb67465..035b8b45 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6f4a17d5..6c6b72ac 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.5-612 + OpenAPI spec version: 1.0.7-681 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 20ba32db..f28729e8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ 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 492286a3..49458ac4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c8c11ed1..94f5637e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 1c7c5ef7..604cff6e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user_policy_list.py b/intersight/models/iam_end_point_user_policy_list.py index ed40d7e6..06f9c390 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.5-612 + OpenAPI spec version: 1.0.7-681 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 09a33092..b888988e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2425cff6..f2dd638f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8b057c5b..0ab78b62 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user_role_list.py b/intersight/models/iam_end_point_user_role_list.py index 2c4964f3..af220c5c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 590830bd..7a37f6b3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e2fe1895..dfbb2907 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.5-612 + OpenAPI spec version: 1.0.7-681 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 86e6337c..54450b5e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -41,12 +41,15 @@ class IamIdp(object): 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', 'account': 'IamAccountRef', - 'config_state': 'str', - 'idp_connection_name': 'str', + 'domain_name': 'str', 'idp_entity_id': 'str', + 'metadata': 'str', 'name': 'str', - 'sp_adapter_name': 'str', - 'system': 'IamSystemRef' + 'system': 'IamSystemRef', + 'user_login_time': 'list[IamUserLoginTimeRef]', + 'user_preferences': 'list[IamUserPreferenceRef]', + 'usergroups': 'list[IamUserGroupRef]', + 'users': 'list[IamUserRef]' } attribute_map = { @@ -60,15 +63,18 @@ class IamIdp(object): 'parent': 'Parent', 'tags': 'Tags', 'account': 'Account', - 'config_state': 'ConfigState', - 'idp_connection_name': 'IdpConnectionName', + 'domain_name': 'DomainName', 'idp_entity_id': 'IdpEntityId', + 'metadata': 'Metadata', 'name': 'Name', - 'sp_adapter_name': 'SpAdapterName', - 'system': 'System' + 'system': 'System', + 'user_login_time': 'UserLoginTime', + 'user_preferences': 'UserPreferences', + 'usergroups': 'Usergroups', + '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, config_state=None, idp_connection_name=None, idp_entity_id=None, name=None, sp_adapter_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, 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 """ @@ -83,12 +89,15 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._parent = None self._tags = None self._account = None - self._config_state = None - self._idp_connection_name = None + self._domain_name = None self._idp_entity_id = None + self._metadata = None self._name = None - self._sp_adapter_name = None self._system = None + self._user_login_time = None + self._user_preferences = None + self._usergroups = None + self._users = None if account_moid is not None: self.account_moid = account_moid @@ -110,18 +119,24 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.tags = tags if account is not None: self.account = account - if config_state is not None: - self.config_state = config_state - if idp_connection_name is not None: - self.idp_connection_name = idp_connection_name + if domain_name is not None: + self.domain_name = domain_name if idp_entity_id is not None: self.idp_entity_id = idp_entity_id + if metadata is not None: + self.metadata = metadata if name is not None: self.name = name - if sp_adapter_name is not None: - self.sp_adapter_name = sp_adapter_name if system is not None: self.system = system + if user_login_time is not None: + self.user_login_time = user_login_time + if user_preferences is not None: + self.user_preferences = user_preferences + if usergroups is not None: + self.usergroups = usergroups + if users is not None: + self.users = users @property def account_moid(self): @@ -352,51 +367,33 @@ def account(self, account): self._account = account @property - def config_state(self): + def domain_name(self): """ - Gets the config_state of this IamIdp. + Gets the domain_name of this IamIdp. + User's email domain name for this IdP. When a user enters an email during login in the Intersight home page, the IdP is picked by matching this domain name with the email domain name for authentication. - :return: The config_state of this IamIdp. + :return: The domain_name of this IamIdp. :rtype: str """ - return self._config_state + return self._domain_name - @config_state.setter - def config_state(self, config_state): + @domain_name.setter + def domain_name(self, domain_name): """ - Sets the config_state of this IamIdp. + Sets the domain_name of this IamIdp. + User's email domain name for this IdP. When a user enters an email during login in the Intersight home page, the IdP is picked by matching this domain name with the email domain name for authentication. - :param config_state: The config_state of this IamIdp. + :param domain_name: The domain_name of this IamIdp. :type: str """ - self._config_state = config_state - - @property - def idp_connection_name(self): - """ - Gets the idp_connection_name of this IamIdp. - - :return: The idp_connection_name of this IamIdp. - :rtype: str - """ - return self._idp_connection_name - - @idp_connection_name.setter - def idp_connection_name(self, idp_connection_name): - """ - Sets the idp_connection_name of this IamIdp. - - :param idp_connection_name: The idp_connection_name of this IamIdp. - :type: str - """ - - self._idp_connection_name = idp_connection_name + self._domain_name = domain_name @property def idp_entity_id(self): """ Gets the idp_entity_id of this IamIdp. + Entity ID of the IdP. In SAML, the entity ID uniquely identifies IdP/Service Provider. :return: The idp_entity_id of this IamIdp. :rtype: str @@ -407,6 +404,7 @@ def idp_entity_id(self): def idp_entity_id(self, idp_entity_id): """ Sets the idp_entity_id of this IamIdp. + Entity ID of the IdP. In SAML, the entity ID uniquely identifies IdP/Service Provider. :param idp_entity_id: The idp_entity_id of this IamIdp. :type: str @@ -415,46 +413,50 @@ def idp_entity_id(self, idp_entity_id): self._idp_entity_id = idp_entity_id @property - def name(self): + def metadata(self): """ - Gets the name of this IamIdp. + Gets the metadata of this IamIdp. + SAML metadata of the IdP. - :return: The name of this IamIdp. + :return: The metadata of this IamIdp. :rtype: str """ - return self._name + return self._metadata - @name.setter - def name(self, name): + @metadata.setter + def metadata(self, metadata): """ - Sets the name of this IamIdp. + Sets the metadata of this IamIdp. + SAML metadata of the IdP. - :param name: The name of this IamIdp. + :param metadata: The metadata of this IamIdp. :type: str """ - self._name = name + self._metadata = metadata @property - def sp_adapter_name(self): + def name(self): """ - Gets the sp_adapter_name of this IamIdp. + Gets the name of this IamIdp. + Name of the IdP. - :return: The sp_adapter_name of this IamIdp. + :return: The name of this IamIdp. :rtype: str """ - return self._sp_adapter_name + return self._name - @sp_adapter_name.setter - def sp_adapter_name(self, sp_adapter_name): + @name.setter + def name(self, name): """ - Sets the sp_adapter_name of this IamIdp. + Sets the name of this IamIdp. + Name of the IdP. - :param sp_adapter_name: The sp_adapter_name of this IamIdp. + :param name: The name of this IamIdp. :type: str """ - self._sp_adapter_name = sp_adapter_name + self._name = name @property def system(self): @@ -477,6 +479,98 @@ def system(self, system): self._system = system + @property + def user_login_time(self): + """ + Gets the user_login_time of this IamIdp. + Represents the last login session details for each logged in user of this IdP. + + :return: The user_login_time of this IamIdp. + :rtype: list[IamUserLoginTimeRef] + """ + return self._user_login_time + + @user_login_time.setter + def user_login_time(self, user_login_time): + """ + Sets the user_login_time of this IamIdp. + Represents the last login session details for each logged in user of this IdP. + + :param user_login_time: The user_login_time of this IamIdp. + :type: list[IamUserLoginTimeRef] + """ + + self._user_login_time = user_login_time + + @property + def user_preferences(self): + """ + Gets the user_preferences of this IamIdp. + Represents the UI preference object for each user logged in through this IdP. + + :return: The user_preferences of this IamIdp. + :rtype: list[IamUserPreferenceRef] + """ + return self._user_preferences + + @user_preferences.setter + def user_preferences(self, user_preferences): + """ + Sets the user_preferences of this IamIdp. + Represents the UI preference object for each user logged in through this IdP. + + :param user_preferences: The user_preferences of this IamIdp. + :type: list[IamUserPreferenceRef] + """ + + self._user_preferences = user_preferences + + @property + def usergroups(self): + """ + Gets the usergroups of this IamIdp. + User groups added in an IdP. User group provides a way to configure permission assignment for a group of users based on IdP attributes received after authentication. + + :return: The usergroups of this IamIdp. + :rtype: list[IamUserGroupRef] + """ + return self._usergroups + + @usergroups.setter + def usergroups(self, usergroups): + """ + Sets the usergroups of this IamIdp. + User groups added in an IdP. User group provides a way to configure permission assignment for a group of users based on IdP attributes received after authentication. + + :param usergroups: The usergroups of this IamIdp. + :type: list[IamUserGroupRef] + """ + + self._usergroups = usergroups + + @property + def users(self): + """ + Gets the users of this IamIdp. + Added or logged in users of an IdP who can access an Intersight account. + + :return: The users of this IamIdp. + :rtype: list[IamUserRef] + """ + return self._users + + @users.setter + def users(self, users): + """ + Sets the users of this IamIdp. + Added or logged in users of an IdP who can access an Intersight account. + + :param users: The users of this IamIdp. + :type: list[IamUserRef] + """ + + self._users = users + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/iam_idp_list.py b/intersight/models/iam_idp_list.py index c1085cdc..3ff5375e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 02a1b442..858101e4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0b4e234b..f292c3de 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -41,7 +41,10 @@ class IamIdpReference(object): 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', 'account': 'IamAccountRef', + 'domain_name': 'str', 'idp': 'IamIdpRef', + 'idp_entity_id': 'str', + 'multi_factor_authentication': 'bool', 'name': 'str', 'user_login_time': 'list[IamUserLoginTimeRef]', 'user_preferences': 'list[IamUserPreferenceRef]', @@ -60,7 +63,10 @@ class IamIdpReference(object): 'parent': 'Parent', 'tags': 'Tags', 'account': 'Account', + 'domain_name': 'DomainName', 'idp': 'Idp', + 'idp_entity_id': 'IdpEntityId', + 'multi_factor_authentication': 'MultiFactorAuthentication', 'name': 'Name', 'user_login_time': 'UserLoginTime', 'user_preferences': 'UserPreferences', @@ -68,7 +74,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, idp=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, 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 """ @@ -83,7 +89,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._parent = None self._tags = None self._account = None + self._domain_name = None self._idp = None + self._idp_entity_id = None + self._multi_factor_authentication = None self._name = None self._user_login_time = None self._user_preferences = None @@ -110,8 +119,14 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.tags = tags if account is not None: self.account = account + if domain_name is not None: + self.domain_name = domain_name if idp is not None: self.idp = idp + if idp_entity_id is not None: + self.idp_entity_id = idp_entity_id + if multi_factor_authentication is not None: + self.multi_factor_authentication = multi_factor_authentication if name is not None: self.name = name if user_login_time is not None: @@ -351,10 +366,34 @@ def account(self, account): self._account = account + @property + def domain_name(self): + """ + Gets the domain_name of this IamIdpReference. + User's email domain name for this IdP. When a user enters an email during login in the Intersight home page, the IdP is picked by matching this domain name with the email domain name for authentication. + + :return: The domain_name of this IamIdpReference. + :rtype: str + """ + return self._domain_name + + @domain_name.setter + def domain_name(self, domain_name): + """ + Sets the domain_name of this IamIdpReference. + User's email domain name for this IdP. When a user enters an email during login in the Intersight home page, the IdP is picked by matching this domain name with the email domain name for authentication. + + :param domain_name: The domain_name of this IamIdpReference. + :type: str + """ + + self._domain_name = domain_name + @property def idp(self): """ Gets the idp of this IamIdpReference. + Reference to System default Cisco IdP. :return: The idp of this IamIdpReference. :rtype: IamIdpRef @@ -365,6 +404,7 @@ def idp(self): def idp(self, idp): """ Sets the idp of this IamIdpReference. + Reference to System default Cisco IdP. :param idp: The idp of this IamIdpReference. :type: IamIdpRef @@ -372,10 +412,57 @@ def idp(self, idp): self._idp = idp + @property + def idp_entity_id(self): + """ + Gets the idp_entity_id of this IamIdpReference. + Entity ID of the IdP. In SAML, the entity ID uniquely identifies the IdP/Service Provider. + + :return: The idp_entity_id of this IamIdpReference. + :rtype: str + """ + return self._idp_entity_id + + @idp_entity_id.setter + def idp_entity_id(self, idp_entity_id): + """ + Sets the idp_entity_id of this IamIdpReference. + Entity ID of the IdP. In SAML, the entity ID uniquely identifies the IdP/Service Provider. + + :param idp_entity_id: The idp_entity_id of this IamIdpReference. + :type: str + """ + + self._idp_entity_id = idp_entity_id + + @property + def multi_factor_authentication(self): + """ + Gets the multi_factor_authentication of this IamIdpReference. + Flag represents if multi factor authentication is required for Cisco IdP users. + + :return: The multi_factor_authentication of this IamIdpReference. + :rtype: bool + """ + return self._multi_factor_authentication + + @multi_factor_authentication.setter + def multi_factor_authentication(self, multi_factor_authentication): + """ + Sets the multi_factor_authentication of this IamIdpReference. + Flag represents if multi factor authentication is required for Cisco IdP users. + + :param multi_factor_authentication: The multi_factor_authentication of this IamIdpReference. + :type: bool + """ + + self._multi_factor_authentication = multi_factor_authentication + @property def name(self): """ Gets the name of this IamIdpReference. + Cisco IdP reference in an account. :return: The name of this IamIdpReference. :rtype: str @@ -386,6 +473,7 @@ def name(self): def name(self, name): """ Sets the name of this IamIdpReference. + Cisco IdP reference in an account. :param name: The name of this IamIdpReference. :type: str @@ -397,6 +485,7 @@ def name(self, name): def user_login_time(self): """ Gets the user_login_time of this IamIdpReference. + Represents the last login session details for each logged in user of this IdP. :return: The user_login_time of this IamIdpReference. :rtype: list[IamUserLoginTimeRef] @@ -407,6 +496,7 @@ def user_login_time(self): def user_login_time(self, user_login_time): """ Sets the user_login_time of this IamIdpReference. + Represents the last login session details for each logged in user of this IdP. :param user_login_time: The user_login_time of this IamIdpReference. :type: list[IamUserLoginTimeRef] @@ -418,6 +508,7 @@ def user_login_time(self, user_login_time): def user_preferences(self): """ Gets the user_preferences of this IamIdpReference. + Represents the UI preference object for each user logged in through this IdP. :return: The user_preferences of this IamIdpReference. :rtype: list[IamUserPreferenceRef] @@ -428,6 +519,7 @@ def user_preferences(self): def user_preferences(self, user_preferences): """ Sets the user_preferences of this IamIdpReference. + Represents the UI preference object for each user logged in through this IdP. :param user_preferences: The user_preferences of this IamIdpReference. :type: list[IamUserPreferenceRef] @@ -439,6 +531,7 @@ def user_preferences(self, user_preferences): def usergroups(self): """ Gets the usergroups of this IamIdpReference. + User groups added in an IdP. User group provides a way to configure permission assignment for a group of users based on IdP attributes received after authentication. :return: The usergroups of this IamIdpReference. :rtype: list[IamUserGroupRef] @@ -449,6 +542,7 @@ def usergroups(self): def usergroups(self, usergroups): """ Sets the usergroups of this IamIdpReference. + User groups added in an IdP. User group provides a way to configure permission assignment for a group of users based on IdP attributes received after authentication. :param usergroups: The usergroups of this IamIdpReference. :type: list[IamUserGroupRef] @@ -460,6 +554,7 @@ def usergroups(self, usergroups): def users(self): """ Gets the users of this IamIdpReference. + Added or logged in users of an IdP who can access an Intersight account. :return: The users of this IamIdpReference. :rtype: list[IamUserRef] @@ -470,6 +565,7 @@ def users(self): def users(self, users): """ Sets the users of this IamIdpReference. + Added or logged in users of an IdP who can access an Intersight account. :param users: The users of this IamIdpReference. :type: list[IamUserRef] diff --git a/intersight/models/iam_idp_reference_list.py b/intersight/models/iam_idp_reference_list.py index 61f8a489..69fc9fa3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5f08e3f6..16210b68 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4a41c0f3..13613b3f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4d6fff90..124b8912 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_deploy_task_ref.py b/intersight/models/iam_ldap_deploy_task_ref.py index fbfdfd3e..73506af8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 dfb25834..eaba3498 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.5-612 + OpenAPI spec version: 1.0.7-681 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 64eb03c1..d52a71e3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 aa25a68a..f92aa440 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_group_list.py b/intersight/models/iam_ldap_group_list.py index 2f5d27db..f0f51774 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0cdefeb8..f9827a24 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4aaf0981..fcf833cd 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_policy_list.py b/intersight/models/iam_ldap_policy_list.py index cc6d5daf..447cbdcd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8e684c18..68fc01d4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 213d8041..01493fbf 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_provider_list.py b/intersight/models/iam_ldap_provider_list.py index 88ad490e..2acb9766 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6180b74b..0ee5cc57 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e2ffa4cb..8bb8fe09 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.5-612 + OpenAPI spec version: 1.0.7-681 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 eb452b30..1ffe27d3 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,9 +42,10 @@ class IamPermission(object): 'tags': 'list[MoTag]', 'account': 'IamAccountRef', 'end_point_roles': 'list[IamEndPointRoleRef]', + 'name': 'str', 'roles': 'list[IamRoleRef]', - 'subject': 'str', - 'type': 'str' + 'user_groups': 'list[IamUserGroupRef]', + 'users': 'list[IamUserRef]' } attribute_map = { @@ -59,12 +60,13 @@ class IamPermission(object): 'tags': 'Tags', 'account': 'Account', 'end_point_roles': 'EndPointRoles', + 'name': 'Name', 'roles': 'Roles', - 'subject': 'Subject', - 'type': 'Type' + 'user_groups': 'UserGroups', + '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, roles=None, subject=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, account=None, end_point_roles=None, name=None, roles=None, user_groups=None, users=None): """ IamPermission - a model defined in Swagger """ @@ -80,9 +82,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._tags = None self._account = None self._end_point_roles = None + self._name = None self._roles = None - self._subject = None - self._type = None + self._user_groups = None + self._users = None if account_moid is not None: self.account_moid = account_moid @@ -106,12 +109,14 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.account = account if end_point_roles is not None: self.end_point_roles = end_point_roles + if name is not None: + self.name = name if roles is not None: self.roles = roles - if subject is not None: - self.subject = subject - if type is not None: - self.type = type + if user_groups is not None: + self.user_groups = user_groups + if users is not None: + self.users = users @property def account_moid(self): @@ -345,6 +350,7 @@ def account(self, account): def end_point_roles(self): """ Gets the end_point_roles of this IamPermission. + End point roles assigned to this permission. These roles are assigned to a user to perform end point operations such as GUI/CLI cross launch. :return: The end_point_roles of this IamPermission. :rtype: list[IamEndPointRoleRef] @@ -355,6 +361,7 @@ def end_point_roles(self): def end_point_roles(self, end_point_roles): """ Sets the end_point_roles of this IamPermission. + End point roles assigned to this permission. These roles are assigned to a user to perform end point operations such as GUI/CLI cross launch. :param end_point_roles: The end_point_roles of this IamPermission. :type: list[IamEndPointRoleRef] @@ -362,10 +369,34 @@ def end_point_roles(self, end_point_roles): self._end_point_roles = end_point_roles + @property + def name(self): + """ + Gets the name of this IamPermission. + Name of the permission. + + :return: The name of this IamPermission. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this IamPermission. + Name of the permission. + + :param name: The name of this IamPermission. + :type: str + """ + + self._name = name + @property def roles(self): """ Gets the roles of this IamPermission. + Roles assigned to this permission. Role is a collection of privilege sets. Roles are assigned to a user using permission object. :return: The roles of this IamPermission. :rtype: list[IamRoleRef] @@ -376,6 +407,7 @@ def roles(self): def roles(self, roles): """ Sets the roles of this IamPermission. + Roles assigned to this permission. Role is a collection of privilege sets. Roles are assigned to a user using permission object. :param roles: The roles of this IamPermission. :type: list[IamRoleRef] @@ -384,50 +416,46 @@ def roles(self, roles): self._roles = roles @property - def subject(self): + def user_groups(self): """ - Gets the subject of this IamPermission. - Subject represents the entiry to which permissions are being granted - user or user group + Gets the user_groups of this IamPermission. - :return: The subject of this IamPermission. - :rtype: str + :return: The user_groups of this IamPermission. + :rtype: list[IamUserGroupRef] """ - return self._subject + return self._user_groups - @subject.setter - def subject(self, subject): + @user_groups.setter + def user_groups(self, user_groups): """ - Sets the subject of this IamPermission. - Subject represents the entiry to which permissions are being granted - user or user group + Sets the user_groups of this IamPermission. - :param subject: The subject of this IamPermission. - :type: str + :param user_groups: The user_groups of this IamPermission. + :type: list[IamUserGroupRef] """ - self._subject = subject + self._user_groups = user_groups @property - def type(self): + def users(self): """ - Gets the type of this IamPermission. - Type represents type of subject - user or user group + Gets the users of this IamPermission. - :return: The type of this IamPermission. - :rtype: str + :return: The users of this IamPermission. + :rtype: list[IamUserRef] """ - return self._type + return self._users - @type.setter - def type(self, type): + @users.setter + def users(self, users): """ - Sets the type of this IamPermission. - Type represents type of subject - user or user group + Sets the users of this IamPermission. - :param type: The type of this IamPermission. - :type: str + :param users: The users of this IamPermission. + :type: list[IamUserRef] """ - self._type = type + self._users = users def to_dict(self): """ diff --git a/intersight/models/iam_permission_list.py b/intersight/models/iam_permission_list.py index fa51c332..b8350146 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e2f02c94..09694ed4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..f731c0de --- /dev/null +++ b/intersight/models/iam_permission_reference.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamPermissionReference(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 = { + 'permission_identifier': 'str', + 'permission_name': 'str' + } + + attribute_map = { + 'permission_identifier': 'PermissionIdentifier', + 'permission_name': 'PermissionName' + } + + def __init__(self, permission_identifier=None, permission_name=None): + """ + IamPermissionReference - a model defined in Swagger + """ + + self._permission_identifier = None + self._permission_name = None + + if permission_identifier is not None: + self.permission_identifier = permission_identifier + if permission_name is not None: + self.permission_name = permission_name + + @property + def permission_identifier(self): + """ + Gets the permission_identifier of this IamPermissionReference. + MOID of the permission. + + :return: The permission_identifier of this IamPermissionReference. + :rtype: str + """ + return self._permission_identifier + + @permission_identifier.setter + def permission_identifier(self, permission_identifier): + """ + Sets the permission_identifier of this IamPermissionReference. + MOID of the permission. + + :param permission_identifier: The permission_identifier of this IamPermissionReference. + :type: str + """ + + self._permission_identifier = permission_identifier + + @property + def permission_name(self): + """ + Gets the permission_name of this IamPermissionReference. + Name of the permission. + + :return: The permission_name of this IamPermissionReference. + :rtype: str + """ + return self._permission_name + + @permission_name.setter + def permission_name(self, permission_name): + """ + Sets the permission_name of this IamPermissionReference. + Name of the permission. + + :param permission_name: The permission_name of this IamPermissionReference. + :type: str + """ + + self._permission_name = permission_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, IamPermissionReference): + 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_permission_reference_ref.py b/intersight/models/iam_permission_reference_ref.py new file mode 100644 index 00000000..94415368 --- /dev/null +++ b/intersight/models/iam_permission_reference_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamPermissionReferenceRef(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): + """ + IamPermissionReferenceRef - 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 IamPermissionReferenceRef. + + :return: The moid of this IamPermissionReferenceRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IamPermissionReferenceRef. + + :param moid: The moid of this IamPermissionReferenceRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IamPermissionReferenceRef. + + :return: The object_type of this IamPermissionReferenceRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IamPermissionReferenceRef. + + :param object_type: The object_type of this IamPermissionReferenceRef. + :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, IamPermissionReferenceRef): + 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_privilege.py b/intersight/models/iam_privilege.py index 2bcd4b2a..a1149ef3 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -41,13 +41,10 @@ class IamPrivilege(object): 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', 'account': 'IamAccountRef', - 'app': 'str', 'method': 'str', 'name': 'str', - 'namespace': 'str', 'rest_path': 'str', - 'system': 'IamSystemRef', - 'version': 'str' + 'system': 'IamSystemRef' } attribute_map = { @@ -61,16 +58,13 @@ class IamPrivilege(object): 'parent': 'Parent', 'tags': 'Tags', 'account': 'Account', - 'app': 'App', 'method': 'Method', 'name': 'Name', - 'namespace': 'Namespace', 'rest_path': 'RestPath', - 'system': 'System', - 'version': 'Version' + '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, app=None, method=None, name=None, namespace=None, rest_path=None, system=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, account=None, method=None, name=None, rest_path=None, system=None): """ IamPrivilege - a model defined in Swagger """ @@ -85,13 +79,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._parent = None self._tags = None self._account = None - self._app = None self._method = None self._name = None - self._namespace = None self._rest_path = None self._system = None - self._version = None if account_moid is not None: self.account_moid = account_moid @@ -113,20 +104,14 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.tags = tags if account is not None: self.account = account - if app is not None: - self.app = app if method is not None: self.method = method if name is not None: self.name = name - if namespace is not None: - self.namespace = namespace if rest_path is not None: self.rest_path = rest_path if system is not None: self.system = system - if version is not None: - self.version = version @property def account_moid(self): @@ -356,31 +341,11 @@ def account(self, account): self._account = account - @property - def app(self): - """ - Gets the app of this IamPrivilege. - - :return: The app of this IamPrivilege. - :rtype: str - """ - return self._app - - @app.setter - def app(self, app): - """ - Sets the app of this IamPrivilege. - - :param app: The app of this IamPrivilege. - :type: str - """ - - self._app = app - @property def method(self): """ Gets the method of this IamPrivilege. + Represents the API method on the rest resource corresponding to privilege. For example READ, CREATE, UPDATE etc. :return: The method of this IamPrivilege. :rtype: str @@ -391,6 +356,7 @@ def method(self): def method(self, method): """ Sets the method of this IamPrivilege. + Represents the API method on the rest resource corresponding to privilege. For example READ, CREATE, UPDATE etc. :param method: The method of this IamPrivilege. :type: str @@ -402,6 +368,7 @@ def method(self, method): def name(self): """ Gets the name of this IamPrivilege. + Name of the privilege. :return: The name of this IamPrivilege. :rtype: str @@ -412,6 +379,7 @@ def name(self): def name(self, name): """ Sets the name of this IamPrivilege. + Name of the privilege. :param name: The name of this IamPrivilege. :type: str @@ -419,31 +387,11 @@ def name(self, name): self._name = name - @property - def namespace(self): - """ - Gets the namespace of this IamPrivilege. - - :return: The namespace of this IamPrivilege. - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """ - Sets the namespace of this IamPrivilege. - - :param namespace: The namespace of this IamPrivilege. - :type: str - """ - - self._namespace = namespace - @property def rest_path(self): """ Gets the rest_path of this IamPrivilege. + Represents the rest path of the resource corresponding to this privilege. For example /v1/iam/Accounts, /v1/iam/Sessions etc. :return: The rest_path of this IamPrivilege. :rtype: str @@ -454,6 +402,7 @@ def rest_path(self): def rest_path(self, rest_path): """ Sets the rest_path of this IamPrivilege. + Represents the rest path of the resource corresponding to this privilege. For example /v1/iam/Accounts, /v1/iam/Sessions etc. :param rest_path: The rest_path of this IamPrivilege. :type: str @@ -482,27 +431,6 @@ def system(self, system): self._system = system - @property - def version(self): - """ - Gets the version of this IamPrivilege. - - :return: The version of this IamPrivilege. - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """ - Sets the version of this IamPrivilege. - - :param version: The version of this IamPrivilege. - :type: str - """ - - self._version = version - def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/iam_privilege_list.py b/intersight/models/iam_privilege_list.py index 02b2499e..ad35ac0e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 daa79a55..7c7c9431 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4443f432..8cb6102e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -340,6 +340,7 @@ def account(self, account): def name(self): """ Gets the name of this IamPrivilegeSet. + Name of the privilege set. :return: The name of this IamPrivilegeSet. :rtype: str @@ -350,6 +351,7 @@ def name(self): def name(self, name): """ Sets the name of this IamPrivilegeSet. + Name of the privilege set. :param name: The name of this IamPrivilegeSet. :type: str @@ -361,6 +363,7 @@ def name(self, name): def privileges(self): """ Gets the privileges of this IamPrivilegeSet. + Reference to the privileges. Privilege represents an action which can be performed in Intersight such as creating server profile, deleting a user etc. Privileges are assigned to a user using privilege sets and roles. :return: The privileges of this IamPrivilegeSet. :rtype: list[IamPrivilegeRef] @@ -371,6 +374,7 @@ def privileges(self): def privileges(self, privileges): """ Sets the privileges of this IamPrivilegeSet. + Reference to the privileges. Privilege represents an action which can be performed in Intersight such as creating server profile, deleting a user etc. Privileges are assigned to a user using privilege sets and roles. :param privileges: The privileges of this IamPrivilegeSet. :type: list[IamPrivilegeRef] diff --git a/intersight/models/iam_privilege_set_list.py b/intersight/models/iam_privilege_set_list.py index e5c3284e..82214496 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fc0d2774..ae1f399d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 17b12c6f..01992012 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -314,7 +314,7 @@ def tags(self, tags): def name(self): """ Gets the name of this IamQualifier. - Name of the SAML attribute used to qualify a user to user group + Name of the SAML attribute used to qualify a user to user group. By default this is memberOf attribute in SAML assertion. :return: The name of this IamQualifier. :rtype: str @@ -325,7 +325,7 @@ def name(self): def name(self, name): """ Sets the name of this IamQualifier. - Name of the SAML attribute used to qualify a user to user group + Name of the SAML attribute used to qualify a user to user group. By default this is memberOf attribute in SAML assertion. :param name: The name of this IamQualifier. :type: str @@ -358,7 +358,7 @@ def usergroup(self, usergroup): def value(self): """ Gets the value of this IamQualifier. - Value of SAML attribute + Value of the SAML attribute. :return: The value of this IamQualifier. :rtype: str @@ -369,7 +369,7 @@ def value(self): def value(self, value): """ Sets the value of this IamQualifier. - Value of SAML attribute + Value of the SAML attribute. :param value: The value of this IamQualifier. :type: str diff --git a/intersight/models/iam_qualifier_list.py b/intersight/models/iam_qualifier_list.py index 3ab0e9f7..0fe251b9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 77fc3999..22c52324 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.5-612 + OpenAPI spec version: 1.0.7-681 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 f3f9cfc7..1111e321 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -330,6 +330,7 @@ def account(self, account): def per_account_user_limit(self): """ Gets the per_account_user_limit of this IamResourceLimits. + Maximum users allowed in an account. Default value is 200. :return: The per_account_user_limit of this IamResourceLimits. :rtype: int @@ -340,6 +341,7 @@ def per_account_user_limit(self): def per_account_user_limit(self, per_account_user_limit): """ Sets the per_account_user_limit of this IamResourceLimits. + Maximum users allowed in an account. Default value is 200. :param per_account_user_limit: The per_account_user_limit of this IamResourceLimits. :type: int diff --git a/intersight/models/iam_resource_limits_list.py b/intersight/models/iam_resource_limits_list.py index 4ac2931e..cdc5ad12 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6b62ba95..bcf3fb15 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.5-612 + OpenAPI spec version: 1.0.7-681 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 21f3a599..10a89923 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -340,6 +340,7 @@ def account(self, account): def name(self): """ Gets the name of this IamRole. + Name of the role. :return: The name of this IamRole. :rtype: str @@ -350,6 +351,7 @@ def name(self): def name(self, name): """ Sets the name of this IamRole. + Name of the role. :param name: The name of this IamRole. :type: str @@ -361,6 +363,7 @@ def name(self, name): def privilege_sets(self): """ Gets the privilege_sets of this IamRole. + Reference to the privilege sets. Privilege set is a collection of privileges. Privilege sets are assigned to a user using roles. :return: The privilege_sets of this IamRole. :rtype: list[IamPrivilegeSetRef] @@ -371,6 +374,7 @@ def privilege_sets(self): def privilege_sets(self, privilege_sets): """ Sets the privilege_sets of this IamRole. + Reference to the privilege sets. Privilege set is a collection of privileges. Privilege sets are assigned to a user using roles. :param privilege_sets: The privilege_sets of this IamRole. :type: list[IamPrivilegeSetRef] diff --git a/intersight/models/iam_role_list.py b/intersight/models/iam_role_list.py index 1ee60253..1d221ab1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 eff20d32..ae2260ec 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..0809d7b9 --- /dev/null +++ b/intersight/models/iam_service_provider.py @@ -0,0 +1,459 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamServiceProvider(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]', + 'entity_id': 'str', + 'metadata': 'str', + 'name': 'str', + 'system': 'IamSystemRef' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + '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): + """ + IamServiceProvider - 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._entity_id = None + self._metadata = None + self._name = None + self._system = 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 entity_id is not None: + self.entity_id = entity_id + if metadata is not None: + self.metadata = metadata + if name is not None: + self.name = name + if system is not None: + self.system = system + + @property + def account_moid(self): + """ + Gets the account_moid of this IamServiceProvider. + The Account ID for this managed object. + + :return: The account_moid of this IamServiceProvider. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this IamServiceProvider. + The Account ID for this managed object. + + :param account_moid: The account_moid of this IamServiceProvider. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this IamServiceProvider. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this IamServiceProvider. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this IamServiceProvider. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this IamServiceProvider. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this IamServiceProvider. + The time when this managed object was created. + + :return: The create_time of this IamServiceProvider. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this IamServiceProvider. + The time when this managed object was created. + + :param create_time: The create_time of this IamServiceProvider. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this IamServiceProvider. + The time when this managed object was last modified. + + :return: The mod_time of this IamServiceProvider. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this IamServiceProvider. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this IamServiceProvider. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this IamServiceProvider. + A unique identifier of this Managed Object instance. + + :return: The moid of this IamServiceProvider. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IamServiceProvider. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this IamServiceProvider. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IamServiceProvider. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this IamServiceProvider. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IamServiceProvider. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this IamServiceProvider. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this IamServiceProvider. + An array of owners which represent effective ownership of this object. + + :return: The owners of this IamServiceProvider. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this IamServiceProvider. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this IamServiceProvider. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this IamServiceProvider. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this IamServiceProvider. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this IamServiceProvider. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this IamServiceProvider. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this IamServiceProvider. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this IamServiceProvider. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this IamServiceProvider. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def entity_id(self): + """ + Gets the entity_id of this IamServiceProvider. + Entity ID of the Intersight Service Provider. In SAML, the entity ID uniquely identifies the IdP/Service Provider. + + :return: The entity_id of this IamServiceProvider. + :rtype: str + """ + return self._entity_id + + @entity_id.setter + def entity_id(self, entity_id): + """ + Sets the entity_id of this IamServiceProvider. + Entity ID of the Intersight Service Provider. In SAML, the entity ID uniquely identifies the IdP/Service Provider. + + :param entity_id: The entity_id of this IamServiceProvider. + :type: str + """ + + self._entity_id = entity_id + + @property + def metadata(self): + """ + Gets the metadata of this IamServiceProvider. + Metadata of the Intersight Service Provider. User downloads the Intersight Service Provider metadata and integrates it with their IdP for authentication. + + :return: The metadata of this IamServiceProvider. + :rtype: str + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """ + Sets the metadata of this IamServiceProvider. + Metadata of the Intersight Service Provider. User downloads the Intersight Service Provider metadata and integrates it with their IdP for authentication. + + :param metadata: The metadata of this IamServiceProvider. + :type: str + """ + + self._metadata = metadata + + @property + def name(self): + """ + Gets the name of this IamServiceProvider. + Name of the Intersight Service Provider. + + :return: The name of this IamServiceProvider. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this IamServiceProvider. + Name of the Intersight Service Provider. + + :param name: The name of this IamServiceProvider. + :type: str + """ + + self._name = name + + @property + def system(self): + """ + Gets the system of this IamServiceProvider. + + :return: The system of this IamServiceProvider. + :rtype: IamSystemRef + """ + return self._system + + @system.setter + def system(self, system): + """ + Sets the system of this IamServiceProvider. + + :param system: The system of this IamServiceProvider. + :type: IamSystemRef + """ + + self._system = system + + 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, IamServiceProvider): + 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_service_provider_list.py b/intersight/models/iam_service_provider_list.py new file mode 100644 index 00000000..f0e6c8b2 --- /dev/null +++ b/intersight/models/iam_service_provider_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamServiceProviderList(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[IamServiceProvider]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + IamServiceProviderList - 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 IamServiceProviderList. + The number of iamServiceProviders matching your request in total for all pages. + + :return: The count of this IamServiceProviderList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this IamServiceProviderList. + The number of iamServiceProviders matching your request in total for all pages. + + :param count: The count of this IamServiceProviderList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this IamServiceProviderList. + The array of iamServiceProviders matching your request. + + :return: The results of this IamServiceProviderList. + :rtype: list[IamServiceProvider] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this IamServiceProviderList. + The array of iamServiceProviders matching your request. + + :param results: The results of this IamServiceProviderList. + :type: list[IamServiceProvider] + """ + + 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, IamServiceProviderList): + 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_service_provider_ref.py b/intersight/models/iam_service_provider_ref.py new file mode 100644 index 00000000..02f4f5f5 --- /dev/null +++ b/intersight/models/iam_service_provider_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamServiceProviderRef(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): + """ + IamServiceProviderRef - 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 IamServiceProviderRef. + + :return: The moid of this IamServiceProviderRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IamServiceProviderRef. + + :param moid: The moid of this IamServiceProviderRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IamServiceProviderRef. + + :return: The object_type of this IamServiceProviderRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IamServiceProviderRef. + + :param object_type: The object_type of this IamServiceProviderRef. + :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, IamServiceProviderRef): + 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_session.py b/intersight/models/iam_session.py index f7041c2d..bd56504a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,11 +40,13 @@ class IamSession(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'account_permissions': 'list[IamAccountPermissions]', 'client_ip_address': 'str', 'expiration': 'datetime', 'idle_time_expiration': 'datetime', 'last_login_client': 'str', 'last_login_time': 'datetime', + 'permission': 'IamPermissionRef', 'user': 'IamUserRef' } @@ -58,15 +60,17 @@ class IamSession(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'account_permissions': 'AccountPermissions', 'client_ip_address': 'ClientIpAddress', 'expiration': 'Expiration', 'idle_time_expiration': 'IdleTimeExpiration', 'last_login_client': 'LastLoginClient', 'last_login_time': 'LastLoginTime', + 'permission': 'Permission', '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, client_ip_address=None, expiration=None, idle_time_expiration=None, last_login_client=None, last_login_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, 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 """ @@ -80,11 +84,13 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._account_permissions = None self._client_ip_address = None self._expiration = None self._idle_time_expiration = None self._last_login_client = None self._last_login_time = None + self._permission = None self._user = None if account_moid is not None: @@ -105,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 account_permissions is not None: + self.account_permissions = account_permissions if client_ip_address is not None: self.client_ip_address = client_ip_address if expiration is not None: @@ -115,6 +123,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.last_login_client = last_login_client if last_login_time is not None: self.last_login_time = last_login_time + if permission is not None: + self.permission = permission if user is not None: self.user = user @@ -325,10 +335,34 @@ def tags(self, tags): self._tags = tags + @property + def account_permissions(self): + """ + Gets the account_permissions of this IamSession. + Specifies the accounts and the permissions within each account which a user can select after authentication. After authentication if user has access to multiple permissions, then user and session object are created in onboarding user account and asked to select one of these permissions. + + :return: The account_permissions of this IamSession. + :rtype: list[IamAccountPermissions] + """ + return self._account_permissions + + @account_permissions.setter + def account_permissions(self, account_permissions): + """ + Sets the account_permissions of this IamSession. + Specifies the accounts and the permissions within each account which a user can select after authentication. After authentication if user has access to multiple permissions, then user and session object are created in onboarding user account and asked to select one of these permissions. + + :param account_permissions: The account_permissions of this IamSession. + :type: list[IamAccountPermissions] + """ + + self._account_permissions = account_permissions + @property def client_ip_address(self): """ Gets the client_ip_address of this IamSession. + Represents the user agent IP address from which the session is launched. :return: The client_ip_address of this IamSession. :rtype: str @@ -339,6 +373,7 @@ def client_ip_address(self): def client_ip_address(self, client_ip_address): """ Sets the client_ip_address of this IamSession. + Represents the user agent IP address from which the session is launched. :param client_ip_address: The client_ip_address of this IamSession. :type: str @@ -350,6 +385,7 @@ def client_ip_address(self, client_ip_address): def expiration(self): """ Gets the expiration of this IamSession. + Expiration time for the session. :return: The expiration of this IamSession. :rtype: datetime @@ -360,6 +396,7 @@ def expiration(self): def expiration(self, expiration): """ Sets the expiration of this IamSession. + Expiration time for the session. :param expiration: The expiration of this IamSession. :type: datetime @@ -371,6 +408,7 @@ def expiration(self, expiration): def idle_time_expiration(self): """ Gets the idle_time_expiration of this IamSession. + Idle time expiration for the session. :return: The idle_time_expiration of this IamSession. :rtype: datetime @@ -381,6 +419,7 @@ def idle_time_expiration(self): def idle_time_expiration(self, idle_time_expiration): """ Sets the idle_time_expiration of this IamSession. + Idle time expiration for the session. :param idle_time_expiration: The idle_time_expiration of this IamSession. :type: datetime @@ -392,7 +431,7 @@ def idle_time_expiration(self, idle_time_expiration): def last_login_client(self): """ Gets the last_login_client of this IamSession. - Specifies client address from where last successful login is initiated + Specifies the client address from which last login is initiated. :return: The last_login_client of this IamSession. :rtype: str @@ -403,7 +442,7 @@ def last_login_client(self): def last_login_client(self, last_login_client): """ Sets the last_login_client of this IamSession. - Specifies client address from where last successful login is initiated + Specifies the client address from which last login is initiated. :param last_login_client: The last_login_client of this IamSession. :type: str @@ -415,7 +454,7 @@ def last_login_client(self, last_login_client): def last_login_time(self): """ Gets the last_login_time of this IamSession. - Specifies last login time for user + Specifies the last login time for user. :return: The last_login_time of this IamSession. :rtype: datetime @@ -426,7 +465,7 @@ def last_login_time(self): def last_login_time(self, last_login_time): """ Sets the last_login_time of this IamSession. - Specifies last login time for user + Specifies the last login time for user. :param last_login_time: The last_login_time of this IamSession. :type: datetime @@ -434,6 +473,29 @@ def last_login_time(self, last_login_time): self._last_login_time = last_login_time + @property + def permission(self): + """ + Gets the permission of this IamSession. + Permissions associated with the web session. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. + + :return: The permission of this IamSession. + :rtype: IamPermissionRef + """ + return self._permission + + @permission.setter + def permission(self, permission): + """ + Sets the permission of this IamSession. + Permissions associated with the web session. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. + + :param permission: The permission of this IamSession. + :type: IamPermissionRef + """ + + self._permission = permission + @property def user(self): """ diff --git a/intersight/models/iam_session_limits.py b/intersight/models/iam_session_limits.py index ba0da493..4798882c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -345,6 +345,7 @@ def account(self, account): def idle_time_out(self): """ Gets the idle_time_out of this IamSessionLimits. + Duration in seconds specifying the idle timeout interval of web session. Default value is 1800 seconds. When a session is not refreshed for this duration, backend will mark the session as idle and remove the session. :return: The idle_time_out of this IamSessionLimits. :rtype: int @@ -355,6 +356,7 @@ def idle_time_out(self): def idle_time_out(self, idle_time_out): """ Sets the idle_time_out of this IamSessionLimits. + Duration in seconds specifying the idle timeout interval of web session. Default value is 1800 seconds. When a session is not refreshed for this duration, backend will mark the session as idle and remove the session. :param idle_time_out: The idle_time_out of this IamSessionLimits. :type: int @@ -366,6 +368,7 @@ def idle_time_out(self, idle_time_out): def maximum_limit(self): """ Gets the maximum_limit of this IamSessionLimits. + Maximum sessions allowed in an account. Default value is 128. :return: The maximum_limit of this IamSessionLimits. :rtype: int @@ -376,6 +379,7 @@ def maximum_limit(self): def maximum_limit(self, maximum_limit): """ Sets the maximum_limit of this IamSessionLimits. + Maximum sessions allowed in an account. Default value is 128. :param maximum_limit: The maximum_limit of this IamSessionLimits. :type: int @@ -387,6 +391,7 @@ def maximum_limit(self, maximum_limit): def per_user_limit(self): """ Gets the per_user_limit of this IamSessionLimits. + Maximum sessions allowed per user. Default value is 32. :return: The per_user_limit of this IamSessionLimits. :rtype: int @@ -397,6 +402,7 @@ def per_user_limit(self): def per_user_limit(self, per_user_limit): """ Sets the per_user_limit of this IamSessionLimits. + Maximum sessions allowed per user. Default value is 32. :param per_user_limit: The per_user_limit of this IamSessionLimits. :type: int @@ -408,6 +414,7 @@ def per_user_limit(self, per_user_limit): def session_time_out(self): """ Gets the session_time_out of this IamSessionLimits. + Session expiry duration in seconds. Default value is 57600 seconds or 16 hours. :return: The session_time_out of this IamSessionLimits. :rtype: int @@ -418,6 +425,7 @@ def session_time_out(self): def session_time_out(self, session_time_out): """ Sets the session_time_out of this IamSessionLimits. + Session expiry duration in seconds. Default value is 57600 seconds or 16 hours. :param session_time_out: The session_time_out of this IamSessionLimits. :type: int diff --git a/intersight/models/iam_session_limits_list.py b/intersight/models/iam_session_limits_list.py index 6d245c31..77f8e3f2 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b4acbe2a..533330f3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 f8a99d27..148400c9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b011d617..196ae37a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 de5055a2..21d31412 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8a8249ab..358541eb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..05d3cab9 --- /dev/null +++ b/intersight/models/iam_sso_session_attributes.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamSsoSessionAttributes(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 = { + 'idp_session_index': 'str' + } + + attribute_map = { + 'idp_session_index': 'IdpSessionIndex' + } + + def __init__(self, idp_session_index=None): + """ + IamSsoSessionAttributes - a model defined in Swagger + """ + + self._idp_session_index = None + + if idp_session_index is not None: + self.idp_session_index = idp_session_index + + @property + def idp_session_index(self): + """ + Gets the idp_session_index of this IamSsoSessionAttributes. + SAML SessionIndex attribute sent by IdP in the assertion. This has to be sent back to IdP in LogoutRequest. + + :return: The idp_session_index of this IamSsoSessionAttributes. + :rtype: str + """ + return self._idp_session_index + + @idp_session_index.setter + def idp_session_index(self, idp_session_index): + """ + Sets the idp_session_index of this IamSsoSessionAttributes. + SAML SessionIndex attribute sent by IdP in the assertion. This has to be sent back to IdP in LogoutRequest. + + :param idp_session_index: The idp_session_index of this IamSsoSessionAttributes. + :type: str + """ + + self._idp_session_index = idp_session_index + + 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, IamSsoSessionAttributes): + 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_sso_session_attributes_ref.py b/intersight/models/iam_sso_session_attributes_ref.py new file mode 100644 index 00000000..c19c4e0f --- /dev/null +++ b/intersight/models/iam_sso_session_attributes_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamSsoSessionAttributesRef(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): + """ + IamSsoSessionAttributesRef - 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 IamSsoSessionAttributesRef. + + :return: The moid of this IamSsoSessionAttributesRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IamSsoSessionAttributesRef. + + :param moid: The moid of this IamSsoSessionAttributesRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IamSsoSessionAttributesRef. + + :return: The object_type of this IamSsoSessionAttributesRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IamSsoSessionAttributesRef. + + :param object_type: The object_type of this IamSsoSessionAttributesRef. + :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, IamSsoSessionAttributesRef): + 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_system.py b/intersight/models/iam_system.py index 063459d7..f101550c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -45,7 +45,8 @@ class IamSystem(object): 'idp': 'IamIdpRef', 'privilege_sets': 'list[IamPrivilegeSetRef]', 'privileges': 'list[IamPrivilegeRef]', - 'roles': 'list[IamRoleRef]' + 'roles': 'list[IamRoleRef]', + 'service_provider': 'IamServiceProviderRef' } attribute_map = { @@ -63,10 +64,11 @@ class IamSystem(object): 'idp': 'Idp', 'privilege_sets': 'PrivilegeSets', 'privileges': 'Privileges', - 'roles': 'Roles' + 'roles': 'Roles', + '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): + def __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): """ IamSystem - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._privilege_sets = None self._privileges = None self._roles = None + self._service_provider = None if account_moid is not None: self.account_moid = account_moid @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.privileges = privileges if roles is not None: self.roles = roles + if service_provider is not None: + self.service_provider = service_provider @property def account_moid(self): @@ -329,6 +334,7 @@ def tags(self, tags): def end_point_privileges(self): """ Gets the end_point_privileges of this IamSystem. + Privileges defined in end point devices such as UCSFI, IMC, HX managed by Intersight. These privileges are assigned to Intersight users using end point roles to perform operations such as GUI/CLI cross launch. :return: The end_point_privileges of this IamSystem. :rtype: list[IamEndPointPrivilegeRef] @@ -339,6 +345,7 @@ def end_point_privileges(self): def end_point_privileges(self, end_point_privileges): """ Sets the end_point_privileges of this IamSystem. + Privileges defined in end point devices such as UCSFI, IMC, HX managed by Intersight. These privileges are assigned to Intersight users using end point roles to perform operations such as GUI/CLI cross launch. :param end_point_privileges: The end_point_privileges of this IamSystem. :type: list[IamEndPointPrivilegeRef] @@ -350,6 +357,7 @@ def end_point_privileges(self, end_point_privileges): def end_point_roles(self): """ Gets the end_point_roles of this IamSystem. + Roles defined in end point devices such as UCSFI, IMC, HX managed by Intersight. These roles are assigned to Intersight users to perform end point operations such as GUI/CLI cross launch. :return: The end_point_roles of this IamSystem. :rtype: list[IamEndPointRoleRef] @@ -360,6 +368,7 @@ def end_point_roles(self): def end_point_roles(self, end_point_roles): """ Sets the end_point_roles of this IamSystem. + Roles defined in end point devices such as UCSFI, IMC, HX managed by Intersight. These roles are assigned to Intersight users to perform end point operations such as GUI/CLI cross launch. :param end_point_roles: The end_point_roles of this IamSystem. :type: list[IamEndPointRoleRef] @@ -371,6 +380,7 @@ def end_point_roles(self, end_point_roles): def idp(self): """ Gets the idp of this IamSystem. + Default Cisco IdP used for SAML authentication. :return: The idp of this IamSystem. :rtype: IamIdpRef @@ -381,6 +391,7 @@ def idp(self): def idp(self, idp): """ Sets the idp of this IamSystem. + Default Cisco IdP used for SAML authentication. :param idp: The idp of this IamSystem. :type: IamIdpRef @@ -392,6 +403,7 @@ def idp(self, idp): def privilege_sets(self): """ Gets the privilege_sets of this IamSystem. + Privilege set is a collection of privileges. Privilege sets are assigned to a user using roles. :return: The privilege_sets of this IamSystem. :rtype: list[IamPrivilegeSetRef] @@ -402,6 +414,7 @@ def privilege_sets(self): def privilege_sets(self, privilege_sets): """ Sets the privilege_sets of this IamSystem. + Privilege set is a collection of privileges. Privilege sets are assigned to a user using roles. :param privilege_sets: The privilege_sets of this IamSystem. :type: list[IamPrivilegeSetRef] @@ -413,6 +426,7 @@ def privilege_sets(self, privilege_sets): def privileges(self): """ Gets the privileges of this IamSystem. + Privilege represents an action which can be performed in Intersight such as creating server profile, deleting a user etc. Privileges are assigned to a user using privilege sets and roles. :return: The privileges of this IamSystem. :rtype: list[IamPrivilegeRef] @@ -423,6 +437,7 @@ def privileges(self): def privileges(self, privileges): """ Sets the privileges of this IamSystem. + Privilege represents an action which can be performed in Intersight such as creating server profile, deleting a user etc. Privileges are assigned to a user using privilege sets and roles. :param privileges: The privileges of this IamSystem. :type: list[IamPrivilegeRef] @@ -434,6 +449,7 @@ def privileges(self, privileges): def roles(self): """ Gets the roles of this IamSystem. + Default roles such as Account Administrator and Read-Only roles. A role is a collection of privilege sets that are assigned to a user using a permission object. :return: The roles of this IamSystem. :rtype: list[IamRoleRef] @@ -444,6 +460,7 @@ def roles(self): def roles(self, roles): """ Sets the roles of this IamSystem. + Default roles such as Account Administrator and Read-Only roles. A role is a collection of privilege sets that are assigned to a user using a permission object. :param roles: The roles of this IamSystem. :type: list[IamRoleRef] @@ -451,6 +468,29 @@ def roles(self, roles): self._roles = roles + @property + def service_provider(self): + """ + Gets the service_provider of this IamSystem. + SAML service provider which holds the Intersight Service Provider's SAML entity ID and metadata to integrate with the IdPs. + + :return: The service_provider of this IamSystem. + :rtype: IamServiceProviderRef + """ + return self._service_provider + + @service_provider.setter + def service_provider(self, service_provider): + """ + Sets the service_provider of this IamSystem. + SAML service provider which holds the Intersight Service Provider's SAML entity ID and metadata to integrate with the IdPs. + + :param service_provider: The service_provider of this IamSystem. + :type: IamServiceProviderRef + """ + + self._service_provider = service_provider + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/iam_system_list.py b/intersight/models/iam_system_list.py index 3dfd6817..4cbc06b1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cb87e4b3..3d5153e6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 f6248185..3d898d99 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -44,10 +44,12 @@ class IamUser(object): 'client_ip_address': 'str', 'email': 'str', 'first_name': 'str', + 'idp': 'IamIdpRef', 'idpreference': 'IamIdpReferenceRef', 'last_login_time': 'datetime', 'last_name': 'str', 'name': 'str', + 'permissions': 'list[IamPermissionRef]', 'sessions': 'list[IamSessionRef]', 'user_type': 'str' } @@ -66,15 +68,17 @@ class IamUser(object): 'client_ip_address': 'ClientIpAddress', 'email': 'Email', 'first_name': 'FirstName', + 'idp': 'Idp', 'idpreference': 'Idpreference', 'last_login_time': 'LastLoginTime', 'last_name': 'LastName', 'name': 'Name', + 'permissions': 'Permissions', 'sessions': 'Sessions', '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, idpreference=None, last_login_time=None, last_name=None, name=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, 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,10 +96,12 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._client_ip_address = None self._email = None self._first_name = None + self._idp = None self._idpreference = None self._last_login_time = None self._last_name = None self._name = None + self._permissions = None self._sessions = None self._user_type = None @@ -125,6 +131,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.email = email if first_name is not None: self.first_name = first_name + if idp is not None: + self.idp = idp if idpreference is not None: self.idpreference = idpreference if last_login_time is not None: @@ -133,6 +141,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.last_name = last_name if name is not None: self.name = name + if permissions is not None: + self.permissions = permissions if sessions is not None: self.sessions = sessions if user_type is not None: @@ -349,6 +359,7 @@ def tags(self, tags): def api_keys(self): """ Gets the api_keys of this IamUser. + Current API keys of the user. API keys are used to programatically perform API calls. :return: The api_keys of this IamUser. :rtype: list[IamApiKeyRef] @@ -359,6 +370,7 @@ def api_keys(self): def api_keys(self, api_keys): """ Sets the api_keys of this IamUser. + Current API keys of the user. API keys are used to programatically perform API calls. :param api_keys: The api_keys of this IamUser. :type: list[IamApiKeyRef] @@ -370,7 +382,7 @@ def api_keys(self, api_keys): def client_ip_address(self): """ Gets the client_ip_address of this IamUser. - Specifies the IP address from where user logged in last time + Specifies the IP address from which the user logged in the last time. :return: The client_ip_address of this IamUser. :rtype: str @@ -381,7 +393,7 @@ def client_ip_address(self): def client_ip_address(self, client_ip_address): """ Sets the client_ip_address of this IamUser. - Specifies the IP address from where user logged in last time + Specifies the IP address from which the user logged in the last time. :param client_ip_address: The client_ip_address of this IamUser. :type: str @@ -393,6 +405,7 @@ def client_ip_address(self, client_ip_address): def email(self): """ Gets the email of this IamUser. + Email of the user. Users are added to Intersight using the email configured in the IdP. :return: The email of this IamUser. :rtype: str @@ -403,6 +416,7 @@ def email(self): def email(self, email): """ Sets the email of this IamUser. + Email of the user. Users are added to Intersight using the email configured in the IdP. :param email: The email of this IamUser. :type: str @@ -414,6 +428,7 @@ def email(self, email): def first_name(self): """ Gets the first_name of this IamUser. + First name of the user. This field is populated from the IdP attributes received after authentication. :return: The first_name of this IamUser. :rtype: str @@ -424,6 +439,7 @@ def first_name(self): def first_name(self, first_name): """ Sets the first_name of this IamUser. + First name of the user. This field is populated from the IdP attributes received after authentication. :param first_name: The first_name of this IamUser. :type: str @@ -431,6 +447,27 @@ def first_name(self, first_name): self._first_name = first_name + @property + def idp(self): + """ + Gets the idp of this IamUser. + + :return: The idp of this IamUser. + :rtype: IamIdpRef + """ + return self._idp + + @idp.setter + def idp(self, idp): + """ + Sets the idp of this IamUser. + + :param idp: The idp of this IamUser. + :type: IamIdpRef + """ + + self._idp = idp + @property def idpreference(self): """ @@ -456,7 +493,7 @@ def idpreference(self, idpreference): def last_login_time(self): """ Gets the last_login_time of this IamUser. - Specifies last login time for user + Specifies the last login time for user. :return: The last_login_time of this IamUser. :rtype: datetime @@ -467,7 +504,7 @@ def last_login_time(self): def last_login_time(self, last_login_time): """ Sets the last_login_time of this IamUser. - Specifies last login time for user + Specifies the last login time for user. :param last_login_time: The last_login_time of this IamUser. :type: datetime @@ -479,6 +516,7 @@ def last_login_time(self, last_login_time): def last_name(self): """ Gets the last_name of this IamUser. + Last name of the user. This field is populated from the IdP attributes received after authentication. :return: The last_name of this IamUser. :rtype: str @@ -489,6 +527,7 @@ def last_name(self): def last_name(self, last_name): """ Sets the last_name of this IamUser. + Last name of the user. This field is populated from the IdP attributes received after authentication. :param last_name: The last_name of this IamUser. :type: str @@ -500,6 +539,7 @@ def last_name(self, last_name): def name(self): """ Gets the name of this IamUser. + UserID as configured in the IdP. :return: The name of this IamUser. :rtype: str @@ -510,6 +550,7 @@ def name(self): def name(self, name): """ Sets the name of this IamUser. + UserID as configured in the IdP. :param name: The name of this IamUser. :type: str @@ -517,10 +558,34 @@ def name(self, name): self._name = name + @property + def permissions(self): + """ + Gets the permissions of this IamUser. + Permissions assigned to the user. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. + + :return: The permissions of this IamUser. + :rtype: list[IamPermissionRef] + """ + return self._permissions + + @permissions.setter + def permissions(self, permissions): + """ + Sets the permissions of this IamUser. + Permissions assigned to the user. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. + + :param permissions: The permissions of this IamUser. + :type: list[IamPermissionRef] + """ + + self._permissions = permissions + @property def sessions(self): """ Gets the sessions of this IamUser. + Current web sessions of the user. After a user logs into Intersight, a session object is created. This session object is deleted upon logout, idle timeout, expiry timeout, or manual deletion. :return: The sessions of this IamUser. :rtype: list[IamSessionRef] @@ -531,6 +596,7 @@ def sessions(self): def sessions(self, sessions): """ Sets the sessions of this IamUser. + Current web sessions of the user. After a user logs into Intersight, a session object is created. This session object is deleted upon logout, idle timeout, expiry timeout, or manual deletion. :param sessions: The sessions of this IamUser. :type: list[IamSessionRef] @@ -542,7 +608,7 @@ def sessions(self, sessions): def user_type(self): """ Gets the user_type of this IamUser. - Specifies if user has logged in via user group or added statically + Specifies if the user is added manually by specifying email, or has logged in using groups, based on IdP attributes received during authentication. If added manually, the user type will be static, otherwise dynamic. :return: The user_type of this IamUser. :rtype: str @@ -553,7 +619,7 @@ def user_type(self): def user_type(self, user_type): """ Sets the user_type of this IamUser. - Specifies if user has logged in via user group or added statically + Specifies if the user is added manually by specifying email, or has logged in using groups, based on IdP attributes received during authentication. If added manually, the user type will be static, otherwise dynamic. :param user_type: The user_type of this IamUser. :type: str diff --git a/intersight/models/iam_user_group.py b/intersight/models/iam_user_group.py index 784aa31c..1fde8bfd 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,8 +40,10 @@ class IamUserGroup(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'idp': 'IamIdpRef', 'idpreference': 'IamIdpReferenceRef', 'name': 'str', + 'permissions': 'list[IamPermissionRef]', 'qualifier': 'IamQualifierRef', 'users': 'list[IamUserRef]' } @@ -56,13 +58,15 @@ class IamUserGroup(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'idp': 'Idp', 'idpreference': 'Idpreference', 'name': 'Name', + 'permissions': 'Permissions', 'qualifier': 'Qualifier', '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, idpreference=None, name=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, idp=None, idpreference=None, name=None, permissions=None, qualifier=None, users=None): """ IamUserGroup - 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._idp = None self._idpreference = None self._name = None + self._permissions = None self._qualifier = None self._users = 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 idp is not None: + self.idp = idp if idpreference is not None: self.idpreference = idpreference if name is not None: self.name = name + if permissions is not None: + self.permissions = permissions if qualifier is not None: self.qualifier = qualifier if users is not None: @@ -315,6 +325,27 @@ def tags(self, tags): self._tags = tags + @property + def idp(self): + """ + Gets the idp of this IamUserGroup. + + :return: The idp of this IamUserGroup. + :rtype: IamIdpRef + """ + return self._idp + + @idp.setter + def idp(self, idp): + """ + Sets the idp of this IamUserGroup. + + :param idp: The idp of this IamUserGroup. + :type: IamIdpRef + """ + + self._idp = idp + @property def idpreference(self): """ @@ -340,6 +371,7 @@ def idpreference(self, idpreference): def name(self): """ Gets the name of this IamUserGroup. + Name of the user group. :return: The name of this IamUserGroup. :rtype: str @@ -350,6 +382,7 @@ def name(self): def name(self, name): """ Sets the name of this IamUserGroup. + Name of the user group. :param name: The name of this IamUserGroup. :type: str @@ -357,10 +390,34 @@ def name(self, name): self._name = name + @property + def permissions(self): + """ + Gets the permissions of this IamUserGroup. + Permissions assigned to the user group. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. + + :return: The permissions of this IamUserGroup. + :rtype: list[IamPermissionRef] + """ + return self._permissions + + @permissions.setter + def permissions(self, permissions): + """ + Sets the permissions of this IamUserGroup. + Permissions assigned to the user group. Permission provides a way to assign roles to a user or user group to perform operations on object hierarchy. + + :param permissions: The permissions of this IamUserGroup. + :type: list[IamPermissionRef] + """ + + self._permissions = permissions + @property def qualifier(self): """ Gets the qualifier of this IamUserGroup. + Qualifier defines which Idp attribute qualifies users to be part of a user group. :return: The qualifier of this IamUserGroup. :rtype: IamQualifierRef @@ -371,6 +428,7 @@ def qualifier(self): def qualifier(self, qualifier): """ Sets the qualifier of this IamUserGroup. + Qualifier defines which Idp attribute qualifies users to be part of a user group. :param qualifier: The qualifier of this IamUserGroup. :type: IamQualifierRef @@ -382,6 +440,7 @@ def qualifier(self, qualifier): def users(self): """ Gets the users of this IamUserGroup. + Users logged in using this user group. :return: The users of this IamUserGroup. :rtype: list[IamUserRef] @@ -392,6 +451,7 @@ def users(self): def users(self, users): """ Sets the users of this IamUserGroup. + Users logged in using this user group. :param users: The users of this IamUserGroup. :type: list[IamUserRef] diff --git a/intersight/models/iam_user_group_list.py b/intersight/models/iam_user_group_list.py index e844d4fa..55064776 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d9eefac2..cbe6a9ae 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.5-612 + OpenAPI spec version: 1.0.7-681 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 83480c0f..49175cff 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3abc5e56..51fcec9f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3684805f..05a3a21e 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.5-612 + OpenAPI spec version: 1.0.7-681 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]', + 'idp': 'IamIdpRef', 'idp_reference': 'IamIdpReferenceRef', 'preference': 'object' } @@ -54,11 +55,12 @@ class IamUserPreference(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + '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_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, idp=None, idp_reference=None, preference=None): """ IamUserPreference - 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._idp = None self._idp_reference = None self._preference = 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 idp is not None: + self.idp = idp if idp_reference is not None: self.idp_reference = idp_reference if preference is not None: @@ -305,6 +310,27 @@ def tags(self, tags): self._tags = tags + @property + def idp(self): + """ + Gets the idp of this IamUserPreference. + + :return: The idp of this IamUserPreference. + :rtype: IamIdpRef + """ + return self._idp + + @idp.setter + def idp(self, idp): + """ + Sets the idp of this IamUserPreference. + + :param idp: The idp of this IamUserPreference. + :type: IamIdpRef + """ + + self._idp = idp + @property def idp_reference(self): """ @@ -330,7 +356,7 @@ def idp_reference(self, idp_reference): def preference(self): """ Gets the preference of this IamUserPreference. - Specifies users UI preferences + Specifies the user's UI preferences. :return: The preference of this IamUserPreference. :rtype: object @@ -341,7 +367,7 @@ def preference(self): def preference(self, preference): """ Sets the preference of this IamUserPreference. - Specifies users UI preferences + Specifies the user's UI preferences. :param preference: The preference of this IamUserPreference. :type: object diff --git a/intersight/models/iam_user_preference_list.py b/intersight/models/iam_user_preference_list.py index 37fee988..3a8cf718 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fac90d96..ec30b984 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.5-612 + OpenAPI spec version: 1.0.7-681 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 83e234bb..bd46d713 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.5-612 + OpenAPI spec version: 1.0.7-681 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 69080ee4..a9aa55af 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.5-612 + OpenAPI spec version: 1.0.7-681 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 777c9cd9..c6010d20 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_base_ref.py b/intersight/models/inventory_base_ref.py index 6cea94d6..a5be7be0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 676434db..accd1cd6 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_device_info_list.py b/intersight/models/inventory_device_info_list.py index 5c6d3d03..3ba50ed5 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c3c5c19f..19dd28b1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8f7b2c33..c3f00aca 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_dn_mo_binding_list.py b/intersight/models/inventory_dn_mo_binding_list.py index 6b82e6ed..78bb0cdc 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c4c0fb32..fbcb3103 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b3083368..1d35839c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_generic_inventory_holder.py b/intersight/models/inventory_generic_inventory_holder.py index c51d764f..80ac5098 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_generic_inventory_holder_list.py b/intersight/models/inventory_generic_inventory_holder_list.py index 88ae9703..ad346629 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.5-612 + OpenAPI spec version: 1.0.7-681 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 88fd4c8e..43addb04 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.5-612 + OpenAPI spec version: 1.0.7-681 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 db9a4828..9a8faf22 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.5-612 + OpenAPI spec version: 1.0.7-681 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 1987bb5a..327897cb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cd252c09..f94d91e1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0868507b..dc7001fb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 761e794a..f920617b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 90a20971..219e56ca 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5d456906..6e760ad7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_request_ref.py b/intersight/models/inventory_request_ref.py index 79c6d266..d45ec63e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b95e8129..807839fd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 96682e36..980e879b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5fc94339..59081451 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ipmioverlan_policy_list.py b/intersight/models/ipmioverlan_policy_list.py index 18a9b997..e6034fb4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 494693d3..dff671df 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.5-612 + OpenAPI spec version: 1.0.7-681 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 317d2846..e71f450b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a61abc15..f5a3b054 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.5-612 + OpenAPI spec version: 1.0.7-681 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 178be3c2..52ecbd0b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/kvm_policy_list.py b/intersight/models/kvm_policy_list.py index 466116dc..cfa0cca5 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.5-612 + OpenAPI spec version: 1.0.7-681 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 71b061d2..09435d65 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3140a1e6..15a3c95f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a5315a03..85183ef8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_account_license_data_list.py b/intersight/models/license_account_license_data_list.py index 4cf987c5..8ad59c96 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fb8a8fc8..7013867c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8ba0a13a..e3feb781 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_customer_op_list.py b/intersight/models/license_customer_op_list.py index aae9f5d3..9d21c6b7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0a65882b..ff40aa0a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 57c7855b..06a1e418 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_license_info_list.py b/intersight/models/license_license_info_list.py index 808a7314..a1b0b91f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3d533aa4..53837b45 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b86e1e39..57ca0830 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_smartlicense_token_list.py b/intersight/models/license_smartlicense_token_list.py index 5d651903..79a72def 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0c14d795..a362d251 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0204deac..5f174849 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d3c8ee90..2f1861c8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ls_service_profile_list.py b/intersight/models/ls_service_profile_list.py index ede13caa..98ac4b27 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.5-612 + OpenAPI spec version: 1.0.7-681 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 82789226..0cf97e68 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cc6c37bd..9e87c112 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/management_controller_list.py b/intersight/models/management_controller_list.py index 243ee067..275aa459 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c6b6e7a0..e6d4de91 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.5-612 + OpenAPI spec version: 1.0.7-681 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 098e23fb..378189b6 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/management_entity_list.py b/intersight/models/management_entity_list.py index 3feecc2f..46116e32 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.5-612 + OpenAPI spec version: 1.0.7-681 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 dabbed86..f515b56c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ff1942dd..0b998614 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/management_interface_list.py b/intersight/models/management_interface_list.py index 0d0d9ad3..c3209bc7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 532421df..64c6e59d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 bc240132..459abdd2 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/memory_array_list.py b/intersight/models/memory_array_list.py index 40acbb33..86f43f2f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0f8cbccc..8aea2cd8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3d015b85..644eef12 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/memory_unit_list.py b/intersight/models/memory_unit_list.py index 0440d741..36f56981 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6f7cedbf..dc15cc9d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b852c6fc..b672418b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -41,11 +41,8 @@ class MetaDefinition(object): 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', 'ancestor_classes': 'list[str]', - 'external_type': 'bool', - 'is_concrete': 'bool', 'name': 'str', 'namespace': 'str', - 'observe': 'bool', 'parent_class': 'str', 'properties': 'list[MetaPropDefinition]', 'relationships': 'list[MetaRelationshipDefinition]', @@ -64,11 +61,8 @@ class MetaDefinition(object): 'parent': 'Parent', 'tags': 'Tags', 'ancestor_classes': 'AncestorClasses', - 'external_type': 'ExternalType', - 'is_concrete': 'IsConcrete', 'name': 'Name', 'namespace': 'Namespace', - 'observe': 'Observe', 'parent_class': 'ParentClass', 'properties': 'Properties', 'relationships': 'Relationships', @@ -76,7 +70,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, external_type=None, is_concrete=None, name=None, namespace=None, observe=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, ancestor_classes=None, name=None, namespace=None, parent_class=None, properties=None, relationships=None, rest_path=None, version=None): """ MetaDefinition - a model defined in Swagger """ @@ -91,11 +85,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._parent = None self._tags = None self._ancestor_classes = None - self._external_type = None - self._is_concrete = None self._name = None self._namespace = None - self._observe = None self._parent_class = None self._properties = None self._relationships = None @@ -122,16 +113,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.tags = tags if ancestor_classes is not None: self.ancestor_classes = ancestor_classes - if external_type is not None: - self.external_type = external_type - if is_concrete is not None: - self.is_concrete = is_concrete if name is not None: self.name = name if namespace is not None: self.namespace = namespace - if observe is not None: - self.observe = observe if parent_class is not None: self.parent_class = parent_class if properties is not None: @@ -354,7 +339,7 @@ def tags(self, tags): 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] @@ -365,7 +350,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] @@ -373,57 +358,11 @@ def ancestor_classes(self, ancestor_classes): self._ancestor_classes = ancestor_classes - @property - def external_type(self): - """ - Gets the external_type of this MetaDefinition. - Boolean flag to specify whether the meta class is defined in a separate micro-service. - - :return: The external_type of this MetaDefinition. - :rtype: bool - """ - return self._external_type - - @external_type.setter - def external_type(self, external_type): - """ - Sets the external_type of this MetaDefinition. - Boolean flag to specify whether the meta class is defined in a separate micro-service. - - :param external_type: The external_type of this MetaDefinition. - :type: bool - """ - - self._external_type = external_type - - @property - def is_concrete(self): - """ - Gets the is_concrete of this MetaDefinition. - Boolean flag to specify whether this 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 this 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): """ Gets the name of this MetaDefinition. - The fully-qualified name of the meta class. For example, \"compute:Blade\" where the Managed Object is \"Blade\" and the package is 'compute'. + The fully-qualified name of the meta. For example, \"compute:Blade\" where the Managed Object is \"Blade\" and the package is 'compute'. :return: The name of this MetaDefinition. :rtype: str @@ -434,7 +373,7 @@ def name(self): def name(self, name): """ Sets the name of this MetaDefinition. - The fully-qualified name of the meta class. For example, \"compute:Blade\" where the Managed Object is \"Blade\" and the package is 'compute'. + The fully-qualified name of the meta. For example, \"compute:Blade\" where the Managed Object is \"Blade\" and the package is 'compute'. :param name: The name of this MetaDefinition. :type: str @@ -446,7 +385,7 @@ def name(self, name): def namespace(self): """ Gets the namespace of this MetaDefinition. - Namespace of the meta class. + Namespace of the meta. :return: The namespace of this MetaDefinition. :rtype: str @@ -457,7 +396,7 @@ def namespace(self): def namespace(self, namespace): """ Sets the namespace of this MetaDefinition. - Namespace of the meta class. + Namespace of the meta. :param namespace: The namespace of this MetaDefinition. :type: str @@ -465,29 +404,6 @@ def namespace(self, namespace): self._namespace = namespace - @property - def observe(self): - """ - Gets the observe of this MetaDefinition. - Boolean flag to subscribe for mo change notifications if this meta class is an external type. - - :return: The observe of this MetaDefinition. - :rtype: bool - """ - return self._observe - - @observe.setter - def observe(self, observe): - """ - Sets the observe of this MetaDefinition. - Boolean flag to subscribe for mo change notifications if this meta class is an external type. - - :param observe: The observe of this MetaDefinition. - :type: bool - """ - - self._observe = observe - @property def parent_class(self): """ @@ -561,7 +477,7 @@ def relationships(self, relationships): def rest_path(self): """ Gets the rest_path of this MetaDefinition. - Restful URL path for the meta class. + Restful URL path for the meta. :return: The rest_path of this MetaDefinition. :rtype: str @@ -572,7 +488,7 @@ def rest_path(self): def rest_path(self, rest_path): """ Sets the rest_path of this MetaDefinition. - Restful URL path for the meta class. + Restful URL path for the meta. :param rest_path: The rest_path of this MetaDefinition. :type: str @@ -584,7 +500,7 @@ def rest_path(self, rest_path): def version(self): """ Gets the version of this MetaDefinition. - Version of the service that defines the meta class. + Version of the service that defines the meta. :return: The version of this MetaDefinition. :rtype: str @@ -595,7 +511,7 @@ def version(self): def version(self, version): """ Sets the version of this MetaDefinition. - Version of the service that defines the meta class. + Version of the service that defines the meta. :param version: The version of this MetaDefinition. :type: str diff --git a/intersight/models/meta_definition_list.py b/intersight/models/meta_definition_list.py index 857f8abd..09a7d509 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.5-612 + OpenAPI spec version: 1.0.7-681 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 93f58558..013b1b4a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e6ff08fb..d3b75ba8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -67,7 +67,7 @@ def __init__(self, api_access='NoAccess', name=None, op_security='ClearText', se def api_access(self): """ Gets the api_access of this MetaPropDefinition. - Api access definition for the property. + Api access control for the property. Examples are NoAccess, ReadOnly, CreateOnly etc. :return: The api_access of this MetaPropDefinition. :rtype: str @@ -78,7 +78,7 @@ def api_access(self): def api_access(self, api_access): """ Sets the api_access of this MetaPropDefinition. - Api access definition for the property. + Api access control for the property. Examples are NoAccess, ReadOnly, CreateOnly etc. :param api_access: The api_access of this MetaPropDefinition. :type: str @@ -96,7 +96,7 @@ def api_access(self, api_access): def name(self): """ Gets the name of this MetaPropDefinition. - Name of the property as defined in the model.yaml + Name of the property. :return: The name of this MetaPropDefinition. :rtype: str @@ -107,7 +107,7 @@ def name(self): def name(self, name): """ Sets the name of this MetaPropDefinition. - Name of the property as defined in the model.yaml + Name of the property. :param name: The name of this MetaPropDefinition. :type: str @@ -119,7 +119,7 @@ def name(self, name): def op_security(self): """ Gets the op_security of this MetaPropDefinition. - Operational Security definition. + Specifies the security aspects of the property when persisting the property; for example, Encrypted or in Cleartext. :return: The op_security of this MetaPropDefinition. :rtype: str @@ -130,7 +130,7 @@ def op_security(self): def op_security(self, op_security): """ Sets the op_security of this MetaPropDefinition. - Operational Security definition. + Specifies the security aspects of the property when persisting the property; for example, Encrypted or in Cleartext. :param op_security: The op_security of this MetaPropDefinition. :type: str @@ -148,7 +148,7 @@ def op_security(self, op_security): def search_weight(self): """ Gets the search_weight of this MetaPropDefinition. - Api access definition. + Enables the property to be searchable from global search. A value of 0 means this property is not globally searchable. :return: The search_weight of this MetaPropDefinition. :rtype: float @@ -159,7 +159,7 @@ def search_weight(self): def search_weight(self, search_weight): """ Sets the search_weight of this MetaPropDefinition. - Api access definition. + Enables the property to be searchable from global search. A value of 0 means this property is not globally searchable. :param search_weight: The search_weight of this MetaPropDefinition. :type: float diff --git a/intersight/models/meta_prop_definition_ref.py b/intersight/models/meta_prop_definition_ref.py index 4cbdb491..0366b84a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ca66f3b2..c137a69a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -119,7 +119,7 @@ def collection(self, collection): def name(self): """ Gets the name of this MetaRelationshipDefinition. - Name of the relationship as defined in the model.yaml + Name of the relationship :return: The name of this MetaRelationshipDefinition. :rtype: str @@ -130,7 +130,7 @@ def name(self): def name(self, name): """ Sets the name of this MetaRelationshipDefinition. - Name of the relationship as defined in the model.yaml + Name of the relationship :param name: The name of this MetaRelationshipDefinition. :type: str @@ -142,7 +142,7 @@ def name(self, name): def type(self): """ Gets the type of this MetaRelationshipDefinition. - Fully qualified type of the foreign MO + Fully qualified type of the foreign managed object. :return: The type of this MetaRelationshipDefinition. :rtype: str @@ -153,7 +153,7 @@ def type(self): def type(self, type): """ Sets the type of this MetaRelationshipDefinition. - Fully qualified type of the foreign MO + Fully qualified type of the foreign managed object. :param type: The type of this MetaRelationshipDefinition. :type: str diff --git a/intersight/models/meta_relationship_definition_ref.py b/intersight/models/meta_relationship_definition_ref.py index 30b31a5c..a7a96af7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e25b125f..64741a66 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e18f1528..84c44e73 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.5-612 + OpenAPI spec version: 1.0.7-681 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 20170904..dc42ba06 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_base_mo_ref.py b/intersight/models/mo_base_mo_ref.py index 6b02f752..67a91abf 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.5-612 + OpenAPI spec version: 1.0.7-681 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 63d6efc0..8c4d3065 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0a30b746..a44ea357 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7c2687ec..af0e2bf8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_snapshot_ref.py b/intersight/models/mo_snapshot_ref.py new file mode 100644 index 00000000..3ff411d3 --- /dev/null +++ b/intersight/models/mo_snapshot_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class MoSnapshotRef(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): + """ + MoSnapshotRef - 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 MoSnapshotRef. + + :return: The moid of this MoSnapshotRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this MoSnapshotRef. + + :param moid: The moid of this MoSnapshotRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this MoSnapshotRef. + + :return: The object_type of this MoSnapshotRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this MoSnapshotRef. + + :param object_type: The object_type of this MoSnapshotRef. + :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, MoSnapshotRef): + 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_tag.py b/intersight/models/mo_tag.py index be2c6522..a01b0fb4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 02a9d1b9..da94067e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/network_element.py b/intersight/models/network_element.py index 810d3b0f..316495f5 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/network_element_list.py b/intersight/models/network_element_list.py index 7f96f05f..15ebae70 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.5-612 + OpenAPI spec version: 1.0.7-681 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 02791b5a..697d70b6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5bfc56c7..90d2b37e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/network_element_summary_list.py b/intersight/models/network_element_summary_list.py index d3f43651..8abe9b09 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b5754566..618dcdcd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 78b01697..b362e866 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.5-612 + OpenAPI spec version: 1.0.7-681 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 903cf381..9300d91e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/networkconfig_policy_list.py b/intersight/models/networkconfig_policy_list.py index d0efe085..395067b2 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0cd47fa2..87da46a8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e583a1c5..67ac1a82 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/notifs_mo_subscription_ref.py b/intersight/models/notifs_mo_subscription_ref.py index 0c5d0171..4f199ed9 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/notifs_subscribed_ref.py b/intersight/models/notifs_subscribed_ref.py index b79be98a..137e4c1d 100644 --- a/intersight/models/notifs_subscribed_ref.py +++ b/intersight/models/notifs_subscribed_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 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 6d6d0d2a..0950c1a9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 260217f1..74c1268e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ntp_policy_list.py b/intersight/models/ntp_policy_list.py index f9143e29..fc3c9f85 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5a37e5e7..8e1c301d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b5749523..176a251e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ffd95a47..6bf6b840 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/partitionalloc_consumer_ref.py b/intersight/models/partitionalloc_consumer_ref.py new file mode 100644 index 00000000..ea5e31b6 --- /dev/null +++ b/intersight/models/partitionalloc_consumer_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PartitionallocConsumerRef(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): + """ + PartitionallocConsumerRef - 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 PartitionallocConsumerRef. + + :return: The moid of this PartitionallocConsumerRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PartitionallocConsumerRef. + + :param moid: The moid of this PartitionallocConsumerRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PartitionallocConsumerRef. + + :return: The object_type of this PartitionallocConsumerRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PartitionallocConsumerRef. + + :param object_type: The object_type of this PartitionallocConsumerRef. + :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, PartitionallocConsumerRef): + 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/partitionalloc_part_ref.py b/intersight/models/partitionalloc_part_ref.py new file mode 100644 index 00000000..b94cd695 --- /dev/null +++ b/intersight/models/partitionalloc_part_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PartitionallocPartRef(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): + """ + PartitionallocPartRef - 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 PartitionallocPartRef. + + :return: The moid of this PartitionallocPartRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PartitionallocPartRef. + + :param moid: The moid of this PartitionallocPartRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PartitionallocPartRef. + + :return: The object_type of this PartitionallocPartRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PartitionallocPartRef. + + :param object_type: The object_type of this PartitionallocPartRef. + :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, PartitionallocPartRef): + 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/partitionalloc_partitioned_ref.py b/intersight/models/partitionalloc_partitioned_ref.py new file mode 100644 index 00000000..7ff93377 --- /dev/null +++ b/intersight/models/partitionalloc_partitioned_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PartitionallocPartitionedRef(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): + """ + PartitionallocPartitionedRef - 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 PartitionallocPartitionedRef. + + :return: The moid of this PartitionallocPartitionedRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PartitionallocPartitionedRef. + + :param moid: The moid of this PartitionallocPartitionedRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PartitionallocPartitionedRef. + + :return: The object_type of this PartitionallocPartitionedRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PartitionallocPartitionedRef. + + :param object_type: The object_type of this PartitionallocPartitionedRef. + :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, PartitionallocPartitionedRef): + 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 new file mode 100644 index 00000000..b55f04fd --- /dev/null +++ b/intersight/models/policy_abstract_config_change_detail.py @@ -0,0 +1,495 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PolicyAbstractConfigChangeDetail(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]', + 'changes': 'list[str]', + 'config_change_context': 'PolicyConfigResultContext', + 'disruptions': 'list[str]', + 'message': 'str', + 'mod_status': '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', + 'changes': 'Changes', + 'config_change_context': 'ConfigChangeContext', + 'disruptions': 'Disruptions', + 'message': 'Message', + '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'): + """ + PolicyAbstractConfigChangeDetail - 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._changes = None + self._config_change_context = None + self._disruptions = None + self._message = None + self._mod_status = 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 changes is not None: + self.changes = changes + if config_change_context is not None: + self.config_change_context = config_change_context + if disruptions is not None: + self.disruptions = disruptions + if message is not None: + self.message = message + if mod_status is not None: + self.mod_status = mod_status + + @property + def account_moid(self): + """ + Gets the account_moid of this PolicyAbstractConfigChangeDetail. + The Account ID for this managed object. + + :return: The account_moid of this PolicyAbstractConfigChangeDetail. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this PolicyAbstractConfigChangeDetail. + The Account ID for this managed object. + + :param account_moid: The account_moid of this PolicyAbstractConfigChangeDetail. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this PolicyAbstractConfigChangeDetail. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this PolicyAbstractConfigChangeDetail. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this PolicyAbstractConfigChangeDetail. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this PolicyAbstractConfigChangeDetail. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this PolicyAbstractConfigChangeDetail. + The time when this managed object was created. + + :return: The create_time of this PolicyAbstractConfigChangeDetail. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this PolicyAbstractConfigChangeDetail. + The time when this managed object was created. + + :param create_time: The create_time of this PolicyAbstractConfigChangeDetail. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this PolicyAbstractConfigChangeDetail. + The time when this managed object was last modified. + + :return: The mod_time of this PolicyAbstractConfigChangeDetail. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this PolicyAbstractConfigChangeDetail. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this PolicyAbstractConfigChangeDetail. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this PolicyAbstractConfigChangeDetail. + A unique identifier of this Managed Object instance. + + :return: The moid of this PolicyAbstractConfigChangeDetail. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PolicyAbstractConfigChangeDetail. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this PolicyAbstractConfigChangeDetail. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PolicyAbstractConfigChangeDetail. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this PolicyAbstractConfigChangeDetail. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PolicyAbstractConfigChangeDetail. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this PolicyAbstractConfigChangeDetail. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this PolicyAbstractConfigChangeDetail. + An array of owners which represent effective ownership of this object. + + :return: The owners of this PolicyAbstractConfigChangeDetail. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this PolicyAbstractConfigChangeDetail. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this PolicyAbstractConfigChangeDetail. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this PolicyAbstractConfigChangeDetail. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this PolicyAbstractConfigChangeDetail. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this PolicyAbstractConfigChangeDetail. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this PolicyAbstractConfigChangeDetail. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this PolicyAbstractConfigChangeDetail. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this PolicyAbstractConfigChangeDetail. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this PolicyAbstractConfigChangeDetail. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def changes(self): + """ + Gets the changes of this PolicyAbstractConfigChangeDetail. + Type of the configuration change + + :return: The changes of this PolicyAbstractConfigChangeDetail. + :rtype: list[str] + """ + return self._changes + + @changes.setter + def changes(self, changes): + """ + Sets the changes of this PolicyAbstractConfigChangeDetail. + Type of the configuration change + + :param changes: The changes of this PolicyAbstractConfigChangeDetail. + :type: list[str] + """ + + self._changes = changes + + @property + def config_change_context(self): + """ + Gets the config_change_context of this PolicyAbstractConfigChangeDetail. + Context information on the change. + + :return: The config_change_context of this PolicyAbstractConfigChangeDetail. + :rtype: PolicyConfigResultContext + """ + return self._config_change_context + + @config_change_context.setter + def config_change_context(self, config_change_context): + """ + Sets the config_change_context of this PolicyAbstractConfigChangeDetail. + Context information on the change. + + :param config_change_context: The config_change_context of this PolicyAbstractConfigChangeDetail. + :type: PolicyConfigResultContext + """ + + self._config_change_context = config_change_context + + @property + def disruptions(self): + """ + Gets the disruptions of this PolicyAbstractConfigChangeDetail. + Possible discrution the configuration change might cause + + :return: The disruptions of this PolicyAbstractConfigChangeDetail. + :rtype: list[str] + """ + return self._disruptions + + @disruptions.setter + def disruptions(self, disruptions): + """ + Sets the disruptions of this PolicyAbstractConfigChangeDetail. + Possible discrution the configuration change might cause + + :param disruptions: The disruptions of this PolicyAbstractConfigChangeDetail. + :type: list[str] + """ + + self._disruptions = disruptions + + @property + def message(self): + """ + Gets the message of this PolicyAbstractConfigChangeDetail. + Detailed description of the config change + + :return: The message of this PolicyAbstractConfigChangeDetail. + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """ + Sets the message of this PolicyAbstractConfigChangeDetail. + Detailed description of the config change + + :param message: The message of this PolicyAbstractConfigChangeDetail. + :type: str + """ + + self._message = message + + @property + def mod_status(self): + """ + Gets the mod_status of this PolicyAbstractConfigChangeDetail. + Modification status of the mo in this config change + + :return: The mod_status of this PolicyAbstractConfigChangeDetail. + :rtype: str + """ + return self._mod_status + + @mod_status.setter + def mod_status(self, mod_status): + """ + Sets the mod_status of this PolicyAbstractConfigChangeDetail. + Modification status of the mo in this config change + + :param mod_status: The mod_status of this PolicyAbstractConfigChangeDetail. + :type: str + """ + allowed_values = ["None", "Created", "Modified", "Deleted"] + if mod_status not in allowed_values: + raise ValueError( + "Invalid value for `mod_status` ({0}), must be one of {1}" + .format(mod_status, allowed_values) + ) + + self._mod_status = mod_status + + 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, PolicyAbstractConfigChangeDetail): + 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_ref.py b/intersight/models/policy_abstract_config_change_detail_ref.py new file mode 100644 index 00000000..07fc8dc8 --- /dev/null +++ b/intersight/models/policy_abstract_config_change_detail_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PolicyAbstractConfigChangeDetailRef(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): + """ + PolicyAbstractConfigChangeDetailRef - 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 PolicyAbstractConfigChangeDetailRef. + + :return: The moid of this PolicyAbstractConfigChangeDetailRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PolicyAbstractConfigChangeDetailRef. + + :param moid: The moid of this PolicyAbstractConfigChangeDetailRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PolicyAbstractConfigChangeDetailRef. + + :return: The object_type of this PolicyAbstractConfigChangeDetailRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PolicyAbstractConfigChangeDetailRef. + + :param object_type: The object_type of this PolicyAbstractConfigChangeDetailRef. + :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, PolicyAbstractConfigChangeDetailRef): + 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_profile.py b/intersight/models/policy_abstract_config_profile.py index 49753fc0..c069271f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_config_profile_ref.py b/intersight/models/policy_abstract_config_profile_ref.py index fea91816..2b16d3dd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a1805d08..66571544 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_config_result_entry.py b/intersight/models/policy_abstract_config_result_entry.py index 7958f223..86ca9272 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_config_result_entry_ref.py b/intersight/models/policy_abstract_config_result_entry_ref.py index e6bcf8d7..21646338 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.5-612 + OpenAPI spec version: 1.0.7-681 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 602ec516..1e619968 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c9d333ea..5089d063 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_policy_ref.py b/intersight/models/policy_abstract_policy_ref.py index 8e86e207..cea40536 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.5-612 + OpenAPI spec version: 1.0.7-681 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 41d3aeff..a2a038f3 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_profile_ref.py b/intersight/models/policy_abstract_profile_ref.py index 9692f935..17735b31 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..176f64f7 --- /dev/null +++ b/intersight/models/policy_analyze_impact_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PolicyAnalyzeImpactTaskRef(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): + """ + PolicyAnalyzeImpactTaskRef - 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 PolicyAnalyzeImpactTaskRef. + + :return: The moid of this PolicyAnalyzeImpactTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PolicyAnalyzeImpactTaskRef. + + :param moid: The moid of this PolicyAnalyzeImpactTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PolicyAnalyzeImpactTaskRef. + + :return: The object_type of this PolicyAnalyzeImpactTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PolicyAnalyzeImpactTaskRef. + + :param object_type: The object_type of this PolicyAnalyzeImpactTaskRef. + :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, PolicyAnalyzeImpactTaskRef): + 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_config_change.py b/intersight/models/policy_config_change.py new file mode 100644 index 00000000..ce490746 --- /dev/null +++ b/intersight/models/policy_config_change.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PolicyConfigChange(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 = { + 'changes': 'list[str]', + 'disruptions': 'list[str]' + } + + attribute_map = { + 'changes': 'Changes', + 'disruptions': 'Disruptions' + } + + def __init__(self, changes=None, disruptions=None): + """ + PolicyConfigChange - a model defined in Swagger + """ + + self._changes = None + self._disruptions = None + + if changes is not None: + self.changes = changes + if disruptions is not None: + self.disruptions = disruptions + + @property + def changes(self): + """ + Gets the changes of this PolicyConfigChange. + Configuration changes + + :return: The changes of this PolicyConfigChange. + :rtype: list[str] + """ + return self._changes + + @changes.setter + def changes(self, changes): + """ + Sets the changes of this PolicyConfigChange. + Configuration changes + + :param changes: The changes of this PolicyConfigChange. + :type: list[str] + """ + + self._changes = changes + + @property + def disruptions(self): + """ + Gets the disruptions of this PolicyConfigChange. + Configuration disruptions + + :return: The disruptions of this PolicyConfigChange. + :rtype: list[str] + """ + return self._disruptions + + @disruptions.setter + def disruptions(self, disruptions): + """ + Sets the disruptions of this PolicyConfigChange. + Configuration disruptions + + :param disruptions: The disruptions of this PolicyConfigChange. + :type: list[str] + """ + + self._disruptions = disruptions + + 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, PolicyConfigChange): + 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_config_change_detail_type_ref.py b/intersight/models/policy_config_change_detail_type_ref.py new file mode 100644 index 00000000..5afd0d32 --- /dev/null +++ b/intersight/models/policy_config_change_detail_type_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PolicyConfigChangeDetailTypeRef(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): + """ + PolicyConfigChangeDetailTypeRef - 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 PolicyConfigChangeDetailTypeRef. + + :return: The moid of this PolicyConfigChangeDetailTypeRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PolicyConfigChangeDetailTypeRef. + + :param moid: The moid of this PolicyConfigChangeDetailTypeRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PolicyConfigChangeDetailTypeRef. + + :return: The object_type of this PolicyConfigChangeDetailTypeRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PolicyConfigChangeDetailTypeRef. + + :param object_type: The object_type of this PolicyConfigChangeDetailTypeRef. + :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, PolicyConfigChangeDetailTypeRef): + 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_config_change_ref.py b/intersight/models/policy_config_change_ref.py new file mode 100644 index 00000000..d59781eb --- /dev/null +++ b/intersight/models/policy_config_change_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PolicyConfigChangeRef(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): + """ + PolicyConfigChangeRef - 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 PolicyConfigChangeRef. + + :return: The moid of this PolicyConfigChangeRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PolicyConfigChangeRef. + + :param moid: The moid of this PolicyConfigChangeRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PolicyConfigChangeRef. + + :return: The object_type of this PolicyConfigChangeRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PolicyConfigChangeRef. + + :param object_type: The object_type of this PolicyConfigChangeRef. + :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, PolicyConfigChangeRef): + 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_config_context.py b/intersight/models/policy_config_context.py index 8ebed017..c0a7a9bc 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0bc01735..8106bfc6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c46d55be..dc6dac35 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.5-612 + OpenAPI spec version: 1.0.7-681 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 37762286..a731466a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..e653b15b --- /dev/null +++ b/intersight/models/policy_take_snapshot_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PolicyTakeSnapshotTaskRef(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): + """ + PolicyTakeSnapshotTaskRef - 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 PolicyTakeSnapshotTaskRef. + + :return: The moid of this PolicyTakeSnapshotTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PolicyTakeSnapshotTaskRef. + + :param moid: The moid of this PolicyTakeSnapshotTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PolicyTakeSnapshotTaskRef. + + :return: The object_type of this PolicyTakeSnapshotTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PolicyTakeSnapshotTaskRef. + + :param object_type: The object_type of this PolicyTakeSnapshotTaskRef. + :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, PolicyTakeSnapshotTaskRef): + 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/port_group.py b/intersight/models/port_group.py index 043e8839..4f0a716e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/port_group_list.py b/intersight/models/port_group_list.py index 10f87dfe..762efbd0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4431e858..93e37fd3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 bdd10511..f7c53b0b 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/port_physical_ref.py b/intersight/models/port_physical_ref.py index d5153862..370506bb 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6a426b75..d8540ada 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/port_sub_group_list.py b/intersight/models/port_sub_group_list.py index 9811111f..52a0b457 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a1876b23..141c15ab 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.5-612 + OpenAPI spec version: 1.0.7-681 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 851d8323..3f496606 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/processor_unit_list.py b/intersight/models/processor_unit_list.py index 351427d3..86e64408 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.5-612 + OpenAPI spec version: 1.0.7-681 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 1dbd02be..f94d30a0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 bc0fddc8..9ab2f57f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cb957354..9b35f205 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.5-612 + OpenAPI spec version: 1.0.7-681 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 41814e00..47d388c7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0fd09338..91a50a73 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0e0d8bd0..96231e45 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b994a503..31a574e9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 1405f815..653aa146 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.5-612 + OpenAPI spec version: 1.0.7-681 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 18569788..ff012dce 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.5-612 + OpenAPI spec version: 1.0.7-681 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 1aad2370..dc3ebf1d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cd1a5c22..a864f651 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..ea291984 --- /dev/null +++ b/intersight/models/qatask_timeoutwf_exponential_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class QataskTimeoutwfExponentialRef(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): + """ + QataskTimeoutwfExponentialRef - 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 QataskTimeoutwfExponentialRef. + + :return: The moid of this QataskTimeoutwfExponentialRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this QataskTimeoutwfExponentialRef. + + :param moid: The moid of this QataskTimeoutwfExponentialRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this QataskTimeoutwfExponentialRef. + + :return: The object_type of this QataskTimeoutwfExponentialRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this QataskTimeoutwfExponentialRef. + + :param object_type: The object_type of this QataskTimeoutwfExponentialRef. + :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, QataskTimeoutwfExponentialRef): + 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/qatask_timeoutwf_fixed_ref.py b/intersight/models/qatask_timeoutwf_fixed_ref.py index 3aa4fb8e..e94e955d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 026bfcad..ae4686d7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 603a4076..fa832346 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.5-612 + OpenAPI spec version: 1.0.7-681 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 12e2e79e..0e071fda 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3bcf6602..d93b65b3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 389f39c6..7e673dce 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.5-612 + OpenAPI spec version: 1.0.7-681 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 273ff48d..5504eb1e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 105c8639..8f5c2c9c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b3e0eab6..995f33e3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6684bbd9..5a770185 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4d51bc92..84c9a7df 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.5-612 + OpenAPI spec version: 1.0.7-681 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 77849e36..3cf0789c 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_deploy_task_ref.py b/intersight/models/sdcard_deploy_task_ref.py new file mode 100644 index 00000000..d5a830d3 --- /dev/null +++ b/intersight/models/sdcard_deploy_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardDeployTaskRef(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): + """ + SdcardDeployTaskRef - 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 SdcardDeployTaskRef. + + :return: The moid of this SdcardDeployTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardDeployTaskRef. + + :param moid: The moid of this SdcardDeployTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardDeployTaskRef. + + :return: The object_type of this SdcardDeployTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardDeployTaskRef. + + :param object_type: The object_type of this SdcardDeployTaskRef. + :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, SdcardDeployTaskRef): + 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_diagnostics_ref.py b/intersight/models/sdcard_diagnostics_ref.py new file mode 100644 index 00000000..87c934a1 --- /dev/null +++ b/intersight/models/sdcard_diagnostics_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardDiagnosticsRef(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): + """ + SdcardDiagnosticsRef - 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 SdcardDiagnosticsRef. + + :return: The moid of this SdcardDiagnosticsRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardDiagnosticsRef. + + :param moid: The moid of this SdcardDiagnosticsRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardDiagnosticsRef. + + :return: The object_type of this SdcardDiagnosticsRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardDiagnosticsRef. + + :param object_type: The object_type of this SdcardDiagnosticsRef. + :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, SdcardDiagnosticsRef): + 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_drivers_ref.py b/intersight/models/sdcard_drivers_ref.py new file mode 100644 index 00000000..49a8ac46 --- /dev/null +++ b/intersight/models/sdcard_drivers_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardDriversRef(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): + """ + SdcardDriversRef - 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 SdcardDriversRef. + + :return: The moid of this SdcardDriversRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardDriversRef. + + :param moid: The moid of this SdcardDriversRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardDriversRef. + + :return: The object_type of this SdcardDriversRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardDriversRef. + + :param object_type: The object_type of this SdcardDriversRef. + :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, SdcardDriversRef): + 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_host_upgrade_utility_ref.py b/intersight/models/sdcard_host_upgrade_utility_ref.py new file mode 100644 index 00000000..9ce78fd2 --- /dev/null +++ b/intersight/models/sdcard_host_upgrade_utility_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardHostUpgradeUtilityRef(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): + """ + SdcardHostUpgradeUtilityRef - 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 SdcardHostUpgradeUtilityRef. + + :return: The moid of this SdcardHostUpgradeUtilityRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardHostUpgradeUtilityRef. + + :param moid: The moid of this SdcardHostUpgradeUtilityRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardHostUpgradeUtilityRef. + + :return: The object_type of this SdcardHostUpgradeUtilityRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardHostUpgradeUtilityRef. + + :param object_type: The object_type of this SdcardHostUpgradeUtilityRef. + :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, SdcardHostUpgradeUtilityRef): + 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_operating_system_ref.py b/intersight/models/sdcard_operating_system_ref.py new file mode 100644 index 00000000..97a6289a --- /dev/null +++ b/intersight/models/sdcard_operating_system_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardOperatingSystemRef(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): + """ + SdcardOperatingSystemRef - 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 SdcardOperatingSystemRef. + + :return: The moid of this SdcardOperatingSystemRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardOperatingSystemRef. + + :param moid: The moid of this SdcardOperatingSystemRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardOperatingSystemRef. + + :return: The object_type of this SdcardOperatingSystemRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardOperatingSystemRef. + + :param object_type: The object_type of this SdcardOperatingSystemRef. + :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, SdcardOperatingSystemRef): + 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_partition.py b/intersight/models/sdcard_partition.py new file mode 100644 index 00000000..296fa772 --- /dev/null +++ b/intersight/models/sdcard_partition.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardPartition(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 = { + 'type': 'str', + 'virtual_drives': 'list[SdcardVirtualDrive]' + } + + attribute_map = { + 'type': 'Type', + 'virtual_drives': 'VirtualDrives' + } + + def __init__(self, type='OS', virtual_drives=None): + """ + SdcardPartition - a model defined in Swagger + """ + + self._type = None + self._virtual_drives = None + + if type is not None: + self.type = type + if virtual_drives is not None: + self.virtual_drives = virtual_drives + + @property + def type(self): + """ + Gets the type of this SdcardPartition. + Type of the partition + + :return: The type of this SdcardPartition. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """ + Sets the type of this SdcardPartition. + Type of the partition + + :param type: The type of this SdcardPartition. + :type: str + """ + allowed_values = ["OS", "Utility"] + if type not in allowed_values: + raise ValueError( + "Invalid value for `type` ({0}), must be one of {1}" + .format(type, allowed_values) + ) + + self._type = type + + @property + def virtual_drives(self): + """ + Gets the virtual_drives of this SdcardPartition. + Collection of available virtual drives + + :return: The virtual_drives of this SdcardPartition. + :rtype: list[SdcardVirtualDrive] + """ + return self._virtual_drives + + @virtual_drives.setter + def virtual_drives(self, virtual_drives): + """ + Sets the virtual_drives of this SdcardPartition. + Collection of available virtual drives + + :param virtual_drives: The virtual_drives of this SdcardPartition. + :type: list[SdcardVirtualDrive] + """ + + self._virtual_drives = virtual_drives + + 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, SdcardPartition): + 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_partition_ref.py b/intersight/models/sdcard_partition_ref.py new file mode 100644 index 00000000..1d1c3d7f --- /dev/null +++ b/intersight/models/sdcard_partition_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardPartitionRef(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): + """ + SdcardPartitionRef - 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 SdcardPartitionRef. + + :return: The moid of this SdcardPartitionRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardPartitionRef. + + :param moid: The moid of this SdcardPartitionRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardPartitionRef. + + :return: The object_type of this SdcardPartitionRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardPartitionRef. + + :param object_type: The object_type of this SdcardPartitionRef. + :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, SdcardPartitionRef): + 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_policy.py b/intersight/models/sdcard_policy.py new file mode 100644 index 00000000..ba1181b8 --- /dev/null +++ b/intersight/models/sdcard_policy.py @@ -0,0 +1,489 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardPolicy(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]', + 'description': 'str', + 'name': 'str', + 'organization': 'IamAccountRef', + 'partitions': 'list[SdcardPartition]', + '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', + 'description': 'Description', + 'name': 'Name', + 'organization': 'Organization', + 'partitions': 'Partitions', + '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): + """ + SdcardPolicy - 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._description = None + self._name = None + self._organization = None + self._partitions = 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 description is not None: + self.description = description + if name is not None: + self.name = name + if organization is not None: + self.organization = organization + if partitions is not None: + self.partitions = partitions + if profiles is not None: + self.profiles = profiles + + @property + def account_moid(self): + """ + Gets the account_moid of this SdcardPolicy. + The Account ID for this managed object. + + :return: The account_moid of this SdcardPolicy. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this SdcardPolicy. + The Account ID for this managed object. + + :param account_moid: The account_moid of this SdcardPolicy. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this SdcardPolicy. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this SdcardPolicy. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this SdcardPolicy. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this SdcardPolicy. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this SdcardPolicy. + The time when this managed object was created. + + :return: The create_time of this SdcardPolicy. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this SdcardPolicy. + The time when this managed object was created. + + :param create_time: The create_time of this SdcardPolicy. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this SdcardPolicy. + The time when this managed object was last modified. + + :return: The mod_time of this SdcardPolicy. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this SdcardPolicy. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this SdcardPolicy. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this SdcardPolicy. + A unique identifier of this Managed Object instance. + + :return: The moid of this SdcardPolicy. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardPolicy. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this SdcardPolicy. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardPolicy. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this SdcardPolicy. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardPolicy. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this SdcardPolicy. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this SdcardPolicy. + An array of owners which represent effective ownership of this object. + + :return: The owners of this SdcardPolicy. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this SdcardPolicy. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this SdcardPolicy. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this SdcardPolicy. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this SdcardPolicy. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this SdcardPolicy. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this SdcardPolicy. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this SdcardPolicy. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this SdcardPolicy. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this SdcardPolicy. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def description(self): + """ + Gets the description of this SdcardPolicy. + Description of the policy. + + :return: The description of this SdcardPolicy. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """ + Sets the description of this SdcardPolicy. + Description of the policy. + + :param description: The description of this SdcardPolicy. + :type: str + """ + + self._description = description + + @property + def name(self): + """ + Gets the name of this SdcardPolicy. + Name of the policy. + + :return: The name of this SdcardPolicy. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this SdcardPolicy. + Name of the policy. + + :param name: The name of this SdcardPolicy. + :type: str + """ + + self._name = name + + @property + def organization(self): + """ + Gets the organization of this SdcardPolicy. + Organization + + :return: The organization of this SdcardPolicy. + :rtype: IamAccountRef + """ + return self._organization + + @organization.setter + def organization(self, organization): + """ + Sets the organization of this SdcardPolicy. + Organization + + :param organization: The organization of this SdcardPolicy. + :type: IamAccountRef + """ + + self._organization = organization + + @property + def partitions(self): + """ + Gets the partitions of this SdcardPolicy. + Collection of partition + + :return: The partitions of this SdcardPolicy. + :rtype: list[SdcardPartition] + """ + return self._partitions + + @partitions.setter + def partitions(self, partitions): + """ + Sets the partitions of this SdcardPolicy. + Collection of partition + + :param partitions: The partitions of this SdcardPolicy. + :type: list[SdcardPartition] + """ + + self._partitions = partitions + + @property + def profiles(self): + """ + Gets the profiles of this SdcardPolicy. + Relationship to the profile object + + :return: The profiles of this SdcardPolicy. + :rtype: list[PolicyAbstractConfigProfileRef] + """ + return self._profiles + + @profiles.setter + def profiles(self, profiles): + """ + Sets the profiles of this SdcardPolicy. + Relationship to the profile object + + :param profiles: The profiles of this SdcardPolicy. + :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, SdcardPolicy): + 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_policy_list.py b/intersight/models/sdcard_policy_list.py new file mode 100644 index 00000000..db0d72ed --- /dev/null +++ b/intersight/models/sdcard_policy_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardPolicyList(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[SdcardPolicy]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + SdcardPolicyList - 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 SdcardPolicyList. + The number of sdcardPolicies matching your request in total for all pages. + + :return: The count of this SdcardPolicyList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this SdcardPolicyList. + The number of sdcardPolicies matching your request in total for all pages. + + :param count: The count of this SdcardPolicyList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this SdcardPolicyList. + The array of sdcardPolicies matching your request. + + :return: The results of this SdcardPolicyList. + :rtype: list[SdcardPolicy] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this SdcardPolicyList. + The array of sdcardPolicies matching your request. + + :param results: The results of this SdcardPolicyList. + :type: list[SdcardPolicy] + """ + + 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, SdcardPolicyList): + 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_policy_ref.py b/intersight/models/sdcard_policy_ref.py new file mode 100644 index 00000000..b34baf21 --- /dev/null +++ b/intersight/models/sdcard_policy_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardPolicyRef(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): + """ + SdcardPolicyRef - 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 SdcardPolicyRef. + + :return: The moid of this SdcardPolicyRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardPolicyRef. + + :param moid: The moid of this SdcardPolicyRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardPolicyRef. + + :return: The object_type of this SdcardPolicyRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardPolicyRef. + + :param object_type: The object_type of this SdcardPolicyRef. + :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, SdcardPolicyRef): + 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_server_configuration_utility_ref.py b/intersight/models/sdcard_server_configuration_utility_ref.py new file mode 100644 index 00000000..ace36a28 --- /dev/null +++ b/intersight/models/sdcard_server_configuration_utility_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardServerConfigurationUtilityRef(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): + """ + SdcardServerConfigurationUtilityRef - 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 SdcardServerConfigurationUtilityRef. + + :return: The moid of this SdcardServerConfigurationUtilityRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardServerConfigurationUtilityRef. + + :param moid: The moid of this SdcardServerConfigurationUtilityRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardServerConfigurationUtilityRef. + + :return: The object_type of this SdcardServerConfigurationUtilityRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardServerConfigurationUtilityRef. + + :param object_type: The object_type of this SdcardServerConfigurationUtilityRef. + :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, SdcardServerConfigurationUtilityRef): + 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_user_partition_ref.py b/intersight/models/sdcard_user_partition_ref.py new file mode 100644 index 00000000..38315ddf --- /dev/null +++ b/intersight/models/sdcard_user_partition_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardUserPartitionRef(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): + """ + SdcardUserPartitionRef - 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 SdcardUserPartitionRef. + + :return: The moid of this SdcardUserPartitionRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardUserPartitionRef. + + :param moid: The moid of this SdcardUserPartitionRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardUserPartitionRef. + + :return: The object_type of this SdcardUserPartitionRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardUserPartitionRef. + + :param object_type: The object_type of this SdcardUserPartitionRef. + :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, SdcardUserPartitionRef): + 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_validation_task_ref.py b/intersight/models/sdcard_validation_task_ref.py new file mode 100644 index 00000000..1256da86 --- /dev/null +++ b/intersight/models/sdcard_validation_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardValidationTaskRef(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): + """ + SdcardValidationTaskRef - 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 SdcardValidationTaskRef. + + :return: The moid of this SdcardValidationTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardValidationTaskRef. + + :param moid: The moid of this SdcardValidationTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardValidationTaskRef. + + :return: The object_type of this SdcardValidationTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardValidationTaskRef. + + :param object_type: The object_type of this SdcardValidationTaskRef. + :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, SdcardValidationTaskRef): + 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_virtual_drive.py b/intersight/models/sdcard_virtual_drive.py new file mode 100644 index 00000000..6433e895 --- /dev/null +++ b/intersight/models/sdcard_virtual_drive.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardVirtualDrive(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 = { + 'enable': 'bool' + } + + attribute_map = { + 'enable': 'Enable' + } + + def __init__(self, enable=None): + """ + SdcardVirtualDrive - a model defined in Swagger + """ + + self._enable = None + + if enable is not None: + self.enable = enable + + @property + def enable(self): + """ + Gets the enable of this SdcardVirtualDrive. + Enable Virtual Drive + + :return: The enable of this SdcardVirtualDrive. + :rtype: bool + """ + return self._enable + + @enable.setter + def enable(self, enable): + """ + Sets the enable of this SdcardVirtualDrive. + Enable Virtual Drive + + :param enable: The enable of this SdcardVirtualDrive. + :type: bool + """ + + self._enable = enable + + 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, SdcardVirtualDrive): + 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_virtual_drive_ref.py b/intersight/models/sdcard_virtual_drive_ref.py new file mode 100644 index 00000000..9aaf6f37 --- /dev/null +++ b/intersight/models/sdcard_virtual_drive_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SdcardVirtualDriveRef(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): + """ + SdcardVirtualDriveRef - 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 SdcardVirtualDriveRef. + + :return: The moid of this SdcardVirtualDriveRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SdcardVirtualDriveRef. + + :param moid: The moid of this SdcardVirtualDriveRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SdcardVirtualDriveRef. + + :return: The object_type of this SdcardVirtualDriveRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SdcardVirtualDriveRef. + + :param object_type: The object_type of this SdcardVirtualDriveRef. + :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, SdcardVirtualDriveRef): + 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/search_search_item.py b/intersight/models/search_search_item.py index fd9a23d5..ad8d78de 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/search_search_item_list.py b/intersight/models/search_search_item_list.py index a2934b46..b5c0c60c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4102de56..b0d1dcc4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0f9dcd32..ec4cc8d7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/search_suggest_item_ref.py b/intersight/models/search_suggest_item_ref.py index f15bea19..9ae04337 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d07fc6a8..9d59b564 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/search_tag_item_list.py b/intersight/models/search_tag_item_list.py index f44cecbc..d277eea8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 bdce48a7..7062f8d4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 39cfcb8d..51d448ce 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/security_unit_list.py b/intersight/models/security_unit_list.py index 8f31eef5..de3906dd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6fe2c8a7..ad952cf8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ee196982..0dd1219f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,110 +31,374 @@ class ServerConfigChangeDetail(object): 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]', + 'changes': 'list[str]', 'config_change_context': 'PolicyConfigResultContext', - 'config_change_type': 'str', - 'disruption_type': 'str', + 'disruptions': 'list[str]', 'message': 'str', - 'message_params': 'object' + 'mod_status': 'str', + 'profile': 'ServerProfileRef' } attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'changes': 'Changes', 'config_change_context': 'ConfigChangeContext', - 'config_change_type': 'ConfigChangeType', - 'disruption_type': 'DisruptionType', + 'disruptions': 'Disruptions', 'message': 'Message', - 'message_params': 'MessageParams' + 'mod_status': 'ModStatus', + 'profile': 'Profile' } - def __init__(self, config_change_context=None, config_change_type=None, disruption_type=None, message=None, message_params=None): + def __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): """ ServerConfigChangeDetail - 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._changes = None self._config_change_context = None - self._config_change_type = None - self._disruption_type = None + self._disruptions = None self._message = None - self._message_params = None - + self._mod_status = None + self._profile = 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 changes is not None: + self.changes = changes if config_change_context is not None: self.config_change_context = config_change_context - if config_change_type is not None: - self.config_change_type = config_change_type - if disruption_type is not None: - self.disruption_type = disruption_type + if disruptions is not None: + self.disruptions = disruptions if message is not None: self.message = message - if message_params is not None: - self.message_params = message_params + if mod_status is not None: + self.mod_status = mod_status + if profile is not None: + self.profile = profile @property - def config_change_context(self): + def account_moid(self): """ - Gets the config_change_context of this ServerConfigChangeDetail. + Gets the account_moid of this ServerConfigChangeDetail. + The Account ID for this managed object. - :return: The config_change_context of this ServerConfigChangeDetail. - :rtype: PolicyConfigResultContext + :return: The account_moid of this ServerConfigChangeDetail. + :rtype: str """ - return self._config_change_context + return self._account_moid - @config_change_context.setter - def config_change_context(self, config_change_context): + @account_moid.setter + def account_moid(self, account_moid): """ - Sets the config_change_context of this ServerConfigChangeDetail. + Sets the account_moid of this ServerConfigChangeDetail. + The Account ID for this managed object. - :param config_change_context: The config_change_context of this ServerConfigChangeDetail. - :type: PolicyConfigResultContext + :param account_moid: The account_moid of this ServerConfigChangeDetail. + :type: str """ - self._config_change_context = config_change_context + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this ServerConfigChangeDetail. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this ServerConfigChangeDetail. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this ServerConfigChangeDetail. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this ServerConfigChangeDetail. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this ServerConfigChangeDetail. + The time when this managed object was created. + + :return: The create_time of this ServerConfigChangeDetail. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this ServerConfigChangeDetail. + The time when this managed object was created. + + :param create_time: The create_time of this ServerConfigChangeDetail. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this ServerConfigChangeDetail. + The time when this managed object was last modified. + + :return: The mod_time of this ServerConfigChangeDetail. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this ServerConfigChangeDetail. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this ServerConfigChangeDetail. + :type: datetime + """ + + self._mod_time = mod_time @property - def config_change_type(self): + def moid(self): """ - Gets the config_change_type of this ServerConfigChangeDetail. + Gets the moid of this ServerConfigChangeDetail. + A unique identifier of this Managed Object instance. - :return: The config_change_type of this ServerConfigChangeDetail. + :return: The moid of this ServerConfigChangeDetail. :rtype: str """ - return self._config_change_type + return self._moid - @config_change_type.setter - def config_change_type(self, config_change_type): + @moid.setter + def moid(self, moid): """ - Sets the config_change_type of this ServerConfigChangeDetail. + Sets the moid of this ServerConfigChangeDetail. + A unique identifier of this Managed Object instance. - :param config_change_type: The config_change_type of this ServerConfigChangeDetail. + :param moid: The moid of this ServerConfigChangeDetail. :type: str """ - self._config_change_type = config_change_type + self._moid = moid @property - def disruption_type(self): + def object_type(self): """ - Gets the disruption_type of this ServerConfigChangeDetail. + Gets the object_type of this ServerConfigChangeDetail. + The fully-qualified type of this managed object, e.g. the class name. - :return: The disruption_type of this ServerConfigChangeDetail. + :return: The object_type of this ServerConfigChangeDetail. :rtype: str """ - return self._disruption_type + return self._object_type - @disruption_type.setter - def disruption_type(self, disruption_type): + @object_type.setter + def object_type(self, object_type): """ - Sets the disruption_type of this ServerConfigChangeDetail. + Sets the object_type of this ServerConfigChangeDetail. + The fully-qualified type of this managed object, e.g. the class name. - :param disruption_type: The disruption_type of this ServerConfigChangeDetail. + :param object_type: The object_type of this ServerConfigChangeDetail. :type: str """ - self._disruption_type = disruption_type + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this ServerConfigChangeDetail. + An array of owners which represent effective ownership of this object. + + :return: The owners of this ServerConfigChangeDetail. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this ServerConfigChangeDetail. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this ServerConfigChangeDetail. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this ServerConfigChangeDetail. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this ServerConfigChangeDetail. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this ServerConfigChangeDetail. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this ServerConfigChangeDetail. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this ServerConfigChangeDetail. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this ServerConfigChangeDetail. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this ServerConfigChangeDetail. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def changes(self): + """ + Gets the changes of this ServerConfigChangeDetail. + Type of the configuration change + + :return: The changes of this ServerConfigChangeDetail. + :rtype: list[str] + """ + return self._changes + + @changes.setter + def changes(self, changes): + """ + Sets the changes of this ServerConfigChangeDetail. + Type of the configuration change + + :param changes: The changes of this ServerConfigChangeDetail. + :type: list[str] + """ + + self._changes = changes + + @property + def config_change_context(self): + """ + Gets the config_change_context of this ServerConfigChangeDetail. + Context information on the change. + + :return: The config_change_context of this ServerConfigChangeDetail. + :rtype: PolicyConfigResultContext + """ + return self._config_change_context + + @config_change_context.setter + def config_change_context(self, config_change_context): + """ + Sets the config_change_context of this ServerConfigChangeDetail. + Context information on the change. + + :param config_change_context: The config_change_context of this ServerConfigChangeDetail. + :type: PolicyConfigResultContext + """ + + self._config_change_context = config_change_context + + @property + def disruptions(self): + """ + Gets the disruptions of this ServerConfigChangeDetail. + Possible discrution the configuration change might cause + + :return: The disruptions of this ServerConfigChangeDetail. + :rtype: list[str] + """ + return self._disruptions + + @disruptions.setter + def disruptions(self, disruptions): + """ + Sets the disruptions of this ServerConfigChangeDetail. + Possible discrution the configuration change might cause + + :param disruptions: The disruptions of this ServerConfigChangeDetail. + :type: list[str] + """ + + self._disruptions = disruptions @property def message(self): """ Gets the message of this ServerConfigChangeDetail. + Detailed description of the config change :return: The message of this ServerConfigChangeDetail. :rtype: str @@ -145,6 +409,7 @@ def message(self): def message(self, message): """ Sets the message of this ServerConfigChangeDetail. + Detailed description of the config change :param message: The message of this ServerConfigChangeDetail. :type: str @@ -153,25 +418,54 @@ def message(self, message): self._message = message @property - def message_params(self): + def mod_status(self): + """ + Gets the mod_status of this ServerConfigChangeDetail. + Modification status of the mo in this config change + + :return: The mod_status of this ServerConfigChangeDetail. + :rtype: str + """ + return self._mod_status + + @mod_status.setter + def mod_status(self, mod_status): + """ + Sets the mod_status of this ServerConfigChangeDetail. + Modification status of the mo in this config change + + :param mod_status: The mod_status of this ServerConfigChangeDetail. + :type: str + """ + allowed_values = ["None", "Created", "Modified", "Deleted"] + if mod_status not in allowed_values: + raise ValueError( + "Invalid value for `mod_status` ({0}), must be one of {1}" + .format(mod_status, allowed_values) + ) + + self._mod_status = mod_status + + @property + def profile(self): """ - Gets the message_params of this ServerConfigChangeDetail. + Gets the profile of this ServerConfigChangeDetail. - :return: The message_params of this ServerConfigChangeDetail. - :rtype: object + :return: The profile of this ServerConfigChangeDetail. + :rtype: ServerProfileRef """ - return self._message_params + return self._profile - @message_params.setter - def message_params(self, message_params): + @profile.setter + def profile(self, profile): """ - Sets the message_params of this ServerConfigChangeDetail. + Sets the profile of this ServerConfigChangeDetail. - :param message_params: The message_params of this ServerConfigChangeDetail. - :type: object + :param profile: The profile of this ServerConfigChangeDetail. + :type: ServerProfileRef """ - self._message_params = message_params + self._profile = profile def to_dict(self): """ diff --git a/intersight/models/server_config_change_detail_list.py b/intersight/models/server_config_change_detail_list.py new file mode 100644 index 00000000..cbef5c2d --- /dev/null +++ b/intersight/models/server_config_change_detail_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ServerConfigChangeDetailList(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[ServerConfigChangeDetail]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + ServerConfigChangeDetailList - 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 ServerConfigChangeDetailList. + The number of serverConfigChangeDetails matching your request in total for all pages. + + :return: The count of this ServerConfigChangeDetailList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this ServerConfigChangeDetailList. + The number of serverConfigChangeDetails matching your request in total for all pages. + + :param count: The count of this ServerConfigChangeDetailList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this ServerConfigChangeDetailList. + The array of serverConfigChangeDetails matching your request. + + :return: The results of this ServerConfigChangeDetailList. + :rtype: list[ServerConfigChangeDetail] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this ServerConfigChangeDetailList. + The array of serverConfigChangeDetails matching your request. + + :param results: The results of this ServerConfigChangeDetailList. + :type: list[ServerConfigChangeDetail] + """ + + 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, ServerConfigChangeDetailList): + 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/server_config_change_detail_ref.py b/intersight/models/server_config_change_detail_ref.py index ea5df4a7..14d9c450 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4dca2e01..0a957def 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_config_result_entry.py b/intersight/models/server_config_result_entry.py index d31b524a..894a7ca8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_config_result_entry_list.py b/intersight/models/server_config_result_entry_list.py index f50b9cad..6cb30125 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.5-612 + OpenAPI spec version: 1.0.7-681 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 feaf36f4..28dffb76 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6eff4776..731c6864 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.5-612 + OpenAPI spec version: 1.0.7-681 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 66e06b37..ff21d971 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.5-612 + OpenAPI spec version: 1.0.7-681 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 424e5124..13e5dd33 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -48,8 +48,8 @@ class ServerProfile(object): 'config_context': 'PolicyConfigContext', 'assigned_server': 'ComputeRackUnitRef', 'associated_server': 'ComputeRackUnitRef', - 'config_change_details': 'ServerConfigChangeDetailsRef', - 'config_changes': 'ServerConfigChange', + 'config_change_details': 'list[ServerConfigChangeDetailRef]', + 'config_changes': 'PolicyConfigChange', 'config_result': 'ServerConfigResultRef', 'organization': 'IamAccountRef' } @@ -548,7 +548,7 @@ def config_change_details(self): Represents the configuration change details :return: The config_change_details of this ServerProfile. - :rtype: ServerConfigChangeDetailsRef + :rtype: list[ServerConfigChangeDetailRef] """ return self._config_change_details @@ -559,7 +559,7 @@ def config_change_details(self, config_change_details): Represents the configuration change details :param config_change_details: The config_change_details of this ServerProfile. - :type: ServerConfigChangeDetailsRef + :type: list[ServerConfigChangeDetailRef] """ self._config_change_details = config_change_details @@ -571,7 +571,7 @@ def config_changes(self): Represents the pending configuration changes at the summary level. Detail changes save in configChangeDetails as a separate object :return: The config_changes of this ServerProfile. - :rtype: ServerConfigChange + :rtype: PolicyConfigChange """ return self._config_changes @@ -582,7 +582,7 @@ def config_changes(self, config_changes): Represents the pending configuration changes at the summary level. Detail changes save in configChangeDetails as a separate object :param config_changes: The config_changes of this ServerProfile. - :type: ServerConfigChange + :type: PolicyConfigChange """ self._config_changes = config_changes diff --git a/intersight/models/server_profile_apply_task_ref.py b/intersight/models/server_profile_apply_task_ref.py index ed530374..aac10a4c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7b18e9ae..09db8c13 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.5-612 + OpenAPI spec version: 1.0.7-681 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 17e636b5..91e52466 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c650336d..62564cd4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 26ca1610..53242907 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.5-612 + OpenAPI spec version: 1.0.7-681 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 131661ee..70289ea7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/smtp_policy_list.py b/intersight/models/smtp_policy_list.py index 588a2182..f823efd6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 740de0b0..b33231de 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.5-612 + OpenAPI spec version: 1.0.7-681 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 825ce015..4132ac79 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8aaf39cc..e2a3617b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3c4fa9ce..308640fd 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/snmp_policy_list.py b/intersight/models/snmp_policy_list.py index cd74657c..f7d7a4d2 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.5-612 + OpenAPI spec version: 1.0.7-681 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 f66ea081..6367d167 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.5-612 + OpenAPI spec version: 1.0.7-681 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 00460bc3..68b3c89a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 2f177c6c..12453fb6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8d9d0f53..4fbb9faa 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.5-612 + OpenAPI spec version: 1.0.7-681 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 16d10a9a..5519871a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6973b2c8..d7458c81 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sol_deploy_task_ref.py b/intersight/models/sol_deploy_task_ref.py index 358d2095..27066349 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cd47170e..7fb901e1 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sol_policy_list.py b/intersight/models/sol_policy_list.py index 2ae93cf2..3e57b872 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.5-612 + OpenAPI spec version: 1.0.7-681 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 024ac97a..968e08d3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6e1a8cee..b0d85123 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.5-612 + OpenAPI spec version: 1.0.7-681 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 50c75770..a495a07d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4e4b37a7..96fcdf1d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ssh_policy_list.py b/intersight/models/ssh_policy_list.py index b6c2a8c8..6159bdf0 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fc7f5e8f..61f62372 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.5-612 + OpenAPI spec version: 1.0.7-681 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 42b241c1..1e76ca35 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..da23c2f8 --- /dev/null +++ b/intersight/models/storage_analyze_impact_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class StorageAnalyzeImpactTaskRef(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): + """ + StorageAnalyzeImpactTaskRef - 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 StorageAnalyzeImpactTaskRef. + + :return: The moid of this StorageAnalyzeImpactTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this StorageAnalyzeImpactTaskRef. + + :param moid: The moid of this StorageAnalyzeImpactTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this StorageAnalyzeImpactTaskRef. + + :return: The object_type of this StorageAnalyzeImpactTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this StorageAnalyzeImpactTaskRef. + + :param object_type: The object_type of this StorageAnalyzeImpactTaskRef. + :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, StorageAnalyzeImpactTaskRef): + 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_controller.py b/intersight/models/storage_controller.py index 6ee5acd2..ead8e24a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_controller_list.py b/intersight/models/storage_controller_list.py index 5eed7883..0f379878 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.5-612 + OpenAPI spec version: 1.0.7-681 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 dfce7bed..85aa54ac 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0ca29508..e1e3d4aa 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6e8f2ee6..13365c3d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_disk_group_policy_list.py b/intersight/models/storage_disk_group_policy_list.py index 3fc591a3..ac1ea4a3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a8b9cc6c..80910727 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3a1c0ddd..39db5b0a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_enclosure_list.py b/intersight/models/storage_enclosure_list.py index 9659008c..c43d0084 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d02b7eb4..3288f1cd 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.5-612 + OpenAPI spec version: 1.0.7-681 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 bf352e22..653fdd0a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_controller_list.py b/intersight/models/storage_flex_flash_controller_list.py index d4bcee8c..9bd673f9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9472e567..31d862d8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_controller_props_list.py b/intersight/models/storage_flex_flash_controller_props_list.py index a221831a..1dc431a9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 41dd0bf6..4a8ace9a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c4334bde..d8bcafc7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c7f7b36b..32b7c5fc 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_physical_drive_list.py b/intersight/models/storage_flex_flash_physical_drive_list.py index f9d14066..dde5c1c9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 954eb83e..dc0f8773 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8282fd2e..b6a1a602 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_virtual_drive_list.py b/intersight/models/storage_flex_flash_virtual_drive_list.py index b09ad3c4..d68e45e9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0c22a2fe..fca5f09c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 305d0448..02a756ac 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_util_controller_list.py b/intersight/models/storage_flex_util_controller_list.py index 08edb2cf..623a62c1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8ebab765..72638e3a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 31062535..47be34c2 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_util_physical_drive_list.py b/intersight/models/storage_flex_util_physical_drive_list.py index 8124f0f8..c8e67940 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.5-612 + OpenAPI spec version: 1.0.7-681 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 258d98be..308ce9f6 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.5-612 + OpenAPI spec version: 1.0.7-681 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 1457b432..4c5be4ff 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_util_virtual_drive_list.py b/intersight/models/storage_flex_util_virtual_drive_list.py index 5868b1fa..acc2bc92 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6d2ff979..3824a6b4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3be8f93e..4a03f92b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c251a92d..5e69a4af 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.5-612 + OpenAPI spec version: 1.0.7-681 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 408f2bec..f939fbdb 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_physical_disk_extension.py b/intersight/models/storage_physical_disk_extension.py index c884b371..afaede36 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_physical_disk_extension_list.py b/intersight/models/storage_physical_disk_extension_list.py index 8bcb127a..c14c8bbc 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fe4b7d87..004be857 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.5-612 + OpenAPI spec version: 1.0.7-681 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 00bd6824..eeafa71e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 d50cfb28..fd5c0898 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7b8e2275..d7e2974d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_physical_disk_usage_list.py b/intersight/models/storage_physical_disk_usage_list.py index ca07aa8b..1c9e0e0e 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9fa65aa3..0d111bc2 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.5-612 + OpenAPI spec version: 1.0.7-681 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 26cdd562..bfd62950 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.5-612 + OpenAPI spec version: 1.0.7-681 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 79f733d1..6849f5d9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 0b20da8f..48fb9a7a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_sas_expander_list.py b/intersight/models/storage_sas_expander_list.py index 89109400..1eb66e98 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6d7b659c..602388ac 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.5-612 + OpenAPI spec version: 1.0.7-681 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 457e5e0f..c4eab59a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 13c02e6d..65479cda 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.5-612 + OpenAPI spec version: 1.0.7-681 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 dd3cf885..745ac086 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_storage_policy_list.py b/intersight/models/storage_storage_policy_list.py index def371d4..1d48e1d3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ae45de1b..cc7d06d9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..4756b8f2 --- /dev/null +++ b/intersight/models/storage_take_snapshot_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class StorageTakeSnapshotTaskRef(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): + """ + StorageTakeSnapshotTaskRef - 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 StorageTakeSnapshotTaskRef. + + :return: The moid of this StorageTakeSnapshotTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this StorageTakeSnapshotTaskRef. + + :param moid: The moid of this StorageTakeSnapshotTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this StorageTakeSnapshotTaskRef. + + :return: The object_type of this StorageTakeSnapshotTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this StorageTakeSnapshotTaskRef. + + :param object_type: The object_type of this StorageTakeSnapshotTaskRef. + :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, StorageTakeSnapshotTaskRef): + 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_validation_task_ref.py b/intersight/models/storage_validation_task_ref.py index 0f0f4494..95043390 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.5-612 + OpenAPI spec version: 1.0.7-681 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 4a02063f..0753443f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_vd_member_ep_list.py b/intersight/models/storage_vd_member_ep_list.py index 37691e0c..a3e3116c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fd82a310..a455f2f7 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.5-612 + OpenAPI spec version: 1.0.7-681 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 cb4f03d9..af894485 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_virtual_drive_config.py b/intersight/models/storage_virtual_drive_config.py index 9ea1879d..64aef61d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ec0cbc0b..3e841f92 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_virtual_drive_list.py b/intersight/models/storage_virtual_drive_list.py index d2503c54..004277d1 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a91ca2c8..3e965ac9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..d9d41a82 --- /dev/null +++ b/intersight/models/syslog_deploy_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogDeployTaskRef(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): + """ + SyslogDeployTaskRef - 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 SyslogDeployTaskRef. + + :return: The moid of this SyslogDeployTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SyslogDeployTaskRef. + + :param moid: The moid of this SyslogDeployTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SyslogDeployTaskRef. + + :return: The object_type of this SyslogDeployTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SyslogDeployTaskRef. + + :param object_type: The object_type of this SyslogDeployTaskRef. + :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, SyslogDeployTaskRef): + 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/syslog_local_client_base.py b/intersight/models/syslog_local_client_base.py new file mode 100644 index 00000000..4f62d0c4 --- /dev/null +++ b/intersight/models/syslog_local_client_base.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogLocalClientBase(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 = { + 'min_severity': 'str' + } + + attribute_map = { + 'min_severity': 'MinSeverity' + } + + def __init__(self, min_severity='warning'): + """ + SyslogLocalClientBase - a model defined in Swagger + """ + + self._min_severity = None + + if min_severity is not None: + self.min_severity = min_severity + + @property + def min_severity(self): + """ + Gets the min_severity of this SyslogLocalClientBase. + Lowest level of messages to be included in the local log + + :return: The min_severity of this SyslogLocalClientBase. + :rtype: str + """ + return self._min_severity + + @min_severity.setter + def min_severity(self, min_severity): + """ + Sets the min_severity of this SyslogLocalClientBase. + Lowest level of messages to be included in the local log + + :param min_severity: The min_severity of this SyslogLocalClientBase. + :type: str + """ + allowed_values = ["warning", "emergency", "alert", "critical", "error", "notice", "informational", "debug"] + if min_severity not in allowed_values: + raise ValueError( + "Invalid value for `min_severity` ({0}), must be one of {1}" + .format(min_severity, allowed_values) + ) + + self._min_severity = min_severity + + 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, SyslogLocalClientBase): + 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/syslog_local_client_base_ref.py b/intersight/models/syslog_local_client_base_ref.py new file mode 100644 index 00000000..9768b538 --- /dev/null +++ b/intersight/models/syslog_local_client_base_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogLocalClientBaseRef(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): + """ + SyslogLocalClientBaseRef - 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 SyslogLocalClientBaseRef. + + :return: The moid of this SyslogLocalClientBaseRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SyslogLocalClientBaseRef. + + :param moid: The moid of this SyslogLocalClientBaseRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SyslogLocalClientBaseRef. + + :return: The object_type of this SyslogLocalClientBaseRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SyslogLocalClientBaseRef. + + :param object_type: The object_type of this SyslogLocalClientBaseRef. + :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, SyslogLocalClientBaseRef): + 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/syslog_local_file_logging_client_ref.py b/intersight/models/syslog_local_file_logging_client_ref.py new file mode 100644 index 00000000..81b24e23 --- /dev/null +++ b/intersight/models/syslog_local_file_logging_client_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogLocalFileLoggingClientRef(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): + """ + SyslogLocalFileLoggingClientRef - 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 SyslogLocalFileLoggingClientRef. + + :return: The moid of this SyslogLocalFileLoggingClientRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SyslogLocalFileLoggingClientRef. + + :param moid: The moid of this SyslogLocalFileLoggingClientRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SyslogLocalFileLoggingClientRef. + + :return: The object_type of this SyslogLocalFileLoggingClientRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SyslogLocalFileLoggingClientRef. + + :param object_type: The object_type of this SyslogLocalFileLoggingClientRef. + :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, SyslogLocalFileLoggingClientRef): + 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/syslog_policy.py b/intersight/models/syslog_policy.py new file mode 100644 index 00000000..e4cb3dda --- /dev/null +++ b/intersight/models/syslog_policy.py @@ -0,0 +1,517 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogPolicy(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]', + 'description': 'str', + 'name': 'str', + 'local_clients': 'list[SyslogLocalClientBase]', + 'organization': 'IamAccountRef', + 'profiles': 'list[PolicyAbstractConfigProfileRef]', + 'remote_clients': 'list[SyslogRemoteClientBase]' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'description': 'Description', + 'name': 'Name', + 'local_clients': 'LocalClients', + 'organization': 'Organization', + 'profiles': 'Profiles', + '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): + """ + SyslogPolicy - 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._description = None + self._name = None + self._local_clients = None + self._organization = None + self._profiles = None + self._remote_clients = 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 description is not None: + self.description = description + if name is not None: + self.name = name + if local_clients is not None: + self.local_clients = local_clients + if organization is not None: + self.organization = organization + if profiles is not None: + self.profiles = profiles + if remote_clients is not None: + self.remote_clients = remote_clients + + @property + def account_moid(self): + """ + Gets the account_moid of this SyslogPolicy. + The Account ID for this managed object. + + :return: The account_moid of this SyslogPolicy. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this SyslogPolicy. + The Account ID for this managed object. + + :param account_moid: The account_moid of this SyslogPolicy. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this SyslogPolicy. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this SyslogPolicy. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this SyslogPolicy. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this SyslogPolicy. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this SyslogPolicy. + The time when this managed object was created. + + :return: The create_time of this SyslogPolicy. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this SyslogPolicy. + The time when this managed object was created. + + :param create_time: The create_time of this SyslogPolicy. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this SyslogPolicy. + The time when this managed object was last modified. + + :return: The mod_time of this SyslogPolicy. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this SyslogPolicy. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this SyslogPolicy. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this SyslogPolicy. + A unique identifier of this Managed Object instance. + + :return: The moid of this SyslogPolicy. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SyslogPolicy. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this SyslogPolicy. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SyslogPolicy. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this SyslogPolicy. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SyslogPolicy. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this SyslogPolicy. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this SyslogPolicy. + An array of owners which represent effective ownership of this object. + + :return: The owners of this SyslogPolicy. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this SyslogPolicy. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this SyslogPolicy. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this SyslogPolicy. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this SyslogPolicy. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this SyslogPolicy. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this SyslogPolicy. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this SyslogPolicy. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this SyslogPolicy. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this SyslogPolicy. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def description(self): + """ + Gets the description of this SyslogPolicy. + Description of the policy. + + :return: The description of this SyslogPolicy. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """ + Sets the description of this SyslogPolicy. + Description of the policy. + + :param description: The description of this SyslogPolicy. + :type: str + """ + + self._description = description + + @property + def name(self): + """ + Gets the name of this SyslogPolicy. + Name of the policy. + + :return: The name of this SyslogPolicy. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this SyslogPolicy. + Name of the policy. + + :param name: The name of this SyslogPolicy. + :type: str + """ + + self._name = name + + @property + def local_clients(self): + """ + Gets the local_clients of this SyslogPolicy. + Set of local logging clients on the endpoint + + :return: The local_clients of this SyslogPolicy. + :rtype: list[SyslogLocalClientBase] + """ + return self._local_clients + + @local_clients.setter + def local_clients(self, local_clients): + """ + Sets the local_clients of this SyslogPolicy. + Set of local logging clients on the endpoint + + :param local_clients: The local_clients of this SyslogPolicy. + :type: list[SyslogLocalClientBase] + """ + + self._local_clients = local_clients + + @property + def organization(self): + """ + Gets the organization of this SyslogPolicy. + Organization + + :return: The organization of this SyslogPolicy. + :rtype: IamAccountRef + """ + return self._organization + + @organization.setter + def organization(self, organization): + """ + Sets the organization of this SyslogPolicy. + Organization + + :param organization: The organization of this SyslogPolicy. + :type: IamAccountRef + """ + + self._organization = organization + + @property + def profiles(self): + """ + Gets the profiles of this SyslogPolicy. + Relationship to the profile object + + :return: The profiles of this SyslogPolicy. + :rtype: list[PolicyAbstractConfigProfileRef] + """ + return self._profiles + + @profiles.setter + def profiles(self, profiles): + """ + Sets the profiles of this SyslogPolicy. + Relationship to the profile object + + :param profiles: The profiles of this SyslogPolicy. + :type: list[PolicyAbstractConfigProfileRef] + """ + + self._profiles = profiles + + @property + def remote_clients(self): + """ + Gets the remote_clients of this SyslogPolicy. + Set of remote logging clients on the endpoint + + :return: The remote_clients of this SyslogPolicy. + :rtype: list[SyslogRemoteClientBase] + """ + return self._remote_clients + + @remote_clients.setter + def remote_clients(self, remote_clients): + """ + Sets the remote_clients of this SyslogPolicy. + Set of remote logging clients on the endpoint + + :param remote_clients: The remote_clients of this SyslogPolicy. + :type: list[SyslogRemoteClientBase] + """ + + self._remote_clients = remote_clients + + 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, SyslogPolicy): + 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/syslog_policy_list.py b/intersight/models/syslog_policy_list.py new file mode 100644 index 00000000..5db5ab99 --- /dev/null +++ b/intersight/models/syslog_policy_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogPolicyList(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[SyslogPolicy]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + SyslogPolicyList - 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 SyslogPolicyList. + The number of syslogPolicies matching your request in total for all pages. + + :return: The count of this SyslogPolicyList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this SyslogPolicyList. + The number of syslogPolicies matching your request in total for all pages. + + :param count: The count of this SyslogPolicyList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this SyslogPolicyList. + The array of syslogPolicies matching your request. + + :return: The results of this SyslogPolicyList. + :rtype: list[SyslogPolicy] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this SyslogPolicyList. + The array of syslogPolicies matching your request. + + :param results: The results of this SyslogPolicyList. + :type: list[SyslogPolicy] + """ + + 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, SyslogPolicyList): + 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/syslog_policy_ref.py b/intersight/models/syslog_policy_ref.py new file mode 100644 index 00000000..245a07cd --- /dev/null +++ b/intersight/models/syslog_policy_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogPolicyRef(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): + """ + SyslogPolicyRef - 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 SyslogPolicyRef. + + :return: The moid of this SyslogPolicyRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SyslogPolicyRef. + + :param moid: The moid of this SyslogPolicyRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SyslogPolicyRef. + + :return: The object_type of this SyslogPolicyRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SyslogPolicyRef. + + :param object_type: The object_type of this SyslogPolicyRef. + :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, SyslogPolicyRef): + 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/syslog_remote_client_base.py b/intersight/models/syslog_remote_client_base.py new file mode 100644 index 00000000..42e5817b --- /dev/null +++ b/intersight/models/syslog_remote_client_base.py @@ -0,0 +1,249 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogRemoteClientBase(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 = { + 'enabled': 'bool', + 'hostname': 'str', + 'min_severity': 'str', + 'port': 'int', + 'protocol': 'str' + } + + attribute_map = { + 'enabled': 'Enabled', + 'hostname': 'Hostname', + 'min_severity': 'MinSeverity', + 'port': 'Port', + 'protocol': 'Protocol' + } + + def __init__(self, enabled=None, hostname=None, min_severity='warning', port=None, protocol='udp'): + """ + SyslogRemoteClientBase - a model defined in Swagger + """ + + self._enabled = None + self._hostname = None + self._min_severity = None + self._port = None + self._protocol = None + + if enabled is not None: + self.enabled = enabled + if hostname is not None: + self.hostname = hostname + if min_severity is not None: + self.min_severity = min_severity + if port is not None: + self.port = port + if protocol is not None: + self.protocol = protocol + + @property + def enabled(self): + """ + Gets the enabled of this SyslogRemoteClientBase. + Enables/disables remote logging for the endpoint If enabled, log messages will be sent to the syslog server mentioned in the Hostname/IP Address field. + + :return: The enabled of this SyslogRemoteClientBase. + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """ + Sets the enabled of this SyslogRemoteClientBase. + Enables/disables remote logging for the endpoint If enabled, log messages will be sent to the syslog server mentioned in the Hostname/IP Address field. + + :param enabled: The enabled of this SyslogRemoteClientBase. + :type: bool + """ + + self._enabled = enabled + + @property + def hostname(self): + """ + Gets the hostname of this SyslogRemoteClientBase. + Hostname or IP Address of the syslog server where log should be stored + + :return: The hostname of this SyslogRemoteClientBase. + :rtype: str + """ + return self._hostname + + @hostname.setter + def hostname(self, hostname): + """ + Sets the hostname of this SyslogRemoteClientBase. + Hostname or IP Address of the syslog server where log should be stored + + :param hostname: The hostname of this SyslogRemoteClientBase. + :type: str + """ + + self._hostname = hostname + + @property + def min_severity(self): + """ + Gets the min_severity of this SyslogRemoteClientBase. + Lowest level of messages to be included in the remote log + + :return: The min_severity of this SyslogRemoteClientBase. + :rtype: str + """ + return self._min_severity + + @min_severity.setter + def min_severity(self, min_severity): + """ + Sets the min_severity of this SyslogRemoteClientBase. + Lowest level of messages to be included in the remote log + + :param min_severity: The min_severity of this SyslogRemoteClientBase. + :type: str + """ + allowed_values = ["warning", "emergency", "alert", "critical", "error", "notice", "informational", "debug"] + if min_severity not in allowed_values: + raise ValueError( + "Invalid value for `min_severity` ({0}), must be one of {1}" + .format(min_severity, allowed_values) + ) + + self._min_severity = min_severity + + @property + def port(self): + """ + Gets the port of this SyslogRemoteClientBase. + Port number used for logging on syslog server + + :return: The port of this SyslogRemoteClientBase. + :rtype: int + """ + return self._port + + @port.setter + def port(self, port): + """ + Sets the port of this SyslogRemoteClientBase. + Port number used for logging on syslog server + + :param port: The port of this SyslogRemoteClientBase. + :type: int + """ + + self._port = port + + @property + def protocol(self): + """ + Gets the protocol of this SyslogRemoteClientBase. + Transport layer protocol for transmission of log messages to syslog server + + :return: The protocol of this SyslogRemoteClientBase. + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """ + Sets the protocol of this SyslogRemoteClientBase. + Transport layer protocol for transmission of log messages to syslog server + + :param protocol: The protocol of this SyslogRemoteClientBase. + :type: str + """ + allowed_values = ["udp", "tcp"] + if protocol not in allowed_values: + raise ValueError( + "Invalid value for `protocol` ({0}), must be one of {1}" + .format(protocol, allowed_values) + ) + + self._protocol = protocol + + 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, SyslogRemoteClientBase): + 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/syslog_remote_client_base_ref.py b/intersight/models/syslog_remote_client_base_ref.py new file mode 100644 index 00000000..a422c6e3 --- /dev/null +++ b/intersight/models/syslog_remote_client_base_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogRemoteClientBaseRef(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): + """ + SyslogRemoteClientBaseRef - 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 SyslogRemoteClientBaseRef. + + :return: The moid of this SyslogRemoteClientBaseRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SyslogRemoteClientBaseRef. + + :param moid: The moid of this SyslogRemoteClientBaseRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SyslogRemoteClientBaseRef. + + :return: The object_type of this SyslogRemoteClientBaseRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SyslogRemoteClientBaseRef. + + :param object_type: The object_type of this SyslogRemoteClientBaseRef. + :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, SyslogRemoteClientBaseRef): + 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/syslog_remote_logging_client_ref.py b/intersight/models/syslog_remote_logging_client_ref.py new file mode 100644 index 00000000..0b77b39c --- /dev/null +++ b/intersight/models/syslog_remote_logging_client_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogRemoteLoggingClientRef(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): + """ + SyslogRemoteLoggingClientRef - 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 SyslogRemoteLoggingClientRef. + + :return: The moid of this SyslogRemoteLoggingClientRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SyslogRemoteLoggingClientRef. + + :param moid: The moid of this SyslogRemoteLoggingClientRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SyslogRemoteLoggingClientRef. + + :return: The object_type of this SyslogRemoteLoggingClientRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SyslogRemoteLoggingClientRef. + + :param object_type: The object_type of this SyslogRemoteLoggingClientRef. + :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, SyslogRemoteLoggingClientRef): + 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/syslog_validation_task_ref.py b/intersight/models/syslog_validation_task_ref.py new file mode 100644 index 00000000..196da8e2 --- /dev/null +++ b/intersight/models/syslog_validation_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SyslogValidationTaskRef(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): + """ + SyslogValidationTaskRef - 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 SyslogValidationTaskRef. + + :return: The moid of this SyslogValidationTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SyslogValidationTaskRef. + + :param moid: The moid of this SyslogValidationTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SyslogValidationTaskRef. + + :return: The object_type of this SyslogValidationTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SyslogValidationTaskRef. + + :param object_type: The object_type of this SyslogValidationTaskRef. + :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, SyslogValidationTaskRef): + 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/task_file_download_info.py b/intersight/models/task_file_download_info.py index 47998a2e..6c27c805 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.5-612 + OpenAPI spec version: 1.0.7-681 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 9f0ba912..7fb5ffbf 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..fca6ec0a --- /dev/null +++ b/intersight/models/task_input_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TaskInputTaskRef(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): + """ + TaskInputTaskRef - 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 TaskInputTaskRef. + + :return: The moid of this TaskInputTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TaskInputTaskRef. + + :param moid: The moid of this TaskInputTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TaskInputTaskRef. + + :return: The object_type of this TaskInputTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TaskInputTaskRef. + + :param object_type: The object_type of this TaskInputTaskRef. + :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, TaskInputTaskRef): + 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/task_ucs_task1_ref.py b/intersight/models/task_ucs_task1_ref.py index 44e2c9c2..16d99857 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.5-612 + OpenAPI spec version: 1.0.7-681 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 93c7cef8..0209167f 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.5-612 + OpenAPI spec version: 1.0.7-681 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 fd534f6e..aa5af645 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e2846062..e9f31b8d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5cf23530..93fe1c45 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.5-612 + OpenAPI spec version: 1.0.7-681 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 3fb8897f..352653c8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 506ba9ae..f5da6b3b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 6e7d4727..91877799 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5173723a..b3b04c15 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.5-612 + OpenAPI spec version: 1.0.7-681 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 89fe266e..d4b1fc7f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -44,6 +44,7 @@ class TaskWorkflowAction(object): 'action': 'str', 'input_params': 'str', 'is_dynamic': 'bool', + 'wait_on_duplicate': 'bool', 'workflow_context': 'str', 'workflow_file': 'TaskFileDownloadInfo' } @@ -62,11 +63,12 @@ class TaskWorkflowAction(object): 'action': 'Action', 'input_params': 'InputParams', 'is_dynamic': 'IsDynamic', + 'wait_on_duplicate': 'WaitOnDuplicate', 'workflow_context': 'WorkflowContext', '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, 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, 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 """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._action = None self._input_params = None self._is_dynamic = None + self._wait_on_duplicate = None self._workflow_context = None self._workflow_file = None @@ -113,6 +116,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.input_params = input_params if is_dynamic is not None: self.is_dynamic = is_dynamic + if wait_on_duplicate is not None: + self.wait_on_duplicate = wait_on_duplicate if workflow_context is not None: self.workflow_context = workflow_context if workflow_file is not None: @@ -421,6 +426,29 @@ def is_dynamic(self, is_dynamic): self._is_dynamic = is_dynamic + @property + def wait_on_duplicate(self): + """ + Gets the wait_on_duplicate of this TaskWorkflowAction. + if true, the workflow will wait for previous one to complete before starting a new one + + :return: The wait_on_duplicate of this TaskWorkflowAction. + :rtype: bool + """ + return self._wait_on_duplicate + + @wait_on_duplicate.setter + def wait_on_duplicate(self, wait_on_duplicate): + """ + Sets the wait_on_duplicate of this TaskWorkflowAction. + if true, the workflow will wait for previous one to complete before starting a new one + + :param wait_on_duplicate: The wait_on_duplicate of this TaskWorkflowAction. + :type: bool + """ + + self._wait_on_duplicate = wait_on_duplicate + @property def workflow_context(self): """ diff --git a/intersight/models/task_workflow_action_list.py b/intersight/models/task_workflow_action_list.py index 68ab2688..c6282854 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.5-612 + OpenAPI spec version: 1.0.7-681 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 c9435e83..0249ccfd 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/terminal_audit_log.py b/intersight/models/terminal_audit_log.py index f969a740..2eb7492e 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ class TerminalAuditLog(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', - 'device_registration': 'AssetDeviceRegistrationRef', + 'device_registration': 'AssetDeviceConnectionRef', 'end_time': 'datetime', 'start_time': 'datetime', 'user': 'IamUserRef' @@ -321,7 +321,7 @@ def device_registration(self): Gets the device_registration of this TerminalAuditLog. :return: The device_registration of this TerminalAuditLog. - :rtype: AssetDeviceRegistrationRef + :rtype: AssetDeviceConnectionRef """ return self._device_registration @@ -331,7 +331,7 @@ def device_registration(self, device_registration): Sets the device_registration of this TerminalAuditLog. :param device_registration: The device_registration of this TerminalAuditLog. - :type: AssetDeviceRegistrationRef + :type: AssetDeviceConnectionRef """ self._device_registration = device_registration diff --git a/intersight/models/terminal_audit_log_list.py b/intersight/models/terminal_audit_log_list.py index 47368e6e..da308466 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.5-612 + OpenAPI spec version: 1.0.7-681 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 07c6f875..48c0352d 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_administrator.py b/intersight/models/testcrypt_administrator.py new file mode 100644 index 00000000..2149badc --- /dev/null +++ b/intersight/models/testcrypt_administrator.py @@ -0,0 +1,401 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptAdministrator(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]', + 'account': 'IamAccountRef', + 'admin': 'TestcryptUser' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + '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): + """ + TestcryptAdministrator - 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._account = None + self._admin = 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 account is not None: + self.account = account + if admin is not None: + self.admin = admin + + @property + def account_moid(self): + """ + Gets the account_moid of this TestcryptAdministrator. + The Account ID for this managed object. + + :return: The account_moid of this TestcryptAdministrator. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this TestcryptAdministrator. + The Account ID for this managed object. + + :param account_moid: The account_moid of this TestcryptAdministrator. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this TestcryptAdministrator. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this TestcryptAdministrator. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this TestcryptAdministrator. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this TestcryptAdministrator. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this TestcryptAdministrator. + The time when this managed object was created. + + :return: The create_time of this TestcryptAdministrator. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this TestcryptAdministrator. + The time when this managed object was created. + + :param create_time: The create_time of this TestcryptAdministrator. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this TestcryptAdministrator. + The time when this managed object was last modified. + + :return: The mod_time of this TestcryptAdministrator. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this TestcryptAdministrator. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this TestcryptAdministrator. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this TestcryptAdministrator. + A unique identifier of this Managed Object instance. + + :return: The moid of this TestcryptAdministrator. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TestcryptAdministrator. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this TestcryptAdministrator. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TestcryptAdministrator. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this TestcryptAdministrator. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TestcryptAdministrator. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this TestcryptAdministrator. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this TestcryptAdministrator. + An array of owners which represent effective ownership of this object. + + :return: The owners of this TestcryptAdministrator. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this TestcryptAdministrator. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this TestcryptAdministrator. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this TestcryptAdministrator. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this TestcryptAdministrator. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this TestcryptAdministrator. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this TestcryptAdministrator. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this TestcryptAdministrator. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this TestcryptAdministrator. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this TestcryptAdministrator. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def account(self): + """ + Gets the account of this TestcryptAdministrator. + + :return: The account of this TestcryptAdministrator. + :rtype: IamAccountRef + """ + return self._account + + @account.setter + def account(self, account): + """ + Sets the account of this TestcryptAdministrator. + + :param account: The account of this TestcryptAdministrator. + :type: IamAccountRef + """ + + self._account = account + + @property + def admin(self): + """ + Gets the admin of this TestcryptAdministrator. + + :return: The admin of this TestcryptAdministrator. + :rtype: TestcryptUser + """ + return self._admin + + @admin.setter + def admin(self, admin): + """ + Sets the admin of this TestcryptAdministrator. + + :param admin: The admin of this TestcryptAdministrator. + :type: TestcryptUser + """ + + self._admin = admin + + 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, TestcryptAdministrator): + 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/testcrypt_administrator_list.py b/intersight/models/testcrypt_administrator_list.py new file mode 100644 index 00000000..e3db3de2 --- /dev/null +++ b/intersight/models/testcrypt_administrator_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptAdministratorList(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[TestcryptAdministrator]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + TestcryptAdministratorList - 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 TestcryptAdministratorList. + The number of testcryptAdministrators matching your request in total for all pages. + + :return: The count of this TestcryptAdministratorList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this TestcryptAdministratorList. + The number of testcryptAdministrators matching your request in total for all pages. + + :param count: The count of this TestcryptAdministratorList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this TestcryptAdministratorList. + The array of testcryptAdministrators matching your request. + + :return: The results of this TestcryptAdministratorList. + :rtype: list[TestcryptAdministrator] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this TestcryptAdministratorList. + The array of testcryptAdministrators matching your request. + + :param results: The results of this TestcryptAdministratorList. + :type: list[TestcryptAdministrator] + """ + + 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, TestcryptAdministratorList): + 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/testcrypt_administrator_ref.py b/intersight/models/testcrypt_administrator_ref.py new file mode 100644 index 00000000..91090050 --- /dev/null +++ b/intersight/models/testcrypt_administrator_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptAdministratorRef(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): + """ + TestcryptAdministratorRef - 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 TestcryptAdministratorRef. + + :return: The moid of this TestcryptAdministratorRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TestcryptAdministratorRef. + + :param moid: The moid of this TestcryptAdministratorRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TestcryptAdministratorRef. + + :return: The object_type of this TestcryptAdministratorRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TestcryptAdministratorRef. + + :param object_type: The object_type of this TestcryptAdministratorRef. + :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, TestcryptAdministratorRef): + 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/testcrypt_credential.py b/intersight/models/testcrypt_credential.py new file mode 100644 index 00000000..5c633c2a --- /dev/null +++ b/intersight/models/testcrypt_credential.py @@ -0,0 +1,453 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptCredential(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]', + 'account': 'IamAccountRef', + 'is_password_set': 'bool', + 'password': 'str', + 'username': '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', + '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): + """ + TestcryptCredential - 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._account = None + self._is_password_set = None + self._password = None + self._username = 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 account is not None: + self.account = account + if is_password_set is not None: + self.is_password_set = is_password_set + if password is not None: + self.password = password + if username is not None: + self.username = username + + @property + def account_moid(self): + """ + Gets the account_moid of this TestcryptCredential. + The Account ID for this managed object. + + :return: The account_moid of this TestcryptCredential. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this TestcryptCredential. + The Account ID for this managed object. + + :param account_moid: The account_moid of this TestcryptCredential. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this TestcryptCredential. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this TestcryptCredential. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this TestcryptCredential. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this TestcryptCredential. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this TestcryptCredential. + The time when this managed object was created. + + :return: The create_time of this TestcryptCredential. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this TestcryptCredential. + The time when this managed object was created. + + :param create_time: The create_time of this TestcryptCredential. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this TestcryptCredential. + The time when this managed object was last modified. + + :return: The mod_time of this TestcryptCredential. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this TestcryptCredential. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this TestcryptCredential. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this TestcryptCredential. + A unique identifier of this Managed Object instance. + + :return: The moid of this TestcryptCredential. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TestcryptCredential. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this TestcryptCredential. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TestcryptCredential. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this TestcryptCredential. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TestcryptCredential. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this TestcryptCredential. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this TestcryptCredential. + An array of owners which represent effective ownership of this object. + + :return: The owners of this TestcryptCredential. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this TestcryptCredential. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this TestcryptCredential. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this TestcryptCredential. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this TestcryptCredential. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this TestcryptCredential. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this TestcryptCredential. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this TestcryptCredential. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this TestcryptCredential. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this TestcryptCredential. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def account(self): + """ + Gets the account of this TestcryptCredential. + + :return: The account of this TestcryptCredential. + :rtype: IamAccountRef + """ + return self._account + + @account.setter + def account(self, account): + """ + Sets the account of this TestcryptCredential. + + :param account: The account of this TestcryptCredential. + :type: IamAccountRef + """ + + self._account = account + + @property + def is_password_set(self): + """ + Gets the is_password_set of this TestcryptCredential. + + :return: The is_password_set of this TestcryptCredential. + :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 TestcryptCredential. + + :param is_password_set: The is_password_set of this TestcryptCredential. + :type: bool + """ + + self._is_password_set = is_password_set + + @property + def password(self): + """ + Gets the password of this TestcryptCredential. + + :return: The password of this TestcryptCredential. + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """ + Sets the password of this TestcryptCredential. + + :param password: The password of this TestcryptCredential. + :type: str + """ + + self._password = password + + @property + def username(self): + """ + Gets the username of this TestcryptCredential. + + :return: The username of this TestcryptCredential. + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """ + Sets the username of this TestcryptCredential. + + :param username: The username of this TestcryptCredential. + :type: str + """ + + self._username = username + + 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, TestcryptCredential): + 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/testcrypt_credential_list.py b/intersight/models/testcrypt_credential_list.py new file mode 100644 index 00000000..4189b8a2 --- /dev/null +++ b/intersight/models/testcrypt_credential_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptCredentialList(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[TestcryptCredential]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + TestcryptCredentialList - 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 TestcryptCredentialList. + The number of testcryptCredentials matching your request in total for all pages. + + :return: The count of this TestcryptCredentialList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this TestcryptCredentialList. + The number of testcryptCredentials matching your request in total for all pages. + + :param count: The count of this TestcryptCredentialList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this TestcryptCredentialList. + The array of testcryptCredentials matching your request. + + :return: The results of this TestcryptCredentialList. + :rtype: list[TestcryptCredential] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this TestcryptCredentialList. + The array of testcryptCredentials matching your request. + + :param results: The results of this TestcryptCredentialList. + :type: list[TestcryptCredential] + """ + + 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, TestcryptCredentialList): + 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/testcrypt_credential_ref.py b/intersight/models/testcrypt_credential_ref.py new file mode 100644 index 00000000..003d6d3b --- /dev/null +++ b/intersight/models/testcrypt_credential_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptCredentialRef(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): + """ + TestcryptCredentialRef - 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 TestcryptCredentialRef. + + :return: The moid of this TestcryptCredentialRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TestcryptCredentialRef. + + :param moid: The moid of this TestcryptCredentialRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TestcryptCredentialRef. + + :return: The object_type of this TestcryptCredentialRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TestcryptCredentialRef. + + :param object_type: The object_type of this TestcryptCredentialRef. + :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, TestcryptCredentialRef): + 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/testcrypt_read_only_user.py b/intersight/models/testcrypt_read_only_user.py new file mode 100644 index 00000000..f508fdf0 --- /dev/null +++ b/intersight/models/testcrypt_read_only_user.py @@ -0,0 +1,401 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptReadOnlyUser(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]', + 'account': 'IamAccountRef', + 'rouser': 'list[TestcryptUser]' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + '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): + """ + TestcryptReadOnlyUser - 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._account = None + self._rouser = 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 account is not None: + self.account = account + if rouser is not None: + self.rouser = rouser + + @property + def account_moid(self): + """ + Gets the account_moid of this TestcryptReadOnlyUser. + The Account ID for this managed object. + + :return: The account_moid of this TestcryptReadOnlyUser. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this TestcryptReadOnlyUser. + The Account ID for this managed object. + + :param account_moid: The account_moid of this TestcryptReadOnlyUser. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this TestcryptReadOnlyUser. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this TestcryptReadOnlyUser. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this TestcryptReadOnlyUser. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this TestcryptReadOnlyUser. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this TestcryptReadOnlyUser. + The time when this managed object was created. + + :return: The create_time of this TestcryptReadOnlyUser. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this TestcryptReadOnlyUser. + The time when this managed object was created. + + :param create_time: The create_time of this TestcryptReadOnlyUser. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this TestcryptReadOnlyUser. + The time when this managed object was last modified. + + :return: The mod_time of this TestcryptReadOnlyUser. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this TestcryptReadOnlyUser. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this TestcryptReadOnlyUser. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this TestcryptReadOnlyUser. + A unique identifier of this Managed Object instance. + + :return: The moid of this TestcryptReadOnlyUser. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TestcryptReadOnlyUser. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this TestcryptReadOnlyUser. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TestcryptReadOnlyUser. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this TestcryptReadOnlyUser. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TestcryptReadOnlyUser. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this TestcryptReadOnlyUser. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this TestcryptReadOnlyUser. + An array of owners which represent effective ownership of this object. + + :return: The owners of this TestcryptReadOnlyUser. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this TestcryptReadOnlyUser. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this TestcryptReadOnlyUser. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this TestcryptReadOnlyUser. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this TestcryptReadOnlyUser. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this TestcryptReadOnlyUser. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this TestcryptReadOnlyUser. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this TestcryptReadOnlyUser. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this TestcryptReadOnlyUser. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this TestcryptReadOnlyUser. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def account(self): + """ + Gets the account of this TestcryptReadOnlyUser. + + :return: The account of this TestcryptReadOnlyUser. + :rtype: IamAccountRef + """ + return self._account + + @account.setter + def account(self, account): + """ + Sets the account of this TestcryptReadOnlyUser. + + :param account: The account of this TestcryptReadOnlyUser. + :type: IamAccountRef + """ + + self._account = account + + @property + def rouser(self): + """ + Gets the rouser of this TestcryptReadOnlyUser. + + :return: The rouser of this TestcryptReadOnlyUser. + :rtype: list[TestcryptUser] + """ + return self._rouser + + @rouser.setter + def rouser(self, rouser): + """ + Sets the rouser of this TestcryptReadOnlyUser. + + :param rouser: The rouser of this TestcryptReadOnlyUser. + :type: list[TestcryptUser] + """ + + self._rouser = rouser + + 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, TestcryptReadOnlyUser): + 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/testcrypt_read_only_user_list.py b/intersight/models/testcrypt_read_only_user_list.py new file mode 100644 index 00000000..5fcc9b2c --- /dev/null +++ b/intersight/models/testcrypt_read_only_user_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptReadOnlyUserList(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[TestcryptReadOnlyUser]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + TestcryptReadOnlyUserList - 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 TestcryptReadOnlyUserList. + The number of testcryptReadOnlyUsers matching your request in total for all pages. + + :return: The count of this TestcryptReadOnlyUserList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this TestcryptReadOnlyUserList. + The number of testcryptReadOnlyUsers matching your request in total for all pages. + + :param count: The count of this TestcryptReadOnlyUserList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this TestcryptReadOnlyUserList. + The array of testcryptReadOnlyUsers matching your request. + + :return: The results of this TestcryptReadOnlyUserList. + :rtype: list[TestcryptReadOnlyUser] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this TestcryptReadOnlyUserList. + The array of testcryptReadOnlyUsers matching your request. + + :param results: The results of this TestcryptReadOnlyUserList. + :type: list[TestcryptReadOnlyUser] + """ + + 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, TestcryptReadOnlyUserList): + 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/testcrypt_read_only_user_ref.py b/intersight/models/testcrypt_read_only_user_ref.py new file mode 100644 index 00000000..2208f58d --- /dev/null +++ b/intersight/models/testcrypt_read_only_user_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptReadOnlyUserRef(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): + """ + TestcryptReadOnlyUserRef - 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 TestcryptReadOnlyUserRef. + + :return: The moid of this TestcryptReadOnlyUserRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TestcryptReadOnlyUserRef. + + :param moid: The moid of this TestcryptReadOnlyUserRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TestcryptReadOnlyUserRef. + + :return: The object_type of this TestcryptReadOnlyUserRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TestcryptReadOnlyUserRef. + + :param object_type: The object_type of this TestcryptReadOnlyUserRef. + :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, TestcryptReadOnlyUserRef): + 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/testcrypt_shadow_credential.py b/intersight/models/testcrypt_shadow_credential.py new file mode 100644 index 00000000..2f0dbbaa --- /dev/null +++ b/intersight/models/testcrypt_shadow_credential.py @@ -0,0 +1,427 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptShadowCredential(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]', + 'account': 'IamAccountRef', + 'password': 'str', + 'username': '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', + '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): + """ + TestcryptShadowCredential - 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._account = None + self._password = None + self._username = 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 account is not None: + self.account = account + if password is not None: + self.password = password + if username is not None: + self.username = username + + @property + def account_moid(self): + """ + Gets the account_moid of this TestcryptShadowCredential. + The Account ID for this managed object. + + :return: The account_moid of this TestcryptShadowCredential. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this TestcryptShadowCredential. + The Account ID for this managed object. + + :param account_moid: The account_moid of this TestcryptShadowCredential. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this TestcryptShadowCredential. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this TestcryptShadowCredential. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this TestcryptShadowCredential. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this TestcryptShadowCredential. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this TestcryptShadowCredential. + The time when this managed object was created. + + :return: The create_time of this TestcryptShadowCredential. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this TestcryptShadowCredential. + The time when this managed object was created. + + :param create_time: The create_time of this TestcryptShadowCredential. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this TestcryptShadowCredential. + The time when this managed object was last modified. + + :return: The mod_time of this TestcryptShadowCredential. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this TestcryptShadowCredential. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this TestcryptShadowCredential. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this TestcryptShadowCredential. + A unique identifier of this Managed Object instance. + + :return: The moid of this TestcryptShadowCredential. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TestcryptShadowCredential. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this TestcryptShadowCredential. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TestcryptShadowCredential. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this TestcryptShadowCredential. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TestcryptShadowCredential. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this TestcryptShadowCredential. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this TestcryptShadowCredential. + An array of owners which represent effective ownership of this object. + + :return: The owners of this TestcryptShadowCredential. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this TestcryptShadowCredential. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this TestcryptShadowCredential. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this TestcryptShadowCredential. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this TestcryptShadowCredential. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this TestcryptShadowCredential. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this TestcryptShadowCredential. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this TestcryptShadowCredential. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this TestcryptShadowCredential. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this TestcryptShadowCredential. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def account(self): + """ + Gets the account of this TestcryptShadowCredential. + + :return: The account of this TestcryptShadowCredential. + :rtype: IamAccountRef + """ + return self._account + + @account.setter + def account(self, account): + """ + Sets the account of this TestcryptShadowCredential. + + :param account: The account of this TestcryptShadowCredential. + :type: IamAccountRef + """ + + self._account = account + + @property + def password(self): + """ + Gets the password of this TestcryptShadowCredential. + + :return: The password of this TestcryptShadowCredential. + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """ + Sets the password of this TestcryptShadowCredential. + + :param password: The password of this TestcryptShadowCredential. + :type: str + """ + + self._password = password + + @property + def username(self): + """ + Gets the username of this TestcryptShadowCredential. + + :return: The username of this TestcryptShadowCredential. + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """ + Sets the username of this TestcryptShadowCredential. + + :param username: The username of this TestcryptShadowCredential. + :type: str + """ + + self._username = username + + 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, TestcryptShadowCredential): + 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/testcrypt_shadow_credential_list.py b/intersight/models/testcrypt_shadow_credential_list.py new file mode 100644 index 00000000..fd4bb368 --- /dev/null +++ b/intersight/models/testcrypt_shadow_credential_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptShadowCredentialList(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[TestcryptShadowCredential]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + TestcryptShadowCredentialList - 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 TestcryptShadowCredentialList. + The number of testcryptShadowCredentials matching your request in total for all pages. + + :return: The count of this TestcryptShadowCredentialList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this TestcryptShadowCredentialList. + The number of testcryptShadowCredentials matching your request in total for all pages. + + :param count: The count of this TestcryptShadowCredentialList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this TestcryptShadowCredentialList. + The array of testcryptShadowCredentials matching your request. + + :return: The results of this TestcryptShadowCredentialList. + :rtype: list[TestcryptShadowCredential] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this TestcryptShadowCredentialList. + The array of testcryptShadowCredentials matching your request. + + :param results: The results of this TestcryptShadowCredentialList. + :type: list[TestcryptShadowCredential] + """ + + 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, TestcryptShadowCredentialList): + 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/testcrypt_shadow_credential_ref.py b/intersight/models/testcrypt_shadow_credential_ref.py new file mode 100644 index 00000000..b225c265 --- /dev/null +++ b/intersight/models/testcrypt_shadow_credential_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptShadowCredentialRef(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): + """ + TestcryptShadowCredentialRef - 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 TestcryptShadowCredentialRef. + + :return: The moid of this TestcryptShadowCredentialRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TestcryptShadowCredentialRef. + + :param moid: The moid of this TestcryptShadowCredentialRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TestcryptShadowCredentialRef. + + :return: The object_type of this TestcryptShadowCredentialRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TestcryptShadowCredentialRef. + + :param object_type: The object_type of this TestcryptShadowCredentialRef. + :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, TestcryptShadowCredentialRef): + 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/testcrypt_user.py b/intersight/models/testcrypt_user.py new file mode 100644 index 00000000..3647eec0 --- /dev/null +++ b/intersight/models/testcrypt_user.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptUser(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 = { + 'is_password_set': 'bool', + 'password': 'str', + 'username': 'str' + } + + attribute_map = { + 'is_password_set': 'IsPasswordSet', + 'password': 'Password', + 'username': 'Username' + } + + def __init__(self, is_password_set=None, password=None, username=None): + """ + TestcryptUser - a model defined in Swagger + """ + + self._is_password_set = None + self._password = None + self._username = None + + if is_password_set is not None: + self.is_password_set = is_password_set + if password is not None: + self.password = password + if username is not None: + self.username = username + + @property + def is_password_set(self): + """ + Gets the is_password_set of this TestcryptUser. + + :return: The is_password_set of this TestcryptUser. + :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 TestcryptUser. + + :param is_password_set: The is_password_set of this TestcryptUser. + :type: bool + """ + + self._is_password_set = is_password_set + + @property + def password(self): + """ + Gets the password of this TestcryptUser. + + :return: The password of this TestcryptUser. + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """ + Sets the password of this TestcryptUser. + + :param password: The password of this TestcryptUser. + :type: str + """ + + self._password = password + + @property + def username(self): + """ + Gets the username of this TestcryptUser. + + :return: The username of this TestcryptUser. + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """ + Sets the username of this TestcryptUser. + + :param username: The username of this TestcryptUser. + :type: str + """ + + self._username = username + + 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, TestcryptUser): + 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/testcrypt_user_ref.py b/intersight/models/testcrypt_user_ref.py new file mode 100644 index 00000000..6092ed8c --- /dev/null +++ b/intersight/models/testcrypt_user_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TestcryptUserRef(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): + """ + TestcryptUserRef - 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 TestcryptUserRef. + + :return: The moid of this TestcryptUserRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TestcryptUserRef. + + :param moid: The moid of this TestcryptUserRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TestcryptUserRef. + + :return: The object_type of this TestcryptUserRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TestcryptUserRef. + + :param object_type: The object_type of this TestcryptUserRef. + :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, TestcryptUserRef): + 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/top_system.py b/intersight/models/top_system.py index 5914721d..afb6ce08 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -51,7 +51,8 @@ class TopSystem(object): 'mode': 'str', 'name': 'str', 'network_elements': 'list[NetworkElementRef]', - 'registered_device': 'AssetDeviceRegistrationRef' + 'registered_device': 'AssetDeviceRegistrationRef', + 'time_zone': 'str' } attribute_map = { @@ -75,10 +76,11 @@ class TopSystem(object): 'mode': 'Mode', 'name': 'Name', 'network_elements': 'NetworkElements', - 'registered_device': 'RegisteredDevice' + 'registered_device': 'RegisteredDevice', + '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): + def __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): """ TopSystem - a model defined in Swagger """ @@ -104,6 +106,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._name = None self._network_elements = None self._registered_device = None + self._time_zone = None if account_moid is not None: self.account_moid = account_moid @@ -147,6 +150,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.network_elements = network_elements if registered_device is not None: self.registered_device = registered_device + if time_zone is not None: + self.time_zone = time_zone @property def account_moid(self): @@ -607,6 +612,29 @@ def registered_device(self, registered_device): self._registered_device = registered_device + @property + def time_zone(self): + """ + Gets the time_zone of this TopSystem. + The operational timezone of the system, empty indicates no timezone has been set specifically. + + :return: The time_zone of this TopSystem. + :rtype: str + """ + return self._time_zone + + @time_zone.setter + def time_zone(self, time_zone): + """ + Sets the time_zone of this TopSystem. + The operational timezone of the system, empty indicates no timezone has been set specifically. + + :param time_zone: The time_zone of this TopSystem. + :type: str + """ + + self._time_zone = time_zone + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/top_system_list.py b/intersight/models/top_system_list.py index 1bae81b8..f4284287 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.5-612 + OpenAPI spec version: 1.0.7-681 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 5a8e41e0..f8f33ad7 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ucsdconnector_inventory_message_ref.py b/intersight/models/ucsdconnector_inventory_message_ref.py index f68ddc6e..98be7269 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/views_view.py b/intersight/models/views_view.py index fc5cf514..1262cfba 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/views_view_ref.py b/intersight/models/views_view_ref.py index 3ad8d5b5..b5e3aac4 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.5-612 + OpenAPI spec version: 1.0.7-681 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 04daa528..d9cb8a7d 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a88e724c..3d23ce66 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.5-612 + OpenAPI spec version: 1.0.7-681 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 e2853a7c..cc76390c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 1bbbd732..cb435b6f 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/vmedia_policy_list.py b/intersight/models/vmedia_policy_list.py index 0fafc144..fbea7243 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.5-612 + OpenAPI spec version: 1.0.7-681 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 72129aec..c91a33b8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 715e4321..467127dc 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.5-612 + OpenAPI spec version: 1.0.7-681 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 b8eaeb53..b1438ee1 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,6 @@ class WorkflowBuildTaskMeta(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', - 'account': 'IamAccountRef', 'name': 'str', 'src': 'str', 'task_list': 'object', @@ -58,7 +57,6 @@ class WorkflowBuildTaskMeta(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', - 'account': 'Account', 'name': 'Name', 'src': 'Src', 'task_list': 'TaskList', @@ -66,7 +64,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, account=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, name=None, src=None, task_list=None, task_type=None, workflow_type=None): """ WorkflowBuildTaskMeta - a model defined in Swagger """ @@ -80,7 +78,6 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None - self._account = None self._name = None self._src = None self._task_list = None @@ -105,8 +102,6 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags - if account is not None: - self.account = account if name is not None: self.name = name if src is not None: @@ -325,27 +320,6 @@ def tags(self, tags): self._tags = tags - @property - def account(self): - """ - Gets the account of this WorkflowBuildTaskMeta. - - :return: The account of this WorkflowBuildTaskMeta. - :rtype: IamAccountRef - """ - return self._account - - @account.setter - def account(self, account): - """ - Sets the account of this WorkflowBuildTaskMeta. - - :param account: The account of this WorkflowBuildTaskMeta. - :type: IamAccountRef - """ - - self._account = account - @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 d551c6e3..1a1a2fa8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..ddedba13 --- /dev/null +++ b/intersight/models/workflow_build_task_meta_owner.py @@ -0,0 +1,401 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowBuildTaskMetaOwner(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]', + 'service': 'str', + 'workflow_types': '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', + '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): + """ + WorkflowBuildTaskMetaOwner - 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._service = None + self._workflow_types = 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 service is not None: + self.service = service + if workflow_types is not None: + self.workflow_types = workflow_types + + @property + def account_moid(self): + """ + Gets the account_moid of this WorkflowBuildTaskMetaOwner. + The Account ID for this managed object. + + :return: The account_moid of this WorkflowBuildTaskMetaOwner. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this WorkflowBuildTaskMetaOwner. + The Account ID for this managed object. + + :param account_moid: The account_moid of this WorkflowBuildTaskMetaOwner. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this WorkflowBuildTaskMetaOwner. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this WorkflowBuildTaskMetaOwner. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this WorkflowBuildTaskMetaOwner. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this WorkflowBuildTaskMetaOwner. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this WorkflowBuildTaskMetaOwner. + The time when this managed object was created. + + :return: The create_time of this WorkflowBuildTaskMetaOwner. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this WorkflowBuildTaskMetaOwner. + The time when this managed object was created. + + :param create_time: The create_time of this WorkflowBuildTaskMetaOwner. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this WorkflowBuildTaskMetaOwner. + The time when this managed object was last modified. + + :return: The mod_time of this WorkflowBuildTaskMetaOwner. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this WorkflowBuildTaskMetaOwner. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this WorkflowBuildTaskMetaOwner. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this WorkflowBuildTaskMetaOwner. + A unique identifier of this Managed Object instance. + + :return: The moid of this WorkflowBuildTaskMetaOwner. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this WorkflowBuildTaskMetaOwner. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this WorkflowBuildTaskMetaOwner. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this WorkflowBuildTaskMetaOwner. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this WorkflowBuildTaskMetaOwner. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this WorkflowBuildTaskMetaOwner. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this WorkflowBuildTaskMetaOwner. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this WorkflowBuildTaskMetaOwner. + An array of owners which represent effective ownership of this object. + + :return: The owners of this WorkflowBuildTaskMetaOwner. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this WorkflowBuildTaskMetaOwner. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this WorkflowBuildTaskMetaOwner. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this WorkflowBuildTaskMetaOwner. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this WorkflowBuildTaskMetaOwner. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this WorkflowBuildTaskMetaOwner. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this WorkflowBuildTaskMetaOwner. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this WorkflowBuildTaskMetaOwner. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this WorkflowBuildTaskMetaOwner. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this WorkflowBuildTaskMetaOwner. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def service(self): + """ + Gets the service of this WorkflowBuildTaskMetaOwner. + + :return: The service of this WorkflowBuildTaskMetaOwner. + :rtype: str + """ + return self._service + + @service.setter + def service(self, service): + """ + Sets the service of this WorkflowBuildTaskMetaOwner. + + :param service: The service of this WorkflowBuildTaskMetaOwner. + :type: str + """ + + self._service = service + + @property + def workflow_types(self): + """ + Gets the workflow_types of this WorkflowBuildTaskMetaOwner. + + :return: The workflow_types of this WorkflowBuildTaskMetaOwner. + :rtype: list[str] + """ + return self._workflow_types + + @workflow_types.setter + def workflow_types(self, workflow_types): + """ + Sets the workflow_types of this WorkflowBuildTaskMetaOwner. + + :param workflow_types: The workflow_types of this WorkflowBuildTaskMetaOwner. + :type: list[str] + """ + + self._workflow_types = workflow_types + + 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, WorkflowBuildTaskMetaOwner): + 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/workflow_build_task_meta_owner_list.py b/intersight/models/workflow_build_task_meta_owner_list.py new file mode 100644 index 00000000..e7fe9ce1 --- /dev/null +++ b/intersight/models/workflow_build_task_meta_owner_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowBuildTaskMetaOwnerList(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[WorkflowBuildTaskMetaOwner]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + WorkflowBuildTaskMetaOwnerList - 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 WorkflowBuildTaskMetaOwnerList. + The number of workflowBuildTaskMetaOwners matching your request in total for all pages. + + :return: The count of this WorkflowBuildTaskMetaOwnerList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this WorkflowBuildTaskMetaOwnerList. + The number of workflowBuildTaskMetaOwners matching your request in total for all pages. + + :param count: The count of this WorkflowBuildTaskMetaOwnerList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this WorkflowBuildTaskMetaOwnerList. + The array of workflowBuildTaskMetaOwners matching your request. + + :return: The results of this WorkflowBuildTaskMetaOwnerList. + :rtype: list[WorkflowBuildTaskMetaOwner] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this WorkflowBuildTaskMetaOwnerList. + The array of workflowBuildTaskMetaOwners matching your request. + + :param results: The results of this WorkflowBuildTaskMetaOwnerList. + :type: list[WorkflowBuildTaskMetaOwner] + """ + + 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, WorkflowBuildTaskMetaOwnerList): + 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/workflow_build_task_meta_owner_ref.py b/intersight/models/workflow_build_task_meta_owner_ref.py new file mode 100644 index 00000000..07788206 --- /dev/null +++ b/intersight/models/workflow_build_task_meta_owner_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowBuildTaskMetaOwnerRef(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): + """ + WorkflowBuildTaskMetaOwnerRef - 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 WorkflowBuildTaskMetaOwnerRef. + + :return: The moid of this WorkflowBuildTaskMetaOwnerRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this WorkflowBuildTaskMetaOwnerRef. + + :param moid: The moid of this WorkflowBuildTaskMetaOwnerRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this WorkflowBuildTaskMetaOwnerRef. + + :return: The object_type of this WorkflowBuildTaskMetaOwnerRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this WorkflowBuildTaskMetaOwnerRef. + + :param object_type: The object_type of this WorkflowBuildTaskMetaOwnerRef. + :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, WorkflowBuildTaskMetaOwnerRef): + 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/workflow_build_task_meta_ref.py b/intersight/models/workflow_build_task_meta_ref.py index 2583fb89..7a980bc8 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.5-612 + OpenAPI spec version: 1.0.7-681 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 new file mode 100644 index 00000000..042a2557 --- /dev/null +++ b/intersight/models/workflow_dynamic_workflow_action_task_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowDynamicWorkflowActionTaskList(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 = { + 'action': 'str', + 'tasks': 'object' + } + + attribute_map = { + 'action': 'Action', + 'tasks': 'Tasks' + } + + def __init__(self, action=None, tasks=None): + """ + WorkflowDynamicWorkflowActionTaskList - a model defined in Swagger + """ + + self._action = None + self._tasks = None + + if action is not None: + self.action = action + if tasks is not None: + self.tasks = tasks + + @property + def action(self): + """ + Gets the action of this WorkflowDynamicWorkflowActionTaskList. + The action of the Dynamic Workflow + + :return: The action of this WorkflowDynamicWorkflowActionTaskList. + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """ + Sets the action of this WorkflowDynamicWorkflowActionTaskList. + The action of the Dynamic Workflow + + :param action: The action of this WorkflowDynamicWorkflowActionTaskList. + :type: str + """ + + self._action = action + + @property + def tasks(self): + """ + Gets the tasks of this WorkflowDynamicWorkflowActionTaskList. + The task list that has precedences as well. + + :return: The tasks of this WorkflowDynamicWorkflowActionTaskList. + :rtype: object + """ + return self._tasks + + @tasks.setter + def tasks(self, tasks): + """ + Sets the tasks of this WorkflowDynamicWorkflowActionTaskList. + The task list that has precedences as well. + + :param tasks: The tasks of this WorkflowDynamicWorkflowActionTaskList. + :type: object + """ + + self._tasks = tasks + + 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, WorkflowDynamicWorkflowActionTaskList): + 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/workflow_dynamic_workflow_action_task_list_ref.py b/intersight/models/workflow_dynamic_workflow_action_task_list_ref.py new file mode 100644 index 00000000..18c8e43f --- /dev/null +++ b/intersight/models/workflow_dynamic_workflow_action_task_list_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowDynamicWorkflowActionTaskListRef(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): + """ + WorkflowDynamicWorkflowActionTaskListRef - 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 WorkflowDynamicWorkflowActionTaskListRef. + + :return: The moid of this WorkflowDynamicWorkflowActionTaskListRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this WorkflowDynamicWorkflowActionTaskListRef. + + :param moid: The moid of this WorkflowDynamicWorkflowActionTaskListRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this WorkflowDynamicWorkflowActionTaskListRef. + + :return: The object_type of this WorkflowDynamicWorkflowActionTaskListRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this WorkflowDynamicWorkflowActionTaskListRef. + + :param object_type: The object_type of this WorkflowDynamicWorkflowActionTaskListRef. + :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, WorkflowDynamicWorkflowActionTaskListRef): + 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/workflow_input_definition_ref.py b/intersight/models/workflow_input_definition_ref.py new file mode 100644 index 00000000..70b9477f --- /dev/null +++ b/intersight/models/workflow_input_definition_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowInputDefinitionRef(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): + """ + WorkflowInputDefinitionRef - 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 WorkflowInputDefinitionRef. + + :return: The moid of this WorkflowInputDefinitionRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this WorkflowInputDefinitionRef. + + :param moid: The moid of this WorkflowInputDefinitionRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this WorkflowInputDefinitionRef. + + :return: The object_type of this WorkflowInputDefinitionRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this WorkflowInputDefinitionRef. + + :param object_type: The object_type of this WorkflowInputDefinitionRef. + :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, WorkflowInputDefinitionRef): + 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/workflow_input_parameter_ref.py b/intersight/models/workflow_input_parameter_ref.py new file mode 100644 index 00000000..5ea4b878 --- /dev/null +++ b/intersight/models/workflow_input_parameter_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowInputParameterRef(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): + """ + WorkflowInputParameterRef - 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 WorkflowInputParameterRef. + + :return: The moid of this WorkflowInputParameterRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this WorkflowInputParameterRef. + + :param moid: The moid of this WorkflowInputParameterRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this WorkflowInputParameterRef. + + :return: The object_type of this WorkflowInputParameterRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this WorkflowInputParameterRef. + + :param object_type: The object_type of this WorkflowInputParameterRef. + :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, WorkflowInputParameterRef): + 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/workflow_pending_dynamic_workflow_info.py b/intersight/models/workflow_pending_dynamic_workflow_info.py new file mode 100644 index 00000000..49c5d16a --- /dev/null +++ b/intersight/models/workflow_pending_dynamic_workflow_info.py @@ -0,0 +1,663 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowPendingDynamicWorkflowInfo(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]', + 'account': 'IamAccountRef', + 'input': 'object', + 'name': 'str', + 'pending_services': 'list[str]', + 'src': 'str', + 'status': 'str', + 'wait_on_duplicate': 'bool', + 'workflow_action_task_lists': 'list[WorkflowDynamicWorkflowActionTaskList]', + 'workflow_ctx': 'object', + 'workflow_key': 'str', + 'workflow_meta': 'object' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'account': 'Account', + 'input': 'Input', + 'name': 'Name', + 'pending_services': 'PendingServices', + 'src': 'Src', + 'status': 'Status', + 'wait_on_duplicate': 'WaitOnDuplicate', + 'workflow_action_task_lists': 'WorkflowActionTaskLists', + 'workflow_ctx': 'WorkflowCtx', + '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): + """ + WorkflowPendingDynamicWorkflowInfo - 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._account = None + self._input = None + self._name = None + self._pending_services = None + self._src = None + self._status = None + self._wait_on_duplicate = None + self._workflow_action_task_lists = None + self._workflow_ctx = None + self._workflow_key = None + self._workflow_meta = 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 account is not None: + self.account = account + if input is not None: + self.input = input + if name is not None: + self.name = name + if pending_services is not None: + self.pending_services = pending_services + if src is not None: + self.src = src + if status is not None: + self.status = status + if wait_on_duplicate is not None: + self.wait_on_duplicate = wait_on_duplicate + if workflow_action_task_lists is not None: + self.workflow_action_task_lists = workflow_action_task_lists + if workflow_ctx is not None: + self.workflow_ctx = workflow_ctx + if workflow_key is not None: + self.workflow_key = workflow_key + if workflow_meta is not None: + self.workflow_meta = workflow_meta + + @property + def account_moid(self): + """ + Gets the account_moid of this WorkflowPendingDynamicWorkflowInfo. + The Account ID for this managed object. + + :return: The account_moid of this WorkflowPendingDynamicWorkflowInfo. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this WorkflowPendingDynamicWorkflowInfo. + The Account ID for this managed object. + + :param account_moid: The account_moid of this WorkflowPendingDynamicWorkflowInfo. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this WorkflowPendingDynamicWorkflowInfo. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this WorkflowPendingDynamicWorkflowInfo. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this WorkflowPendingDynamicWorkflowInfo. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this WorkflowPendingDynamicWorkflowInfo. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this WorkflowPendingDynamicWorkflowInfo. + The time when this managed object was created. + + :return: The create_time of this WorkflowPendingDynamicWorkflowInfo. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this WorkflowPendingDynamicWorkflowInfo. + The time when this managed object was created. + + :param create_time: The create_time of this WorkflowPendingDynamicWorkflowInfo. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this WorkflowPendingDynamicWorkflowInfo. + The time when this managed object was last modified. + + :return: The mod_time of this WorkflowPendingDynamicWorkflowInfo. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this WorkflowPendingDynamicWorkflowInfo. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this WorkflowPendingDynamicWorkflowInfo. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this WorkflowPendingDynamicWorkflowInfo. + A unique identifier of this Managed Object instance. + + :return: The moid of this WorkflowPendingDynamicWorkflowInfo. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this WorkflowPendingDynamicWorkflowInfo. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this WorkflowPendingDynamicWorkflowInfo. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this WorkflowPendingDynamicWorkflowInfo. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this WorkflowPendingDynamicWorkflowInfo. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this WorkflowPendingDynamicWorkflowInfo. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this WorkflowPendingDynamicWorkflowInfo. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this WorkflowPendingDynamicWorkflowInfo. + An array of owners which represent effective ownership of this object. + + :return: The owners of this WorkflowPendingDynamicWorkflowInfo. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this WorkflowPendingDynamicWorkflowInfo. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this WorkflowPendingDynamicWorkflowInfo. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this WorkflowPendingDynamicWorkflowInfo. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this WorkflowPendingDynamicWorkflowInfo. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this WorkflowPendingDynamicWorkflowInfo. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this WorkflowPendingDynamicWorkflowInfo. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this WorkflowPendingDynamicWorkflowInfo. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this WorkflowPendingDynamicWorkflowInfo. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + 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. + + :param tags: The tags of this WorkflowPendingDynamicWorkflowInfo. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def account(self): + """ + Gets the account of this WorkflowPendingDynamicWorkflowInfo. + An account owns the workflow instance + + :return: The account of this WorkflowPendingDynamicWorkflowInfo. + :rtype: IamAccountRef + """ + return self._account + + @account.setter + def account(self, account): + """ + Sets the account of this WorkflowPendingDynamicWorkflowInfo. + An account owns the workflow instance + + :param account: The account of this WorkflowPendingDynamicWorkflowInfo. + :type: IamAccountRef + """ + + self._account = account + + @property + def input(self): + """ + Gets the input of this WorkflowPendingDynamicWorkflowInfo. + The input of the workflow + + :return: The input of this WorkflowPendingDynamicWorkflowInfo. + :rtype: object + """ + return self._input + + @input.setter + def input(self, input): + """ + Sets the input of this WorkflowPendingDynamicWorkflowInfo. + The input of the workflow + + :param input: The input of this WorkflowPendingDynamicWorkflowInfo. + :type: object + """ + + self._input = input + + @property + def name(self): + """ + Gets the name of this WorkflowPendingDynamicWorkflowInfo. + A name of the workflow + + :return: The name of this WorkflowPendingDynamicWorkflowInfo. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this WorkflowPendingDynamicWorkflowInfo. + A name of the workflow + + :param name: The name of this WorkflowPendingDynamicWorkflowInfo. + :type: str + """ + + self._name = name + + @property + def pending_services(self): + """ + Gets the pending_services of this WorkflowPendingDynamicWorkflowInfo. + The pending services the dynamic workflow is waiting for to return the task list + + :return: The pending_services of this WorkflowPendingDynamicWorkflowInfo. + :rtype: list[str] + """ + return self._pending_services + + @pending_services.setter + def pending_services(self, pending_services): + """ + Sets the pending_services of this WorkflowPendingDynamicWorkflowInfo. + The pending services the dynamic workflow is waiting for to return the task list + + :param pending_services: The pending_services of this WorkflowPendingDynamicWorkflowInfo. + :type: list[str] + """ + + self._pending_services = pending_services + + @property + def src(self): + """ + Gets the src of this WorkflowPendingDynamicWorkflowInfo. + The src is workflow owner service + + :return: The src of this WorkflowPendingDynamicWorkflowInfo. + :rtype: str + """ + return self._src + + @src.setter + def src(self, src): + """ + Sets the src of this WorkflowPendingDynamicWorkflowInfo. + The src is workflow owner service + + :param src: The src of this WorkflowPendingDynamicWorkflowInfo. + :type: str + """ + + self._src = src + + @property + def status(self): + """ + Gets the status of this WorkflowPendingDynamicWorkflowInfo. + The current status of the PendingDynamicWorkflowInfo. + + :return: The status of this WorkflowPendingDynamicWorkflowInfo. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """ + Sets the status of this WorkflowPendingDynamicWorkflowInfo. + The current status of the PendingDynamicWorkflowInfo. + + :param status: The status of this WorkflowPendingDynamicWorkflowInfo. + :type: str + """ + allowed_values = ["GatheringTasks", "Waiting"] + 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 wait_on_duplicate(self): + """ + Gets the wait_on_duplicate of this WorkflowPendingDynamicWorkflowInfo. + This parameter decides if workflows will wait for a duplicate to finish before starting a new one + + :return: The wait_on_duplicate of this WorkflowPendingDynamicWorkflowInfo. + :rtype: bool + """ + return self._wait_on_duplicate + + @wait_on_duplicate.setter + def wait_on_duplicate(self, wait_on_duplicate): + """ + Sets the wait_on_duplicate of this WorkflowPendingDynamicWorkflowInfo. + This parameter decides if workflows will wait for a duplicate to finish before starting a new one + + :param wait_on_duplicate: The wait_on_duplicate of this WorkflowPendingDynamicWorkflowInfo. + :type: bool + """ + + self._wait_on_duplicate = wait_on_duplicate + + @property + def workflow_action_task_lists(self): + """ + Gets the workflow_action_task_lists of this WorkflowPendingDynamicWorkflowInfo. + The task lists returned by services for building dynamic workflows. There will be an entry for every different workflow action. + + :return: The workflow_action_task_lists of this WorkflowPendingDynamicWorkflowInfo. + :rtype: list[WorkflowDynamicWorkflowActionTaskList] + """ + return self._workflow_action_task_lists + + @workflow_action_task_lists.setter + def workflow_action_task_lists(self, workflow_action_task_lists): + """ + Sets the workflow_action_task_lists of this WorkflowPendingDynamicWorkflowInfo. + The task lists returned by services for building dynamic workflows. There will be an entry for every different workflow action. + + :param workflow_action_task_lists: The workflow_action_task_lists of this WorkflowPendingDynamicWorkflowInfo. + :type: list[WorkflowDynamicWorkflowActionTaskList] + """ + + self._workflow_action_task_lists = workflow_action_task_lists + + @property + def workflow_ctx(self): + """ + Gets the workflow_ctx of this WorkflowPendingDynamicWorkflowInfo. + The workflow's workflow context which contains initiator and target information + + :return: The workflow_ctx of this WorkflowPendingDynamicWorkflowInfo. + :rtype: object + """ + return self._workflow_ctx + + @workflow_ctx.setter + def workflow_ctx(self, workflow_ctx): + """ + Sets the workflow_ctx of this WorkflowPendingDynamicWorkflowInfo. + The workflow's workflow context which contains initiator and target information + + :param workflow_ctx: The workflow_ctx of this WorkflowPendingDynamicWorkflowInfo. + :type: object + """ + + self._workflow_ctx = workflow_ctx + + @property + def workflow_key(self): + """ + Gets the workflow_key of this WorkflowPendingDynamicWorkflowInfo. + This key contains workflow, initiator and target name. Fusion uses the key to do workflow dedup + + :return: The workflow_key of this WorkflowPendingDynamicWorkflowInfo. + :rtype: str + """ + return self._workflow_key + + @workflow_key.setter + def workflow_key(self, workflow_key): + """ + Sets the workflow_key of this WorkflowPendingDynamicWorkflowInfo. + This key contains workflow, initiator and target name. Fusion uses the key to do workflow dedup + + :param workflow_key: The workflow_key of this WorkflowPendingDynamicWorkflowInfo. + :type: str + """ + + self._workflow_key = workflow_key + + @property + def workflow_meta(self): + """ + Gets the workflow_meta of this WorkflowPendingDynamicWorkflowInfo. + The metadata of the workflow + + :return: The workflow_meta of this WorkflowPendingDynamicWorkflowInfo. + :rtype: object + """ + return self._workflow_meta + + @workflow_meta.setter + def workflow_meta(self, workflow_meta): + """ + Sets the workflow_meta of this WorkflowPendingDynamicWorkflowInfo. + The metadata of the workflow + + :param workflow_meta: The workflow_meta of this WorkflowPendingDynamicWorkflowInfo. + :type: object + """ + + self._workflow_meta = workflow_meta + + 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, WorkflowPendingDynamicWorkflowInfo): + 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/workflow_pending_dynamic_workflow_info_list.py b/intersight/models/workflow_pending_dynamic_workflow_info_list.py new file mode 100644 index 00000000..43d1e1bc --- /dev/null +++ b/intersight/models/workflow_pending_dynamic_workflow_info_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowPendingDynamicWorkflowInfoList(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[WorkflowPendingDynamicWorkflowInfo]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + WorkflowPendingDynamicWorkflowInfoList - 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 WorkflowPendingDynamicWorkflowInfoList. + The number of workflowPendingDynamicWorkflowInfos matching your request in total for all pages. + + :return: The count of this WorkflowPendingDynamicWorkflowInfoList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this WorkflowPendingDynamicWorkflowInfoList. + The number of workflowPendingDynamicWorkflowInfos matching your request in total for all pages. + + :param count: The count of this WorkflowPendingDynamicWorkflowInfoList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this WorkflowPendingDynamicWorkflowInfoList. + The array of workflowPendingDynamicWorkflowInfos matching your request. + + :return: The results of this WorkflowPendingDynamicWorkflowInfoList. + :rtype: list[WorkflowPendingDynamicWorkflowInfo] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this WorkflowPendingDynamicWorkflowInfoList. + The array of workflowPendingDynamicWorkflowInfos matching your request. + + :param results: The results of this WorkflowPendingDynamicWorkflowInfoList. + :type: list[WorkflowPendingDynamicWorkflowInfo] + """ + + 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, WorkflowPendingDynamicWorkflowInfoList): + 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/workflow_pending_dynamic_workflow_info_ref.py b/intersight/models/workflow_pending_dynamic_workflow_info_ref.py new file mode 100644 index 00000000..da1c72bd --- /dev/null +++ b/intersight/models/workflow_pending_dynamic_workflow_info_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.7-681 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class WorkflowPendingDynamicWorkflowInfoRef(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): + """ + WorkflowPendingDynamicWorkflowInfoRef - 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 WorkflowPendingDynamicWorkflowInfoRef. + + :return: The moid of this WorkflowPendingDynamicWorkflowInfoRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this WorkflowPendingDynamicWorkflowInfoRef. + + :param moid: The moid of this WorkflowPendingDynamicWorkflowInfoRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this WorkflowPendingDynamicWorkflowInfoRef. + + :return: The object_type of this WorkflowPendingDynamicWorkflowInfoRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this WorkflowPendingDynamicWorkflowInfoRef. + + :param object_type: The object_type of this WorkflowPendingDynamicWorkflowInfoRef. + :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, WorkflowPendingDynamicWorkflowInfoRef): + 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/workflow_task_info.py b/intersight/models/workflow_task_info.py index 5f7824e9..8cddcd3a 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -45,6 +45,7 @@ class WorkflowTaskInfo(object): 'failure_reason': 'str', 'input': 'object', 'inst_id': 'str', + 'internal': 'bool', 'name': 'str', 'output': 'object', 'ref_name': 'str', @@ -70,6 +71,7 @@ class WorkflowTaskInfo(object): 'failure_reason': 'FailureReason', 'input': 'Input', 'inst_id': 'InstId', + 'internal': 'Internal', 'name': 'Name', 'output': 'Output', 'ref_name': 'RefName', @@ -80,7 +82,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, 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, 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 """ @@ -99,6 +101,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._failure_reason = None self._input = None self._inst_id = None + self._internal = None self._name = None self._output = None self._ref_name = None @@ -136,6 +139,8 @@ 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 name is not None: self.name = name if output is not None: @@ -475,6 +480,29 @@ def inst_id(self, inst_id): self._inst_id = inst_id + @property + def internal(self): + """ + Gets the internal of this WorkflowTaskInfo. + Denotes whether or not this is an internal task. Internal tasks will be hidden from the UI within a workflow. + + :return: The internal of this WorkflowTaskInfo. + :rtype: bool + """ + return self._internal + + @internal.setter + def internal(self, internal): + """ + Sets the internal of this WorkflowTaskInfo. + Denotes whether or not this is an internal task. Internal tasks will be hidden from the UI within a workflow. + + :param internal: The internal of this WorkflowTaskInfo. + :type: bool + """ + + self._internal = internal + @property def name(self): """ diff --git a/intersight/models/workflow_task_info_list.py b/intersight/models/workflow_task_info_list.py index 7c84d765..af4ede41 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.5-612 + OpenAPI spec version: 1.0.7-681 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 8ac1b5f6..fa4a42b3 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.5-612 + OpenAPI spec version: 1.0.7-681 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 15da975b..064292c0 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,10 +40,10 @@ class WorkflowTaskMeta(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', - 'account': 'IamAccountRef', 'action_type': 'str', 'description': 'str', 'input_keys': 'list[str]', + 'internal': 'bool', 'name': 'str', 'output_keys': 'list[str]', 'response_timeout_sec': 'int', @@ -65,10 +65,10 @@ class WorkflowTaskMeta(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', - 'account': 'Account', 'action_type': 'ActionType', 'description': 'Description', 'input_keys': 'InputKeys', + 'internal': 'Internal', 'name': 'Name', 'output_keys': 'OutputKeys', 'response_timeout_sec': 'ResponseTimeoutSec', @@ -80,7 +80,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, account=None, action_type=None, description=None, input_keys=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, 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,10 +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._account = None self._action_type = None self._description = None self._input_keys = None + self._internal = None self._name = None self._output_keys = None self._response_timeout_sec = None @@ -126,14 +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 account is not None: - self.account = account if action_type is not None: self.action_type = action_type if description is not None: self.description = description if input_keys is not None: self.input_keys = input_keys + if internal is not None: + self.internal = internal if name is not None: self.name = name if output_keys is not None: @@ -360,27 +360,6 @@ def tags(self, tags): self._tags = tags - @property - def account(self): - """ - Gets the account of this WorkflowTaskMeta. - - :return: The account of this WorkflowTaskMeta. - :rtype: IamAccountRef - """ - return self._account - - @account.setter - def account(self, account): - """ - Sets the account of this WorkflowTaskMeta. - - :param account: The account of this WorkflowTaskMeta. - :type: IamAccountRef - """ - - self._account = account - @property def action_type(self): """ @@ -450,6 +429,29 @@ def input_keys(self, input_keys): self._input_keys = input_keys + @property + def internal(self): + """ + Gets the internal of this WorkflowTaskMeta. + Denotes whether or not this is an internal task. Internal tasks will be hidden from the UI within a workflow. + + :return: The internal of this WorkflowTaskMeta. + :rtype: bool + """ + return self._internal + + @internal.setter + def internal(self, internal): + """ + Sets the internal of this WorkflowTaskMeta. + Denotes whether or not this is an internal task. Internal tasks will be hidden from the UI within a workflow. + + :param internal: The internal of this WorkflowTaskMeta. + :type: bool + """ + + self._internal = internal + @property def name(self): """ diff --git a/intersight/models/workflow_task_meta_list.py b/intersight/models/workflow_task_meta_list.py index 0ceaee53..f69fe835 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.5-612 + OpenAPI spec version: 1.0.7-681 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 583921ed..5315864c 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.5-612 + OpenAPI spec version: 1.0.7-681 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 7eff9ccb..3056688a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 44f8f5fa..055d708a 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.5-612 + OpenAPI spec version: 1.0.7-681 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 ad928a97..2526afa8 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -41,13 +41,15 @@ class WorkflowWorkflowInfo(object): 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', 'account': 'IamAccountRef', + 'action': 'str', 'end_time': 'datetime', 'input': 'object', 'inst_id': 'str', - 'meta_version': 'str', + 'meta_version': 'int', 'name': 'str', 'output': 'object', 'progress': 'float', + 'src': 'str', 'start_time': 'datetime', 'status': 'str', 'task_infos': 'list[WorkflowTaskInfoRef]', @@ -55,6 +57,7 @@ class WorkflowWorkflowInfo(object): 'user_id': 'str', 'workflow_ctx': 'object', 'workflow_key': 'str', + 'workflow_meta_type': 'str', 'workflow_task_count': 'int' } @@ -69,6 +72,7 @@ class WorkflowWorkflowInfo(object): 'parent': 'Parent', 'tags': 'Tags', 'account': 'Account', + 'action': 'Action', 'end_time': 'EndTime', 'input': 'Input', 'inst_id': 'InstId', @@ -76,6 +80,7 @@ class WorkflowWorkflowInfo(object): 'name': 'Name', 'output': 'Output', 'progress': 'Progress', + 'src': 'Src', 'start_time': 'StartTime', 'status': 'Status', 'task_infos': 'TaskInfos', @@ -83,10 +88,11 @@ class WorkflowWorkflowInfo(object): 'user_id': 'UserId', '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, end_time=None, input=None, inst_id=None, meta_version=None, name=None, output=None, progress=None, start_time=None, status=None, task_infos=None, type=None, user_id=None, workflow_ctx=None, workflow_key=None, 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, 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): """ WorkflowWorkflowInfo - a model defined in Swagger """ @@ -101,6 +107,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._parent = None self._tags = None self._account = None + self._action = None self._end_time = None self._input = None self._inst_id = None @@ -108,6 +115,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._name = None self._output = None self._progress = None + self._src = None self._start_time = None self._status = None self._task_infos = None @@ -115,6 +123,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._user_id = None self._workflow_ctx = None self._workflow_key = None + self._workflow_meta_type = None self._workflow_task_count = None if account_moid is not None: @@ -137,6 +146,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.tags = tags if account is not None: self.account = account + if action is not None: + self.action = action if end_time is not None: self.end_time = end_time if input is not None: @@ -151,6 +162,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.output = output if progress is not None: self.progress = progress + if src is not None: + self.src = src if start_time is not None: self.start_time = start_time if status is not None: @@ -165,6 +178,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.workflow_ctx = workflow_ctx if workflow_key is not None: self.workflow_key = workflow_key + if workflow_meta_type is not None: + self.workflow_meta_type = workflow_meta_type if workflow_task_count is not None: self.workflow_task_count = workflow_task_count @@ -379,7 +394,7 @@ def tags(self, tags): def account(self): """ Gets the account of this WorkflowWorkflowInfo. - An account owns the workflow instatnce + An account owns the workflow instance :return: The account of this WorkflowWorkflowInfo. :rtype: IamAccountRef @@ -390,7 +405,7 @@ def account(self): def account(self, account): """ Sets the account of this WorkflowWorkflowInfo. - An account owns the workflow instatnce + An account owns the workflow instance :param account: The account of this WorkflowWorkflowInfo. :type: IamAccountRef @@ -398,6 +413,35 @@ def account(self, account): self._account = account + @property + def action(self): + """ + Gets the action of this WorkflowWorkflowInfo. + The action of the workflow such as start, cancel, retry, pause + + :return: The action of this WorkflowWorkflowInfo. + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """ + Sets the action of this WorkflowWorkflowInfo. + The action of the workflow such as start, cancel, retry, pause + + :param action: The action of this WorkflowWorkflowInfo. + :type: str + """ + allowed_values = ["Start", "Pause", "Resume", "Retry", "Cancel"] + if action not in allowed_values: + raise ValueError( + "Invalid value for `action` ({0}), must be one of {1}" + .format(action, allowed_values) + ) + + self._action = action + @property def end_time(self): """ @@ -474,7 +518,7 @@ def meta_version(self): This is version of the workflow metadata :return: The meta_version of this WorkflowWorkflowInfo. - :rtype: str + :rtype: int """ return self._meta_version @@ -485,7 +529,7 @@ def meta_version(self, meta_version): This is version of the workflow metadata :param meta_version: The meta_version of this WorkflowWorkflowInfo. - :type: str + :type: int """ self._meta_version = meta_version @@ -540,7 +584,7 @@ def output(self, output): def progress(self): """ Gets the progress of this WorkflowWorkflowInfo. - This field indicates percetage of workflow task execution + This field indicates percetage of workflow task execution :return: The progress of this WorkflowWorkflowInfo. :rtype: float @@ -551,7 +595,7 @@ def progress(self): def progress(self, progress): """ Sets the progress of this WorkflowWorkflowInfo. - This field indicates percetage of workflow task execution + This field indicates percetage of workflow task execution :param progress: The progress of this WorkflowWorkflowInfo. :type: float @@ -559,6 +603,29 @@ def progress(self, progress): self._progress = progress + @property + def src(self): + """ + Gets the src of this WorkflowWorkflowInfo. + The source microservice name + + :return: The src of this WorkflowWorkflowInfo. + :rtype: str + """ + return self._src + + @src.setter + def src(self, src): + """ + Sets the src of this WorkflowWorkflowInfo. + The source microservice name + + :param src: The src of this WorkflowWorkflowInfo. + :type: str + """ + + self._src = src + @property def start_time(self): """ @@ -716,6 +783,35 @@ def workflow_key(self, workflow_key): self._workflow_key = workflow_key + @property + def workflow_meta_type(self): + """ + Gets the workflow_meta_type of this WorkflowWorkflowInfo. + The type of workflow met. This is derived from the workflow meta this WorkflowInfo refers to + + :return: The workflow_meta_type of this WorkflowWorkflowInfo. + :rtype: str + """ + return self._workflow_meta_type + + @workflow_meta_type.setter + def workflow_meta_type(self, workflow_meta_type): + """ + Sets the workflow_meta_type of this WorkflowWorkflowInfo. + The type of workflow met. This is derived from the workflow meta this WorkflowInfo refers to + + :param workflow_meta_type: The workflow_meta_type of this WorkflowWorkflowInfo. + :type: str + """ + allowed_values = ["SystemDefined", "UserDefined", "Dynamic"] + if workflow_meta_type not in allowed_values: + raise ValueError( + "Invalid value for `workflow_meta_type` ({0}), must be one of {1}" + .format(workflow_meta_type, allowed_values) + ) + + self._workflow_meta_type = workflow_meta_type + @property def workflow_task_count(self): """ diff --git a/intersight/models/workflow_workflow_info_list.py b/intersight/models/workflow_workflow_info_list.py index f08fc19d..fde49ba9 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.5-612 + OpenAPI spec version: 1.0.7-681 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 a75d6967..dbe11c66 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.5-612 + OpenAPI spec version: 1.0.7-681 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 632bb6f4..2185d4c4 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -48,8 +48,9 @@ class WorkflowWorkflowMeta(object): 'schema_version': 'int', 'src': 'str', 'tasks': 'object', + 'type': 'str', 'version': 'int', - 'workflow_tasks': 'list[WorkflowWorkflowTaskRef]' + 'wait_on_duplicate': 'bool' } attribute_map = { @@ -70,11 +71,12 @@ class WorkflowWorkflowMeta(object): 'schema_version': 'SchemaVersion', 'src': 'Src', 'tasks': 'Tasks', + 'type': 'Type', 'version': 'Version', - 'workflow_tasks': 'WorkflowTasks' + '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, version=None, workflow_tasks=None): + def __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): """ WorkflowWorkflowMeta - a model defined in Swagger """ @@ -96,8 +98,9 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._schema_version = None self._src = None self._tasks = None + self._type = None self._version = None - self._workflow_tasks = None + self._wait_on_duplicate = None if account_moid is not None: self.account_moid = account_moid @@ -133,10 +136,12 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.src = src if tasks is not None: self.tasks = tasks + if type is not None: + self.type = type if version is not None: self.version = version - if workflow_tasks is not None: - self.workflow_tasks = workflow_tasks + if wait_on_duplicate is not None: + self.wait_on_duplicate = wait_on_duplicate @property def account_moid(self): @@ -529,11 +534,40 @@ def tasks(self, tasks): self._tasks = tasks + @property + def type(self): + """ + Gets the type of this WorkflowWorkflowMeta. + The type of workflow + + :return: The type of this WorkflowWorkflowMeta. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """ + Sets the type of this WorkflowWorkflowMeta. + The type of workflow + + :param type: The type of this WorkflowWorkflowMeta. + :type: str + """ + allowed_values = ["SystemDefined", "UserDefined", "Dynamic"] + if type not in allowed_values: + raise ValueError( + "Invalid value for `type` ({0}), must be one of {1}" + .format(type, allowed_values) + ) + + self._type = type + @property def version(self): """ Gets the version of this WorkflowWorkflowMeta. - The workflow version which indicate the workflow meta changes + The workflow version which indicate the workflow meta changes :return: The version of this WorkflowWorkflowMeta. :rtype: int @@ -544,7 +578,7 @@ def version(self): def version(self, version): """ Sets the version of this WorkflowWorkflowMeta. - The workflow version which indicate the workflow meta changes + The workflow version which indicate the workflow meta changes :param version: The version of this WorkflowWorkflowMeta. :type: int @@ -553,27 +587,27 @@ def version(self, version): self._version = version @property - def workflow_tasks(self): + def wait_on_duplicate(self): """ - Gets the workflow_tasks of this WorkflowWorkflowMeta. - The list of tasks contained inside the workflow + Gets the wait_on_duplicate of this WorkflowWorkflowMeta. + This parameter decides if workflows will wait for a duplicate to finish before starting a new one - :return: The workflow_tasks of this WorkflowWorkflowMeta. - :rtype: list[WorkflowWorkflowTaskRef] + :return: The wait_on_duplicate of this WorkflowWorkflowMeta. + :rtype: bool """ - return self._workflow_tasks + return self._wait_on_duplicate - @workflow_tasks.setter - def workflow_tasks(self, workflow_tasks): + @wait_on_duplicate.setter + def wait_on_duplicate(self, wait_on_duplicate): """ - Sets the workflow_tasks of this WorkflowWorkflowMeta. - The list of tasks contained inside the workflow + Sets the wait_on_duplicate of this WorkflowWorkflowMeta. + This parameter decides if workflows will wait for a duplicate to finish before starting a new one - :param workflow_tasks: The workflow_tasks of this WorkflowWorkflowMeta. - :type: list[WorkflowWorkflowTaskRef] + :param wait_on_duplicate: The wait_on_duplicate of this WorkflowWorkflowMeta. + :type: bool """ - self._workflow_tasks = workflow_tasks + self._wait_on_duplicate = wait_on_duplicate def to_dict(self): """ diff --git a/intersight/models/workflow_workflow_meta_list.py b/intersight/models/workflow_workflow_meta_list.py index 47321314..6454760b 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.5-612 + OpenAPI spec version: 1.0.7-681 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 dbba5218..021db9fd 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.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/rest.py b/intersight/rest.py index 4951b87c..7aa5d491 100644 --- a/intersight/rest.py +++ b/intersight/rest.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.7-681 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/requirements.txt b/requirements.txt index 2e9b7d64..e03bcc71 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -certifi >= 14.05.14 -pycrypto >= 2.6.1 -six -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.15.1, <= 1.22 -requests +certifi >= 14.05.14 +six +python_dateutil >= 2.5.3 +setuptools >= 21.0.0 +urllib3 >= 1.15.1, <= 1.22 +pycryptodome >= 3.6.1 +requests diff --git a/setup.py b/setup.py index eea3e4c8..45796187 100644 --- a/setup.py +++ b/setup.py @@ -1,41 +1,41 @@ -# coding: utf-8 - -""" - Intersight API - - This is the Intersight REST API - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import sys -from setuptools import setup, find_packages - -NAME = "intersight" -VERSION = "1.0.1" -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools - -REQUIRES = ["urllib3 >= 1.15, <= 1.22", "six", "certifi", "python-dateutil", "pycrypto >= 2.6.1", "requests"] - -setup( - name=NAME, - version=VERSION, - description="Intersight API", - author_email="", - url="", - keywords=["Swagger", "Intersight API"], - install_requires=REQUIRES, - packages=find_packages(), - include_package_data=True, - long_description="""\ - This is the Intersight REST API - """ -) +# coding: utf-8 + +""" + Intersight API + + This is the Intersight REST API + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import sys +from setuptools import setup, find_packages + +NAME = "intersight" +VERSION = "1.0.2" +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +REQUIRES = ["pycryptodome >= 3.6.1", "urllib3 >= 1.15, <= 1.22", "six", "certifi", "python-dateutil", "requests"] + +setup( + name=NAME, + version=VERSION, + description="Intersight API", + author_email="", + url="", + keywords=["Swagger", "Intersight API"], + install_requires=REQUIRES, + packages=find_packages(), + include_package_data=True, + long_description="""\ + This is the Intersight REST API + """ +)