Module: Daily::DailyStreamingLayoutConfig
- Defined in:
- lib/daily-ruby/models/daily_streaming_layout_config.rb
Class Method Summary collapse
-
.build(data) ⇒ Object
Builds the object.
-
.openapi_discriminator_name ⇒ Object
Discriminator’s property name (OpenAPI v3).
-
.openapi_one_of ⇒ Object
List of class defined in oneOf (OpenAPI v3).
Class Method Details
.build(data) ⇒ Object
Builds the object
38 39 40 41 42 |
# File 'lib/daily-ruby/models/daily_streaming_layout_config.rb', line 38 def build(data) discriminator_value = data[openapi_discriminator_name] return nil if discriminator_value.nil? Daily.const_get(discriminator_value).build_from_hash(data) end |
.openapi_discriminator_name ⇒ Object
Discriminator’s property name (OpenAPI v3)
31 32 33 |
# File 'lib/daily-ruby/models/daily_streaming_layout_config.rb', line 31 def openapi_discriminator_name :'preset' end |
.openapi_one_of ⇒ Object
List of class defined in oneOf (OpenAPI v3)
20 21 22 23 24 25 26 27 28 |
# File 'lib/daily-ruby/models/daily_streaming_layout_config.rb', line 20 def openapi_one_of [ :'DailyStreamingActiveParticipantLayoutConfig', :'DailyStreamingCustomLayoutConfig', :'DailyStreamingDefaultLayoutConfig', :'DailyStreamingPortraitLayoutConfig', :'DailyStreamingSingleParticipantLayoutConfig' ] end |