Class: TencentCloud::Bh::V20230418::UserDirectory
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bh::V20230418::UserDirectory
- Defined in:
- lib/v20230418/models.rb
Overview
用户目录信息
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #DirId ⇒ Object
- #DirName ⇒ Object
- #Id ⇒ Object
- #Source ⇒ Object
- #SourceName ⇒ Object
- #UserOrgSet ⇒ Object
- #UserTotal ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, dirid = nil, dirname = nil, source = nil, sourcename = nil, usertotal = nil, createtime = nil, userorgset = nil) ⇒ UserDirectory
constructor
A new instance of UserDirectory.
Constructor Details
#initialize(id = nil, dirid = nil, dirname = nil, source = nil, sourcename = nil, usertotal = nil, createtime = nil, userorgset = nil) ⇒ UserDirectory
Returns a new instance of UserDirectory.
8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 |
# File 'lib/v20230418/models.rb', line 8100 def initialize(id=nil, dirid=nil, dirname=nil, source=nil, sourcename=nil, usertotal=nil, createtime=nil, userorgset=nil) @Id = id @DirId = dirid @DirName = dirname @Source = source @SourceName = sourcename @UserTotal = usertotal @CreateTime = createtime @UserOrgSet = userorgset end |
Instance Attribute Details
#CreateTime ⇒ Object
8098 8099 8100 |
# File 'lib/v20230418/models.rb', line 8098 def CreateTime @CreateTime end |
#DirId ⇒ Object
8098 8099 8100 |
# File 'lib/v20230418/models.rb', line 8098 def DirId @DirId end |
#DirName ⇒ Object
8098 8099 8100 |
# File 'lib/v20230418/models.rb', line 8098 def DirName @DirName end |
#Id ⇒ Object
8098 8099 8100 |
# File 'lib/v20230418/models.rb', line 8098 def Id @Id end |
#Source ⇒ Object
8098 8099 8100 |
# File 'lib/v20230418/models.rb', line 8098 def Source @Source end |
#SourceName ⇒ Object
8098 8099 8100 |
# File 'lib/v20230418/models.rb', line 8098 def SourceName @SourceName end |
#UserOrgSet ⇒ Object
8098 8099 8100 |
# File 'lib/v20230418/models.rb', line 8098 def UserOrgSet @UserOrgSet end |
#UserTotal ⇒ Object
8098 8099 8100 |
# File 'lib/v20230418/models.rb', line 8098 def UserTotal @UserTotal end |
Instance Method Details
#deserialize(params) ⇒ Object
8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 |
# File 'lib/v20230418/models.rb', line 8111 def deserialize(params) @Id = params['Id'] @DirId = params['DirId'] @DirName = params['DirName'] @Source = params['Source'] @SourceName = params['SourceName'] @UserTotal = params['UserTotal'] @CreateTime = params['CreateTime'] unless params['UserOrgSet'].nil? @UserOrgSet = [] params['UserOrgSet'].each do |i| userorg_tmp = UserOrg.new userorg_tmp.deserialize(i) @UserOrgSet << userorg_tmp end end end |