public static void Save(IValueSink sink, UnconfirmedEventNotificationRequest value)
        {
            sink.EnterSequence();
            Value <uint> .Save(sink, value.ProcessIdentifier);

            Value <ObjectId> .Save(sink, value.InitiatingDeviceIdentifier);

            Value <ObjectId> .Save(sink, value.EventObjectIdentifier);

            Value <TimeStamp> .Save(sink, value.TimeStamp);

            Value <uint> .Save(sink, value.NotificationClass);

            Value <byte> .Save(sink, value.Priority);

            Value <EventType> .Save(sink, value.EventType);

            Value <Option <string> > .Save(sink, value.MessageText);

            Value <NotifyType> .Save(sink, value.NotifyType);

            Value <Option <bool> > .Save(sink, value.AckRequired);

            Value <Option <EventState> > .Save(sink, value.FromState);

            Value <EventState> .Save(sink, value.ToState);

            Value <Option <NotificationParameters> > .Save(sink, value.EventValues);

            sink.LeaveSequence();
        }
 public UnconfirmedEventNotificationWrapper(UnconfirmedEventNotificationRequest item)
 {
     this.Item = item;
 }
 public static UnconfirmedServiceRequest NewUnconfirmedEventNotification(UnconfirmedEventNotificationRequest unconfirmedEventNotification)
 {
     return new UnconfirmedEventNotificationWrapper(unconfirmedEventNotification);
 }
 public static UnconfirmedServiceRequest NewUnconfirmedEventNotification(UnconfirmedEventNotificationRequest unconfirmedEventNotification)
 {
     return(new UnconfirmedEventNotificationWrapper(unconfirmedEventNotification));
 }
 public UnconfirmedEventNotificationWrapper(UnconfirmedEventNotificationRequest item)
 {
     this.Item = item;
 }
 public static void Save(IValueSink sink, UnconfirmedEventNotificationRequest value)
 {
     sink.EnterSequence();
     Value<uint>.Save(sink, value.ProcessIdentifier);
     Value<ObjectId>.Save(sink, value.InitiatingDeviceIdentifier);
     Value<ObjectId>.Save(sink, value.EventObjectIdentifier);
     Value<TimeStamp>.Save(sink, value.TimeStamp);
     Value<uint>.Save(sink, value.NotificationClass);
     Value<byte>.Save(sink, value.Priority);
     Value<EventType>.Save(sink, value.EventType);
     Value<Option<string>>.Save(sink, value.MessageText);
     Value<NotifyType>.Save(sink, value.NotifyType);
     Value<Option<bool>>.Save(sink, value.AckRequired);
     Value<Option<EventState>>.Save(sink, value.FromState);
     Value<EventState>.Save(sink, value.ToState);
     Value<Option<NotificationParameters>>.Save(sink, value.EventValues);
     sink.LeaveSequence();
 }