Class SharingLink

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

public class SharingLink extends Object
Describes a shared link to a resource.

API Documentation.

  • Method Details

    • builder

      public static SharingLink.SharingLinkBuilder builder()
    • getApplication

      public Identity getApplication()
      The associated application identity.
    • getType

      public String getType()
      The type of link. Valid values include:
      • view
      • edit
      • embed
    • getScope

      public String getScope()
      Describes the visibility scope of the shared link. Valid values include:
      • anonymous
      • organization
    • getWebHtml

      public String getWebHtml()
      The embedded HTML for an <iframe> to include in a webpage.
    • getWebUrl

      public String getWebUrl()
      URL for the resource shown in a browser.
    • 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