Sha256: c9702da7d1e5e33e4e44d59f73aa7d61556cfb1706d8037467b8f70a2b781387
Contents?: true
Size: 919 Bytes
Versions: 1
Compression:
Stored size: 919 Bytes
Contents
# Fastly::LogInsightsDimensionAttributes ## Class instance methods ### `fastly_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'fastly' Fastly::LogInsightsDimensionAttributes.fastly_one_of # => # [ # :'DimensionAttributesCountryStats', # :'DimensionAttributesRate' # ] ``` ### build Find the appropriate object from the `fastly_one_of` list and casts the data into it. #### Example ```ruby require 'fastly' Fastly::LogInsightsDimensionAttributes.build(data) # => #<DimensionAttributesCountryStats:0x00007fdd4aab02a0> Fastly::LogInsightsDimensionAttributes.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `DimensionAttributesCountryStats` - `DimensionAttributesRate` - `nil` (if no type matches)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastly-9.0.0 | docs/LogInsightsDimensionAttributes.md |