From 1c1541a84ce4b99cbc1915bd6fb9ccf652dcb30c Mon Sep 17 00:00:00 2001 From: Amanpal Singh <87360222+aman-alfresco@users.noreply.github.com> Date: Tue, 17 Sep 2024 15:49:43 +0530 Subject: [PATCH] added config data api for parsing the mobile features --- .DS_Store | Bin 0 -> 6148 bytes content/.DS_Store | Bin 0 -> 6148 bytes content/build.gradle | 2 +- .../alfresco/content/apis/MobileConfigApi.kt | 16 +++++++++ .../content/models/MobileConfigData.kt | 33 ++++++++++++++++++ 5 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 .DS_Store create mode 100644 content/.DS_Store create mode 100644 content/src/main/kotlin/com/alfresco/content/apis/MobileConfigApi.kt create mode 100644 content/src/main/kotlin/com/alfresco/content/models/MobileConfigData.kt diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..8fe7ddf324fb97aa45b9d26ae83cc706f5e0aba0 GIT binary patch literal 6148 zcmeHK%}T>S5T0#{M(m+SZ{{imu^v3fk{$)2c((QjduU9t_MR8;2?QTNQ1B(ZdeFD= z;x{{M-IxYEh=|OiCNa@ZPP{kTTvm^7b#CG2P&y)hb7%S&|H<*#I-)&duXV_u%PpRn+Jk zQL_oZEpoT|bsx)s&x|g?Xb3)Yn#=nn5%hMqC`b5wb{j9-lYPghuuhtN@~MvU`Iy!* z^H~FnGfKf~N@Jf*aDRIHb>8Qa9KC*UDXif$sfzJ=1kZcSLroP>1yq5bQUGT*TevBx zy(*vzr~*p``1=r{F~$yaLHp@IXG;KJ9d2tFb1lI+k;B+wE{GYJkyN0h8dqW%Nryjj zak0Z(P}0e`;={N*8&{zidv~lK*>Ezkp!TYODo|7)kjo~Y|J~~PznG*~s(>o+uM{x# zq?dH?NbYPcJsh945n3OOjpK5`WeNuNC`K$F#an3B;E#9!j2-5J@WAv(z{;SVD)6fc FyaPDWZm9qO literal 0 HcmV?d00001 diff --git a/content/.DS_Store b/content/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..ac45f87e86495bf7df0182cfbf12f7905d587e00 GIT binary patch literal 6148 zcmeH~O=`n15QS$N7YyBG*`=-kj9Zil96`=P~XeRzL+T09&dzk77Qc? = null, +) + +/** + * @param id + * @param name + * @param enabled + */ +@JsonClass(generateAdapter = true) +data class DynamicMenu( + @Json(name = "id") @field:Json(name = "id") var id: String? = null, + @Json(name = "name") @field:Json(name = "name") var name: String? = null, + @Json(name = "enabled") @field:Json(name = "enabled") var enabled: Boolean? = null, +)