MicrosoftGraphIdentitySet Class

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

Implements

public final class MicrosoftGraphIdentitySet
implements JsonSerializable<MicrosoftGraphIdentitySet>

identitySet.

Constructor Summary

Constructor Description
MicrosoftGraphIdentitySet()

Creates an instance of MicrosoftGraphIdentitySet class.

Method Summary

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

Get the additionalProperties property: identitySet.

MicrosoftGraphIdentity application()

Get the application property: identity.

MicrosoftGraphIdentity device()

Get the device property: identity.

static MicrosoftGraphIdentitySet fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphIdentitySet from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
MicrosoftGraphIdentity user()

Get the user property: identity.

void validate()

Validates the instance.

MicrosoftGraphIdentitySet withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: identitySet.

MicrosoftGraphIdentitySet withApplication(MicrosoftGraphIdentity application)

Set the application property: identity.

MicrosoftGraphIdentitySet withDevice(MicrosoftGraphIdentity device)

Set the device property: identity.

MicrosoftGraphIdentitySet withUser(MicrosoftGraphIdentity user)

Set the user property: identity.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphIdentitySet

public MicrosoftGraphIdentitySet()

Creates an instance of MicrosoftGraphIdentitySet class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: identitySet.

Returns:

the additionalProperties value.

application

public MicrosoftGraphIdentity application()

Get the application property: identity.

Returns:

the application value.

device

public MicrosoftGraphIdentity device()

Get the device property: identity.

Returns:

the device value.

fromJson

public static MicrosoftGraphIdentitySet fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphIdentitySet from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

user

public MicrosoftGraphIdentity user()

Get the user property: identity.

Returns:

the user value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphIdentitySet withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: identitySet.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphIdentitySet object itself.

withApplication

public MicrosoftGraphIdentitySet withApplication(MicrosoftGraphIdentity application)

Set the application property: identity.

Parameters:

application - the application value to set.

Returns:

the MicrosoftGraphIdentitySet object itself.

withDevice

public MicrosoftGraphIdentitySet withDevice(MicrosoftGraphIdentity device)

Set the device property: identity.

Parameters:

device - the device value to set.

Returns:

the MicrosoftGraphIdentitySet object itself.

withUser

public MicrosoftGraphIdentitySet withUser(MicrosoftGraphIdentity user)

Set the user property: identity.

Parameters:

user - the user value to set.

Returns:

the MicrosoftGraphIdentitySet object itself.

Applies to