addRule('$id', [ 'type' => self::TYPE_STRING, 'description' => 'Subscriber ID.', 'default' => '', 'example' => '259125845563242502', ]) ->addRule('userId', [ 'type' => self::TYPE_STRING, 'description' => 'User ID.', 'default' => '', 'example' => '259125845563242502', ]) ->addRule('targetId', [ 'type' => self::TYPE_STRING, 'description' => 'Target ID.', 'default' => '', 'example' => '259125845563242502', ]) ->addRule('topicId', [ 'type' => self::TYPE_STRING, 'description' => 'Topic ID.', 'default' => '', 'example' => '259125845563242502', ]); } /** * Get Name * * @return string */ public function getName(): string { return 'Subscriber'; } /** * Get Type * * @return string */ public function getType(): string { return Response::MODEL_SUBSCRIBER; } }