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