Udostępnij za pośrednictwem


LabDetailsInner Class

public final class LabDetailsInner
extends ProxyResource

Lab details.

Constructor Summary

Constructor Description
LabDetailsInner()

Creates an instance of LabDetailsInner 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 currencyTotalAllocatedBudgetCurrency 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 LabDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of LabDetailsInner from the JsonReader.

String id()

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

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.

String name()

Get the name property: The name of the resource.

LabStatus status()

Get the status property: The status of this lab.

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.

Float value()

Get the value property: Amount value.

Float valueTotalAllocatedBudgetValue()

Get the valueTotalAllocatedBudgetValue property: Amount value.

LabDetailsInner withBudgetPerStudent(Amount budgetPerStudent)

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

LabDetailsInner withDescription(String description)

Set the description property: Detail description of this lab.

LabDetailsInner withDisplayName(String displayName)

Set the displayName property: Lab Display Name.

LabDetailsInner withExpirationDate(OffsetDateTime expirationDate)

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

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

LabDetailsInner

public LabDetailsInner()

Creates an instance of LabDetailsInner 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 currencyTotalAllocatedBudgetCurrency property: The type of currency being used for the value.

Returns:

the currencyTotalAllocatedBudgetCurrency 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 LabDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of LabDetailsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

LabDetailsInner.id()

Returns:

the id value.

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.

name

public String name()

Get the name property: The name of the resource.

Overrides:

LabDetailsInner.name()

Returns:

the name value.

status

public LabStatus status()

Get the status property: The status of this lab.

Returns:

the status 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:

LabDetailsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

LabDetailsInner.type()

Returns:

the type value.

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 valueTotalAllocatedBudgetValue property: Amount value.

Returns:

the valueTotalAllocatedBudgetValue value.

withBudgetPerStudent

public LabDetailsInner 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 LabDetailsInner object itself.

withDescription

public LabDetailsInner withDescription(String description)

Set the description property: Detail description of this lab.

Parameters:

description - the description value to set.

Returns:

the LabDetailsInner object itself.

withDisplayName

public LabDetailsInner withDisplayName(String displayName)

Set the displayName property: Lab Display Name.

Parameters:

displayName - the displayName value to set.

Returns:

the LabDetailsInner object itself.

withExpirationDate

public LabDetailsInner 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 LabDetailsInner object itself.

Applies to