EDataServer.WebDAVResource

Fields

Name Type Access Description
color str r/w  
content_length int r/w  
content_type str r/w  
creation_date int r/w  
description str r/w  
display_name str r/w  
etag str r/w  
href str r/w  
kind EDataServer.WebDAVResourceKind r/w  
last_modified int r/w  
supports int r/w  

Methods

class free (ptr)
class new (kind, supports, href, etag, display_name, content_type, content_length, creation_date, last_modified, description, color)
  copy ()

Details

class EDataServer.WebDAVResource
classmethod free(ptr)
Parameters:ptr (object or None) – an EDataServer.WebDAVResource

Frees an EDataServer.WebDAVResource previously created with EDataServer.WebDAVResource.new() or EDataServer.WebDAVResource.copy(). The function does nothing, if ptr is None.

New in version 3.26.

classmethod new(kind, supports, href, etag, display_name, content_type, content_length, creation_date, last_modified, description, color)
Parameters:
Returns:

A newly created EDataServer.WebDAVResource, prefilled with given values. Free it with EDataServer.WebDAVResource.free(), when no longer needed.

Return type:

EDataServer.WebDAVResource

Some values of the resource are not always valid, depending on the kind, but also whether server stores such values and whether it had been asked for them to be fetched.

The etag for EDataServer.WebDAVResourceKind.COLLECTION can be a change tag instead.

New in version 3.26.

copy()
Returns:A new EDataServer.WebDAVResource prefilled with the same values as self, or None, when self is None. Free it with EDataServer.WebDAVResource.free(), when no longer needed.
Return type:EDataServer.WebDAVResource

New in version 3.26.