Class ApiResourceDefinitions

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

public final class ApiResourceDefinitions extends Object
The Api resource definition.
  • Constructor Details

    • ApiResourceDefinitions

      public ApiResourceDefinitions()
      Creates an instance of ApiResourceDefinitions class.
  • Method Details

    • originalSwaggerUrl

      public String originalSwaggerUrl()
      Get the originalSwaggerUrl property: The original swagger url.
      Returns:
      the originalSwaggerUrl value.
    • withOriginalSwaggerUrl

      public ApiResourceDefinitions withOriginalSwaggerUrl(String originalSwaggerUrl)
      Set the originalSwaggerUrl property: The original swagger url.
      Parameters:
      originalSwaggerUrl - the originalSwaggerUrl value to set.
      Returns:
      the ApiResourceDefinitions object itself.
    • modifiedSwaggerUrl

      public String modifiedSwaggerUrl()
      Get the modifiedSwaggerUrl property: The modified swagger url.
      Returns:
      the modifiedSwaggerUrl value.
    • withModifiedSwaggerUrl

      public ApiResourceDefinitions withModifiedSwaggerUrl(String modifiedSwaggerUrl)
      Set the modifiedSwaggerUrl property: The modified swagger url.
      Parameters:
      modifiedSwaggerUrl - the modifiedSwaggerUrl value to set.
      Returns:
      the ApiResourceDefinitions object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.