PHP Class Zendesk\API\Resources\Core\Groups

Inheritance: extends Zendesk\API\Resources\ResourceAbstract, use trait Zendesk\API\Traits\Utility\InstantiatorTrait, use trait Zendesk\API\Traits\Resource\Defaults
Show file Open project: zendesk/zendesk_api_client_php

Public Methods

Method Description
assignable ( ) : stdClass Show assignable groups
getRoute ( $name, array $params = [] ) : mixed Returns a route and replaces tokenized parts of the string with the passed params
getValidSubResources ( )

Protected Methods

Method Description
setUpRoutes ( )

Method Details

assignable() public method

Show assignable groups
public assignable ( ) : stdClass
return stdClass | null

getRoute() public method

Returns a route and replaces tokenized parts of the string with the passed params
public getRoute ( $name, array $params = [] ) : mixed
$name
$params array
return mixed The default routes, or if $name is set to `findAll`, any of the following formats based on the parent chain GET /api/v2/groups.json GET /api/v2/users/{user_id}/groups.json

getValidSubResources() public static method

public static getValidSubResources ( )

setUpRoutes() protected method

protected setUpRoutes ( )