Class: TencentCloud::Oceanus::V20190422::DescribeFolderResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Oceanus::V20190422::DescribeFolderResponse
- Defined in:
- lib/v20190422/models.rb
Overview
DescribeFolder返回参数结构体
Instance Attribute Summary collapse
-
#FolderId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#FolderName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#FolderType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ParentId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SubFolderInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#WorkSpaceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(folderid = nil, foldername = nil, parentid = nil, foldertype = nil, workspaceid = nil, subfolderinfo = nil, requestid = nil) ⇒ DescribeFolderResponse
constructor
A new instance of DescribeFolderResponse.
Constructor Details
#initialize(folderid = nil, foldername = nil, parentid = nil, foldertype = nil, workspaceid = nil, subfolderinfo = nil, requestid = nil) ⇒ DescribeFolderResponse
Returns a new instance of DescribeFolderResponse.
1945 1946 1947 1948 1949 1950 1951 1952 1953 |
# File 'lib/v20190422/models.rb', line 1945 def initialize(folderid=nil, foldername=nil, parentid=nil, foldertype=nil, workspaceid=nil, subfolderinfo=nil, requestid=nil) @FolderId = folderid @FolderName = foldername @ParentId = parentid @FolderType = foldertype @WorkSpaceId = workspaceid @SubFolderInfo = subfolderinfo @RequestId = requestid end |
Instance Attribute Details
#FolderId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1943 1944 1945 |
# File 'lib/v20190422/models.rb', line 1943 def FolderId @FolderId end |
#FolderName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1943 1944 1945 |
# File 'lib/v20190422/models.rb', line 1943 def FolderName @FolderName end |
#FolderType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1943 1944 1945 |
# File 'lib/v20190422/models.rb', line 1943 def FolderType @FolderType end |
#ParentId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1943 1944 1945 |
# File 'lib/v20190422/models.rb', line 1943 def ParentId @ParentId end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1943 1944 1945 |
# File 'lib/v20190422/models.rb', line 1943 def RequestId @RequestId end |
#SubFolderInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1943 1944 1945 |
# File 'lib/v20190422/models.rb', line 1943 def SubFolderInfo @SubFolderInfo end |
#WorkSpaceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1943 1944 1945 |
# File 'lib/v20190422/models.rb', line 1943 def WorkSpaceId @WorkSpaceId end |
Instance Method Details
#deserialize(params) ⇒ Object
1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 |
# File 'lib/v20190422/models.rb', line 1955 def deserialize(params) @FolderId = params['FolderId'] @FolderName = params['FolderName'] @ParentId = params['ParentId'] @FolderType = params['FolderType'] @WorkSpaceId = params['WorkSpaceId'] unless params['SubFolderInfo'].nil? @SubFolderInfo = [] params['SubFolderInfo'].each do |i| subfolderinfo_tmp = SubFolderInfo.new subfolderinfo_tmp.deserialize(i) @SubFolderInfo << subfolderinfo_tmp end end @RequestId = params['RequestId'] end |