Class: TencentCloud::Essbasic::V20210526::CreateBatchOrganizationRegistrationTasksRequest

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

Overview

CreateBatchOrganizationRegistrationTasks请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agent = nil, registrationorganizations = nil, endpoint = nil, batchauthmethod = nil) ⇒ CreateBatchOrganizationRegistrationTasksRequest

Returns a new instance of CreateBatchOrganizationRegistrationTasksRequest.



5612
5613
5614
5615
5616
5617
# File 'lib/v20210526/models.rb', line 5612

def initialize(agent=nil, registrationorganizations=nil, endpoint=nil, batchauthmethod=nil)
  @Agent = agent
  @RegistrationOrganizations = registrationorganizations
  @Endpoint = endpoint
  @BatchAuthMethod = batchauthmethod
end

Instance Attribute Details

#AgentObject

Parameters:

  • 认证链接使用单链接还是多链接模式

    • 0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证
    • 1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证
    p.s.请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。



5610
5611
5612
# File 'lib/v20210526/models.rb', line 5610

def Agent
  @Agent
end

#BatchAuthMethodObject

Parameters:

  • 认证链接使用单链接还是多链接模式

    • 0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证
    • 1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证
    p.s.请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。



5610
5611
5612
# File 'lib/v20210526/models.rb', line 5610

def BatchAuthMethod
  @BatchAuthMethod
end

#EndpointObject

Parameters:

  • 认证链接使用单链接还是多链接模式

    • 0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证
    • 1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证
    p.s.请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。



5610
5611
5612
# File 'lib/v20210526/models.rb', line 5610

def Endpoint
  @Endpoint
end

#RegistrationOrganizationsObject

Parameters:

  • 认证链接使用单链接还是多链接模式

    • 0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证
    • 1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证
    p.s.请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。



5610
5611
5612
# File 'lib/v20210526/models.rb', line 5610

def RegistrationOrganizations
  @RegistrationOrganizations
end

Instance Method Details

#deserialize(params) ⇒ Object



5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
# File 'lib/v20210526/models.rb', line 5619

def deserialize(params)
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  unless params['RegistrationOrganizations'].nil?
    @RegistrationOrganizations = []
    params['RegistrationOrganizations'].each do |i|
      registrationorganizationinfo_tmp = RegistrationOrganizationInfo.new
      registrationorganizationinfo_tmp.deserialize(i)
      @RegistrationOrganizations << registrationorganizationinfo_tmp
    end
  end
  @Endpoint = params['Endpoint']
  @BatchAuthMethod = params['BatchAuthMethod']
end