ApiDefinitionInfo Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ApiDefinitionInfo
- com.
Implements
public final class ApiDefinitionInfo
implements JsonSerializable<ApiDefinitionInfo>
Information about the formal API definition for the app.
Constructor Summary
Constructor | Description |
---|---|
ApiDefinitionInfo() |
Creates an instance of Api |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Api |
fromJson(JsonReader jsonReader)
Reads an instance of Api |
Json |
toJson(JsonWriter jsonWriter) |
String |
url()
Get the url property: The URL of the API definition. |
void |
validate()
Validates the instance. |
Api |
withUrl(String url)
Set the url property: The URL of the API definition. |
Methods inherited from java.lang.Object
Constructor Details
ApiDefinitionInfo
public ApiDefinitionInfo()
Creates an instance of ApiDefinitionInfo class.
Method Details
fromJson
public static ApiDefinitionInfo fromJson(JsonReader jsonReader)
Reads an instance of ApiDefinitionInfo from the JsonReader.
Parameters:
Returns:
Throws:
toJson
url
public String url()
Get the url property: The URL of the API definition.
Returns:
validate
public void validate()
Validates the instance.
withUrl
public ApiDefinitionInfo withUrl(String url)
Set the url property: The URL of the API definition.
Parameters:
Returns:
Applies to
Azure SDK for Java