JsonSchemaInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. JsonSchemaInner
- com.
Implements
public final class JsonSchemaInner
implements JsonSerializable<JsonSchemaInner>
The JSON schema.
Constructor Summary
Constructor | Description |
---|---|
JsonSchemaInner() |
Creates an instance of Json |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
content()
Get the content property: The JSON content. |
static
Json |
fromJson(JsonReader jsonReader)
Reads an instance of Json |
String |
title()
Get the title property: The JSON title. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Json |
withContent(String content)
Set the content property: The JSON content. |
Json |
withTitle(String title)
Set the title property: The JSON title. |
Methods inherited from java.lang.Object
Constructor Details
JsonSchemaInner
public JsonSchemaInner()
Creates an instance of JsonSchemaInner class.
Method Details
content
public String content()
Get the content property: The JSON content.
Returns:
fromJson
public static JsonSchemaInner fromJson(JsonReader jsonReader)
Reads an instance of JsonSchemaInner from the JsonReader.
Parameters:
Returns:
Throws:
title
public String title()
Get the title property: The JSON title.
Returns:
toJson
validate
public void validate()
Validates the instance.
withContent
public JsonSchemaInner withContent(String content)
Set the content property: The JSON content.
Parameters:
Returns:
withTitle
public JsonSchemaInner withTitle(String title)
Set the title property: The JSON title.
Parameters:
Returns:
Applies to
Azure SDK for Java