Sha256: 2fb6b4dbfa135913ab34c1381234651600c08fe5aa1a7a9bc528e5bb3ff84983

Contents?: true

Size: 1.46 KB

Versions: 7

Compression:

Stored size: 1.46 KB

Contents

# KlaviyoAPI::HasEmailMarketingSubscribedFiltersInner

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

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

KlaviyoAPI::HasEmailMarketingSubscribedFiltersInner.openapi_one_of
# =>
# [
#   :'APIMethodFilter',
#   :'BackInStockMethodFilter',
#   :'CustomSourceFilter',
#   :'DoubleOptinFilter',
#   :'FormMethodFilter',
#   :'InboundMessageMethodFilter',
#   :'ManualAddMethodFilter',
#   :'ManualImportMethodFilter',
#   :'PreferencePageFilter',
#   :'SftpMethodFilter',
#   :'ShopifyIntegrationMethodFilter',
#   :'StatusDateFilter'
# ]
```

### build

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

#### Example

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

KlaviyoAPI::HasEmailMarketingSubscribedFiltersInner.build(data)
# => #<APIMethodFilter:0x00007fdd4aab02a0>

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

#### Parameters

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

#### Return type

- `APIMethodFilter`
- `BackInStockMethodFilter`
- `CustomSourceFilter`
- `DoubleOptinFilter`
- `FormMethodFilter`
- `InboundMessageMethodFilter`
- `ManualAddMethodFilter`
- `ManualImportMethodFilter`
- `PreferencePageFilter`
- `SftpMethodFilter`
- `ShopifyIntegrationMethodFilter`
- `StatusDateFilter`
- `nil` (if no type matches)

Version data entries

7 entries across 7 versions & 1 rubygems

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