ScheduleActionBase Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.ScheduleActionBase

Implements

public class ScheduleActionBase
implements JsonSerializable<ScheduleActionBase>

The ScheduleActionBase model.

Constructor Summary

Constructor Description
ScheduleActionBase()

Creates an instance of ScheduleActionBase class.

Method Summary

Modifier and Type Method and Description
ScheduleActionType actionType()

Get the actionType property: [Required] Specifies the action type of the schedule.

static ScheduleActionBase fromJson(JsonReader jsonReader)

Reads an instance of ScheduleActionBase from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ScheduleActionBase

public ScheduleActionBase()

Creates an instance of ScheduleActionBase class.

Method Details

actionType

public ScheduleActionType actionType()

Get the actionType property: [Required] Specifies the action type of the schedule.

Returns:

the actionType value.

fromJson

public static ScheduleActionBase fromJson(JsonReader jsonReader)

Reads an instance of ScheduleActionBase from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to