/// <summary> /// Initializes a new instance of the TsiErrorBody class. /// </summary> /// <param name="additionalProperties">Unmatched properties from the /// message are deserialized this collection</param> /// <param name="code">Language-independent, human-readable string that /// defines a service-specific error code. This code serves as a more /// specific indicator for the HTTP error code specified in the /// response. Can be used to programatically handle specific error /// cases.</param> /// <param name="message">Human-readable, language-independent /// representation of the error. It is intended as an aid to developers /// and is not suitable for exposure to end users.</param> /// <param name="target">Target of the particular error (for example, /// the name of the property in error). May be null.</param> /// <param name="innerError">Contains more specific error that narrows /// down the cause. May be null.</param> /// <param name="details">Contains additional error information. May be /// null.</param> public TsiErrorBody(IDictionary <string, object> additionalProperties = default(IDictionary <string, object>), string code = default(string), string message = default(string), string target = default(string), TsiErrorBody innerError = default(TsiErrorBody), IList <TsiErrorDetails> details = default(IList <TsiErrorDetails>)) { AdditionalProperties = additionalProperties; Code = code; Message = message; Target = target; InnerError = innerError; Details = details; CustomInit(); }
/// <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(); }
/// <summary> /// Initializes a new instance of the TsiError class. /// </summary> public TsiError(TsiErrorBody error = default(TsiErrorBody)) { Error = error; CustomInit(); }
/// <summary> /// Initializes a new instance of the InstanceOrError class. /// </summary> /// <param name="instance">Time series instance object - set when the /// operation is successful (except put operation).</param> /// <param name="error">Error object - set when the operation is /// unsuccessful.</param> public InstanceOrError(TimeSeriesInstance instance = default(TimeSeriesInstance), TsiErrorBody error = default(TsiErrorBody)) { Instance = instance; Error = error; CustomInit(); }
/// <summary> /// Initializes a new instance of the TimeSeriesHierarchyOrError class. /// </summary> /// <param name="hierarchy">Time series hierarchy object - set when the /// operation is successful.</param> /// <param name="error">Error object - set when the operation is /// unsuccessful.</param> public TimeSeriesHierarchyOrError(TimeSeriesHierarchy hierarchy = default(TimeSeriesHierarchy), TsiErrorBody error = default(TsiErrorBody)) { Hierarchy = hierarchy; Error = error; CustomInit(); }