Class MicrosoftGraphTimeRange
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTimeRange
timeRange.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphTimeRange class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: timeRange.endTime()Get the endTime property: End time for the time range.Get the startTime property: Start time for the time range.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: timeRange.withEndTime(String endTime) Set the endTime property: End time for the time range.withStartTime(String startTime) Set the startTime property: Start time for the time range.
-
Constructor Details
-
MicrosoftGraphTimeRange
public MicrosoftGraphTimeRange()Creates an instance of MicrosoftGraphTimeRange class.
-
-
Method Details
-
endTime
Get the endTime property: End time for the time range.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: End time for the time range.- Parameters:
endTime- the endTime value to set.- Returns:
- the MicrosoftGraphTimeRange object itself.
-
startTime
Get the startTime property: Start time for the time range.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time for the time range.- Parameters:
startTime- the startTime value to set.- Returns:
- the MicrosoftGraphTimeRange object itself.
-
additionalProperties
Get the additionalProperties property: timeRange.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: timeRange.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTimeRange object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-