Class: Amocrm::Models::SourceListParams::Filter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::SourceListParams::Filter
- Defined in:
- lib/amocrm/models/source_list_params.rb,
sig/amocrm/models/source_list_params.rbs
Defined Under Namespace
Modules: ExternalID
Instance Attribute Summary collapse
Instance Method Summary collapse
- #initialize(external_id: nil) ⇒ Object constructor
- #to_hash ⇒ {
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(external_id: nil) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/amocrm/models/source_list_params.rb', line 19 class Filter < Amocrm::Internal::Type::BaseModel # @!attribute external_id # # @return [String, Integer, Boolean, Array<String, Integer, Boolean>, nil] optional :external_id, union: -> { Amocrm::SourceListParams::Filter::ExternalID } # @!method initialize(external_id: nil) # @param external_id [String, Integer, Boolean, Array<String, Integer, Boolean>] # @see Amocrm::Models::SourceListParams::Filter#external_id module ExternalID extend Amocrm::Internal::Type::Union variant String variant Integer variant Amocrm::Internal::Type::Boolean variant -> { Amocrm::Models::SourceListParams::Filter::ExternalID::UnionMember3Array } module UnionMember3 extend Amocrm::Internal::Type::Union variant String variant Integer variant Amocrm::Internal::Type::Boolean # @!method self.variants # @return [Array(String, Integer, Boolean)] end # @!method self.variants # @return [Array(String, Integer, Boolean, Array<String, Integer, Boolean>)] # @type [Amocrm::Internal::Type::Converter] UnionMember3Array = Amocrm::Internal::Type::ArrayOf[union: -> { Amocrm::SourceListParams::Filter::ExternalID::UnionMember3 }] end end |
Instance Attribute Details
#external_id ⇒ String, ...
23 |
# File 'lib/amocrm/models/source_list_params.rb', line 23 optional :external_id, union: -> { Amocrm::SourceListParams::Filter::ExternalID } |
Instance Method Details
#to_hash ⇒ {
41 |
# File 'sig/amocrm/models/source_list_params.rbs', line 41
def to_hash: -> {
|