Udostępnij za pośrednictwem


StudentDetailsInner Class

public final class StudentDetailsInner
extends ProxyResource

Student details.

Constructor Summary

Constructor Description
StudentDetailsInner()

Creates an instance of StudentDetailsInner class.

Method Summary

Modifier and Type Method and Description
Amount budget()

Get the budget property: Student Budget.

OffsetDateTime effectiveDate()

Get the effectiveDate property: Date student was added to the lab.

String email()

Get the email property: Student Email.

OffsetDateTime expirationDate()

Get the expirationDate property: Date this student is set to expire from the lab.

String firstName()

Get the firstName property: First Name.

static StudentDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of StudentDetailsInner from the JsonReader.

String id()

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

String lastName()

Get the lastName property: Last Name.

String name()

Get the name property: The name of the resource.

StudentRole role()

Get the role property: Student Role.

StudentLabStatus status()

Get the status property: Student Lab Status.

String subscriptionAlias()

Get the subscriptionAlias property: Subscription alias.

String subscriptionId()

Get the subscriptionId property: Subscription Id.

OffsetDateTime subscriptionInviteLastSentDate()

Get the subscriptionInviteLastSentDate property: subscription invite last sent date.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StudentDetailsInner withBudget(Amount budget)

Set the budget property: Student Budget.

StudentDetailsInner withEmail(String email)

Set the email property: Student Email.

StudentDetailsInner withExpirationDate(OffsetDateTime expirationDate)

Set the expirationDate property: Date this student is set to expire from the lab.

StudentDetailsInner withFirstName(String firstName)

Set the firstName property: First Name.

StudentDetailsInner withLastName(String lastName)

Set the lastName property: Last Name.

StudentDetailsInner withRole(StudentRole role)

Set the role property: Student Role.

StudentDetailsInner withSubscriptionAlias(String subscriptionAlias)

Set the subscriptionAlias property: Subscription alias.

StudentDetailsInner withSubscriptionInviteLastSentDate(OffsetDateTime subscriptionInviteLastSentDate)

Set the subscriptionInviteLastSentDate property: subscription invite last sent date.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

StudentDetailsInner

public StudentDetailsInner()

Creates an instance of StudentDetailsInner class.

Method Details

budget

public Amount budget()

Get the budget property: Student Budget.

Returns:

the budget value.

effectiveDate

public OffsetDateTime effectiveDate()

Get the effectiveDate property: Date student was added to the lab.

Returns:

the effectiveDate value.

email

public String email()

Get the email property: Student Email.

Returns:

the email value.

expirationDate

public OffsetDateTime expirationDate()

Get the expirationDate property: Date this student is set to expire from the lab.

Returns:

the expirationDate value.

firstName

public String firstName()

Get the firstName property: First Name.

Returns:

the firstName value.

fromJson

public static StudentDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of StudentDetailsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StudentDetailsInner 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:

StudentDetailsInner.id()

Returns:

the id value.

lastName

public String lastName()

Get the lastName property: Last Name.

Returns:

the lastName value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StudentDetailsInner.name()

Returns:

the name value.

role

public StudentRole role()

Get the role property: Student Role.

Returns:

the role value.

status

public StudentLabStatus status()

Get the status property: Student Lab Status.

Returns:

the status value.

subscriptionAlias

public String subscriptionAlias()

Get the subscriptionAlias property: Subscription alias.

Returns:

the subscriptionAlias value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: Subscription Id.

Returns:

the subscriptionId value.

subscriptionInviteLastSentDate

public OffsetDateTime subscriptionInviteLastSentDate()

Get the subscriptionInviteLastSentDate property: subscription invite last sent date.

Returns:

the subscriptionInviteLastSentDate value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StudentDetailsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StudentDetailsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBudget

public StudentDetailsInner withBudget(Amount budget)

Set the budget property: Student Budget.

Parameters:

budget - the budget value to set.

Returns:

the StudentDetailsInner object itself.

withEmail

public StudentDetailsInner withEmail(String email)

Set the email property: Student Email.

Parameters:

email - the email value to set.

Returns:

the StudentDetailsInner object itself.

withExpirationDate

public StudentDetailsInner withExpirationDate(OffsetDateTime expirationDate)

Set the expirationDate property: Date this student is set to expire from the lab.

Parameters:

expirationDate - the expirationDate value to set.

Returns:

the StudentDetailsInner object itself.

withFirstName

public StudentDetailsInner withFirstName(String firstName)

Set the firstName property: First Name.

Parameters:

firstName - the firstName value to set.

Returns:

the StudentDetailsInner object itself.

withLastName

public StudentDetailsInner withLastName(String lastName)

Set the lastName property: Last Name.

Parameters:

lastName - the lastName value to set.

Returns:

the StudentDetailsInner object itself.

withRole

public StudentDetailsInner withRole(StudentRole role)

Set the role property: Student Role.

Parameters:

role - the role value to set.

Returns:

the StudentDetailsInner object itself.

withSubscriptionAlias

public StudentDetailsInner withSubscriptionAlias(String subscriptionAlias)

Set the subscriptionAlias property: Subscription alias.

Parameters:

subscriptionAlias - the subscriptionAlias value to set.

Returns:

the StudentDetailsInner object itself.

withSubscriptionInviteLastSentDate

public StudentDetailsInner withSubscriptionInviteLastSentDate(OffsetDateTime subscriptionInviteLastSentDate)

Set the subscriptionInviteLastSentDate property: subscription invite last sent date.

Parameters:

subscriptionInviteLastSentDate - the subscriptionInviteLastSentDate value to set.

Returns:

the StudentDetailsInner object itself.

Applies to