2024-05-31 13:16:09 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Neighbourhood.omg.lol.Models {
|
|
|
|
|
public class AddressResponseData : IOmgLolResponseData {
|
|
|
|
|
public string Address { get; set; }
|
|
|
|
|
public string Message { get; set; }
|
|
|
|
|
public RegistrationData Registration { get; set; }
|
|
|
|
|
public ExpirationData Expiration { get; set; }
|
2024-06-05 12:41:08 +00:00
|
|
|
|
public PreferenceData? Preferences { get; set; }
|
2024-05-31 13:16:09 +00:00
|
|
|
|
|
|
|
|
|
public class TimeData {
|
|
|
|
|
public long? UnixEpochTime { get; set; }
|
|
|
|
|
public string? Iso8601Time { get; set; }
|
|
|
|
|
public string? Rfc2822Time { get; set; }
|
|
|
|
|
public string? RelativeTime { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class RegistrationData : TimeData {
|
|
|
|
|
public string? Message { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ExpirationData : TimeData {
|
|
|
|
|
public bool Expired { get; set; }
|
|
|
|
|
public bool WillExpire { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class PreferenceData {
|
|
|
|
|
public string? IncludeInDirectory { get; set; }
|
|
|
|
|
public string? ShowOnDashboard { get; set; }
|
|
|
|
|
public StatuslogPreferenceData? Statuslog { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class StatuslogPreferenceData {
|
|
|
|
|
public bool? MastodonPosting { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|