Class: TencentCloud::Oceanus::V20190422::SessionClusterRefItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190422/models.rb

Overview

session集群引用资源信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(workspaceid = nil, resourceid = nil, version = nil, type = nil) ⇒ SessionClusterRefItem

Returns a new instance of SessionClusterRefItem.



5258
5259
5260
5261
5262
5263
# File 'lib/v20190422/models.rb', line 5258

def initialize(workspaceid=nil, resourceid=nil, version=nil, type=nil)
  @WorkspaceId = workspaceid
  @ResourceId = resourceid
  @Version = version
  @Type = type
end

Instance Attribute Details

#ResourceIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • WorkspaceId:

    空间唯一标识

  • ResourceId:

    资源唯一标识

  • Version:

    版本号

  • Type:

    引用类型,0:用户资源



5256
5257
5258
# File 'lib/v20190422/models.rb', line 5256

def ResourceId
  @ResourceId
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • WorkspaceId:

    空间唯一标识

  • ResourceId:

    资源唯一标识

  • Version:

    版本号

  • Type:

    引用类型,0:用户资源



5256
5257
5258
# File 'lib/v20190422/models.rb', line 5256

def Type
  @Type
end

#VersionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • WorkspaceId:

    空间唯一标识

  • ResourceId:

    资源唯一标识

  • Version:

    版本号

  • Type:

    引用类型,0:用户资源



5256
5257
5258
# File 'lib/v20190422/models.rb', line 5256

def Version
  @Version
end

#WorkspaceIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • WorkspaceId:

    空间唯一标识

  • ResourceId:

    资源唯一标识

  • Version:

    版本号

  • Type:

    引用类型,0:用户资源



5256
5257
5258
# File 'lib/v20190422/models.rb', line 5256

def WorkspaceId
  @WorkspaceId
end

Instance Method Details

#deserialize(params) ⇒ Object



5265
5266
5267
5268
5269
5270
# File 'lib/v20190422/models.rb', line 5265

def deserialize(params)
  @WorkspaceId = params['WorkspaceId']
  @ResourceId = params['ResourceId']
  @Version = params['Version']
  @Type = params['Type']
end