Class ResolverUpdateContractProperties
java.lang.Object
com.azure.resourcemanager.apimanagement.fluent.models.ResolverUpdateContractProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResolverUpdateContractProperties>
public final class ResolverUpdateContractProperties
extends Object
implements com.azure.json.JsonSerializable<ResolverUpdateContractProperties>
Resolver Update Contract Properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResolverUpdateContractProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the resolver.Get the displayName property: Resolver Name.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResolverUpdateContractProperties from the JsonReader.path()Get the path property: Path is type/field being resolved.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: Description of the resolver.withDisplayName(String displayName) Set the displayName property: Resolver Name.Set the path property: Path is type/field being resolved.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ResolverUpdateContractProperties
public ResolverUpdateContractProperties()Creates an instance of ResolverUpdateContractProperties class.
-
-
Method Details
-
displayName
Get the displayName property: Resolver Name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Resolver Name.- Parameters:
displayName- the displayName value to set.- Returns:
- the ResolverUpdateContractProperties object itself.
-
path
Get the path property: Path is type/field being resolved.- Returns:
- the path value.
-
withPath
Set the path property: Path is type/field being resolved.- Parameters:
path- the path value to set.- Returns:
- the ResolverUpdateContractProperties object itself.
-
description
Get the description property: Description of the resolver. May include HTML formatting tags.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the resolver. May include HTML formatting tags.- Parameters:
description- the description value to set.- Returns:
- the ResolverUpdateContractProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResolverUpdateContractProperties>- Throws:
IOException
-
fromJson
public static ResolverUpdateContractProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ResolverUpdateContractProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResolverUpdateContractProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ResolverUpdateContractProperties.
-