Package com.twilio.base
Class Deleter<T extends Resource>
- java.lang.Object
-
- com.twilio.base.Deleter<T>
-
- Type Parameters:
T
- type of the resource
- Direct Known Subclasses:
AccountConfigDeleter
,AccountSecretDeleter
,ActivityDeleter
,AddOnResultDeleter
,AddressConfigurationDeleter
,AddressDeleter
,AlphaSenderDeleter
,ApiKeyDeleter
,AppDeleter
,ApplicationDeleter
,ArchivedCallDeleter
,AssetDeleter
,AssignedAddOnDeleter
,AssistantDeleter
,AssistantsKnowledgeDeleter
,AssistantsToolDeleter
,AuthCallsCredentialListMappingDeleter
,AuthCallsIpAccessControlListMappingDeleter
,AuthorizationDocumentDeleter
,AuthRegistrationsCredentialListMappingDeleter
,AwsDeleter
,BindingDeleter
,BindingDeleter
,BindingDeleter
,BindingDeleter
,BucketDeleter
,BuildDeleter
,BundleDeleter
,ByocTrunkDeleter
,CallDeleter
,ChannelDeleter
,ChannelDeleter
,ChannelDeleter
,ChannelDeleter
,ChannelDeleter
,ChannelSenderDeleter
,CommandDeleter
,CompositionDeleter
,CompositionHookDeleter
,ConnectAppDeleter
,ConnectionPolicyDeleter
,ConnectionPolicyTargetDeleter
,ContentDeleter
,ConversationDeleter
,ConversationDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialListDeleter
,CredentialListDeleter
,CredentialListMappingDeleter
,CustomerProfilesChannelEndpointAssignmentDeleter
,CustomerProfilesDeleter
,CustomerProfilesEntityAssignmentsDeleter
,CustomOperatorDeleter
,DeviceConfigDeleter
,DeviceSecretDeleter
,DocumentDeleter
,DocumentDeleter
,DocumentPermissionDeleter
,DocumentPermissionDeleter
,DomainCertsDeleter
,DomainDeleter
,EndUserDeleter
,EndUserDeleter
,EngagementDeleter
,EntityDeleter
,EnvironmentDeleter
,ExecutionDeleter
,ExecutionDeleter
,FactorDeleter
,FlexFlowDeleter
,FlowDeleter
,FlowDeleter
,FunctionDeleter
,HostedNumberOrderDeleter
,HostedNumberOrderDeleter
,IncomingPhoneNumberDeleter
,InsightsQuestionnairesCategoryDeleter
,InsightsQuestionnairesDeleter
,InsightsQuestionnairesQuestionDeleter
,InstalledAddOnDeleter
,InstalledAddOnDeleter
,InteractionDeleter
,InviteDeleter
,InviteDeleter
,InviteDeleter
,InviteDeleter
,IpAccessControlListDeleter
,IpAccessControlListDeleter
,IpAccessControlListMappingDeleter
,IpAddressDeleter
,IpRecordDeleter
,ItemAssignmentDeleter
,JobDeleter
,KeyDeleter
,KnowledgeDeleter
,LinkshorteningMessagingServiceDeleter
,MediaDeleter
,MemberDeleter
,MemberDeleter
,MemberDeleter
,MemberDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessagingConfigurationDeleter
,NetworkAccessProfileNetworkDeleter
,OperatorAttachmentDeleter
,OriginationUrlDeleter
,OutgoingCallerIdDeleter
,ParticipantDeleter
,ParticipantDeleter
,ParticipantDeleter
,ParticipantDeleter
,PayloadDeleter
,PhoneNumberDeleter
,PhoneNumberDeleter
,PhoneNumberDeleter
,PortingPortInDeleter
,PortingPortInPhoneNumberDeleter
,PortingWebhookConfigurationDeleteDeleter
,PublicKeyDeleter
,QueueDeleter
,RateLimitDeleter
,RatePlanDeleter
,RatePlanDeleter
,RecordingDeleter
,RecordingDeleter
,RecordingDeleter
,RecordingDeleter
,RoleDeleter
,RoleDeleter
,RoleDeleter
,RoleDeleter
,RoleDeleter
,RoleDeleter
,RoomRecordingDeleter
,SafelistDeleter
,SafelistDeleter
,SecondaryAuthTokenDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,ServiceDeleter
,SessionDeleter
,ShortCodeDeleter
,ShortCodeDeleter
,SigningKeyDeleter
,SimDeleter
,SinkDeleter
,SourceIpMappingDeleter
,SubscribedEventDeleter
,SubscriptionDeleter
,SupportingDocumentDeleter
,SupportingDocumentDeleter
,SyncListDeleter
,SyncListDeleter
,SyncListItemDeleter
,SyncListItemDeleter
,SyncListPermissionDeleter
,SyncListPermissionDeleter
,SyncMapDeleter
,SyncMapDeleter
,SyncMapItemDeleter
,SyncMapItemDeleter
,SyncMapPermissionDeleter
,SyncMapPermissionDeleter
,SyncStreamDeleter
,TaskChannelDeleter
,TaskDeleter
,TaskQueueDeleter
,TollfreeVerificationDeleter
,ToolDeleter
,TranscriptDeleter
,TranscriptionDeleter
,TranscriptionDeleter
,TriggerDeleter
,TrunkDeleter
,TrustProductsChannelEndpointAssignmentDeleter
,TrustProductsDeleter
,TrustProductsEntityAssignmentsDeleter
,UsAppToPersonDeleter
,UserBindingDeleter
,UserBindingDeleter
,UserChannelDeleter
,UserChannelDeleter
,UserConversationDeleter
,UserConversationDeleter
,UserDefinedMessageSubscriptionDeleter
,UserDeleter
,UserDeleter
,UserDeleter
,UserDeleter
,UserDeleter
,UserDeleter
,VariableDeleter
,WebChannelDeleter
,WebhookDeleter
,WebhookDeleter
,WebhookDeleter
,WebhookDeleter
,WebhookDeleter
,WorkerDeleter
,WorkflowDeleter
,WorkspaceDeleter
public abstract class Deleter<T extends Resource> extends Object
Executor for deletes of a resource.
-
-
Constructor Summary
Constructors Constructor Description Deleter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
delete()
Execute a request using default client.abstract boolean
delete(TwilioRestClient client)
Execute a request using specified client.CompletableFuture<Boolean>
deleteAsync()
Execute an async request using default client.CompletableFuture<Boolean>
deleteAsync(TwilioRestClient client)
Execute an async request using specified client.
-
-
-
Method Detail
-
deleteAsync
public CompletableFuture<Boolean> deleteAsync()
Execute an async request using default client.- Returns:
- future that resolves to true if the object was deleted
-
deleteAsync
public CompletableFuture<Boolean> deleteAsync(TwilioRestClient client)
Execute an async request using specified client.- Parameters:
client
- client used to make request- Returns:
- future that resolves to true if the object was deleted
-
delete
public boolean delete()
Execute a request using default client.- Returns:
- true if the object was deleted
-
delete
public abstract boolean delete(TwilioRestClient client)
Execute a request using specified client.- Parameters:
client
- client used to make request- Returns:
- true if the object was deleted
-
-