Class: TencentCloud::Essbasic::V20210526::ChannelCreateRoleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Essbasic::V20210526::ChannelCreateRoleRequest
- Defined in:
- lib/v20210526/models.rb
Overview
ChannelCreateRole请求参数结构体
Instance Attribute Summary collapse
-
#Agent ⇒ Object
此接口下面信息必填。
- 渠道应用标识: Agent.AppId
- 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
- 第三方平台子客企业中的员工标识: Agent.
-
#Description ⇒ Object
此接口下面信息必填。
- 渠道应用标识: Agent.AppId
- 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
- 第三方平台子客企业中的员工标识: Agent.
-
#Name ⇒ Object
此接口下面信息必填。
- 渠道应用标识: Agent.AppId
- 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
- 第三方平台子客企业中的员工标识: Agent.
-
#PermissionGroups ⇒ Object
此接口下面信息必填。
- 渠道应用标识: Agent.AppId
- 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
- 第三方平台子客企业中的员工标识: Agent.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, agent = nil, description = nil, permissiongroups = nil) ⇒ ChannelCreateRoleRequest
constructor
A new instance of ChannelCreateRoleRequest.
Constructor Details
#initialize(name = nil, agent = nil, description = nil, permissiongroups = nil) ⇒ ChannelCreateRoleRequest
Returns a new instance of ChannelCreateRoleRequest.
3217 3218 3219 3220 3221 3222 |
# File 'lib/v20210526/models.rb', line 3217 def initialize(name=nil, agent=nil, description=nil, =nil) @Name = name @Agent = agent @Description = description @PermissionGroups = end |
Instance Attribute Details
#Agent ⇒ Object
此接口下面信息必填。
- 渠道应用标识: Agent.AppId
- 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
- 第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId
3215 3216 3217 |
# File 'lib/v20210526/models.rb', line 3215 def Agent @Agent end |
#Description ⇒ Object
此接口下面信息必填。
- 渠道应用标识: Agent.AppId
- 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
- 第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId
3215 3216 3217 |
# File 'lib/v20210526/models.rb', line 3215 def Description @Description end |
#Name ⇒ Object
此接口下面信息必填。
- 渠道应用标识: Agent.AppId
- 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
- 第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId
3215 3216 3217 |
# File 'lib/v20210526/models.rb', line 3215 def Name @Name end |
#PermissionGroups ⇒ Object
此接口下面信息必填。
- 渠道应用标识: Agent.AppId
- 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
- 第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId
3215 3216 3217 |
# File 'lib/v20210526/models.rb', line 3215 def PermissionGroups @PermissionGroups end |
Instance Method Details
#deserialize(params) ⇒ Object
3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 |
# File 'lib/v20210526/models.rb', line 3224 def deserialize(params) @Name = params['Name'] unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end @Description = params['Description'] unless params['PermissionGroups'].nil? @PermissionGroups = [] params['PermissionGroups'].each do |i| = PermissionGroup.new .deserialize(i) @PermissionGroups << end end end |