EDataServer.WebDAVPropertyChange

Fields

Name

Type

Access

Description

kind

EDataServer.WebDAVPropertyChangeKind

r/w

name

str

r/w

ns_uri

str

r/w

value

str

r/w

Methods

class

free (ptr)

class

new_remove (ns_uri, name)

class

new_set (ns_uri, name, value)

copy ()

Details

class EDataServer.WebDAVPropertyChange
classmethod free(ptr)
Parameters:

ptr (object or None) – an EDataServer.WebDAVPropertyChange

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

New in version 3.26.

classmethod new_remove(ns_uri, name)
Parameters:
  • ns_uri (str) – namespace URI of the property

  • name (str) – name of the property

Returns:

A new EDataServer.WebDAVPropertyChange. Free it with EDataServer.WebDAVPropertyChange.free(), when no longer needed.

Return type:

EDataServer.WebDAVPropertyChange

Creates a new EDataServer.WebDAVPropertyChange of kind EDataServer.WebDAVPropertyChangeKind.REMOVE, which is used to remove the given property. To change property value use EDataServer.WebDAVPropertyChange.new_set() instead.

New in version 3.26.

classmethod new_set(ns_uri, name, value)
Parameters:
  • ns_uri (str) – namespace URI of the property

  • name (str) – name of the property

  • value (str or None) – value of the property, or None for empty value

Returns:

A new EDataServer.WebDAVPropertyChange. Free it with EDataServer.WebDAVPropertyChange.free(), when no longer needed.

Return type:

EDataServer.WebDAVPropertyChange

Creates a new EDataServer.WebDAVPropertyChange of kind EDataServer.WebDAVPropertyChangeKind.SET, which is used to modify or set the property value. The value is a string representation of the value to store. It can be None, but it means an empty value, not to remove it. To remove property use EDataServer.WebDAVPropertyChange.new_remove() instead.

New in version 3.26.

copy()
Returns:

A new EDataServer.WebDAVPropertyChange prefilled with the same values as self, or None, when self is None. Free it with EDataServer.WebDAVPropertyChange.free(), when no longer needed.

Return type:

EDataServer.WebDAVPropertyChange or None

New in version 3.26.