Class: TencentCloud::Tem::V20210701::Pair

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

Overview

键值对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil, type = nil, config = nil, secret = nil) ⇒ Pair

Returns a new instance of Pair.



4055
4056
4057
4058
4059
4060
4061
# File 'lib/v20210701/models.rb', line 4055

def initialize(key=nil, value=nil, type=nil, config=nil, secret=nil)
  @Key = key
  @Value = value
  @Type = type
  @Config = config
  @Secret = secret
end

Instance Attribute Details

#ConfigObject

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

Parameters:

  • Key:

  • Value:

  • Type:

    类型,default 为自定义,reserved 为系统变量,referenced 为引用配置项

  • Config:

    配置名称

  • Secret:

    加密配置名称



4053
4054
4055
# File 'lib/v20210701/models.rb', line 4053

def Config
  @Config
end

#KeyObject

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

Parameters:

  • Key:

  • Value:

  • Type:

    类型,default 为自定义,reserved 为系统变量,referenced 为引用配置项

  • Config:

    配置名称

  • Secret:

    加密配置名称



4053
4054
4055
# File 'lib/v20210701/models.rb', line 4053

def Key
  @Key
end

#SecretObject

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

Parameters:

  • Key:

  • Value:

  • Type:

    类型,default 为自定义,reserved 为系统变量,referenced 为引用配置项

  • Config:

    配置名称

  • Secret:

    加密配置名称



4053
4054
4055
# File 'lib/v20210701/models.rb', line 4053

def Secret
  @Secret
end

#TypeObject

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

Parameters:

  • Key:

  • Value:

  • Type:

    类型,default 为自定义,reserved 为系统变量,referenced 为引用配置项

  • Config:

    配置名称

  • Secret:

    加密配置名称



4053
4054
4055
# File 'lib/v20210701/models.rb', line 4053

def Type
  @Type
end

#ValueObject

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

Parameters:

  • Key:

  • Value:

  • Type:

    类型,default 为自定义,reserved 为系统变量,referenced 为引用配置项

  • Config:

    配置名称

  • Secret:

    加密配置名称



4053
4054
4055
# File 'lib/v20210701/models.rb', line 4053

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4063
4064
4065
4066
4067
4068
4069
# File 'lib/v20210701/models.rb', line 4063

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
  @Type = params['Type']
  @Config = params['Config']
  @Secret = params['Secret']
end