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

    Constructors
    Constructor
    Description
    Creates an instance of AvailablePatchCountByClassification class.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    Get the other property: Number of other patches available for installation.
    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.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    Get the tools property: Number of tools patches available for installation.
    Get the updateRollup property: Number of update Rollup patches available for installation.
    Get the updates property: Number of updates category patches available for installation.
    void
    Validates the instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public Integer security()
      Get the security property: Number of security patches available for installation.
      Returns:
      the security value.
    • critical

      public Integer critical()
      Get the critical property: Number of critical patches available for installation.
      Returns:
      the critical value.
    • definition

      public Integer definition()
      Get the definition property: Number of definition patches available for installation.
      Returns:
      the definition value.
    • updateRollup

      public Integer updateRollup()
      Get the updateRollup property: Number of update Rollup patches available for installation.
      Returns:
      the updateRollup value.
    • featurePack

      public Integer featurePack()
      Get the featurePack property: Number of feature pack patches available for installation.
      Returns:
      the featurePack value.
    • servicePack

      public Integer servicePack()
      Get the servicePack property: Number of service pack patches available for installation.
      Returns:
      the servicePack value.
    • tools

      public Integer tools()
      Get the tools property: Number of tools patches available for installation.
      Returns:
      the tools value.
    • updates

      public Integer updates()
      Get the updates property: Number of updates category patches available for installation.
      Returns:
      the updates value.
    • other

      public Integer 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.