Class CreateSharingLinkRequest

java.lang.Object
com.amilesend.onedrive.resource.request.CreateSharingLinkRequest

public class CreateSharingLinkRequest extends Object
A request to create a new sharing link for an item.

API Documentation.

  • Method Details

    • builder

    • getType

      public String getType()
      The type of sharing link to create. Valid values include:
      • view - Read only access
      • edit - Read/write access
      • embed - Embeddable link to the item. Only applies to personal accounts
    • getScope

      public String getScope()
      The scope of access to the link. Valid values include:
      • anonymous - Anyone can access without sign-in.
      • organization - Only those in your organization (tenant) can use the link
    • 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