Class UsersSetPhotoRequest

    • Method Detail

      • getToken

        public String getToken()
        Authentication token. Requires scope: `users.profile:write`
        Specified by:
        getToken in interface SlackApiRequest
      • getImage

        public File getImage()
        File contents via `multipart/form-data`.
      • getImageData

        public byte[] getImageData()
      • getCropX

        public Integer getCropX()
        X coordinate of top-left corner of crop box
      • getCropY

        public Integer getCropY()
        Y coordinate of top-left corner of crop box
      • getCropW

        public Integer getCropW()
        Width/height of crop box (always square)
      • setToken

        public void setToken​(String token)
        Authentication token. Requires scope: `users.profile:write`
      • setImage

        public void setImage​(File image)
        File contents via `multipart/form-data`.
      • setImageData

        public void setImageData​(byte[] imageData)
      • setCropX

        public void setCropX​(Integer cropX)
        X coordinate of top-left corner of crop box
      • setCropY

        public void setCropY​(Integer cropY)
        Y coordinate of top-left corner of crop box
      • setCropW

        public void setCropW​(Integer cropW)
        Width/height of crop box (always square)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object