//------------------------------------------------------------------------------
//
// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
//
//------------------------------------------------------------------------------
#nullable enable
namespace PlexAPI.Models.Requests
{
using Newtonsoft.Json;
using PlexAPI.Models.Requests;
using PlexAPI.Utils;
using System.Collections.Generic;
public class PastSubscription
{
[JsonProperty("id", NullValueHandling = NullValueHandling.Include)]
public string? Id { get; set; }
[JsonProperty("mode", NullValueHandling = NullValueHandling.Include)]
public string? Mode { get; set; }
///
/// Unix epoch datetime
///
[JsonProperty("renewsAt", NullValueHandling = NullValueHandling.Include)]
public int? RenewsAt { get; set; }
///
/// Unix epoch datetime
///
[JsonProperty("endsAt", NullValueHandling = NullValueHandling.Include)]
public int? EndsAt { get; set; }
[JsonProperty("canceled")]
public bool? Canceled { get; set; } = false;
[JsonProperty("gracePeriod")]
public bool? GracePeriod { get; set; } = false;
[JsonProperty("onHold")]
public bool? OnHold { get; set; } = false;
[JsonProperty("canReactivate")]
public bool? CanReactivate { get; set; } = false;
[JsonProperty("canUpgrade")]
public bool? CanUpgrade { get; set; } = false;
[JsonProperty("canDowngrade")]
public bool? CanDowngrade { get; set; } = false;
[JsonProperty("canConvert")]
public bool? CanConvert { get; set; } = false;
[JsonProperty("type")]
public string Type { get; set; } = default!;
[JsonProperty("transfer", NullValueHandling = NullValueHandling.Include)]
public string? Transfer { get; set; }
[JsonProperty("state")]
public PostUsersSigninDataState State { get; set; } = default!;
[JsonProperty("billing")]
public List Billing { get; set; } = default!;
}
}