com.microsoft.bot.restclient

The package contains the runtime classes required for AutoRest generated clients to compile and function. To learn more about AutoRest generator, see https://github.com/azure/autorest.

Classes

Base64Url

Simple wrapper over Base64Url encoded byte array used during serialization/deserialization.

ExpandableStringEnum<T>

Base implementation for expandable, single string enums.

RestClient

An instance of this class stores the client information for making REST calls.

RestClient.Builder

The builder class for building a REST client.

RestException

Exception thrown for an invalid response with custom error information.

ServiceClient

ServiceClient is the abstraction for accessing REST operations and their payload data types.

ServiceResponse<T>

An instance of this class holds a response object and a raw REST response.

ServiceResponseBuilder<T,E>

The builder for building a ServiceResponse<T>.

ServiceResponseBuilder.Factory

A factory to create a service response builder.

ServiceResponseWithHeaders<TBody,THeader>

An instance of this class holds a response object and a raw REST response.

Validator

Validates user provided parameters are not null if they are required.

Interfaces

ServiceCallback<T>

The callback used for client side asynchronous operations.

SkipParentValidation

Annotation used for notifying the validator to skip validation for the properties in the parent class.

Enums

CollectionFormat
LogLevel

Describes the level of HTTP traffic to log.