InboundCrossClusterSearchConnection.fromJson constructor

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

Implementation

factory InboundCrossClusterSearchConnection.fromJson(
    Map<String, dynamic> json) {
  return InboundCrossClusterSearchConnection(
    connectionStatus: json['ConnectionStatus'] != null
        ? InboundCrossClusterSearchConnectionStatus.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,
  );
}