Package com.smartsheet.api.models
Class ReportWidgetContent
- java.lang.Object
-
- com.smartsheet.api.models.ReportWidgetContent
-
- All Implemented Interfaces:
WidgetContent
public class ReportWidgetContent extends java.lang.Object implements WidgetContent
-
-
Constructor Summary
Constructors Constructor Description ReportWidgetContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHtmlContent()Gets the HTML snippet used to render reportWidgetHyperlinkgetHyperlink()Gets the hyperlink associated with this Widgetjava.lang.LonggetReportId()Gets the report ID denoting container sourceWidgetTypegetWidgetType()Returns the type for this widget content objectReportWidgetContentsetHtmlContent(java.lang.String htmlContent)Sets the HTML snippet used to render reportReportWidgetContentsetHyperlink(WidgetHyperlink hyperlink)Sets the hyperlink associated with this WidgetReportWidgetContentsetReportId(java.lang.Long reportId)Sets the report ID denoting container source
-
-
-
Method Detail
-
getWidgetType
public WidgetType getWidgetType()
Returns the type for this widget content object- Specified by:
getWidgetTypein interfaceWidgetContent- Returns:
- GRIDGANTT
-
getReportId
public java.lang.Long getReportId()
Gets the report ID denoting container source- Returns:
- report ID
-
setReportId
public ReportWidgetContent setReportId(java.lang.Long reportId)
Sets the report ID denoting container source
-
getHtmlContent
public java.lang.String getHtmlContent()
Gets the HTML snippet used to render report- Returns:
- HTML content
-
setHtmlContent
public ReportWidgetContent setHtmlContent(java.lang.String htmlContent)
Sets the HTML snippet used to render report
-
getHyperlink
public WidgetHyperlink getHyperlink()
Gets the hyperlink associated with this Widget- Returns:
- the hyperlink
-
setHyperlink
public ReportWidgetContent setHyperlink(WidgetHyperlink hyperlink)
Sets the hyperlink associated with this Widget
-
-