namespace ZymonicServices; public class ZymonicAPIHeader { public string system { get; set; } public string webservicemode { get; set; } public string debug { get => _debugMode ? "true" : "false"; } protected bool _debugMode = false; public string compact_output { get => _compactOutput ? "true" : "false"; } protected bool _compactOutput = true; protected bool _output_authentication_status = true; public string output_authentication_status { get => _output_authentication_status ? "true" : "false"; } public ZymonicAPIHeader(string systemIn, string webservicemodeIn) { system = systemIn; webservicemode = webservicemodeIn; } public ZymonicAPIHeader(string systemIn, string webservicemodeIn, bool debugMode) { system = systemIn; webservicemode = webservicemodeIn; _debugMode = debugMode; } public ZymonicAPIHeader(string systemIn, string webservicemodeIn, bool debugMode, bool compactOutput) { system = systemIn; webservicemode = webservicemodeIn; _debugMode = debugMode; _compactOutput = compactOutput; } }