Skip to content

Commit c02049f

Browse files
committed
Revert "- Add missing docstrings"
This reverts commit 67a7f1a
1 parent 06f5d4b commit c02049f

File tree

3 files changed

+1
-50
lines changed

3 files changed

+1
-50
lines changed

EasyPost/Hooks.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
using System;
2+
using System.Collections.Generic;
23
using System.Net;
34
using System.Net.Http;
45
using System.Net.Http.Headers;
5-
using EasyPost._base;
66

77
namespace EasyPost;
88

9-
/// <summary>
10-
/// Class representing a set of callbacks to use for introspecting API requests made by an <see cref="EasyPostClient"/>.
11-
/// </summary>
129
public class Hooks
1310
{
1411
/// <summary>
@@ -23,10 +20,6 @@ public class Hooks
2320
public EventHandler<OnRequestResponseReceivedEventArgs>? OnRequestResponseReceived { get; set; }
2421
}
2522

26-
/// <summary>
27-
/// Represents a set of <see cref="EventArgs"/> containing information about an in-flight HTTP request.
28-
/// This set is passed into the <see cref="Hooks.OnRequestExecuting"/> event handler.
29-
/// </summary>
3023
public class OnRequestExecutingEventArgs : EventArgs
3124
{
3225
/// <summary>
@@ -78,10 +71,6 @@ internal OnRequestExecutingEventArgs(HttpRequestMessage request, int timestamp,
7871
}
7972
}
8073

81-
/// <summary>
82-
/// Represents a set of <see cref="EventArgs"/> containing information about an HTTP response received by the client.
83-
/// This set is passed into the <see cref="Hooks.OnRequestResponseReceived"/> event handler.
84-
/// </summary>
8574
public class OnRequestResponseReceivedEventArgs : EventArgs
8675
{
8776
/// <summary>

EasyPost/Models/API/CarrierAccountType.cs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,18 @@
33

44
namespace EasyPost.Models.API;
55

6-
/// <summary>
7-
/// Enums representing specific carrier account types.
8-
/// </summary>
96
public class CarrierAccountType : ValueEnum
107
{
11-
/// <summary>
12-
/// Represents a FedEx carrier account.
13-
/// </summary>
148
public static readonly CarrierAccountType FedEx = new CarrierAccountType(26, "FedexAccount");
15-
16-
/// <summary>
17-
/// Represents a FedEx SmartPost carrier account.
18-
/// </summary>
199
public static readonly CarrierAccountType FedExSmartPost = new CarrierAccountType(30, "FedexSmartpostAccount");
20-
21-
/// <summary>
22-
/// Represents a UPS carrier account.
23-
/// </summary>
2410
public static readonly CarrierAccountType Ups = new CarrierAccountType(59, "UpsAccount");
2511

26-
/// <summary>
27-
/// Constructor for CarrierAccountType enum.
28-
/// </summary>
29-
/// <param name="id">Internal ID of the enum. Must be unique among all enums of this specific type.</param>
30-
/// <param name="name">Name of the carrier account type. Stored as the value associated with this enum.</param>
3112
private CarrierAccountType(int id, string name)
3213
: base(id, name)
3314
{
3415
}
3516

36-
/// <summary>
37-
/// Gets the name of this <see cref="CarrierAccountType"/>.
38-
/// </summary>
3917
public string Name => (string)Value;
4018

41-
/// <summary>
42-
/// Gets all <see cref="CarrierAccountType"/> enums.
43-
/// </summary>
44-
/// <returns></returns>
4519
public static IEnumerable<CarrierAccountType> All() => GetAll<CarrierAccountType>();
4620
}

EasyPost/Parameters/IBaseParameters.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,9 @@
1212

1313
namespace EasyPost.Parameters;
1414

15-
/// <summary>
16-
/// Base interface for all EasyPost API parameters.
17-
/// </summary>
1815
public interface IBaseParameters
1916
{
20-
/// <summary>
21-
/// Convert this object to a <see cref="Dictionary{TKey,TValue}"/>.
22-
/// </summary>
23-
/// <returns></returns>
2417
public Dictionary<string, object> ToDictionary();
2518

26-
/// <summary>
27-
/// Convert this object to a sub-<see cref="Dictionary{TKey,TValue}"/> based on the parent parameter object type.
28-
/// </summary>
29-
/// <param name="parentParameterObjectType"></param>
30-
/// <returns></returns>
3119
public Dictionary<string, object> ToSubDictionary(Type parentParameterObjectType);
3220
}

0 commit comments

Comments
 (0)