SharedLinkSettingsError

public enum SharedLinkSettingsError : CustomStringConvertible, JSONRepresentable

The SharedLinkSettingsError union

  • The given settings are invalid (for example, all attributes of the SharedLinkSettings are empty, the requested visibility is password in RequestedVisibility but the linkPassword in SharedLinkSettings is missing, expires in SharedLinkSettings is set to the past, etc.).

    Declaration

    Swift

    case invalidSettings
  • User is not allowed to modify the settings of this link. Note that basic users can only set public_ in RequestedVisibility as the requestedVisibility in SharedLinkSettings and cannot set expires in SharedLinkSettings.

    Declaration

    Swift

    case notAuthorized
  • Declaration

    Swift

    public var description: String { get }