Sha256: 7ee33e4deb418c4c76e54523aff58c6f582869951591c5c65ba635aac36c358b

Contents?: true

Size: 816 Bytes

Versions: 17

Compression:

Stored size: 816 Bytes

Contents

# KlaviyoAPI::ProfileLocationLatitude

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

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

KlaviyoAPI::ProfileLocationLatitude.openapi_one_of
# =>
# [
#   :'Float',
#   :'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::ProfileLocationLatitude.build(data)
# => #<Float:0x00007fdd4aab02a0>

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

#### Parameters

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

#### Return type

- `Float`
- `String`
- `nil` (if no type matches)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
klaviyo-api-sdk-12.0.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-11.1.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-11.0.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-10.0.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-9.0.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-8.0.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-7.1.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-6.0.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-5.1.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-5.0.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-4.2.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-4.1.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-2.0.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-1.2.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-1.1.0 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-1.0.1 docs/ProfileLocationLatitude.md
klaviyo-api-sdk-1.0.0 docs/ProfileLocationLatitude.md