Class SwaggerExternalDocumentation
java.lang.Object
com.azure.resourcemanager.logic.models.SwaggerExternalDocumentation
The swagger external documentation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SwaggerExternalDocumentation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The document description.Get the extensions property: The vendor extensions.uri()
Get the uri property: The documentation Uri.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The document description.withExtensions
(Map<String, Object> extensions) Set the extensions property: The vendor extensions.Set the uri property: The documentation Uri.
-
Constructor Details
-
SwaggerExternalDocumentation
public SwaggerExternalDocumentation()Creates an instance of SwaggerExternalDocumentation class.
-
-
Method Details
-
description
Get the description property: The document description.- Returns:
- the description value.
-
withDescription
Set the description property: The document description.- Parameters:
description
- the description value to set.- Returns:
- the SwaggerExternalDocumentation object itself.
-
uri
Get the uri property: The documentation Uri.- Returns:
- the uri value.
-
withUri
Set the uri property: The documentation Uri.- Parameters:
uri
- the uri value to set.- Returns:
- the SwaggerExternalDocumentation object itself.
-
extensions
Get the extensions property: The vendor extensions.- Returns:
- the extensions value.
-
withExtensions
Set the extensions property: The vendor extensions.- Parameters:
extensions
- the extensions value to set.- Returns:
- the SwaggerExternalDocumentation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-