using UnityEngine; using System.Collections.Generic; namespace HuaweiService.CloudDB { public class CloudDBZoneSnapshot_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.cloud.database.CloudDBZoneSnapshot"; } public class CloudDBZoneSnapshot :HmsClass { public CloudDBZoneSnapshot (): base() { } public bool hasPendingWrites() { return Call("hasPendingWrites"); } public bool isFromCloud() { return Call("isFromCloud"); } public CloudDBZoneObjectList getSnapshotObjects() { return Call("getSnapshotObjects"); } public CloudDBZoneObjectList getUpsertedObjects() { return Call("getUpsertedObjects"); } public CloudDBZoneObjectList getDeletedObjects() { return Call("getDeletedObjects"); } public void release() { Call("release"); } } public class CloudDBZoneSnapshot :CloudDBZoneSnapshot where T : IDatabaseModel, new() { public CloudDBZoneObjectList getSnapshotObjects() { return Call>("getSnapshotObjects"); } public CloudDBZoneObjectList getUpsertedObjects() { return Call>("getUpsertedObjects"); } public CloudDBZoneObjectList getDeletedObjects() { return Call>("getDeletedObjects"); } } }