Udostępnij za pośrednictwem


StudentLabProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.education.fluent.models.StudentLabProperties

Implements

public final class StudentLabProperties
implements JsonSerializable<StudentLabProperties>

Student lab detail properties.

Constructor Summary

Constructor Description
StudentLabProperties()

Creates an instance of StudentLabProperties class.

Method Summary

Modifier and Type Method and Description
Amount budget()

Get the budget property: Student Budget.

String description()

Get the description property: Detail description of this lab.

String displayName()

Get the displayName property: Student lab Display Name.

OffsetDateTime effectiveDate()

Get the effectiveDate property: User Added Date.

OffsetDateTime expirationDate()

Get the expirationDate property: Date the lab will expire and by default will be the expiration date for each student in this lab.

static StudentLabProperties fromJson(JsonReader jsonReader)

Reads an instance of StudentLabProperties from the JsonReader.

String labScope()

Get the labScope property: Lab Scope.

StudentRole role()

Get the role property: Student Role.

StudentLabStatus status()

Get the status property: Student Lab Status.

String subscriptionId()

Get the subscriptionId property: Subscription Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

StudentLabProperties

public StudentLabProperties()

Creates an instance of StudentLabProperties class.

Method Details

budget

public Amount budget()

Get the budget property: Student Budget.

Returns:

the budget value.

description

public String description()

Get the description property: Detail description of this lab.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: Student lab Display Name.

Returns:

the displayName value.

effectiveDate

public OffsetDateTime effectiveDate()

Get the effectiveDate property: User Added Date.

Returns:

the effectiveDate value.

expirationDate

public OffsetDateTime expirationDate()

Get the expirationDate property: Date the lab will expire and by default will be the expiration date for each student in this lab.

Returns:

the expirationDate value.

fromJson

public static StudentLabProperties fromJson(JsonReader jsonReader)

Reads an instance of StudentLabProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

labScope

public String labScope()

Get the labScope property: Lab Scope. /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default.

Returns:

the labScope 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.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: Subscription Id.

Returns:

the subscriptionId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to