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
,AppDeleter
,ApplicationDeleter
,ArchivedCallDeleter
,AssetDeleter
,AssignedAddOnDeleter
,AssistantDeleter
,AssistantDeleter
,AuthCallsCredentialListMappingDeleter
,AuthCallsIpAccessControlListMappingDeleter
,AuthRegistrationsCredentialListMappingDeleter
,AwsDeleter
,BindingDeleter
,BindingDeleter
,BindingDeleter
,BindingDeleter
,BucketDeleter
,BuildDeleter
,BundleDeleter
,ByocTrunkDeleter
,CallDeleter
,CertificateDeleter
,ChannelDeleter
,ChannelDeleter
,ChannelDeleter
,ChannelDeleter
,ChannelDeleter
,CommandDeleter
,CompositionDeleter
,CompositionHookDeleter
,ConnectAppDeleter
,ConnectionPolicyDeleter
,ConnectionPolicyTargetDeleter
,ContentDeleter
,ConversationDeleter
,ConversationDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialDeleter
,CredentialListDeleter
,CredentialListDeleter
,CredentialListMappingDeleter
,CustomerProfilesChannelEndpointAssignmentDeleter
,CustomerProfilesDeleter
,CustomerProfilesEntityAssignmentsDeleter
,DeploymentDeleter
,DeviceConfigDeleter
,DeviceDeleter
,DeviceSecretDeleter
,DocumentDeleter
,DocumentDeleter
,DocumentPermissionDeleter
,DocumentPermissionDeleter
,DomainCertsDeleter
,DomainDeleter
,EndUserDeleter
,EndUserDeleter
,EngagementDeleter
,EntityDeleter
,EnvironmentDeleter
,ExecutionDeleter
,ExecutionDeleter
,FactorDeleter
,FeedbackSummaryDeleter
,FieldDeleter
,FieldDeleter
,FieldTypeDeleter
,FieldTypeDeleter
,FieldValueDeleter
,FieldValueDeleter
,FleetDeleter
,FlexFlowDeleter
,FlowDeleter
,FlowDeleter
,FunctionDeleter
,HostedNumberOrderDeleter
,IncomingPhoneNumberDeleter
,InsightsQuestionnairesCategoryDeleter
,InsightsQuestionnairesDeleter
,InsightsQuestionnairesQuestionDeleter
,InstalledAddOnDeleter
,InteractionDeleter
,InviteDeleter
,InviteDeleter
,InviteDeleter
,InviteDeleter
,IpAccessControlListDeleter
,IpAccessControlListDeleter
,IpAccessControlListMappingDeleter
,IpAddressDeleter
,IpRecordDeleter
,ItemAssignmentDeleter
,JobDeleter
,KeyDeleter
,KeyDeleter
,LinkshorteningMessagingServiceDeleter
,MediaDeleter
,MediaRecordingDeleter
,MemberDeleter
,MemberDeleter
,MemberDeleter
,MemberDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessageDeleter
,MessagingConfigurationDeleter
,ModelBuildDeleter
,ModelBuildDeleter
,NetworkAccessProfileNetworkDeleter
,OriginationUrlDeleter
,OutgoingCallerIdDeleter
,ParticipantDeleter
,ParticipantDeleter
,ParticipantDeleter
,ParticipantDeleter
,PayloadDeleter
,PhoneNumberDeleter
,PhoneNumberDeleter
,PhoneNumberDeleter
,PublicKeyDeleter
,QueryDeleter
,QueryDeleter
,QueueDeleter
,RateLimitDeleter
,RatePlanDeleter
,RatePlanDeleter
,RecordingDeleter
,RecordingDeleter
,RecordingDeleter
,RecordingDeleter
,RoleDeleter
,RoleDeleter
,RoleDeleter
,RoleDeleter
,RoleDeleter
,RoleDeleter
,RoomRecordingDeleter
,SafelistDeleter
,SampleDeleter
,SampleDeleter
,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
,TaskDeleter
,TaskDeleter
,TaskQueueDeleter
,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
,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
-
-