Class: TencentCloud::Cloudstudio::V20230508::WorkspaceStatusInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudstudio::V20230508::WorkspaceStatusInfo
- Defined in:
- lib/v20230508/models.rb
Overview
获取用户工作空间返回信息
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #CreateDate ⇒ Object
- #Description ⇒ Object
- #Icon ⇒ Object
- #Id ⇒ Object
- #LastOpsDate ⇒ Object
- #Memory ⇒ Object
- #Name ⇒ Object
- #SpaceKey ⇒ Object
- #Status ⇒ Object
- #StatusReason ⇒ Object
- #VersionControlRef ⇒ Object
- #VersionControlUrl ⇒ Object
- #WorkspaceType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, spacekey = nil, status = nil, cpu = nil, memory = nil, icon = nil, statusreason = nil, description = nil, workspacetype = nil, versioncontrolurl = nil, versioncontrolref = nil, lastopsdate = nil, createdate = nil) ⇒ WorkspaceStatusInfo
constructor
A new instance of WorkspaceStatusInfo.
Constructor Details
#initialize(id = nil, name = nil, spacekey = nil, status = nil, cpu = nil, memory = nil, icon = nil, statusreason = nil, description = nil, workspacetype = nil, versioncontrolurl = nil, versioncontrolref = nil, lastopsdate = nil, createdate = nil) ⇒ WorkspaceStatusInfo
Returns a new instance of WorkspaceStatusInfo.
610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 |
# File 'lib/v20230508/models.rb', line 610 def initialize(id=nil, name=nil, spacekey=nil, status=nil, cpu=nil, memory=nil, icon=nil, statusreason=nil, description=nil, workspacetype=nil, versioncontrolurl=nil, versioncontrolref=nil, lastopsdate=nil, createdate=nil) @Id = id @Name = name @SpaceKey = spacekey @Status = status @Cpu = cpu @Memory = memory @Icon = icon @StatusReason = statusreason @Description = description @WorkspaceType = workspacetype @VersionControlUrl = versioncontrolurl @VersionControlRef = versioncontrolref @LastOpsDate = lastopsdate @CreateDate = createdate end |
Instance Attribute Details
#Cpu ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def Cpu @Cpu end |
#CreateDate ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def CreateDate @CreateDate end |
#Description ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def Description @Description end |
#Icon ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def Icon @Icon end |
#Id ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def Id @Id end |
#LastOpsDate ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def LastOpsDate @LastOpsDate end |
#Memory ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def Memory @Memory end |
#Name ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def Name @Name end |
#SpaceKey ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def SpaceKey @SpaceKey end |
#Status ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def Status @Status end |
#StatusReason ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def StatusReason @StatusReason end |
#VersionControlRef ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def VersionControlRef @VersionControlRef end |
#VersionControlUrl ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def VersionControlUrl @VersionControlUrl end |
#WorkspaceType ⇒ Object
608 609 610 |
# File 'lib/v20230508/models.rb', line 608 def WorkspaceType @WorkspaceType end |
Instance Method Details
#deserialize(params) ⇒ Object
627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 |
# File 'lib/v20230508/models.rb', line 627 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @SpaceKey = params['SpaceKey'] @Status = params['Status'] @Cpu = params['Cpu'] @Memory = params['Memory'] @Icon = params['Icon'] @StatusReason = params['StatusReason'] @Description = params['Description'] @WorkspaceType = params['WorkspaceType'] @VersionControlUrl = params['VersionControlUrl'] @VersionControlRef = params['VersionControlRef'] @LastOpsDate = params['LastOpsDate'] @CreateDate = params['CreateDate'] end |