ScheduleListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.models.ScheduleListResult

Implements

public final class ScheduleListResult
implements JsonSerializable<ScheduleListResult>

The response model for the list schedule operation.

Constructor Summary

Constructor Description
ScheduleListResult()

Creates an instance of ScheduleListResult class.

Method Summary

Modifier and Type Method and Description
static ScheduleListResult fromJson(JsonReader jsonReader)

Reads an instance of ScheduleListResult from the JsonReader.

String nextLink()

Get the nextLink property: Gets or sets the next link.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ScheduleInner> value()

Get the value property: Gets or sets a list of schedules.

ScheduleListResult withNextLink(String nextLink)

Set the nextLink property: Gets or sets the next link.

ScheduleListResult withValue(List<ScheduleInner> value)

Set the value property: Gets or sets a list of schedules.

Methods inherited from java.lang.Object

Constructor Details

ScheduleListResult

public ScheduleListResult()

Creates an instance of ScheduleListResult class.

Method Details

fromJson

public static ScheduleListResult fromJson(JsonReader jsonReader)

Reads an instance of ScheduleListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Gets or sets the next link.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<ScheduleInner> value()

Get the value property: Gets or sets a list of schedules.

Returns:

the value value.

withNextLink

public ScheduleListResult withNextLink(String nextLink)

Set the nextLink property: Gets or sets the next link.

Parameters:

nextLink - the nextLink value to set.

Returns:

the ScheduleListResult object itself.

withValue

public ScheduleListResult withValue(List<ScheduleInner> value)

Set the value property: Gets or sets a list of schedules.

Parameters:

value - the value value to set.

Returns:

the ScheduleListResult object itself.

Applies to