PHP Класс Scalr\Api\Service\User\V1beta0\Adapter\OrchestrationRuleAdapter

Автор: N.V.
Наследование: extends Scalr\Api\DataType\ApiEntityAdapter
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$allowedTargets
$entityClass
$rules array Converter rules
$targetMap

Открытые методы

Метод Описание
_action ( $from, $to, $action )
_scope ( $from, $to, $action )
_target ( $from, $to, $action )
_trigger ( $from, $to, $action )
checkScriptOs ( Scalr\Model\Entity\OrchestrationRule $entity, string $os ) Checks compliance OS of the script and the role
targetToData ( Scalr\Model\Entity\OrchestrationRule $entity, $object )
targetToEntity ( $object, Scalr\Model\Entity\OrchestrationRule $entity )
validateEntity ( $entity )

Описание методов

_action() публичный Метод

public _action ( $from, $to, $action )

_scope() публичный Метод

public _scope ( $from, $to, $action )

_target() публичный Метод

public _target ( $from, $to, $action )

_trigger() публичный Метод

public _trigger ( $from, $to, $action )

checkScriptOs() публичный Метод

Checks compliance OS of the script and the role
public checkScriptOs ( Scalr\Model\Entity\OrchestrationRule $entity, string $os )
$entity Scalr\Model\Entity\OrchestrationRule Orchestration Rule entity
$os string OS type

targetToData() публичный статический Метод

public static targetToData ( Scalr\Model\Entity\OrchestrationRule $entity, $object )
$entity Scalr\Model\Entity\OrchestrationRule

targetToEntity() публичный статический Метод

public static targetToEntity ( $object, Scalr\Model\Entity\OrchestrationRule $entity )
$entity Scalr\Model\Entity\OrchestrationRule

validateEntity() публичный Метод

См. также: ApiEntityAdapter::validateEntity()
public validateEntity ( $entity )

Описание свойств

$allowedTargets защищенное статическое свойство

protected static $allowedTargets

$entityClass защищенное свойство

См. также: BaseAdapter::$entityClass
protected $entityClass

$rules защищенное свойство

Converter rules
protected array $rules
Результат array

$targetMap защищенное статическое свойство

protected static $targetMap