in ddi-20200617/alibabacloud_ddi20200617/models.py [0:0]
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.access_info is not None:
result['AccessInfo'] = self.access_info.to_map()
if self.auto_scaling_allowed is not None:
result['AutoScalingAllowed'] = self.auto_scaling_allowed
if self.auto_scaling_by_load_allowed is not None:
result['AutoScalingByLoadAllowed'] = self.auto_scaling_by_load_allowed
if self.auto_scaling_enable is not None:
result['AutoScalingEnable'] = self.auto_scaling_enable
if self.auto_scaling_spot_with_limit_allowed is not None:
result['AutoScalingSpotWithLimitAllowed'] = self.auto_scaling_spot_with_limit_allowed
if self.auto_scaling_version is not None:
result['AutoScalingVersion'] = self.auto_scaling_version
if self.auto_scaling_with_grace_allowed is not None:
result['AutoScalingWithGraceAllowed'] = self.auto_scaling_with_grace_allowed
if self.bootstrap_action_list is not None:
result['BootstrapActionList'] = self.bootstrap_action_list.to_map()
if self.bootstrap_failed is not None:
result['BootstrapFailed'] = self.bootstrap_failed
if self.charge_type is not None:
result['ChargeType'] = self.charge_type
if self.configurations is not None:
result['Configurations'] = self.configurations
if self.core_node_in_service is not None:
result['CoreNodeInService'] = self.core_node_in_service
if self.core_node_total is not None:
result['CoreNodeTotal'] = self.core_node_total
if self.create_resource is not None:
result['CreateResource'] = self.create_resource
if self.create_type is not None:
result['CreateType'] = self.create_type
if self.deposit_type is not None:
result['DepositType'] = self.deposit_type
if self.eas_enable is not None:
result['EasEnable'] = self.eas_enable
if self.expired_time is not None:
result['ExpiredTime'] = self.expired_time
if self.extra_info is not None:
result['ExtraInfo'] = self.extra_info
if self.fail_reason is not None:
result['FailReason'] = self.fail_reason.to_map()
if self.gateway_cluster_ids is not None:
result['GatewayClusterIds'] = self.gateway_cluster_ids
if self.gateway_cluster_info_list is not None:
result['GatewayClusterInfoList'] = self.gateway_cluster_info_list.to_map()
if self.high_availability_enable is not None:
result['HighAvailabilityEnable'] = self.high_availability_enable
if self.host_group_list is not None:
result['HostGroupList'] = self.host_group_list.to_map()
if self.host_pool_info is not None:
result['HostPoolInfo'] = self.host_pool_info.to_map()
if self.id is not None:
result['Id'] = self.id
if self.image_id is not None:
result['ImageId'] = self.image_id
if self.instance_generation is not None:
result['InstanceGeneration'] = self.instance_generation
if self.io_optimized is not None:
result['IoOptimized'] = self.io_optimized
if self.k_8s_cluster_id is not None:
result['K8sClusterId'] = self.k_8s_cluster_id
if self.local_meta_db is not None:
result['LocalMetaDb'] = self.local_meta_db
if self.log_enable is not None:
result['LogEnable'] = self.log_enable
if self.log_path is not None:
result['LogPath'] = self.log_path
if self.machine_type is not None:
result['MachineType'] = self.machine_type
if self.master_node_in_service is not None:
result['MasterNodeInService'] = self.master_node_in_service
if self.master_node_total is not None:
result['MasterNodeTotal'] = self.master_node_total
if self.meta_store_type is not None:
result['MetaStoreType'] = self.meta_store_type
if self.name is not None:
result['Name'] = self.name
if self.net_type is not None:
result['NetType'] = self.net_type
if self.period is not None:
result['Period'] = self.period
if self.region_id is not None:
result['RegionId'] = self.region_id
if self.relate_cluster_id is not None:
result['RelateClusterId'] = self.relate_cluster_id
if self.relate_cluster_info is not None:
result['RelateClusterInfo'] = self.relate_cluster_info.to_map()
if self.resize_disk_enable is not None:
result['ResizeDiskEnable'] = self.resize_disk_enable
if self.running_time is not None:
result['RunningTime'] = self.running_time
if self.security_group_id is not None:
result['SecurityGroupId'] = self.security_group_id
if self.security_group_name is not None:
result['SecurityGroupName'] = self.security_group_name
if self.show_software_interface is not None:
result['ShowSoftwareInterface'] = self.show_software_interface
if self.software_info is not None:
result['SoftwareInfo'] = self.software_info.to_map()
if self.start_time is not None:
result['StartTime'] = self.start_time
if self.status is not None:
result['Status'] = self.status
if self.stop_time is not None:
result['StopTime'] = self.stop_time
if self.task_node_in_service is not None:
result['TaskNodeInService'] = self.task_node_in_service
if self.task_node_total is not None:
result['TaskNodeTotal'] = self.task_node_total
if self.user_defined_emr_ecs_role is not None:
result['UserDefinedEmrEcsRole'] = self.user_defined_emr_ecs_role
if self.user_id is not None:
result['UserId'] = self.user_id
if self.v_switch_id is not None:
result['VSwitchId'] = self.v_switch_id
if self.vpc_id is not None:
result['VpcId'] = self.vpc_id
if self.zone_id is not None:
result['ZoneId'] = self.zone_id
return result