Class: MetronomeSDK::Models::CommitSpecifierInput

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/commit_specifier_input.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(presentation_group_values: nil, pricing_group_values: nil, product_id: nil, product_tags: nil) ⇒ Object

Some parameter documentations has been truncated, see MetronomeSDK::Models::CommitSpecifierInput for more details.

Parameters:

  • presentation_group_values (Hash{Symbol=>String}) (defaults to: nil)
  • pricing_group_values (Hash{Symbol=>String}) (defaults to: nil)
  • product_id (String) (defaults to: nil)

    If provided, the specifier will only apply to the product with the specified ID.

  • product_tags (Array<String>) (defaults to: nil)

    If provided, the specifier will only apply to products with all the specified ta



# File 'lib/metronome_sdk/models/commit_specifier_input.rb', line 29


Instance Attribute Details

#presentation_group_valuesHash{Symbol=>String}?

Returns:

  • (Hash{Symbol=>String}, nil)


9
# File 'lib/metronome_sdk/models/commit_specifier_input.rb', line 9

optional :presentation_group_values, MetronomeSDK::Internal::Type::HashOf[String]

#pricing_group_valuesHash{Symbol=>String}?

Returns:

  • (Hash{Symbol=>String}, nil)


14
# File 'lib/metronome_sdk/models/commit_specifier_input.rb', line 14

optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]

#product_idString?

If provided, the specifier will only apply to the product with the specified ID.

Returns:

  • (String, nil)


20
# File 'lib/metronome_sdk/models/commit_specifier_input.rb', line 20

optional :product_id, String

#product_tagsArray<String>?

If provided, the specifier will only apply to products with all the specified tags.

Returns:

  • (Array<String>, nil)


27
# File 'lib/metronome_sdk/models/commit_specifier_input.rb', line 27

optional :product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]