XeroLinkedService Class

public class XeroLinkedService
extends LinkedService

Xero Service linked service.

Constructor Summary

Constructor Description
XeroLinkedService()

Creates an instance of XeroLinkedService class.

Method Summary

Modifier and Type Method and Description
Object getConnectionProperties()

Get the connectionProperties property: Properties used to connect to Xero.

SecretBase getConsumerKey()

Get the consumerKey property: The consumer key associated with the Xero application.

Object getEncryptedCredential()

Get the encryptedCredential property: The encrypted credential used for authentication.

Object getHost()

Get the host property: The endpoint of the Xero server.

SecretBase getPrivateKey()

Get the privateKey property: The private key from the .pem file that was generated for your Xero private application.

Object getUseEncryptedEndpoints()

Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.

Object getUseHostVerification()

Get the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL.

Object getUsePeerVerification()

Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.

XeroLinkedService setAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the linked service.

XeroLinkedService setConnectVia(IntegrationRuntimeReference connectVia)

Set the connectVia property: The integration runtime reference.

XeroLinkedService setConnectionProperties(Object connectionProperties)

Set the connectionProperties property: Properties used to connect to Xero.

XeroLinkedService setConsumerKey(SecretBase consumerKey)

Set the consumerKey property: The consumer key associated with the Xero application.

XeroLinkedService setDescription(String description)

Set the description property: Linked service description.

XeroLinkedService setEncryptedCredential(Object encryptedCredential)

Set the encryptedCredential property: The encrypted credential used for authentication.

XeroLinkedService setHost(Object host)

Set the host property: The endpoint of the Xero server.

XeroLinkedService setParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for linked service.

XeroLinkedService setPrivateKey(SecretBase privateKey)

Set the privateKey property: The private key from the .pem file that was generated for your Xero private application.

XeroLinkedService setUseEncryptedEndpoints(Object useEncryptedEndpoints)

Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.

XeroLinkedService setUseHostVerification(Object useHostVerification)

Set the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL.

XeroLinkedService setUsePeerVerification(Object usePeerVerification)

Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.

Methods inherited from LinkedService

Methods inherited from java.lang.Object

Constructor Details

XeroLinkedService

public XeroLinkedService()

Creates an instance of XeroLinkedService class.

Method Details

getConnectionProperties

public Object getConnectionProperties()

Get the connectionProperties property: Properties used to connect to Xero. It is mutually exclusive with any other properties in the linked service. Type: object.

Returns:

the connectionProperties value.

getConsumerKey

public SecretBase getConsumerKey()

Get the consumerKey property: The consumer key associated with the Xero application.

Returns:

the consumerKey value.

getEncryptedCredential

public Object getEncryptedCredential()

Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).

Returns:

the encryptedCredential value.

getHost

public Object getHost()

Get the host property: The endpoint of the Xero server. (i.e. api.xero.com).

Returns:

the host value.

getPrivateKey

public SecretBase getPrivateKey()

Get the privateKey property: The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( ).

Returns:

the privateKey value.

getUseEncryptedEndpoints

public Object getUseEncryptedEndpoints()

Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.

Returns:

the useEncryptedEndpoints value.

getUseHostVerification

public Object getUseHostVerification()

Get the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.

Returns:

the useHostVerification value.

getUsePeerVerification

public Object getUsePeerVerification()

Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.

Returns:

the usePeerVerification value.

setAnnotations

public XeroLinkedService setAnnotations(List annotations)

Set the annotations property: List of tags that can be used for describing the linked service.

Overrides:

XeroLinkedService.setAnnotations(List<Object> annotations)

Parameters:

annotations

setConnectVia

public XeroLinkedService setConnectVia(IntegrationRuntimeReference connectVia)

Set the connectVia property: The integration runtime reference.

Overrides:

XeroLinkedService.setConnectVia(IntegrationRuntimeReference connectVia)

Parameters:

connectVia

setConnectionProperties

public XeroLinkedService setConnectionProperties(Object connectionProperties)

Set the connectionProperties property: Properties used to connect to Xero. It is mutually exclusive with any other properties in the linked service. Type: object.

Parameters:

connectionProperties - the connectionProperties value to set.

Returns:

the XeroLinkedService object itself.

setConsumerKey

public XeroLinkedService setConsumerKey(SecretBase consumerKey)

Set the consumerKey property: The consumer key associated with the Xero application.

Parameters:

consumerKey - the consumerKey value to set.

Returns:

the XeroLinkedService object itself.

setDescription

public XeroLinkedService setDescription(String description)

Set the description property: Linked service description.

Overrides:

XeroLinkedService.setDescription(String description)

Parameters:

description

setEncryptedCredential

public XeroLinkedService setEncryptedCredential(Object encryptedCredential)

Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).

Parameters:

encryptedCredential - the encryptedCredential value to set.

Returns:

the XeroLinkedService object itself.

setHost

public XeroLinkedService setHost(Object host)

Set the host property: The endpoint of the Xero server. (i.e. api.xero.com).

Parameters:

host - the host value to set.

Returns:

the XeroLinkedService object itself.

setParameters

public XeroLinkedService setParameters(Map parameters)

Set the parameters property: Parameters for linked service.

Overrides:

XeroLinkedService.setParameters(Map<String,ParameterSpecification> parameters)

Parameters:

parameters

setPrivateKey

public XeroLinkedService setPrivateKey(SecretBase privateKey)

Set the privateKey property: The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( ).

Parameters:

privateKey - the privateKey value to set.

Returns:

the XeroLinkedService object itself.

setUseEncryptedEndpoints

public XeroLinkedService setUseEncryptedEndpoints(Object useEncryptedEndpoints)

Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.

Parameters:

useEncryptedEndpoints - the useEncryptedEndpoints value to set.

Returns:

the XeroLinkedService object itself.

setUseHostVerification

public XeroLinkedService setUseHostVerification(Object useHostVerification)

Set the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.

Parameters:

useHostVerification - the useHostVerification value to set.

Returns:

the XeroLinkedService object itself.

setUsePeerVerification

public XeroLinkedService setUsePeerVerification(Object usePeerVerification)

Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.

Parameters:

usePeerVerification - the usePeerVerification value to set.

Returns:

the XeroLinkedService object itself.

Applies to