|
|
@ -36,196 +36,280 @@ class WebDavPropfindProp with _$WebDavPropfindPropXmlSerializableMixin { |
|
|
|
this.ocssharepermissions, |
|
|
|
this.ocssharepermissions, |
|
|
|
this.ocmsharepermissions, |
|
|
|
this.ocmsharepermissions, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WebDavPropfindProp.fromBools({ |
|
|
|
|
|
|
|
final bool davgetlastmodified = false, |
|
|
|
|
|
|
|
final bool davgetetag = false, |
|
|
|
|
|
|
|
final bool davgetcontenttype = false, |
|
|
|
|
|
|
|
final bool davgetcontentlength = false, |
|
|
|
|
|
|
|
final bool davresourcetype = false, |
|
|
|
|
|
|
|
final bool ocid = false, |
|
|
|
|
|
|
|
final bool ocfileid = false, |
|
|
|
|
|
|
|
final bool ocfavorite = false, |
|
|
|
|
|
|
|
final bool occommentshref = false, |
|
|
|
|
|
|
|
final bool occommentscount = false, |
|
|
|
|
|
|
|
final bool occommentsunread = false, |
|
|
|
|
|
|
|
final bool ocdownloadurl = false, |
|
|
|
|
|
|
|
final bool ocownerid = false, |
|
|
|
|
|
|
|
final bool ocownerdisplayname = false, |
|
|
|
|
|
|
|
final bool ocsize = false, |
|
|
|
|
|
|
|
final bool ocpermissions = false, |
|
|
|
|
|
|
|
final bool ncnote = false, |
|
|
|
|
|
|
|
final bool ncdatafingerprint = false, |
|
|
|
|
|
|
|
final bool nchaspreview = false, |
|
|
|
|
|
|
|
final bool ncmounttype = false, |
|
|
|
|
|
|
|
final bool ncisencrypted = false, |
|
|
|
|
|
|
|
final bool ncmetadataetag = false, |
|
|
|
|
|
|
|
final bool ncuploadtime = false, |
|
|
|
|
|
|
|
final bool nccreationtime = false, |
|
|
|
|
|
|
|
final bool ncrichworkspace = false, |
|
|
|
|
|
|
|
final bool ocssharepermissions = false, |
|
|
|
|
|
|
|
final bool ocmsharepermissions = false, |
|
|
|
|
|
|
|
}) : davgetlastmodified = davgetlastmodified ? [null] : null, |
|
|
|
|
|
|
|
davgetetag = davgetetag ? [null] : null, |
|
|
|
|
|
|
|
davgetcontenttype = davgetcontenttype ? [null] : null, |
|
|
|
|
|
|
|
davgetcontentlength = davgetcontentlength ? [null] : null, |
|
|
|
|
|
|
|
davresourcetype = davresourcetype ? [null] : null, |
|
|
|
|
|
|
|
ocid = ocid ? [null] : null, |
|
|
|
|
|
|
|
ocfileid = ocfileid ? [null] : null, |
|
|
|
|
|
|
|
ocfavorite = ocfavorite ? [null] : null, |
|
|
|
|
|
|
|
occommentshref = occommentshref ? [null] : null, |
|
|
|
|
|
|
|
occommentscount = occommentscount ? [null] : null, |
|
|
|
|
|
|
|
occommentsunread = occommentsunread ? [null] : null, |
|
|
|
|
|
|
|
ocdownloadurl = ocdownloadurl ? [null] : null, |
|
|
|
|
|
|
|
ocownerid = ocownerid ? [null] : null, |
|
|
|
|
|
|
|
ocownerdisplayname = ocownerdisplayname ? [null] : null, |
|
|
|
|
|
|
|
ocsize = ocsize ? [null] : null, |
|
|
|
|
|
|
|
ocpermissions = ocpermissions ? [null] : null, |
|
|
|
|
|
|
|
ncnote = ncnote ? [null] : null, |
|
|
|
|
|
|
|
ncdatafingerprint = ncdatafingerprint ? [null] : null, |
|
|
|
|
|
|
|
nchaspreview = nchaspreview ? [null] : null, |
|
|
|
|
|
|
|
ncmounttype = ncmounttype ? [null] : null, |
|
|
|
|
|
|
|
ncisencrypted = ncisencrypted ? [null] : null, |
|
|
|
|
|
|
|
ncmetadataetag = ncmetadataetag ? [null] : null, |
|
|
|
|
|
|
|
ncuploadtime = ncuploadtime ? [null] : null, |
|
|
|
|
|
|
|
nccreationtime = nccreationtime ? [null] : null, |
|
|
|
|
|
|
|
ncrichworkspace = ncrichworkspace ? [null] : null, |
|
|
|
|
|
|
|
ocssharepermissions = ocssharepermissions ? [null] : null, |
|
|
|
|
|
|
|
ocmsharepermissions = ocmsharepermissions ? [null] : null; |
|
|
|
|
|
|
|
|
|
|
|
factory WebDavPropfindProp.fromXmlElement(final XmlElement element) => _$WebDavPropfindPropFromXmlElement(element); |
|
|
|
factory WebDavPropfindProp.fromXmlElement(final XmlElement element) => _$WebDavPropfindPropFromXmlElement(element); |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'getlastmodified', |
|
|
|
name: 'getlastmodified', |
|
|
|
namespace: namespaceDav, |
|
|
|
namespace: namespaceDav, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? davgetlastmodified; |
|
|
|
List<String?>? davgetlastmodified; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'getetag', |
|
|
|
name: 'getetag', |
|
|
|
namespace: namespaceDav, |
|
|
|
namespace: namespaceDav, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? davgetetag; |
|
|
|
List<String?>? davgetetag; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'getcontenttype', |
|
|
|
name: 'getcontenttype', |
|
|
|
namespace: namespaceDav, |
|
|
|
namespace: namespaceDav, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? davgetcontenttype; |
|
|
|
List<String?>? davgetcontenttype; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'getcontentlength', |
|
|
|
name: 'getcontentlength', |
|
|
|
namespace: namespaceDav, |
|
|
|
namespace: namespaceDav, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? davgetcontentlength; |
|
|
|
List<String?>? davgetcontentlength; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'resourcetype', |
|
|
|
name: 'resourcetype', |
|
|
|
namespace: namespaceDav, |
|
|
|
namespace: namespaceDav, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? davresourcetype; |
|
|
|
List<String?>? davresourcetype; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'id', |
|
|
|
name: 'id', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocid; |
|
|
|
List<String?>? ocid; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'fileid', |
|
|
|
name: 'fileid', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocfileid; |
|
|
|
List<String?>? ocfileid; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'favorite', |
|
|
|
name: 'favorite', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocfavorite; |
|
|
|
List<String?>? ocfavorite; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'comments-href', |
|
|
|
name: 'comments-href', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? occommentshref; |
|
|
|
List<String?>? occommentshref; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'comments-count', |
|
|
|
name: 'comments-count', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? occommentscount; |
|
|
|
List<String?>? occommentscount; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'comments-unread', |
|
|
|
name: 'comments-unread', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? occommentsunread; |
|
|
|
List<String?>? occommentsunread; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'downloadURL', |
|
|
|
name: 'downloadURL', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocdownloadurl; |
|
|
|
List<String?>? ocdownloadurl; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'owner-id', |
|
|
|
name: 'owner-id', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocownerid; |
|
|
|
List<String?>? ocownerid; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'owner-display-name', |
|
|
|
name: 'owner-display-name', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocownerdisplayname; |
|
|
|
List<String?>? ocownerdisplayname; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'size', |
|
|
|
name: 'size', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocsize; |
|
|
|
List<String?>? ocsize; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'permissions', |
|
|
|
name: 'permissions', |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
namespace: namespaceOwncloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocpermissions; |
|
|
|
List<String?>? ocpermissions; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'note', |
|
|
|
name: 'note', |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ncnote; |
|
|
|
List<String?>? ncnote; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'data-fingerprint', |
|
|
|
name: 'data-fingerprint', |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ncdatafingerprint; |
|
|
|
List<String?>? ncdatafingerprint; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'has-preview', |
|
|
|
name: 'has-preview', |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? nchaspreview; |
|
|
|
List<String?>? nchaspreview; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'mount-type', |
|
|
|
name: 'mount-type', |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ncmounttype; |
|
|
|
List<String?>? ncmounttype; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'is-encrypted', |
|
|
|
name: 'is-encrypted', |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ncisencrypted; |
|
|
|
List<String?>? ncisencrypted; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'metadata_etag', |
|
|
|
name: 'metadata_etag', |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ncmetadataetag; |
|
|
|
List<String?>? ncmetadataetag; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'upload_time', |
|
|
|
name: 'upload_time', |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ncuploadtime; |
|
|
|
List<String?>? ncuploadtime; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'creation_time', |
|
|
|
name: 'creation_time', |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? nccreationtime; |
|
|
|
List<String?>? nccreationtime; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'rich-workspace', |
|
|
|
name: 'rich-workspace', |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
namespace: namespaceNextcloud, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ncrichworkspace; |
|
|
|
List<String?>? ncrichworkspace; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'share-permissions', |
|
|
|
name: 'share-permissions', |
|
|
|
namespace: namespaceOpenCollaborationServices, |
|
|
|
namespace: namespaceOpenCollaborationServices, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocssharepermissions; |
|
|
|
List<String?>? ocssharepermissions; |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|
name: 'share-permissions', |
|
|
|
name: 'share-permissions', |
|
|
|
namespace: namespaceOpenCloudMesh, |
|
|
|
namespace: namespaceOpenCloudMesh, |
|
|
|
includeIfNull: false, |
|
|
|
includeIfNull: true, |
|
|
|
|
|
|
|
isSelfClosing: true, |
|
|
|
) |
|
|
|
) |
|
|
|
bool? ocmsharepermissions; |
|
|
|
List<String?>? ocmsharepermissions; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlSerializable(createMixin: true) |
|
|
|
@annotation.XmlSerializable(createMixin: true) |
|
|
@ -260,6 +344,7 @@ class WebDavProp with _$WebDavPropXmlSerializableMixin { |
|
|
|
this.ocssharepermissions, |
|
|
|
this.ocssharepermissions, |
|
|
|
this.ocmsharepermissions, |
|
|
|
this.ocmsharepermissions, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
factory WebDavProp.fromXmlElement(final XmlElement element) => _$WebDavPropFromXmlElement(element); |
|
|
|
factory WebDavProp.fromXmlElement(final XmlElement element) => _$WebDavPropFromXmlElement(element); |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
@ -484,6 +569,7 @@ class WebDavOcFilterRules with _$WebDavOcFilterRulesXmlSerializableMixin { |
|
|
|
this.ocssharepermissions, |
|
|
|
this.ocssharepermissions, |
|
|
|
this.ocmsharepermissions, |
|
|
|
this.ocmsharepermissions, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
factory WebDavOcFilterRules.fromXmlElement(final XmlElement element) => _$WebDavOcFilterRulesFromXmlElement(element); |
|
|
|
factory WebDavOcFilterRules.fromXmlElement(final XmlElement element) => _$WebDavOcFilterRulesFromXmlElement(element); |
|
|
|
|
|
|
|
|
|
|
|
@annotation.XmlElement( |
|
|
|
@annotation.XmlElement( |
|
|
|