DAVProperty Type

A property that is either sent to or received from the server.

Remarks

This type defines a property that is used when the class sends a property find or patch request to the server. When FindProperties is used, this property will be populated with the properties returned from the server. When a call is made to PatchProperties, the class will use the information provided by this type to tell the server what to do with the property being specified.

Fields

attr
String

This property shows the attribute string for the specified DAV property.

name
String

This property shows the name of the DAV property sent to or received from the server.

namespaceURI
String

This property shows the DAV property namespace. The default URI is "DAV:". This value may be changed if a desired namespace is different from the default namespace.

operation
DAVPropertyOperations

This property shows the operation to perform on a property when calling PatchProperties.

This is used when the class sends a property patch request to the server. When a call is made to PatchProperties, the class will use the Operation to tell the server what to do under the following scheme:

opNone (0)No operation will be performed on the property.
opSet (1)The value of Name will be set to Value.
opDelete (2)The property defined by Name will be removed from its resource.

status
String

This property shows the status of the retrieved DAV property. If the property is successfully retrieved, Status contains the string "OK". Otherwise, it contains the HTTP status and description provided by the server.

After a call to FindProperties, the Properties properties will contain the name, value and status of DAV property returned by the server. The contents of the properties changes for every matching resource (ResourceProperties event). After the call completes, the properties will contain the values of the last matching resource.

value
String

This property shows the value of the DAV property.

Constructors

public init()
public init(name: String)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 macOS Edition - Version 20.0 [Build 8307]