Class: TencentCloud::Bi::V20220105::ExportScreenPageRequest

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

Overview

ExportScreenPage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, pageid = nil, canvastype = nil, pictype = nil, widgetids = nil, asyncrequest = nil, tranid = nil) ⇒ ExportScreenPageRequest

Returns a new instance of ExportScreenPageRequest.



2518
2519
2520
2521
2522
2523
2524
2525
2526
# File 'lib/v20220105/models.rb', line 2518

def initialize(projectid=nil, pageid=nil, canvastype=nil, pictype=nil, widgetids=nil, asyncrequest=nil, tranid=nil)
  @ProjectId = projectid
  @PageId = pageid
  @CanvasType = canvastype
  @PicType = pictype
  @WidgetIds = widgetids
  @AsyncRequest = asyncrequest
  @TranId = tranid
end

Instance Attribute Details

#AsyncRequestObject

Parameters:

  • ProjectId:

    项目id

  • PageId:

    页面id

  • CanvasType:

    画布类型。栅格画布:GRID;自由画布:FREE

  • PicType:

    图片导出类型。base64;url(有效期:1天)

  • WidgetIds:

    组件Ids。为空时,导出整个页面

  • AsyncRequest:

    是否是异步请求

  • TranId:

    事务id



2516
2517
2518
# File 'lib/v20220105/models.rb', line 2516

def AsyncRequest
  @AsyncRequest
end

#CanvasTypeObject

Parameters:

  • ProjectId:

    项目id

  • PageId:

    页面id

  • CanvasType:

    画布类型。栅格画布:GRID;自由画布:FREE

  • PicType:

    图片导出类型。base64;url(有效期:1天)

  • WidgetIds:

    组件Ids。为空时,导出整个页面

  • AsyncRequest:

    是否是异步请求

  • TranId:

    事务id



2516
2517
2518
# File 'lib/v20220105/models.rb', line 2516

def CanvasType
  @CanvasType
end

#PageIdObject

Parameters:

  • ProjectId:

    项目id

  • PageId:

    页面id

  • CanvasType:

    画布类型。栅格画布:GRID;自由画布:FREE

  • PicType:

    图片导出类型。base64;url(有效期:1天)

  • WidgetIds:

    组件Ids。为空时,导出整个页面

  • AsyncRequest:

    是否是异步请求

  • TranId:

    事务id



2516
2517
2518
# File 'lib/v20220105/models.rb', line 2516

def PageId
  @PageId
end

#PicTypeObject

Parameters:

  • ProjectId:

    项目id

  • PageId:

    页面id

  • CanvasType:

    画布类型。栅格画布:GRID;自由画布:FREE

  • PicType:

    图片导出类型。base64;url(有效期:1天)

  • WidgetIds:

    组件Ids。为空时,导出整个页面

  • AsyncRequest:

    是否是异步请求

  • TranId:

    事务id



2516
2517
2518
# File 'lib/v20220105/models.rb', line 2516

def PicType
  @PicType
end

#ProjectIdObject

Parameters:

  • ProjectId:

    项目id

  • PageId:

    页面id

  • CanvasType:

    画布类型。栅格画布:GRID;自由画布:FREE

  • PicType:

    图片导出类型。base64;url(有效期:1天)

  • WidgetIds:

    组件Ids。为空时,导出整个页面

  • AsyncRequest:

    是否是异步请求

  • TranId:

    事务id



2516
2517
2518
# File 'lib/v20220105/models.rb', line 2516

def ProjectId
  @ProjectId
end

#TranIdObject

Parameters:

  • ProjectId:

    项目id

  • PageId:

    页面id

  • CanvasType:

    画布类型。栅格画布:GRID;自由画布:FREE

  • PicType:

    图片导出类型。base64;url(有效期:1天)

  • WidgetIds:

    组件Ids。为空时,导出整个页面

  • AsyncRequest:

    是否是异步请求

  • TranId:

    事务id



2516
2517
2518
# File 'lib/v20220105/models.rb', line 2516

def TranId
  @TranId
end

#WidgetIdsObject

Parameters:

  • ProjectId:

    项目id

  • PageId:

    页面id

  • CanvasType:

    画布类型。栅格画布:GRID;自由画布:FREE

  • PicType:

    图片导出类型。base64;url(有效期:1天)

  • WidgetIds:

    组件Ids。为空时,导出整个页面

  • AsyncRequest:

    是否是异步请求

  • TranId:

    事务id



2516
2517
2518
# File 'lib/v20220105/models.rb', line 2516

def WidgetIds
  @WidgetIds
end

Instance Method Details

#deserialize(params) ⇒ Object



2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/v20220105/models.rb', line 2528

def deserialize(params)
  @ProjectId = params['ProjectId']
  @PageId = params['PageId']
  @CanvasType = params['CanvasType']
  @PicType = params['PicType']
  @WidgetIds = params['WidgetIds']
  @AsyncRequest = params['AsyncRequest']
  @TranId = params['TranId']
end