ResponseMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ResponseMetadata
- com.
Implements
public final class ResponseMetadata
implements JsonSerializable<ResponseMetadata>
The ResponseMetadata model.
Constructor Summary
Constructor | Description |
---|---|
ResponseMetadata() |
Creates an instance of Response |
Method Summary
Modifier and Type | Method and Description |
---|---|
Data |
dataSource()
Get the data |
static
Response |
fromJson(JsonReader jsonReader)
Reads an instance of Response |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Response |
withDataSource(DataSource dataSource)
Set the data |
Methods inherited from java.lang.Object
Constructor Details
ResponseMetadata
public ResponseMetadata()
Creates an instance of ResponseMetadata class.
Method Details
dataSource
public DataSource dataSource()
Get the dataSource property: Source of the Data.
Returns:
fromJson
public static ResponseMetadata fromJson(JsonReader jsonReader)
Reads an instance of ResponseMetadata from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withDataSource
public ResponseMetadata withDataSource(DataSource dataSource)
Set the dataSource property: Source of the Data.
Parameters:
Returns:
Applies to
Azure SDK for Java