mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-06 20:47:49 +00:00
45 lines
1.5 KiB
C#
45 lines
1.5 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 LukeHagar.PlexAPI.SDK.Models.Requests
|
|
{
|
|
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
|
using LukeHagar.PlexAPI.SDK.Utils;
|
|
|
|
public class LogLineRequest
|
|
{
|
|
|
|
/// <summary>
|
|
/// An integer log level to write to the PMS log with. <br/>
|
|
///
|
|
/// <remarks>
|
|
/// 0: Error <br/>
|
|
/// 1: Warning <br/>
|
|
/// 2: Info <br/>
|
|
/// 3: Debug <br/>
|
|
/// 4: Verbose<br/>
|
|
///
|
|
/// </remarks>
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=level")]
|
|
public Level Level { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// The text of the message to write to the log.
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=message")]
|
|
public string Message { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// a string indicating the source of the message.
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=source")]
|
|
public string Source { get; set; } = default!;
|
|
}
|
|
} |