class documentation

class ModifySharedLinkSettingsError(SharedLinkError): (source)

View In Hierarchy

This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar SharedLinkSettingsError ModifySharedLinkSettingsError.settings_error: There is an error with the given settings. :ivar sharing.ModifySharedLinkSettingsError.email_not_verified: This user's email address is not verified. This functionality is only available on accounts with a verified email address. Users can verify their email address `here <https://www.dropbox.com/help/317>`_.

Class Method settings_error Create an instance of this class set to the ``settings_error`` tag with value ``val``.
Method get_settings_error There is an error with the given settings.
Method is_email_not_verified Check if the union tag is ``email_not_verified``.
Method is_settings_error Check if the union tag is ``settings_error``.
Class Variable email_not_verified Undocumented
Method _process_custom_annotations Undocumented

Inherited from SharedLinkError:

Method is_other Check if the union tag is ``other``.
Method is_shared_link_access_denied Check if the union tag is ``shared_link_access_denied``.
Method is_shared_link_not_found Check if the union tag is ``shared_link_not_found``.
Method is_unsupported_link_type Check if the union tag is ``unsupported_link_type``.
Class Variable other Undocumented
Class Variable shared_link_access_denied Undocumented
Class Variable shared_link_not_found Undocumented
Class Variable unsupported_link_type Undocumented
Class Variable _catch_all Undocumented
@classmethod
def settings_error(cls, val): (source)

Create an instance of this class set to the ``settings_error`` tag with value ``val``. :param SharedLinkSettingsError val: :rtype: ModifySharedLinkSettingsError

def get_settings_error(self): (source)

There is an error with the given settings. Only call this if :meth:`is_settings_error` is true. :rtype: SharedLinkSettingsError

def is_email_not_verified(self): (source)

Check if the union tag is ``email_not_verified``. :rtype: bool

def is_settings_error(self): (source)

Check if the union tag is ``settings_error``. :rtype: bool

email_not_verified = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)