Sha256: 204518e5a4f49347725951c89e829db30ea220bb9bdc129c634c2a6d4bde58ab

Contents?: true

Size: 969 Bytes

Versions: 7

Compression:

Stored size: 969 Bytes

Contents

# KlaviyoAPI::NoEmailMarketingFiltersInner

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'klaviyo-api-sdk'

KlaviyoAPI::NoEmailMarketingFiltersInner.openapi_one_of
# =>
# [
#   :'BounceDateFilter',
#   :'InvalidEmailDateFilter',
#   :'ManualSuppressionDateFilter'
# ]
```

### build

Find the appropriate object from the `openapi_one_of` list and casts the data into it.

#### Example

```ruby
require 'klaviyo-api-sdk'

KlaviyoAPI::NoEmailMarketingFiltersInner.build(data)
# => #<BounceDateFilter:0x00007fdd4aab02a0>

KlaviyoAPI::NoEmailMarketingFiltersInner.build(data_that_doesnt_match)
# => nil
```

#### Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| **data** | **Mixed** | data to be matched against the list of oneOf items |

#### Return type

- `BounceDateFilter`
- `InvalidEmailDateFilter`
- `ManualSuppressionDateFilter`
- `nil` (if no type matches)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
klaviyo-api-sdk-12.0.0 docs/NoEmailMarketingFiltersInner.md
klaviyo-api-sdk-11.1.0 docs/NoEmailMarketingFiltersInner.md
klaviyo-api-sdk-11.0.0 docs/NoEmailMarketingFiltersInner.md
klaviyo-api-sdk-10.0.0 docs/NoEmailMarketingFiltersInner.md
klaviyo-api-sdk-9.0.0 docs/NoEmailMarketingFiltersInner.md
klaviyo-api-sdk-8.0.0 docs/NoEmailMarketingFiltersInner.md
klaviyo-api-sdk-7.1.0 docs/NoEmailMarketingFiltersInner.md