Class TenantSettingsContractProperties
java.lang.Object
com.azure.resourcemanager.apimanagement.fluent.models.TenantSettingsContractProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TenantSettingsContractProperties>
public final class TenantSettingsContractProperties
extends Object
implements com.azure.json.JsonSerializable<TenantSettingsContractProperties>
Tenant access information contract of the API Management service.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TenantSettingsContractProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TenantSettingsContractProperties from the JsonReader.settings()Get the settings property: Tenant settings.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withSettings(Map<String, String> settings) Set the settings property: Tenant settings.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
-
TenantSettingsContractProperties
public TenantSettingsContractProperties()Creates an instance of TenantSettingsContractProperties class.
-
-
Method Details
-
settings
Get the settings property: Tenant settings.- Returns:
- the settings value.
-
withSettings
Set the settings property: Tenant settings.- Parameters:
settings- the settings value to set.- Returns:
- the TenantSettingsContractProperties 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<TenantSettingsContractProperties>- Throws:
IOException
-
fromJson
public static TenantSettingsContractProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of TenantSettingsContractProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of TenantSettingsContractProperties 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 TenantSettingsContractProperties.
-