Files
plexcsharp/PlexAPI/Models/Requests/PastSubscription.cs

70 lines
2.2 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
#nullable enable
namespace PlexAPI.Models.Requests
{
using Newtonsoft.Json;
using PlexAPI.Models.Requests;
using PlexAPI.Utils;
public class PastSubscription
{
[JsonProperty("id", NullValueHandling = NullValueHandling.Include)]
public string? Id { get; set; }
[JsonProperty("mode", NullValueHandling = NullValueHandling.Include)]
public string? Mode { get; set; }
/// <summary>
/// Unix epoch datetime
/// </summary>
[JsonProperty("renewsAt", NullValueHandling = NullValueHandling.Include)]
public int? RenewsAt { get; set; }
/// <summary>
/// Unix epoch datetime
/// </summary>
[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 PostSignInState State { get; set; } = default!;
[JsonProperty("billing")]
public Billing Billing { get; set; } = default!;
}
}