Class SwaggerCustomDynamicTreeParameter
java.lang.Object
com.azure.resourcemanager.logic.models.SwaggerCustomDynamicTreeParameter
The swagger custom dynamic tree parameter.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SwaggerCustomDynamicTreeParameter class. -
Method Summary
Modifier and TypeMethodDescriptionGet the parameterReference property: The parameter reference.required()
Get the required property: Indicates whether the parameter is required.Get the selectedItemValuePath property: Gets or sets a path to a property in the currently selected item to pass as a value to a parameter for the given operation.void
validate()
Validates the instance.value()
Get the value property: The parameter value.withParameterReference
(String parameterReference) Set the parameterReference property: The parameter reference.withRequired
(Boolean required) Set the required property: Indicates whether the parameter is required.withSelectedItemValuePath
(String selectedItemValuePath) Set the selectedItemValuePath property: Gets or sets a path to a property in the currently selected item to pass as a value to a parameter for the given operation.Set the value property: The parameter value.
-
Constructor Details
-
SwaggerCustomDynamicTreeParameter
public SwaggerCustomDynamicTreeParameter()Creates an instance of SwaggerCustomDynamicTreeParameter class.
-
-
Method Details
-
selectedItemValuePath
Get the selectedItemValuePath property: Gets or sets a path to a property in the currently selected item to pass as a value to a parameter for the given operation.- Returns:
- the selectedItemValuePath value.
-
withSelectedItemValuePath
Set the selectedItemValuePath property: Gets or sets a path to a property in the currently selected item to pass as a value to a parameter for the given operation.- Parameters:
selectedItemValuePath
- the selectedItemValuePath value to set.- Returns:
- the SwaggerCustomDynamicTreeParameter object itself.
-
value
Get the value property: The parameter value.- Returns:
- the value value.
-
withValue
Set the value property: The parameter value.- Parameters:
value
- the value value to set.- Returns:
- the SwaggerCustomDynamicTreeParameter object itself.
-
parameterReference
Get the parameterReference property: The parameter reference.- Returns:
- the parameterReference value.
-
withParameterReference
Set the parameterReference property: The parameter reference.- Parameters:
parameterReference
- the parameterReference value to set.- Returns:
- the SwaggerCustomDynamicTreeParameter object itself.
-
required
Get the required property: Indicates whether the parameter is required.- Returns:
- the required value.
-
withRequired
Set the required property: Indicates whether the parameter is required.- Parameters:
required
- the required value to set.- Returns:
- the SwaggerCustomDynamicTreeParameter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-