Class SwaggerExternalDocumentation

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

public final class SwaggerExternalDocumentation extends Object
The swagger external documentation.
  • 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.
    • 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.
    • uri

      public String uri()
      Get the uri property: The documentation Uri.
      Returns:
      the uri value.
    • 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.
    • extensions

      public Map<String,Object> extensions()
      Get the extensions property: The vendor extensions.
      Returns:
      the extensions value.
    • withExtensions

      public SwaggerExternalDocumentation withExtensions(Map<String,Object> extensions)
      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.