Class: TencentCloud::Bh::V20230418::CreateUserDirectoryRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bh::V20230418::CreateUserDirectoryRequest
- Defined in:
- lib/v20230418/models.rb
Overview
CreateUserDirectory请求参数结构体
Instance Attribute Summary collapse
- #DirId ⇒ Object
- #DirName ⇒ Object
- #Source ⇒ Object
- #SourceName ⇒ Object
- #UserCount ⇒ Object
- #UserOrgSet ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dirid = nil, dirname = nil, userorgset = nil, source = nil, sourcename = nil, usercount = nil) ⇒ CreateUserDirectoryRequest
constructor
A new instance of CreateUserDirectoryRequest.
Constructor Details
#initialize(dirid = nil, dirname = nil, userorgset = nil, source = nil, sourcename = nil, usercount = nil) ⇒ CreateUserDirectoryRequest
Returns a new instance of CreateUserDirectoryRequest.
1836 1837 1838 1839 1840 1841 1842 1843 |
# File 'lib/v20230418/models.rb', line 1836 def initialize(dirid=nil, dirname=nil, userorgset=nil, source=nil, sourcename=nil, usercount=nil) @DirId = dirid @DirName = dirname @UserOrgSet = userorgset @Source = source @SourceName = sourcename @UserCount = usercount end |
Instance Attribute Details
#DirId ⇒ Object
1834 1835 1836 |
# File 'lib/v20230418/models.rb', line 1834 def DirId @DirId end |
#DirName ⇒ Object
1834 1835 1836 |
# File 'lib/v20230418/models.rb', line 1834 def DirName @DirName end |
#Source ⇒ Object
1834 1835 1836 |
# File 'lib/v20230418/models.rb', line 1834 def Source @Source end |
#SourceName ⇒ Object
1834 1835 1836 |
# File 'lib/v20230418/models.rb', line 1834 def SourceName @SourceName end |
#UserCount ⇒ Object
1834 1835 1836 |
# File 'lib/v20230418/models.rb', line 1834 def UserCount @UserCount end |
#UserOrgSet ⇒ Object
1834 1835 1836 |
# File 'lib/v20230418/models.rb', line 1834 def UserOrgSet @UserOrgSet end |
Instance Method Details
#deserialize(params) ⇒ Object
1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 |
# File 'lib/v20230418/models.rb', line 1845 def deserialize(params) @DirId = params['DirId'] @DirName = params['DirName'] unless params['UserOrgSet'].nil? @UserOrgSet = [] params['UserOrgSet'].each do |i| userorg_tmp = UserOrg.new userorg_tmp.deserialize(i) @UserOrgSet << userorg_tmp end end @Source = params['Source'] @SourceName = params['SourceName'] @UserCount = params['UserCount'] end |