Skip to content

Instantly share code, notes, and snippets.

@lukasz-pyrzyk
Created April 8, 2016 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukasz-pyrzyk/027524deb47164a93574391e2d53a82c to your computer and use it in GitHub Desktop.
Save lukasz-pyrzyk/027524deb47164a93574391e2d53a82c to your computer and use it in GitHub Desktop.
[ProtoContract]
public class InsertRequest : Request
{
public override RequestType RequestType { get; set; } = RequestType.Insert;
[ProtoMember(1)]
public string Key { get; set; }
[ProtoMember(2)]
public byte[] Object { get; set; }
[ProtoMember(3)]
public DateTime ExpiryDate { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment