Class: TencentCloud::Solar::V20181011::DescribeProjectsRequest

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

Overview

DescribeProjects请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pageno = nil, pagesize = nil, searchword = nil, filters = nil, projectstatus = nil) ⇒ DescribeProjectsRequest

Returns a new instance of DescribeProjectsRequest.



781
782
783
784
785
786
787
# File 'lib/v20181011/models.rb', line 781

def initialize(pageno=nil, pagesize=nil, searchword=nil, filters=nil, projectstatus=nil)
  @PageNo = pageno
  @PageSize = pagesize
  @SearchWord = searchword
  @Filters = filters
  @ProjectStatus = projectstatus
end

Instance Attribute Details

#Filters ⇒ Object

Parameters:

  • PageNo: —

    页码

  • PageSize: —

    页面大小

  • SearchWord: —

    过滤规则

  • Filters: —

    部门范围过滤

  • ProjectStatus: —

    项目状态, 0:编辑中 1:运营中 2:已下线 3:已删除 4:审批中



779
780
781
# File 'lib/v20181011/models.rb', line 779

def Filters
  @Filters
end

#PageNo ⇒ Object

Parameters:

  • PageNo: —

    页码

  • PageSize: —

    页面大小

  • SearchWord: —

    过滤规则

  • Filters: —

    部门范围过滤

  • ProjectStatus: —

    项目状态, 0:编辑中 1:运营中 2:已下线 3:已删除 4:审批中



779
780
781
# File 'lib/v20181011/models.rb', line 779

def PageNo
  @PageNo
end

#PageSize ⇒ Object

Parameters:

  • PageNo: —

    页码

  • PageSize: —

    页面大小

  • SearchWord: —

    过滤规则

  • Filters: —

    部门范围过滤

  • ProjectStatus: —

    项目状态, 0:编辑中 1:运营中 2:已下线 3:已删除 4:审批中



779
780
781
# File 'lib/v20181011/models.rb', line 779

def PageSize
  @PageSize
end

#ProjectStatus ⇒ Object

Parameters:

  • PageNo: —

    页码

  • PageSize: —

    页面大小

  • SearchWord: —

    过滤规则

  • Filters: —

    部门范围过滤

  • ProjectStatus: —

    项目状态, 0:编辑中 1:运营中 2:已下线 3:已删除 4:审批中



779
780
781
# File 'lib/v20181011/models.rb', line 779

def ProjectStatus
  @ProjectStatus
end

#SearchWord ⇒ Object

Parameters:

  • PageNo: —

    页码

  • PageSize: —

    页面大小

  • SearchWord: —

    过滤规则

  • Filters: —

    部门范围过滤

  • ProjectStatus: —

    项目状态, 0:编辑中 1:运营中 2:已下线 3:已删除 4:审批中



779
780
781
# File 'lib/v20181011/models.rb', line 779

def SearchWord
  @SearchWord
end

Instance Method Details

#deserialize(params) ⇒ Object



789
790
791
792
793
794
795
796
797
798
# File 'lib/v20181011/models.rb', line 789

def deserialize(params)
  @PageNo = params['PageNo']
  @PageSize = params['PageSize']
  @SearchWord = params['SearchWord']
  unless params['Filters'].nil?
    @Filters = Filters.new
    @Filters.deserialize(params['Filters'])
  end
  @ProjectStatus = params['ProjectStatus']
end