Class: TencentCloud::Essbasic::V20210526::ChannelDescribeEmployeesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Essbasic::V20210526::ChannelDescribeEmployeesResponse
- Defined in:
- lib/v20210526/models.rb
Overview
ChannelDescribeEmployees返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(employees = nil, offset = nil, limit = nil, totalcount = nil, requestid = nil) ⇒ ChannelDescribeEmployeesResponse
constructor
A new instance of ChannelDescribeEmployeesResponse.
Constructor Details
#initialize(employees = nil, offset = nil, limit = nil, totalcount = nil, requestid = nil) ⇒ ChannelDescribeEmployeesResponse
Returns a new instance of ChannelDescribeEmployeesResponse.
4084 4085 4086 4087 4088 4089 4090 |
# File 'lib/v20210526/models.rb', line 4084 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
4082 4083 4084 |
# File 'lib/v20210526/models.rb', line 4082 def Employees @Employees end |
#Limit ⇒ Object
4082 4083 4084 |
# File 'lib/v20210526/models.rb', line 4082 def Limit @Limit end |
#Offset ⇒ Object
4082 4083 4084 |
# File 'lib/v20210526/models.rb', line 4082 def Offset @Offset end |
#RequestId ⇒ Object
4082 4083 4084 |
# File 'lib/v20210526/models.rb', line 4082 def RequestId @RequestId end |
#TotalCount ⇒ Object
4082 4083 4084 |
# File 'lib/v20210526/models.rb', line 4082 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 |
# File 'lib/v20210526/models.rb', line 4092 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 |