Class PhotoChange

java.lang.Object
it.auties.whatsapp.model.sync.PhotoChange
All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage

public class PhotoChange extends Object implements it.auties.protobuf.base.ProtobufMessage
  • Field Details

    • oldPhoto

      private byte[] oldPhoto
    • newPhoto

      private byte[] newPhoto
    • newPhotoId

      private int newPhotoId
  • Constructor Details

    • PhotoChange

      public PhotoChange(byte[] oldPhoto, byte[] newPhoto, int newPhotoId)
  • Method Details

    • builder

      public static PhotoChange.PhotoChangeBuilder builder()
    • oldPhoto

      public byte[] oldPhoto()
    • newPhoto

      public byte[] newPhoto()
    • newPhotoId

      public int newPhotoId()
    • oldPhoto

      public PhotoChange oldPhoto(byte[] oldPhoto)
      Returns:
      this.
    • newPhoto

      public PhotoChange newPhoto(byte[] newPhoto)
      Returns:
      this.
    • newPhotoId

      public PhotoChange newPhotoId(int newPhotoId)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object