LabProperties Class
- java.
lang. Object - com.
azure. resourcemanager. education. fluent. models. LabProperties
- com.
Implements
public final class LabProperties
implements JsonSerializable<LabProperties>
Lab detail result properties.
Constructor Summary
| Constructor | Description |
|---|---|
| LabProperties() |
Creates an instance of Lab |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Amount |
budgetPerStudent()
Get the budget |
| 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 display |
|
Offset |
effectiveDate()
Get the effective |
|
Offset |
expirationDate()
Get the expiration |
|
static
Lab |
fromJson(JsonReader jsonReader)
Reads an instance of Lab |
| String |
invitationCode()
Get the invitation |
| Float |
maxStudentCount()
Get the max |
|
Lab |
status()
Get the status property: The status of this lab. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Float |
value()
Get the value property: Amount value. |
| Float |
valueTotalAllocatedBudgetValue()
Get the value property: Amount value. |
|
Lab |
withBudgetPerStudent(Amount budgetPerStudent)
Set the budget |
|
Lab |
withCurrency(String currency)
Set the currency property: The type of currency being used for the value. |
|
Lab |
withCurrencyTotalAllocatedBudgetCurrency(String currency)
Set the currency property: The type of currency being used for the value. |
|
Lab |
withDescription(String description)
Set the description property: Detail description of this lab. |
|
Lab |
withDisplayName(String displayName)
Set the display |
|
Lab |
withExpirationDate(OffsetDateTime expirationDate)
Set the expiration |
|
Lab |
withValue(Float value)
Set the value property: Amount value. |
|
Lab |
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:
currency
public String currency()
Get the currency property: The type of currency being used for the value.
Returns:
currencyTotalAllocatedBudgetCurrency
public String currencyTotalAllocatedBudgetCurrency()
Get the currency property: The type of currency being used for the value.
Returns:
description
public String description()
Get the description property: Detail description of this lab.
Returns:
displayName
public String displayName()
Get the displayName property: Lab Display Name.
Returns:
effectiveDate
public OffsetDateTime effectiveDate()
Get the effectiveDate property: Lab creation date.
Returns:
expirationDate
public OffsetDateTime expirationDate()
Get the expirationDate property: Default expiration date for each student in this lab.
Returns:
fromJson
public static LabProperties fromJson(JsonReader jsonReader)
Reads an instance of LabProperties from the JsonReader.
Parameters:
Returns:
Throws:
invitationCode
public String invitationCode()
Get the invitationCode property: invitation code for redeemable lab.
Returns:
maxStudentCount
public Float maxStudentCount()
Get the maxStudentCount property: the total number of students that can be accepted to the lab.
Returns:
status
public LabStatus status()
Get the status property: The status of this lab.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public Float value()
Get the value property: Amount value.
Returns:
valueTotalAllocatedBudgetValue
public Float valueTotalAllocatedBudgetValue()
Get the value property: Amount value.
Returns:
withBudgetPerStudent
public LabProperties withBudgetPerStudent(Amount budgetPerStudent)
Set the budgetPerStudent property: Default monetary cap for each student in this lab.
Parameters:
Returns:
withCurrency
public LabProperties withCurrency(String currency)
Set the currency property: The type of currency being used for the value.
Parameters:
Returns:
withCurrencyTotalAllocatedBudgetCurrency
public LabProperties withCurrencyTotalAllocatedBudgetCurrency(String currency)
Set the currency property: The type of currency being used for the value.
Parameters:
Returns:
withDescription
public LabProperties withDescription(String description)
Set the description property: Detail description of this lab.
Parameters:
Returns:
withDisplayName
public LabProperties withDisplayName(String displayName)
Set the displayName property: Lab Display Name.
Parameters:
Returns:
withExpirationDate
public LabProperties withExpirationDate(OffsetDateTime expirationDate)
Set the expirationDate property: Default expiration date for each student in this lab.
Parameters:
Returns:
withValue
public LabProperties withValue(Float value)
Set the value property: Amount value.
Parameters:
Returns:
withValueTotalAllocatedBudgetValue
public LabProperties withValueTotalAllocatedBudgetValue(Float value)
Set the value property: Amount value.
Parameters:
Returns: