Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Share

Hierarchy

  • Share

Index

Accessors

expiration

  • get expiration(): Date | null
  • expiration The expiration is readonly

    Returns Date | null

id

  • get id(): string

note

  • get note(): string

token

  • get token(): string

url

  • get url(): string
  • share url The share url is readonly

    Returns string

Methods

delete

  • delete(): Promise<void>

setExpiration

  • setExpiration(expiration: Date): Promise<void>

setNote

  • setNote(note: string): Promise<void>

setPassword

  • setPassword(password: string): Promise<void>
  • set a new password

    Parameters

    • password: string

    Returns Promise<void>

Static createShareRequestBody

Static getShare

Generated using TypeDoc