Skip to content

Commit

Permalink
[Library -> Models] Move rest folder into models.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogFeelings committed Feb 8, 2024
1 parent ec0f0ca commit 0938f54
Show file tree
Hide file tree
Showing 29 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions Source/SammBot.Bot/Modules/BooruModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
using SammBot.Library.Attributes;
using SammBot.Library.Extensions;
using SammBot.Library.Models;
using SammBot.Library.Models.E621;
using SammBot.Library.Models.Rule34;
using SammBot.Library.Preconditions;
using SammBot.Library.Rest.E621;
using SammBot.Library.Rest.Rule34;

namespace SammBot.Bot.Modules;

Expand Down
2 changes: 1 addition & 1 deletion Source/SammBot.Bot/Modules/FunModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
using SammBot.Library.Attributes;
using SammBot.Library.Extensions;
using SammBot.Library.Models;
using SammBot.Library.Models.UrbanDictionary;
using SammBot.Library.Preconditions;
using SammBot.Library.Rest.UrbanDictionary;

namespace SammBot.Bot.Modules;

Expand Down
2 changes: 1 addition & 1 deletion Source/SammBot.Bot/Modules/RandomModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
using SammBot.Library.Attributes;
using SammBot.Library.Extensions;
using SammBot.Library.Models;
using SammBot.Library.Models.Animal;
using SammBot.Library.Preconditions;
using SammBot.Library.Rest;

namespace SammBot.Bot.Modules;

Expand Down
4 changes: 2 additions & 2 deletions Source/SammBot.Bot/Modules/UtilsModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
using SammBot.Library.Attributes;
using SammBot.Library.Extensions;
using SammBot.Library.Models;
using SammBot.Library.Models.OpenWeather.Forecast;
using SammBot.Library.Models.OpenWeather.Geolocation;
using SammBot.Library.Preconditions;
using SammBot.Library.Rest.OpenWeather.Forecast;
using SammBot.Library.Rest.OpenWeather.Geolocation;

namespace SammBot.Bot.Modules;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest;
namespace SammBot.Library.Models.Animal;

/// <summary>
/// A class that contains a duck image from the random-d.uk API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest;
namespace SammBot.Library.Models.Animal;

/// <summary>
/// A class that contains a fox image from the Random Fox API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.E621;
namespace SammBot.Library.Models.E621;

/// <summary>
/// A class that contains a file from the e621 CDN.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.E621;
namespace SammBot.Library.Models.E621;

/// <summary>
/// A class that contains a post from the e621 API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.E621;
namespace SammBot.Library.Models.E621;

/// <summary>
/// A class that contains a post query reply from e621.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.E621;
namespace SammBot.Library.Models.E621;

/// <summary>
/// A class containing a post's score in e621.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using SammBot.Library.Attributes;

namespace SammBot.Library.Rest.E621;
namespace SammBot.Library.Models.E621;

/// <summary>
/// A class used to pass search parameters to the e621
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.E621;
namespace SammBot.Library.Models.E621;

/// <summary>
/// A class that contains a post's tags on e621.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class CloudForecast
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class CompleteForecast
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class Condition
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class Coordinate
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class ForecastLocation
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class MainForecast
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class RainForecast
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class SnowForecast
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using SammBot.Library.Attributes;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class WeatherParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Forecast;
namespace SammBot.Library.Models.OpenWeather.Forecast;

public class WindForecast
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.OpenWeather.Geolocation;
namespace SammBot.Library.Models.OpenWeather.Geolocation;

public class GeolocationLocation
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using SammBot.Library.Attributes;

namespace SammBot.Library.Rest.OpenWeather.Geolocation;
namespace SammBot.Library.Models.OpenWeather.Geolocation;

public class GeolocationParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.Rule34;
namespace SammBot.Library.Models.Rule34;

/// <summary>
/// A class that contains a post from the Rule34 API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using SammBot.Library.Attributes;

namespace SammBot.Library.Rest.Rule34;
namespace SammBot.Library.Models.Rule34;

/// <summary>
/// A class used to pass search parameters to the Rule34
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.UrbanDictionary;
namespace SammBot.Library.Models.UrbanDictionary;

/// <summary>
/// A class that contains a word definition from the Urban Dictionary API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using System.Text.Json.Serialization;

namespace SammBot.Library.Rest.UrbanDictionary;
namespace SammBot.Library.Models.UrbanDictionary;

/// <summary>
/// A class that contains a list of word definitions from the Urban Dictionary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

using SammBot.Library.Attributes;

namespace SammBot.Library.Rest.UrbanDictionary;
namespace SammBot.Library.Models.UrbanDictionary;

/// <summary>
/// A class used to pass search parameters to the Urban
Expand Down

0 comments on commit 0938f54

Please sign in to comment.