/// <summary>
 /// Initializes a new instance of the <see cref="RestApiResultBluetoothTerminalStatus" /> class.
 /// </summary>
 /// <param name="data">Generic data object. (required).</param>
 public RestApiResultBluetoothTerminalStatus(BluetoothTerminalStatus data = default(BluetoothTerminalStatus))
 {
     // to ensure "data" is required (not null)
     if (data == null)
     {
         throw new InvalidDataException("data is a required property for RestApiResultBluetoothTerminalStatus and cannot be null");
     }
     else
     {
         this.Data = data;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="KioskBluetoothTerminalUpdatedEvent" /> class.
 /// </summary>
 /// <param name="deviceId">Device Id of the Kiosk.</param>
 /// <param name="bluetoothTerminalType">Terminal Type.</param>
 /// <param name="bluetoothTerminalSerialNumber">Serial number of the terminal.</param>
 /// <param name="bluetoothTerminalStatus">Status of the connected terminal.</param>
 /// <param name="user">User who made the change.</param>
 /// <param name="eventName">The event name.</param>
 /// <param name="flipdishEventId">The identitfier of the event.</param>
 /// <param name="createTime">The time of creation of the event.</param>
 /// <param name="position">Position.</param>
 /// <param name="appId">App id.</param>
 /// <param name="ipAddress">Ip Address.</param>
 public KioskBluetoothTerminalUpdatedEvent(string deviceId = default(string), BluetoothTerminalTypeEnum?bluetoothTerminalType = default(BluetoothTerminalTypeEnum?), string bluetoothTerminalSerialNumber = default(string), BluetoothTerminalStatus bluetoothTerminalStatus = default(BluetoothTerminalStatus), UserEventInfo user = default(UserEventInfo), string eventName = default(string), Guid?flipdishEventId = default(Guid?), DateTime?createTime = default(DateTime?), int?position = default(int?), string appId = default(string), string ipAddress = default(string))
 {
     this.DeviceId = deviceId;
     this.BluetoothTerminalType         = bluetoothTerminalType;
     this.BluetoothTerminalSerialNumber = bluetoothTerminalSerialNumber;
     this.BluetoothTerminalStatus       = bluetoothTerminalStatus;
     this.User            = user;
     this.EventName       = eventName;
     this.FlipdishEventId = flipdishEventId;
     this.CreateTime      = createTime;
     this.Position        = position;
     this.AppId           = appId;
     this.IpAddress       = ipAddress;
 }