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.



4038
4039
4040
4041
4042
4043
4044
# File 'lib/v20210701/models.rb', line 4038

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

Parameters:

  • Key:

  • Value:

  • Type:

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

  • Config:

    配置名称

  • Secret:

    加密配置名称



4036
4037
4038
# File 'lib/v20210701/models.rb', line 4036

def Config
  @Config
end

#KeyObject

Parameters:

  • Key:

  • Value:

  • Type:

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

  • Config:

    配置名称

  • Secret:

    加密配置名称



4036
4037
4038
# File 'lib/v20210701/models.rb', line 4036

def Key
  @Key
end

#SecretObject

Parameters:

  • Key:

  • Value:

  • Type:

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

  • Config:

    配置名称

  • Secret:

    加密配置名称



4036
4037
4038
# File 'lib/v20210701/models.rb', line 4036

def Secret
  @Secret
end

#TypeObject

Parameters:

  • Key:

  • Value:

  • Type:

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

  • Config:

    配置名称

  • Secret:

    加密配置名称



4036
4037
4038
# File 'lib/v20210701/models.rb', line 4036

def Type
  @Type
end

#ValueObject

Parameters:

  • Key:

  • Value:

  • Type:

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

  • Config:

    配置名称

  • Secret:

    加密配置名称



4036
4037
4038
# File 'lib/v20210701/models.rb', line 4036

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4046
4047
4048
4049
4050
4051
4052
# File 'lib/v20210701/models.rb', line 4046

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