Class: TencentCloud::Oceanus::V20190422::GatewayRefItem

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

Overview

Gateway引用资源信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of GatewayRefItem.



3289
3290
3291
3292
3293
3294
# File 'lib/v20190422/models.rb', line 3289

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:用户资源



3287
3288
3289
# File 'lib/v20190422/models.rb', line 3287

def ResourceId
  @ResourceId
end

#TypeObject

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

Parameters:

  • WorkspaceId:

    空间唯一标识

  • ResourceId:

    资源唯一标识

  • Version:

    版本号

  • Type:

    引用类型,0:用户资源



3287
3288
3289
# File 'lib/v20190422/models.rb', line 3287

def Type
  @Type
end

#VersionObject

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

Parameters:

  • WorkspaceId:

    空间唯一标识

  • ResourceId:

    资源唯一标识

  • Version:

    版本号

  • Type:

    引用类型,0:用户资源



3287
3288
3289
# File 'lib/v20190422/models.rb', line 3287

def Version
  @Version
end

#WorkspaceIdObject

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

Parameters:

  • WorkspaceId:

    空间唯一标识

  • ResourceId:

    资源唯一标识

  • Version:

    版本号

  • Type:

    引用类型,0:用户资源



3287
3288
3289
# File 'lib/v20190422/models.rb', line 3287

def WorkspaceId
  @WorkspaceId
end

Instance Method Details

#deserialize(params) ⇒ Object



3296
3297
3298
3299
3300
3301
# File 'lib/v20190422/models.rb', line 3296

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