次の方法で共有


ScheduleAvailabilityResponse Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.ScheduleAvailabilityResponse

Implements

public final class ScheduleAvailabilityResponse
implements JsonSerializable<ScheduleAvailabilityResponse>

Schedule availability for given sku in a region.

Constructor Summary

Constructor Description
ScheduleAvailabilityResponse()

Creates an instance of ScheduleAvailabilityResponse class.

Method Summary

Modifier and Type Method and Description
List<OffsetDateTime> availableDates()

Get the availableDates property: List of dates available to schedule.

static ScheduleAvailabilityResponse fromJson(JsonReader jsonReader)

Reads an instance of ScheduleAvailabilityResponse from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ScheduleAvailabilityResponse

public ScheduleAvailabilityResponse()

Creates an instance of ScheduleAvailabilityResponse class.

Method Details

availableDates

public List<OffsetDateTime> availableDates()

Get the availableDates property: List of dates available to schedule.

Returns:

the availableDates value.

fromJson

public static ScheduleAvailabilityResponse fromJson(JsonReader jsonReader)

Reads an instance of ScheduleAvailabilityResponse from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to