Class FileAttribute

java.lang.Object
com.intercom.api.types.FileAttribute

public final class FileAttribute extends Object
  • Method Details

    • getType

      public String getType()
    • getName

      public String getName()
      Returns:
      The name of the file
    • getUrl

      public String getUrl()
      Returns:
      The url of the file. This is a temporary URL and will expire after 30 minutes.
    • getContentType

      public String getContentType()
      Returns:
      The type of file
    • getFilesize

      public int getFilesize()
      Returns:
      The size of the file in bytes
    • getWidth

      public int getWidth()
      Returns:
      The width of the file in pixels, if applicable
    • getHeight

      public int getHeight()
      Returns:
      The height of the file in pixels, if applicable
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static FileAttribute.TypeStage builder()