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 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)
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) @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 end