|
| 1 | +//------------------------------------------------------------------------------ |
| 2 | +// <auto-generated> |
| 3 | +// This code was generated by a tool. |
| 4 | +// |
| 5 | +// Changes to this file may cause incorrect behavior and will be lost if |
| 6 | +// the code is regenerated. |
| 7 | +// </auto-generated> |
| 8 | +//------------------------------------------------------------------------------ |
| 9 | + |
| 10 | +// Generated from: PartnerEvents/PartnerEventsApi.proto |
| 11 | +// Note: requires additional types generated from: Timestamp.proto |
| 12 | +// Note: requires additional types generated from: DocumentId.proto |
| 13 | +// Note: requires additional types generated from: TotalCountType.proto |
| 14 | +// Note: requires additional types generated from: Docflow/DocumentWithDocflowV4.proto |
| 15 | +namespace Diadoc.Api.Proto.PartnerEvents |
| 16 | +{ |
| 17 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetPartnerEventsRequest")] |
| 18 | + public partial class GetPartnerEventsRequest : global::ProtoBuf.IExtensible |
| 19 | + { |
| 20 | + public GetPartnerEventsRequest() {} |
| 21 | + |
| 22 | + private string _Cursor; |
| 23 | + [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"Cursor", DataFormat = global::ProtoBuf.DataFormat.Default)] |
| 24 | + public string Cursor |
| 25 | + { |
| 26 | + get { return _Cursor; } |
| 27 | + set { _Cursor = value; } |
| 28 | + } |
| 29 | + private readonly global::System.Collections.Generic.List<string> _Directions = new global::System.Collections.Generic.List<string>(); |
| 30 | + [global::ProtoBuf.ProtoMember(2, Name=@"Directions", DataFormat = global::ProtoBuf.DataFormat.Default)] |
| 31 | + public global::System.Collections.Generic.List<string> Directions |
| 32 | + { |
| 33 | + get { return _Directions; } |
| 34 | + } |
| 35 | + |
| 36 | + private readonly global::System.Collections.Generic.List<string> _MessageTypes = new global::System.Collections.Generic.List<string>(); |
| 37 | + [global::ProtoBuf.ProtoMember(3, Name=@"MessageTypes", DataFormat = global::ProtoBuf.DataFormat.Default)] |
| 38 | + public global::System.Collections.Generic.List<string> MessageTypes |
| 39 | + { |
| 40 | + get { return _MessageTypes; } |
| 41 | + } |
| 42 | + |
| 43 | + |
| 44 | + private int _Limit = (int)100; |
| 45 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"Limit", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
| 46 | + [global::System.ComponentModel.DefaultValue((int)100)] |
| 47 | + public int Limit |
| 48 | + { |
| 49 | + get { return _Limit; } |
| 50 | + set { _Limit = value; } |
| 51 | + } |
| 52 | + private global::ProtoBuf.IExtension extensionObject; |
| 53 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
| 54 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
| 55 | + } |
| 56 | + |
| 57 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetPartnerEventsResponse")] |
| 58 | + public partial class GetPartnerEventsResponse : global::ProtoBuf.IExtensible |
| 59 | + { |
| 60 | + public GetPartnerEventsResponse() {} |
| 61 | + |
| 62 | + private readonly global::System.Collections.Generic.List<Diadoc.Api.Proto.PartnerEvents.PartnerEvent> _Events = new global::System.Collections.Generic.List<Diadoc.Api.Proto.PartnerEvents.PartnerEvent>(); |
| 63 | + [global::ProtoBuf.ProtoMember(1, Name=@"Events", DataFormat = global::ProtoBuf.DataFormat.Default)] |
| 64 | + public global::System.Collections.Generic.List<Diadoc.Api.Proto.PartnerEvents.PartnerEvent> Events |
| 65 | + { |
| 66 | + get { return _Events; } |
| 67 | + } |
| 68 | + |
| 69 | + private string _LastCursor; |
| 70 | + [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"LastCursor", DataFormat = global::ProtoBuf.DataFormat.Default)] |
| 71 | + public string LastCursor |
| 72 | + { |
| 73 | + get { return _LastCursor; } |
| 74 | + set { _LastCursor = value; } |
| 75 | + } |
| 76 | + private global::ProtoBuf.IExtension extensionObject; |
| 77 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
| 78 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
| 79 | + } |
| 80 | + |
| 81 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PartnerEvent")] |
| 82 | + public partial class PartnerEvent : global::ProtoBuf.IExtensible |
| 83 | + { |
| 84 | + public PartnerEvent() {} |
| 85 | + |
| 86 | + private string _EventId; |
| 87 | + [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"EventId", DataFormat = global::ProtoBuf.DataFormat.Default)] |
| 88 | + public string EventId |
| 89 | + { |
| 90 | + get { return _EventId; } |
| 91 | + set { _EventId = value; } |
| 92 | + } |
| 93 | + private Diadoc.Api.Proto.Timestamp _Timestamp; |
| 94 | + [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"Timestamp", DataFormat = global::ProtoBuf.DataFormat.Default)] |
| 95 | + public Diadoc.Api.Proto.Timestamp Timestamp |
| 96 | + { |
| 97 | + get { return _Timestamp; } |
| 98 | + set { _Timestamp = value; } |
| 99 | + } |
| 100 | + private Diadoc.Api.Proto.DocumentId _DocumentId; |
| 101 | + [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"DocumentId", DataFormat = global::ProtoBuf.DataFormat.Default)] |
| 102 | + public Diadoc.Api.Proto.DocumentId DocumentId |
| 103 | + { |
| 104 | + get { return _DocumentId; } |
| 105 | + set { _DocumentId = value; } |
| 106 | + } |
| 107 | + |
| 108 | + private Diadoc.Api.Proto.Docflow.DocumentWithDocflowV4 _Document = null; |
| 109 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"Document", DataFormat = global::ProtoBuf.DataFormat.Default)] |
| 110 | + [global::System.ComponentModel.DefaultValue(null)] |
| 111 | + public Diadoc.Api.Proto.Docflow.DocumentWithDocflowV4 Document |
| 112 | + { |
| 113 | + get { return _Document; } |
| 114 | + set { _Document = value; } |
| 115 | + } |
| 116 | + private global::ProtoBuf.IExtension extensionObject; |
| 117 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
| 118 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
| 119 | + } |
| 120 | + |
| 121 | +} |
0 commit comments