MicrosoftGraphAddIn Class

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

Implements

public final class MicrosoftGraphAddIn
implements JsonSerializable<MicrosoftGraphAddIn>

addIn.

Constructor Summary

Constructor Description
MicrosoftGraphAddIn()

Creates an instance of MicrosoftGraphAddIn class.

Method Summary

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

Get the additionalProperties property: addIn.

static MicrosoftGraphAddIn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphAddIn from the JsonReader.

UUID id()

Get the id property: The id property.

List<MicrosoftGraphKeyValue> properties()

Get the properties property: The properties property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type property.

void validate()

Validates the instance.

MicrosoftGraphAddIn withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: addIn.

MicrosoftGraphAddIn withId(UUID id)

Set the id property: The id property.

MicrosoftGraphAddIn withProperties(List<MicrosoftGraphKeyValue> properties)

Set the properties property: The properties property.

MicrosoftGraphAddIn withType(String type)

Set the type property: The type property.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphAddIn

public MicrosoftGraphAddIn()

Creates an instance of MicrosoftGraphAddIn class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: addIn.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphAddIn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphAddIn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public UUID id()

Get the id property: The id property.

Returns:

the id value.

properties

public List properties()

Get the properties property: The properties property.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type property.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphAddIn withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: addIn.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphAddIn object itself.

withId

public MicrosoftGraphAddIn withId(UUID id)

Set the id property: The id property.

Parameters:

id - the id value to set.

Returns:

the MicrosoftGraphAddIn object itself.

withProperties

public MicrosoftGraphAddIn withProperties(List properties)

Set the properties property: The properties property.

Parameters:

properties - the properties value to set.

Returns:

the MicrosoftGraphAddIn object itself.

withType

public MicrosoftGraphAddIn withType(String type)

Set the type property: The type property.

Parameters:

type - the type value to set.

Returns:

the MicrosoftGraphAddIn object itself.

Applies to