Browse Source

Merge pull request #147 from provokateurin/fix/capabilities

specs,nextcloud: Allow unknow capability keys at every level
pull/148/head
Kate 2 years ago committed by GitHub
parent
commit
fdfb10884f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 88
      packages/nextcloud/lib/src/nextcloud.openapi.dart
  2. 463
      packages/nextcloud/lib/src/nextcloud.openapi.g.dart
  3. 44
      packages/nextcloud/lib/src/nextcloud.openapi.json
  4. 44
      specs/core.json

88
packages/nextcloud/lib/src/nextcloud.openapi.dart

@ -1373,7 +1373,7 @@ class CoreServerCapabilities_Ocs_Data_Version {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Version data) => json.encode(data.toJson()); static String toJsonString(CoreServerCapabilities_Ocs_Data_Version data) => json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Core { class CoreServerCapabilities_Ocs_Data_Capabilities_Core {
CoreServerCapabilities_Ocs_Data_Capabilities_Core({ CoreServerCapabilities_Ocs_Data_Capabilities_Core({
required this.pollinterval, required this.pollinterval,
@ -1406,7 +1406,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Core {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Core data) => json.encode(data.toJson()); static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Core data) => json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce { class CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce {
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce({required this.delay}); CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce({required this.delay});
@ -1426,7 +1426,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable { class CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable {
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable({ CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable({
required this.size, required this.size,
@ -1452,7 +1452,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing { class CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing {
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing({ CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing({
required this.url, required this.url,
@ -1478,7 +1478,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Files { class CoreServerCapabilities_Ocs_Data_Capabilities_Files {
CoreServerCapabilities_Ocs_Data_Capabilities_Files({ CoreServerCapabilities_Ocs_Data_Capabilities_Files({
required this.bigfilechunking, required this.bigfilechunking,
@ -1515,7 +1515,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Files {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Files data) => json.encode(data.toJson()); static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Files data) => json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Activity { class CoreServerCapabilities_Ocs_Data_Capabilities_Activity {
CoreServerCapabilities_Ocs_Data_Capabilities_Activity({required this.apiv2}); CoreServerCapabilities_Ocs_Data_Capabilities_Activity({required this.apiv2});
@ -1534,7 +1534,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Activity {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Activity data) => json.encode(data.toJson()); static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Activity data) => json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status { class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status({required this.globalScale}); CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status({required this.globalScale});
@ -1554,7 +1554,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings { class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings({ CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings({
required this.frontendEnabled, required this.frontendEnabled,
@ -1585,7 +1585,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source { class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source({ CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source({
required this.core, required this.core,
@ -1613,7 +1613,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Sour
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants { class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants({ CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants({
required this.flags, required this.flags,
@ -1639,7 +1639,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config { class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config({ CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config({
required this.coreFlags, required this.coreFlags,
@ -1665,7 +1665,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle { class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle({ CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle({
required this.constants, required this.constants,
@ -1690,7 +1690,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants { class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants({required this.level}); CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants({required this.level});
@ -1711,7 +1711,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member { class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member({ CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member({
required this.constants, required this.constants,
@ -1736,7 +1736,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles { class CoreServerCapabilities_Ocs_Data_Capabilities_Circles {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles({ CoreServerCapabilities_Ocs_Data_Capabilities_Circles({
required this.version, required this.version,
@ -1769,7 +1769,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Circles data) => json.encode(data.toJson()); static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Circles data) => json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols { class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols {
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols({required this.webdav}); CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols({required this.webdav});
@ -1792,7 +1792,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes { class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes {
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes({ CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes({
required this.name, required this.name,
@ -1821,7 +1821,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm { class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm {
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm({ CoreServerCapabilities_Ocs_Data_Capabilities_Ocm({
required this.enabled, required this.enabled,
@ -1851,7 +1851,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm data) => json.encode(data.toJson()); static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm data) => json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Dav { class CoreServerCapabilities_Ocs_Data_Capabilities_Dav {
CoreServerCapabilities_Ocs_Data_Capabilities_Dav({ CoreServerCapabilities_Ocs_Data_Capabilities_Dav({
this.bulkupload, this.bulkupload,
@ -1875,7 +1875,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Dav {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Dav data) => json.encode(data.toJson()); static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Dav data) => json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password({
required this.enforced, required this.enforced,
@ -1903,7 +1903,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate({required this.enabled}); CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate({required this.enabled});
@ -1926,7 +1926,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDat
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal({required this.enabled}); CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal({required this.enabled});
@ -1951,7 +1951,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDat
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote({required this.enabled}); CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote({required this.enabled});
@ -1975,7 +1975,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDat
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public({
required this.enabled, required this.enabled,
@ -2028,7 +2028,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate({required this.enabled}); CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate({required this.enabled});
@ -2051,7 +2051,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User({
required this.sendMail, required this.sendMail,
@ -2079,7 +2079,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate({required this.enabled}); CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate({required this.enabled});
@ -2102,7 +2102,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group({
required this.enabled, required this.enabled,
@ -2129,7 +2129,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate({required this.enabled}); CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate({required this.enabled});
@ -2152,7 +2152,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_Expir
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported({required this.enabled}); CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported({required this.enabled});
@ -2177,7 +2177,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_Expir
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation({
required this.outgoing, required this.outgoing,
@ -2211,7 +2211,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee({
required this.queryLookupDefault, required this.queryLookupDefault,
@ -2239,7 +2239,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop({required this.enabled}); CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop({required this.enabled});
@ -2264,7 +2264,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Uplo
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password({
required this.enabled, required this.enabled,
@ -2292,7 +2292,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Pass
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate({
required this.enabled, required this.enabled,
@ -2321,7 +2321,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Expi
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail({
required this.enabled, required this.enabled,
@ -2359,7 +2359,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing { class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing({ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing({
required this.apiEnabled, required this.apiEnabled,
@ -2411,7 +2411,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Notes { class CoreServerCapabilities_Ocs_Data_Capabilities_Notes {
CoreServerCapabilities_Ocs_Data_Capabilities_Notes({ CoreServerCapabilities_Ocs_Data_Capabilities_Notes({
required this.apiVersion, required this.apiVersion,
@ -2436,7 +2436,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Notes {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Notes data) => json.encode(data.toJson()); static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Notes data) => json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Notifications { class CoreServerCapabilities_Ocs_Data_Capabilities_Notifications {
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications({ CoreServerCapabilities_Ocs_Data_Capabilities_Notifications({
required this.ocsEndpoints, required this.ocsEndpoints,
@ -2466,7 +2466,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Notifications {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api { class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api {
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api({ CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api({
required this.generate, required this.generate,
@ -2492,7 +2492,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy { class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy {
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy({ CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy({
required this.minLength, required this.minLength,
@ -2529,7 +2529,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi { class CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi {
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi({ CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi({
required this.version, required this.version,
@ -2563,7 +2563,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi {
json.encode(data.toJson()); json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Theming { class CoreServerCapabilities_Ocs_Data_Capabilities_Theming {
CoreServerCapabilities_Ocs_Data_Capabilities_Theming({ CoreServerCapabilities_Ocs_Data_Capabilities_Theming({
required this.name, required this.name,
@ -2629,7 +2629,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Theming {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Theming data) => json.encode(data.toJson()); static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Theming data) => json.encode(data.toJson());
} }
@JsonSerializable() @JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus { class CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus {
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus({ CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus({
required this.enabled, required this.enabled,

463
packages/nextcloud/lib/src/nextcloud.openapi.g.dart

@ -92,18 +92,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_VersionToJson(
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Core _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreFromJson( CoreServerCapabilities_Ocs_Data_Capabilities_Core _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Core(
json,
allowedKeys: const ['pollinterval', 'webdav-root', 'reference-api', 'reference-regex'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Core(
pollinterval: json['pollinterval'] as int, pollinterval: json['pollinterval'] as int,
webdavRoot: json['webdav-root'] as String, webdavRoot: json['webdav-root'] as String,
referenceApi: json['reference-api'] as bool, referenceApi: json['reference-api'] as bool,
referenceRegex: json['reference-regex'] as String, referenceRegex: json['reference-regex'] as String,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Core instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Core instance) =>
@ -115,15 +110,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreToJson(
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce
_$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce(
json,
allowedKeys: const ['delay'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce(
delay: json['delay'] as int, delay: json['delay'] as int,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce instance) =>
@ -132,16 +122,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceTo
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable
_$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable(
json,
allowedKeys: const ['size', 'gps'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable(
size: (json['size'] as List<dynamic>).map((e) => e as String).toList(), size: (json['size'] as List<dynamic>).map((e) => e as String).toList(),
gps: (json['gps'] as List<dynamic>).map((e) => e as String).toList(), gps: (json['gps'] as List<dynamic>).map((e) => e as String).toList(),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable instance) => CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable instance) =>
@ -151,16 +136,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvai
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing
_$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing(
json,
allowedKeys: const ['url', 'etag'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing(
url: json['url'] as String, url: json['url'] as String,
etag: json['etag'] as String, etag: json['etag'] as String,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing instance) =>
@ -170,12 +150,8 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_Direct
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Files _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesFromJson( CoreServerCapabilities_Ocs_Data_Capabilities_Files _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Files(
json,
allowedKeys: const ['bigfilechunking', 'blacklisted_files', 'directEditing', 'comments', 'undelete', 'versioning'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Files(
bigfilechunking: json['bigfilechunking'] as bool, bigfilechunking: json['bigfilechunking'] as bool,
blacklistedFiles: (json['blacklisted_files'] as List<dynamic>).map((e) => e as String).toList(), blacklistedFiles: (json['blacklisted_files'] as List<dynamic>).map((e) => e as String).toList(),
directEditing: CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing.fromJson( directEditing: CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing.fromJson(
@ -184,7 +160,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_Files _$CoreServerCapabilities_Ocs_
undelete: json['undelete'] as bool, undelete: json['undelete'] as bool,
versioning: json['versioning'] as bool, versioning: json['versioning'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Files instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Files instance) =>
@ -198,15 +173,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesToJson(
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Activity _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityFromJson( CoreServerCapabilities_Ocs_Data_Capabilities_Activity _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Activity(
json,
allowedKeys: const ['apiv2'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Activity(
apiv2: (json['apiv2'] as List<dynamic>).map((e) => e as String).toList(), apiv2: (json['apiv2'] as List<dynamic>).map((e) => e as String).toList(),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Activity instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Activity instance) =>
@ -215,15 +185,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityToJs
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status(
json,
allowedKeys: const ['globalScale'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status(
globalScale: json['globalScale'] as bool, globalScale: json['globalScale'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status instance) =>
@ -232,18 +197,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Stat
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings(
json,
allowedKeys: const ['frontendEnabled', 'allowedCircles', 'allowedUserTypes', 'membersLimit'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings(
frontendEnabled: json['frontendEnabled'] as bool, frontendEnabled: json['frontendEnabled'] as bool,
allowedCircles: json['allowedCircles'] as int, allowedCircles: json['allowedCircles'] as int,
allowedUserTypes: json['allowedUserTypes'] as int, allowedUserTypes: json['allowedUserTypes'] as int,
membersLimit: json['membersLimit'] as int, membersLimit: json['membersLimit'] as int,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings instance) =>
@ -255,16 +215,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Sett
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source(
json,
allowedKeys: const ['core', 'extra'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source(
core: json['core'], core: json['core'],
extra: json['extra'], extra: json['extra'],
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source instance) =>
@ -274,17 +229,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circ
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants(
json,
allowedKeys: const ['flags', 'source'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants(
flags: json['flags'], flags: json['flags'],
source: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source.fromJson( source: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source.fromJson(
json['source'] as Map<String, dynamic>), json['source'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants instance) =>
@ -294,16 +244,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circ
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config(
json,
allowedKeys: const ['coreFlags', 'systemFlags'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config(
coreFlags: (json['coreFlags'] as List<dynamic>).map((e) => e as int).toList(), coreFlags: (json['coreFlags'] as List<dynamic>).map((e) => e as int).toList(),
systemFlags: (json['systemFlags'] as List<dynamic>).map((e) => e as int).toList(), systemFlags: (json['systemFlags'] as List<dynamic>).map((e) => e as int).toList(),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config instance) =>
@ -313,18 +258,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circ
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle(
json,
allowedKeys: const ['constants', 'config'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle(
constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants.fromJson( constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants.fromJson(
json['constants'] as Map<String, dynamic>), json['constants'] as Map<String, dynamic>),
config: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config.fromJson( config: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config.fromJson(
json['config'] as Map<String, dynamic>), json['config'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle instance) =>
@ -334,15 +274,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circ
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants(
json,
allowedKeys: const ['level'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants(
level: json['level'], level: json['level'],
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants instance) =>
@ -351,17 +286,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Memb
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member(
json,
allowedKeys: const ['constants', 'type'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member(
constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants.fromJson( constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants.fromJson(
json['constants'] as Map<String, dynamic>), json['constants'] as Map<String, dynamic>),
type: json['type'], type: json['type'],
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member instance) =>
@ -371,12 +301,8 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Memb
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Circles _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesFromJson( CoreServerCapabilities_Ocs_Data_Capabilities_Circles _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Circles(
json,
allowedKeys: const ['version', 'status', 'settings', 'circle', 'member'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles(
version: json['version'] as String, version: json['version'] as String,
status: status:
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status.fromJson(json['status'] as Map<String, dynamic>), CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status.fromJson(json['status'] as Map<String, dynamic>),
@ -387,7 +313,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_Circles _$CoreServerCapabilities_Oc
member: member:
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member.fromJson(json['member'] as Map<String, dynamic>), CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member.fromJson(json['member'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Circles instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Circles instance) =>
@ -400,15 +325,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesToJso
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols
_$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols(
json,
allowedKeys: const ['webdav'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols(
webdav: json['webdav'] as String, webdav: json['webdav'] as String,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols instance) =>
@ -417,18 +337,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_Resource
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes
_$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes(
json,
allowedKeys: const ['name', 'shareTypes', 'protocols'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes(
name: json['name'] as String, name: json['name'] as String,
shareTypes: (json['shareTypes'] as List<dynamic>).map((e) => e as String).toList(), shareTypes: (json['shareTypes'] as List<dynamic>).map((e) => e as String).toList(),
protocols: CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols.fromJson( protocols: CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols.fromJson(
json['protocols'] as Map<String, dynamic>), json['protocols'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes instance) =>
@ -439,20 +354,16 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_Resource
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmFromJson( CoreServerCapabilities_Ocs_Data_Capabilities_Ocm _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Ocm(
json,
allowedKeys: const ['enabled', 'apiVersion', 'endPoint', 'resourceTypes'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Ocm(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
apiVersion: json['apiVersion'] as String, apiVersion: json['apiVersion'] as String,
endPoint: json['endPoint'] as String, endPoint: json['endPoint'] as String,
resourceTypes: (json['resourceTypes'] as List<dynamic>) resourceTypes: (json['resourceTypes'] as List<dynamic>)
.map((e) => CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes.fromJson(e as Map<String, dynamic>)) .map(
(e) => CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes.fromJson(e as Map<String, dynamic>))
.toList(), .toList(),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Ocm instance) =>
@ -464,16 +375,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmToJson(
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Dav _$CoreServerCapabilities_Ocs_Data_Capabilities_DavFromJson( CoreServerCapabilities_Ocs_Data_Capabilities_Dav _$CoreServerCapabilities_Ocs_Data_Capabilities_DavFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Dav(
json,
allowedKeys: const ['bulkupload', 'chunking'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Dav(
bulkupload: json['bulkupload'] as String?, bulkupload: json['bulkupload'] as String?,
chunking: json['chunking'] as String, chunking: json['chunking'] as String,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_DavToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_DavToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Dav instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Dav instance) =>
@ -483,16 +389,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_DavToJson(
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password(
json,
allowedKeys: const ['enforced', 'askForOptionalPassword'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password(
enforced: json['enforced'] as bool, enforced: json['enforced'] as bool,
askForOptionalPassword: json['askForOptionalPassword'] as bool, askForOptionalPassword: json['askForOptionalPassword'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password instance) =>
@ -502,15 +403,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate(
json,
allowedKeys: const ['enabled'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate instance) =>
@ -520,15 +416,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalFromJson( _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal(
json,
allowedKeys: const ['enabled'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal instance) =>
@ -538,15 +429,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteFromJson( _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote(
json,
allowedKeys: const ['enabled'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote instance) =>
@ -555,29 +441,16 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public(
json,
allowedKeys: const [
'enabled',
'password',
'expire_date',
'multiple_links',
'expire_date_internal',
'expire_date_remote',
'send_mail',
'upload',
'upload_files_drop'
],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
password: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password.fromJson( password: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password.fromJson(
json['password'] as Map<String, dynamic>), json['password'] as Map<String, dynamic>),
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson( expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson(
json['expire_date'] as Map<String, dynamic>), json['expire_date'] as Map<String, dynamic>),
multipleLinks: json['multiple_links'] as bool, multipleLinks: json['multiple_links'] as bool,
expireDateInternal: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.fromJson( expireDateInternal:
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.fromJson(
json['expire_date_internal'] as Map<String, dynamic>), json['expire_date_internal'] as Map<String, dynamic>),
expireDateRemote: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.fromJson( expireDateRemote: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.fromJson(
json['expire_date_remote'] as Map<String, dynamic>), json['expire_date_remote'] as Map<String, dynamic>),
@ -585,7 +458,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public
upload: json['upload'] as bool, upload: json['upload'] as bool,
uploadFilesDrop: json['upload_files_drop'] as bool, uploadFilesDrop: json['upload_files_drop'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public instance) =>
@ -602,15 +474,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate(
json,
allowedKeys: const ['enabled'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate instance) =>
@ -619,17 +486,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User(
json,
allowedKeys: const ['send_mail', 'expire_date'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User(
sendMail: json['send_mail'] as bool, sendMail: json['send_mail'] as bool,
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.fromJson( expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.fromJson(
json['expire_date'] as Map<String, dynamic>), json['expire_date'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User instance) =>
@ -639,15 +501,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate(
json,
allowedKeys: const ['enabled'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate instance) =>
@ -656,17 +513,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group(
json,
allowedKeys: const ['enabled', 'expire_date'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.fromJson( expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.fromJson(
json['expire_date'] as Map<String, dynamic>), json['expire_date'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group instance) =>
@ -677,15 +529,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateFromJson( _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate(
json,
allowedKeys: const ['enabled'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate instance) =>
@ -695,15 +542,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedFromJson( _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported(
json,
allowedKeys: const ['enabled'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported instance) =>
@ -712,12 +554,8 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation(
json,
allowedKeys: const ['outgoing', 'incoming', 'expire_date', 'expire_date_supported'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation(
outgoing: json['outgoing'] as bool, outgoing: json['outgoing'] as bool,
incoming: json['incoming'] as bool, incoming: json['incoming'] as bool,
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.fromJson( expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.fromJson(
@ -726,7 +564,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson(
json['expire_date_supported'] as Map<String, dynamic>), json['expire_date_supported'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation instance) =>
@ -738,16 +575,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee(
json,
allowedKeys: const ['query_lookup_default', 'always_show_unique'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee(
queryLookupDefault: json['query_lookup_default'] as bool, queryLookupDefault: json['query_lookup_default'] as bool,
alwaysShowUnique: json['always_show_unique'] as bool, alwaysShowUnique: json['always_show_unique'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee instance) =>
@ -758,15 +590,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropFromJson( _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop(
json,
allowedKeys: const ['enabled'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop instance) =>
@ -776,16 +603,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordFromJson( _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password(
json,
allowedKeys: const ['enabled', 'enforced'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
enforced: json['enforced'] as bool, enforced: json['enforced'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password instance) =>
@ -796,16 +618,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateFromJson( _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate(
json,
allowedKeys: const ['enabled', 'enforced'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
enforced: json['enforced'] as bool, enforced: json['enforced'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate instance) =>
@ -815,22 +632,18 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail(
json,
allowedKeys: const ['enabled', 'send_password_by_mail', 'upload_files_drop', 'password', 'expire_date'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
sendPasswordByMail: json['send_password_by_mail'] as bool, sendPasswordByMail: json['send_password_by_mail'] as bool,
uploadFilesDrop: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson( uploadFilesDrop:
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson(
json['upload_files_drop'] as Map<String, dynamic>), json['upload_files_drop'] as Map<String, dynamic>),
password: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password.fromJson( password: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password.fromJson(
json['password'] as Map<String, dynamic>), json['password'] as Map<String, dynamic>),
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate.fromJson( expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate.fromJson(
json['expire_date'] as Map<String, dynamic>), json['expire_date'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail instance) =>
@ -843,31 +656,17 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing(
json,
allowedKeys: const [
'api_enabled',
'public',
'resharing',
'user',
'group_sharing',
'group',
'default_permissions',
'federation',
'sharee',
'sharebymail'
],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing(
apiEnabled: json['api_enabled'] as bool, apiEnabled: json['api_enabled'] as bool,
public: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public.fromJson( public: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public.fromJson(
json['public'] as Map<String, dynamic>), json['public'] as Map<String, dynamic>),
resharing: json['resharing'] as bool, resharing: json['resharing'] as bool,
user: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User.fromJson(json['user'] as Map<String, dynamic>), user: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User.fromJson(
json['user'] as Map<String, dynamic>),
groupSharing: json['group_sharing'] as bool, groupSharing: json['group_sharing'] as bool,
group: group: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group.fromJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group.fromJson(json['group'] as Map<String, dynamic>), json['group'] as Map<String, dynamic>),
defaultPermissions: json['default_permissions'] as int, defaultPermissions: json['default_permissions'] as int,
federation: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson( federation: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson(
json['federation'] as Map<String, dynamic>), json['federation'] as Map<String, dynamic>),
@ -876,7 +675,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
sharebymail: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail.fromJson( sharebymail: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail.fromJson(
json['sharebymail'] as Map<String, dynamic>), json['sharebymail'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing instance) => CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing instance) =>
@ -894,16 +692,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Notes _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesFromJson( CoreServerCapabilities_Ocs_Data_Capabilities_Notes _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Notes(
json,
allowedKeys: const ['api_version', 'version'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Notes(
apiVersion: (json['api_version'] as List<dynamic>).map((e) => e as String).toList(), apiVersion: (json['api_version'] as List<dynamic>).map((e) => e as String).toList(),
version: json['version'] as String, version: json['version'] as String,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Notes instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Notes instance) =>
@ -913,17 +706,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesToJson(
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications CoreServerCapabilities_Ocs_Data_Capabilities_Notifications
_$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Notifications(
json,
allowedKeys: const ['ocs-endpoints', 'push', 'admin-notifications'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Notifications(
ocsEndpoints: (json['ocs-endpoints'] as List<dynamic>).map((e) => e as String).toList(), ocsEndpoints: (json['ocs-endpoints'] as List<dynamic>).map((e) => e as String).toList(),
push: (json['push'] as List<dynamic>).map((e) => e as String).toList(), push: (json['push'] as List<dynamic>).map((e) => e as String).toList(),
adminNotifications: (json['admin-notifications'] as List<dynamic>).map((e) => e as String).toList(), adminNotifications: (json['admin-notifications'] as List<dynamic>).map((e) => e as String).toList(),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Notifications instance) =>
@ -934,16 +722,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Notification
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api
_$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api(
json,
allowedKeys: const ['generate', 'validate'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api(
generate: json['generate'] as String, generate: json['generate'] as String,
validate: json['validate'] as String, validate: json['validate'] as String,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api instance) => CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api instance) =>
@ -953,27 +736,16 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPoli
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy
_$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy(
json,
allowedKeys: const [
'minLength',
'enforceNonCommonPassword',
'enforceNumericCharacters',
'enforceSpecialCharacters',
'enforceUpperLowerCase',
'api'
],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy(
minLength: json['minLength'] as int, minLength: json['minLength'] as int,
enforceNonCommonPassword: json['enforceNonCommonPassword'] as bool, enforceNonCommonPassword: json['enforceNonCommonPassword'] as bool,
enforceNumericCharacters: json['enforceNumericCharacters'] as bool, enforceNumericCharacters: json['enforceNumericCharacters'] as bool,
enforceSpecialCharacters: json['enforceSpecialCharacters'] as bool, enforceSpecialCharacters: json['enforceSpecialCharacters'] as bool,
enforceUpperLowerCase: json['enforceUpperLowerCase'] as bool, enforceUpperLowerCase: json['enforceUpperLowerCase'] as bool,
api: CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api.fromJson(json['api'] as Map<String, dynamic>), api: CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api.fromJson(
json['api'] as Map<String, dynamic>),
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy instance) => CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy instance) =>
@ -987,23 +759,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPoli
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi
_$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi(
json,
allowedKeys: const [
'version',
'AccountPropertyScopesVersion',
'AccountPropertyScopesFederatedEnabled',
'AccountPropertyScopesPublishedEnabled'
],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi(
version: json['version'] as String, version: json['version'] as String,
accountPropertyScopesVersion: json['AccountPropertyScopesVersion'] as int, accountPropertyScopesVersion: json['AccountPropertyScopesVersion'] as int,
accountPropertyScopesFederatedEnabled: json['AccountPropertyScopesFederatedEnabled'] as bool, accountPropertyScopesFederatedEnabled: json['AccountPropertyScopesFederatedEnabled'] as bool,
accountPropertyScopesPublishedEnabled: json['AccountPropertyScopesPublishedEnabled'] as bool, accountPropertyScopesPublishedEnabled: json['AccountPropertyScopesPublishedEnabled'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi instance) => CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi instance) =>
@ -1015,27 +777,8 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Provisioning
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_Theming _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingFromJson( CoreServerCapabilities_Ocs_Data_Capabilities_Theming _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingFromJson(
Map<String, dynamic> json) { Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_Theming(
json,
allowedKeys: const [
'name',
'url',
'slogan',
'color',
'color-text',
'color-element',
'color-element-bright',
'color-element-dark',
'logo',
'background',
'background-plain',
'background-default',
'logoheader',
'favicon'
],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_Theming(
name: json['name'] as String, name: json['name'] as String,
url: json['url'] as String, url: json['url'] as String,
slogan: json['slogan'] as String, slogan: json['slogan'] as String,
@ -1051,7 +794,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_Theming _$CoreServerCapabilities_Oc
logoheader: json['logoheader'] as String, logoheader: json['logoheader'] as String,
favicon: json['favicon'] as String, favicon: json['favicon'] as String,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_Theming instance) => CoreServerCapabilities_Ocs_Data_Capabilities_Theming instance) =>
@ -1073,16 +815,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingToJso
}; };
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus
_$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusFromJson(Map<String, dynamic> json) { _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusFromJson(Map<String, dynamic> json) =>
$checkKeys( CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus(
json,
allowedKeys: const ['enabled', 'supports_emoji'],
);
return CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus(
enabled: json['enabled'] as bool, enabled: json['enabled'] as bool,
supportsEmoji: json['supports_emoji'] as bool, supportsEmoji: json['supports_emoji'] as bool,
); );
}
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusToJson( Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusToJson(
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus instance) => CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus instance) =>

44
packages/nextcloud/lib/src/nextcloud.openapi.json

@ -202,6 +202,7 @@
"properties": { "properties": {
"core": { "core": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"pollinterval", "pollinterval",
"webdav-root", "webdav-root",
@ -225,6 +226,7 @@
}, },
"bruteforce": { "bruteforce": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"delay" "delay"
], ],
@ -236,6 +238,7 @@
}, },
"metadataAvailable": { "metadataAvailable": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"size", "size",
"gps" "gps"
@ -257,6 +260,7 @@
}, },
"files": { "files": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"bigfilechunking", "bigfilechunking",
"blacklisted_files", "blacklisted_files",
@ -277,6 +281,7 @@
}, },
"directEditing": { "directEditing": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"url", "url",
"etag" "etag"
@ -303,6 +308,7 @@
}, },
"activity": { "activity": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"apiv2" "apiv2"
], ],
@ -317,6 +323,7 @@
}, },
"circles": { "circles": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"version", "version",
"status", "status",
@ -330,6 +337,7 @@
}, },
"status": { "status": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"globalScale" "globalScale"
], ],
@ -341,6 +349,7 @@
}, },
"settings": { "settings": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"frontendEnabled", "frontendEnabled",
"allowedCircles", "allowedCircles",
@ -364,6 +373,7 @@
}, },
"circle": { "circle": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"constants", "constants",
"config" "config"
@ -371,6 +381,7 @@
"properties": { "properties": {
"constants": { "constants": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"flags", "flags",
"source" "source"
@ -381,6 +392,7 @@
}, },
"source": { "source": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"core", "core",
"extra" "extra"
@ -398,6 +410,7 @@
}, },
"config": { "config": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"coreFlags", "coreFlags",
"systemFlags" "systemFlags"
@ -421,6 +434,7 @@
}, },
"member": { "member": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"constants", "constants",
"type" "type"
@ -428,6 +442,7 @@
"properties": { "properties": {
"constants": { "constants": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"level" "level"
], ],
@ -446,6 +461,7 @@
}, },
"ocm": { "ocm": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"apiVersion", "apiVersion",
@ -466,6 +482,7 @@
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"name", "name",
"shareTypes", "shareTypes",
@ -483,6 +500,7 @@
}, },
"protocols": { "protocols": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"webdav" "webdav"
], ],
@ -499,6 +517,7 @@
}, },
"dav": { "dav": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"chunking" "chunking"
], ],
@ -513,6 +532,7 @@
}, },
"files_sharing": { "files_sharing": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"api_enabled", "api_enabled",
"public", "public",
@ -531,6 +551,7 @@
}, },
"public": { "public": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"password", "password",
@ -548,6 +569,7 @@
}, },
"password": { "password": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enforced", "enforced",
"askForOptionalPassword" "askForOptionalPassword"
@ -563,6 +585,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -577,6 +600,7 @@
}, },
"expire_date_internal": { "expire_date_internal": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -588,6 +612,7 @@
}, },
"expire_date_remote": { "expire_date_remote": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -613,6 +638,7 @@
}, },
"user": { "user": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"send_mail", "send_mail",
"expire_date" "expire_date"
@ -623,6 +649,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -639,6 +666,7 @@
}, },
"group": { "group": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"expire_date" "expire_date"
@ -649,6 +677,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -665,6 +694,7 @@
}, },
"federation": { "federation": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"outgoing", "outgoing",
"incoming", "incoming",
@ -680,6 +710,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -691,6 +722,7 @@
}, },
"expire_date_supported": { "expire_date_supported": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -704,6 +736,7 @@
}, },
"sharee": { "sharee": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"query_lookup_default", "query_lookup_default",
"always_show_unique" "always_show_unique"
@ -719,6 +752,7 @@
}, },
"sharebymail": { "sharebymail": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"send_password_by_mail", "send_password_by_mail",
@ -735,6 +769,7 @@
}, },
"upload_files_drop": { "upload_files_drop": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -746,6 +781,7 @@
}, },
"password": { "password": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"enforced" "enforced"
@ -761,6 +797,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"enforced" "enforced"
@ -780,6 +817,7 @@
}, },
"notes": { "notes": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"api_version", "api_version",
"version" "version"
@ -798,6 +836,7 @@
}, },
"notifications": { "notifications": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"ocs-endpoints", "ocs-endpoints",
"push", "push",
@ -826,6 +865,7 @@
}, },
"password_policy": { "password_policy": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"minLength", "minLength",
"enforceNonCommonPassword", "enforceNonCommonPassword",
@ -852,6 +892,7 @@
}, },
"api": { "api": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"generate", "generate",
"validate" "validate"
@ -869,6 +910,7 @@
}, },
"provisioning_api": { "provisioning_api": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"version", "version",
"AccountPropertyScopesVersion", "AccountPropertyScopesVersion",
@ -892,6 +934,7 @@
}, },
"theming": { "theming": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"name", "name",
"url", "url",
@ -955,6 +998,7 @@
}, },
"user_status": { "user_status": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"supports_emoji" "supports_emoji"

44
specs/core.json

@ -188,6 +188,7 @@
"properties": { "properties": {
"core": { "core": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"pollinterval", "pollinterval",
"webdav-root", "webdav-root",
@ -211,6 +212,7 @@
}, },
"bruteforce": { "bruteforce": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"delay" "delay"
], ],
@ -222,6 +224,7 @@
}, },
"metadataAvailable": { "metadataAvailable": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"size", "size",
"gps" "gps"
@ -243,6 +246,7 @@
}, },
"files": { "files": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"bigfilechunking", "bigfilechunking",
"blacklisted_files", "blacklisted_files",
@ -263,6 +267,7 @@
}, },
"directEditing": { "directEditing": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"url", "url",
"etag" "etag"
@ -289,6 +294,7 @@
}, },
"activity": { "activity": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"apiv2" "apiv2"
], ],
@ -303,6 +309,7 @@
}, },
"circles": { "circles": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"version", "version",
"status", "status",
@ -316,6 +323,7 @@
}, },
"status": { "status": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"globalScale" "globalScale"
], ],
@ -327,6 +335,7 @@
}, },
"settings": { "settings": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"frontendEnabled", "frontendEnabled",
"allowedCircles", "allowedCircles",
@ -350,6 +359,7 @@
}, },
"circle": { "circle": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"constants", "constants",
"config" "config"
@ -357,6 +367,7 @@
"properties": { "properties": {
"constants": { "constants": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"flags", "flags",
"source" "source"
@ -367,6 +378,7 @@
}, },
"source": { "source": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"core", "core",
"extra" "extra"
@ -384,6 +396,7 @@
}, },
"config": { "config": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"coreFlags", "coreFlags",
"systemFlags" "systemFlags"
@ -407,6 +420,7 @@
}, },
"member": { "member": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"constants", "constants",
"type" "type"
@ -414,6 +428,7 @@
"properties": { "properties": {
"constants": { "constants": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"level" "level"
], ],
@ -432,6 +447,7 @@
}, },
"ocm": { "ocm": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"apiVersion", "apiVersion",
@ -452,6 +468,7 @@
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"name", "name",
"shareTypes", "shareTypes",
@ -469,6 +486,7 @@
}, },
"protocols": { "protocols": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"webdav" "webdav"
], ],
@ -485,6 +503,7 @@
}, },
"dav": { "dav": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"chunking" "chunking"
], ],
@ -499,6 +518,7 @@
}, },
"files_sharing": { "files_sharing": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"api_enabled", "api_enabled",
"public", "public",
@ -517,6 +537,7 @@
}, },
"public": { "public": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"password", "password",
@ -534,6 +555,7 @@
}, },
"password": { "password": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enforced", "enforced",
"askForOptionalPassword" "askForOptionalPassword"
@ -549,6 +571,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -563,6 +586,7 @@
}, },
"expire_date_internal": { "expire_date_internal": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -574,6 +598,7 @@
}, },
"expire_date_remote": { "expire_date_remote": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -599,6 +624,7 @@
}, },
"user": { "user": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"send_mail", "send_mail",
"expire_date" "expire_date"
@ -609,6 +635,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -625,6 +652,7 @@
}, },
"group": { "group": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"expire_date" "expire_date"
@ -635,6 +663,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -651,6 +680,7 @@
}, },
"federation": { "federation": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"outgoing", "outgoing",
"incoming", "incoming",
@ -666,6 +696,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -677,6 +708,7 @@
}, },
"expire_date_supported": { "expire_date_supported": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -690,6 +722,7 @@
}, },
"sharee": { "sharee": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"query_lookup_default", "query_lookup_default",
"always_show_unique" "always_show_unique"
@ -705,6 +738,7 @@
}, },
"sharebymail": { "sharebymail": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"send_password_by_mail", "send_password_by_mail",
@ -721,6 +755,7 @@
}, },
"upload_files_drop": { "upload_files_drop": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled" "enabled"
], ],
@ -732,6 +767,7 @@
}, },
"password": { "password": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"enforced" "enforced"
@ -747,6 +783,7 @@
}, },
"expire_date": { "expire_date": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"enforced" "enforced"
@ -766,6 +803,7 @@
}, },
"notes": { "notes": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"api_version", "api_version",
"version" "version"
@ -784,6 +822,7 @@
}, },
"notifications": { "notifications": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"ocs-endpoints", "ocs-endpoints",
"push", "push",
@ -812,6 +851,7 @@
}, },
"password_policy": { "password_policy": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"minLength", "minLength",
"enforceNonCommonPassword", "enforceNonCommonPassword",
@ -838,6 +878,7 @@
}, },
"api": { "api": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"generate", "generate",
"validate" "validate"
@ -855,6 +896,7 @@
}, },
"provisioning_api": { "provisioning_api": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"version", "version",
"AccountPropertyScopesVersion", "AccountPropertyScopesVersion",
@ -878,6 +920,7 @@
}, },
"theming": { "theming": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"name", "name",
"url", "url",
@ -941,6 +984,7 @@
}, },
"user_status": { "user_status": {
"type": "object", "type": "object",
"additionalProperties": true,
"required": [ "required": [
"enabled", "enabled",
"supports_emoji" "supports_emoji"

Loading…
Cancel
Save