Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCredit

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

Defined Under Namespace

Modules: RateType Classes: AccessSchedule

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(id: , amount: nil, ending_before: nil, starting_at: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: )
  • amount (Float) (defaults to: nil)
  • ending_before (Time) (defaults to: nil)

    RFC 3339 timestamp (exclusive)

  • starting_at (Time) (defaults to: nil)

    RFC 3339 timestamp (inclusive)



# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2225

Instance Attribute Details

#access_scheduleMetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCredit::AccessSchedule?



2187
2188
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2187

optional :access_schedule,
-> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCredit::AccessSchedule }

#hierarchy_configurationMetronomeSDK::Models::CommitHierarchyConfiguration?

Optional configuration for credit hierarchy access control



2194
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2194

optional :hierarchy_configuration, -> { MetronomeSDK::CommitHierarchyConfiguration }

#idString

Returns:

  • (String)


2182
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2182

required :id, String

#nameString?

Returns:

  • (String, nil)


2199
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2199

optional :name, String

#netsuite_sales_order_idString?

Returns:

  • (String, nil)


2204
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2204

optional :netsuite_sales_order_id, String, nil?: true

#priorityFloat?

If multiple credits are applicable, the one with the lower priority will apply first.

Returns:

  • (Float, nil)


2211
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2211

optional :priority, Float, nil?: true

#rate_typeSymbol, ...

If set, the credit’s rate type was updated to the specified value.



2217
2218
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2217

optional :rate_type,
enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCredit::RateType }

#rollover_fractionFloat?

Returns:

  • (Float, nil)


2223
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2223

optional :rollover_fraction, Float, nil?: true