@@ -38393,6 +38393,150 @@ public Map<String,Object> unsetMobileTombstoneEnabled(Map<String,Object> attrs)
3839338393 return attrs;
3839438394 }
3839538395
38396+ /**
38397+ * Number of days for which data should be retained in mobile device.
38398+ *
38399+ * @return zimbraNativeMobileAppLocalDataRetentionDays, or 30 if unset
38400+ *
38401+ * @since ZCS 10.1.22
38402+ */
38403+ @ZAttr(id=7170)
38404+ public int getNativeMobileAppLocalDataRetentionDays() {
38405+ return getIntAttr(Provisioning.A_zimbraNativeMobileAppLocalDataRetentionDays, 30, true);
38406+ }
38407+
38408+ /**
38409+ * Number of days for which data should be retained in mobile device.
38410+ *
38411+ * @param zimbraNativeMobileAppLocalDataRetentionDays new value
38412+ * @throws com.zimbra.common.service.ServiceException if error during update
38413+ *
38414+ * @since ZCS 10.1.22
38415+ */
38416+ @ZAttr(id=7170)
38417+ public void setNativeMobileAppLocalDataRetentionDays(int zimbraNativeMobileAppLocalDataRetentionDays) throws com.zimbra.common.service.ServiceException {
38418+ HashMap<String,Object> attrs = new HashMap<String,Object>();
38419+ attrs.put(Provisioning.A_zimbraNativeMobileAppLocalDataRetentionDays, Integer.toString(zimbraNativeMobileAppLocalDataRetentionDays));
38420+ getProvisioning().modifyAttrs(this, attrs);
38421+ }
38422+
38423+ /**
38424+ * Number of days for which data should be retained in mobile device.
38425+ *
38426+ * @param zimbraNativeMobileAppLocalDataRetentionDays new value
38427+ * @param attrs existing map to populate, or null to create a new map
38428+ * @return populated map to pass into Provisioning.modifyAttrs
38429+ *
38430+ * @since ZCS 10.1.22
38431+ */
38432+ @ZAttr(id=7170)
38433+ public Map<String,Object> setNativeMobileAppLocalDataRetentionDays(int zimbraNativeMobileAppLocalDataRetentionDays, Map<String,Object> attrs) {
38434+ if (attrs == null) attrs = new HashMap<String,Object>();
38435+ attrs.put(Provisioning.A_zimbraNativeMobileAppLocalDataRetentionDays, Integer.toString(zimbraNativeMobileAppLocalDataRetentionDays));
38436+ return attrs;
38437+ }
38438+
38439+ /**
38440+ * Number of days for which data should be retained in mobile device.
38441+ *
38442+ * @throws com.zimbra.common.service.ServiceException if error during update
38443+ *
38444+ * @since ZCS 10.1.22
38445+ */
38446+ @ZAttr(id=7170)
38447+ public void unsetNativeMobileAppLocalDataRetentionDays() throws com.zimbra.common.service.ServiceException {
38448+ HashMap<String,Object> attrs = new HashMap<String,Object>();
38449+ attrs.put(Provisioning.A_zimbraNativeMobileAppLocalDataRetentionDays, "");
38450+ getProvisioning().modifyAttrs(this, attrs);
38451+ }
38452+
38453+ /**
38454+ * Number of days for which data should be retained in mobile device.
38455+ *
38456+ * @param attrs existing map to populate, or null to create a new map
38457+ * @return populated map to pass into Provisioning.modifyAttrs
38458+ *
38459+ * @since ZCS 10.1.22
38460+ */
38461+ @ZAttr(id=7170)
38462+ public Map<String,Object> unsetNativeMobileAppLocalDataRetentionDays(Map<String,Object> attrs) {
38463+ if (attrs == null) attrs = new HashMap<String,Object>();
38464+ attrs.put(Provisioning.A_zimbraNativeMobileAppLocalDataRetentionDays, "");
38465+ return attrs;
38466+ }
38467+
38468+ /**
38469+ * Maximum stored data in mobile device.
38470+ *
38471+ * @return zimbraNativeMobileAppMaxLocalDataSize, or 10240 if unset
38472+ *
38473+ * @since ZCS 10.1.22
38474+ */
38475+ @ZAttr(id=7171)
38476+ public int getNativeMobileAppMaxLocalDataSize() {
38477+ return getIntAttr(Provisioning.A_zimbraNativeMobileAppMaxLocalDataSize, 10240, true);
38478+ }
38479+
38480+ /**
38481+ * Maximum stored data in mobile device.
38482+ *
38483+ * @param zimbraNativeMobileAppMaxLocalDataSize new value
38484+ * @throws com.zimbra.common.service.ServiceException if error during update
38485+ *
38486+ * @since ZCS 10.1.22
38487+ */
38488+ @ZAttr(id=7171)
38489+ public void setNativeMobileAppMaxLocalDataSize(int zimbraNativeMobileAppMaxLocalDataSize) throws com.zimbra.common.service.ServiceException {
38490+ HashMap<String,Object> attrs = new HashMap<String,Object>();
38491+ attrs.put(Provisioning.A_zimbraNativeMobileAppMaxLocalDataSize, Integer.toString(zimbraNativeMobileAppMaxLocalDataSize));
38492+ getProvisioning().modifyAttrs(this, attrs);
38493+ }
38494+
38495+ /**
38496+ * Maximum stored data in mobile device.
38497+ *
38498+ * @param zimbraNativeMobileAppMaxLocalDataSize new value
38499+ * @param attrs existing map to populate, or null to create a new map
38500+ * @return populated map to pass into Provisioning.modifyAttrs
38501+ *
38502+ * @since ZCS 10.1.22
38503+ */
38504+ @ZAttr(id=7171)
38505+ public Map<String,Object> setNativeMobileAppMaxLocalDataSize(int zimbraNativeMobileAppMaxLocalDataSize, Map<String,Object> attrs) {
38506+ if (attrs == null) attrs = new HashMap<String,Object>();
38507+ attrs.put(Provisioning.A_zimbraNativeMobileAppMaxLocalDataSize, Integer.toString(zimbraNativeMobileAppMaxLocalDataSize));
38508+ return attrs;
38509+ }
38510+
38511+ /**
38512+ * Maximum stored data in mobile device.
38513+ *
38514+ * @throws com.zimbra.common.service.ServiceException if error during update
38515+ *
38516+ * @since ZCS 10.1.22
38517+ */
38518+ @ZAttr(id=7171)
38519+ public void unsetNativeMobileAppMaxLocalDataSize() throws com.zimbra.common.service.ServiceException {
38520+ HashMap<String,Object> attrs = new HashMap<String,Object>();
38521+ attrs.put(Provisioning.A_zimbraNativeMobileAppMaxLocalDataSize, "");
38522+ getProvisioning().modifyAttrs(this, attrs);
38523+ }
38524+
38525+ /**
38526+ * Maximum stored data in mobile device.
38527+ *
38528+ * @param attrs existing map to populate, or null to create a new map
38529+ * @return populated map to pass into Provisioning.modifyAttrs
38530+ *
38531+ * @since ZCS 10.1.22
38532+ */
38533+ @ZAttr(id=7171)
38534+ public Map<String,Object> unsetNativeMobileAppMaxLocalDataSize(Map<String,Object> attrs) {
38535+ if (attrs == null) attrs = new HashMap<String,Object>();
38536+ attrs.put(Provisioning.A_zimbraNativeMobileAppMaxLocalDataSize, "");
38537+ return attrs;
38538+ }
38539+
3839638540 /**
3839738541 * Template used to construct the body of an email notification message.
3839838542 * This attribute is ignored when zimbraNewMailNotificationMessage is
0 commit comments