Neighbourhood.omg.lol/Models/API/AddressResponseData.cs

28 lines
921 B
C#

namespace Neighbourhood.omg.lol.Models {
public class AddressResponseData : IOmgLolResponseData {
public string Address { get; set; } = string.Empty;
public string Message { get; set; } = string.Empty;
public RegistrationData? Registration { get; set; }
public ExpirationData? Expiration { get; set; }
public PreferenceData? Preferences { 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; }
}
}
}