Class: TencentCloud::Ess::V20201111::CreateBatchOrganizationRegistrationTasksRequest

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

Overview

CreateBatchOrganizationRegistrationTasks请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateBatchOrganizationRegistrationTasksRequest.



2482
2483
2484
2485
2486
2487
2488
# File 'lib/v20201111/models.rb', line 2482

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

Instance Attribute Details

#AgentObject

p.s. 请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。



2480
2481
2482
# File 'lib/v20201111/models.rb', line 2480

def Agent
  @Agent
end

#BatchAuthMethodObject

p.s. 请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。



2480
2481
2482
# File 'lib/v20201111/models.rb', line 2480

def BatchAuthMethod
  @BatchAuthMethod
end

#EndpointObject

p.s. 请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。



2480
2481
2482
# File 'lib/v20201111/models.rb', line 2480

def Endpoint
  @Endpoint
end

#OperatorObject

p.s. 请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。



2480
2481
2482
# File 'lib/v20201111/models.rb', line 2480

def Operator
  @Operator
end

#RegistrationOrganizationsObject

p.s. 请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。



2480
2481
2482
# File 'lib/v20201111/models.rb', line 2480

def RegistrationOrganizations
  @RegistrationOrganizations
end

Instance Method Details

#deserialize(params) ⇒ Object



2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
# File 'lib/v20201111/models.rb', line 2490

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