Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the OperationResult class.
 /// </summary>
 /// <param name="status">Operation status. Possible values include:
 /// 'notStarted', 'running', 'failed', 'cancelled',
 /// 'succeeded'</param>
 /// <param name="createdDateTime">Operation creation date time (ISO
 /// 8601 literal).</param>
 /// <param name="lastActionDateTime">Operation last status change date
 /// time (ISO 8601 literal).</param>
 /// <param name="operationType">Name of API endpoint that created the
 /// operation.</param>
 /// <param name="operationProcessingResult">Operation result. Specific
 /// format varies according to the operation type. Exists only in
 /// case the operation has reached a 'Succeeded' state.</param>
 /// <param name="message">Error message. Exists only in case the
 /// operation has reached a 'Failed' state.</param>
 public OperationResult(string status = default(string), System.DateTime? createdDateTime = default(System.DateTime?), System.DateTime? lastActionDateTime = default(System.DateTime?), string operationType = default(string), OperationProcessingResult operationProcessingResult = default(OperationProcessingResult), string message = default(string))
 {
     Status = status;
     CreatedDateTime = createdDateTime;
     LastActionDateTime = lastActionDateTime;
     OperationType = operationType;
     OperationProcessingResult = operationProcessingResult;
     Message = message;
 }