Class: TencentCloud::Organization::V20181225::ListOrganizationInvitationsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20181225::ListOrganizationInvitationsResponse
- Defined in:
- lib/v20181225/models.rb
Overview
ListOrganizationInvitations返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(invitations = nil, totalcount = nil, requestid = nil) ⇒ ListOrganizationInvitationsResponse
constructor
A new instance of ListOrganizationInvitationsResponse.
Constructor Details
#initialize(invitations = nil, totalcount = nil, requestid = nil) ⇒ ListOrganizationInvitationsResponse
Returns a new instance of ListOrganizationInvitationsResponse.
477 478 479 480 481 |
# File 'lib/v20181225/models.rb', line 477 def initialize(invitations=nil, totalcount=nil, requestid=nil) @Invitations = invitations @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Invitations ⇒ Object
475 476 477 |
# File 'lib/v20181225/models.rb', line 475 def Invitations @Invitations end |
#RequestId ⇒ Object
475 476 477 |
# File 'lib/v20181225/models.rb', line 475 def RequestId @RequestId end |
#TotalCount ⇒ Object
475 476 477 |
# File 'lib/v20181225/models.rb', line 475 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
483 484 485 486 487 488 489 490 491 492 493 494 |
# File 'lib/v20181225/models.rb', line 483 def deserialize(params) unless params['Invitations'].nil? @Invitations = [] params['Invitations'].each do |i| orginvitation_tmp = OrgInvitation.new orginvitation_tmp.deserialize(i) @Invitations << orginvitation_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |