public function createApiApp(ApiApp $apiApp)
    {
        $post = $apiApp->toCreateParams();

        $response = $this->rest->post(
            static::APIAPP_PATH,
            $post
        );

        $this->checkResponse($response);

        return $apiApp->fromResponse($response);
    }
public function createApiApp(ApiApp $apiApp)
    {
        $post = $apiApp->toCreateParams();

        $response = $this->rest->post(
            static::APIAPP_PATH,
            $post
        );

        $this->checkResponse($response);

        return $apiApp->fromResponse($response);
    }
public function createApiApp ( ApiApp $ apiApp ) { $ post = $ apiApp -> toCreateParams ( ) ; $ response = $ this -> rest -> post ( static :: APIAPP_PATH , $ post ) ; $ this -> checkResponse ( $ response ) ; return $ apiApp -> fromResponse ( $ response ) ; }
Creates a new API App

@param  ApiApp $apiApp
@return ApiApp
@throws BaseException
Creates a new API App