mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-07 04:20:54 +00:00
75 lines
2.3 KiB
PHP
75 lines
2.3 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 PostUsersSignInDataRequest
|
|
{
|
|
/**
|
|
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
|
*
|
|
* @var ?string $clientID
|
|
*/
|
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Client-Identifier')]
|
|
public ?string $clientID = 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;
|
|
|
|
/**
|
|
* Login credentials
|
|
*
|
|
* @var ?PostUsersSignInDataRequestBody $requestBody
|
|
*/
|
|
#[SpeakeasyMetadata('request:mediaType=application/x-www-form-urlencoded')]
|
|
public ?PostUsersSignInDataRequestBody $requestBody = null;
|
|
|
|
/**
|
|
* @param ?string $clientID
|
|
* @param ?string $clientName
|
|
* @param ?string $deviceName
|
|
* @param ?string $clientVersion
|
|
* @param ?string $clientPlatform
|
|
* @param ?PostUsersSignInDataRequestBody $requestBody
|
|
*/
|
|
public function __construct(?string $clientID = null, ?string $clientName = null, ?string $deviceName = null, ?string $clientVersion = null, ?string $clientPlatform = null, ?PostUsersSignInDataRequestBody $requestBody = null)
|
|
{
|
|
$this->clientID = $clientID;
|
|
$this->clientName = $clientName;
|
|
$this->deviceName = $deviceName;
|
|
$this->clientVersion = $clientVersion;
|
|
$this->clientPlatform = $clientPlatform;
|
|
$this->requestBody = $requestBody;
|
|
}
|
|
} |