class TencentCloud::Ioa::V20220601::DescribeDevicesRequest
DescribeDevices请求参数结构体
def deserialize(params)
def deserialize(params) unless params['Condition'].nil? @Condition = Condition.new @Condition.deserialize(params['Condition']) end @GroupId = params['GroupId'] @OsType = params['OsType'] @OnlineStatus = params['OnlineStatus'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end unless params['Sort'].nil? @Sort = Sort.new @Sort.deserialize(params['Sort']) end @PageNum = params['PageNum'] @PageSize = params['PageSize'] @Status = params['Status'] @GroupIds = params['GroupIds'] end
def initialize(condition=nil, groupid=nil, ostype=nil, onlinestatus=nil, filters=nil, sort=nil, pagenum=nil, pagesize=nil, status=nil, groupids=nil)
def initialize(condition=nil, groupid=nil, ostype=nil, onlinestatus=nil, filters=nil, sort=nil, pagenum=nil, pagesize=nil, status=nil, groupids=nil) @Condition = condition @GroupId = groupid @OsType = ostype @OnlineStatus = onlinestatus @Filters = filters @Sort = sort @PageNum = pagenum @PageSize = pagesize @Status = status @GroupIds = groupids end