using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections.Immutable; namespace dopt.DeltaBarth.JsonStructs { public readonly struct ApiServerError { public int status_code { get; init; } public string message { get; init; } public string? code { get; init; } public string? hints { get; init; } public string? type { get; init; } public string? title { get; init; } public string? traceId { get; init; } } public readonly struct Status { public int code { get; init; } public string description { get; init; } public string message { get; init; } public ApiServerError? apiServerError { get; init; } } public readonly struct Credentials { public string user_name { get; init; } public string password { get; init; } public string database { get; init; } public string mandant { get; init; } } public readonly struct UmsatzPrognoseEinzelergebnis { public int jahr { get; init; } public int monat { get; init; } public float vorhersage { get; init; } } public readonly struct UmsatzPrognoseErgebnisse { public ImmutableArray daten { get; init; } } public readonly struct UmsatzPrognoseAusgabe { public UmsatzPrognoseErgebnisse response { get; init; } public Status status { get; init; } } }