NielsenNonLinearWatermarkSettings.fromJson constructor

NielsenNonLinearWatermarkSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NielsenNonLinearWatermarkSettings.fromJson(
    Map<String, dynamic> json) {
  return NielsenNonLinearWatermarkSettings(
    activeWatermarkProcess: (json['activeWatermarkProcess'] as String?)
        ?.toNielsenActiveWatermarkProcessType(),
    adiFilename: json['adiFilename'] as String?,
    assetId: json['assetId'] as String?,
    assetName: json['assetName'] as String?,
    cbetSourceId: json['cbetSourceId'] as String?,
    episodeId: json['episodeId'] as String?,
    metadataDestination: json['metadataDestination'] as String?,
    sourceId: json['sourceId'] as int?,
    sourceWatermarkStatus: (json['sourceWatermarkStatus'] as String?)
        ?.toNielsenSourceWatermarkStatusType(),
    ticServerUrl: json['ticServerUrl'] as String?,
    uniqueTicPerAudioTrack: (json['uniqueTicPerAudioTrack'] as String?)
        ?.toNielsenUniqueTicPerAudioTrackType(),
  );
}