class TencentCloud::Sqlserver::V20180328::SecurityGroup

def deserialize(params)

def deserialize(params)
  @ProjectId = params['ProjectId']
  @CreateTime = params['CreateTime']
  unless params['InboundSet'].nil?
    @InboundSet = []
    params['InboundSet'].each do |i|
      securitygrouppolicy_tmp = SecurityGroupPolicy.new
      securitygrouppolicy_tmp.deserialize(i)
      @InboundSet << securitygrouppolicy_tmp
    end
  end
  unless params['OutboundSet'].nil?
    @OutboundSet = []
    params['OutboundSet'].each do |i|
      securitygrouppolicy_tmp = SecurityGroupPolicy.new
      securitygrouppolicy_tmp.deserialize(i)
      @OutboundSet << securitygrouppolicy_tmp
    end
  end
  @SecurityGroupId = params['SecurityGroupId']
  @SecurityGroupName = params['SecurityGroupName']
  @SecurityGroupRemark = params['SecurityGroupRemark']
end