def to_map()

in hdr-20170925/alibabacloud_hdr20170925/models.py [0:0]


    def to_map(self):
        _map = super(DescribeServersResponseBodyServersServer, self).to_map()
        if _map is not None:
            return _map

        result = dict()
        if self.agent_port is not None:
            result['AgentPort'] = self.agent_port
        if self.agent_version is not None:
            result['AgentVersion'] = self.agent_version
        if self.alias is not None:
            result['Alias'] = self.alias
        if self.connection_status is not None:
            result['ConnectionStatus'] = self.connection_status
        if self.consistent is not None:
            result['Consistent'] = self.consistent
        if self.cpu is not None:
            result['Cpu'] = self.cpu
        if self.crash_consistent_point_policy is not None:
            result['CrashConsistentPointPolicy'] = self.crash_consistent_point_policy
        if self.disks is not None:
            result['Disks'] = self.disks
        if self.errno is not None:
            result['Errno'] = self.errno
        if self.full_sync_current_size is not None:
            result['FullSyncCurrentSize'] = self.full_sync_current_size
        if self.full_sync_progress is not None:
            result['FullSyncProgress'] = self.full_sync_progress
        if self.full_sync_start_time is not None:
            result['FullSyncStartTime'] = self.full_sync_start_time
        if self.full_sync_total_size is not None:
            result['FullSyncTotalSize'] = self.full_sync_total_size
        if self.hostname is not None:
            result['Hostname'] = self.hostname
        if self.incremental_sync_start_time is not None:
            result['IncrementalSyncStartTime'] = self.incremental_sync_start_time
        if self.instance_id is not None:
            result['InstanceId'] = self.instance_id
        if self.ip_address is not None:
            result['IpAddress'] = self.ip_address
        if self.latest_recovery_point_time is not None:
            result['LatestRecoveryPointTime'] = self.latest_recovery_point_time
        if self.memory is not None:
            result['Memory'] = self.memory
        if self.operations is not None:
            result['Operations'] = self.operations
        if self.original_instance_id is not None:
            result['OriginalInstanceId'] = self.original_instance_id
        if self.os_detail is not None:
            result['OsDetail'] = self.os_detail
        if self.os_type is not None:
            result['OsType'] = self.os_type
        if self.primary_site_id is not None:
            result['PrimarySiteId'] = self.primary_site_id
        if self.recovered_instance_id is not None:
            result['RecoveredInstanceId'] = self.recovered_instance_id
        if self.recovered_instance_name is not None:
            result['RecoveredInstanceName'] = self.recovered_instance_name
        if self.recovered_ip_address is not None:
            result['RecoveredIpAddress'] = self.recovered_ip_address
        if self.recovery_cpu is not None:
            result['RecoveryCpu'] = self.recovery_cpu
        if self.recovery_essd_performance_level is not None:
            result['RecoveryEssdPerformanceLevel'] = self.recovery_essd_performance_level
        if self.recovery_instance_name is not None:
            result['RecoveryInstanceName'] = self.recovery_instance_name
        if self.recovery_instance_type is not None:
            result['RecoveryInstanceType'] = self.recovery_instance_type
        if self.recovery_ip_address is not None:
            result['RecoveryIpAddress'] = self.recovery_ip_address
        if self.recovery_memory is not None:
            result['RecoveryMemory'] = self.recovery_memory
        if self.recovery_network is not None:
            result['RecoveryNetwork'] = self.recovery_network
        if self.recovery_post_script_content is not None:
            result['RecoveryPostScriptContent'] = self.recovery_post_script_content
        if self.recovery_post_script_type is not None:
            result['RecoveryPostScriptType'] = self.recovery_post_script_type
        if self.recovery_reserve_ip is not None:
            result['RecoveryReserveIp'] = self.recovery_reserve_ip
        if self.recovery_use_dhcp is not None:
            result['RecoveryUseDhcp'] = self.recovery_use_dhcp
        if self.recovery_use_essd is not None:
            result['RecoveryUseEssd'] = self.recovery_use_essd
        if self.recovery_use_ssd is not None:
            result['RecoveryUseSsd'] = self.recovery_use_ssd
        if self.replication_infrastructure_id is not None:
            result['ReplicationInfrastructureId'] = self.replication_infrastructure_id
        if self.replication_infrastructure_type is not None:
            result['ReplicationInfrastructureType'] = self.replication_infrastructure_type
        if self.replication_network is not None:
            result['ReplicationNetwork'] = self.replication_network
        if self.replication_use_dhcp is not None:
            result['ReplicationUseDhcp'] = self.replication_use_dhcp
        if self.replication_use_essd is not None:
            result['ReplicationUseEssd'] = self.replication_use_essd
        if self.replication_use_original_instance is not None:
            result['ReplicationUseOriginalInstance'] = self.replication_use_original_instance
        if self.replication_use_ssd is not None:
            result['ReplicationUseSsd'] = self.replication_use_ssd
        if self.rpo is not None:
            result['Rpo'] = self.rpo
        if self.secondary_site_id is not None:
            result['SecondarySiteId'] = self.secondary_site_id
        if self.server_id is not None:
            result['ServerId'] = self.server_id
        if self.source_gateway_version is not None:
            result['SourceGatewayVersion'] = self.source_gateway_version
        if self.status is not None:
            result['Status'] = self.status
        if self.target_gateway_version is not None:
            result['TargetGatewayVersion'] = self.target_gateway_version
        if self.task_id is not None:
            result['TaskId'] = self.task_id
        if self.test_failover_status is not None:
            result['TestFailoverStatus'] = self.test_failover_status
        if self.test_recovered_instance_id is not None:
            result['TestRecoveredInstanceId'] = self.test_recovered_instance_id
        if self.test_recovered_instance_name is not None:
            result['TestRecoveredInstanceName'] = self.test_recovered_instance_name
        if self.test_recovered_ip_address is not None:
            result['TestRecoveredIpAddress'] = self.test_recovered_ip_address
        return result