PHP Class Scalr\Api\Service\User\V1beta0\Adapter\OrchestrationRules\FarmRoleScriptAdapter

Author: N.V.
Inheritance: extends Scalr\Api\Service\User\V1beta0\Adapter\OrchestrationRuleAdapter
Show file Open project: scalr/scalr

Protected Properties

Property Type Description
$allowedTargets
$entityClass

Public Methods

Method Description
targetToData ( Scalr\Model\Entity\OrchestrationRule $entity, $object )
targetToEntity ( $object, Scalr\Model\Entity\OrchestrationRule $entity )
validateEntity ( $entity )

Method Details

targetToData() public static method

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

targetToEntity() public static method

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

validateEntity() public method

See also: ApiEntityAdapter::validateEntity()
public validateEntity ( $entity )

Property Details

$allowedTargets protected static property

protected static $allowedTargets

$entityClass protected property

See also: OrchestrationRuleAdapter::$entityClass
protected $entityClass