public static QueryResult <IWeatherInfo> SuccessWeatherQueryResult(this DataGeneratorHook hook) { return(QueryResult <IWeatherInfo> .Success(default(IWeatherInfo))); }
public static JsonWeatherResponseBuilder WeatherJsonData(this DataGeneratorHook hook) { return(JsonWeatherResponseBuilder.Success()); }
public static WeatherRequestBuilder WeatherRequestForWarsawInPoland(this DataGeneratorHook hook) { return(new WeatherRequestBuilder().ForCity("Warsaw").InCountry("Poland")); }
public static WeatherDataBuilder WeatherData(this DataGeneratorHook hook) { return(new WeatherDataBuilder()); }
public static WeatherBuilder WeatherForWarsawInPoland(this DataGeneratorHook hook) { return(new WeatherBuilder().SetTemperature(23).InTemperatureScale(TemperatureScale.Celsius) .InCountry("Poland").ForCity("Warsaw").SetHumidity(40)); }
public static WeatherRequestBuilder WeatherRequest(this DataGeneratorHook hook) { return(new WeatherRequestBuilder()); }
public static ApiResonseBuilder ApiResponse(this DataGeneratorHook hook) { return(new ApiResonseBuilder()); }
public static GetWeatherDataQueryBuilder WeatherQueryForWarsawInPoland(this DataGeneratorHook hook) { return(new GetWeatherDataQueryBuilder().ForCity("Warsaw").ForCountry("Poland")); }
public static GetWeatherDataQueryBuilder WeatherQuery(this DataGeneratorHook hook) { return(new GetWeatherDataQueryBuilder()); }
public static JsonWeatherResponseBuilder NotFoundJsonData(this DataGeneratorHook hook, string message) { return(JsonWeatherResponseBuilder.NotFound(message)); }
public static JsonWeatherResponseBuilder ErrorJsonData(this DataGeneratorHook hook, string message) { return(JsonWeatherResponseBuilder.Error(message)); }