Package com.independentsoft.graph.files

# Class DriveItemSource

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

All Implemented Interfaces:
  `ICreatable`

public class DriveItemSource extends Object implements ICreatable

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DriveItemSourceApplication`
  `getApplication()`
  `String`
  `getExternalId()`
  `void`
  `setApplication​(DriveItemSourceApplication application)`
  `void`
  `setExternalId​(String externalId)`
  `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

  - ### DriveItemSource

    public DriveItemSource()

  - ### DriveItemSource

    public DriveItemSource​(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

  - ### getApplication

    public DriveItemSourceApplication getApplication()

  - ### setApplication

    public void setApplication​(DriveItemSourceApplication application)

  - ### getExternalId

    public String getExternalId()

  - ### setExternalId

    public void setExternalId​(String externalId)