Condividi tramite


JsonSchemaInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.JsonSchemaInner

Implements

public final class JsonSchemaInner
implements JsonSerializable<JsonSchemaInner>

The JSON schema.

Method Summary

Modifier and Type Method and Description
String content()

Get the content property: The JSON content.

static JsonSchemaInner fromJson(JsonReader jsonReader)

Reads an instance of JsonSchemaInner from the JsonReader.

String title()

Get the title property: The JSON title.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

content

public String content()

Get the content property: The JSON content.

Returns:

the content value.

fromJson

public static JsonSchemaInner fromJson(JsonReader jsonReader)

Reads an instance of JsonSchemaInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of JsonSchemaInner 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 JsonSchemaInner.

title

public String title()

Get the title property: The JSON title.

Returns:

the title value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to