Package com.gooddata.sdk.model.md
Class ReportAttachment
java.lang.Object
com.gooddata.sdk.model.md.Attachment
com.gooddata.sdk.model.md.ReportAttachment
- All Implemented Interfaces:
java.io.Serializable
public class ReportAttachment extends Attachment
Attachment to
ScheduledMail represents report-related information for the schedule.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Modifier Constructor Description protectedReportAttachment(java.lang.String uri, java.util.Map<java.lang.String,java.lang.String> exportOptions, ExportFormat... formats)protectedReportAttachment(java.lang.String uri, java.util.Map<java.lang.String,java.lang.String> exportOptions, java.lang.String... formats) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.Map<java.lang.String,java.lang.String>getExportOptions()Options which modify default export behavior.java.util.Collection<java.lang.String>getFormats()inthashCode()java.lang.StringtoString()
-
Constructor Details
-
ReportAttachment
protected ReportAttachment(java.lang.String uri, java.util.Map<java.lang.String,java.lang.String> exportOptions, java.lang.String... formats) -
ReportAttachment
protected ReportAttachment(java.lang.String uri, java.util.Map<java.lang.String,java.lang.String> exportOptions, ExportFormat... formats)
-
-
Method Details
-
getExportOptions
public java.util.Map<java.lang.String,java.lang.String> getExportOptions()Options which modify default export behavior. Due to variety of export formats options only work for explicitly listed format types.- pageOrientation
- set page orientation
- default value: 'portrait'
- supported in: tabular PDF
- optimalColumnWidth
- set 'yes' to automatically resize all columns to fit cell's content
- default is: 'no' (do not auto resize)
- supported in: tabular PDF
- pageScalePercentage
- down-scaling factor (in percent), 100 means no scale-down
- may not be combined with scaleToPages, scaleToPagesX and scaleToPagesY
- default is: 100
- supported in: tabular PDF
- scaleToPages
- total number of pages of target PDF file
- may not be combined with pageScalePercentage, scaleToPagesX and scaleToPagesY
- default is: unlimited
- supported in: tabular PDF
- scaleToPagesX
- number of horizontal pages of target PDF file
- may not be combined with pageScalePercentage and scaleToPages, but may be combined with scaleToPagesY
- default is: unlimited
- supported in: tabular PDF
- scaleToPagesY
- number of vertical pages of target PDF file
- may not be combined with pageScalePercentage and scaleToPages, but may be combined with scaleToPagesX
- default is: unlimited
- supported in: tabular PDF
- Returns:
- map of export options
- pageOrientation
-
getFormats
public java.util.Collection<java.lang.String> getFormats() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classAttachment
-
hashCode
public int hashCode()- Overrides:
hashCodein classAttachment
-
toString
public java.lang.String toString()- Overrides:
toStringin classAttachment
-