Class Attachment

java.lang.Object
com.slack.api.model.Attachment

public class Attachment
extends java.lang.Object
https://api.slack.com/docs/message-attachments
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Attachment.AttachmentBuilder  
    static class  Attachment.AttachmentMetadata  
    static class  Attachment.VideoHtml  
  • Constructor Summary

    Constructors 
    Constructor Description
    Attachment()  
    Attachment​(java.lang.String msgSubtype, java.lang.String fallback, java.lang.String callbackId, java.lang.String color, java.lang.String pretext, java.lang.String serviceUrl, java.lang.String serviceName, java.lang.String serviceIcon, java.lang.String authorId, java.lang.String authorName, java.lang.String authorLink, java.lang.String authorIcon, java.lang.String fromUrl, java.lang.String originalUrl, java.lang.String authorSubname, java.lang.String channelId, java.lang.String channelName, java.lang.Integer id, java.lang.String botId, java.lang.Boolean indent, java.lang.Boolean msgUnfurl, java.lang.Boolean replyUnfurl, java.lang.Boolean threadRootUnfurl, java.lang.Boolean appUnfurl, java.lang.String appUnfurlUrl, java.lang.String title, java.lang.String titleLink, java.lang.String text, java.util.List<Field> fields, java.lang.String imageUrl, java.lang.Integer imageWidth, java.lang.Integer imageHeight, java.lang.Integer imageBytes, java.lang.String thumbUrl, java.lang.Integer thumbWidth, java.lang.Integer thumbHeight, java.lang.String videoUrl, Attachment.VideoHtml videoHtml, java.lang.Integer videoHtmlWidth, java.lang.Integer videoHtmlHeight, java.lang.String footer, java.lang.String footerIcon, java.lang.String ts, java.util.List<java.lang.String> mrkdwnIn, java.util.List<Action> actions, java.util.List<LayoutBlock> blocks, java.util.List<File> files, java.lang.String filename, java.lang.Integer size, java.lang.String mimetype, java.lang.String url, Attachment.AttachmentMetadata metadata)  
  • Method Summary

    Modifier and Type Method Description
    static Attachment.AttachmentBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.util.List<Action> getActions()
    Actions are defined as an array, and hashes contained within it will be displayed in as buttons in the message attachment.
    java.lang.String getAppUnfurlUrl()  
    java.lang.String getAuthorIcon()
    A valid URL that displays a small 16x16px image to the left of the author_name text.
    java.lang.String getAuthorId()  
    java.lang.String getAuthorLink()
    A valid URL that will hyperlink the author_name text mentioned above.
    java.lang.String getAuthorName()
    Small text used to display the author's name.
    java.lang.String getAuthorSubname()  
    java.util.List<LayoutBlock> getBlocks()  
    java.lang.String getBotId()  
    java.lang.String getCallbackId()
    This is optional value that specifies callback id when there are buttons.
    java.lang.String getChannelId()  
    java.lang.String getChannelName()  
    java.lang.String getColor()
    Like traffic signals, color-coding messages can quickly communicate intent and help separate them from the flow of other messages in the timeline.
    java.lang.String getFallback()
    A plain-text summary of the attachment.
    java.util.List<Field> getFields()
    Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment.
    java.lang.String getFilename()  
    java.util.List<File> getFiles()  
    java.lang.String getFooter()
    Add some brief text to help contextualize and identify an attachment.
    java.lang.String getFooterIcon()
    To render a small icon beside your footer text, provide a publicly accessible URL string in the footer_icon field.
    java.lang.String getFromUrl()  
    java.lang.Integer getId()  
    java.lang.Integer getImageBytes()  
    java.lang.Integer getImageHeight()  
    java.lang.String getImageUrl()
    A valid URL to an image file that will be displayed inside a message attachment.
    java.lang.Integer getImageWidth()  
    Attachment.AttachmentMetadata getMetadata()  
    java.lang.String getMimetype()  
    java.util.List<java.lang.String> getMrkdwnIn()
    By default, message text in attachments are not formatted.
    java.lang.String getMsgSubtype()  
    java.lang.String getOriginalUrl()  
    java.lang.String getPretext()
    This is optional text that appears above the message attachment block.
    java.lang.String getServiceIcon()  
    java.lang.String getServiceName()  
    java.lang.String getServiceUrl()  
    java.lang.Integer getSize()  
    java.lang.String getText()
    This is the main text in a message attachment, and can contain standard message markup (see details below).
    java.lang.Integer getThumbHeight()  
    java.lang.String getThumbUrl()
    A valid URL to an image file that will be displayed as a thumbnail on the right side of a message attachment.
    java.lang.Integer getThumbWidth()  
    java.lang.String getTitle()
    The title is displayed as larger, bold text near the top of a message attachment.
    java.lang.String getTitleLink()
    The title is displayed as larger, bold text near the top of a message attachment.
    java.lang.String getTs()
    ts (timestamp) Does your attachment relate to something happening at a specific time?
    java.lang.String getUrl()  
    Attachment.VideoHtml getVideoHtml()  
    java.lang.Integer getVideoHtmlHeight()  
    java.lang.Integer getVideoHtmlWidth()  
    java.lang.String getVideoUrl()  
    int hashCode()  
    java.lang.Boolean isAppUnfurl()  
    java.lang.Boolean isIndent()  
    java.lang.Boolean isMsgUnfurl()  
    java.lang.Boolean isReplyUnfurl()  
    java.lang.Boolean isThreadRootUnfurl()  
    void setActions​(java.util.List<Action> actions)
    Actions are defined as an array, and hashes contained within it will be displayed in as buttons in the message attachment.
    void setAppUnfurl​(java.lang.Boolean appUnfurl)  
    void setAppUnfurlUrl​(java.lang.String appUnfurlUrl)  
    void setAuthorIcon​(java.lang.String authorIcon)
    A valid URL that displays a small 16x16px image to the left of the author_name text.
    void setAuthorId​(java.lang.String authorId)  
    void setAuthorLink​(java.lang.String authorLink)
    A valid URL that will hyperlink the author_name text mentioned above.
    void setAuthorName​(java.lang.String authorName)
    Small text used to display the author's name.
    void setAuthorSubname​(java.lang.String authorSubname)  
    void setBlocks​(java.util.List<LayoutBlock> blocks)  
    void setBotId​(java.lang.String botId)  
    void setCallbackId​(java.lang.String callbackId)
    This is optional value that specifies callback id when there are buttons.
    void setChannelId​(java.lang.String channelId)  
    void setChannelName​(java.lang.String channelName)  
    void setColor​(java.lang.String color)
    Like traffic signals, color-coding messages can quickly communicate intent and help separate them from the flow of other messages in the timeline.
    void setFallback​(java.lang.String fallback)
    A plain-text summary of the attachment.
    void setFields​(java.util.List<Field> fields)
    Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment.
    void setFilename​(java.lang.String filename)  
    void setFiles​(java.util.List<File> files)  
    void setFooter​(java.lang.String footer)
    Add some brief text to help contextualize and identify an attachment.
    void setFooterIcon​(java.lang.String footerIcon)
    To render a small icon beside your footer text, provide a publicly accessible URL string in the footer_icon field.
    void setFromUrl​(java.lang.String fromUrl)  
    void setId​(java.lang.Integer id)  
    void setImageBytes​(java.lang.Integer imageBytes)  
    void setImageHeight​(java.lang.Integer imageHeight)  
    void setImageUrl​(java.lang.String imageUrl)
    A valid URL to an image file that will be displayed inside a message attachment.
    void setImageWidth​(java.lang.Integer imageWidth)  
    void setIndent​(java.lang.Boolean indent)  
    void setMetadata​(Attachment.AttachmentMetadata metadata)  
    void setMimetype​(java.lang.String mimetype)  
    void setMrkdwnIn​(java.util.List<java.lang.String> mrkdwnIn)
    By default, message text in attachments are not formatted.
    void setMsgSubtype​(java.lang.String msgSubtype)  
    void setMsgUnfurl​(java.lang.Boolean msgUnfurl)  
    void setOriginalUrl​(java.lang.String originalUrl)  
    void setPretext​(java.lang.String pretext)
    This is optional text that appears above the message attachment block.
    void setReplyUnfurl​(java.lang.Boolean replyUnfurl)  
    void setServiceIcon​(java.lang.String serviceIcon)  
    void setServiceName​(java.lang.String serviceName)  
    void setServiceUrl​(java.lang.String serviceUrl)  
    void setSize​(java.lang.Integer size)  
    void setText​(java.lang.String text)
    This is the main text in a message attachment, and can contain standard message markup (see details below).
    void setThreadRootUnfurl​(java.lang.Boolean threadRootUnfurl)  
    void setThumbHeight​(java.lang.Integer thumbHeight)  
    void setThumbUrl​(java.lang.String thumbUrl)
    A valid URL to an image file that will be displayed as a thumbnail on the right side of a message attachment.
    void setThumbWidth​(java.lang.Integer thumbWidth)  
    void setTitle​(java.lang.String title)
    The title is displayed as larger, bold text near the top of a message attachment.
    void setTitleLink​(java.lang.String titleLink)
    The title is displayed as larger, bold text near the top of a message attachment.
    void setTs​(java.lang.String ts)
    ts (timestamp) Does your attachment relate to something happening at a specific time?
    void setUrl​(java.lang.String url)  
    void setVideoHtml​(Attachment.VideoHtml videoHtml)  
    void setVideoHtmlHeight​(java.lang.Integer videoHtmlHeight)  
    void setVideoHtmlWidth​(java.lang.Integer videoHtmlWidth)  
    void setVideoUrl​(java.lang.String videoUrl)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Attachment

      public Attachment()
    • Attachment

      public Attachment​(java.lang.String msgSubtype, java.lang.String fallback, java.lang.String callbackId, java.lang.String color, java.lang.String pretext, java.lang.String serviceUrl, java.lang.String serviceName, java.lang.String serviceIcon, java.lang.String authorId, java.lang.String authorName, java.lang.String authorLink, java.lang.String authorIcon, java.lang.String fromUrl, java.lang.String originalUrl, java.lang.String authorSubname, java.lang.String channelId, java.lang.String channelName, java.lang.Integer id, java.lang.String botId, java.lang.Boolean indent, java.lang.Boolean msgUnfurl, java.lang.Boolean replyUnfurl, java.lang.Boolean threadRootUnfurl, java.lang.Boolean appUnfurl, java.lang.String appUnfurlUrl, java.lang.String title, java.lang.String titleLink, java.lang.String text, java.util.List<Field> fields, java.lang.String imageUrl, java.lang.Integer imageWidth, java.lang.Integer imageHeight, java.lang.Integer imageBytes, java.lang.String thumbUrl, java.lang.Integer thumbWidth, java.lang.Integer thumbHeight, java.lang.String videoUrl, Attachment.VideoHtml videoHtml, java.lang.Integer videoHtmlWidth, java.lang.Integer videoHtmlHeight, java.lang.String footer, java.lang.String footerIcon, java.lang.String ts, java.util.List<java.lang.String> mrkdwnIn, java.util.List<Action> actions, java.util.List<LayoutBlock> blocks, java.util.List<File> files, java.lang.String filename, java.lang.Integer size, java.lang.String mimetype, java.lang.String url, Attachment.AttachmentMetadata metadata)
  • Method Details

    • isIndent

      public java.lang.Boolean isIndent()
    • setIndent

      public void setIndent​(java.lang.Boolean indent)
    • isMsgUnfurl

      public java.lang.Boolean isMsgUnfurl()
    • setMsgUnfurl

      public void setMsgUnfurl​(java.lang.Boolean msgUnfurl)
    • isReplyUnfurl

      public java.lang.Boolean isReplyUnfurl()
    • setReplyUnfurl

      public void setReplyUnfurl​(java.lang.Boolean replyUnfurl)
    • isThreadRootUnfurl

      public java.lang.Boolean isThreadRootUnfurl()
    • setThreadRootUnfurl

      public void setThreadRootUnfurl​(java.lang.Boolean threadRootUnfurl)
    • isAppUnfurl

      public java.lang.Boolean isAppUnfurl()
    • setAppUnfurl

      public void setAppUnfurl​(java.lang.Boolean appUnfurl)
    • builder

      public static Attachment.AttachmentBuilder builder()
    • getMsgSubtype

      public java.lang.String getMsgSubtype()
    • getFallback

      public java.lang.String getFallback()
      A plain-text summary of the attachment. This text will be used in clients that don't show formatted text (eg. IRC, mobile notifications) and should not contain any markup.
    • getCallbackId

      public java.lang.String getCallbackId()
      This is optional value that specifies callback id when there are buttons.
    • getColor

      public java.lang.String getColor()
      Like traffic signals, color-coding messages can quickly communicate intent and help separate them from the flow of other messages in the timeline.

      An optional value that can either be one of good, warning, danger, or any hex color code (eg. #439FE0). This value is used to color the border along the left side of the message attachment.

    • getPretext

      public java.lang.String getPretext()
      This is optional text that appears above the message attachment block.
    • getServiceUrl

      public java.lang.String getServiceUrl()
    • getServiceName

      public java.lang.String getServiceName()
    • getServiceIcon

      public java.lang.String getServiceIcon()
    • getAuthorId

      public java.lang.String getAuthorId()
    • getAuthorName

      public java.lang.String getAuthorName()
      Small text used to display the author's name.
    • getAuthorLink

      public java.lang.String getAuthorLink()
      A valid URL that will hyperlink the author_name text mentioned above. Will only work if author_name is present.
    • getAuthorIcon

      public java.lang.String getAuthorIcon()
      A valid URL that displays a small 16x16px image to the left of the author_name text. Will only work if author_name is present.
    • getFromUrl

      public java.lang.String getFromUrl()
    • getOriginalUrl

      public java.lang.String getOriginalUrl()
    • getAuthorSubname

      public java.lang.String getAuthorSubname()
    • getChannelId

      public java.lang.String getChannelId()
    • getChannelName

      public java.lang.String getChannelName()
    • getId

      public java.lang.Integer getId()
    • getBotId

      public java.lang.String getBotId()
    • getAppUnfurlUrl

      public java.lang.String getAppUnfurlUrl()
    • getTitle

      public java.lang.String getTitle()
      The title is displayed as larger, bold text near the top of a message attachment. By passing a valid URL in the title_link parameter (optional), the title text will be hyperlinked.
    • getTitleLink

      public java.lang.String getTitleLink()
      The title is displayed as larger, bold text near the top of a message attachment. By passing a valid URL in the title_link parameter (optional), the title text will be hyperlinked.
    • getText

      public java.lang.String getText()
      This is the main text in a message attachment, and can contain standard message markup (see details below). The content will automatically collapse if it contains 700+ characters or 5+ linebreaks, and will display a "Show more..." link to expand the content.

      https://api.slack.com/docs/message-attachments#message_formatting

    • getFields

      public java.util.List<Field> getFields()
      Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment.
    • getImageUrl

      public java.lang.String getImageUrl()
      A valid URL to an image file that will be displayed inside a message attachment. We currently support the following formats: GIF, JPEG, PNG, and BMP.

      Large images will be resized to a maximum width of 400px or a maximum height of 500px, while still maintaining the original aspect ratio.

    • getImageWidth

      public java.lang.Integer getImageWidth()
    • getImageHeight

      public java.lang.Integer getImageHeight()
    • getImageBytes

      public java.lang.Integer getImageBytes()
    • getThumbUrl

      public java.lang.String getThumbUrl()
      A valid URL to an image file that will be displayed as a thumbnail on the right side of a message attachment. We currently support the following formats: GIF, JPEG, PNG, and BMP.

      The thumbnail's longest dimension will be scaled down to 75px while maintaining the aspect ratio of the image. The filesize of the image must also be less than 500 KB.

      For best results, please use images that are already 75px by 75px.

    • getThumbWidth

      public java.lang.Integer getThumbWidth()
    • getThumbHeight

      public java.lang.Integer getThumbHeight()
    • getVideoUrl

      public java.lang.String getVideoUrl()
    • getVideoHtml

      public Attachment.VideoHtml getVideoHtml()
    • getVideoHtmlWidth

      public java.lang.Integer getVideoHtmlWidth()
    • getVideoHtmlHeight

      public java.lang.Integer getVideoHtmlHeight()
    • getFooter

      public java.lang.String getFooter()
      Add some brief text to help contextualize and identify an attachment. Limited to 300 characters, and may be truncated further when displayed to users in environments with limited screen real estate.
    • getFooterIcon

      public java.lang.String getFooterIcon()
      To render a small icon beside your footer text, provide a publicly accessible URL string in the footer_icon field. You must also provide a footer for the field to be recognized.

      We'll render what you provide at 16px by 16px. It's best to use an image that is similarly sized.

    • getTs

      public java.lang.String getTs()
      ts (timestamp) Does your attachment relate to something happening at a specific time?

      By providing the ts field with an integer value in "epoch time", the attachment will display an additional timestamp value as part of the attachment's footer.

      Use ts when referencing articles or happenings. Your message will have its own timestamp when published.

    • getMrkdwnIn

      public java.util.List<java.lang.String> getMrkdwnIn()
      By default, message text in attachments are not formatted. To enable formatting on attachment fields, add the name of the field (as defined in the API) in this list.
    • getActions

      public java.util.List<Action> getActions()
      Actions are defined as an array, and hashes contained within it will be displayed in as buttons in the message attachment.
    • getBlocks

      public java.util.List<LayoutBlock> getBlocks()
    • getFiles

      public java.util.List<File> getFiles()
    • getFilename

      public java.lang.String getFilename()
    • getSize

      public java.lang.Integer getSize()
    • getMimetype

      public java.lang.String getMimetype()
    • getUrl

      public java.lang.String getUrl()
    • getMetadata

      public Attachment.AttachmentMetadata getMetadata()
    • setMsgSubtype

      public void setMsgSubtype​(java.lang.String msgSubtype)
    • setFallback

      public void setFallback​(java.lang.String fallback)
      A plain-text summary of the attachment. This text will be used in clients that don't show formatted text (eg. IRC, mobile notifications) and should not contain any markup.
    • setCallbackId

      public void setCallbackId​(java.lang.String callbackId)
      This is optional value that specifies callback id when there are buttons.
    • setColor

      public void setColor​(java.lang.String color)
      Like traffic signals, color-coding messages can quickly communicate intent and help separate them from the flow of other messages in the timeline.

      An optional value that can either be one of good, warning, danger, or any hex color code (eg. #439FE0). This value is used to color the border along the left side of the message attachment.

    • setPretext

      public void setPretext​(java.lang.String pretext)
      This is optional text that appears above the message attachment block.
    • setServiceUrl

      public void setServiceUrl​(java.lang.String serviceUrl)
    • setServiceName

      public void setServiceName​(java.lang.String serviceName)
    • setServiceIcon

      public void setServiceIcon​(java.lang.String serviceIcon)
    • setAuthorId

      public void setAuthorId​(java.lang.String authorId)
    • setAuthorName

      public void setAuthorName​(java.lang.String authorName)
      Small text used to display the author's name.
    • setAuthorLink

      public void setAuthorLink​(java.lang.String authorLink)
      A valid URL that will hyperlink the author_name text mentioned above. Will only work if author_name is present.
    • setAuthorIcon

      public void setAuthorIcon​(java.lang.String authorIcon)
      A valid URL that displays a small 16x16px image to the left of the author_name text. Will only work if author_name is present.
    • setFromUrl

      public void setFromUrl​(java.lang.String fromUrl)
    • setOriginalUrl

      public void setOriginalUrl​(java.lang.String originalUrl)
    • setAuthorSubname

      public void setAuthorSubname​(java.lang.String authorSubname)
    • setChannelId

      public void setChannelId​(java.lang.String channelId)
    • setChannelName

      public void setChannelName​(java.lang.String channelName)
    • setId

      public void setId​(java.lang.Integer id)
    • setBotId

      public void setBotId​(java.lang.String botId)
    • setAppUnfurlUrl

      public void setAppUnfurlUrl​(java.lang.String appUnfurlUrl)
    • setTitle

      public void setTitle​(java.lang.String title)
      The title is displayed as larger, bold text near the top of a message attachment. By passing a valid URL in the title_link parameter (optional), the title text will be hyperlinked.
    • setTitleLink

      public void setTitleLink​(java.lang.String titleLink)
      The title is displayed as larger, bold text near the top of a message attachment. By passing a valid URL in the title_link parameter (optional), the title text will be hyperlinked.
    • setText

      public void setText​(java.lang.String text)
      This is the main text in a message attachment, and can contain standard message markup (see details below). The content will automatically collapse if it contains 700+ characters or 5+ linebreaks, and will display a "Show more..." link to expand the content.

      https://api.slack.com/docs/message-attachments#message_formatting

    • setFields

      public void setFields​(java.util.List<Field> fields)
      Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment.
    • setImageUrl

      public void setImageUrl​(java.lang.String imageUrl)
      A valid URL to an image file that will be displayed inside a message attachment. We currently support the following formats: GIF, JPEG, PNG, and BMP.

      Large images will be resized to a maximum width of 400px or a maximum height of 500px, while still maintaining the original aspect ratio.

    • setImageWidth

      public void setImageWidth​(java.lang.Integer imageWidth)
    • setImageHeight

      public void setImageHeight​(java.lang.Integer imageHeight)
    • setImageBytes

      public void setImageBytes​(java.lang.Integer imageBytes)
    • setThumbUrl

      public void setThumbUrl​(java.lang.String thumbUrl)
      A valid URL to an image file that will be displayed as a thumbnail on the right side of a message attachment. We currently support the following formats: GIF, JPEG, PNG, and BMP.

      The thumbnail's longest dimension will be scaled down to 75px while maintaining the aspect ratio of the image. The filesize of the image must also be less than 500 KB.

      For best results, please use images that are already 75px by 75px.

    • setThumbWidth

      public void setThumbWidth​(java.lang.Integer thumbWidth)
    • setThumbHeight

      public void setThumbHeight​(java.lang.Integer thumbHeight)
    • setVideoUrl

      public void setVideoUrl​(java.lang.String videoUrl)
    • setVideoHtml

      public void setVideoHtml​(Attachment.VideoHtml videoHtml)
    • setVideoHtmlWidth

      public void setVideoHtmlWidth​(java.lang.Integer videoHtmlWidth)
    • setVideoHtmlHeight

      public void setVideoHtmlHeight​(java.lang.Integer videoHtmlHeight)
    • setFooter

      public void setFooter​(java.lang.String footer)
      Add some brief text to help contextualize and identify an attachment. Limited to 300 characters, and may be truncated further when displayed to users in environments with limited screen real estate.
    • setFooterIcon

      public void setFooterIcon​(java.lang.String footerIcon)
      To render a small icon beside your footer text, provide a publicly accessible URL string in the footer_icon field. You must also provide a footer for the field to be recognized.

      We'll render what you provide at 16px by 16px. It's best to use an image that is similarly sized.

    • setTs

      public void setTs​(java.lang.String ts)
      ts (timestamp) Does your attachment relate to something happening at a specific time?

      By providing the ts field with an integer value in "epoch time", the attachment will display an additional timestamp value as part of the attachment's footer.

      Use ts when referencing articles or happenings. Your message will have its own timestamp when published.

    • setMrkdwnIn

      public void setMrkdwnIn​(java.util.List<java.lang.String> mrkdwnIn)
      By default, message text in attachments are not formatted. To enable formatting on attachment fields, add the name of the field (as defined in the API) in this list.
    • setActions

      public void setActions​(java.util.List<Action> actions)
      Actions are defined as an array, and hashes contained within it will be displayed in as buttons in the message attachment.
    • setBlocks

      public void setBlocks​(java.util.List<LayoutBlock> blocks)
    • setFiles

      public void setFiles​(java.util.List<File> files)
    • setFilename

      public void setFilename​(java.lang.String filename)
    • setSize

      public void setSize​(java.lang.Integer size)
    • setMimetype

      public void setMimetype​(java.lang.String mimetype)
    • setUrl

      public void setUrl​(java.lang.String url)
    • setMetadata

      public void setMetadata​(Attachment.AttachmentMetadata metadata)
    • 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