IotHubGatewayServiceAPIsImpl Class

  • java.lang.Object
    • ServiceClient
      • com.microsoft.azure.sdk.iot.service.digitaltwin.generated.implementation.IotHubGatewayServiceAPIsImpl

public class IotHubGatewayServiceAPIsImpl implements IotHubGatewayServiceAPIs

Initializes a new instance of the IotHubGatewayServiceAPIs class.

Constructor Summary

Constructor Description
IotHubGatewayServiceAPIsImpl()

Initializes an instance of IotHubGatewayServiceAPIs client.

IotHubGatewayServiceAPIsImpl(OkHttpClient.Builder clientBuilder, Retrofit.Builder restBuilder)

Initializes an instance of IotHubGatewayServiceAPIs client.

IotHubGatewayServiceAPIsImpl(RestClient restClient)

Initializes an instance of IotHubGatewayServiceAPIs client.

Method Summary

Modifier and Type Method and Description
String apiVersion()

Gets Version of the Api.

DigitalTwins digitalTwins()

Gets the DigitalTwins object to access its operations.

IotHubGatewayServiceAPIsImpl withApiVersion(String apiVersion)

Sets Version of the Api.

Inherited Members

Constructor Details

IotHubGatewayServiceAPIsImpl

public IotHubGatewayServiceAPIsImpl()

Initializes an instance of IotHubGatewayServiceAPIs client.

IotHubGatewayServiceAPIsImpl

public IotHubGatewayServiceAPIsImpl(OkHttpClient.Builder clientBuilder, Retrofit.Builder restBuilder)

Initializes an instance of IotHubGatewayServiceAPIs client.

Parameters:

clientBuilder - the builder for building an OkHttp client, bundled with user configurations
restBuilder - the builder for building an Retrofit client, bundled with user configurations

IotHubGatewayServiceAPIsImpl

public IotHubGatewayServiceAPIsImpl(RestClient restClient)

Initializes an instance of IotHubGatewayServiceAPIs client.

Parameters:

restClient - the REST client containing pre-configured settings

Method Details

apiVersion

public String apiVersion()

Gets Version of the Api.

Overrides:

IotHubGatewayServiceAPIsImpl.apiVersion()

Returns:

the apiVersion value.

digitalTwins

public DigitalTwins digitalTwins()

Gets the DigitalTwins object to access its operations.

Overrides:

IotHubGatewayServiceAPIsImpl.digitalTwins()

Returns:

the DigitalTwins object.

withApiVersion

public IotHubGatewayServiceAPIsImpl withApiVersion(String apiVersion)

Sets Version of the Api.

Overrides:

IotHubGatewayServiceAPIsImpl.withApiVersion(String apiVersion)

Parameters:

apiVersion - the apiVersion value.

Returns:

the service client itself

Applies to