Class SearchServiceListResult
java.lang.Object
com.azure.resourcemanager.search.models.SearchServiceListResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchServiceListResult>
public final class SearchServiceListResult
extends Object
implements com.azure.json.JsonSerializable<SearchServiceListResult>
Response containing a list of search services.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SearchServiceListResult class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchServiceListResultfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchServiceListResult from the JsonReader.nextLink()Get the nextLink property: Request URL that can be used to query next page of search services.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()Get the value property: The list of search services.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SearchServiceListResult
public SearchServiceListResult()Creates an instance of SearchServiceListResult class.
-
-
Method Details
-
value
Get the value property: The list of search services.- Returns:
- the value value.
-
nextLink
Get the nextLink property: Request URL that can be used to query next page of search services. Returned when the total number of requested search services exceed maximum page size.- Returns:
- the nextLink value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchServiceListResult>- Throws:
IOException
-
fromJson
public static SearchServiceListResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SearchServiceListResult from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchServiceListResult 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 SearchServiceListResult.
-