Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RecurrenceEnums = struct { Daily RecurrenceEnum Monthly RecurrenceEnum Once RecurrenceEnum Weekly RecurrenceEnum }{ "DAILY", "MONTHLY", "ONCE", "WEEKLY", }
View Source
var TimezoneEnums = struct { Gmt0000 TimezoneEnum Gmt0100 TimezoneEnum Gmt0200 TimezoneEnum Gmt0300 TimezoneEnum Gmt0400 TimezoneEnum Gmt0500 TimezoneEnum Gmt0600 TimezoneEnum Gmt0700 TimezoneEnum Gmt0800 TimezoneEnum Gmt0900 TimezoneEnum Gmt1000 TimezoneEnum Gmt1100 TimezoneEnum Gmt1200 TimezoneEnum }{ "GMT_00_00", "GMT_01_00", "GMT_02_00", "GMT_03_00", "GMT_04_00", "GMT_05_00", "GMT_06_00", "GMT_07_00", "GMT_08_00", "GMT_09_00", "GMT_10_00", "GMT_11_00", "GMT_12_00", }
Functions ¶
This section is empty.
Types ¶
type DailyRecurrence ¶
type DailyRecurrence struct { Every int `json:"every"` // Every **X** days:\n* `1` = every day,\n* `2` = every two days,\n* `3` = every three days,\n* etc. RecurrenceRange *RecurrenceRange `json:"recurrenceRange"` // Recurrence range UpdateTime *UpdateTime `json:"updateTime"` // Update time }
func (*DailyRecurrence) MarshalHCL ¶
func (me *DailyRecurrence) MarshalHCL(properties hcl.Properties) error
func (*DailyRecurrence) UnmarshalHCL ¶
func (me *DailyRecurrence) UnmarshalHCL(decoder hcl.Decoder) error
type MonthlyRecurrence ¶
type MonthlyRecurrence struct { Every int `json:"every"` // Every **X** months:\n* `1` = every month,\n* `2` = every two months,\n* `3` = every three months,\n* etc. RecurrenceRange *RecurrenceRange `json:"recurrenceRange"` // Recurrence range SelectedMonthDay int `json:"selectedMonthDay"` // Day of the month UpdateTime *UpdateTime `json:"updateTime"` // Update time }
func (*MonthlyRecurrence) MarshalHCL ¶
func (me *MonthlyRecurrence) MarshalHCL(properties hcl.Properties) error
func (*MonthlyRecurrence) UnmarshalHCL ¶
func (me *MonthlyRecurrence) UnmarshalHCL(decoder hcl.Decoder) error
type OnceRecurrence ¶
type OnceRecurrence struct {
RecurrenceRange *OnceWindow `json:"recurrenceRange"` // Update time
}
func (*OnceRecurrence) MarshalHCL ¶
func (me *OnceRecurrence) MarshalHCL(properties hcl.Properties) error
func (*OnceRecurrence) UnmarshalHCL ¶
func (me *OnceRecurrence) UnmarshalHCL(decoder hcl.Decoder) error
type OnceWindow ¶
func (*OnceWindow) MarshalHCL ¶
func (me *OnceWindow) MarshalHCL(properties hcl.Properties) error
func (*OnceWindow) UnmarshalHCL ¶
func (me *OnceWindow) UnmarshalHCL(decoder hcl.Decoder) error
type RecurrenceEnum ¶
type RecurrenceEnum string
type RecurrenceRange ¶
func (*RecurrenceRange) MarshalHCL ¶
func (me *RecurrenceRange) MarshalHCL(properties hcl.Properties) error
func (*RecurrenceRange) UnmarshalHCL ¶
func (me *RecurrenceRange) UnmarshalHCL(decoder hcl.Decoder) error
type SelectedWeekDays ¶
type SelectedWeekDays struct { Friday bool `json:"friday"` Monday bool `json:"monday"` Saturday bool `json:"saturday"` Sunday bool `json:"sunday"` Thursday bool `json:"thursday"` Tuesday bool `json:"tuesday"` Wednesday bool `json:"wednesday"` }
func (*SelectedWeekDays) MarshalHCL ¶
func (me *SelectedWeekDays) MarshalHCL(properties hcl.Properties) error
func (*SelectedWeekDays) UnmarshalHCL ¶
func (me *SelectedWeekDays) UnmarshalHCL(decoder hcl.Decoder) error
type Settings ¶
type Settings struct { DailyRecurrence *DailyRecurrence `json:"dailyRecurrence,omitempty"` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) MonthlyRecurrence *MonthlyRecurrence `json:"monthlyRecurrence,omitempty"` Name string `json:"name"` // Name OnceRecurrence *OnceRecurrence `json:"onceRecurrence,omitempty"` Recurrence RecurrenceEnum `json:"recurrence"` // Possible Values: `MONTHLY`, `ONCE`, `DAILY`, `WEEKLY` WeeklyRecurrence *WeeklyRecurrence `json:"weeklyRecurrence,omitempty"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
type TimezoneEnum ¶
type TimezoneEnum string
type UpdateTime ¶
type UpdateTime struct { Duration int `json:"duration"` // Duration (minutes) StartTime string `json:"startTime"` // Start time (24-hour clock) TimeZone TimezoneEnum `json:"timeZone"` // Possible Values: `GMT_06_00`, `GMT_12_00`, `GMT_10_00`, `GMT_07_00`, `GMT_00_00`, `GMT_11_00`, `GMT_03_00`, `GMT_01_00`, `GMT_05_00`, `GMT_09_00`, `GMT_02_00`, `GMT_04_00`, `GMT_08_00` }
func (*UpdateTime) MarshalHCL ¶
func (me *UpdateTime) MarshalHCL(properties hcl.Properties) error
func (*UpdateTime) UnmarshalHCL ¶
func (me *UpdateTime) UnmarshalHCL(decoder hcl.Decoder) error
type UserFriendlySettings ¶ added in v1.27.0
type UserFriendlySettings struct { DailyRecurrence *DailyRecurrence `json:"dailyRecurrence,omitempty"` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) MonthlyRecurrence *MonthlyRecurrence `json:"monthlyRecurrence,omitempty"` Name string `json:"name"` // Name OnceRecurrence *OnceRecurrence `json:"onceRecurrence,omitempty"` Recurrence RecurrenceEnum `json:"recurrence"` // Possible Values: `MONTHLY`, `ONCE`, `DAILY`, `WEEKLY` WeeklyRecurrence *WeeklyRecurrence `json:"weeklyRecurrence,omitempty"` }
func (*UserFriendlySettings) MarshalHCL ¶ added in v1.27.0
func (me *UserFriendlySettings) MarshalHCL(properties hcl.Properties) error
func (*UserFriendlySettings) Schema ¶ added in v1.27.0
func (me *UserFriendlySettings) Schema() map[string]*schema.Schema
func (*UserFriendlySettings) UnmarshalHCL ¶ added in v1.27.0
func (me *UserFriendlySettings) UnmarshalHCL(decoder hcl.Decoder) error
type WeeklyRecurrence ¶
type WeeklyRecurrence struct { Every int `json:"every"` // Every **X** weeks:\n* `1` = every week,\n* `2` = every two weeks,\n* `3` = every three weeks,\n* etc. RecurrenceRange *RecurrenceRange `json:"recurrenceRange"` // Recurrence range SelectedWeekDays *SelectedWeekDays `json:"selectedWeekDays"` // Day of the week UpdateTime *UpdateTime `json:"updateTime"` // Update time }
func (*WeeklyRecurrence) MarshalHCL ¶
func (me *WeeklyRecurrence) MarshalHCL(properties hcl.Properties) error
func (*WeeklyRecurrence) UnmarshalHCL ¶
func (me *WeeklyRecurrence) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.