Module: Amocrm::Models::CatalogElementListParams::Query

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

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(String, Integer)

Returns:

  • (Array(String, Integer))


# File 'lib/amocrm/models/catalog_element_list_params.rb', line 50

Instance Method Details

#initialize(catalog_id:, filter: nil, limit: nil, page: nil, query: nil, request_options: {}) ⇒ Object

Parameters:

  • catalog_id (Integer)
  • filter (Object) (defaults to: nil)
  • limit (Integer) (defaults to: nil)
  • page (Integer) (defaults to: nil)
  • query (String, Integer) (defaults to: nil)
  • request_options (Amocrm::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


43
44
45
46
47
48
49
50
51
52
# File 'lib/amocrm/models/catalog_element_list_params.rb', line 43

module Query
  extend Amocrm::Internal::Type::Union

  variant String

  variant Integer

  # @!method self.variants
  #   @return [Array(String, Integer)]
end