Class Resource

    • Constructor Detail

      • Resource

        public Resource​(es.situm.sdk.model.Resource.Builder builder)
    • Method Detail

      • getIdentifier

        @NonNull
        public final String getIdentifier()
        Returns the unique identifier of the resource
        Returns:
        String
      • getUpdatedAt

        @NonNull
        public final Date getUpdatedAt()
        Returns a date containing the time when a resource was last updated.
        Returns:
        Date copy. If there is no value, returns new Date(0).
      • getCreatedAt

        @NonNull
        public final Date getCreatedAt()
        Returns a date containing the time when a resource was first created.
        Returns:
        Date copy. If there is no value, returns new Date(0).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object