Profile class Null safety
representation of a profile that exist in the media service
- Annotations
- @JsonSerializable(explicitToJson: true)
Constructors
- Profile({required String token, dynamic xmlFixed, dynamic xmlName, VideoSourceConfiguration? videoSourceConfiguration, AudioSourceConfiguration? audioSourceConfiguration, VideoEncoderConfiguration? videoEncoderConfiguration, AudioEncoderConfiguration? audioEncoderConfiguration, VideoAnalyticsConfiguration? videoAnalyticsConfiguration, PtzConfiguration? ptzConfiguration})
-
Profile.fromJson(Map<
String, dynamic> json) -
factory
Properties
- audioEncoderConfiguration → AudioEncoderConfiguration?
-
Optional configuration of the Audio encoder.
@JsonKey(name: 'AudioEncoderConfiguration'), final
- audioSourceConfiguration → AudioSourceConfiguration?
-
Optional configuration of the Audio input.
@JsonKey(name: 'AudioSourceConfiguration'), final
- fixed → bool
-
A value of true signals that the profile cannot be deleted. Default is
false.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- name → String
-
User readable name of the profile.
read-only
- ptzConfiguration → PtzConfiguration?
-
Optional configuration of the pan tilt zoom unit.
@JsonKey(name: 'PTZConfiguration'), final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- token → String
-
Unique identifier of the profile.
@JsonKey(name: '@token'), final
- videoAnalyticsConfiguration → VideoAnalyticsConfiguration?
-
Optional configuration of the video analytics module and rule engine.
@JsonKey(name: 'VideoAnalyticsConfiguration'), final
- videoEncoderConfiguration → VideoEncoderConfiguration?
-
Optional configuration of the Video encoder.
@JsonKey(name: 'VideoEncoderConfiguration'), final
- videoSourceConfiguration → VideoSourceConfiguration?
-
Optional configuration of the Video input.
@JsonKey(name: 'VideoSourceConfiguration'), final
- xmlFixed → dynamic
-
@JsonKey(name: '@fixed'), final
- xmlName → dynamic
-
@JsonKey(name: 'Name'), final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited