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.tag != null) { oprot.writeFieldBegin(TAG_FIELD_DESC); this.tag.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.tag != null) { oprot.writeFieldBegin(TAG_FIELD_DESC); this.tag.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.tag != null) { oprot.writeFieldBegin(TAG_FIELD_DESC); this.tag.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.tag != null) { oprot.writeFieldBegin(TAG_FIELD_DESC); this.tag.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.Tag _iter117 : this.success) { _iter117.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.Tag _iter117 : this.success) { _iter117.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(); }
for (com.evernote.edam.type.Tag _iter108 : this.tags) _iter108.write(oprot);
for (com.evernote.edam.type.Tag _iter108 : this.tags) _iter108.write(oprot);
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.Tag _iter121 : this.success) { _iter121.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(); } 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); { oprot.writeListBegin(new TList(TType.STRUCT, this.success.size())); for (com.evernote.edam.type.Tag _iter121 : this.success) { _iter121.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(); } 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(); }
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(); }
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.Tag _iter35 : this.tags) _iter35.write(oprot);
for (com.evernote.edam.type.Tag _iter35 : this.tags) _iter35.write(oprot);