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

ApplicationsAddPasswordRequestBodyInner Class

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

Implements

public final class ApplicationsAddPasswordRequestBodyInner
implements JsonSerializable<ApplicationsAddPasswordRequestBodyInner>

The ApplicationsAddPasswordRequestBody model.

Constructor Summary

Constructor Description
ApplicationsAddPasswordRequestBodyInner()

Creates an instance of ApplicationsAddPasswordRequestBodyInner class.

Method Summary

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

Get the additionalProperties property: Dictionary of <AnyObject>.

static ApplicationsAddPasswordRequestBodyInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationsAddPasswordRequestBodyInner from the JsonReader.

MicrosoftGraphPasswordCredentialInner passwordCredential()

Get the passwordCredential property: passwordCredential.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationsAddPasswordRequestBodyInner withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Dictionary of <AnyObject>.

ApplicationsAddPasswordRequestBodyInner withPasswordCredential(MicrosoftGraphPasswordCredentialInner passwordCredential)

Set the passwordCredential property: passwordCredential.

Methods inherited from java.lang.Object

Constructor Details

ApplicationsAddPasswordRequestBodyInner

public ApplicationsAddPasswordRequestBodyInner()

Creates an instance of ApplicationsAddPasswordRequestBodyInner class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Dictionary of .

Returns:

the additionalProperties value.

fromJson

public static ApplicationsAddPasswordRequestBodyInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationsAddPasswordRequestBodyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 ApplicationsAddPasswordRequestBodyInner withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Dictionary of .

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the ApplicationsAddPasswordRequestBodyInner object itself.

withPasswordCredential

public ApplicationsAddPasswordRequestBodyInner withPasswordCredential(MicrosoftGraphPasswordCredentialInner passwordCredential)

Set the passwordCredential property: passwordCredential.

Parameters:

passwordCredential - the passwordCredential value to set.

Returns:

the ApplicationsAddPasswordRequestBodyInner object itself.

Applies to