class TencentCloud::Cynosdb::V20190107::CynosdbInstanceGroup

实例组信息

def deserialize(params)

def deserialize(params)
  @AppId = params['AppId']
  @ClusterId = params['ClusterId']
  @CreatedTime = params['CreatedTime']
  @DeletedTime = params['DeletedTime']
  @InstanceGroupId = params['InstanceGroupId']
  @Status = params['Status']
  @Type = params['Type']
  @UpdatedTime = params['UpdatedTime']
  @Vip = params['Vip']
  @Vport = params['Vport']
  @WanDomain = params['WanDomain']
  @WanIP = params['WanIP']
  @WanPort = params['WanPort']
  @WanStatus = params['WanStatus']
  unless params['InstanceSet'].nil?
    @InstanceSet = []
    params['InstanceSet'].each do |i|
      cynosdbinstance_tmp = CynosdbInstance.new
      cynosdbinstance_tmp.deserialize(i)
      @InstanceSet << cynosdbinstance_tmp
    end
  end
  @UniqVpcId = params['UniqVpcId']
  @UniqSubnetId = params['UniqSubnetId']
  unless params['OldAddrInfo'].nil?
    @OldAddrInfo = OldAddrInfo.new
    @OldAddrInfo.deserialize(params['OldAddrInfo'])
  end
  @ProcessingTasks = params['ProcessingTasks']
  unless params['Tasks'].nil?
    @Tasks = []
    params['Tasks'].each do |i|
      objecttask_tmp = ObjectTask.new
      objecttask_tmp.deserialize(i)
      @Tasks << objecttask_tmp
    end
  end
  @NetServiceId = params['NetServiceId']
end

def initialize(appid=nil, clusterid=nil, createdtime=nil, deletedtime=nil, instancegroupid=nil, status=nil, type=nil, updatedtime=nil, vip=nil, vport=nil, wandomain=nil, wanip=nil, wanport=nil, wanstatus=nil, instanceset=nil, uniqvpcid=nil, uniqsubnetid=nil, oldaddrinfo=nil, processingtasks=nil, tasks=nil, netserviceid=nil)

def initialize(appid=nil, clusterid=nil, createdtime=nil, deletedtime=nil, instancegroupid=nil, status=nil, type=nil, updatedtime=nil, vip=nil, vport=nil, wandomain=nil, wanip=nil, wanport=nil, wanstatus=nil, instanceset=nil, uniqvpcid=nil, uniqsubnetid=nil, oldaddrinfo=nil, processingtasks=nil, tasks=nil, netserviceid=nil)
  @AppId = appid
  @ClusterId = clusterid
  @CreatedTime = createdtime
  @DeletedTime = deletedtime
  @InstanceGroupId = instancegroupid
  @Status = status
  @Type = type
  @UpdatedTime = updatedtime
  @Vip = vip
  @Vport = vport
  @WanDomain = wandomain
  @WanIP = wanip
  @WanPort = wanport
  @WanStatus = wanstatus
  @InstanceSet = instanceset
  @UniqVpcId = uniqvpcid
  @UniqSubnetId = uniqsubnetid
  @OldAddrInfo = oldaddrinfo
  @ProcessingTasks = processingtasks
  @Tasks = tasks
  @NetServiceId = netserviceid
end