java.lang.Object
com.amilesend.onedrive.resource.item.type.Shared

public class Shared extends Object
Indicates that a drive item has been shared with others.

API Documentation.

See Also:
  • Method Details

    • builder

      public static Shared.SharedBuilder builder()
    • getOwner

      public IdentitySet getOwner()
      The owner of the drive item.
    • getScope

      public String getScope()
      The scope of how the item is shared. Valid values include:
      • anonymous
      • organization
      • users
    • getSharedBy

      public IdentitySet getSharedBy()
      Who shared the drive item.
    • getSharedDateTime

      public String getSharedDateTime()
      When the drive item was shared (in UTC).
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object