Package com.microsoft.graph.models
Class OpenShift
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChangeTrackedEntity
com.microsoft.graph.models.OpenShift
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class OpenShift
extends ChangeTrackedEntity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OpenShiftcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the draftOpenShift property value.The deserialization information for the current modelGets the isStagedForDeletion property value.Gets the schedulingGroupId property value.Gets the sharedOpenShift property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDraftOpenShift(OpenShiftItem value) Sets the draftOpenShift property value.voidsetIsStagedForDeletion(Boolean value) Sets the isStagedForDeletion property value.voidsetSchedulingGroupId(String value) Sets the schedulingGroupId property value.voidsetSharedOpenShift(OpenShiftItem value) Sets the sharedOpenShift property value.Methods inherited from class com.microsoft.graph.models.ChangeTrackedEntity
getCreatedBy, getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, setCreatedBy, setCreatedDateTime, setLastModifiedBy, setLastModifiedDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
OpenShift
public OpenShift()Instantiates a newOpenShiftand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static OpenShift createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
OpenShift
-
getDraftOpenShift
Gets the draftOpenShift property value. Draft changes in the openShift are only visible to managers until they're shared.- Returns:
- a
OpenShiftItem
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classChangeTrackedEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsStagedForDeletion
Gets the isStagedForDeletion property value. The openShift is marked for deletion, a process that is finalized when the schedule is shared.- Returns:
- a
Boolean
-
getSchedulingGroupId
Gets the schedulingGroupId property value. The ID of the schedulingGroup that contains the openShift.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classChangeTrackedEntity- Parameters:
writer- Serialization writer to use to serialize this model
-
setDraftOpenShift
Sets the draftOpenShift property value. Draft changes in the openShift are only visible to managers until they're shared.- Parameters:
value- Value to set for the draftOpenShift property.
-
setIsStagedForDeletion
Sets the isStagedForDeletion property value. The openShift is marked for deletion, a process that is finalized when the schedule is shared.- Parameters:
value- Value to set for the isStagedForDeletion property.
-
setSchedulingGroupId
Sets the schedulingGroupId property value. The ID of the schedulingGroup that contains the openShift.- Parameters:
value- Value to set for the schedulingGroupId property.
-