PHP Class Scalr\Service\OpenStack\Services\Servers\Type\ListServersFilter

Since: 10.12.2012
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Service\OpenStack\Type\Marker
Show file Open project: scalr/scalr Class Usage Examples

Public Methods

Method Description
__construct ( string $name = null, string $flavorId = null, string $imageId = null, Scalr\Service\OpenStack\Services\Servers\Type\ServerStatus $status = null, DateTime $changesSince = null, string $marker = null, number $limit = null ) Convenient constructor
getChangesSince ( ) : DateTime Gets the changes-since date.
getFlavorId ( ) : string Gets a Flavor ID
getImage ( ) : string Gets the image ID
getName ( ) : string Gets a server name.
getQueryData ( ) : array Gets query data array
getStatus ( ) : Scalr\Service\OpenStack\Services\Servers\Type\ServerStatus Gets a status
init ( ) : ListServersFilter Creates a new object
setChangesSince ( DateTime $changesSince = null ) : ListServersType Sets a changes-since date.
setFlavorId ( string $flavorId ) : ListServersType Sets a Flavor ID
setImage ( string $imageId ) : ListServersType Sets an Image ID
setLimit ( $limit ) : ListServersType
setMarker ( $marker ) : ListServersType
setName ( string $name ) : ListServersType Sets a server Name
setStatus ( Scalr\Service\OpenStack\Services\Servers\Type\ServerStatus $status = null ) : ListServersType Sets a server status

Method Details

__construct() public method

Convenient constructor
public __construct ( string $name = null, string $flavorId = null, string $imageId = null, Scalr\Service\OpenStack\Services\Servers\Type\ServerStatus $status = null, DateTime $changesSince = null, string $marker = null, number $limit = null )
$name string optional A Server name.
$flavorId string optional A Flavor ID.
$imageId string optional An Image ID.
$status Scalr\Service\OpenStack\Services\Servers\Type\ServerStatus optional A server status.
$changesSince DateTime optional A changes-since date.
$marker string optional Marker.
$limit number optional Limit.

getChangesSince() public method

Gets the changes-since date.
public getChangesSince ( ) : DateTime
return DateTime The changes-since date.

getFlavorId() public method

Gets a Flavor ID
public getFlavorId ( ) : string
return string The flavor ID

getImage() public method

Gets the image ID
public getImage ( ) : string
return string The image ID

getName() public method

Gets a server name.
public getName ( ) : string
return string The server name.

getQueryData() public method

Gets query data array
public getQueryData ( ) : array
return array Returns query data array

getStatus() public method

Gets a status
public getStatus ( ) : Scalr\Service\OpenStack\Services\Servers\Type\ServerStatus
return Scalr\Service\OpenStack\Services\Servers\Type\ServerStatus The server status

init() public static method

Creates a new object
public static init ( ) : ListServersFilter
return ListServersFilter Creates new object and returns it.

setChangesSince() public method

Sets a changes-since date.
public setChangesSince ( DateTime $changesSince = null ) : ListServersType
$changesSince DateTime The changes-since date.
return ListServersType

setFlavorId() public method

Sets a Flavor ID
public setFlavorId ( string $flavorId ) : ListServersType
$flavorId string A FlavorID
return ListServersType

setImage() public method

Sets an Image ID
public setImage ( string $imageId ) : ListServersType
$imageId string An Image ID.
return ListServersType

setLimit() public method

public setLimit ( $limit ) : ListServersType
return ListServersType

setMarker() public method

public setMarker ( $marker ) : ListServersType
return ListServersType

setName() public method

Sets a server Name
public setName ( string $name ) : ListServersType
$name string A Server Name.
return ListServersType

setStatus() public method

Sets a server status
public setStatus ( Scalr\Service\OpenStack\Services\Servers\Type\ServerStatus $status = null ) : ListServersType
$status Scalr\Service\OpenStack\Services\Servers\Type\ServerStatus A Server Status.
return ListServersType