MicrosoftGraphOnenoteResource Class

public final class MicrosoftGraphOnenoteResource
extends MicrosoftGraphOnenoteEntityBaseModel

onenoteResource.

Constructor Summary

Constructor Description
MicrosoftGraphOnenoteResource()

Creates an instance of MicrosoftGraphOnenoteResource class.

Method Summary

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

Get the additionalProperties property: onenoteResource.

byte[] content()

Get the content property: The content stream.

String contentUrl()

Get the contentUrl property: The URL for downloading the content.

void validate()

Validates the instance.

MicrosoftGraphOnenoteResource withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: onenoteResource.

MicrosoftGraphOnenoteResource withContent(byte[] content)

Set the content property: The content stream.

MicrosoftGraphOnenoteResource withContentUrl(String contentUrl)

Set the contentUrl property: The URL for downloading the content.

MicrosoftGraphOnenoteResource withId(String id)

Set the id property: Read-only.

MicrosoftGraphOnenoteResource withSelf(String self)

Set the self property: The endpoint where you can get details about the page.

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from MicrosoftGraphOnenoteEntityBaseModel

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOnenoteResource

public MicrosoftGraphOnenoteResource()

Creates an instance of MicrosoftGraphOnenoteResource class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: onenoteResource.

Overrides:

MicrosoftGraphOnenoteResource.additionalProperties()

Returns:

the additionalProperties value.

content

public byte[] content()

Get the content property: The content stream.

Returns:

the content value.

contentUrl

public String contentUrl()

Get the contentUrl property: The URL for downloading the content.

Returns:

the contentUrl value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOnenoteResource.validate()

withAdditionalProperties

public MicrosoftGraphOnenoteResource withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: onenoteResource.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOnenoteResource object itself.

withContent

public MicrosoftGraphOnenoteResource withContent(byte[] content)

Set the content property: The content stream.

Parameters:

content - the content value to set.

Returns:

the MicrosoftGraphOnenoteResource object itself.

withContentUrl

public MicrosoftGraphOnenoteResource withContentUrl(String contentUrl)

Set the contentUrl property: The URL for downloading the content.

Parameters:

contentUrl - the contentUrl value to set.

Returns:

the MicrosoftGraphOnenoteResource object itself.

withId

public MicrosoftGraphOnenoteResource withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOnenoteResource.withId(String id)

Parameters:

id

withSelf

public MicrosoftGraphOnenoteResource withSelf(String self)

Set the self property: The endpoint where you can get details about the page. Read-only.

Overrides:

MicrosoftGraphOnenoteResource.withSelf(String self)

Parameters:

self

Applies to