Partilhar via


MicrosoftGraphWorkbookOperation Class

public final class MicrosoftGraphWorkbookOperation
extends MicrosoftGraphEntity

workbookOperation.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookOperation()

Creates an instance of MicrosoftGraphWorkbookOperation class.

Method Summary

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

Get the additionalProperties property: workbookOperation.

MicrosoftGraphWorkbookOperationError error()

Get the error property: workbookOperationError.

static MicrosoftGraphWorkbookOperation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookOperation from the JsonReader.

String resourceLocation()

Get the resourceLocation property: The resource URI for the result.

MicrosoftGraphWorkbookOperationStatus status()

Get the status property: workbookOperationStatus.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWorkbookOperation withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookOperation.

MicrosoftGraphWorkbookOperation withError(MicrosoftGraphWorkbookOperationError error)

Set the error property: workbookOperationError.

MicrosoftGraphWorkbookOperation withId(String id)

Set the id property: Read-only.

MicrosoftGraphWorkbookOperation withResourceLocation(String resourceLocation)

Set the resourceLocation property: The resource URI for the result.

MicrosoftGraphWorkbookOperation withStatus(MicrosoftGraphWorkbookOperationStatus status)

Set the status property: workbookOperationStatus.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookOperation

public MicrosoftGraphWorkbookOperation()

Creates an instance of MicrosoftGraphWorkbookOperation class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookOperation.

Overrides:

MicrosoftGraphWorkbookOperation.additionalProperties()

Returns:

the additionalProperties value.

error

public MicrosoftGraphWorkbookOperationError error()

Get the error property: workbookOperationError.

Returns:

the error value.

fromJson

public static MicrosoftGraphWorkbookOperation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookOperation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookOperation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphWorkbookOperation.

resourceLocation

public String resourceLocation()

Get the resourceLocation property: The resource URI for the result.

Returns:

the resourceLocation value.

status

public MicrosoftGraphWorkbookOperationStatus status()

Get the status property: workbookOperationStatus.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookOperation.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookOperation.validate()

withAdditionalProperties

public MicrosoftGraphWorkbookOperation withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookOperation.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookOperation object itself.

withError

public MicrosoftGraphWorkbookOperation withError(MicrosoftGraphWorkbookOperationError error)

Set the error property: workbookOperationError.

Parameters:

error - the error value to set.

Returns:

the MicrosoftGraphWorkbookOperation object itself.

withId

public MicrosoftGraphWorkbookOperation withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookOperation.withId(String id)

Parameters:

id

withResourceLocation

public MicrosoftGraphWorkbookOperation withResourceLocation(String resourceLocation)

Set the resourceLocation property: The resource URI for the result.

Parameters:

resourceLocation - the resourceLocation value to set.

Returns:

the MicrosoftGraphWorkbookOperation object itself.

withStatus

public MicrosoftGraphWorkbookOperation withStatus(MicrosoftGraphWorkbookOperationStatus status)

Set the status property: workbookOperationStatus.

Parameters:

status - the status value to set.

Returns:

the MicrosoftGraphWorkbookOperation object itself.

Applies to