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

93 lines
2.8 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;
using System.Collections.Generic;
using System;
public class PlexDevice
{
[JsonProperty("name")]
public string Name { get; set; } = default!;
[JsonProperty("product")]
public string Product { get; set; } = default!;
[JsonProperty("productVersion")]
public string ProductVersion { get; set; } = default!;
[JsonProperty("platform")]
public string Platform { get; set; } = default!;
[JsonProperty("platformVersion")]
public string PlatformVersion { get; set; } = default!;
[JsonProperty("device")]
public string Device { get; set; } = default!;
[JsonProperty("clientIdentifier")]
public string ClientIdentifier { get; set; } = default!;
[JsonProperty("createdAt")]
public DateTime CreatedAt { get; set; } = default!;
[JsonProperty("lastSeenAt")]
public DateTime LastSeenAt { get; set; } = default!;
[JsonProperty("provides")]
public string Provides { get; set; } = default!;
[JsonProperty("ownerId")]
public string? OwnerId { get; set; }
[JsonProperty("sourceTitle")]
public string? SourceTitle { get; set; }
[JsonProperty("publicAddress")]
public string? PublicAddress { get; set; }
[JsonProperty("accessToken")]
public string? AccessToken { get; set; }
[JsonProperty("owned")]
public bool? Owned { get; set; }
[JsonProperty("home")]
public bool? Home { get; set; }
[JsonProperty("synced")]
public bool? Synced { get; set; }
[JsonProperty("relay")]
public bool? Relay { get; set; }
[JsonProperty("presence")]
public bool? Presence { get; set; }
[JsonProperty("httpsRequired")]
public bool? HttpsRequired { get; set; }
[JsonProperty("publicAddressMatches")]
public bool? PublicAddressMatches { get; set; }
[JsonProperty("dnsRebindingProtection")]
public bool? DnsRebindingProtection { get; set; }
[JsonProperty("natLoopbackSupported")]
public bool? NatLoopbackSupported { get; set; }
[JsonProperty("connections")]
public List<Connections>? Connections { get; set; }
}
}