Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionthe OData type of the object as returned by the serviceThe Resource.The Resource Type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
resource
The Resource. Name of the resource that is related to current alert. Required. -
resourceType
@SerializedName(value="resourceType", alternate="ResourceType") @Expose @Nullable public SecurityResourceType resourceTypeThe 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 interfacecom.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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-