/// <summary> /// Creates a new instance of <see cref="ModSearchRequestBuilder" /> /// </summary> /// <param name="client">The <see cref="ModrinthClient" /> to build with</param> public ModSearchRequestBuilder(ModrinthClient client) : base(client) { Limit = 10; Offset = 0; Query = string.Empty; Filter = null; Indexing = SearchIndex.Relevance; }
/// <summary> /// Creates a new instance of <see cref="ReleasesSearchRequestBuilder" /> /// </summary> /// <param name="client">The <see cref="ModrinthClient" /> to build with</param> public ReleasesSearchRequestBuilder(ModrinthClient client, Identifier id) : base(client, id) { }
/// <summary> /// Creates a new instance of <see cref="ModIdRequestBuilder" /> /// </summary> /// <param name="client">The <see cref="ModrinthClient" /> to build with</param> public ModIdRequestBuilder(ModrinthClient client, Identifier id) : base(client, id) { }
/// <summary> /// Creates a new instance of <see cref="BuilderBase{T}"/> /// </summary> /// <param name="client">The <see cref="ModrinthClient"/> to build with</param> protected BuilderBase(ModrinthClient client) { this.client = client.HttpClient; serializerOptions = client.SerializerOptions; }
/// <summary> /// Creates a new instance of <see cref="IdBuilderBase{T}" /> /// </summary> /// <param name="client">The <see cref="ModrinthClient" /> to build with</param> protected IdBuilderBase(ModrinthClient client, Identifier id) : base(client) { Identifier = id; }