Class: Hackle::RemoteConfigParameter

Inherits:
Object
  • Object
show all
Defined in:
lib/hackle/internal/model/remote_config_parameter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, key:, type:, identifier_type:, target_rules:, default_value:) ⇒ RemoteConfigParameter



26
27
28
29
30
31
32
33
# File 'lib/hackle/internal/model/remote_config_parameter.rb', line 26

def initialize(id:, key:, type:, identifier_type:, target_rules:, default_value:)
  @id = id
  @key = key
  @type = type
  @identifier_type = identifier_type
  @target_rules = target_rules
  @default_value = default_value
end

Instance Attribute Details

#default_valueRemoteConfigValue



18
# File 'lib/hackle/internal/model/remote_config_parameter.rb', line 18

attr_accessor :id, :key, :type, :identifier_type, :target_rules, :default_value

#idInteger



18
19
20
# File 'lib/hackle/internal/model/remote_config_parameter.rb', line 18

def id
  @id
end

#identifier_typeString



18
# File 'lib/hackle/internal/model/remote_config_parameter.rb', line 18

attr_accessor :id, :key, :type, :identifier_type, :target_rules, :default_value

#keyString



18
# File 'lib/hackle/internal/model/remote_config_parameter.rb', line 18

attr_accessor :id, :key, :type, :identifier_type, :target_rules, :default_value

#target_rulesArray<RemoteConfigTargetRule>



18
# File 'lib/hackle/internal/model/remote_config_parameter.rb', line 18

attr_accessor :id, :key, :type, :identifier_type, :target_rules, :default_value

#typeValueType



18
# File 'lib/hackle/internal/model/remote_config_parameter.rb', line 18

attr_accessor :id, :key, :type, :identifier_type, :target_rules, :default_value