MicrosoftGraphOnenoteResource Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnenoteEntityBaseModel - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnenoteResource
- com.
- com.
- com.
public final class MicrosoftGraphOnenoteResource
extends MicrosoftGraphOnenoteEntityBaseModel
Represents an onenote resource.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphOnenoteResource() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| byte[] |
content()
Get the content property: The content stream. |
| String |
contentUrl()
Get the content |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withContent(byte[] content)
Set the content property: The content stream. |
|
Microsoft |
withContentUrl(String contentUrl)
Set the content |
|
Microsoft |
withId(String id)
Set the id property: Read-only. |
|
Microsoft |
withSelf(String self)
Set the self property: The endpoint where you can get details about the page. |
Methods inherited from MicrosoftGraphEntity
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<String,Object> additionalProperties()
Get the additionalProperties property: onenoteResource.
Overrides:
MicrosoftGraphOnenoteResource.additionalProperties()Returns:
content
public byte[] content()
Get the content property: The content stream.
Returns:
contentUrl
public String contentUrl()
Get the contentUrl property: The URL for downloading the content.
Returns:
fromJson
public static MicrosoftGraphOnenoteResource fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOnenoteResource from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphOnenoteResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphOnenoteResource.validate()withAdditionalProperties
public MicrosoftGraphOnenoteResource withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteResource.
Overrides:
MicrosoftGraphOnenoteResource.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withContent
public MicrosoftGraphOnenoteResource withContent(byte[] content)
Set the content property: The content stream.
Parameters:
Returns:
withContentUrl
public MicrosoftGraphOnenoteResource withContentUrl(String contentUrl)
Set the contentUrl property: The URL for downloading the content.
Parameters:
Returns:
withId
public MicrosoftGraphOnenoteResource withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphOnenoteResource.withId(String id)Parameters:
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: