Package com.intercom.api.types
Class FileAttribute
- java.lang.Object
-
- com.intercom.api.types.FileAttribute
-
public final class FileAttribute extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFileAttribute._FinalStagestatic classFileAttribute.Builderstatic interfaceFileAttribute.ContentTypeStagestatic interfaceFileAttribute.FilesizeStagestatic interfaceFileAttribute.HeightStagestatic interfaceFileAttribute.NameStagestatic interfaceFileAttribute.TypeStagestatic interfaceFileAttribute.UrlStagestatic interfaceFileAttribute.WidthStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileAttribute.TypeStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetContentType()intgetFilesize()intgetHeight()java.lang.StringgetName()java.lang.StringgetType()java.lang.StringgetUrl()intgetWidth()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getName
public java.lang.String getName()
- Returns:
- The name of the file
-
getUrl
public java.lang.String getUrl()
- Returns:
- The url of the file. This is a temporary URL and will expire after 30 minutes.
-
getContentType
public java.lang.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(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static FileAttribute.TypeStage builder()
-
-