StaticSiteUserInvitationResponseResourceInner Class

public final class StaticSiteUserInvitationResponseResourceInner
extends ProxyOnlyResource

Static sites user roles invitation link resource.

Constructor Summary

Constructor Description
StaticSiteUserInvitationResponseResourceInner()

Creates an instance of StaticSiteUserInvitationResponseResourceInner class.

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: Fully qualified resource Id for the resource.

String invitationUrl()

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

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StaticSiteUserInvitationResponseResourceInner withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

StaticSiteUserInvitationResponseResourceInner

public StaticSiteUserInvitationResponseResourceInner()

Creates an instance of StaticSiteUserInvitationResponseResourceInner class.

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 the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

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: The name of the resource.

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: The type of the resource.

Overrides:

StaticSiteUserInvitationResponseResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

StaticSiteUserInvitationResponseResourceInner.validate()

withKind

public StaticSiteUserInvitationResponseResourceInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

StaticSiteUserInvitationResponseResourceInner.withKind(String kind)

Parameters:

kind

Applies to