DescribePublishingDestinationResponse.fromJson constructor

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

Implementation

factory DescribePublishingDestinationResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribePublishingDestinationResponse(
    destinationId: json['destinationId'] as String,
    destinationProperties: DestinationProperties.fromJson(
        json['destinationProperties'] as Map<String, dynamic>),
    destinationType: (json['destinationType'] as String).toDestinationType(),
    publishingFailureStartTimestamp:
        json['publishingFailureStartTimestamp'] as int,
    status: (json['status'] as String).toPublishingStatus(),
  );
}