Evernote.EDAM.NoteStore.NoteStore.expungeSharedNotebooks_args.Write C# (CSharp) Method

Write() public method

public Write ( TProtocol oprot ) : void
oprot Thrift.Protocol.TProtocol
return void
      public void Write(TProtocol oprot) {
        TStruct struc = new TStruct("expungeSharedNotebooks_args");
        oprot.WriteStructBegin(struc);
        TField field = new TField();
        if (AuthenticationToken != null && __isset.authenticationToken) {
          field.Name = "authenticationToken";
          field.Type = TType.String;
          field.ID = 1;
          oprot.WriteFieldBegin(field);
          oprot.WriteString(AuthenticationToken);
          oprot.WriteFieldEnd();
        }
        if (SharedNotebookIds != null && __isset.sharedNotebookIds) {
          field.Name = "sharedNotebookIds";
          field.Type = TType.List;
          field.ID = 2;
          oprot.WriteFieldBegin(field);
          {
            oprot.WriteListBegin(new TList(TType.I64, SharedNotebookIds.Count));
            foreach (long _iter146 in SharedNotebookIds)
            {
              oprot.WriteI64(_iter146);
              oprot.WriteListEnd();
            }
          }
          oprot.WriteFieldEnd();
        }
        oprot.WriteFieldStop();
        oprot.WriteStructEnd();
      }
NoteStore.expungeSharedNotebooks_args