你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphTimeRange Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphTimeRange
- com.
Implements
public final class MicrosoftGraphTimeRange
implements JsonSerializable<MicrosoftGraphTimeRange>
timeRange.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphTimeRange() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
endTime()
Get the end |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withEndTime(String endTime)
Set the end |
Microsoft |
withStartTime(String startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphTimeRange
public MicrosoftGraphTimeRange()
Creates an instance of MicrosoftGraphTimeRange class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: timeRange.
Returns:
endTime
public String endTime()
Get the endTime property: End time for the time range.
Returns:
fromJson
public static MicrosoftGraphTimeRange fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphTimeRange from the JsonReader.
Parameters:
Returns:
Throws:
startTime
public String startTime()
Get the startTime property: Start time for the time range.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphTimeRange withAdditionalProperties(Map
Set the additionalProperties property: timeRange.
Parameters:
Returns:
withEndTime
public MicrosoftGraphTimeRange withEndTime(String endTime)
Set the endTime property: End time for the time range.
Parameters:
Returns:
withStartTime
public MicrosoftGraphTimeRange withStartTime(String startTime)
Set the startTime property: Start time for the time range.
Parameters:
Returns: