Module: Amocrm::Models::SourceUpdateByIDParams::Services

Extended by:
Internal::Type::Union
Defined in:
lib/amocrm/models/source_update_by_id_params.rb

Constant Summary collapse

UnionMember0Array =
Amocrm::Internal::Type::ArrayOf[Amocrm::Internal::Type::Unknown]
StringArray =
Amocrm::Internal::Type::ArrayOf[String]

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

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

Class Method Details

.variantsArray(Array<Object>, Array<String>)

Returns:

  • (Array(Array<Object>, Array<String>))


# File 'lib/amocrm/models/source_update_by_id_params.rb', line 68

Instance Method Details

#initialize(id:, default: nil, external_id: nil, name: nil, origin_code: nil, pipeline_id: nil, request_id: nil, services: nil, request_options: {}) ⇒ Object

Parameters:

  • id (Integer)
  • default (Boolean) (defaults to: nil)
  • external_id (String) (defaults to: nil)
  • name (String) (defaults to: nil)
  • origin_code (String, nil) (defaults to: nil)
  • pipeline_id (Integer, nil) (defaults to: nil)
  • request_id (String) (defaults to: nil)
  • services (Array<Object>, Array<String>) (defaults to: nil)
  • request_options (Amocrm::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/amocrm/models/source_update_by_id_params.rb', line 61

module Services
  extend Amocrm::Internal::Type::Union

  variant -> { Amocrm::Models::SourceUpdateByIDParams::Services::UnionMember0Array }

  variant -> { Amocrm::Models::SourceUpdateByIDParams::Services::StringArray }

  # @!method self.variants
  #   @return [Array(Array<Object>, Array<String>)]

  # @type [Amocrm::Internal::Type::Converter]
  UnionMember0Array = Amocrm::Internal::Type::ArrayOf[Amocrm::Internal::Type::Unknown]

  # @type [Amocrm::Internal::Type::Converter]
  StringArray = Amocrm::Internal::Type::ArrayOf[String]
end