Sha256: 40112e25a62ca217cf35920bd5cb00bad99c1db10d262b4a8b4a6db05b5ebc21

Contents?: true

Size: 884 Bytes

Versions: 18

Compression:

Stored size: 884 Bytes

Contents

# MuxRuby::UpdateReferrerDomainRestrictionRequest

## Class instance methods

### `openapi_one_of`

Returns the list of classes defined in oneOf.

#### Example

```ruby
require 'mux_ruby'

MuxRuby::UpdateReferrerDomainRestrictionRequest.openapi_one_of
# =>
# [
#   :'ReferrerDomainRestriction'
# ]
```

### build

Find the appropriate object from the `openapi_one_of` list and casts the data into it.

#### Example

```ruby
require 'mux_ruby'

MuxRuby::UpdateReferrerDomainRestrictionRequest.build(data)
# => #<ReferrerDomainRestriction:0x00007fdd4aab02a0>

MuxRuby::UpdateReferrerDomainRestrictionRequest.build(data_that_doesnt_match)
# => nil
```

#### Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| **data** | **Mixed** | data to be matched against the list of oneOf items |

#### Return type

- `ReferrerDomainRestriction`
- `nil` (if no type matches)

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
mux_ruby-3.20.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.19.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.18.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.17.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.15.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.14.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.13.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.12.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.11.1 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.11.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.9.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.8.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.7.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.6.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.5.2 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.5.1 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.5.0 docs/UpdateReferrerDomainRestrictionRequest.md
mux_ruby-3.4.0 docs/UpdateReferrerDomainRestrictionRequest.md