MicrosoftGraphTimeSlot Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTimeSlot

Implements

public final class MicrosoftGraphTimeSlot
implements JsonSerializable<MicrosoftGraphTimeSlot>

timeSlot.

Constructor Summary

Constructor Description
MicrosoftGraphTimeSlot()

Creates an instance of MicrosoftGraphTimeSlot class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: timeSlot.

MicrosoftGraphDateTimeZone end()

Get the end property: dateTimeTimeZone.

static MicrosoftGraphTimeSlot fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTimeSlot from the JsonReader.

MicrosoftGraphDateTimeZone start()

Get the start property: dateTimeTimeZone.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTimeSlot withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: timeSlot.

MicrosoftGraphTimeSlot withEnd(MicrosoftGraphDateTimeZone end)

Set the end property: dateTimeTimeZone.

MicrosoftGraphTimeSlot withStart(MicrosoftGraphDateTimeZone start)

Set the start property: dateTimeTimeZone.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTimeSlot

public MicrosoftGraphTimeSlot()

Creates an instance of MicrosoftGraphTimeSlot class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: timeSlot.

Returns:

the additionalProperties value.

end

public MicrosoftGraphDateTimeZone end()

Get the end property: dateTimeTimeZone.

Returns:

the end value.

fromJson

public static MicrosoftGraphTimeSlot fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTimeSlot from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphTimeSlot if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphTimeSlot.

start

public MicrosoftGraphDateTimeZone start()

Get the start property: dateTimeTimeZone.

Returns:

the start value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphTimeSlot withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: timeSlot.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTimeSlot object itself.

withEnd

public MicrosoftGraphTimeSlot withEnd(MicrosoftGraphDateTimeZone end)

Set the end property: dateTimeTimeZone.

Parameters:

end - the end value to set.

Returns:

the MicrosoftGraphTimeSlot object itself.

withStart

public MicrosoftGraphTimeSlot withStart(MicrosoftGraphDateTimeZone start)

Set the start property: dateTimeTimeZone.

Parameters:

start - the start value to set.

Returns:

the MicrosoftGraphTimeSlot object itself.

Applies to