Class: TencentCloud::Monitor::V20180724::CommonNamespace

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

Overview

统一的命名空间信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, value = nil, productname = nil, config = nil, availableregions = nil, sortid = nil, dashboardid = nil) ⇒ CommonNamespace

Returns a new instance of CommonNamespace.



1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
# File 'lib/v20180724/models.rb', line 1373

def initialize(id=nil, name=nil, value=nil, productname=nil, config=nil, availableregions=nil, sortid=nil, dashboardid=nil)
  @Id = id
  @Name = name
  @Value = value
  @ProductName = productname
  @Config = config
  @AvailableRegions = availableregions
  @SortId = sortid
  @DashboardId = dashboardid
end

Instance Attribute Details

#AvailableRegionsObject

Parameters:

  • 命名空间标示

  • 命名空间名称

  • 命名空间值

  • 产品名称

  • 配置信息

  • 支持地域列表

  • 排序Id

  • Dashboard中的唯一表示



1371
1372
1373
# File 'lib/v20180724/models.rb', line 1371

def AvailableRegions
  @AvailableRegions
end

#ConfigObject

Parameters:

  • 命名空间标示

  • 命名空间名称

  • 命名空间值

  • 产品名称

  • 配置信息

  • 支持地域列表

  • 排序Id

  • Dashboard中的唯一表示



1371
1372
1373
# File 'lib/v20180724/models.rb', line 1371

def Config
  @Config
end

#DashboardIdObject

Parameters:

  • 命名空间标示

  • 命名空间名称

  • 命名空间值

  • 产品名称

  • 配置信息

  • 支持地域列表

  • 排序Id

  • Dashboard中的唯一表示



1371
1372
1373
# File 'lib/v20180724/models.rb', line 1371

def DashboardId
  @DashboardId
end

#IdObject

Parameters:

  • 命名空间标示

  • 命名空间名称

  • 命名空间值

  • 产品名称

  • 配置信息

  • 支持地域列表

  • 排序Id

  • Dashboard中的唯一表示



1371
1372
1373
# File 'lib/v20180724/models.rb', line 1371

def Id
  @Id
end

#NameObject

Parameters:

  • 命名空间标示

  • 命名空间名称

  • 命名空间值

  • 产品名称

  • 配置信息

  • 支持地域列表

  • 排序Id

  • Dashboard中的唯一表示



1371
1372
1373
# File 'lib/v20180724/models.rb', line 1371

def Name
  @Name
end

#ProductNameObject

Parameters:

  • 命名空间标示

  • 命名空间名称

  • 命名空间值

  • 产品名称

  • 配置信息

  • 支持地域列表

  • 排序Id

  • Dashboard中的唯一表示



1371
1372
1373
# File 'lib/v20180724/models.rb', line 1371

def ProductName
  @ProductName
end

#SortIdObject

Parameters:

  • 命名空间标示

  • 命名空间名称

  • 命名空间值

  • 产品名称

  • 配置信息

  • 支持地域列表

  • 排序Id

  • Dashboard中的唯一表示



1371
1372
1373
# File 'lib/v20180724/models.rb', line 1371

def SortId
  @SortId
end

#ValueObject

Parameters:

  • 命名空间标示

  • 命名空间名称

  • 命名空间值

  • 产品名称

  • 配置信息

  • 支持地域列表

  • 排序Id

  • Dashboard中的唯一表示



1371
1372
1373
# File 'lib/v20180724/models.rb', line 1371

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
# File 'lib/v20180724/models.rb', line 1384

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @Value = params['Value']
  @ProductName = params['ProductName']
  @Config = params['Config']
  @AvailableRegions = params['AvailableRegions']
  @SortId = params['SortId']
  @DashboardId = params['DashboardId']
end