/// <summary>
 /// Initializes a new instance of the AssetTrackOperationStatus class.
 /// </summary>
 /// <param name="name">Operation identifier.</param>
 /// <param name="status">Operation status.</param>
 /// <param name="id">Operation resource ID.</param>
 /// <param name="startTime">Operation start time.</param>
 /// <param name="endTime">Operation end time.</param>
 public AssetTrackOperationStatus(string name, string status, string id = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), ErrorDetail error = default(ErrorDetail))
 {
     Name      = name;
     Id        = id;
     StartTime = startTime;
     EndTime   = endTime;
     Status    = status;
     Error     = error;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the ErrorResponse class.
 /// </summary>
 /// <param name="error">The error object.</param>
 public ErrorResponse(ErrorDetail error = default(ErrorDetail))
 {
     Error = error;
     CustomInit();
 }