Class: TencentCloud::Organization::V20181225::ListOrganizationInvitationsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181225/models.rb

Overview

ListOrganizationInvitations返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#InvitationsObject

Parameters:

  • Invitations:

    邀请信息列表

  • TotalCount:

    总数目

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



475
476
477
# File 'lib/v20181225/models.rb', line 475

def Invitations
  @Invitations
end

#RequestIdObject

Parameters:

  • Invitations:

    邀请信息列表

  • TotalCount:

    总数目

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



475
476
477
# File 'lib/v20181225/models.rb', line 475

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • Invitations:

    邀请信息列表

  • TotalCount:

    总数目

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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