PHP Class Scalr\Api\Service\User\V1beta0\Adapter\CloudCredentials\CloudstackCloudCredentialsAdapter

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

Protected Properties

Property Type Description
$rules array Converter rules

Public Methods

Method Description
_cloudCredentialsType ( $from, $to, $action )
_provider ( $from, $to, $action )
getCloudstackProvider ( $object )
validateEntity ( CloudCredentials $entity, CloudCredentials $prevConfig = null )

Private Methods

Method Description
searchCloudstackUser ( Scalr\Service\CloudStack\DataType\AccountList $accounts = null, array &$pars ) : boolean Searches a Cloudstack user name from the accounts list by api key and sets properties

Method Details

_cloudCredentialsType() public method

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

_provider() public method

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

getCloudstackProvider() public method

public getCloudstackProvider ( $object )

validateEntity() public method

public validateEntity ( CloudCredentials $entity, CloudCredentials $prevConfig = null )
$entity Scalr\Model\Entity\CloudCredentials
$prevConfig Scalr\Model\Entity\CloudCredentials

Property Details

$rules protected property

Converter rules
protected array $rules
return array