Class: MetronomeSDK::Models::ContractWithoutAmendments::UsageFilter::Update

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/contract_without_amendments.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(group_key: , group_values: , starting_at: ) ⇒ Object

Parameters:

  • group_key (String) (defaults to: )
  • group_values (Array<String>) (defaults to: )
  • starting_at (Time) (defaults to: )


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1055

class Update < MetronomeSDK::Internal::Type::BaseModel
  # @!attribute group_key
  #
  #   @return [String]
  required :group_key, String

  # @!attribute group_values
  #
  #   @return [Array<String>]
  required :group_values, MetronomeSDK::Internal::Type::ArrayOf[String]

  # @!attribute starting_at
  #
  #   @return [Time]
  required :starting_at, Time

  # @!method initialize(group_key:, group_values:, starting_at:)
  #   @param group_key [String]
  #   @param group_values [Array<String>]
  #   @param starting_at [Time]
end

Instance Attribute Details

#group_keyString

Returns:

  • (String)


1059
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1059

required :group_key, String

#group_valuesArray<String>

Returns:

  • (Array<String>)


1064
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1064

required :group_values, MetronomeSDK::Internal::Type::ArrayOf[String]

#starting_atTime

Returns:

  • (Time)


1069
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1069

required :starting_at, Time