GetIndexingConfigurationResponse.fromJson constructor

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

Implementation

factory GetIndexingConfigurationResponse.fromJson(Map<String, dynamic> json) {
  return GetIndexingConfigurationResponse(
    thingGroupIndexingConfiguration:
        json['thingGroupIndexingConfiguration'] != null
            ? ThingGroupIndexingConfiguration.fromJson(
                json['thingGroupIndexingConfiguration']
                    as Map<String, dynamic>)
            : null,
    thingIndexingConfiguration: json['thingIndexingConfiguration'] != null
        ? ThingIndexingConfiguration.fromJson(
            json['thingIndexingConfiguration'] as Map<String, dynamic>)
        : null,
  );
}