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.



4223
4224
4225
4226
# File 'lib/v20180525/models.rb', line 4223

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

Instance Attribute Details

#NameObject

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

Parameters:

  • Name:

    配置项名称

  • Value:

    项值



4221
4222
4223
# File 'lib/v20180525/models.rb', line 4221

def Name
  @Name
end

#ValueObject

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

Parameters:

  • Name:

    配置项名称

  • Value:

    项值



4221
4222
4223
# File 'lib/v20180525/models.rb', line 4221

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4228
4229
4230
4231
# File 'lib/v20180525/models.rb', line 4228

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