Class ApiResourceDefinitions
java.lang.Object
com.azure.resourcemanager.logic.models.ApiResourceDefinitions
The Api resource definition.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ApiResourceDefinitions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the modifiedSwaggerUrl property: The modified swagger url.Get the originalSwaggerUrl property: The original swagger url.void
validate()
Validates the instance.withModifiedSwaggerUrl
(String modifiedSwaggerUrl) Set the modifiedSwaggerUrl property: The modified swagger url.withOriginalSwaggerUrl
(String originalSwaggerUrl) Set the originalSwaggerUrl property: The original swagger url.
-
Constructor Details
-
ApiResourceDefinitions
public ApiResourceDefinitions()Creates an instance of ApiResourceDefinitions class.
-
-
Method Details
-
originalSwaggerUrl
Get the originalSwaggerUrl property: The original swagger url.- Returns:
- the originalSwaggerUrl value.
-
withOriginalSwaggerUrl
Set the originalSwaggerUrl property: The original swagger url.- Parameters:
originalSwaggerUrl
- the originalSwaggerUrl value to set.- Returns:
- the ApiResourceDefinitions object itself.
-
modifiedSwaggerUrl
Get the modifiedSwaggerUrl property: The modified swagger url.- Returns:
- the modifiedSwaggerUrl value.
-
withModifiedSwaggerUrl
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.
-