class TencentCloud::Sqlserver::V20180328::ReadOnlyGroup

只读组对象

def deserialize(params)

def deserialize(params)
  @ReadOnlyGroupId = params['ReadOnlyGroupId']
  @ReadOnlyGroupName = params['ReadOnlyGroupName']
  @RegionId = params['RegionId']
  @ZoneId = params['ZoneId']
  @IsOfflineDelay = params['IsOfflineDelay']
  @ReadOnlyMaxDelayTime = params['ReadOnlyMaxDelayTime']
  @MinReadOnlyInGroup = params['MinReadOnlyInGroup']
  @Vip = params['Vip']
  @Vport = params['Vport']
  @VpcId = params['VpcId']
  @SubnetId = params['SubnetId']
  @Status = params['Status']
  @MasterInstanceId = params['MasterInstanceId']
  unless params['ReadOnlyInstanceSet'].nil?
    @ReadOnlyInstanceSet = []
    params['ReadOnlyInstanceSet'].each do |i|
      readonlyinstance_tmp = ReadOnlyInstance.new
      readonlyinstance_tmp.deserialize(i)
      @ReadOnlyInstanceSet << readonlyinstance_tmp
    end
  end
  @DnsPodDomain = params['DnsPodDomain']
  @TgwWanVPort = params['TgwWanVPort']
end

def initialize(readonlygroupid=nil, readonlygroupname=nil, regionid=nil, zoneid=nil, isofflinedelay=nil, readonlymaxdelaytime=nil, minreadonlyingroup=nil, vip=nil, vport=nil, vpcid=nil, subnetid=nil, status=nil, masterinstanceid=nil, readonlyinstanceset=nil, dnspoddomain=nil, tgwwanvport=nil)

def initialize(readonlygroupid=nil, readonlygroupname=nil, regionid=nil, zoneid=nil, isofflinedelay=nil, readonlymaxdelaytime=nil, minreadonlyingroup=nil, vip=nil, vport=nil, vpcid=nil, subnetid=nil, status=nil, masterinstanceid=nil, readonlyinstanceset=nil, dnspoddomain=nil, tgwwanvport=nil)
  @ReadOnlyGroupId = readonlygroupid
  @ReadOnlyGroupName = readonlygroupname
  @RegionId = regionid
  @ZoneId = zoneid
  @IsOfflineDelay = isofflinedelay
  @ReadOnlyMaxDelayTime = readonlymaxdelaytime
  @MinReadOnlyInGroup = minreadonlyingroup
  @Vip = vip
  @Vport = vport
  @VpcId = vpcid
  @SubnetId = subnetid
  @Status = status
  @MasterInstanceId = masterinstanceid
  @ReadOnlyInstanceSet = readonlyinstanceset
  @DnsPodDomain = dnspoddomain
  @TgwWanVPort = tgwwanvport
end