csharp-sdk-upm/Storage/Source/Public/AVStatus.cs

25 lines
577 B
C#
Raw Normal View History

2019-07-19 15:01:34 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeanCloud
{
/// <summary>
/// 事件流系统中的一条状态
/// </summary>
[AVClassName("_Status")]
public class AVStatus : AVObject
{
private static readonly HashSet<string> readOnlyKeys = new HashSet<string> {
"messageId", "inboxType", "data","Source"
};
protected override bool IsKeyMutable(string key)
{
return !readOnlyKeys.Contains(key);
}
}
}