Condividi tramite


StaticSiteUserInvitationResponseResourceInner Class

public final class StaticSiteUserInvitationResponseResourceInner
extends ProxyOnlyResource

Static sites user roles invitation link resource.

Method Summary

Modifier and Type Method and Description
OffsetDateTime expiresOn()

Get the expiresOn property: The expiration time of the invitation.

static StaticSiteUserInvitationResponseResourceInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteUserInvitationResponseResourceInner from the JsonReader.

String id()

Get the id property: Resource Id.

String invitationUrl()

Get the invitationUrl property: The url for the invitation link.

String name()

Get the name property: Resource Name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Method Details

expiresOn

public OffsetDateTime expiresOn()

Get the expiresOn property: The expiration time of the invitation.

Returns:

the expiresOn value.

fromJson

public static StaticSiteUserInvitationResponseResourceInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteUserInvitationResponseResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Resource Id.

Overrides:

StaticSiteUserInvitationResponseResourceInner.id()

Returns:

the id value.

invitationUrl

public String invitationUrl()

Get the invitationUrl property: The url for the invitation link.

Returns:

the invitationUrl value.

name

public String name()

Get the name property: Resource Name.

Overrides:

StaticSiteUserInvitationResponseResourceInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StaticSiteUserInvitationResponseResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

StaticSiteUserInvitationResponseResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

StaticSiteUserInvitationResponseResourceInner.validate()

Applies to