Package com.independentsoft.graph.files

# Class DriveRecipient

java.lang.Object
com.independentsoft.graph.files.DriveRecipient

All Implemented Interfaces:
  `ICreatable`

public class DriveRecipient extends Object implements ICreatable

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DriveRecipient()`
  `DriveRecipient​(JsonObject jsonObject)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getAlias()`
  `String`
  `getEmail()`
  `String`
  `getObjectId()`
  `void`
  `setAlias​(String alias)`
  `void`
  `setEmail​(String email)`
  `void`
  `setObjectId​(String objectId)`
  `String`
  `toCreateJson()`
  Converts this object to its JSON representation for creation.

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### DriveRecipient

    public DriveRecipient()

  - ### DriveRecipient

    public DriveRecipient​(JsonObject jsonObject)

- ## Method Details

  - ### toCreateJson

    public String toCreateJson()
    Description copied from interface: `ICreatable`
    Converts this object to its JSON representation for creation.

    This method generates a JSON string containing all properties needed to create a new instance of this resource in Microsoft Graph. Only properties appropriate for creation should be included (e.g., excluding read-only properties like ID, createdTime, etc.).

    Specified by:
      `toCreateJson` in interface `ICreatable`
    Returns:
      JSON string representation for creating this resource

  - ### getEmail

    public String getEmail()

  - ### setEmail

    public void setEmail​(String email)

  - ### getAlias

    public String getAlias()

  - ### setAlias

    public void setAlias​(String alias)

  - ### getObjectId

    public String getObjectId()

  - ### setObjectId

    public void setObjectId​(String objectId)