Class: TencentCloud::Ccc::V20200210::CreateStaffResponse

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

Overview

CreateStaff返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errorstafflist = nil, requestid = nil) ⇒ CreateStaffResponse

Returns a new instance of CreateStaffResponse.



2361
2362
2363
2364
# File 'lib/v20200210/models.rb', line 2361

def initialize(errorstafflist=nil, requestid=nil)
  @ErrorStaffList = errorstafflist
  @RequestId = requestid
end

Instance Attribute Details

#ErrorStaffListObject

Parameters:

  • ErrorStaffList:

    错误坐席列表及错误信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2359
2360
2361
# File 'lib/v20200210/models.rb', line 2359

def ErrorStaffList
  @ErrorStaffList
end

#RequestIdObject

Parameters:

  • ErrorStaffList:

    错误坐席列表及错误信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2359
2360
2361
# File 'lib/v20200210/models.rb', line 2359

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/v20200210/models.rb', line 2366

def deserialize(params)
  unless params['ErrorStaffList'].nil?
    @ErrorStaffList = []
    params['ErrorStaffList'].each do |i|
      errstaffitem_tmp = ErrStaffItem.new
      errstaffitem_tmp.deserialize(i)
      @ErrorStaffList << errstaffitem_tmp
    end
  end
  @RequestId = params['RequestId']
end