示例#1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Reservation" /> class.
        /// Initializes a new instance of the <see cref="Reservation" />class.
        /// </summary>
        /// <param name="UnreadMessageCount">UnreadMessageCount.</param>
        /// <param name="Id">Id.</param>
        /// <param name="Restaurant">Restaurant.</param>
        /// <param name="Created">Created.</param>
        /// <param name="Closed">Closed.</param>
        /// <param name="ReservationTime">ReservationTime.</param>
        /// <param name="Status">Status.</param>
        /// <param name="CustomerName">CustomerName.</param>
        /// <param name="GroupSize">GroupSize.</param>
        /// <param name="Phone">Phone.</param>
        /// <param name="NotificationUrl">NotificationUrl.</param>
        /// <param name="Areas">Areas.</param>
        /// <param name="Note">Note.</param>
        /// <param name="TableNumber">TableNumber.</param>
        /// <param name="HighChair">HighChair.</param>
        /// <param name="Stroller">Stroller.</param>
        /// <param name="EstimatedTurnOverTime">EstimatedTurnOverTime.</param>
        /// <param name="Messages">Messages.</param>
        /// <param name="Membership">Membership.</param>
        /// <param name="Type">Type.</param>

        public Reservation(int?UnreadMessageCount = null, string Id = null, RestaurantContactInfo Restaurant = null, DateTimeOffset?Created = null, DateTimeOffset?Closed = null, DateTimeOffset?ReservationTime = null, string Status = null, string CustomerName = null, int?GroupSize = null, string Phone = null, string NotificationUrl = null, string Areas = null, string Note = null, string TableNumber = null, bool?HighChair = null, bool?Stroller = null, double?EstimatedTurnOverTime = null, List <Message> Messages = null, MembershipInfo Membership = null, TypeEnum?Type = null)
        {
            this.UnreadMessageCount = UnreadMessageCount;
            this.Id                    = Id;
            this.Restaurant            = Restaurant;
            this.Created               = Created;
            this.Closed                = Closed;
            this.ReservationTime       = ReservationTime;
            this.Status                = Status;
            this.CustomerName          = CustomerName;
            this.GroupSize             = GroupSize;
            this.Phone                 = Phone;
            this.NotificationUrl       = NotificationUrl;
            this.Areas                 = Areas;
            this.Note                  = Note;
            this.TableNumber           = TableNumber;
            this.HighChair             = HighChair;
            this.Stroller              = Stroller;
            this.EstimatedTurnOverTime = EstimatedTurnOverTime;
            this.Messages              = Messages;
            this.Membership            = Membership;
            this.Type                  = Type;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="WaitingItem" /> class.
        /// Initializes a new instance of the <see cref="WaitingItem" />class.
        /// </summary>
        /// <param name="Id">Id.</param>
        /// <param name="Status">Status.</param>
        /// <param name="Created">Created.</param>
        /// <param name="Closed">Closed.</param>
        /// <param name="PhoneId">PhoneId.</param>
        /// <param name="ConfirmationCode">ConfirmationCode.</param>
        /// <param name="CustomerName">CustomerName.</param>
        /// <param name="GroupSize">GroupSize.</param>
        /// <param name="Phone">Phone.</param>
        /// <param name="RegistrationMethod">RegistrationMethod.</param>
        /// <param name="DeviceType">DeviceType.</param>
        /// <param name="NotificationUrl">NotificationUrl.</param>
        /// <param name="Areas">Areas.</param>
        /// <param name="ExpectedTime">ExpectedTime.</param>
        /// <param name="Position">Position.</param>
        /// <param name="Note">Note.</param>
        /// <param name="TableNumber">TableNumber.</param>
        /// <param name="StatusTime">StatusTime.</param>
        /// <param name="RestaurantId">RestaurantId.</param>
        /// <param name="HighChair">HighChair.</param>
        /// <param name="Stroller">Stroller.</param>
        /// <param name="OnHoldMode">OnHoldMode.</param>
        /// <param name="OnHoldTime">OnHoldTime.</param>
        /// <param name="OnHoldEndTime">OnHoldEndTime.</param>
        /// <param name="Messages">Messages.</param>
        /// <param name="Membership">Membership.</param>
        /// <param name="Reservation">Reservation.</param>
        /// <param name="EstimatedTurnOverTime">EstimatedTurnOverTime.</param>
        /// <param name="UnreadMessageCount">UnreadMessageCount.</param>

        public WaitingItem(int?Id = null, string Status = null, DateTimeOffset?Created = null, DateTimeOffset?Closed = null, string PhoneId = null, int?ConfirmationCode = null, string CustomerName = null, int?GroupSize = null, string Phone = null, string RegistrationMethod = null, string DeviceType = null, string NotificationUrl = null, string Areas = null, DateTimeOffset?ExpectedTime = null, int?Position = null, string Note = null, string TableNumber = null, DateTimeOffset?StatusTime = null, int?RestaurantId = null, bool?HighChair = null, bool?Stroller = null, string OnHoldMode = null, DateTimeOffset?OnHoldTime = null, DateTimeOffset?OnHoldEndTime = null, List <Message> Messages = null, MembershipInfo Membership = null, ReservationInfo Reservation = null, double?EstimatedTurnOverTime = null, int?UnreadMessageCount = null)
        {
            this.Id                    = Id;
            this.Status                = Status;
            this.Created               = Created;
            this.Closed                = Closed;
            this.PhoneId               = PhoneId;
            this.ConfirmationCode      = ConfirmationCode;
            this.CustomerName          = CustomerName;
            this.GroupSize             = GroupSize;
            this.Phone                 = Phone;
            this.RegistrationMethod    = RegistrationMethod;
            this.DeviceType            = DeviceType;
            this.NotificationUrl       = NotificationUrl;
            this.Areas                 = Areas;
            this.ExpectedTime          = ExpectedTime;
            this.Position              = Position;
            this.Note                  = Note;
            this.TableNumber           = TableNumber;
            this.StatusTime            = StatusTime;
            this.RestaurantId          = RestaurantId;
            this.HighChair             = HighChair;
            this.Stroller              = Stroller;
            this.OnHoldMode            = OnHoldMode;
            this.OnHoldTime            = OnHoldTime;
            this.OnHoldEndTime         = OnHoldEndTime;
            this.Messages              = Messages;
            this.Membership            = Membership;
            this.Reservation           = Reservation;
            this.EstimatedTurnOverTime = EstimatedTurnOverTime;
            this.UnreadMessageCount    = UnreadMessageCount;
        }
示例#3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TableMonitor" /> class.
        /// Initializes a new instance of the <see cref="TableMonitor" />class.
        /// </summary>
        /// <param name="TableNumber">TableNumber.</param>
        /// <param name="Status">Status.</param>
        /// <param name="WaitingItemId">WaitingItemId.</param>
        /// <param name="ReservationId">ReservationId.</param>
        /// <param name="RegistrationId">RegistrationId.</param>
        /// <param name="PartySize">PartySize.</param>
        /// <param name="Membership">Membership.</param>
        /// <param name="NextReservationTime">NextReservationTime.</param>
        /// <param name="AssignmentTime">AssignmentTime.</param>
        /// <param name="RegistrationTime">RegistrationTime.</param>
        /// <param name="EstimatedReleaseTime">EstimatedReleaseTime.</param>

        public TableMonitor(string TableNumber = null, StatusEnum?Status = null, int?WaitingItemId = null, string ReservationId = null, int?RegistrationId = null, int?PartySize = null, MembershipInfo Membership = null, DateTimeOffset?NextReservationTime = null, DateTimeOffset?AssignmentTime = null, DateTimeOffset?RegistrationTime = null, DateTimeOffset?EstimatedReleaseTime = null)
        {
            this.TableNumber          = TableNumber;
            this.Status               = Status;
            this.WaitingItemId        = WaitingItemId;
            this.ReservationId        = ReservationId;
            this.RegistrationId       = RegistrationId;
            this.PartySize            = PartySize;
            this.Membership           = Membership;
            this.NextReservationTime  = NextReservationTime;
            this.AssignmentTime       = AssignmentTime;
            this.RegistrationTime     = RegistrationTime;
            this.EstimatedReleaseTime = EstimatedReleaseTime;
        }