PHP Class DataSift_Account_Identity_Limit

Author: Chris Knight ([email protected])
Inheritance: extends DataSift_Account
Show file Open project: datasift/datasift-php Class Usage Examples

Public Methods

Method Description
create ( string $identity, string $service, integer $total_allowance = false, integer $analyze_queries = false ) : mixed Create a limit for a service
delete ( string $identity, $service ) : mixed Delete the limit for an service
get ( string $identity, string $service ) : mixed Returns the limit for a service
getAll ( string $service, integer $page = 1, $perPage = 25 ) : mixed Get all the limits for a service
update ( string $identity, string $service, integer $total_allowance = false, integer $analyze_queries = false ) : mixed Update the limit for an service

Method Details

create() public method

Create a limit for a service
public create ( string $identity, string $service, integer $total_allowance = false, integer $analyze_queries = false ) : mixed
$identity string
$service string
$total_allowance integer
$analyze_queries integer
return mixed

delete() public method

Delete the limit for an service
public delete ( string $identity, $service ) : mixed
$identity string
return mixed

get() public method

Returns the limit for a service
public get ( string $identity, string $service ) : mixed
$identity string
$service string
return mixed

getAll() public method

Get all the limits for a service
public getAll ( string $service, integer $page = 1, $perPage = 25 ) : mixed
$service string
$page integer
return mixed

update() public method

Update the limit for an service
public update ( string $identity, string $service, integer $total_allowance = false, integer $analyze_queries = false ) : mixed
$identity string
$service string
$total_allowance integer
$analyze_queries integer
return mixed