Package com.datadog.api.client.v2.model
Class PrintReportRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.PrintReportRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PrintReportRequestAttributes
extends Object
The configuration for a print-only report. Specify exactly one of
timeframe (for a
relative time window) or both from_ts and to_ts (for an absolute time
range).-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrintReportRequestAttributes(String resourceId, ReportScheduleResourceType resourceType, List<ReportScheduleTemplateVariable> templateVariables, String timezone) -
Method Summary
Modifier and TypeMethodDescriptionaddTemplateVariablesItem(ReportScheduleTemplateVariable templateVariablesItem) booleanReturn true if this PrintReportRequestAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The start of an absolute time range, as a Unix timestamp in milliseconds.The identifier of the dashboard or integration dashboard to render.The type of dashboard resource the report schedule targets.The dashboard template variables applied when rendering the report.A relative time window (for example1worcalendar_month).The IANA time zone identifier used to evaluate the time window.getToTs()The end of an absolute time range, as a Unix timestamp in milliseconds.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resourceId(String resourceId) resourceType(ReportScheduleResourceType resourceType) voidvoidsetResourceId(String resourceId) voidsetResourceType(ReportScheduleResourceType resourceType) voidsetTemplateVariables(List<ReportScheduleTemplateVariable> templateVariables) voidsetTimeframe(String timeframe) voidsetTimezone(String timezone) voidtemplateVariables(List<ReportScheduleTemplateVariable> templateVariables) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM_TS
- See Also:
-
JSON_PROPERTY_RESOURCE_ID
- See Also:
-
JSON_PROPERTY_RESOURCE_TYPE
- See Also:
-
JSON_PROPERTY_TEMPLATE_VARIABLES
- See Also:
-
JSON_PROPERTY_TIMEFRAME
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
JSON_PROPERTY_TO_TS
- See Also:
-
-
Constructor Details
-
PrintReportRequestAttributes
public PrintReportRequestAttributes() -
PrintReportRequestAttributes
public PrintReportRequestAttributes(String resourceId, ReportScheduleResourceType resourceType, List<ReportScheduleTemplateVariable> templateVariables, String timezone)
-
-
Method Details
-
fromTs
-
getFromTs
The start of an absolute time range, as a Unix timestamp in milliseconds. Required whentimeframeis omitted.- Returns:
- fromTs
-
setFromTs
-
resourceId
-
getResourceId
The identifier of the dashboard or integration dashboard to render.- Returns:
- resourceId
-
setResourceId
-
resourceType
-
getResourceType
The type of dashboard resource the report schedule targets.- Returns:
- resourceType
-
setResourceType
-
templateVariables
public PrintReportRequestAttributes templateVariables(List<ReportScheduleTemplateVariable> templateVariables) -
addTemplateVariablesItem
public PrintReportRequestAttributes addTemplateVariablesItem(ReportScheduleTemplateVariable templateVariablesItem) -
getTemplateVariables
The dashboard template variables applied when rendering the report.- Returns:
- templateVariables
-
setTemplateVariables
-
timeframe
-
getTimeframe
A relative time window (for example1worcalendar_month). Mutually exclusive withfrom_tsandto_ts.- Returns:
- timeframe
-
setTimeframe
-
timezone
-
getTimezone
The IANA time zone identifier used to evaluate the time window.- Returns:
- timezone
-
setTimezone
-
toTs
-
getToTs
The end of an absolute time range, as a Unix timestamp in milliseconds. Required whentimeframeis omitted.- Returns:
- toTs
-
setToTs
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- PrintReportRequestAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this PrintReportRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-