Package com.microsoft.graph.models
Class TargetResource
java.lang.Object
com.microsoft.graph.models.TargetResource
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class TargetResource
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Target Resource.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Display Name.The Group Type.The Id.The Modified Properties.the OData type of the object as returned by the serviceThe Type.The User Principal Name. -
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 -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Indicates the visible name defined for the resource. Typically specified when the resource is created. -
groupType
@SerializedName(value="groupType", alternate="GroupType") @Expose @Nullable public GroupType groupTypeThe Group Type. When type is set to Group, this indicates the group type. Possible values are: unifiedGroups, azureAD, and unknownFutureValue -
id
The Id. Indicates the unique ID of the resource. -
modifiedProperties
@SerializedName(value="modifiedProperties", alternate="ModifiedProperties") @Expose @Nullable public List<ModifiedProperty> modifiedPropertiesThe Modified Properties. Indicates name, old value and new value of each attribute that changed. Property values depend on the operation type. -
type
The Type. Describes the resource type. Example values include Application, Group, ServicePrincipal, and User. -
userPrincipalName
@SerializedName(value="userPrincipalName", alternate="UserPrincipalName") @Expose @Nullable public String userPrincipalNameThe User Principal Name. When type is set to User, this includes the user name that initiated the action; null for other types.
-
-
Constructor Details
-
TargetResource
public TargetResource()
-
-
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
-