Class: TencentCloud::Mna::V20210119::GetDevicesRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210119/models.rb

Overview

GetDevices请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagesize = nil, pagenumber = nil, keyword = nil, devicetype = nil) ⇒ GetDevicesRequest

Returns a new instance of GetDevicesRequest.



1068
1069
1070
1071
1072
1073
# File 'lib/v20210119/models.rb', line 1068

def initialize(pagesize=nil, pagenumber=nil, keyword=nil, devicetype=nil)
  @PageSize = pagesize
  @PageNumber = pagenumber
  @Keyword = keyword
  @DeviceType = devicetype
end

Instance Attribute Details

#DeviceTypeObject

不传:返回所有设备;1:自有设备;2:三方设备

Parameters:

  • PageSize:

    每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备

  • PageNumber:

    当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备

  • Keyword:

    搜索设备的关键字(ID或者设备名),为空时匹配所有设备

  • DeviceType:

    DeviceType



1066
1067
1068
# File 'lib/v20210119/models.rb', line 1066

def DeviceType
  @DeviceType
end

#KeywordObject

不传:返回所有设备;1:自有设备;2:三方设备

Parameters:

  • PageSize:

    每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备

  • PageNumber:

    当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备

  • Keyword:

    搜索设备的关键字(ID或者设备名),为空时匹配所有设备

  • DeviceType:

    DeviceType



1066
1067
1068
# File 'lib/v20210119/models.rb', line 1066

def Keyword
  @Keyword
end

#PageNumberObject

不传:返回所有设备;1:自有设备;2:三方设备

Parameters:

  • PageSize:

    每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备

  • PageNumber:

    当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备

  • Keyword:

    搜索设备的关键字(ID或者设备名),为空时匹配所有设备

  • DeviceType:

    DeviceType



1066
1067
1068
# File 'lib/v20210119/models.rb', line 1066

def PageNumber
  @PageNumber
end

#PageSizeObject

不传:返回所有设备;1:自有设备;2:三方设备

Parameters:

  • PageSize:

    每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备

  • PageNumber:

    当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备

  • Keyword:

    搜索设备的关键字(ID或者设备名),为空时匹配所有设备

  • DeviceType:

    DeviceType



1066
1067
1068
# File 'lib/v20210119/models.rb', line 1066

def PageSize
  @PageSize
end

Instance Method Details

#deserialize(params) ⇒ Object



1075
1076
1077
1078
1079
1080
# File 'lib/v20210119/models.rb', line 1075

def deserialize(params)
  @PageSize = params['PageSize']
  @PageNumber = params['PageNumber']
  @Keyword = params['Keyword']
  @DeviceType = params['DeviceType']
end