Class: TencentCloud::Ccc::V20200210::CreateStaffResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::CreateStaffResponse
- Defined in:
- lib/v20200210/models.rb
Overview
CreateStaff返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(errorstafflist = nil, requestid = nil) ⇒ CreateStaffResponse
constructor
A new instance of CreateStaffResponse.
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
#ErrorStaffList ⇒ Object
2359 2360 2361 |
# File 'lib/v20200210/models.rb', line 2359 def ErrorStaffList @ErrorStaffList end |
#RequestId ⇒ Object
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 |