Compartir a través de


CustomAllocationDefinition Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.provisioning.service.configs.CustomAllocationDefinition

public class CustomAllocationDefinition

Constructor Summary

Constructor Description
CustomAllocationDefinition()

Method Summary

Modifier and Type Method and Description
java.lang.String getApiVersion()

Getter for the API version.

java.lang.String getWebhookUrl()

Getter for the webhook URL used for allocation requests.

void setApiVersion(String apiVersion)

Setter for the API version.

void setWebhookUrl(String webhookUrl)

Setter for the webhook URL.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CustomAllocationDefinition

public CustomAllocationDefinition()

Method Details

getApiVersion

public String getApiVersion()

Getter for the API version.

Returns:

The String with the API version content.

getWebhookUrl

public String getWebhookUrl()

Getter for the webhook URL used for allocation requests.

Returns:

The URL with the webhook url content.

setApiVersion

public void setApiVersion(String apiVersion)

Setter for the API version.

Parameters:

apiVersion - the String with the API version of the provisioning service types (such as IndividualEnrollment) sent in the custom allocation request.

setWebhookUrl

public void setWebhookUrl(String webhookUrl)

Setter for the webhook URL.

Parameters:

webhookUrl - the URL with the webhook URL used for allocation requests.

Applies to