Class: TencentCloud::Essbasic::V20210526::ChannelCreateWebThemeConfigRequest

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

Overview

ChannelCreateWebThemeConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agent = nil, themetype = nil, webthemeconfig = nil) ⇒ ChannelCreateWebThemeConfigRequest

Returns a new instance of ChannelCreateWebThemeConfigRequest.



3644
3645
3646
3647
3648
# File 'lib/v20210526/models.rb', line 3644

def initialize(agent=nil, themetype=nil, webthemeconfig=nil)
  @Agent = agent
  @ThemeType = themetype
  @WebThemeConfig = webthemeconfig
end

Instance Attribute Details

#AgentObject

  • EMBED_WEB_THEME,web页面嵌入的主题风格配置
  • COMPANY_AUTHENTICATE,子客认证主题配置, 对当前第三方应用号生效, 目前支持的有,背景图替换,隐藏企业认证页面导航栏和隐藏企业认证顶部logo

Parameters:

  • Agent:

    应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。

  • ThemeType:

    主题类型
    EMBED_WEB_THEME:嵌入式主题

  • WebThemeConfig:

    主题配置



3642
3643
3644
# File 'lib/v20210526/models.rb', line 3642

def Agent
  @Agent
end

#ThemeTypeObject

  • EMBED_WEB_THEME,web页面嵌入的主题风格配置
  • COMPANY_AUTHENTICATE,子客认证主题配置, 对当前第三方应用号生效, 目前支持的有,背景图替换,隐藏企业认证页面导航栏和隐藏企业认证顶部logo

Parameters:

  • Agent:

    应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。

  • ThemeType:

    主题类型
    EMBED_WEB_THEME:嵌入式主题

  • WebThemeConfig:

    主题配置



3642
3643
3644
# File 'lib/v20210526/models.rb', line 3642

def ThemeType
  @ThemeType
end

#WebThemeConfigObject

  • EMBED_WEB_THEME,web页面嵌入的主题风格配置
  • COMPANY_AUTHENTICATE,子客认证主题配置, 对当前第三方应用号生效, 目前支持的有,背景图替换,隐藏企业认证页面导航栏和隐藏企业认证顶部logo

Parameters:

  • Agent:

    应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。

  • ThemeType:

    主题类型
    EMBED_WEB_THEME:嵌入式主题

  • WebThemeConfig:

    主题配置



3642
3643
3644
# File 'lib/v20210526/models.rb', line 3642

def WebThemeConfig
  @WebThemeConfig
end

Instance Method Details

#deserialize(params) ⇒ Object



3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
# File 'lib/v20210526/models.rb', line 3650

def deserialize(params)
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  @ThemeType = params['ThemeType']
  unless params['WebThemeConfig'].nil?
    @WebThemeConfig = WebThemeConfig.new
    @WebThemeConfig.deserialize(params['WebThemeConfig'])
  end
end