Sha256: b01b9c04f10e026aa5c560f363265fad14ef202529c46138860700df6e05a820
Contents?: true
Size: 921 Bytes
Versions: 5
Compression:
Stored size: 921 Bytes
Contents
# DatadogAPIClient::V1::NotebookGlobalTime ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'datadog_api_client/v1' DatadogAPIClient::V1::NotebookGlobalTime.openapi_one_of # => # [ # :'NotebookAbsoluteTime', # :'NotebookRelativeTime' # ] ``` ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'datadog_api_client/v1' DatadogAPIClient::V1::NotebookGlobalTime.build(data) # => #<NotebookAbsoluteTime:0x00007fdd4aab02a0> DatadogAPIClient::V1::NotebookGlobalTime.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `NotebookAbsoluteTime` - `NotebookRelativeTime` - `nil` (if no type matches)
Version data entries
5 entries across 5 versions & 1 rubygems