Output.fromJson constructor
Implementation
factory Output.fromJson(Map<String, dynamic> json) {
return Output(
name: json['name'] as String,
outputArn: json['outputArn'] as String,
dataTransferSubscriberFeePercent:
json['dataTransferSubscriberFeePercent'] as int?,
description: json['description'] as String?,
destination: json['destination'] as String?,
encryption: json['encryption'] != null
? Encryption.fromJson(json['encryption'] as Map<String, dynamic>)
: null,
entitlementArn: json['entitlementArn'] as String?,
mediaLiveInputArn: json['mediaLiveInputArn'] as String?,
port: json['port'] as int?,
transport: json['transport'] != null
? Transport.fromJson(json['transport'] as Map<String, dynamic>)
: null,
vpcInterfaceAttachment: json['vpcInterfaceAttachment'] != null
? VpcInterfaceAttachment.fromJson(
json['vpcInterfaceAttachment'] as Map<String, dynamic>)
: null,
);
}