Udostępnij za pośrednictwem


WebhookUpdatePartnerDestinationInfo Class

public final class WebhookUpdatePartnerDestinationInfo
extends PartnerUpdateDestinationInfo

Information about the update of the WebHook of the partner destination.

Constructor Summary

Constructor Description
WebhookUpdatePartnerDestinationInfo()

Creates an instance of WebhookUpdatePartnerDestinationInfo class.

Method Summary

Modifier and Type Method and Description
PartnerClientAuthentication clientAuthentication()

Get the clientAuthentication property: Partner client authentication.

String endpointBaseUrl()

Get the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.

PartnerEndpointType endpointType()

Get the endpointType property: Type of the endpoint for the partner destination.

String endpointUrl()

Get the endpointUrl property: The URL that represents the endpoint of the partner destination.

static WebhookUpdatePartnerDestinationInfo fromJson(JsonReader jsonReader)

Reads an instance of WebhookUpdatePartnerDestinationInfo from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WebhookUpdatePartnerDestinationInfo withClientAuthentication(PartnerClientAuthentication clientAuthentication)

Set the clientAuthentication property: Partner client authentication.

WebhookUpdatePartnerDestinationInfo withEndpointBaseUrl(String endpointBaseUrl)

Set the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.

WebhookUpdatePartnerDestinationInfo withEndpointUrl(String endpointUrl)

Set the endpointUrl property: The URL that represents the endpoint of the partner destination.

Methods inherited from PartnerUpdateDestinationInfo

Methods inherited from java.lang.Object

Constructor Details

WebhookUpdatePartnerDestinationInfo

public WebhookUpdatePartnerDestinationInfo()

Creates an instance of WebhookUpdatePartnerDestinationInfo class.

Method Details

clientAuthentication

public PartnerClientAuthentication clientAuthentication()

Get the clientAuthentication property: Partner client authentication.

Returns:

the clientAuthentication value.

endpointBaseUrl

public String endpointBaseUrl()

Get the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.

Returns:

the endpointBaseUrl value.

endpointType

public PartnerEndpointType endpointType()

Get the endpointType property: Type of the endpoint for the partner destination.

Overrides:

WebhookUpdatePartnerDestinationInfo.endpointType()

Returns:

the endpointType value.

endpointUrl

public String endpointUrl()

Get the endpointUrl property: The URL that represents the endpoint of the partner destination.

Returns:

the endpointUrl value.

fromJson

public static WebhookUpdatePartnerDestinationInfo fromJson(JsonReader jsonReader)

Reads an instance of WebhookUpdatePartnerDestinationInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WebhookUpdatePartnerDestinationInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the WebhookUpdatePartnerDestinationInfo.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WebhookUpdatePartnerDestinationInfo.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

WebhookUpdatePartnerDestinationInfo.validate()

withClientAuthentication

public WebhookUpdatePartnerDestinationInfo withClientAuthentication(PartnerClientAuthentication clientAuthentication)

Set the clientAuthentication property: Partner client authentication.

Parameters:

clientAuthentication - the clientAuthentication value to set.

Returns:

the WebhookUpdatePartnerDestinationInfo object itself.

withEndpointBaseUrl

public WebhookUpdatePartnerDestinationInfo withEndpointBaseUrl(String endpointBaseUrl)

Set the endpointBaseUrl property: The base URL that represents the endpoint of the partner destination.

Parameters:

endpointBaseUrl - the endpointBaseUrl value to set.

Returns:

the WebhookUpdatePartnerDestinationInfo object itself.

withEndpointUrl

public WebhookUpdatePartnerDestinationInfo withEndpointUrl(String endpointUrl)

Set the endpointUrl property: The URL that represents the endpoint of the partner destination.

Parameters:

endpointUrl - the endpointUrl value to set.

Returns:

the WebhookUpdatePartnerDestinationInfo object itself.

Applies to