Class: TencentCloud::Ess::V20201111::CreateStaffResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::CreateStaffResult
- Defined in:
- lib/v20201111/models.rb
Overview
创建员工的结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(successemployeedata = nil, failedemployeedata = nil) ⇒ CreateStaffResult
constructor
A new instance of CreateStaffResult.
Constructor Details
#initialize(successemployeedata = nil, failedemployeedata = nil) ⇒ CreateStaffResult
Returns a new instance of CreateStaffResult.
7927 7928 7929 7930 |
# File 'lib/v20201111/models.rb', line 7927 def initialize(successemployeedata=nil, failedemployeedata=nil) @SuccessEmployeeData = successemployeedata @FailedEmployeeData = failedemployeedata end |
Instance Attribute Details
#FailedEmployeeData ⇒ Object
7925 7926 7927 |
# File 'lib/v20201111/models.rb', line 7925 def FailedEmployeeData @FailedEmployeeData end |
#SuccessEmployeeData ⇒ Object
7925 7926 7927 |
# File 'lib/v20201111/models.rb', line 7925 def SuccessEmployeeData @SuccessEmployeeData end |
Instance Method Details
#deserialize(params) ⇒ Object
7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 |
# File 'lib/v20201111/models.rb', line 7932 def deserialize(params) unless params['SuccessEmployeeData'].nil? @SuccessEmployeeData = [] params['SuccessEmployeeData'].each do |i| successcreatestaffdata_tmp = SuccessCreateStaffData.new successcreatestaffdata_tmp.deserialize(i) @SuccessEmployeeData << successcreatestaffdata_tmp end end unless params['FailedEmployeeData'].nil? @FailedEmployeeData = [] params['FailedEmployeeData'].each do |i| failedcreatestaffdata_tmp = FailedCreateStaffData.new failedcreatestaffdata_tmp.deserialize(i) @FailedEmployeeData << failedcreatestaffdata_tmp end end end |