Sha256: 938f54f18a47bd24836a89c0dbdb740f35f3c9f4e15c85f14ececf4b53616e39
Contents?: true
Size: 937 Bytes
Versions: 7
Compression:
Stored size: 937 Bytes
Contents
# KlaviyoAPI::ProfilePredictiveAnalyticsStringFilterOperator ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'klaviyo-api-sdk' KlaviyoAPI::ProfilePredictiveAnalyticsStringFilterOperator.openapi_one_of # => # [ # :'EqualsEnum', # :'NotEqualsEnum' # ] ``` ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'klaviyo-api-sdk' KlaviyoAPI::ProfilePredictiveAnalyticsStringFilterOperator.build(data) # => #<EqualsEnum:0x00007fdd4aab02a0> KlaviyoAPI::ProfilePredictiveAnalyticsStringFilterOperator.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `EqualsEnum` - `NotEqualsEnum` - `nil` (if no type matches)
Version data entries
7 entries across 7 versions & 1 rubygems