public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.authenticationToken != null) { oprot.writeFieldBegin(AUTHENTICATION_TOKEN_FIELD_DESC); oprot.writeString(this.authenticationToken); oprot.writeFieldEnd(); } if (this.search != null) { oprot.writeFieldBegin(SEARCH_FIELD_DESC); this.search.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.authenticationToken != null) { oprot.writeFieldBegin(AUTHENTICATION_TOKEN_FIELD_DESC); oprot.writeString(this.authenticationToken); oprot.writeFieldEnd(); } if (this.search != null) { oprot.writeFieldBegin(SEARCH_FIELD_DESC); this.search.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.authenticationToken != null) { oprot.writeFieldBegin(AUTHENTICATION_TOKEN_FIELD_DESC); oprot.writeString(this.authenticationToken); oprot.writeFieldEnd(); } if (this.search != null) { oprot.writeFieldBegin(SEARCH_FIELD_DESC); this.search.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.authenticationToken != null) { oprot.writeFieldBegin(AUTHENTICATION_TOKEN_FIELD_DESC); oprot.writeString(this.authenticationToken); oprot.writeFieldEnd(); } if (this.search != null) { oprot.writeFieldBegin(SEARCH_FIELD_DESC); this.search.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.success.size())); for (com.evernote.edam.type.SavedSearch _iter125 : this.success) { _iter125.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.success.size())); for (com.evernote.edam.type.SavedSearch _iter125 : this.success) { _iter125.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); this.success.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); this.success.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); this.success.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetNotFoundException()) { oprot.writeFieldBegin(NOT_FOUND_EXCEPTION_FIELD_DESC); this.notFoundException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { oprot.writeStructBegin(STRUCT_DESC); if (this.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); this.success.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetUserException()) { oprot.writeFieldBegin(USER_EXCEPTION_FIELD_DESC); this.userException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetSystemException()) { oprot.writeFieldBegin(SYSTEM_EXCEPTION_FIELD_DESC); this.systemException.write(oprot); oprot.writeFieldEnd(); } else if (this.isSetNotFoundException()) { oprot.writeFieldBegin(NOT_FOUND_EXCEPTION_FIELD_DESC); this.notFoundException.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
for (com.evernote.edam.type.SavedSearch _iter36 : this.searches) _iter36.write(oprot);
for (com.evernote.edam.type.SavedSearch _iter36 : this.searches) _iter36.write(oprot);