EntertainmentConfiguration class

The configuration settings for an entertainment resource.

Inheritance

Constructors

EntertainmentConfiguration.new({required ResourceType type, required String id, String idV1 = "", required EntertainmentConfigurationMetadata metadata, String name = "", required String configurationType, required String status, required Relative activeStreamer, required EntertainmentConfigurationStreamProxy streamProxy, required List<EntertainmentConfigurationChannel> channels, required List<EntertainmentConfigurationLocation> locations, required List<Relative> lightServices, String? action})
Creates a EntertainmentConfiguration object.
EntertainmentConfiguration.empty()
Creates an empty EntertainmentConfiguration object.
EntertainmentConfiguration.fromJson(Map<String, dynamic> dataMap)
Creates a EntertainmentConfiguration object from the JSON response to a GET request.
factory

Properties

action String?
If status is:
getter/setter pair
activeStreamer Relative
Expected value is of a ResourceIdentifier of the type auth_v1 i.e. an application id, only available if status is active
final
channels List<EntertainmentConfigurationChannel>
Holds the channels. Each channel groups segments of one or different light.
final
configurationType String
Defines for which type of application this channel assignment was optimized for:
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
Unique identifier representing a specific resource instance.
finalinherited
idV1 String
Clip v1 resource identifier.
final
lightServices List<Relative>
List of light services that belong to this entertainment configuration.
final
locations List<EntertainmentConfigurationLocation>
Entertainment services of the lights that are in the zone have locations.
getter/setter pair
metadata EntertainmentConfigurationMetadata
The metadata for this entertainment configuration.
getter/setter pair
name String
Human readable name of a resource.
final
originalType ResourceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
Read only field reporting if the stream is active or not
final
streamProxy EntertainmentConfigurationStreamProxy
The proxy for this entertainment configuration stream.
getter/setter pair
type ResourceType
Type of the supported resource.
getter/setter pairinherited

Methods

copyWith({ResourceType? type, String? id, String? idV1, EntertainmentConfigurationMetadata? metadata, String? name, String? configurationType, String? status, Relative? activeStreamer, EntertainmentConfigurationStreamProxy? streamProxy, List<EntertainmentConfigurationChannel>? channels, List<EntertainmentConfigurationLocation>? locations, List<Relative>? lightServices, String? action = "", bool copyOriginalValues = true}) EntertainmentConfiguration
Returns a copy of this object with its field values replaced by the ones provided to this method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshOriginals() → void
Called after a successful PUT request, this method refreshed the "original" data in this object.
override
toJson({OptimizeFor optimizeFor = OptimizeFor.put}) Map<String, dynamic>
Converts this object into JSON format.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override