public function __construct(Client $client, $name) { $this->client = $client; $this->name = $name; $this->setMarshaler(new JobMarshaler()); }