Sha256: 926bc649a8401b0148e1fcd95e00c87223890409308cb22bca07ec22d54e3c1b
Contents?: true
Size: 820 Bytes
Versions: 14
Compression:
Stored size: 820 Bytes
Contents
# KlaviyoAPI::ProfileLocationLongitude ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'klaviyo-api-sdk' KlaviyoAPI::ProfileLocationLongitude.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::ProfileLocationLongitude.build(data) # => #<Float:0x00007fdd4aab02a0> KlaviyoAPI::ProfileLocationLongitude.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
14 entries across 14 versions & 1 rubygems