Class StudentLabListResult

java.lang.Object
com.azure.resourcemanager.education.models.StudentLabListResult
All Implemented Interfaces:
com.azure.json.JsonSerializable<StudentLabListResult>

public final class StudentLabListResult extends Object implements com.azure.json.JsonSerializable<StudentLabListResult>
List of labs.
  • Constructor Details

    • StudentLabListResult

      public StudentLabListResult()
      Creates an instance of StudentLabListResult class.
  • Method Details

    • value

      public List<StudentLabDetailsInner> value()
      Get the value property: The list of labs.
      Returns:
      the value value.
    • nextLink

      public String nextLink()
      Get the nextLink property: The link (url) to the next page of results.
      Returns:
      the nextLink value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<StudentLabListResult>
      Throws:
      IOException
    • fromJson

      public static StudentLabListResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of StudentLabListResult from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of StudentLabListResult 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 StudentLabListResult.