Class: TencentCloud::Ess::V20201111::CreateExtendedServiceAuthInfosRequest

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

Overview

CreateExtendedServiceAuthInfos请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator = nil, userids = nil, extendservicetype = nil, agent = nil) ⇒ CreateExtendedServiceAuthInfosRequest

Returns a new instance of CreateExtendedServiceAuthInfosRequest.



3667
3668
3669
3670
3671
3672
# File 'lib/v20201111/models.rb', line 3667

def initialize(operator=nil, userids=nil, extendservicetype=nil, agent=nil)
  @Operator = operator
  @UserIds = userids
  @ExtendServiceType = extendservicetype
  @Agent = agent
end

Instance Attribute Details

#AgentObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。

  • OPEN_SERVER_SIGN:企业自动签
  • BATCH_SIGN:批量签署
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • 执行本接口操作的员工信息。

  • 本企业员工的id,需要已实名,正常在职员工

  • 取值

  • 代理企业和员工的信息。



3665
3666
3667
# File 'lib/v20201111/models.rb', line 3665

def Agent
  @Agent
end

#ExtendServiceTypeObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。

  • OPEN_SERVER_SIGN:企业自动签
  • BATCH_SIGN:批量签署
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • 执行本接口操作的员工信息。

  • 本企业员工的id,需要已实名,正常在职员工

  • 取值

  • 代理企业和员工的信息。



3665
3666
3667
# File 'lib/v20201111/models.rb', line 3665

def ExtendServiceType
  @ExtendServiceType
end

#OperatorObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。

  • OPEN_SERVER_SIGN:企业自动签
  • BATCH_SIGN:批量签署
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • 执行本接口操作的员工信息。

  • 本企业员工的id,需要已实名,正常在职员工

  • 取值

  • 代理企业和员工的信息。



3665
3666
3667
# File 'lib/v20201111/models.rb', line 3665

def Operator
  @Operator
end

#UserIdsObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。

  • OPEN_SERVER_SIGN:企业自动签
  • BATCH_SIGN:批量签署
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • 执行本接口操作的员工信息。

  • 本企业员工的id,需要已实名,正常在职员工

  • 取值

  • 代理企业和员工的信息。



3665
3666
3667
# File 'lib/v20201111/models.rb', line 3665

def UserIds
  @UserIds
end

Instance Method Details

#deserialize(params) ⇒ Object



3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
# File 'lib/v20201111/models.rb', line 3674

def deserialize(params)
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  @UserIds = params['UserIds']
  @ExtendServiceType = params['ExtendServiceType']
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
end