Recurrence Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. Recurrence
- com.
Implements
public class Recurrence
implements JsonSerializable<Recurrence>
Recurrence model.
Constructor Summary
| Constructor | Description |
|---|---|
| Recurrence() |
Creates an instance of Recurrence class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Recurrence |
fromJson(JsonReader jsonReader)
Reads an instance of Recurrence from the Json |
| Frequency |
getFrequency()
Get the frequency property: Frequency of the recurrence. |
|
Recurrence |
getRecurrenceEnd()
Get the recurrence |
| Recurrence |
setRecurrenceEnd(RecurrenceEnd recurrenceEnd)
Set the recurrence |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
Recurrence
public Recurrence()
Creates an instance of Recurrence class.
Method Details
fromJson
public static Recurrence fromJson(JsonReader jsonReader)
Reads an instance of Recurrence from the JsonReader.
Parameters:
Returns:
Throws:
getFrequency
public Frequency getFrequency()
Get the frequency property: Frequency of the recurrence.
Returns:
getRecurrenceEnd
public RecurrenceEnd getRecurrenceEnd()
Get the recurrenceEnd property: Recurrence end model. You can specify the end either by providing a numberOfOccurrences (which will end the recurrence after the specified number of occurrences) or by providing an endDateTime (which will end the recurrence after the specified date). If neither value is provided, the recurrence will continue until it is manually ended. However, if both values are provided, an error will be thrown.
Returns:
setRecurrenceEnd
public Recurrence setRecurrenceEnd(RecurrenceEnd recurrenceEnd)
Set the recurrenceEnd property: Recurrence end model. You can specify the end either by providing a numberOfOccurrences (which will end the recurrence after the specified number of occurrences) or by providing an endDateTime (which will end the recurrence after the specified date). If neither value is provided, the recurrence will continue until it is manually ended. However, if both values are provided, an error will be thrown.
Parameters:
Returns: