OutboundCrossClusterSearchConnection.fromJson constructor

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

Implementation

factory OutboundCrossClusterSearchConnection.fromJson(
    Map<String, dynamic> json) {
  return OutboundCrossClusterSearchConnection(
    connectionAlias: json['ConnectionAlias'] as String?,
    connectionStatus: json['ConnectionStatus'] != null
        ? OutboundCrossClusterSearchConnectionStatus.fromJson(
            json['ConnectionStatus'] as Map<String, dynamic>)
        : null,
    crossClusterSearchConnectionId:
        json['CrossClusterSearchConnectionId'] as String?,
    destinationDomainInfo: json['DestinationDomainInfo'] != null
        ? DomainInformation.fromJson(
            json['DestinationDomainInfo'] as Map<String, dynamic>)
        : null,
    sourceDomainInfo: json['SourceDomainInfo'] != null
        ? DomainInformation.fromJson(
            json['SourceDomainInfo'] as Map<String, dynamic>)
        : null,
  );
}