Enums¶
Details¶
- class EDataServer.ClientError(value)¶
Bases:
GLib.Enum
Error codes for
EDataServer.Client
operations.New in version 3.2.
- INVALID_ARG = 0¶
Invalid argument was used
- BUSY = 1¶
The client is busy
- COULD_NOT_CANCEL = 10¶
The operation cannot be cancelled
- NOT_SUPPORTED = 11¶
The operation is not supported
- TLS_NOT_AVAILABLE = 12¶
TLS is not available
- UNSUPPORTED_AUTHENTICATION_METHOD = 13¶
Requested authentication method is not supported
- SEARCH_SIZE_LIMIT_EXCEEDED = 14¶
Search size limit exceeded
- SEARCH_TIME_LIMIT_EXCEEDED = 15¶
Search time limit exceeded
- INVALID_QUERY = 16¶
The query was invalid
- QUERY_REFUSED = 17¶
The query was refused by the server side
- DBUS_ERROR = 18¶
A D-Bus error occurred
- OTHER_ERROR = 19¶
Other error
- SOURCE_NOT_LOADED = 2¶
The source is not loaded
- NOT_OPENED = 20¶
The client is not opened
- OUT_OF_SYNC = 21¶
The client is out of sync with the server
- SOURCE_ALREADY_LOADED = 3¶
The source is already loaded
- AUTHENTICATION_FAILED = 4¶
Authentication failed
- AUTHENTICATION_REQUIRED = 5¶
Authentication required
- REPOSITORY_OFFLINE = 6¶
The repository (client) is offline
- OFFLINE_UNAVAILABLE = 7¶
The operation is unavailable in offline mode
- PERMISSION_DENIED = 8¶
Permission denied for the operation
- CANCELLED = 9¶
The operation was cancelled
- class EDataServer.CollatorError(value)¶
Bases:
GLib.Enum
Errors from the #E_COLLATOR_ERROR domain.
- OPEN = 0¶
An error occured trying to open a collator and access collation data.
- CONVERSION = 1¶
An error occurred converting character encodings
- INVALID_LOCALE = 2¶
A malformed locale name was given to
EDataServer.Collator.new
()
- class EDataServer.ConflictResolution(value)¶
Bases:
GObject.GEnum
Defines what to do when a conflict between the locally stored and remotely stored object versions happen during object modify or remove.
New in version 3.26.
- FAIL = 0¶
Fail when a write-conflict occurs.
- USE_NEWER = 1¶
Use newer version of the object, which can be either the server version or the local version of it.
- KEEP_SERVER = 2¶
Keep server object on conflict.
- KEEP_LOCAL = 3¶
Write local version of the object on conflict.
- WRITE_COPY = 4¶
Create a new copy of the object on conflict.
- class EDataServer.GDataTaskStatus(value)¶
Bases:
GLib.Enum
Holds status of a task.
New in version 3.46.
- UNKNOWN = 0¶
unknown status
- NEEDS_ACTION = 1¶
the task needs action
- COMPLETED = 2¶
the task is completed
- class EDataServer.MdnResponsePolicy(value)¶
Bases:
GObject.GEnum
Policy for responding to Message Disposition Notification requests (i.e. a Disposition-Notification-To header) when receiving messages. See RFC 2298 for more information about MDN requests.
New in version 3.6.
- NEVER = 0¶
Never respond to an MDN request.
- ALWAYS = 1¶
Always respond to an MDN request.
- ASK = 2¶
Ask the user before responding to an MDN request.
Bases:
GLib.Enum
A value used during querying authentication URI, to decide whether certain resource can be used or not. The
EDataServer.OAuth2ServiceNavigationPolicy.ABORT
can be used to abort the authentication query, like when user cancelled it.New in version 3.28.
Deny navigation to the given web resource
Allow navigation to the given web resource
Abort authentication processing
- class EDataServer.ProxyMethod(value)¶
Bases:
GObject.GEnum
Network proxy configuration methods.
New in version 3.12.
- DEFAULT = 0¶
Use the default
Gio.ProxyResolver
(seeGio.ProxyResolver.get_default
()).
- MANUAL = 1¶
Use the FTP/HTTP/HTTPS/SOCKS settings defined in
EDataServer.SourceProxy
.
- AUTO = 2¶
Use the autoconfiguration URL defined in
EDataServer.SourceProxy
.
- NONE = 3¶
Direct connection; do not use a network proxy.
- class EDataServer.SourceAuthenticationResult(value)¶
Bases:
GObject.GEnum
Status codes used by the #EBackend authentication wrapper.
New in version 3.6.
- UNKNOWN = -1¶
Unknown error occurred while authenticating.
New in version 3.26.
- ERROR = 0¶
An error occurred while authenticating.
- ERROR_SSL_FAILED = 1¶
An SSL certificate check failed.
New in version 3.16.
- ACCEPTED = 2¶
Server requesting authentication accepted password.
- REJECTED = 3¶
Server requesting authentication rejected password.
- REQUIRED = 4¶
Server requesting authentication, but none was given.
- class EDataServer.SourceConnectionStatus(value)¶
Bases:
GObject.GEnum
Connection status codes used by the
EDataServer.Source
to indicate its connection state. This is used in combination with authentication of theEDataServer.Source
. For example, if there are multiple clients asking for a password and a user enters the password in one of them, then the status will change into ‘connecting’, which is a signal do close the password prompt in the other client, because the credentials had been already provided.New in version 3.16.
- DISCONNECTED = 0¶
The source is currently disconnected from its (possibly remote) data store.
- AWAITING_CREDENTIALS = 1¶
The source asked for credentials with a ‘credentials-required’ signal and is currently awaiting for them.
- SSL_FAILED = 2¶
A user rejected SSL certificate trust for the connection.
- CONNECTING = 3¶
The source is currently connecting to its (possibly remote) data store.
- CONNECTED = 4¶
The source is currently connected to its (possibly remote) data store.
- class EDataServer.SourceCredentialsReason(value)¶
Bases:
GObject.GEnum
An
EDataServer.Source
's authentication reason, used by anEDataServer.Source
::CredentialsRequired
method.New in version 3.16.
- UNKNOWN = 0¶
A return value when there was no ‘credentials-required’ signal emitted yet, or a pair ‘authenticate’ signal had been received. This value should not be used in the call of ‘credentials-required’.
- REQUIRED = 1¶
This is the first attempt to get credentials for the source. It’s usually used right after the source is opened and the authentication continues with a stored credentials, if any.
- REJECTED = 2¶
The previously used credentials had been rejected by the server. That usually means that the user should be asked to provide/correct the credentials.
- SSL_FAILED = 3¶
A secured connection failed due to some server-side certificate issues.
- ERROR = 4¶
The server returned an error. It is not possible to connect to it at the moment usually.
- class EDataServer.SourceLDAPAuthentication(value)¶
Bases:
GObject.GEnum
Defines authentication types for LDAP sources.
New in version 3.18.
- NONE = 0¶
Use none authentication type.
- EMAIL = 1¶
Use an email address for authentication.
- BINDDN = 2¶
Use a bind DN for authentication.
- class EDataServer.SourceLDAPScope(value)¶
Bases:
GObject.GEnum
Defines search scope for LDAP sources.
New in version 3.18.
- ONELEVEL = 0¶
One level search scope.
- SUBTREE = 1¶
Sub-tree search scope.
- class EDataServer.SourceLDAPSecurity(value)¶
Bases:
GObject.GEnum
Defines what connection security should be used for LDAP sources.
New in version 3.18.
- NONE = 0¶
Connect insecurely.
- LDAPS = 1¶
Connect using secure LDAP (LDAPS).
- STARTTLS = 2¶
Connect using STARTTLS.
- class EDataServer.SourceMailCompositionReplyStyle(value)¶
Bases:
GObject.GEnum
Set of preferred reply styles for an
EDataServer.SourceMailComposition
extension.New in version 3.20.
- DEFAULT = 0¶
Use default reply style.
- QUOTED = 1¶
Use quoted reply style.
- DO_NOT_QUOTE = 2¶
Do not quote anything in replies.
- ATTACH = 3¶
Attach original message in replies.
- OUTLOOK = 4¶
Use Outlook reply style.
- class EDataServer.SourceWeatherUnits(value)¶
Bases:
GObject.GEnum
Units to be used in an
EDataServer.SourceWeather
extension.New in version 3.18.
- FAHRENHEIT = 0¶
Fahrenheit units
- CENTIGRADE = 1¶
Centigrade units
- KELVIN = 2¶
Kelvin units
- class EDataServer.ThreeState(value)¶
Bases:
GObject.GEnum
Describes a three-state value, which can be either Off, On or Inconsistent.
New in version 3.26.
- OFF = 0¶
the three-state value is Off
- ON = 1¶
the three-state value is On
- INCONSISTENT = 2¶
the three-state value is neither On, nor Off
- class EDataServer.TimeParseStatus(value)¶
Bases:
GLib.Enum
- OK = 0¶
The time string was parsed successfully.
- NONE = 1¶
The time string was empty.
- INVALID = 2¶
The time string was not formatted correctly.
- class EDataServer.TrustPromptResponse(value)¶
Bases:
GObject.GEnum
Response codes for the trust prompt.
New in version 3.8.
- UNKNOWN = -1¶
Unknown response, usually due to some error
- REJECT = 0¶
Reject permanently
- ACCEPT = 1¶
Accept permanently
- ACCEPT_TEMPORARILY = 2¶
Accept temporarily
- REJECT_TEMPORARILY = 3¶
Reject temporarily
- class EDataServer.WebDAVACEPrincipalKind(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- HREF = 1¶
- ALL = 2¶
- AUTHENTICATED = 3¶
- UNAUTHENTICATED = 4¶
- PROPERTY = 5¶
- SELF = 6¶
- OWNER = 7¶
- class EDataServer.WebDAVPrivilegeHint(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- READ = 1¶
- UNBIND = 10¶
- ALL = 11¶
- CALDAV_READ_FREE_BUSY = 12¶
- WRITE = 2¶
- WRITE_PROPERTIES = 3¶
- WRITE_CONTENT = 4¶
- UNLOCK = 5¶
- READ_ACL = 6¶
- WRITE_ACL = 7¶
- READ_CURRENT_USER_PRIVILEGE_SET = 8¶
- BIND = 9¶
- class EDataServer.WebDAVPrivilegeKind(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- ABSTRACT = 1¶
- AGGREGATE = 2¶
- COMMON = 3¶
- class EDataServer.WebDAVResourceKind(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- ADDRESSBOOK = 1¶
- CALENDAR = 2¶
- PRINCIPAL = 3¶
- COLLECTION = 4¶
- RESOURCE = 5¶
- SUBSCRIBED_ICALENDAR = 6¶
- WEBDAV_NOTES = 7¶
- SCHEDULE_INBOX = 8¶
- SCHEDULE_OUTBOX = 9¶