using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace MatrixDotNetLib
{
public class MatrixLoginRequest
{
///
/// Gets or sets client device ID (optional, auto-generated if null)
///
[JsonProperty("device_id")]
public string DeviceId { get; set; }
///
/// Gets or sets user identifier as string (optional)
///
[JsonProperty("identifier")]
public MatrixLoginIdentifier Identifier { get; set; }
///
/// Gets or sets the device display name (optional, ignored if device is known)
///
[JsonProperty("initial_device_display_name")]
public string DeviceName { get; set; }
///
/// Gets or sets the password (required if type=m.login.password)
///
[JsonProperty("password")]
public string Password { get; set; }
///
/// Gets or sets the login token (required if type=m.login.token)
///
[JsonProperty("token")]
public string Token { get; set; }
///
/// Sets the static dictionary of login types (required)
///
[JsonProperty("type")]
public string LoginType { get; set; }
}
}