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 Details

    • oDataType

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

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The 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 groupType
      The Group Type. When type is set to Group, this indicates the group type. Possible values are: unifiedGroups, azureAD, and unknownFutureValue
    • id

      @SerializedName(value="id", alternate="Id") @Expose @Nullable public String id
      The Id. Indicates the unique ID of the resource.
    • modifiedProperties

      @SerializedName(value="modifiedProperties", alternate="ModifiedProperties") @Expose @Nullable public List<ModifiedProperty> modifiedProperties
      The Modified Properties. Indicates name, old value and new value of each attribute that changed. Property values depend on the operation type.
    • type

      @SerializedName(value="type", alternate="Type") @Expose @Nullable public String 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 userPrincipalName
      The 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 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