using UnityEngine; using System.Collections.Generic; namespace HuaweiService.CloudDB { public class CloudDBZoneConfig_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.cloud.database.CloudDBZoneConfig"; } public class CloudDBZoneConfig :HmsClass { public CloudDBZoneConfig (string cloudDBZoneNameSource, CloudDBZoneSyncProperty syncPropertySource, CloudDBZoneAccessProperty accessPropertySource): base(cloudDBZoneNameSource, syncPropertySource, accessPropertySource) { } public CloudDBZoneConfig (): base() { } public string getCloudDBZoneName() { return Call("getCloudDBZoneName"); } public CloudDBZoneSyncProperty getSyncProperty() { return Call("getSyncProperty"); } public CloudDBZoneAccessProperty getAccessProperty() { return Call("getAccessProperty"); } public bool isEncrypted() { return Call("isEncrypted"); } public void setEncryptedKey(string key, string rekey) { Call("setEncryptedKey", key, rekey); } public void setPersistenceEnabled(bool isPerEnable) { Call("setPersistenceEnabled", isPerEnable); } public bool getPersistenceEnabled() { return Call("getPersistenceEnabled"); } public void setCapacity(long capacity) { Call("setCapacity", capacity); } public long getCapacity() { return Call("getCapacity"); } public class CloudDBZoneAccessProperty_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.cloud.database.CloudDBZoneConfig$CloudDBZoneAccessProperty"; } public class CloudDBZoneAccessProperty :HmsClass { public static CloudDBZoneAccessProperty CLOUDDBZONE_PUBLIC => HmsUtil.GetStaticValue("CLOUDDBZONE_PUBLIC"); public CloudDBZoneAccessProperty (): base() { } } public class CloudDBZoneSyncProperty_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.cloud.database.CloudDBZoneConfig$CloudDBZoneSyncProperty"; } public class CloudDBZoneSyncProperty :HmsClass { public static CloudDBZoneSyncProperty CLOUDDBZONE_LOCAL_ONLY => HmsUtil.GetStaticValue("CLOUDDBZONE_LOCAL_ONLY"); public static CloudDBZoneSyncProperty CLOUDDBZONE_CLOUD_CACHE => HmsUtil.GetStaticValue("CLOUDDBZONE_CLOUD_CACHE"); public CloudDBZoneSyncProperty (): base() { } } } }