PHP Class Scalr\Model\Entity\WebhookEndpoint

Since: 4.5.2 (11.03.2014)
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Model\AbstractEntity, implements Scalr\DataType\ScopeInterface
Afficher le fichier Open project: scalr/scalr Class Usage Examples

Méthodes publiques

Свойство Type Description
$accountId integer The identifier of the client's account
$endpointId string The identifier of the webhook endpoint
$envId integer The identifier of the client's environment
$isValid boolean
$level integer The level
$securityKey string
$url string Endpoint url
$validationToken string

Méthodes publiques

Méthode Description
__construct ( ) Constructor
getScope ( )
setScope ( $scope, $accountId, $envId )
validateUrl ( ) : boolean Validates url

Method Details

__construct() public méthode

Constructor
public __construct ( )

getScope() public méthode

See also: Scalr\DataType\ScopeInterface::getScope()
public getScope ( )

setScope() public méthode

public setScope ( $scope, $accountId, $envId )

validateUrl() public méthode

Validates url
public validateUrl ( ) : boolean
Résultat boolean Returns true if url endpoint passes validation. It saves updated properties itself on success

Property Details

$accountId public_oe property

The identifier of the client's account
public int $accountId
Résultat integer

$endpointId public_oe property

The identifier of the webhook endpoint
public string $endpointId
Résultat string

$envId public_oe property

The identifier of the client's environment
public int $envId
Résultat integer

$isValid public_oe property

public bool $isValid
Résultat boolean

$level public_oe property

The level
public int $level
Résultat integer

$securityKey public_oe property

public string $securityKey
Résultat string

$url public_oe property

Endpoint url
public string $url
Résultat string

$validationToken public_oe property

public string $validationToken
Résultat string