Class: TencentCloud::Organization::V20210331::ListOrganizationServiceResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::ListOrganizationServiceResponse
- Defined in:
- lib/v20210331/models.rb
Overview
ListOrganizationService返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, items = nil, requestid = nil) ⇒ ListOrganizationServiceResponse
constructor
A new instance of ListOrganizationServiceResponse.
Constructor Details
#initialize(total = nil, items = nil, requestid = nil) ⇒ ListOrganizationServiceResponse
Returns a new instance of ListOrganizationServiceResponse.
4714 4715 4716 4717 4718 |
# File 'lib/v20210331/models.rb', line 4714 def initialize(total=nil, items=nil, requestid=nil) @Total = total @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
4712 4713 4714 |
# File 'lib/v20210331/models.rb', line 4712 def Items @Items end |
#RequestId ⇒ Object
4712 4713 4714 |
# File 'lib/v20210331/models.rb', line 4712 def RequestId @RequestId end |
#Total ⇒ Object
4712 4713 4714 |
# File 'lib/v20210331/models.rb', line 4712 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 |
# File 'lib/v20210331/models.rb', line 4720 def deserialize(params) @Total = params['Total'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| organizationserviceassign_tmp = OrganizationServiceAssign.new organizationserviceassign_tmp.deserialize(i) @Items << organizationserviceassign_tmp end end @RequestId = params['RequestId'] end |