mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-06 12:37:47 +00:00
69 lines
1.8 KiB
PHP
69 lines
1.8 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace LukeHagar\Plex_API\Models\Operations;
|
|
|
|
use LukeHagar\Plex_API\Utils\SpeakeasyMetadata;
|
|
class GetPinRequest
|
|
{
|
|
/**
|
|
* Determines the kind of code returned by the API call
|
|
*
|
|
* Strong codes are used for Pin authentication flows
|
|
* Non-Strong codes are used for `Plex.tv/link`
|
|
*
|
|
*
|
|
* @var ?bool $strong
|
|
*/
|
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=strong')]
|
|
public ?bool $strong = null;
|
|
|
|
/**
|
|
*
|
|
* @var ?string $clientName
|
|
*/
|
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Product')]
|
|
public ?string $clientName = null;
|
|
|
|
/**
|
|
*
|
|
* @var ?string $deviceName
|
|
*/
|
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Device')]
|
|
public ?string $deviceName = null;
|
|
|
|
/**
|
|
*
|
|
* @var ?string $clientVersion
|
|
*/
|
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Version')]
|
|
public ?string $clientVersion = null;
|
|
|
|
/**
|
|
*
|
|
* @var ?string $clientPlatform
|
|
*/
|
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Platform')]
|
|
public ?string $clientPlatform = null;
|
|
|
|
/**
|
|
* @param ?bool $strong
|
|
* @param ?string $clientName
|
|
* @param ?string $deviceName
|
|
* @param ?string $clientVersion
|
|
* @param ?string $clientPlatform
|
|
*/
|
|
public function __construct(?bool $strong = null, ?string $clientName = null, ?string $deviceName = null, ?string $clientVersion = null, ?string $clientPlatform = null)
|
|
{
|
|
$this->strong = $strong;
|
|
$this->clientName = $clientName;
|
|
$this->deviceName = $deviceName;
|
|
$this->clientVersion = $clientVersion;
|
|
$this->clientPlatform = $clientPlatform;
|
|
}
|
|
} |