ParameterExampleContract Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. models. ParameterExampleContract
- com.
Implements
public final class ParameterExampleContract
implements JsonSerializable<ParameterExampleContract>
Parameter example.
Constructor Summary
| Constructor | Description |
|---|---|
| ParameterExampleContract() |
Creates an instance of Parameter |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Long description for the example. |
| String |
externalValue()
Get the external |
|
static
Parameter |
fromJson(JsonReader jsonReader)
Reads an instance of Parameter |
| String |
summary()
Get the summary property: Short description for the example. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Object |
value()
Get the value property: Example value. |
|
Parameter |
withDescription(String description)
Set the description property: Long description for the example. |
|
Parameter |
withExternalValue(String externalValue)
Set the external |
|
Parameter |
withSummary(String summary)
Set the summary property: Short description for the example. |
|
Parameter |
withValue(Object value)
Set the value property: Example value. |
Methods inherited from java.lang.Object
Constructor Details
ParameterExampleContract
public ParameterExampleContract()
Creates an instance of ParameterExampleContract class.
Method Details
description
public String description()
Get the description property: Long description for the example.
Returns:
externalValue
public String externalValue()
Get the externalValue property: A URL that points to the literal example.
Returns:
fromJson
public static ParameterExampleContract fromJson(JsonReader jsonReader)
Reads an instance of ParameterExampleContract from the JsonReader.
Parameters:
Returns:
Throws:
summary
public String summary()
Get the summary property: Short description for the example.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public Object value()
Get the value property: Example value. May be a primitive value, or an object.
Returns:
withDescription
public ParameterExampleContract withDescription(String description)
Set the description property: Long description for the example.
Parameters:
Returns:
withExternalValue
public ParameterExampleContract withExternalValue(String externalValue)
Set the externalValue property: A URL that points to the literal example.
Parameters:
Returns:
withSummary
public ParameterExampleContract withSummary(String summary)
Set the summary property: Short description for the example.
Parameters:
Returns:
withValue
public ParameterExampleContract withValue(Object value)
Set the value property: Example value. May be a primitive value, or an object.
Parameters:
Returns: