PHP Class Scalr\Api\Service\User\V1beta0\Controller\CloudCredentials

Author: N.V.
Inheritance: extends Scalr\Api\Rest\Controller\ApiController
Afficher le fichier Open project: scalr/scalr

Protected Properties

Свойство Type Description
$entityClass
$entityDescriminator string The name of entity field in charge of inheritance
$inheritanceMap
$inheritedNamespace string Namespace for inherited adapters
$objectDiscriminator string The name of data field in charge of inheritance

Méthodes publiques

Méthode Description
adapter ( string | CloudCredentials | object $name, string $scope = null, string $version = null, array $transform = null ) : ApiEntityAdapter Gets a new Instance of the adapter
createAction ( )
deleteAction ( $cloudCredentialsId )
describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope Retrieves the list of the cloud credentials
fetchAction ( $cloudCredentialsId )
getCloudCredentials ( string $cloudCredentialsId, boolean $modify = false ) : CloudCredentials Gets CloudCredentials entity
getDefaultCriteria ( ) : array Gets default search criteria according request scope
modifyAction ( $cloudCredentialsId )

Method Details

adapter() public méthode

Gets a new Instance of the adapter
public adapter ( string | CloudCredentials | object $name, string $scope = null, string $version = null, array $transform = null ) : ApiEntityAdapter
$name string | CloudCredentials | object The name of the adapter, or CloudCredentials entity, or cloud credentials data
$scope string optional The scope of the adapter
$version string optional The version of the adapter
$transform array optional The transformation rules for the type of the cloud credentials
Résultat Scalr\Api\DataType\ApiEntityAdapter Returns the instance of cloud credentials adapter

createAction() public méthode

public createAction ( )

deleteAction() public méthode

public deleteAction ( $cloudCredentialsId )

describeAction() public méthode

Retrieves the list of the cloud credentials
public describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope
Résultat Scalr\Api\DataType\ListResultEnvelope Returns describe result

fetchAction() public méthode

public fetchAction ( $cloudCredentialsId )

getCloudCredentials() public méthode

Gets CloudCredentials entity
public getCloudCredentials ( string $cloudCredentialsId, boolean $modify = false ) : CloudCredentials
$cloudCredentialsId string Unique identifier of the CloudCredentials
$modify boolean Obtaining CloudCredentials in modification purposes
Résultat Scalr\Model\Entity\CloudCredentials

getDefaultCriteria() public méthode

Gets default search criteria according request scope
public getDefaultCriteria ( ) : array
Résultat array Returns array of the search criteria

modifyAction() public méthode

public modifyAction ( $cloudCredentialsId )

Property Details

$entityClass protected_oe property

protected $entityClass

$entityDescriminator protected_oe static_oe property

The name of entity field in charge of inheritance
protected static string $entityDescriminator
Résultat string

$inheritanceMap protected_oe static_oe property

protected static $inheritanceMap

$inheritedNamespace protected_oe static_oe property

Namespace for inherited adapters
protected static string $inheritedNamespace
Résultat string

$objectDiscriminator protected_oe static_oe property

The name of data field in charge of inheritance
protected static string $objectDiscriminator
Résultat string