GatewayRouteConfigOpenApiProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.GatewayRouteConfigOpenApiProperties

Implements

public final class GatewayRouteConfigOpenApiProperties
implements JsonSerializable<GatewayRouteConfigOpenApiProperties>

OpenAPI properties of Spring Cloud Gateway route config.

Constructor Summary

Constructor Description
GatewayRouteConfigOpenApiProperties()

Creates an instance of GatewayRouteConfigOpenApiProperties class.

Method Summary

Modifier and Type Method and Description
static GatewayRouteConfigOpenApiProperties fromJson(JsonReader jsonReader)

Reads an instance of GatewayRouteConfigOpenApiProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: The URI of OpenAPI specification.

void validate()

Validates the instance.

GatewayRouteConfigOpenApiProperties withUri(String uri)

Set the uri property: The URI of OpenAPI specification.

Methods inherited from java.lang.Object

Constructor Details

GatewayRouteConfigOpenApiProperties

public GatewayRouteConfigOpenApiProperties()

Creates an instance of GatewayRouteConfigOpenApiProperties class.

Method Details

fromJson

public static GatewayRouteConfigOpenApiProperties fromJson(JsonReader jsonReader)

Reads an instance of GatewayRouteConfigOpenApiProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: The URI of OpenAPI specification.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

withUri

public GatewayRouteConfigOpenApiProperties withUri(String uri)

Set the uri property: The URI of OpenAPI specification.

Parameters:

uri - the uri value to set.

Returns:

the GatewayRouteConfigOpenApiProperties object itself.

Applies to