Class: TencentCloud::Ess::V20201111::CreateSingleSignOnEmployeesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::CreateSingleSignOnEmployeesRequest
- Defined in:
- lib/v20201111/models.rb
Overview
CreateSingleSignOnEmployees请求参数结构体
Instance Attribute Summary collapse
-
#Agent ⇒ Object
注意: 1.
-
#Employees ⇒ Object
注意: 1.
-
#Operator ⇒ Object
注意: 1.
-
#SsoApplicationId ⇒ Object
注意: 1.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(operator = nil, employees = nil, ssoapplicationid = nil, agent = nil) ⇒ CreateSingleSignOnEmployeesRequest
constructor
A new instance of CreateSingleSignOnEmployeesRequest.
Constructor Details
#initialize(operator = nil, employees = nil, ssoapplicationid = nil, agent = nil) ⇒ CreateSingleSignOnEmployeesRequest
Returns a new instance of CreateSingleSignOnEmployeesRequest.
7863 7864 7865 7866 7867 7868 |
# File 'lib/v20201111/models.rb', line 7863 def initialize(operator=nil, employees=nil, ssoapplicationid=nil, agent=nil) @Operator = operator @Employees = employees @SsoApplicationId = ssoapplicationid @Agent = agent end |
Instance Attribute Details
#Agent ⇒ Object
注意:
- 传递的 openId 不能重复, 且字符不能超过64位。
- 传递的手机号不能重复。
- 绑定的角色必须存在且不能超过 10 个。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
7861 7862 7863 |
# File 'lib/v20201111/models.rb', line 7861 def Agent @Agent end |
#Employees ⇒ Object
注意:
- 传递的 openId 不能重复, 且字符不能超过64位。
- 传递的手机号不能重复。
- 绑定的角色必须存在且不能超过 10 个。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
7861 7862 7863 |
# File 'lib/v20201111/models.rb', line 7861 def Employees @Employees end |
#Operator ⇒ Object
注意:
- 传递的 openId 不能重复, 且字符不能超过64位。
- 传递的手机号不能重复。
- 绑定的角色必须存在且不能超过 10 个。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
7861 7862 7863 |
# File 'lib/v20201111/models.rb', line 7861 def Operator @Operator end |
#SsoApplicationId ⇒ Object
注意:
- 传递的 openId 不能重复, 且字符不能超过64位。
- 传递的手机号不能重复。
- 绑定的角色必须存在且不能超过 10 个。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
7861 7862 7863 |
# File 'lib/v20201111/models.rb', line 7861 def SsoApplicationId @SsoApplicationId end |
Instance Method Details
#deserialize(params) ⇒ Object
7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 |
# File 'lib/v20201111/models.rb', line 7870 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| singlesignonemployees_tmp = SingleSignOnEmployees.new singlesignonemployees_tmp.deserialize(i) @Employees << singlesignonemployees_tmp end end @SsoApplicationId = params['SsoApplicationId'] unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end end |
