Class: TencentCloud::Ess::V20201111::CreateIntegrationEmployeesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::CreateIntegrationEmployeesRequest
- Defined in:
- lib/v20201111/models.rb
Overview
CreateIntegrationEmployees请求参数结构体
Instance Attribute Summary collapse
-
#Agent ⇒ Object
注:
只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。. -
#Employees ⇒ Object
注:
只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。. -
#Endpoint ⇒ Object
注:
只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。. -
#InvitationNotifyType ⇒ Object
注:
只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。. -
#JumpUrl ⇒ Object
注:
只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。. -
#Operator ⇒ Object
注:
只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(operator = nil, employees = nil, agent = nil, invitationnotifytype = nil, jumpurl = nil, endpoint = nil) ⇒ CreateIntegrationEmployeesRequest
constructor
A new instance of CreateIntegrationEmployeesRequest.
Constructor Details
#initialize(operator = nil, employees = nil, agent = nil, invitationnotifytype = nil, jumpurl = nil, endpoint = nil) ⇒ CreateIntegrationEmployeesRequest
Returns a new instance of CreateIntegrationEmployeesRequest.
5431 5432 5433 5434 5435 5436 5437 5438 |
# File 'lib/v20201111/models.rb', line 5431 def initialize(operator=nil, employees=nil, agent=nil, invitationnotifytype=nil, jumpurl=nil, endpoint=nil) @Operator = operator @Employees = employees @Agent = agent @InvitationNotifyType = invitationnotifytype @JumpUrl = jumpurl @Endpoint = endpoint end |
Instance Attribute Details
#Agent ⇒ Object
注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。
5429 5430 5431 |
# File 'lib/v20201111/models.rb', line 5429 def Agent @Agent end |
#Employees ⇒ Object
注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。
5429 5430 5431 |
# File 'lib/v20201111/models.rb', line 5429 def Employees @Employees end |
#Endpoint ⇒ Object
注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。
5429 5430 5431 |
# File 'lib/v20201111/models.rb', line 5429 def Endpoint @Endpoint end |
#InvitationNotifyType ⇒ Object
注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。
5429 5430 5431 |
# File 'lib/v20201111/models.rb', line 5429 def InvitationNotifyType @InvitationNotifyType end |
#JumpUrl ⇒ Object
注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。
5429 5430 5431 |
# File 'lib/v20201111/models.rb', line 5429 def JumpUrl @JumpUrl end |
#Operator ⇒ Object
注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。
5429 5430 5431 |
# File 'lib/v20201111/models.rb', line 5429 def Operator @Operator end |
Instance Method Details
#deserialize(params) ⇒ Object
5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 |
# File 'lib/v20201111/models.rb', line 5440 def deserialize(params) unless params['Operator'].nil? @Operator = UserInfo.new @Operator.deserialize(params['Operator']) end unless params['Employees'].nil? @Employees = [] params['Employees'].each do |i| staff_tmp = Staff.new staff_tmp.deserialize(i) @Employees << staff_tmp end end unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end @InvitationNotifyType = params['InvitationNotifyType'] @JumpUrl = params['JumpUrl'] @Endpoint = params['Endpoint'] end |