你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CollectionOfServicePrincipal Class

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

Implements

public final class CollectionOfServicePrincipal
implements JsonSerializable<CollectionOfServicePrincipal>

Collection of servicePrincipal.

Constructor Summary

Constructor Description
CollectionOfServicePrincipal()

Creates an instance of CollectionOfServicePrincipal class.

Method Summary

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

Get the additionalProperties property: Collection of servicePrincipal.

static CollectionOfServicePrincipal fromJson(JsonReader jsonReader)

Reads an instance of CollectionOfServicePrincipal from the JsonReader.

String odataNextLink()

Get the odataNextLink property: The @odata.nextLink property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<MicrosoftGraphServicePrincipalInner> value()

Get the value property: The value property.

CollectionOfServicePrincipal withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Collection of servicePrincipal.

CollectionOfServicePrincipal withOdataNextLink(String odataNextLink)

Set the odataNextLink property: The @odata.nextLink property.

CollectionOfServicePrincipal withValue(List<MicrosoftGraphServicePrincipalInner> value)

Set the value property: The value property.

Methods inherited from java.lang.Object

Constructor Details

CollectionOfServicePrincipal

public CollectionOfServicePrincipal()

Creates an instance of CollectionOfServicePrincipal class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Collection of servicePrincipal.

Returns:

the additionalProperties value.

fromJson

public static CollectionOfServicePrincipal fromJson(JsonReader jsonReader)

Reads an instance of CollectionOfServicePrincipal from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

odataNextLink

public String odataNextLink()

Get the odataNextLink property: The @odata.nextLink property.

Returns:

the odataNextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: The value property.

Returns:

the value value.

withAdditionalProperties

public CollectionOfServicePrincipal withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Collection of servicePrincipal.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the CollectionOfServicePrincipal object itself.

withOdataNextLink

public CollectionOfServicePrincipal withOdataNextLink(String odataNextLink)

Set the odataNextLink property: The @odata.nextLink property.

Parameters:

odataNextLink - the odataNextLink value to set.

Returns:

the CollectionOfServicePrincipal object itself.

withValue

public CollectionOfServicePrincipal withValue(List value)

Set the value property: The value property.

Parameters:

value - the value value to set.

Returns:

the CollectionOfServicePrincipal object itself.

Applies to