EDataServer.WebDAVPropertyChange¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
kind |
r/w |
||
name |
r/w |
||
ns_uri |
r/w |
||
value |
r/w |
Methods¶
class |
|
class |
|
class |
|
|
Details¶
- class EDataServer.WebDAVPropertyChange¶
- classmethod free(ptr)¶
- Parameters:
ptr (
object
orNone
) – anEDataServer.WebDAVPropertyChange
Frees an
EDataServer.WebDAVPropertyChange
previously created withEDataServer.WebDAVPropertyChange.new_set
(),EDataServer.WebDAVPropertyChange.new_remove
() or orEDataServer.WebDAVPropertyChange.copy
(). The function does nothing, if ptr isNone
.New in version 3.26.
- classmethod new_remove(ns_uri, name)¶
- Parameters:
- Returns:
A new
EDataServer.WebDAVPropertyChange
. Free it withEDataServer.WebDAVPropertyChange.free
(), when no longer needed.- Return type:
Creates a new
EDataServer.WebDAVPropertyChange
of kindEDataServer.WebDAVPropertyChangeKind.REMOVE
, which is used to remove the given property. To change property value useEDataServer.WebDAVPropertyChange.new_set
() instead.New in version 3.26.
- classmethod new_set(ns_uri, name, value)¶
- Parameters:
- Returns:
A new
EDataServer.WebDAVPropertyChange
. Free it withEDataServer.WebDAVPropertyChange.free
(), when no longer needed.- Return type:
Creates a new
EDataServer.WebDAVPropertyChange
of kindEDataServer.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 beNone
, but it means an empty value, not to remove it. To remove property useEDataServer.WebDAVPropertyChange.new_remove
() instead.New in version 3.26.
- copy()¶
- Returns:
A new
EDataServer.WebDAVPropertyChange
prefilled with the same values as self, orNone
, when self isNone
. Free it withEDataServer.WebDAVPropertyChange.free
(), when no longer needed.- Return type:
New in version 3.26.