Share via


InvitationRecordInner Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.fluent.models.InvitationRecordInner

Implements

public final class InvitationRecordInner
implements JsonSerializable<InvitationRecordInner>

Record of the invitation.

Constructor Summary

Constructor Description
InvitationRecordInner()

Creates an instance of InvitationRecordInner class.

Method Summary

Modifier and Type Method and Description
String acceptedAt()

Get the acceptedAt property: Accepted date time of the invitation.

String authType()

Get the authType property: Auth type of the user.

String email()

Get the email property: Email of the user.

String expiresAt()

Get the expiresAt property: Expiration date time of the invitation.

static InvitationRecordInner fromJson(JsonReader jsonReader)

Reads an instance of InvitationRecordInner from the JsonReader.

String id()

Get the id property: Id of the invitation.

String kind()

Get the kind property: Type of account.

MetadataEntity metadata()

Get the metadata property: Metadata of the record.

String status()

Get the status property: Status of the invitation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

InvitationRecordInner withAcceptedAt(String acceptedAt)

Set the acceptedAt property: Accepted date time of the invitation.

InvitationRecordInner withAuthType(String authType)

Set the authType property: Auth type of the user.

InvitationRecordInner withEmail(String email)

Set the email property: Email of the user.

InvitationRecordInner withExpiresAt(String expiresAt)

Set the expiresAt property: Expiration date time of the invitation.

InvitationRecordInner withId(String id)

Set the id property: Id of the invitation.

InvitationRecordInner withKind(String kind)

Set the kind property: Type of account.

InvitationRecordInner withMetadata(MetadataEntity metadata)

Set the metadata property: Metadata of the record.

InvitationRecordInner withStatus(String status)

Set the status property: Status of the invitation.

Methods inherited from java.lang.Object

Constructor Details

InvitationRecordInner

public InvitationRecordInner()

Creates an instance of InvitationRecordInner class.

Method Details

acceptedAt

public String acceptedAt()

Get the acceptedAt property: Accepted date time of the invitation.

Returns:

the acceptedAt value.

authType

public String authType()

Get the authType property: Auth type of the user.

Returns:

the authType value.

email

public String email()

Get the email property: Email of the user.

Returns:

the email value.

expiresAt

public String expiresAt()

Get the expiresAt property: Expiration date time of the invitation.

Returns:

the expiresAt value.

fromJson

public static InvitationRecordInner fromJson(JsonReader jsonReader)

Reads an instance of InvitationRecordInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Id of the invitation.

Returns:

the id value.

kind

public String kind()

Get the kind property: Type of account.

Returns:

the kind value.

metadata

public MetadataEntity metadata()

Get the metadata property: Metadata of the record.

Returns:

the metadata value.

status

public String status()

Get the status property: Status of the invitation.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAcceptedAt

public InvitationRecordInner withAcceptedAt(String acceptedAt)

Set the acceptedAt property: Accepted date time of the invitation.

Parameters:

acceptedAt - the acceptedAt value to set.

Returns:

the InvitationRecordInner object itself.

withAuthType

public InvitationRecordInner withAuthType(String authType)

Set the authType property: Auth type of the user.

Parameters:

authType - the authType value to set.

Returns:

the InvitationRecordInner object itself.

withEmail

public InvitationRecordInner withEmail(String email)

Set the email property: Email of the user.

Parameters:

email - the email value to set.

Returns:

the InvitationRecordInner object itself.

withExpiresAt

public InvitationRecordInner withExpiresAt(String expiresAt)

Set the expiresAt property: Expiration date time of the invitation.

Parameters:

expiresAt - the expiresAt value to set.

Returns:

the InvitationRecordInner object itself.

withId

public InvitationRecordInner withId(String id)

Set the id property: Id of the invitation.

Parameters:

id - the id value to set.

Returns:

the InvitationRecordInner object itself.

withKind

public InvitationRecordInner withKind(String kind)

Set the kind property: Type of account.

Parameters:

kind - the kind value to set.

Returns:

the InvitationRecordInner object itself.

withMetadata

public InvitationRecordInner withMetadata(MetadataEntity metadata)

Set the metadata property: Metadata of the record.

Parameters:

metadata - the metadata value to set.

Returns:

the InvitationRecordInner object itself.

withStatus

public InvitationRecordInner withStatus(String status)

Set the status property: Status of the invitation.

Parameters:

status - the status value to set.

Returns:

the InvitationRecordInner object itself.

Applies to