Class: TencentCloud::Ccc::V20200210::CreateStaffRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::CreateStaffRequest
- Defined in:
- lib/v20200210/models.rb
Overview
CreateStaff请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sdkappid = nil, staffs = nil, sendpassword = nil) ⇒ CreateStaffRequest
constructor
A new instance of CreateStaffRequest.
Constructor Details
#initialize(sdkappid = nil, staffs = nil, sendpassword = nil) ⇒ CreateStaffRequest
Returns a new instance of CreateStaffRequest.
2332 2333 2334 2335 2336 |
# File 'lib/v20200210/models.rb', line 2332 def initialize(sdkappid=nil, staffs=nil, sendpassword=nil) @SdkAppId = sdkappid @Staffs = staffs @SendPassword = sendpassword end |
Instance Attribute Details
#SdkAppId ⇒ Object
2330 2331 2332 |
# File 'lib/v20200210/models.rb', line 2330 def SdkAppId @SdkAppId end |
#SendPassword ⇒ Object
2330 2331 2332 |
# File 'lib/v20200210/models.rb', line 2330 def SendPassword @SendPassword end |
#Staffs ⇒ Object
2330 2331 2332 |
# File 'lib/v20200210/models.rb', line 2330 def Staffs @Staffs end |
Instance Method Details
#deserialize(params) ⇒ Object
2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 |
# File 'lib/v20200210/models.rb', line 2338 def deserialize(params) @SdkAppId = params['SdkAppId'] unless params['Staffs'].nil? @Staffs = [] params['Staffs'].each do |i| seatuserinfo_tmp = SeatUserInfo.new seatuserinfo_tmp.deserialize(i) @Staffs << seatuserinfo_tmp end end @SendPassword = params['SendPassword'] end |