Package com.microsoft.graph.models
Class CopyNotebookModel
java.lang.Object
com.microsoft.graph.models.CopyNotebookModel
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class CopyNotebookModel
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CopyNotebookModelcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the createdBy property value.Gets the createdByIdentity property value.Gets the createdTime property value.The deserialization information for the current modelgetId()Gets the id property value.Gets the isDefault property value.Gets the isShared property value.Gets the lastModifiedBy property value.Gets the lastModifiedByIdentity property value.Gets the lastModifiedTime property value.getLinks()Gets the links property value.getName()Gets the name property value.Gets the @odata.type property value.Gets the sectionGroupsUrl property value.Gets the sectionsUrl property value.getSelf()Gets the self property value.Gets the userRole property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetCreatedBy(String value) Sets the createdBy property value.voidsetCreatedByIdentity(IdentitySet value) Sets the createdByIdentity property value.voidsetCreatedTime(OffsetDateTime value) Sets the createdTime property value.voidSets the id property value.voidsetIsDefault(Boolean value) Sets the isDefault property value.voidsetIsShared(Boolean value) Sets the isShared property value.voidsetLastModifiedBy(String value) Sets the lastModifiedBy property value.voidSets the lastModifiedByIdentity property value.voidSets the lastModifiedTime property value.voidsetLinks(NotebookLinks value) Sets the links property value.voidSets the name property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetSectionGroupsUrl(String value) Sets the sectionGroupsUrl property value.voidsetSectionsUrl(String value) Sets the sectionsUrl property value.voidSets the self property value.voidsetUserRole(OnenoteUserRole value) Sets the userRole property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
CopyNotebookModel
public CopyNotebookModel()Instantiates a newCopyNotebookModeland sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static CopyNotebookModel 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
CopyNotebookModel
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getCreatedBy
Gets the createdBy property value. The createdBy property- Returns:
- a
String
-
getCreatedByIdentity
Gets the createdByIdentity property value. The createdByIdentity property- Returns:
- a
IdentitySet
-
getCreatedTime
Gets the createdTime property value. The createdTime property- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getId
Gets the id property value. The id property- Returns:
- a
String
-
getIsDefault
Gets the isDefault property value. The isDefault property- Returns:
- a
Boolean
-
getLastModifiedBy
Gets the lastModifiedBy property value. The lastModifiedBy property- Returns:
- a
String
-
getLastModifiedByIdentity
Gets the lastModifiedByIdentity property value. The lastModifiedByIdentity property- Returns:
- a
IdentitySet
-
getLastModifiedTime
Gets the lastModifiedTime property value. The lastModifiedTime property- Returns:
- a
OffsetDateTime
-
getLinks
Gets the links property value. The links property- Returns:
- a
NotebookLinks
-
getName
Gets the name property value. The name property- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getSectionGroupsUrl
Gets the sectionGroupsUrl property value. The sectionGroupsUrl property- Returns:
- a
String
-
getSectionsUrl
Gets the sectionsUrl property value. The sectionsUrl property- Returns:
- a
String
-
getSelf
Gets the self property value. The self property- Returns:
- a
String
-
getUserRole
Gets the userRole property value. The userRole property- Returns:
- a
OnenoteUserRole
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setCreatedBy
Sets the createdBy property value. The createdBy property- Parameters:
value- Value to set for the createdBy property.
-
setCreatedByIdentity
Sets the createdByIdentity property value. The createdByIdentity property- Parameters:
value- Value to set for the createdByIdentity property.
-
setCreatedTime
Sets the createdTime property value. The createdTime property- Parameters:
value- Value to set for the createdTime property.
-
setId
Sets the id property value. The id property- Parameters:
value- Value to set for the id property.
-
setIsDefault
Sets the isDefault property value. The isDefault property- Parameters:
value- Value to set for the isDefault property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. The lastModifiedBy property- Parameters:
value- Value to set for the lastModifiedBy property.
-
setLastModifiedByIdentity
Sets the lastModifiedByIdentity property value. The lastModifiedByIdentity property- Parameters:
value- Value to set for the lastModifiedByIdentity property.
-
setLastModifiedTime
Sets the lastModifiedTime property value. The lastModifiedTime property- Parameters:
value- Value to set for the lastModifiedTime property.
-
setLinks
Sets the links property value. The links property- Parameters:
value- Value to set for the links property.
-
setName
Sets the name property value. The name property- Parameters:
value- Value to set for the name property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setSectionGroupsUrl
Sets the sectionGroupsUrl property value. The sectionGroupsUrl property- Parameters:
value- Value to set for the sectionGroupsUrl property.
-
setSectionsUrl
Sets the sectionsUrl property value. The sectionsUrl property- Parameters:
value- Value to set for the sectionsUrl property.
-
setSelf
Sets the self property value. The self property- Parameters:
value- Value to set for the self property.
-
setUserRole
Sets the userRole property value. The userRole property- Parameters:
value- Value to set for the userRole property.
-