Class MicrosoftGraphOnenoteResource
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntityBaseModel
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteResource
onenoteResource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphOnenoteResource class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: onenoteResource.byte[]content()Get the content property: The content stream.Get the contentUrl property: The URL for downloading the content.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onenoteResource.withContent(byte[] content) Set the content property: The content stream.withContentUrl(String contentUrl) Set the contentUrl property: The URL for downloading the content.Set the id property: Read-only.Set the self property: The endpoint where you can get details about the page.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteEntityBaseModel
selfMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphOnenoteResource
public MicrosoftGraphOnenoteResource()Creates an instance of MicrosoftGraphOnenoteResource class.
-
-
Method Details
-
content
public byte[] content()Get the content property: The content stream.- Returns:
- the content value.
-
withContent
Set the content property: The content stream.- Parameters:
content- the content value to set.- Returns:
- the MicrosoftGraphOnenoteResource object itself.
-
contentUrl
Get the contentUrl property: The URL for downloading the content.- Returns:
- the contentUrl value.
-
withContentUrl
Set the contentUrl property: The URL for downloading the content.- Parameters:
contentUrl- the contentUrl value to set.- Returns:
- the MicrosoftGraphOnenoteResource object itself.
-
additionalProperties
Get the additionalProperties property: onenoteResource.- Overrides:
additionalPropertiesin classMicrosoftGraphOnenoteEntityBaseModel- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenoteResource withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onenoteResource.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOnenoteEntityBaseModel- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnenoteResource object itself.
-
withSelf
Set the self property: The endpoint where you can get details about the page. Read-only.- Overrides:
withSelfin classMicrosoftGraphOnenoteEntityBaseModel- Parameters:
self- the self value to set.- Returns:
- the MicrosoftGraphOnenoteEntityBaseModel object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphOnenoteEntityBaseModel- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphOnenoteEntityBaseModel- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-