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

ServicePrincipalsAddPasswordRequestBodyInner Class

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

Implements

public final class ServicePrincipalsAddPasswordRequestBodyInner
implements JsonSerializable<ServicePrincipalsAddPasswordRequestBodyInner>

The ServicePrincipalsAddPasswordRequestBody model.

Constructor Summary

Constructor Description
ServicePrincipalsAddPasswordRequestBodyInner()

Creates an instance of ServicePrincipalsAddPasswordRequestBodyInner class.

Method Summary

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

Get the additionalProperties property: Dictionary of <AnyObject>.

static ServicePrincipalsAddPasswordRequestBodyInner fromJson(JsonReader jsonReader)

Reads an instance of ServicePrincipalsAddPasswordRequestBodyInner from the JsonReader.

MicrosoftGraphPasswordCredentialInner passwordCredential()

Get the passwordCredential property: passwordCredential.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServicePrincipalsAddPasswordRequestBodyInner withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Dictionary of <AnyObject>.

ServicePrincipalsAddPasswordRequestBodyInner withPasswordCredential(MicrosoftGraphPasswordCredentialInner passwordCredential)

Set the passwordCredential property: passwordCredential.

Methods inherited from java.lang.Object

Constructor Details

ServicePrincipalsAddPasswordRequestBodyInner

public ServicePrincipalsAddPasswordRequestBodyInner()

Creates an instance of ServicePrincipalsAddPasswordRequestBodyInner class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Dictionary of .

Returns:

the additionalProperties value.

fromJson

public static ServicePrincipalsAddPasswordRequestBodyInner fromJson(JsonReader jsonReader)

Reads an instance of ServicePrincipalsAddPasswordRequestBodyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

passwordCredential

public MicrosoftGraphPasswordCredentialInner passwordCredential()

Get the passwordCredential property: passwordCredential.

Returns:

the passwordCredential value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public ServicePrincipalsAddPasswordRequestBodyInner withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Dictionary of .

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the ServicePrincipalsAddPasswordRequestBodyInner object itself.

withPasswordCredential

public ServicePrincipalsAddPasswordRequestBodyInner withPasswordCredential(MicrosoftGraphPasswordCredentialInner passwordCredential)

Set the passwordCredential property: passwordCredential.

Parameters:

passwordCredential - the passwordCredential value to set.

Returns:

the ServicePrincipalsAddPasswordRequestBodyInner object itself.

Applies to