namespace AzureRestApi.Models.Resources
{
    public class Subscription
    {
        public string? id { get; set; }
        public string? authorizationSource { get; set; }
        public string? subscriptionId { get; set; }
        public string? tenantId { get; set; }
        public string? displayName { get; set; }
        public string? state { get; set; }

        public bool Enabled
        {
            get
            {
                return state == "Enabled";
            }
        }
    }
}
