Sha256: 5b04907ee335556efeff9e9caf4fc12d5dfc60f5d6b3be1f7a997764e12215f4
Contents?: true
Size: 1.22 KB
Versions: 6
Compression:
Stored size: 1.22 KB
Contents
# KlaviyoAPI::BounceDateFilterFilter ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'klaviyo-api-sdk' KlaviyoAPI::BounceDateFilterFilter.openapi_one_of # => # [ # :'AnniversaryDateFilter', # :'CalendarDateFilter', # :'IsSetExistenceFilter', # :'RelativeAnniversaryDateFilter', # :'RelativeDateOperatorBaseFilter', # :'RelativeDateRangeFilter', # :'StaticDateFilter', # :'StaticDateRangeFilter' # ] ``` ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'klaviyo-api-sdk' KlaviyoAPI::BounceDateFilterFilter.build(data) # => #<AnniversaryDateFilter:0x00007fdd4aab02a0> KlaviyoAPI::BounceDateFilterFilter.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `AnniversaryDateFilter` - `CalendarDateFilter` - `IsSetExistenceFilter` - `RelativeAnniversaryDateFilter` - `RelativeDateOperatorBaseFilter` - `RelativeDateRangeFilter` - `StaticDateFilter` - `StaticDateRangeFilter` - `nil` (if no type matches)
Version data entries
6 entries across 6 versions & 1 rubygems