Sha256: bb4ac9db015f7b711e32289f002059e4c1415b3fe0fe02535208f435ee59b0d3
Contents?: true
Size: 802 Bytes
Versions: 3
Compression:
Stored size: 802 Bytes
Contents
# Athenian::GoalMetricParamsThreshold ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'athenian' Athenian::GoalMetricParamsThreshold.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 'athenian' Athenian::GoalMetricParamsThreshold.build(data) # => #<Float:0x00007fdd4aab02a0> Athenian::GoalMetricParamsThreshold.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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
athenian-2.1.86 | docs/GoalMetricParamsThreshold.md |
athenian-2.1.85 | docs/GoalMetricParamsThreshold.md |
athenian-2.1.81 | docs/GoalMetricParamsThreshold.md |