/* Options:
Date: 2026-09-21 22:52:29
Version: 8.52
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: http://clouddemo.pickeos.com:1337
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: ShowQuantityMultiple.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using GoToLightAPI;
namespace GoToLightAPI
{
public partial class ShowCommon
{
///
///HTML Color code (e.g. FF00FF)
///
[ApiMember(Description="HTML Color code (e.g. FF00FF)", IsRequired=true)]
public virtual string Color { get; set; }
///
///When set to false, it turns off the same color in a previous position
///
[ApiMember(Description="When set to false, it turns off the same color in a previous position", IsRequired=true)]
public virtual bool Persistant { get; set; }
///
///Optional: delay the execution of the command (in seconds)
///
[ApiMember(Description="Optional: delay the execution of the command (in seconds)")]
public virtual int? Delay { get; set; }
///
///Optional: duration of the show in seconds
///
[ApiMember(Description="Optional: duration of the show in seconds")]
public virtual int? Duration { get; set; }
///
///Optional: name of the stockroom where to show the position
///
[ApiMember(Description="Optional: name of the stockroom where to show the position")]
public virtual string StockroomName { get; set; }
///
///Optional: name of the owner of the color/command to allow color sharing
///
[ApiMember(Description="Optional: name of the owner of the color/command to allow color sharing")]
public virtual string Owner { get; set; }
///
///Optional: indicates if message shall be delivered in an unreliable way (faster)
///
[ApiMember(Description="Optional: indicates if message shall be delivered in an unreliable way (faster)")]
public virtual bool? Unreliable { get; set; }
///
///Optional: indicates if the header shall be displayed
///
[ApiMember(Description="Optional: indicates if the header shall be displayed")]
public virtual bool? DisplayHeader { get; set; }
}
[Route("/ShowQuantityMultiple/{Keys}/{Color}/{Quantity}/{Persistant}")]
public partial class ShowQuantityMultiple
: ShowCommon
{
///
///Keys array identifying the locations
///
[ApiMember(Description="Keys array identifying the locations", IsRequired=true)]
public virtual string[] Keys { get; set; } = [];
///
///Quantity: number of LED to show
///
[ApiMember(Description="Quantity: number of LED to show", IsRequired=true)]
public virtual int Quantity { get; set; }
///
///Optional: Force blinking
///
[ApiMember(Description="Optional: Force blinking")]
public virtual bool? ForceBlink { get; set; }
///
///Animated effect selection: 0 = Always ON (no effect), 1 = BLINK_NORMAL, 2 = BLINK_FAST, 3 = BLINK_SLOW, 4 = FADE_IN_OUT_NORMAL, 5 = FADE_IN_OUT_FAST, 6 = FADE_IN_OUT_SLOW, 7 = FADE_OUT_NORMAL, 8 = FADE_OUT_FAST, 9 = FADE_OUT_SLOW
///
[ApiMember(Description="Animated effect selection: 0 = Always ON (no effect), 1 = BLINK_NORMAL, 2 = BLINK_FAST, 3 = BLINK_SLOW, 4 = FADE_IN_OUT_NORMAL, 5 = FADE_IN_OUT_FAST, 6 = FADE_IN_OUT_SLOW, 7 = FADE_OUT_NORMAL, 8 = FADE_OUT_FAST, 9 = FADE_OUT_SLOW")]
public virtual int? Effect { get; set; }
}
}