MicrosoftGraphPreAuthorizedApplication Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPreAuthorizedApplication

Implements

public final class MicrosoftGraphPreAuthorizedApplication
implements JsonSerializable<MicrosoftGraphPreAuthorizedApplication>

preAuthorizedApplication.

Constructor Summary

Constructor Description
MicrosoftGraphPreAuthorizedApplication()

Creates an instance of MicrosoftGraphPreAuthorizedApplication class.

Method Summary

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

Get the additionalProperties property: preAuthorizedApplication.

String appId()

Get the appId property: The unique identifier for the application.

List<String> delegatedPermissionIds()

Get the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.

static MicrosoftGraphPreAuthorizedApplication fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPreAuthorizedApplication from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphPreAuthorizedApplication withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: preAuthorizedApplication.

MicrosoftGraphPreAuthorizedApplication withAppId(String appId)

Set the appId property: The unique identifier for the application.

MicrosoftGraphPreAuthorizedApplication withDelegatedPermissionIds(List<String> delegatedPermissionIds)

Set the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPreAuthorizedApplication

public MicrosoftGraphPreAuthorizedApplication()

Creates an instance of MicrosoftGraphPreAuthorizedApplication class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: preAuthorizedApplication.

Returns:

the additionalProperties value.

appId

public String appId()

Get the appId property: The unique identifier for the application.

Returns:

the appId value.

delegatedPermissionIds

public List delegatedPermissionIds()

Get the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.

Returns:

the delegatedPermissionIds value.

fromJson

public static MicrosoftGraphPreAuthorizedApplication fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPreAuthorizedApplication from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphPreAuthorizedApplication withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: preAuthorizedApplication.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPreAuthorizedApplication object itself.

withAppId

public MicrosoftGraphPreAuthorizedApplication withAppId(String appId)

Set the appId property: The unique identifier for the application.

Parameters:

appId - the appId value to set.

Returns:

the MicrosoftGraphPreAuthorizedApplication object itself.

withDelegatedPermissionIds

public MicrosoftGraphPreAuthorizedApplication withDelegatedPermissionIds(List delegatedPermissionIds)

Set the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.

Parameters:

delegatedPermissionIds - the delegatedPermissionIds value to set.

Returns:

the MicrosoftGraphPreAuthorizedApplication object itself.

Applies to