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