Partager via


OpenAuthenticationPolicyClaim Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.OpenAuthenticationPolicyClaim

Implements

public final class OpenAuthenticationPolicyClaim
implements JsonSerializable<OpenAuthenticationPolicyClaim>

Open authentication policy claim.

Constructor Summary

Constructor Description
OpenAuthenticationPolicyClaim()

Creates an instance of OpenAuthenticationPolicyClaim class.

Method Summary

Modifier and Type Method and Description
static OpenAuthenticationPolicyClaim fromJson(JsonReader jsonReader)

Reads an instance of OpenAuthenticationPolicyClaim from the JsonReader.

String name()

Get the name property: The name of the claim.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The value of the claim.

OpenAuthenticationPolicyClaim withName(String name)

Set the name property: The name of the claim.

OpenAuthenticationPolicyClaim withValue(String value)

Set the value property: The value of the claim.

Methods inherited from java.lang.Object

Constructor Details

OpenAuthenticationPolicyClaim

public OpenAuthenticationPolicyClaim()

Creates an instance of OpenAuthenticationPolicyClaim class.

Method Details

fromJson

public static OpenAuthenticationPolicyClaim fromJson(JsonReader jsonReader)

Reads an instance of OpenAuthenticationPolicyClaim from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the claim.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The value of the claim.

Returns:

the value value.

withName

public OpenAuthenticationPolicyClaim withName(String name)

Set the name property: The name of the claim.

Parameters:

name - the name value to set.

Returns:

the OpenAuthenticationPolicyClaim object itself.

withValue

public OpenAuthenticationPolicyClaim withValue(String value)

Set the value property: The value of the claim.

Parameters:

value - the value value to set.

Returns:

the OpenAuthenticationPolicyClaim object itself.

Applies to