Class ScheduledMail

java.lang.Object
com.gooddata.sdk.model.md.AbstractObj
com.gooddata.sdk.model.md.ScheduledMail
All Implemented Interfaces:
Obj, Queryable, Updatable, java.io.Serializable

public class ScheduledMail
extends AbstractObj
implements Queryable, Updatable
A scheduled mail MD object. It represents a schedule on mail-sending of exported dashboards and reports.
See Also:
Serialized Form
  • Constructor Details

    • ScheduledMail

      public ScheduledMail​(java.lang.String title, java.lang.String summary)
      Creates an almost empty instance of the object. It's up to the user's responsibility to call all the necessary setters.
      Parameters:
      title - the title of the MD object
      summary - the summary of the MD object
    • ScheduledMail

      public ScheduledMail​(java.lang.String title, java.lang.String summary, java.lang.String recurrency, java.time.LocalDate startDate, java.lang.String timeZone, java.util.Collection<java.lang.String> toAddresses, java.util.Collection<java.lang.String> bccAddresses, java.lang.String subject, java.lang.String body, java.util.List<Attachment> attachments)
      Creates full, safe mail schedule object.
      Parameters:
      title - the title of the MD object
      summary - the summary of the MD object
      recurrency - schedule in format defined in schedule
      startDate - schedule starting date
      timeZone - time zone of the starting date
      toAddresses - collection of email addresses to send the mail to
      bccAddresses - collection of blind copy addresses to send the mail to
      subject - the subject of the scheduled mail
      body - the text body of the scheduled mail
      attachments - reports and dashboards to send in the scheduled email
  • Method Details