Sha256: 7adcc47c41145ac4a0b95dc548863873aa1859aae450a50a6405726eef3b35a6
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 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', # :'RelativeDateFilter', # :'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` - `RelativeDateFilter` - `RelativeDateRangeFilter` - `StaticDateFilter` - `StaticDateRangeFilter` - `nil` (if no type matches)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
klaviyo-api-sdk-7.1.0 | docs/BounceDateFilterFilter.md |