/// <summary>
 /// Initializes a new instance of the TimeSeriesTypeOrError class.
 /// </summary>
 /// <param name="timeSeriesType">Time series type object - set when the
 /// operation is successful.</param>
 /// <param name="error">Error object - set when the operation is
 /// unsuccessful.</param>
 public TimeSeriesTypeOrError(TimeSeriesType timeSeriesType = default(TimeSeriesType), TsiErrorBody error = default(TsiErrorBody))
 {
     TimeSeriesType = timeSeriesType;
     Error          = error;
     CustomInit();
 }