Package com.microsoft.graph.models
Class DocumentSetVersion
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BaseItemVersion
com.microsoft.graph.models.ListItemVersion
com.microsoft.graph.models.DocumentSetVersion
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DocumentSetVersion
extends ListItemVersion
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 DocumentSetVersioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the comment property value.Gets the createdBy property value.Gets the createdDateTime property value.The deserialization information for the current modelgetItems()Gets the items property value.Gets the shouldCaptureMinorVersion property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetComment(String value) Sets the comment property value.voidsetCreatedBy(IdentitySet value) Sets the createdBy property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetItems(List<DocumentSetVersionItem> value) Sets the items property value.voidSets the shouldCaptureMinorVersion property value.Methods inherited from class com.microsoft.graph.models.ListItemVersion
getFields, setFieldsMethods inherited from class com.microsoft.graph.models.BaseItemVersion
getLastModifiedBy, getLastModifiedDateTime, getPublication, setLastModifiedBy, setLastModifiedDateTime, setPublicationMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DocumentSetVersion
public DocumentSetVersion()Instantiates a newDocumentSetVersionand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DocumentSetVersion 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
DocumentSetVersion
-
getComment
Gets the comment property value. Comment about the captured version.- Returns:
- a
String
-
getCreatedBy
Gets the createdBy property value. User who captured the version.- Returns:
- a
IdentitySet
-
getCreatedDateTime
Gets the createdDateTime property value. Date and time when this version was created.- Returns:
- a
OffsetDateTime
-
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 classListItemVersion- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getItems
Gets the items property value. Items within the document set that are captured as part of this version.- Returns:
- a
List<DocumentSetVersionItem>
-
getShouldCaptureMinorVersion
Gets the shouldCaptureMinorVersion property value. If true, minor versions of items are also captured; otherwise, only major versions are captured. The default value is false.- Returns:
- a
Boolean
-
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 classListItemVersion- Parameters:
writer- Serialization writer to use to serialize this model
-
setComment
Sets the comment property value. Comment about the captured version.- Parameters:
value- Value to set for the comment property.
-
setCreatedBy
Sets the createdBy property value. User who captured the version.- Parameters:
value- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. Date and time when this version was created.- Parameters:
value- Value to set for the createdDateTime property.
-
setItems
Sets the items property value. Items within the document set that are captured as part of this version.- Parameters:
value- Value to set for the items property.
-
setShouldCaptureMinorVersion
Sets the shouldCaptureMinorVersion property value. If true, minor versions of items are also captured; otherwise, only major versions are captured. The default value is false.- Parameters:
value- Value to set for the shouldCaptureMinorVersion property.
-