Response Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Response
- com.
Implements
public final class Response
implements JsonSerializable<Response>
A response.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Content |
bodyLink()
Get the body |
| static Response |
fromJson(JsonReader jsonReader)
Reads an instance of Response from the Json |
| Object |
headers()
Get the headers property: A list of all the headers attached to the response. |
| Integer |
statusCode()
Get the status |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
bodyLink
public ContentLink bodyLink()
Get the bodyLink property: Details on the location of the body content.
Returns:
fromJson
public static Response fromJson(JsonReader jsonReader)
Reads an instance of Response from the JsonReader.
Parameters:
Returns:
Throws:
headers
public Object headers()
Get the headers property: A list of all the headers attached to the response.
Returns:
statusCode
public Integer statusCode()
Get the statusCode property: The status code of the response.
Returns:
toJson
validate
public void validate()
Validates the instance.