using UnityEngine; using System.Collections.Generic; namespace HuaweiService.CloudDB { public class CloudDBZone_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.cloud.database.CloudDBZone"; } public class CloudDBZone :HmsClass { public CloudDBZone (): base() { } public CloudDBZoneConfig getCloudDBZoneConfig() { return Call("getCloudDBZoneConfig"); } public Task executeUpsert(CloudDBZoneObject cloudDBZoneObject) { return Call("executeUpsert", cloudDBZoneObject); } public Task executeUpsert(List objectList) { return Call("executeUpsert", objectList); } public Task executeDelete(CloudDBZoneObject cloudDBZoneObject) { return Call("executeDelete", cloudDBZoneObject); } public Task executeDelete(List objectList) { return Call("executeDelete", objectList); } public Task executeQuery(CloudDBZoneQuery cloudDBZoneQuery, CloudDBZoneQuery.CloudDBZoneQueryPolicy queryPolicy) { return Call("executeQuery", cloudDBZoneQuery, queryPolicy); } public Task executeAverageQuery(CloudDBZoneQuery cloudDBZoneQuery, string fieldName, CloudDBZoneQuery.CloudDBZoneQueryPolicy queryPolicy) { return Call("executeAverageQuery", cloudDBZoneQuery, fieldName, queryPolicy); } public Task executeQueryUnsynced(CloudDBZoneQuery cloudDBZoneQuery) { return Call("executeQueryUnsynced", cloudDBZoneQuery); } public Task runTransaction(Transaction.Function function) { return Call("runTransaction", function); } public ListenerHandler subscribeSnapshot(CloudDBZoneQuery cloudDBZoneQuery, CloudDBZoneQuery.CloudDBZoneQueryPolicy queryPolicy, OnSnapshotListener listener) { return Call("subscribeSnapshot", cloudDBZoneQuery, queryPolicy, listener); } } }