Class SecurityResource

java.lang.Object
com.microsoft.graph.models.SecurityResource
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class SecurityResource extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Security Resource.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • resource

      @SerializedName(value="resource", alternate="Resource") @Expose @Nullable public String resource
      The Resource. Name of the resource that is related to current alert. Required.
    • resourceType

      @SerializedName(value="resourceType", alternate="ResourceType") @Expose @Nullable public SecurityResourceType resourceType
      The Resource Type. Represents type of security resources related to an alert. Possible values are: attacked, related.
  • Constructor Details

    • SecurityResource

      public SecurityResource()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to