コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CSApiResponseFleetVehicle" /> class.
 /// </summary>
 /// <param name="Data">Data.</param>
 /// <param name="Status">Status.</param>
 /// <param name="Message">Message.</param>
 public CSApiResponseFleetVehicle(CSFleetVehicle Data = default(CSFleetVehicle), StatusEnum?Status = default(StatusEnum?), string Message = default(string))
 {
     this.Data    = Data;
     this.Status  = Status;
     this.Message = Message;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CSApiResponseFleetVehicle" /> class.
 /// </summary>
 /// <param name="data">The main Data of the response.</param>
 /// <param name="status">The API response status. Indicates if the request was successful, failed or was unauthorised..</param>
 /// <param name="message">A message to accompany the response status.  If the Status is failed, this message will hint why it failed and what you need to do..</param>
 public CSApiResponseFleetVehicle(CSFleetVehicle data = default(CSFleetVehicle), StatusEnum?status = default(StatusEnum?), string message = default(string))
 {
     this.Data    = data;
     this.Status  = status;
     this.Message = message;
 }