Class: TencentCloud::Oceanus::V20190422::WorkSpaceSetItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Oceanus::V20190422::WorkSpaceSetItem
- Defined in:
- lib/v20190422/models.rb
Overview
工作空间详情
Instance Attribute Summary collapse
-
#AppId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterGroupSetItem ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CreatorUin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Description ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#JobsCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#OwnerUin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RoleAuth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RoleAuthCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SerialId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#WorkSpaceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#WorkSpaceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serialid = nil, appid = nil, owneruin = nil, creatoruin = nil, workspacename = nil, region = nil, createtime = nil, updatetime = nil, status = nil, description = nil, clustergroupsetitem = nil, roleauth = nil, roleauthcount = nil, workspaceid = nil, jobscount = nil) ⇒ WorkSpaceSetItem
constructor
A new instance of WorkSpaceSetItem.
Constructor Details
#initialize(serialid = nil, appid = nil, owneruin = nil, creatoruin = nil, workspacename = nil, region = nil, createtime = nil, updatetime = nil, status = nil, description = nil, clustergroupsetitem = nil, roleauth = nil, roleauthcount = nil, workspaceid = nil, jobscount = nil) ⇒ WorkSpaceSetItem
Returns a new instance of WorkSpaceSetItem.
6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 |
# File 'lib/v20190422/models.rb', line 6200 def initialize(serialid=nil, appid=nil, owneruin=nil, creatoruin=nil, workspacename=nil, region=nil, createtime=nil, updatetime=nil, status=nil, description=nil, clustergroupsetitem=nil, roleauth=nil, roleauthcount=nil, workspaceid=nil, jobscount=nil) @SerialId = serialid @AppId = appid @OwnerUin = owneruin @CreatorUin = creatoruin @WorkSpaceName = workspacename @Region = region @CreateTime = createtime @UpdateTime = updatetime @Status = status @Description = description @ClusterGroupSetItem = clustergroupsetitem @RoleAuth = roleauth @RoleAuthCount = roleauthcount @WorkSpaceId = workspaceid @JobsCount = jobscount end |
Instance Attribute Details
#AppId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def AppId @AppId end |
#ClusterGroupSetItem ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def ClusterGroupSetItem @ClusterGroupSetItem end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def CreateTime @CreateTime end |
#CreatorUin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def CreatorUin @CreatorUin end |
#Description ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def Description @Description end |
#JobsCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def JobsCount @JobsCount end |
#OwnerUin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def OwnerUin @OwnerUin end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def Region @Region end |
#RoleAuth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def RoleAuth @RoleAuth end |
#RoleAuthCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def RoleAuthCount @RoleAuthCount end |
#SerialId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def SerialId @SerialId end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def Status @Status end |
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def UpdateTime @UpdateTime end |
#WorkSpaceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def WorkSpaceId @WorkSpaceId end |
#WorkSpaceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6198 6199 6200 |
# File 'lib/v20190422/models.rb', line 6198 def WorkSpaceName @WorkSpaceName end |
Instance Method Details
#deserialize(params) ⇒ Object
6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 |
# File 'lib/v20190422/models.rb', line 6218 def deserialize(params) @SerialId = params['SerialId'] @AppId = params['AppId'] @OwnerUin = params['OwnerUin'] @CreatorUin = params['CreatorUin'] @WorkSpaceName = params['WorkSpaceName'] @Region = params['Region'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @Status = params['Status'] @Description = params['Description'] unless params['ClusterGroupSetItem'].nil? @ClusterGroupSetItem = [] params['ClusterGroupSetItem'].each do |i| clustergroupsetitem_tmp = ClusterGroupSetItem.new clustergroupsetitem_tmp.deserialize(i) @ClusterGroupSetItem << clustergroupsetitem_tmp end end unless params['RoleAuth'].nil? @RoleAuth = [] params['RoleAuth'].each do |i| roleauth_tmp = RoleAuth.new roleauth_tmp.deserialize(i) @RoleAuth << roleauth_tmp end end @RoleAuthCount = params['RoleAuthCount'] @WorkSpaceId = params['WorkSpaceId'] @JobsCount = params['JobsCount'] end |