Participant Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.Participant

Implements

public final class Participant
implements JsonSerializable<Participant>

Billing account name. Available for a specific type of agreement.

Constructor Summary

Constructor Description
Participant()

Creates an instance of Participant class.

Method Summary

Modifier and Type Method and Description
String email()

Get the email property: The email address of the participant.

static Participant fromJson(JsonReader jsonReader)

Reads an instance of Participant from the JsonReader.

String status()

Get the status property: The acceptance status of the participant.

OffsetDateTime statusDate()

Get the statusDate property: The date when the status got changed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Participant

public Participant()

Creates an instance of Participant class.

Method Details

email

public String email()

Get the email property: The email address of the participant.

Returns:

the email value.

fromJson

public static Participant fromJson(JsonReader jsonReader)

Reads an instance of Participant from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public String status()

Get the status property: The acceptance status of the participant.

Returns:

the status value.

statusDate

public OffsetDateTime statusDate()

Get the statusDate property: The date when the status got changed.

Returns:

the statusDate value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to