PHP Класс Scalr\Api\Service\User\V1beta0\Controller\CloudCredentials

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

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

Свойство Тип Описание
$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

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

Метод Описание
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 )

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

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

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
Результат Scalr\Api\DataType\ApiEntityAdapter Returns the instance of cloud credentials adapter

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

public createAction ( )

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

public deleteAction ( $cloudCredentialsId )

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

Retrieves the list of the cloud credentials
public describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope
Результат Scalr\Api\DataType\ListResultEnvelope Returns describe result

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

public fetchAction ( $cloudCredentialsId )

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

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
Результат Scalr\Model\Entity\CloudCredentials

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

Gets default search criteria according request scope
public getDefaultCriteria ( ) : array
Результат array Returns array of the search criteria

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

public modifyAction ( $cloudCredentialsId )

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

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

protected $entityClass

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

The name of entity field in charge of inheritance
protected static string $entityDescriminator
Результат string

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

protected static $inheritanceMap

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

Namespace for inherited adapters
protected static string $inheritedNamespace
Результат string

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

The name of data field in charge of inheritance
protected static string $objectDiscriminator
Результат string