From 5ac9a343c64cdeb956a7b1ffd203f101443bf7e0 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 20 Jul 2018 20:14:43 +0000 Subject: [PATCH] Generated from 6110295138cbd6959df204de3830b4ada943a4fc updated description of recurrent frequency --- .../azure/management/monitor/Recurrence.java | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Recurrence.java b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Recurrence.java index e96295c7f122..07d9abf9ef54 100644 --- a/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Recurrence.java +++ b/azure-mgmt-monitor/src/main/java/com/microsoft/azure/management/monitor/Recurrence.java @@ -18,11 +18,12 @@ public class Recurrence { /** * the recurrence frequency. How often the schedule profile should take * effect. This value must be Week, meaning each week will have the same - * set of profiles. Possible values include: 'None', 'Second', 'Minute', - * 'Hour', 'Day', 'Week', 'Month', 'Year'. + * set of profiles. For example, to set a daily schedule, set **schedule** + * to every day of the week. The frequency property specifies that the + * schedule is repeated weekly. */ @JsonProperty(value = "frequency", required = true) - private RecurrenceFrequency frequency; + private String frequency; /** * the scheduling constraints for when the profile begins. @@ -31,21 +32,29 @@ public class Recurrence { private RecurrentSchedule schedule; /** - * Get the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'. + * Creates an instance of Recurrence class. + * @param schedule the scheduling constraints for when the profile begins. + */ + public Recurrence() { + frequency = "Week"; + } + + /** + * Get the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly. * * @return the frequency value */ - public RecurrenceFrequency frequency() { + public String frequency() { return this.frequency; } /** - * Set the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'. + * Set the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly. * * @param frequency the frequency value to set * @return the Recurrence object itself. */ - public Recurrence withFrequency(RecurrenceFrequency frequency) { + public Recurrence withFrequency(String frequency) { this.frequency = frequency; return this; }