MicrosoftGraphOpenShiftChangeRequest Class

public final class MicrosoftGraphOpenShiftChangeRequest
extends MicrosoftGraphScheduleChangeRequest

openShiftChangeRequest.

Constructor Summary

Constructor Description
MicrosoftGraphOpenShiftChangeRequest()

Creates an instance of MicrosoftGraphOpenShiftChangeRequest class.

Method Summary

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

Get the additionalProperties property: openShiftChangeRequest.

static MicrosoftGraphOpenShiftChangeRequest fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOpenShiftChangeRequest from the JsonReader.

String openShiftId()

Get the openShiftId property: ID for the open shift.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphOpenShiftChangeRequest withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: openShiftChangeRequest.

MicrosoftGraphOpenShiftChangeRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)

Set the assignedTo property: scheduleChangeRequestActor.

MicrosoftGraphOpenShiftChangeRequest 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.

MicrosoftGraphOpenShiftChangeRequest withId(String id)

Set the id property: Read-only.

MicrosoftGraphOpenShiftChangeRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphOpenShiftChangeRequest 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.

MicrosoftGraphOpenShiftChangeRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime)

Set the managerActionDateTime property: The managerActionDateTime property.

MicrosoftGraphOpenShiftChangeRequest withManagerActionMessage(String managerActionMessage)

Set the managerActionMessage property: The managerActionMessage property.

MicrosoftGraphOpenShiftChangeRequest withManagerUserId(String managerUserId)

Set the managerUserId property: The managerUserId property.

MicrosoftGraphOpenShiftChangeRequest withOpenShiftId(String openShiftId)

Set the openShiftId property: ID for the open shift.

MicrosoftGraphOpenShiftChangeRequest withSenderDateTime(OffsetDateTime senderDateTime)

Set the senderDateTime property: The senderDateTime property.

MicrosoftGraphOpenShiftChangeRequest withSenderMessage(String senderMessage)

Set the senderMessage property: The senderMessage property.

MicrosoftGraphOpenShiftChangeRequest withSenderUserId(String senderUserId)

Set the senderUserId property: The senderUserId property.

MicrosoftGraphOpenShiftChangeRequest withState(MicrosoftGraphScheduleChangeState state)

Set the state property: scheduleChangeState.

Methods inherited from MicrosoftGraphChangeTrackedEntity

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from MicrosoftGraphScheduleChangeRequest

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOpenShiftChangeRequest

public MicrosoftGraphOpenShiftChangeRequest()

Creates an instance of MicrosoftGraphOpenShiftChangeRequest class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: openShiftChangeRequest.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphOpenShiftChangeRequest fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOpenShiftChangeRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

openShiftId

public String openShiftId()

Get the openShiftId property: ID for the open shift.

Returns:

the openShiftId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphOpenShiftChangeRequest.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.validate()

withAdditionalProperties

public MicrosoftGraphOpenShiftChangeRequest withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: openShiftChangeRequest.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOpenShiftChangeRequest object itself.

withAssignedTo

public MicrosoftGraphOpenShiftChangeRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)

Set the assignedTo property: scheduleChangeRequestActor.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)

Parameters:

assignedTo

withCreatedDateTime

public MicrosoftGraphOpenShiftChangeRequest 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:

MicrosoftGraphOpenShiftChangeRequest.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withId

public MicrosoftGraphOpenShiftChangeRequest withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withId(String id)

Parameters:

id

withLastModifiedBy

public MicrosoftGraphOpenShiftChangeRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Parameters:

lastModifiedBy

withLastModifiedDateTime

public MicrosoftGraphOpenShiftChangeRequest 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:

MicrosoftGraphOpenShiftChangeRequest.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withManagerActionDateTime

public MicrosoftGraphOpenShiftChangeRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime)

Set the managerActionDateTime property: The managerActionDateTime property.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withManagerActionDateTime(OffsetDateTime managerActionDateTime)

Parameters:

managerActionDateTime

withManagerActionMessage

public MicrosoftGraphOpenShiftChangeRequest withManagerActionMessage(String managerActionMessage)

Set the managerActionMessage property: The managerActionMessage property.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withManagerActionMessage(String managerActionMessage)

Parameters:

managerActionMessage

withManagerUserId

public MicrosoftGraphOpenShiftChangeRequest withManagerUserId(String managerUserId)

Set the managerUserId property: The managerUserId property.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withManagerUserId(String managerUserId)

Parameters:

managerUserId

withOpenShiftId

public MicrosoftGraphOpenShiftChangeRequest withOpenShiftId(String openShiftId)

Set the openShiftId property: ID for the open shift.

Parameters:

openShiftId - the openShiftId value to set.

Returns:

the MicrosoftGraphOpenShiftChangeRequest object itself.

withSenderDateTime

public MicrosoftGraphOpenShiftChangeRequest withSenderDateTime(OffsetDateTime senderDateTime)

Set the senderDateTime property: The senderDateTime property.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withSenderDateTime(OffsetDateTime senderDateTime)

Parameters:

senderDateTime

withSenderMessage

public MicrosoftGraphOpenShiftChangeRequest withSenderMessage(String senderMessage)

Set the senderMessage property: The senderMessage property.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withSenderMessage(String senderMessage)

Parameters:

senderMessage

withSenderUserId

public MicrosoftGraphOpenShiftChangeRequest withSenderUserId(String senderUserId)

Set the senderUserId property: The senderUserId property.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withSenderUserId(String senderUserId)

Parameters:

senderUserId

withState

public MicrosoftGraphOpenShiftChangeRequest withState(MicrosoftGraphScheduleChangeState state)

Set the state property: scheduleChangeState.

Overrides:

MicrosoftGraphOpenShiftChangeRequest.withState(MicrosoftGraphScheduleChangeState state)

Parameters:

state

Applies to