Class AvailablePatchCountByClassification
java.lang.Object
com.azure.resourcemanager.hybridcompute.models.AvailablePatchCountByClassification
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AvailablePatchCountByClassification>
public final class AvailablePatchCountByClassification
extends Object
implements com.azure.json.JsonSerializable<AvailablePatchCountByClassification>
Summarization of patches available for installation on the machine by classification.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AvailablePatchCountByClassification class. -
Method Summary
Modifier and TypeMethodDescriptioncritical()Get the critical property: Number of critical patches available for installation.Get the definition property: Number of definition patches available for installation.Get the featurePack property: Number of feature pack patches available for installation.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AvailablePatchCountByClassification from the JsonReader.other()Get the other property: Number of other patches available for installation.security()Get the security property: Number of security patches available for installation.Get the servicePack property: Number of service pack patches available for installation.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) tools()Get the tools property: Number of tools patches available for installation.Get the updateRollup property: Number of update Rollup patches available for installation.updates()Get the updates property: Number of updates category patches available for installation.voidvalidate()Validates the instance.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
-
AvailablePatchCountByClassification
public AvailablePatchCountByClassification()Creates an instance of AvailablePatchCountByClassification class.
-
-
Method Details
-
security
Get the security property: Number of security patches available for installation.- Returns:
- the security value.
-
critical
Get the critical property: Number of critical patches available for installation.- Returns:
- the critical value.
-
definition
Get the definition property: Number of definition patches available for installation.- Returns:
- the definition value.
-
updateRollup
Get the updateRollup property: Number of update Rollup patches available for installation.- Returns:
- the updateRollup value.
-
featurePack
Get the featurePack property: Number of feature pack patches available for installation.- Returns:
- the featurePack value.
-
servicePack
Get the servicePack property: Number of service pack patches available for installation.- Returns:
- the servicePack value.
-
tools
Get the tools property: Number of tools patches available for installation.- Returns:
- the tools value.
-
updates
Get the updates property: Number of updates category patches available for installation.- Returns:
- the updates value.
-
other
Get the other property: Number of other patches available for installation.- Returns:
- the other value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AvailablePatchCountByClassification>- Throws:
IOException
-
fromJson
public static AvailablePatchCountByClassification fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AvailablePatchCountByClassification from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AvailablePatchCountByClassification 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 AvailablePatchCountByClassification.
-