Class: TencentCloud::Ciam::V20220331::DescribeUserResponse

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

Overview

DescribeUser返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, pageable = nil, content = nil, requestid = nil) ⇒ DescribeUserResponse



576
577
578
579
580
581
# File 'lib/v20220331/models.rb', line 576

def initialize(total=nil, pageable=nil, content=nil, requestid=nil)
  @Total = total
  @Pageable = pageable
  @Content = content
  @RequestId = requestid
end

Instance Attribute Details

#ContentObject

注意:此字段可能返回 null,表示取不到有效值。



574
575
576
# File 'lib/v20220331/models.rb', line 574

def Content
  @Content
end

#PageableObject

注意:此字段可能返回 null,表示取不到有效值。



574
575
576
# File 'lib/v20220331/models.rb', line 574

def Pageable
  @Pageable
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。



574
575
576
# File 'lib/v20220331/models.rb', line 574

def RequestId
  @RequestId
end

#TotalObject

注意:此字段可能返回 null,表示取不到有效值。



574
575
576
# File 'lib/v20220331/models.rb', line 574

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
# File 'lib/v20220331/models.rb', line 583

def deserialize(params)
  @Total = params['Total']
  unless params['Pageable'].nil?
    @Pageable = Pageable.new
    @Pageable.deserialize(params['Pageable'])
  end
  unless params['Content'].nil?
    @Content = []
    params['Content'].each do |i|
      user_tmp = User.new
      user_tmp.deserialize(i)
      @Content << user_tmp
    end
  end
  @RequestId = params['RequestId']
end