Class PhoneCallRedirectsClient
- java.lang.Object
-
- com.intercom.api.resources.phonecallredirects.PhoneCallRedirectsClient
-
public class PhoneCallRedirectsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description PhoneCallRedirectsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<PhoneSwitch>create()You can use the API to deflect phone calls to the Intercom Messenger.java.util.Optional<PhoneSwitch>create(java.util.Optional<CreatePhoneSwitchRequest> request)You can use the API to deflect phone calls to the Intercom Messenger.java.util.Optional<PhoneSwitch>create(java.util.Optional<CreatePhoneSwitchRequest> request, RequestOptions requestOptions)You can use the API to deflect phone calls to the Intercom Messenger.RawPhoneCallRedirectsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
PhoneCallRedirectsClient
public PhoneCallRedirectsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawPhoneCallRedirectsClient withRawResponse()
Get responses with HTTP metadata like headers
-
create
public java.util.Optional<PhoneSwitch> create()
You can use the API to deflect phone calls to the Intercom Messenger. Calling this endpoint will send an SMS with a link to the Messenger to the phone number specified.If custom attributes are specified, they will be added to the user or lead's custom data attributes.
-
create
public java.util.Optional<PhoneSwitch> create(java.util.Optional<CreatePhoneSwitchRequest> request)
You can use the API to deflect phone calls to the Intercom Messenger. Calling this endpoint will send an SMS with a link to the Messenger to the phone number specified.If custom attributes are specified, they will be added to the user or lead's custom data attributes.
-
create
public java.util.Optional<PhoneSwitch> create(java.util.Optional<CreatePhoneSwitchRequest> request, RequestOptions requestOptions)
You can use the API to deflect phone calls to the Intercom Messenger. Calling this endpoint will send an SMS with a link to the Messenger to the phone number specified.If custom attributes are specified, they will be added to the user or lead's custom data attributes.
-
-