# SwaggerClient-php
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.0.0
- Build package: io.swagger.codegen.languages.PhpClientCodegen

## Requirements

PHP 5.5 and later

## Installation & Usage
### Composer

To install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com//.git"
    }
  ],
  "require": {
    "/": "*@dev"
  }
}
```

Then run `composer install`

### Manual Installation

Download the files and include `autoload.php`:

```php
    require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
```

## Tests

To run the unit tests:

```
composer install
./vendor/bin/phpunit
```

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Bearer
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Access-Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Access-Token', 'Bearer');

$apiInstance = new Swagger\Client\Api\DefaultApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$max_events = 10; // int | 

try {
    $result = $apiInstance->getEventsGet($max_events);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getEventsGet: ', $e->getMessage(), PHP_EOL;
}

?>
```

## Documentation for API Endpoints

All URIs are relative to *http://[localhost]:8099/api*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**getEventsGet**](docs/Api/DefaultApi.md#geteventsget) | **GET** /$GetEvents | 
*DefaultApi* | [**hTTPChatServiceGetLoggedUsersPost**](docs/Api/DefaultApi.md#httpchatservicegetloggeduserspost) | **POST** /HTTPChatService/GetLoggedUsers | 
*DefaultApi* | [**hTTPChatServiceLoginPost**](docs/Api/DefaultApi.md#httpchatserviceloginpost) | **POST** /HTTPChatService/Login | 
*DefaultApi* | [**hTTPChatServiceLogoutPost**](docs/Api/DefaultApi.md#httpchatservicelogoutpost) | **POST** /HTTPChatService/Logout | 
*DefaultApi* | [**hTTPChatServiceSendMessagePost**](docs/Api/DefaultApi.md#httpchatservicesendmessagepost) | **POST** /HTTPChatService/SendMessage | 


## Documentation For Models

 - [EventSink](docs/Model/EventSink.md)
 - [EventSinkResponse](docs/Model/EventSinkResponse.md)
 - [HTTPChatEventsOnLogin](docs/Model/HTTPChatEventsOnLogin.md)
 - [HTTPChatEventsOnLogout](docs/Model/HTTPChatEventsOnLogout.md)
 - [HTTPChatEventsOnSendMessage](docs/Model/HTTPChatEventsOnSendMessage.md)
 - [HTTPChatServerEventsOnMandatoryClose](docs/Model/HTTPChatServerEventsOnMandatoryClose.md)
 - [HTTPChatServerEventsOnSystemShutdown](docs/Model/HTTPChatServerEventsOnSystemShutdown.md)
 - [HTTPChatServiceLoginRequest](docs/Model/HTTPChatServiceLoginRequest.md)
 - [HTTPChatServiceLoginRequest1](docs/Model/HTTPChatServiceLoginRequest1.md)
 - [HTTPChatServiceSendMessageRequest](docs/Model/HTTPChatServiceSendMessageRequest.md)
 - [HTTPChatServiceSendMessageRequest1](docs/Model/HTTPChatServiceSendMessageRequest1.md)
 - [InlineResponse200](docs/Model/InlineResponse200.md)
 - [InlineResponse2001](docs/Model/InlineResponse2001.md)
 - [InlineResponse2001EventsData](docs/Model/InlineResponse2001EventsData.md)
 - [TUserInfo](docs/Model/TUserInfo.md)


## Documentation For Authorization


## Bearer

- **Type**: API key
- **API key parameter name**: Access-Token
- **Location**: HTTP header


## Author




