This repository has been archived by the owner on Jul 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
using CakeMail.RestClient.Models; | ||
using CakeMail.RestClient.Resources; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
namespace CakeMail.RestClient | ||
{ | ||
/// <summary> | ||
/// Provides the base interface for implementation of access to the CakeMail API | ||
/// </summary> | ||
interface ICakeMailRestClient | ||
{ | ||
/// <summary> | ||
/// The API key provided by CakeMail | ||
/// </summary> | ||
string ApiKey { get; } | ||
|
||
/// <summary> | ||
/// The web proxy | ||
/// </summary> | ||
IWebProxy Proxy { get; } | ||
|
||
/// <summary> | ||
/// The user agent | ||
/// </summary> | ||
string UserAgent { get; } | ||
|
||
/// <summary> | ||
/// The timeout | ||
/// </summary> | ||
int Timeout { get; } | ||
|
||
/// <summary> | ||
/// The URL where all API requests are sent | ||
/// </summary> | ||
Uri BaseUrl { get; } | ||
|
||
Campaigns Campaigns { get; } | ||
Clients Clients { get; } | ||
Countries Countries { get; } | ||
Permissions Permissions { get; } | ||
Lists Lists { get; } | ||
Timezones Timezones { get; } | ||
Mailings Mailings { get; } | ||
Relays Relays { get; } | ||
Segments Segments { get; } | ||
Users Users { get; } | ||
SuppressionLists SuppressionLists { get; } | ||
Templates Templates { get; } | ||
Triggers Triggers { get; } | ||
} | ||
} |