Class: TencentCloud::Tke::V20180525::DNSConfigOption

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

Overview

DNS配置选项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ DNSConfigOption

Returns a new instance of DNSConfigOption.



4171
4172
4173
4174
# File 'lib/v20180525/models.rb', line 4171

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

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

Parameters:

  • Name:

    配置项名称

  • Value:

    项值



4169
4170
4171
# File 'lib/v20180525/models.rb', line 4169

def Name
  @Name
end

#ValueObject

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

Parameters:

  • Name:

    配置项名称

  • Value:

    项值



4169
4170
4171
# File 'lib/v20180525/models.rb', line 4169

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4176
4177
4178
4179
# File 'lib/v20180525/models.rb', line 4176

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