Skip to content

Commit

Permalink
Added channelID and channelURI for Appgroup. (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-intelli committed May 18, 2023
1 parent 4489adc commit 1bdb687
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/Api/ApigeeX/Entity/AppGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class AppGroup extends Entity implements AppGroupInterface
use StatusPropertyAwareTrait;

/** @var string|null */
protected $correlationId;
protected $channelUri;

/** @var string|null */
protected $channelId;
Expand All @@ -57,17 +57,17 @@ public function __construct(array $values = [])
/**
* {@inheritdoc}
*/
public function setCorrelationId(string $correlationId): void
public function setChannelUri(string $channelUri): void
{
$this->correlationId = $correlationId;
$this->channelUri = $channelUri;
}

/**
* {@inheritdoc}
*/
public function getCorrelationId(): ?string
public function getChannelUri(): ?string
{
return $this->correlationId;
return $this->channelUri;
}

/**
Expand Down
6 changes: 3 additions & 3 deletions src/Api/ApigeeX/Entity/AppGroupInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ interface AppGroupInterface extends AttributesPropertyInterface,
CommonEntityPropertiesInterface
{
/**
* @param string $correlationId
* @param string $channelUri
*/
public function setCorrelationId(string $correlationId): void;
public function setChannelUri(string $channelUri): void;

/**
* @return string|null
*/
public function getCorrelationId(): ?string;
public function getChannelUri(): ?string;

/**
* @param string $channelId
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
use Http\Client\Common\Plugin\HistoryPlugin;
use Http\Client\Common\Plugin\RetryPlugin;
use Http\Client\Exception;
use Http\Client\HttpClient;
use Http\Discovery\MessageFactoryDiscovery;
use Http\Discovery\UriFactoryDiscovery;
use Http\Message\Authentication;
use Http\Message\UriFactory;
use Psr\Http\Client\ClientInterface as HttpClient;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\UriInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
namespace Apigee\Edge;

use Apigee\Edge\HttpClient\Utility\JournalInterface;
use Http\Client\HttpClient;
use Http\Message\UriFactory;
use Psr\Http\Client\ClientInterface as HttpClient;
use Psr\Http\Message\ResponseInterface;

/**
Expand Down

0 comments on commit 1bdb687

Please sign in to comment.