Udostępnij za pośrednictwem


LabProperties Class

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

Implements

public final class LabProperties
implements JsonSerializable<LabProperties>

Lab detail result properties.

Constructor Summary

Constructor Description
LabProperties()

Creates an instance of LabProperties class.

Method Summary

Modifier and Type Method and Description
Amount budgetPerStudent()

Get the budgetPerStudent property: Default monetary cap for each student in this lab.

String currency()

Get the currency property: The type of currency being used for the value.

String currencyTotalAllocatedBudgetCurrency()

Get the currency property: The type of currency being used for the value.

String description()

Get the description property: Detail description of this lab.

String displayName()

Get the displayName property: Lab Display Name.

OffsetDateTime effectiveDate()

Get the effectiveDate property: Lab creation date.

OffsetDateTime expirationDate()

Get the expirationDate property: Default expiration date for each student in this lab.

static LabProperties fromJson(JsonReader jsonReader)

Reads an instance of LabProperties from the JsonReader.

String invitationCode()

Get the invitationCode property: invitation code for redeemable lab.

Float maxStudentCount()

Get the maxStudentCount property: the total number of students that can be accepted to the lab.

LabStatus status()

Get the status property: The status of this lab.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Float value()

Get the value property: Amount value.

Float valueTotalAllocatedBudgetValue()

Get the value property: Amount value.

LabProperties withBudgetPerStudent(Amount budgetPerStudent)

Set the budgetPerStudent property: Default monetary cap for each student in this lab.

LabProperties withCurrency(String currency)

Set the currency property: The type of currency being used for the value.

LabProperties withCurrencyTotalAllocatedBudgetCurrency(String currency)

Set the currency property: The type of currency being used for the value.

LabProperties withDescription(String description)

Set the description property: Detail description of this lab.

LabProperties withDisplayName(String displayName)

Set the displayName property: Lab Display Name.

LabProperties withExpirationDate(OffsetDateTime expirationDate)

Set the expirationDate property: Default expiration date for each student in this lab.

LabProperties withValue(Float value)

Set the value property: Amount value.

LabProperties withValueTotalAllocatedBudgetValue(Float value)

Set the value property: Amount value.

Methods inherited from java.lang.Object

Constructor Details

LabProperties

public LabProperties()

Creates an instance of LabProperties class.

Method Details

budgetPerStudent

public Amount budgetPerStudent()

Get the budgetPerStudent property: Default monetary cap for each student in this lab.

Returns:

the budgetPerStudent value.

currency

public String currency()

Get the currency property: The type of currency being used for the value.

Returns:

the currency value.

currencyTotalAllocatedBudgetCurrency

public String currencyTotalAllocatedBudgetCurrency()

Get the currency property: The type of currency being used for the value.

Returns:

the currency 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: Lab Display Name.

Returns:

the displayName value.

effectiveDate

public OffsetDateTime effectiveDate()

Get the effectiveDate property: Lab creation date.

Returns:

the effectiveDate value.

expirationDate

public OffsetDateTime expirationDate()

Get the expirationDate property: Default expiration date for each student in this lab.

Returns:

the expirationDate value.

fromJson

public static LabProperties fromJson(JsonReader jsonReader)

Reads an instance of LabProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

invitationCode

public String invitationCode()

Get the invitationCode property: invitation code for redeemable lab.

Returns:

the invitationCode value.

maxStudentCount

public Float maxStudentCount()

Get the maxStudentCount property: the total number of students that can be accepted to the lab.

Returns:

the maxStudentCount value.

status

public LabStatus status()

Get the status property: The status of this lab.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public Float value()

Get the value property: Amount value.

Returns:

the value value.

valueTotalAllocatedBudgetValue

public Float valueTotalAllocatedBudgetValue()

Get the value property: Amount value.

Returns:

the value value.

withBudgetPerStudent

public LabProperties withBudgetPerStudent(Amount budgetPerStudent)

Set the budgetPerStudent property: Default monetary cap for each student in this lab.

Parameters:

budgetPerStudent - the budgetPerStudent value to set.

Returns:

the LabProperties object itself.

withCurrency

public LabProperties withCurrency(String currency)

Set the currency property: The type of currency being used for the value.

Parameters:

currency - the currency value to set.

Returns:

the LabProperties object itself.

withCurrencyTotalAllocatedBudgetCurrency

public LabProperties withCurrencyTotalAllocatedBudgetCurrency(String currency)

Set the currency property: The type of currency being used for the value.

Parameters:

currency - the currency value to set.

Returns:

the LabProperties object itself.

withDescription

public LabProperties withDescription(String description)

Set the description property: Detail description of this lab.

Parameters:

description - the description value to set.

Returns:

the LabProperties object itself.

withDisplayName

public LabProperties withDisplayName(String displayName)

Set the displayName property: Lab Display Name.

Parameters:

displayName - the displayName value to set.

Returns:

the LabProperties object itself.

withExpirationDate

public LabProperties withExpirationDate(OffsetDateTime expirationDate)

Set the expirationDate property: Default expiration date for each student in this lab.

Parameters:

expirationDate - the expirationDate value to set.

Returns:

the LabProperties object itself.

withValue

public LabProperties withValue(Float value)

Set the value property: Amount value.

Parameters:

value - the value value to set.

Returns:

the LabProperties object itself.

withValueTotalAllocatedBudgetValue

public LabProperties withValueTotalAllocatedBudgetValue(Float value)

Set the value property: Amount value.

Parameters:

value - the value value to set.

Returns:

the LabProperties object itself.

Applies to