Class: TencentCloud::Emr::V20190103::DefaultSetting

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

Overview

资源调度的默认设置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, desc = nil, prompt = nil, key = nil, value = nil) ⇒ DefaultSetting

Returns a new instance of DefaultSetting.



2613
2614
2615
2616
2617
2618
2619
# File 'lib/v20190103/models.rb', line 2613

def initialize(name=nil, desc=nil, prompt=nil, key=nil, value=nil)
  @Name = name
  @Desc = desc
  @Prompt = prompt
  @Key = key
  @Value = value
end

Instance Attribute Details

#DescObject

Parameters:

  • 名称,作为入参的key

  • 描述

  • 提示

  • key,用于展示,该配置对应与配置文件中的配置项

  • Name对应的值



2611
2612
2613
# File 'lib/v20190103/models.rb', line 2611

def Desc
  @Desc
end

#KeyObject

Parameters:

  • 名称,作为入参的key

  • 描述

  • 提示

  • key,用于展示,该配置对应与配置文件中的配置项

  • Name对应的值



2611
2612
2613
# File 'lib/v20190103/models.rb', line 2611

def Key
  @Key
end

#NameObject

Parameters:

  • 名称,作为入参的key

  • 描述

  • 提示

  • key,用于展示,该配置对应与配置文件中的配置项

  • Name对应的值



2611
2612
2613
# File 'lib/v20190103/models.rb', line 2611

def Name
  @Name
end

#PromptObject

Parameters:

  • 名称,作为入参的key

  • 描述

  • 提示

  • key,用于展示,该配置对应与配置文件中的配置项

  • Name对应的值



2611
2612
2613
# File 'lib/v20190103/models.rb', line 2611

def Prompt
  @Prompt
end

#ValueObject

Parameters:

  • 名称,作为入参的key

  • 描述

  • 提示

  • key,用于展示,该配置对应与配置文件中的配置项

  • Name对应的值



2611
2612
2613
# File 'lib/v20190103/models.rb', line 2611

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2621
2622
2623
2624
2625
2626
2627
# File 'lib/v20190103/models.rb', line 2621

def deserialize(params)
  @Name = params['Name']
  @Desc = params['Desc']
  @Prompt = params['Prompt']
  @Key = params['Key']
  @Value = params['Value']
end