Class: TencentCloud::Organization::V20181225::ListOrganizationMembersResponse

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

Overview

ListOrganizationMembers返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(members = nil, totalcount = nil, requestid = nil) ⇒ ListOrganizationMembersResponse



528
529
530
531
532
# File 'lib/v20181225/models.rb', line 528

def initialize(members=nil, totalcount=nil, requestid=nil)
  @Members = members
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#MembersObject



526
527
528
# File 'lib/v20181225/models.rb', line 526

def Members
  @Members
end

#RequestIdObject



526
527
528
# File 'lib/v20181225/models.rb', line 526

def RequestId
  @RequestId
end

#TotalCountObject



526
527
528
# File 'lib/v20181225/models.rb', line 526

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



534
535
536
537
538
539
540
541
542
543
544
545
# File 'lib/v20181225/models.rb', line 534

def deserialize(params)
  unless params['Members'].nil?
    @Members = []
    params['Members'].each do |i|
      orgmember_tmp = OrgMember.new
      orgmember_tmp.deserialize(i)
      @Members << orgmember_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end