public ExternalServicesJSON(ExternalServicesType type, string inputUri, string resultJson, int?planFormId = null) : this() { ServiceType = type; InputUri = inputUri; ResultJSON = resultJson; PlanFormId = planFormId; }
public static string Interprete(ExternalServicesType type) { switch (type) { case ExternalServicesType.GooglePlaceDetails: return("GooglePlaceDetails"); case ExternalServicesType.GooglePlaceSearch: return("GooglePlaceSearch"); case ExternalServicesType.GooglePlaceNearbySearch: return("GooglePlaceNearbySearch"); case ExternalServicesType.GoogleDistanceMatrix: return("GoogleDistanceMatrix"); case ExternalServicesType.GoogleDirections: return("GoogleDirections"); default: return(String.Empty); } }