Class: TencentCloud::Ess::V20201111::CreateOrganizationAuthFileRequest

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

Overview

CreateOrganizationAuthFile请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(organizationcommoninfo = nil, agent = nil, operator = nil, type = nil) ⇒ CreateOrganizationAuthFileRequest

Returns a new instance of CreateOrganizationAuthFileRequest.



6172
6173
6174
6175
6176
6177
# File 'lib/v20201111/models.rb', line 6172

def initialize(organizationcommoninfo=nil, agent=nil, operator=nil, type=nil)
  @OrganizationCommonInfo = organizationcommoninfo
  @Agent = agent
  @Operator = operator
  @Type = type
end

Instance Attribute Details

#AgentObject

  • 0: 企业认证超管授权书
  • 1: 超管变更授权书
  • 2: 企业注销授权书

Parameters:

  • OrganizationCommonInfo:

    企业授权书信息参数, 需要自行保证这些参数跟营业执照中的信息一致。

  • Agent:

    代理企业和员工的信息。
    在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

  • Operator:

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

  • Type:

    授权书类型:



6170
6171
6172
# File 'lib/v20201111/models.rb', line 6170

def Agent
  @Agent
end

#OperatorObject

  • 0: 企业认证超管授权书
  • 1: 超管变更授权书
  • 2: 企业注销授权书

Parameters:

  • OrganizationCommonInfo:

    企业授权书信息参数, 需要自行保证这些参数跟营业执照中的信息一致。

  • Agent:

    代理企业和员工的信息。
    在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

  • Operator:

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

  • Type:

    授权书类型:



6170
6171
6172
# File 'lib/v20201111/models.rb', line 6170

def Operator
  @Operator
end

#OrganizationCommonInfoObject

  • 0: 企业认证超管授权书
  • 1: 超管变更授权书
  • 2: 企业注销授权书

Parameters:

  • OrganizationCommonInfo:

    企业授权书信息参数, 需要自行保证这些参数跟营业执照中的信息一致。

  • Agent:

    代理企业和员工的信息。
    在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

  • Operator:

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

  • Type:

    授权书类型:



6170
6171
6172
# File 'lib/v20201111/models.rb', line 6170

def OrganizationCommonInfo
  @OrganizationCommonInfo
end

#TypeObject

  • 0: 企业认证超管授权书
  • 1: 超管变更授权书
  • 2: 企业注销授权书

Parameters:

  • OrganizationCommonInfo:

    企业授权书信息参数, 需要自行保证这些参数跟营业执照中的信息一致。

  • Agent:

    代理企业和员工的信息。
    在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

  • Operator:

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

  • Type:

    授权书类型:



6170
6171
6172
# File 'lib/v20201111/models.rb', line 6170

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
# File 'lib/v20201111/models.rb', line 6179

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