RotateChannelCredentialsResponse.fromJson constructor
RotateChannelCredentialsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RotateChannelCredentialsResponse.fromJson(Map<String, dynamic> json) {
return RotateChannelCredentialsResponse(
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)),
);
}