Sha256: 5978b68a34201f12263239afff618532b12e6548da11be4afd9451ff839c6f2f

Contents?: true

Size: 890 Bytes

Versions: 3

Compression:

Stored size: 890 Bytes

Contents

# Athenian::CalculatedLinearMetricValuesConfidenceMinsInner

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'athenian'

Athenian::CalculatedLinearMetricValuesConfidenceMinsInner.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::CalculatedLinearMetricValuesConfidenceMinsInner.build(data)
# => #<Float:0x00007fdd4aab02a0>

Athenian::CalculatedLinearMetricValuesConfidenceMinsInner.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/CalculatedLinearMetricValuesConfidenceMinsInner.md
athenian-2.1.85 docs/CalculatedLinearMetricValuesConfidenceMinsInner.md
athenian-2.1.81 docs/CalculatedLinearMetricValuesConfidenceMinsInner.md