Sha256: 0b3a133f192285c4bf46273d95cc13ac653754760604220f76fd7926f6a105bb
Contents?: true
Size: 842 Bytes
Versions: 3
Compression:
Stored size: 842 Bytes
Contents
# Athenian::ReleaseMetricsRequestForInner ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'athenian' Athenian::ReleaseMetricsRequestForInner.openapi_one_of # => # [ # :'Array<String>', # :'String' # ] ``` ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'athenian' Athenian::ReleaseMetricsRequestForInner.build(data) # => #<Array<String>:0x00007fdd4aab02a0> Athenian::ReleaseMetricsRequestForInner.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `Array<String>` - `String` - `nil` (if no type matches)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
athenian-2.1.86 | docs/ReleaseMetricsRequestForInner.md |
athenian-2.1.85 | docs/ReleaseMetricsRequestForInner.md |
athenian-2.1.81 | docs/ReleaseMetricsRequestForInner.md |