Class MicrosoftGraphTimeRange
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTimeRange
-
public final class MicrosoftGraphTimeRange extends Object
timeRange.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphTimeRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: timeRange.StringendTime()Get the endTime property: End time for the time range.StringstartTime()Get the startTime property: Start time for the time range.voidvalidate()Validates the instance.MicrosoftGraphTimeRangewithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: timeRange.MicrosoftGraphTimeRangewithEndTime(String endTime)Set the endTime property: End time for the time range.MicrosoftGraphTimeRangewithStartTime(String startTime)Set the startTime property: Start time for the time range.
-
-
-
Method Detail
-
endTime
public String endTime()
Get the endTime property: End time for the time range.- Returns:
- the endTime value.
-
withEndTime
public MicrosoftGraphTimeRange withEndTime(String endTime)
Set the endTime property: End time for the time range.- Parameters:
endTime- the endTime value to set.- Returns:
- the MicrosoftGraphTimeRange object itself.
-
startTime
public String startTime()
Get the startTime property: Start time for the time range.- Returns:
- the startTime value.
-
withStartTime
public MicrosoftGraphTimeRange withStartTime(String startTime)
Set the startTime property: Start time for the time range.- Parameters:
startTime- the startTime value to set.- Returns:
- the MicrosoftGraphTimeRange object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: timeRange.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTimeRange withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-