1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?php
namespace Commercetools\Core\Model\Project;
use Commercetools\Core\Model\Common\Context;
use Commercetools\Core\Model\Common\JsonObject;
use Commercetools\Core\Model\Common\LocalizedEnumCollection;
/**
* @package Commercetools\Core\Model\Project
* @link https://docs.commercetools.com/http-api-projects-project.html#externaloauth
* @method string getUrl()
* @method ExternalOAuth setUrl(string $url = null)
* @method string getAuthorizationHeader()
* @method ExternalOAuth setAuthorizationHeader(string $authorizationHeader = null)
*/
class ExternalOAuth extends JsonObject
{
public function fieldDefinitions()
{
return [
'url' => [static::TYPE => 'string'],
'authorizationHeader' => [static::TYPE => 'string']
];
}
}