class TencentCloud::Cynosdb::V20190107::ClusterInstanceDetail

集群实例信息

def deserialize(params)

def deserialize(params)
  @InstanceId = params['InstanceId']
  @InstanceName = params['InstanceName']
  @InstanceType = params['InstanceType']
  @InstanceStatus = params['InstanceStatus']
  @InstanceStatusDesc = params['InstanceStatusDesc']
  @InstanceCpu = params['InstanceCpu']
  @InstanceMemory = params['InstanceMemory']
  @InstanceStorage = params['InstanceStorage']
  @InstanceRole = params['InstanceRole']
  @MaintainStartTime = params['MaintainStartTime']
  @MaintainDuration = params['MaintainDuration']
  @MaintainWeekDays = params['MaintainWeekDays']
  @ServerlessStatus = params['ServerlessStatus']
  unless params['InstanceTasks'].nil?
    @InstanceTasks = []
    params['InstanceTasks'].each do |i|
      objecttask_tmp = ObjectTask.new
      objecttask_tmp.deserialize(i)
      @InstanceTasks << objecttask_tmp
    end
  end
  @InstanceDeviceType = params['InstanceDeviceType']
  @InstanceStorageType = params['InstanceStorageType']
end

def initialize(instanceid=nil, instancename=nil, instancetype=nil, instancestatus=nil, instancestatusdesc=nil, instancecpu=nil, instancememory=nil, instancestorage=nil, instancerole=nil, maintainstarttime=nil, maintainduration=nil, maintainweekdays=nil, serverlessstatus=nil, instancetasks=nil, instancedevicetype=nil, instancestoragetype=nil)

def initialize(instanceid=nil, instancename=nil, instancetype=nil, instancestatus=nil, instancestatusdesc=nil, instancecpu=nil, instancememory=nil, instancestorage=nil, instancerole=nil, maintainstarttime=nil, maintainduration=nil, maintainweekdays=nil, serverlessstatus=nil, instancetasks=nil, instancedevicetype=nil, instancestoragetype=nil)
  @InstanceId = instanceid
  @InstanceName = instancename
  @InstanceType = instancetype
  @InstanceStatus = instancestatus
  @InstanceStatusDesc = instancestatusdesc
  @InstanceCpu = instancecpu
  @InstanceMemory = instancememory
  @InstanceStorage = instancestorage
  @InstanceRole = instancerole
  @MaintainStartTime = maintainstarttime
  @MaintainDuration = maintainduration
  @MaintainWeekDays = maintainweekdays
  @ServerlessStatus = serverlessstatus
  @InstanceTasks = instancetasks
  @InstanceDeviceType = instancedevicetype
  @InstanceStorageType = instancestoragetype
end