Sha256: ec86d9eb745e4c8c65e944fe1ca55ec4131816aee5421db6bc760c110f865eb8

Contents?: true

Size: 872 Bytes

Versions: 12

Compression:

Stored size: 872 Bytes

Contents

# KlaviyoAPI::ProfileMetaPatchPropertiesUnset

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

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

KlaviyoAPI::ProfileMetaPatchPropertiesUnset.openapi_one_of
# =>
# [
#   :'Array<String>',
#   :'String'
# ]
```

### build

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

#### Example

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

KlaviyoAPI::ProfileMetaPatchPropertiesUnset.build(data)
# => #<Array<String>:0x00007fdd4aab02a0>

KlaviyoAPI::ProfileMetaPatchPropertiesUnset.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<String>`
- `String`
- `nil` (if no type matches)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
klaviyo-api-sdk-12.0.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-11.1.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-11.0.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-10.0.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-9.0.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-8.0.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-7.1.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-6.0.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-5.1.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-5.0.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-4.2.0 docs/ProfileMetaPatchPropertiesUnset.md
klaviyo-api-sdk-4.1.0 docs/ProfileMetaPatchPropertiesUnset.md