class TencentCloud::Ess::V20201111::CreateBatchOrganizationRegistrationTasksRequest
CreateBatchOrganizationRegistrationTasks请求参数结构体
def deserialize(params)
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'] end
def initialize(operator=nil, registrationorganizations=nil, agent=nil, endpoint=nil)
def initialize(operator=nil, registrationorganizations=nil, agent=nil, endpoint=nil) @Operator = operator @RegistrationOrganizations = registrationorganizations @Agent = agent @Endpoint = endpoint end