Package com.datadog.api.client.v2.model
Class SyntheticsTestOptionsScheduling
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestOptionsScheduling
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestOptionsScheduling
extends Object
Object containing timeframes and timezone used for advanced scheduling.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsTestOptionsScheduling(List<SyntheticsTestOptionsSchedulingTimeframe> timeframes, String timezone) -
Method Summary
Modifier and TypeMethodDescriptionaddTimeframesItem(SyntheticsTestOptionsSchedulingTimeframe timeframesItem) booleanReturn true if this SyntheticsTestOptionsScheduling object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Array containing objects describing the scheduling pattern to apply to each day.Timezone in which the timeframe is based.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetTimeframes(List<SyntheticsTestOptionsSchedulingTimeframe> timeframes) voidsetTimezone(String timezone) timeframes(List<SyntheticsTestOptionsSchedulingTimeframe> timeframes) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_TIMEFRAMES
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
-
Constructor Details
-
SyntheticsTestOptionsScheduling
public SyntheticsTestOptionsScheduling() -
SyntheticsTestOptionsScheduling
public SyntheticsTestOptionsScheduling(List<SyntheticsTestOptionsSchedulingTimeframe> timeframes, String timezone)
-
-
Method Details
-
timeframes
public SyntheticsTestOptionsScheduling timeframes(List<SyntheticsTestOptionsSchedulingTimeframe> timeframes) -
addTimeframesItem
public SyntheticsTestOptionsScheduling addTimeframesItem(SyntheticsTestOptionsSchedulingTimeframe timeframesItem) -
getTimeframes
Array containing objects describing the scheduling pattern to apply to each day.- Returns:
- timeframes
-
setTimeframes
-
timezone
-
getTimezone
Timezone in which the timeframe is based.- Returns:
- timezone
-
setTimezone
-
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:
- SyntheticsTestOptionsScheduling
-
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 SyntheticsTestOptionsScheduling object is equal to o. -
hashCode
public int hashCode() -
toString
-