UpdateChannelResponse.fromJson constructor

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

Implementation

factory UpdateChannelResponse.fromJson(Map<String, dynamic> json) {
  return UpdateChannelResponse(
    arn: json['arn'] as String?,
    description: json['description'] as String?,
    egressAccessLogs: json['egressAccessLogs'] != null
        ? EgressAccessLogs.fromJson(
            json['egressAccessLogs'] as Map<String, dynamic>)
        : null,
    hlsIngest: json['hlsIngest'] != null
        ? HlsIngest.fromJson(json['hlsIngest'] as Map<String, dynamic>)
        : null,
    id: json['id'] as String?,
    ingressAccessLogs: json['ingressAccessLogs'] != null
        ? IngressAccessLogs.fromJson(
            json['ingressAccessLogs'] as Map<String, dynamic>)
        : null,
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}