Class AccessInformationUpdateParameterProperties

java.lang.Object
com.azure.resourcemanager.apimanagement.fluent.models.AccessInformationUpdateParameterProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<AccessInformationUpdateParameterProperties>

public final class AccessInformationUpdateParameterProperties extends Object implements com.azure.json.JsonSerializable<AccessInformationUpdateParameterProperties>
Tenant access information update parameters of the API Management service.
  • Constructor Details

    • AccessInformationUpdateParameterProperties

      public AccessInformationUpdateParameterProperties()
      Creates an instance of AccessInformationUpdateParameterProperties class.
  • Method Details

    • enabled

      public Boolean enabled()
      Get the enabled property: Determines whether direct access is enabled.
      Returns:
      the enabled value.
    • withEnabled

      Set the enabled property: Determines whether direct access is enabled.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the AccessInformationUpdateParameterProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AccessInformationUpdateParameterProperties>
      Throws:
      IOException
    • fromJson

      public static AccessInformationUpdateParameterProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AccessInformationUpdateParameterProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AccessInformationUpdateParameterProperties 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 AccessInformationUpdateParameterProperties.