@@ -11,113 +11,113 @@ namespace AfterShipTracking
1111 /// <summary>
1212 /// Object describes checkpoint information.
1313 /// </summary>
14- public class Checkpoint
14+ public class Checkpoint
1515 {
1616 /// <summary>
1717 /// CreatedAt The date and time of the checkpoint event was added to AfterShip. It uses the format `YYYY-MM-DDTHH:mm:ssZ` for the timezone GMT +0.
1818 /// </summary>
19- [ JsonProperty ( "created_at" , NullValueHandling = NullValueHandling . Ignore ) ]
20- public string ? CreatedAt { get ; set ; }
19+ [ JsonProperty ( "created_at" , NullValueHandling = NullValueHandling . Ignore ) ]
20+ public string ? CreatedAt { get ; set ; }
2121 /// <summary>
2222 /// Slug The unique code of courier for this checkpoint. Get courier slug
2323 /// </summary>
24- [ JsonProperty ( "slug" , NullValueHandling = NullValueHandling . Ignore ) ]
25- public string ? Slug { get ; set ; }
24+ [ JsonProperty ( "slug" , NullValueHandling = NullValueHandling . Ignore ) ]
25+ public string ? Slug { get ; set ; }
2626 /// <summary>
2727 /// CheckpointTime The date and time of the checkpoint event, provided by the carrier. It uses the timezone of the checkpoint. The format may differ depending on how the carrier provides it:- YYYY-MM-DDTHH:mm:ss- YYYY-MM-DDTHH:mm:ssZ
2828 /// </summary>
29- [ JsonProperty ( "checkpoint_time" , NullValueHandling = NullValueHandling . Ignore ) ]
30- public string ? CheckpointTime { get ; set ; }
29+ [ JsonProperty ( "checkpoint_time" , NullValueHandling = NullValueHandling . Ignore ) ]
30+ public string ? CheckpointTime { get ; set ; }
3131 /// <summary>
3232 /// Location Location info provided by carrier
3333 /// </summary>
34- [ JsonProperty ( "location" , NullValueHandling = NullValueHandling . Ignore ) ]
35- public string ? Location { get ; set ; }
34+ [ JsonProperty ( "location" , NullValueHandling = NullValueHandling . Ignore ) ]
35+ public string ? Location { get ; set ; }
3636 /// <summary>
3737 /// City City info provided by carrier
3838 /// </summary>
39- [ JsonProperty ( "city" , NullValueHandling = NullValueHandling . Ignore ) ]
40- public string ? City { get ; set ; }
39+ [ JsonProperty ( "city" , NullValueHandling = NullValueHandling . Ignore ) ]
40+ public string ? City { get ; set ; }
4141 /// <summary>
4242 /// State State info provided by carrier
4343 /// </summary>
44- [ JsonProperty ( "state" , NullValueHandling = NullValueHandling . Ignore ) ]
45- public string ? State { get ; set ; }
44+ [ JsonProperty ( "state" , NullValueHandling = NullValueHandling . Ignore ) ]
45+ public string ? State { get ; set ; }
4646 /// <summary>
4747 /// Zip Postal code info provided by carrier
4848 /// </summary>
49- [ JsonProperty ( "zip" , NullValueHandling = NullValueHandling . Ignore ) ]
50- public string ? Zip { get ; set ; }
49+ [ JsonProperty ( "zip" , NullValueHandling = NullValueHandling . Ignore ) ]
50+ public string ? Zip { get ; set ; }
5151 /// <summary>
5252 /// Coordinate The latitude and longitude coordinates indicate the precise location of the shipments that are currently in transit.
5353 /// </summary>
54- [ JsonProperty ( "coordinate" , NullValueHandling = NullValueHandling . Ignore ) ]
55- public CoordinateCheckpoint ? Coordinate { get ; set ; }
54+ [ JsonProperty ( "coordinate" , NullValueHandling = NullValueHandling . Ignore ) ]
55+ public CoordinateCheckpoint ? Coordinate { get ; set ; }
5656 /// <summary>
5757 /// CountryRegion Country/Region ISO Alpha-3 (three letters) of the checkpoint
5858 /// </summary>
59- [ JsonProperty ( "country_region" , NullValueHandling = NullValueHandling . Ignore ) ]
60- public string ? CountryRegion { get ; set ; }
59+ [ JsonProperty ( "country_region" , NullValueHandling = NullValueHandling . Ignore ) ]
60+ public string ? CountryRegion { get ; set ; }
6161 /// <summary>
6262 /// CountryRegionName Country/Region name of the checkpoint, may also contain other location info.
6363 /// </summary>
64- [ JsonProperty ( "country_region_name" , NullValueHandling = NullValueHandling . Ignore ) ]
65- public string ? CountryRegionName { get ; set ; }
64+ [ JsonProperty ( "country_region_name" , NullValueHandling = NullValueHandling . Ignore ) ]
65+ public string ? CountryRegionName { get ; set ; }
6666 /// <summary>
6767 /// Message Checkpoint message
6868 /// </summary>
69- [ JsonProperty ( "message" , NullValueHandling = NullValueHandling . Ignore ) ]
70- public string ? Message { get ; set ; }
69+ [ JsonProperty ( "message" , NullValueHandling = NullValueHandling . Ignore ) ]
70+ public string ? Message { get ; set ; }
7171 /// <summary>
7272 /// Tag Current status of tracking. (
7373 /// </summary>
74- [ JsonProperty ( "tag" , NullValueHandling = NullValueHandling . Ignore ) ]
75- public TagV1 ? Tag { get ; set ; }
74+ [ JsonProperty ( "tag" , NullValueHandling = NullValueHandling . Ignore ) ]
75+ public Tag ? Tag { get ; set ; }
7676 /// <summary>
7777 /// Subtag Current subtag of checkpoint. (
7878 /// </summary>
79- [ JsonProperty ( "subtag" , NullValueHandling = NullValueHandling . Ignore ) ]
80- public string ? Subtag { get ; set ; }
79+ [ JsonProperty ( "subtag" , NullValueHandling = NullValueHandling . Ignore ) ]
80+ public string ? Subtag { get ; set ; }
8181 /// <summary>
8282 /// SubtagMessage Normalized checkpoint message. (
8383 /// </summary>
84- [ JsonProperty ( "subtag_message" , NullValueHandling = NullValueHandling . Ignore ) ]
85- public string ? SubtagMessage { get ; set ; }
84+ [ JsonProperty ( "subtag_message" , NullValueHandling = NullValueHandling . Ignore ) ]
85+ public string ? SubtagMessage { get ; set ; }
8686 /// <summary>
8787 /// RawTag Checkpoint raw status provided by courier
8888 /// </summary>
89- [ JsonProperty ( "raw_tag" , NullValueHandling = NullValueHandling . Ignore ) ]
90- public string ? RawTag { get ; set ; }
89+ [ JsonProperty ( "raw_tag" , NullValueHandling = NullValueHandling . Ignore ) ]
90+ public string ? RawTag { get ; set ; }
9191 /// <summary>
9292 /// Events The array provides details about specific event(s) that occurred to a shipment, such as "returned_to_sender". You can find the full list of events and reasons </span>- The events' value for the same checkpoint message is subject to change as we consistently strive to enhance the performance of this feature.
9393 /// </summary>
94- [ JsonProperty ( "events" , NullValueHandling = NullValueHandling . Ignore ) ]
95- public EventsCheckpoint ? [ ] Events { get ; set ; }
94+ [ JsonProperty ( "events" , NullValueHandling = NullValueHandling . Ignore ) ]
95+ public EventsCheckpoint ? [ ] Events { get ; set ; }
9696 /// <summary>
9797 /// Source The source of the checkpoint, which can either be from the carrier or when the user marks the tracking as completed.
9898 /// </summary>
99- [ JsonProperty ( "source" , NullValueHandling = NullValueHandling . Ignore ) ]
100- public string ? Source { get ; set ; }
99+ [ JsonProperty ( "source" , NullValueHandling = NullValueHandling . Ignore ) ]
100+ public string ? Source { get ; set ; }
101101 public Checkpoint ( )
102102 {
103103 }
104104 }
105-
105+
106106 /// <summary>
107107 ///
108108 /// </summary>
109- public class CoordinateCheckpoint
109+ public class CoordinateCheckpoint
110110 {
111111 /// <summary>
112112 /// Latitude Represents the latitude.
113113 /// </summary>
114- [ JsonProperty ( "latitude" , NullValueHandling = NullValueHandling . Ignore ) ]
115- public double ? Latitude { get ; set ; }
114+ [ JsonProperty ( "latitude" , NullValueHandling = NullValueHandling . Ignore ) ]
115+ public double ? Latitude { get ; set ; }
116116 /// <summary>
117117 /// Longitude Represents the longitude.
118118 /// </summary>
119- [ JsonProperty ( "longitude" , NullValueHandling = NullValueHandling . Ignore ) ]
120- public double ? Longitude { get ; set ; }
119+ [ JsonProperty ( "longitude" , NullValueHandling = NullValueHandling . Ignore ) ]
120+ public double ? Longitude { get ; set ; }
121121
122122 public CoordinateCheckpoint ( )
123123 {
@@ -126,13 +126,13 @@ public CoordinateCheckpoint()
126126 /// <summary>
127127 ///
128128 /// </summary>
129- public class ReasonEventsCheckpoint
129+ public class ReasonEventsCheckpoint
130130 {
131131 /// <summary>
132132 /// Code The code of the reason.
133133 /// </summary>
134- [ JsonProperty ( "code" , NullValueHandling = NullValueHandling . Ignore ) ]
135- public string ? Code { get ; set ; }
134+ [ JsonProperty ( "code" , NullValueHandling = NullValueHandling . Ignore ) ]
135+ public string ? Code { get ; set ; }
136136
137137 public ReasonEventsCheckpoint ( )
138138 {
@@ -141,18 +141,18 @@ public ReasonEventsCheckpoint()
141141 /// <summary>
142142 ///
143143 /// </summary>
144- public class EventsCheckpoint
144+ public class EventsCheckpoint
145145 {
146146 /// <summary>
147147 /// Code Represents the event code.
148148 /// </summary>
149- [ JsonProperty ( "code" , NullValueHandling = NullValueHandling . Ignore ) ]
150- public string ? Code { get ; set ; }
149+ [ JsonProperty ( "code" , NullValueHandling = NullValueHandling . Ignore ) ]
150+ public string ? Code { get ; set ; }
151151 /// <summary>
152152 /// Reason Describes the specific reason that led to the event.
153153 /// </summary>
154- [ JsonProperty ( "reason" , NullValueHandling = NullValueHandling . Ignore ) ]
155- public ReasonEventsCheckpoint ? Reason { get ; set ; }
154+ [ JsonProperty ( "reason" , NullValueHandling = NullValueHandling . Ignore ) ]
155+ public ReasonEventsCheckpoint ? Reason { get ; set ; }
156156
157157 public EventsCheckpoint ( )
158158 {
0 commit comments