Class ValidationTestCategoryProperties

java.lang.Object
com.azure.resourcemanager.platformvalidation.models.ValidationTestCategoryProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ValidationTestCategoryProperties>

public final class ValidationTestCategoryProperties extends Object implements com.azure.json.JsonSerializable<ValidationTestCategoryProperties>
Validation test category properties.
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: Display name of the validation test category.
      Returns:
      the displayName value.
    • description

      public String description()
      Get the description property: Validation test category description.
      Returns:
      the description value.
    • audience

      public CatalogAudience audience()
      Get the audience property: Audience visibility of this validation test category.
      Returns:
      the audience value.
    • provisioningState

      public ResourceProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the validation test category catalog resource.
      Returns:
      the provisioningState value.
    • parentCategoryId

      public String parentCategoryId()
      Get the parentCategoryId property: Parent validation test category id. Categories form a two-level hierarchy only: a top-level category leaves this unset, and a sub-category sets this to its top-level parent's category id. Sub-categories cannot themselves have sub-categories, and a category must not reference itself as its own parent.
      Returns:
      the parentCategoryId value.
    • owners

      public List<String> owners()
      Get the owners property: Owners of the validation test category, expressed as team or distribution list aliases. Individual user aliases and directory object identifiers are not published in this field. Only catalog publishers set this value through an internal publishing process; end users of the validation service consume catalog entries read-only through Get/List and cannot modify it.
      Returns:
      the owners value.
    • toJson

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

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