次の方法で共有


CheckNameAvailability Class

  • java.lang.Object
    • com.azure.resourcemanager.trustedsigning.models.CheckNameAvailability

Implements

public final class CheckNameAvailability
implements JsonSerializable<CheckNameAvailability>

The parameters used to check the availability of the trusted signing account name.

Constructor Summary

Constructor Description
CheckNameAvailability()

Creates an instance of CheckNameAvailability class.

Method Summary

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

Reads an instance of CheckNameAvailability from the JsonReader.

String name()

Get the name property: Trusted signing account name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CheckNameAvailability withName(String name)

Set the name property: Trusted signing account name.

Methods inherited from java.lang.Object

Constructor Details

CheckNameAvailability

public CheckNameAvailability()

Creates an instance of CheckNameAvailability class.

Method Details

fromJson

public static CheckNameAvailability fromJson(JsonReader jsonReader)

Reads an instance of CheckNameAvailability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CheckNameAvailability if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

name

public String name()

Get the name property: Trusted signing account name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public CheckNameAvailability withName(String name)

Set the name property: Trusted signing account name.

Parameters:

name - the name value to set.

Returns:

the CheckNameAvailability object itself.

Applies to