Package com.microsoft.graph.models
Class OnenotePage
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.OnenoteEntityBaseModel
com.microsoft.graph.models.OnenoteEntitySchemaObjectModel
com.microsoft.graph.models.OnenotePage
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class OnenotePage
extends OnenoteEntitySchemaObjectModel
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 OnenotePagecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuebyte[]Gets the content property value.Gets the contentUrl property value.Gets the createdByAppId property value.The deserialization information for the current modelGets the lastModifiedDateTime property value.getLevel()Gets the level property value.getLinks()Gets the links property value.getOrder()Gets the order property value.Gets the parentNotebook property value.Gets the parentSection property value.getTitle()Gets the title property value.Gets the userTags property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetContent(byte[] value) Sets the content property value.voidsetContentUrl(String value) Sets the contentUrl property value.voidsetCreatedByAppId(String value) Sets the createdByAppId property value.voidSets the lastModifiedDateTime property value.voidSets the level property value.voidSets the links property value.voidSets the order property value.voidsetParentNotebook(Notebook value) Sets the parentNotebook property value.voidsetParentSection(OnenoteSection value) Sets the parentSection property value.voidSets the title property value.voidsetUserTags(List<String> value) Sets the userTags property value.Methods inherited from class com.microsoft.graph.models.OnenoteEntitySchemaObjectModel
getCreatedDateTime, setCreatedDateTimeMethods inherited from class com.microsoft.graph.models.OnenoteEntityBaseModel
getSelf, setSelfMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
OnenotePage
public OnenotePage()Instantiates a newOnenotePageand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static OnenotePage 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
OnenotePage
-
getContent
@Nullable public byte[] getContent()Gets the content property value. The page's HTML content.- Returns:
- a
invalid reference
byte[]
-
getContentUrl
Gets the contentUrl property value. The URL for the page's HTML content. Read-only.- Returns:
- a
String
-
getCreatedByAppId
Gets the createdByAppId property value. The unique identifier of the application that created the page. Read-only.- Returns:
- a
String
-
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 classOnenoteEntitySchemaObjectModel- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.- Returns:
- a
OffsetDateTime
-
getLevel
Gets the level property value. The indentation level of the page. Read-only.- Returns:
- a
Integer
-
getLinks
Gets the links property value. Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only.- Returns:
- a
PageLinks
-
getOrder
Gets the order property value. The order of the page within its parent section. Read-only.- Returns:
- a
Integer
-
getParentNotebook
Gets the parentNotebook property value. The notebook that contains the page. Read-only.- Returns:
- a
Notebook
-
getParentSection
Gets the parentSection property value. The section that contains the page. Read-only.- Returns:
- a
OnenoteSection
-
getTitle
Gets the title property value. The title of the page.- Returns:
- a
String
-
getUserTags
Gets the userTags property value. The userTags property -
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 classOnenoteEntitySchemaObjectModel- Parameters:
writer- Serialization writer to use to serialize this model
-
setContent
public void setContent(@Nullable byte[] value) Sets the content property value. The page's HTML content.- Parameters:
value- Value to set for the content property.
-
setContentUrl
Sets the contentUrl property value. The URL for the page's HTML content. Read-only.- Parameters:
value- Value to set for the contentUrl property.
-
setCreatedByAppId
Sets the createdByAppId property value. The unique identifier of the application that created the page. Read-only.- Parameters:
value- Value to set for the createdByAppId property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.- Parameters:
value- Value to set for the lastModifiedDateTime property.
-
setLevel
Sets the level property value. The indentation level of the page. Read-only.- Parameters:
value- Value to set for the level property.
-
setLinks
Sets the links property value. Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only.- Parameters:
value- Value to set for the links property.
-
setOrder
Sets the order property value. The order of the page within its parent section. Read-only.- Parameters:
value- Value to set for the order property.
-
setParentNotebook
Sets the parentNotebook property value. The notebook that contains the page. Read-only.- Parameters:
value- Value to set for the parentNotebook property.
-
setParentSection
Sets the parentSection property value. The section that contains the page. Read-only.- Parameters:
value- Value to set for the parentSection property.
-
setTitle
Sets the title property value. The title of the page.- Parameters:
value- Value to set for the title property.
-
setUserTags
Sets the userTags property value. The userTags property- Parameters:
value- Value to set for the userTags property.
-