/// <summary> /// Initializes a new instance of the <see cref="HydraUnAssignedEvent" /> class. /// </summary> /// <param name="user">User who made the change.</param> /// <param name="hydraStatus">Status of Hydra.</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 HydraUnAssignedEvent(UserEventInfo user = default(UserEventInfo), HydraStatus hydraStatus = default(HydraStatus), 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.User = user; this.HydraStatus = hydraStatus; this.EventName = eventName; this.FlipdishEventId = flipdishEventId; this.CreateTime = createTime; this.Position = position; this.AppId = appId; this.IpAddress = ipAddress; }
/// <summary> /// Initializes a new instance of the <see cref="RestApiResultHydraStatus" /> class. /// </summary> /// <param name="data">Generic data object. (required).</param> public RestApiResultHydraStatus(HydraStatus data = default(HydraStatus)) { // to ensure "data" is required (not null) if (data == null) { throw new InvalidDataException("data is a required property for RestApiResultHydraStatus and cannot be null"); } else { this.Data = data; } }