Udostępnij za pośrednictwem


GrantDetailProperties Class

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

Implements

public final class GrantDetailProperties
implements JsonSerializable<GrantDetailProperties>

Grant detail properties.

Constructor Summary

Constructor Description
GrantDetailProperties()

Creates an instance of GrantDetailProperties class.

Method Summary

Modifier and Type Method and Description
Amount allocatedBudget()

Get the allocatedBudget property: allocated budget.

OffsetDateTime effectiveDate()

Get the effectiveDate property: Grant Effective Date.

OffsetDateTime expirationDate()

Get the expirationDate property: Expiration Date.

static GrantDetailProperties fromJson(JsonReader jsonReader)

Reads an instance of GrantDetailProperties from the JsonReader.

Amount offerCap()

Get the offerCap property: Offer Cap.

GrantType offerType()

Get the offerType property: Grant Offer Type.

GrantStatus status()

Get the status property: Grant status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

GrantDetailProperties

public GrantDetailProperties()

Creates an instance of GrantDetailProperties class.

Method Details

allocatedBudget

public Amount allocatedBudget()

Get the allocatedBudget property: allocated budget.

Returns:

the allocatedBudget value.

effectiveDate

public OffsetDateTime effectiveDate()

Get the effectiveDate property: Grant Effective Date.

Returns:

the effectiveDate value.

expirationDate

public OffsetDateTime expirationDate()

Get the expirationDate property: Expiration Date.

Returns:

the expirationDate value.

fromJson

public static GrantDetailProperties fromJson(JsonReader jsonReader)

Reads an instance of GrantDetailProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

offerCap

public Amount offerCap()

Get the offerCap property: Offer Cap.

Returns:

the offerCap value.

offerType

public GrantType offerType()

Get the offerType property: Grant Offer Type.

Returns:

the offerType value.

status

public GrantStatus status()

Get the status property: Grant status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to