Class: TencentCloud::Ess::V20201111::CreateLegalSealQrCodeRequest

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

Overview

CreateLegalSealQrCode请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator = nil, agent = nil, organization = nil) ⇒ CreateLegalSealQrCodeRequest

Returns a new instance of CreateLegalSealQrCodeRequest.



5730
5731
5732
5733
5734
# File 'lib/v20201111/models.rb', line 5730

def initialize(operator=nil, agent=nil, organization=nil)
  @Operator = operator
  @Agent = agent
  @Organization = organization
end

Instance Attribute Details

#AgentObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    机构信息,暂未开放



5725
5726
5727
# File 'lib/v20201111/models.rb', line 5725

def Agent
  @Agent
end

#OperatorObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    机构信息,暂未开放



5725
5726
5727
# File 'lib/v20201111/models.rb', line 5725

def Operator
  @Operator
end

#OrganizationObject

注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

Parameters:

  • Operator:

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

  • Agent:

    代理企业和员工的信息。

  • Organization:

    机构信息,暂未开放



5725
5726
5727
# File 'lib/v20201111/models.rb', line 5725

def Organization
  @Organization
end

Instance Method Details

#deserialize(params) ⇒ Object



5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
# File 'lib/v20201111/models.rb', line 5736

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