你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphOnenotePatchContentCommand Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnenotePatchContentCommand
- com.
Implements
public final class MicrosoftGraphOnenotePatchContentCommand
implements JsonSerializable<MicrosoftGraphOnenotePatchContentCommand>
onenotePatchContentCommand.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphOnenotePatchContentCommand() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Microsoft |
action()
Get the action property: onenote |
Map<String,Object> |
additionalProperties()
Get the additional |
String |
content()
Get the content property: A string of well-formed HTML to add to the page, and any image or file binary data. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Microsoft |
position()
Get the position property: onenote |
String |
target()
Get the target property: The element to update. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAction(MicrosoftGraphOnenotePatchActionType action)
Set the action property: onenote |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withContent(String content)
Set the content property: A string of well-formed HTML to add to the page, and any image or file binary data. |
Microsoft |
withPosition(MicrosoftGraphOnenotePatchInsertPosition position)
Set the position property: onenote |
Microsoft |
withTarget(String target)
Set the target property: The element to update. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOnenotePatchContentCommand
public MicrosoftGraphOnenotePatchContentCommand()
Creates an instance of MicrosoftGraphOnenotePatchContentCommand class.
Method Details
action
public MicrosoftGraphOnenotePatchActionType action()
Get the action property: onenotePatchActionType.
Returns:
additionalProperties
public Map
Get the additionalProperties property: onenotePatchContentCommand.
Returns:
content
public String content()
Get the content property: A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part.
Returns:
fromJson
public static MicrosoftGraphOnenotePatchContentCommand fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOnenotePatchContentCommand from the JsonReader.
Parameters:
Returns:
Throws:
position
public MicrosoftGraphOnenotePatchInsertPosition position()
Get the position property: onenotePatchInsertPosition.
Returns:
target
public String target()
Get the target property: The element to update. Must be the # or the generated of the element, or the body or title keyword.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAction
public MicrosoftGraphOnenotePatchContentCommand withAction(MicrosoftGraphOnenotePatchActionType action)
Set the action property: onenotePatchActionType.
Parameters:
Returns:
withAdditionalProperties
public MicrosoftGraphOnenotePatchContentCommand withAdditionalProperties(Map
Set the additionalProperties property: onenotePatchContentCommand.
Parameters:
Returns:
withContent
public MicrosoftGraphOnenotePatchContentCommand withContent(String content)
Set the content property: A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part.
Parameters:
Returns:
withPosition
public MicrosoftGraphOnenotePatchContentCommand withPosition(MicrosoftGraphOnenotePatchInsertPosition position)
Set the position property: onenotePatchInsertPosition.
Parameters:
Returns:
withTarget
public MicrosoftGraphOnenotePatchContentCommand withTarget(String target)
Set the target property: The element to update. Must be the # or the generated of the element, or the body or title keyword.
Parameters:
Returns: