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 Summary
Modifier and TypeMethodDescriptionaudience()Get the audience property: Audience visibility of this validation test category.Get the description property: Validation test category description.Get the displayName property: Display name of the validation test category.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ValidationTestCategoryProperties from the JsonReader.owners()Get the owners property: Owners of the validation test category, expressed as team or distribution list aliases.Get the parentCategoryId property: Parent validation test category id.Get the provisioningState property: Provisioning state of the validation test category catalog resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
displayName
Get the displayName property: Display name of the validation test category.- Returns:
- the displayName value.
-
description
Get the description property: Validation test category description.- Returns:
- the description value.
-
audience
Get the audience property: Audience visibility of this validation test category.- Returns:
- the audience value.
-
provisioningState
Get the provisioningState property: Provisioning state of the validation test category catalog resource.- Returns:
- the provisioningState value.
-
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
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
- Specified by:
toJsonin interfacecom.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.
-