/// <summary>
 /// Creates a new time entry wqith the specified <paramref name="options"/>.
 /// </summary>
 /// <param name="options">Theoptions for the request to the Toggl API.</param>
 /// <returns>An instance of <see cref="TogglEntryResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://github.com/toggl/toggl_api_docs/blob/master/chapters/time_entries.md#create-a-time-entry</cref>
 /// </see>
 public TogglEntryResponse CreateEntry(TogglCreateTimeEntryOptions options)
 {
     return(TogglEntryResponse.Parse(Raw.CreateEntry(options)));
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new time entry wqith the specified <paramref name="options"/>.
 /// </summary>
 /// <param name="options">Theoptions for the request to the Toggl API.</param>
 /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns>
 /// <see>
 ///     <cref>https://github.com/toggl/toggl_api_docs/blob/master/chapters/time_entries.md#create-a-time-entry</cref>
 /// </see>
 public IHttpResponse CreateEntry(TogglCreateTimeEntryOptions options)
 {
     return(Client.GetResponse(options));
 }