Class: MetronomeSDK::Models::V1::CustomFieldSetValuesParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/metronome_sdk/models/v1/custom_field_set_values_params.rb,
sig/metronome_sdk/models/v1/custom_field_set_values_params.rbs

Overview

See Also:

  • MetronomeSDK::Resources::V1::CustomFields#set_values

Defined Under Namespace

Modules: Entity

Constant Summary

Constants included from Internal::Type::RequestParameters

Internal::Type::RequestParameters::MetronomeSDK

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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

#initializeObject



22
# File 'sig/metronome_sdk/models/v1/custom_field_set_values_params.rbs', line 22

def initialize: (

Instance Attribute Details

#custom_fieldsHash{Symbol=>String}

Custom fields to be added eg. { "key1": "value1", "key2": "value2" }

Parameters:

  • value (::Hash[Symbol, String])

Returns:

  • (Hash{Symbol=>String})


15
# File 'lib/metronome_sdk/models/v1/custom_field_set_values_params.rb', line 15

required :custom_fields, MetronomeSDK::Internal::Type::HashOf[String]

#entitySymbol, MetronomeSDK::Models::V1::CustomFieldSetValuesParams::Entity

Parameters:

  • value (MetronomeSDK::Models::V1::CustomFieldSetValuesParams::entity)

Returns:



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

required :entity, enum: -> { MetronomeSDK::V1::CustomFieldSetValuesParams::Entity }

#entity_idString

Parameters:

  • value (String)

Returns:

  • (String)


25
# File 'lib/metronome_sdk/models/v1/custom_field_set_values_params.rb', line 25

required :entity_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


29
# File 'sig/metronome_sdk/models/v1/custom_field_set_values_params.rbs', line 29

def to_hash: -> {