Sha256: 2cace883b6efb9ac11b80e3f7f14273cd1b3b32a3d94ca727c597c1daaa81a0c
Contents?: true
Size: 1.02 KB
Versions: 7
Compression:
Stored size: 1.02 KB
Contents
# KlaviyoAPI::NoEmailMarketingUnsubscribedFilters ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'klaviyo-api-sdk' KlaviyoAPI::NoEmailMarketingUnsubscribedFilters.openapi_one_of # => # [ # :'Array<NoEmailMarketingFiltersInner>', # :'Array<NoEmailMarketingUnsubscribedFiltersOneOfInner>' # ] ``` ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'klaviyo-api-sdk' KlaviyoAPI::NoEmailMarketingUnsubscribedFilters.build(data) # => #<Array<NoEmailMarketingFiltersInner>:0x00007fdd4aab02a0> KlaviyoAPI::NoEmailMarketingUnsubscribedFilters.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `Array<NoEmailMarketingFiltersInner>` - `Array<NoEmailMarketingUnsubscribedFiltersOneOfInner>` - `nil` (if no type matches)
Version data entries
7 entries across 7 versions & 1 rubygems