Class: TencentCloud::Ess::V20201111::DescribeFlowTemplatesRequest

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20201111/models.rb

Overview

DescribeFlowTemplates请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator = nil, agent = nil, contenttype = nil, filters = nil, offset = nil, limit = nil, applicationid = nil, ischannel = nil, organization = nil, generatesource = nil, withpreviewurl = nil) ⇒ DescribeFlowTemplatesRequest

Returns a new instance of DescribeFlowTemplatesRequest.



10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
# File 'lib/v20201111/models.rb', line 10583

def initialize(operator=nil, agent=nil, contenttype=nil, filters=nil, offset=nil, limit=nil, applicationid=nil, ischannel=nil, organization=nil, generatesource=nil, withpreviewurl=nil)
  @Operator = operator
  @Agent = agent
  @ContentType = contenttype
  @Filters = filters
  @Offset = offset
  @Limit = limit
  @ApplicationId = applicationid
  @IsChannel = ischannel
  @Organization = organization
  @GenerateSource = generatesource
  @WithPreviewUrl = withpreviewurl
end

Instance Attribute Details

#AgentObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def Agent
  @Agent
end

#ApplicationIdObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def ApplicationId
  @ApplicationId
end

#ContentTypeObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def ContentType
  @ContentType
end

#FiltersObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def Filters
  @Filters
end

#GenerateSourceObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def GenerateSource
  @GenerateSource
end

#IsChannelObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def IsChannel
  @IsChannel
end

#LimitObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def Limit
  @Limit
end

#OffsetObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def Offset
  @Offset
end

#OperatorObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def Operator
  @Operator
end

#OrganizationObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def Organization
  @Organization
end

#WithPreviewUrlObject

  • false:不获取(默认)
  • true:需要获取
设置为true之后, 返回参数PreviewUrl,为模板的H5预览链接, 有效期5分钟。可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。


10574
10575
10576
# File 'lib/v20201111/models.rb', line 10574

def WithPreviewUrl
  @WithPreviewUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
# File 'lib/v20201111/models.rb', line 10597

def deserialize(params)
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  @ContentType = params['ContentType']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
  @Offset = params['Offset']
  @Limit = params['Limit']
  @ApplicationId = params['ApplicationId']
  @IsChannel = params['IsChannel']
  unless params['Organization'].nil?
    @Organization = OrganizationInfo.new
    @Organization.deserialize(params['Organization'])
  end
  @GenerateSource = params['GenerateSource']
  @WithPreviewUrl = params['WithPreviewUrl']
end