Class: TencentCloud::Ess::V20201111::DescribeIntegrationEmployeesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::DescribeIntegrationEmployeesResponse
- Defined in:
- lib/v20201111/models.rb
Overview
DescribeIntegrationEmployees返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(employees = nil, offset = nil, limit = nil, totalcount = nil, requestid = nil) ⇒ DescribeIntegrationEmployeesResponse
constructor
A new instance of DescribeIntegrationEmployeesResponse.
Constructor Details
#initialize(employees = nil, offset = nil, limit = nil, totalcount = nil, requestid = nil) ⇒ DescribeIntegrationEmployeesResponse
Returns a new instance of DescribeIntegrationEmployeesResponse.
10937 10938 10939 10940 10941 10942 10943 |
# File 'lib/v20201111/models.rb', line 10937 def initialize(employees=nil, offset=nil, limit=nil, totalcount=nil, requestid=nil) @Employees = employees @Offset = offset @Limit = limit @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Employees ⇒ Object
10935 10936 10937 |
# File 'lib/v20201111/models.rb', line 10935 def Employees @Employees end |
#Limit ⇒ Object
10935 10936 10937 |
# File 'lib/v20201111/models.rb', line 10935 def Limit @Limit end |
#Offset ⇒ Object
10935 10936 10937 |
# File 'lib/v20201111/models.rb', line 10935 def Offset @Offset end |
#RequestId ⇒ Object
10935 10936 10937 |
# File 'lib/v20201111/models.rb', line 10935 def RequestId @RequestId end |
#TotalCount ⇒ Object
10935 10936 10937 |
# File 'lib/v20201111/models.rb', line 10935 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 |
# File 'lib/v20201111/models.rb', line 10945 def deserialize(params) unless params['Employees'].nil? @Employees = [] params['Employees'].each do |i| staff_tmp = Staff.new staff_tmp.deserialize(i) @Employees << staff_tmp end end @Offset = params['Offset'] @Limit = params['Limit'] @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |