SwaggerExternalDocumentation Class

  • java.lang.Object
    • com.azure.resourcemanager.logic.models.SwaggerExternalDocumentation

public final class SwaggerExternalDocumentation

The swagger external documentation.

Constructor Summary

Constructor Description
SwaggerExternalDocumentation()

Creates an instance of SwaggerExternalDocumentation class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The document description.

Map<String,Object> extensions()

Get the extensions property: The vendor extensions.

String uri()

Get the uri property: The documentation Uri.

void validate()

Validates the instance.

SwaggerExternalDocumentation withDescription(String description)

Set the description property: The document description.

SwaggerExternalDocumentation withExtensions(Map<String,Object> extensions)

Set the extensions property: The vendor extensions.

SwaggerExternalDocumentation withUri(String uri)

Set the uri property: The documentation Uri.

Methods inherited from java.lang.Object

Constructor Details

SwaggerExternalDocumentation

public SwaggerExternalDocumentation()

Creates an instance of SwaggerExternalDocumentation class.

Method Details

description

public String description()

Get the description property: The document description.

Returns:

the description value.

extensions

public Map extensions()

Get the extensions property: The vendor extensions.

Returns:

the extensions value.

uri

public String uri()

Get the uri property: The documentation Uri.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

withDescription

public SwaggerExternalDocumentation withDescription(String description)

Set the description property: The document description.

Parameters:

description - the description value to set.

Returns:

the SwaggerExternalDocumentation object itself.

withExtensions

public SwaggerExternalDocumentation withExtensions(Map extensions)

Set the extensions property: The vendor extensions.

Parameters:

extensions - the extensions value to set.

Returns:

the SwaggerExternalDocumentation object itself.

withUri

public SwaggerExternalDocumentation withUri(String uri)

Set the uri property: The documentation Uri.

Parameters:

uri - the uri value to set.

Returns:

the SwaggerExternalDocumentation object itself.

Applies to