MicrosoftGraphOpenShift Class

public final class MicrosoftGraphOpenShift
extends MicrosoftGraphChangeTrackedEntity

openShift.

Constructor Summary

Constructor Description
MicrosoftGraphOpenShift()

Creates an instance of MicrosoftGraphOpenShift class.

Method Summary

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

Get the additionalProperties property: openShift.

MicrosoftGraphOpenShiftItem draftOpenShift()

Get the draftOpenShift property: openShiftItem.

static MicrosoftGraphOpenShift fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOpenShift from the JsonReader.

String schedulingGroupId()

Get the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.

MicrosoftGraphOpenShiftItem sharedOpenShift()

Get the sharedOpenShift property: openShiftItem.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphOpenShift withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: openShift.

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

MicrosoftGraphOpenShift withDraftOpenShift(MicrosoftGraphOpenShiftItem draftOpenShift)

Set the draftOpenShift property: openShiftItem.

MicrosoftGraphOpenShift withId(String id)

Set the id property: Read-only.

MicrosoftGraphOpenShift withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

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

MicrosoftGraphOpenShift withSchedulingGroupId(String schedulingGroupId)

Set the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.

MicrosoftGraphOpenShift withSharedOpenShift(MicrosoftGraphOpenShiftItem sharedOpenShift)

Set the sharedOpenShift property: openShiftItem.

Methods inherited from MicrosoftGraphChangeTrackedEntity

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOpenShift

public MicrosoftGraphOpenShift()

Creates an instance of MicrosoftGraphOpenShift class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: openShift.

Overrides:

MicrosoftGraphOpenShift.additionalProperties()

Returns:

the additionalProperties value.

draftOpenShift

public MicrosoftGraphOpenShiftItem draftOpenShift()

Get the draftOpenShift property: openShiftItem.

Returns:

the draftOpenShift value.

fromJson

public static MicrosoftGraphOpenShift fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOpenShift from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

schedulingGroupId

public String schedulingGroupId()

Get the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.

Returns:

the schedulingGroupId value.

sharedOpenShift

public MicrosoftGraphOpenShiftItem sharedOpenShift()

Get the sharedOpenShift property: openShiftItem.

Returns:

the sharedOpenShift value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphOpenShift.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOpenShift.validate()

withAdditionalProperties

public MicrosoftGraphOpenShift withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: openShift.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOpenShift object itself.

withCreatedDateTime

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

MicrosoftGraphOpenShift.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withDraftOpenShift

public MicrosoftGraphOpenShift withDraftOpenShift(MicrosoftGraphOpenShiftItem draftOpenShift)

Set the draftOpenShift property: openShiftItem.

Parameters:

draftOpenShift - the draftOpenShift value to set.

Returns:

the MicrosoftGraphOpenShift object itself.

withId

public MicrosoftGraphOpenShift withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOpenShift.withId(String id)

Parameters:

id

withLastModifiedBy

public MicrosoftGraphOpenShift withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Overrides:

MicrosoftGraphOpenShift.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Parameters:

lastModifiedBy

withLastModifiedDateTime

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

MicrosoftGraphOpenShift.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withSchedulingGroupId

public MicrosoftGraphOpenShift withSchedulingGroupId(String schedulingGroupId)

Set the schedulingGroupId property: ID for the scheduling group that the open shift belongs to.

Parameters:

schedulingGroupId - the schedulingGroupId value to set.

Returns:

the MicrosoftGraphOpenShift object itself.

withSharedOpenShift

public MicrosoftGraphOpenShift withSharedOpenShift(MicrosoftGraphOpenShiftItem sharedOpenShift)

Set the sharedOpenShift property: openShiftItem.

Parameters:

sharedOpenShift - the sharedOpenShift value to set.

Returns:

the MicrosoftGraphOpenShift object itself.

Applies to