EntertainmentSegmentCapabilities class

Represents the capabilities of an entertainment resource segment.

Constructors

EntertainmentSegmentCapabilities({required bool isConfigurable, required int maxSegments, required List<EntertainmentSegment> segments})
Creates a EntertainmentSegmentCapabilities object.
EntertainmentSegmentCapabilities.empty()
Creates an empty EntertainmentSegmentCapabilities object.
EntertainmentSegmentCapabilities.fromJson(Map<String, dynamic> dataMap)
Creates a EntertainmentSegmentCapabilities object from the JSON response to a GET request.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isConfigurable bool
Whether or not the segmentation of the device are configurable.
final
maxSegments int
The maximum number of segments this entertainment resource is capable of containing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segments List<EntertainmentSegment>
Contains the segments configuration of the device for entertainment purposes.
final

Methods

copyWith({bool? isConfigurable, int? maxSegments, List<EntertainmentSegment>? segments}) EntertainmentSegmentCapabilities
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
toJson() Map<String, dynamic>
Converts this object into JSON format.
toString() String
A string representation of this object.
override

Operators

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