MicrosoftGraphManagedAppOperation Class

public final class MicrosoftGraphManagedAppOperation
extends MicrosoftGraphEntity

managedAppOperation Represents an operation applied against an app registration.

Constructor Summary

Constructor Description
MicrosoftGraphManagedAppOperation()

Creates an instance of MicrosoftGraphManagedAppOperation class.

Method Summary

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

Get the additionalProperties property: Represents an operation applied against an app registration.

String displayName()

Get the displayName property: The operation name.

static MicrosoftGraphManagedAppOperation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphManagedAppOperation from the JsonReader.

OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The last time the app operation was modified.

String state()

Get the state property: The current state of the operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: Version of the entity.

MicrosoftGraphManagedAppOperation withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Represents an operation applied against an app registration.

MicrosoftGraphManagedAppOperation withDisplayName(String displayName)

Set the displayName property: The operation name.

MicrosoftGraphManagedAppOperation withId(String id)

Set the id property: Read-only.

MicrosoftGraphManagedAppOperation withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The last time the app operation was modified.

MicrosoftGraphManagedAppOperation withState(String state)

Set the state property: The current state of the operation.

MicrosoftGraphManagedAppOperation withVersion(String version)

Set the version property: Version of the entity.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphManagedAppOperation

public MicrosoftGraphManagedAppOperation()

Creates an instance of MicrosoftGraphManagedAppOperation class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Represents an operation applied against an app registration.

Overrides:

MicrosoftGraphManagedAppOperation.additionalProperties()

Returns:

the additionalProperties value.

displayName

public String displayName()

Get the displayName property: The operation name.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphManagedAppOperation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphManagedAppOperation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphManagedAppOperation 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 MicrosoftGraphManagedAppOperation.

lastModifiedDateTime

public OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The last time the app operation was modified.

Returns:

the lastModifiedDateTime value.

state

public String state()

Get the state property: The current state of the operation.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphManagedAppOperation.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphManagedAppOperation.validate()

version

public String version()

Get the version property: Version of the entity.

Returns:

the version value.

withAdditionalProperties

public MicrosoftGraphManagedAppOperation withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Represents an operation applied against an app registration.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphManagedAppOperation object itself.

withDisplayName

public MicrosoftGraphManagedAppOperation withDisplayName(String displayName)

Set the displayName property: The operation name.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphManagedAppOperation object itself.

withId

public MicrosoftGraphManagedAppOperation withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphManagedAppOperation.withId(String id)

Parameters:

id

withLastModifiedDateTime

public MicrosoftGraphManagedAppOperation withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The last time the app operation was modified.

Parameters:

lastModifiedDateTime - the lastModifiedDateTime value to set.

Returns:

the MicrosoftGraphManagedAppOperation object itself.

withState

public MicrosoftGraphManagedAppOperation withState(String state)

Set the state property: The current state of the operation.

Parameters:

state - the state value to set.

Returns:

the MicrosoftGraphManagedAppOperation object itself.

withVersion

public MicrosoftGraphManagedAppOperation withVersion(String version)

Set the version property: Version of the entity.

Parameters:

version - the version value to set.

Returns:

the MicrosoftGraphManagedAppOperation object itself.

Applies to