MicrosoftGraphSchedulingGroup Class

public final class MicrosoftGraphSchedulingGroup
extends MicrosoftGraphChangeTrackedEntity

schedulingGroup.

Constructor Summary

Constructor Description
MicrosoftGraphSchedulingGroup()

Creates an instance of MicrosoftGraphSchedulingGroup class.

Method Summary

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

Get the additionalProperties property: schedulingGroup.

String displayName()

Get the displayName property: The display name for the schedulingGroup.

static MicrosoftGraphSchedulingGroup fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSchedulingGroup from the JsonReader.

Boolean isActive()

Get the isActive property: Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones.

JsonWriter toJson(JsonWriter jsonWriter)
List<String> userIds()

Get the userIds property: The list of user IDs that are a member of the schedulingGroup.

void validate()

Validates the instance.

MicrosoftGraphSchedulingGroup withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: schedulingGroup.

MicrosoftGraphSchedulingGroup withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

MicrosoftGraphSchedulingGroup withDisplayName(String displayName)

Set the displayName property: The display name for the schedulingGroup.

MicrosoftGraphSchedulingGroup withId(String id)

Set the id property: Read-only.

MicrosoftGraphSchedulingGroup withIsActive(Boolean isActive)

Set the isActive property: Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones.

MicrosoftGraphSchedulingGroup withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphSchedulingGroup withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

MicrosoftGraphSchedulingGroup withUserIds(List<String> userIds)

Set the userIds property: The list of user IDs that are a member of the schedulingGroup.

Methods inherited from MicrosoftGraphChangeTrackedEntity

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSchedulingGroup

public MicrosoftGraphSchedulingGroup()

Creates an instance of MicrosoftGraphSchedulingGroup class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: schedulingGroup.

Overrides:

MicrosoftGraphSchedulingGroup.additionalProperties()

Returns:

the additionalProperties value.

displayName

public String displayName()

Get the displayName property: The display name for the schedulingGroup. Required.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphSchedulingGroup fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSchedulingGroup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphSchedulingGroup 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 MicrosoftGraphSchedulingGroup.

isActive

public Boolean isActive()

Get the isActive property: Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required.

Returns:

the isActive value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphSchedulingGroup.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

userIds

public List userIds()

Get the userIds property: The list of user IDs that are a member of the schedulingGroup. Required.

Returns:

the userIds value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphSchedulingGroup.validate()

withAdditionalProperties

public MicrosoftGraphSchedulingGroup withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: schedulingGroup.

Overrides:

MicrosoftGraphSchedulingGroup.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSchedulingGroup object itself.

withCreatedDateTime

public MicrosoftGraphSchedulingGroup withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Overrides:

MicrosoftGraphSchedulingGroup.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withDisplayName

public MicrosoftGraphSchedulingGroup withDisplayName(String displayName)

Set the displayName property: The display name for the schedulingGroup. Required.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphSchedulingGroup object itself.

withId

public MicrosoftGraphSchedulingGroup withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphSchedulingGroup.withId(String id)

Parameters:

id

withIsActive

public MicrosoftGraphSchedulingGroup withIsActive(Boolean isActive)

Set the isActive property: Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required.

Parameters:

isActive - the isActive value to set.

Returns:

the MicrosoftGraphSchedulingGroup object itself.

withLastModifiedBy

public MicrosoftGraphSchedulingGroup withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Overrides:

MicrosoftGraphSchedulingGroup.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Parameters:

lastModifiedBy

withLastModifiedDateTime

public MicrosoftGraphSchedulingGroup withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Overrides:

MicrosoftGraphSchedulingGroup.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withUserIds

public MicrosoftGraphSchedulingGroup withUserIds(List userIds)

Set the userIds property: The list of user IDs that are a member of the schedulingGroup. Required.

Parameters:

userIds - the userIds value to set.

Returns:

the MicrosoftGraphSchedulingGroup object itself.

Applies to