Class SyncPage

    • Method Detail

      • getMetadata

        public SyncPageMetadata getMetadata()
        Metadata describing the page.
      • getResources

        public java.util.List<SyncPageEntry> getResources()
        Data in the page.
      • getSyncType

        public SyncType getSyncType()
        SyncType for the Syncpage.

        This enum represents the different types of synchronization operations that can be performed. Each type is associated with a specific HttpMethod to indicate the type of HTTP request used for that operation.

        • FULL: Used for sending full datasets. This will send the entire set of data to the server using POST.
        • DELTA: Used for sending only updated or modified entries. This will send only the changes using PATCH.
        • DELETE: Used for deleting entities. This will remove the specified entities using DELETE.
      • setMetadata

        public void setMetadata​(SyncPageMetadata metadata)
        Metadata describing the page.
      • setResources

        public void setResources​(java.util.List<SyncPageEntry> resources)
        Data in the page.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object