Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Added constructor for credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannes Kaspar-Müller committed Sep 1, 2022
1 parent c6d5a20 commit ccec6a6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Clockodo.NET/DataContracts/Credentials.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

public class Credentials
{
public Credentials(string emailAddress, string apiToken, string applicationName, string contactEmail)
{
EmailAddress = emailAddress;
ApiToken = apiToken;
ApplicationName = applicationName;
ContactEmail = contactEmail;
}

public string EmailAddress { get; set; }
public string ApiToken { get; set; }
public string ApplicationName { get; set; }
Expand Down

0 comments on commit ccec6a6

Please sign in to comment.