using System.Text.Json.Serialization;
using Prospect.Server.Api.Models.Client.Data;
namespace Prospect.Server.Api.Models.Client;
public class FUpdateUserDataRequest
{
///
/// [optional] The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
///
[JsonPropertyName("CustomTags")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Dictionary? CustomTags { get; set; }
///
/// [optional] Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may
/// not begin with a '!' character or be null.
///
public Dictionary? Data { get; set; }
///
/// [optional] Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language
/// constraints. Use this to delete the keys directly.
///
public List? KeysToRemove { get; set; }
///
/// [optional] Permission to be applied to all user data keys written in this request. Defaults to "private" if not set.
///
public UserDataPermission? Permission { get; set; }
///
/// Unique PlayFab assigned ID of the user on whom the operation will be performed.
///
public string? PlayFabId { get; set; }
}