public bool DeleteAllAddresses(Person person) { DefaultHandler <Address> handler = new DefaultHandler <Address>($"{this.URL}/{person.ID}/addresses", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.DeleteAll()); }
public bool RemoveAllAssignments(ProjectTask projectTask) { DefaultHandler <ProjectTaskAssignment> handler = new DefaultHandler <ProjectTaskAssignment>($"{this.URL}/{projectTask.ID}/assignments", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.DeleteAll()); }
public bool DeleteAllTranslations(KnowledgeArticle knowledgeArticle) { DefaultHandler <KnowledgeArticleTranslation> handler = new DefaultHandler <KnowledgeArticleTranslation>($"{this.URL}/{knowledgeArticle.ID}/translations", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.DeleteAll()); }
public bool DeleteAllContacts(Organization organization) { DefaultHandler <Contact> handler = new DefaultHandler <Contact>($"{this.URL}/{organization.ID}/contact", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.DeleteAll()); }
public bool DeleteAllProjectTaskTemplates(ProjectTemplate projectTemplate) { DefaultHandler <ProjectTaskTemplateReference> handler = new DefaultHandler <ProjectTaskTemplateReference>($"{this.URL}/{projectTemplate.ID}/task_templates", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.DeleteAll()); }
public bool RemoveAllApprovals(TaskTemplate taskTemplate) { DefaultHandler <TaskTemplateApproval> handler = new DefaultHandler <TaskTemplateApproval>($"{this.URL}/{taskTemplate.ID}/approvals", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.DeleteAll()); }
public bool DeleteAllConfigurationItemRelations(ConfigurationItem configurationItem) { DefaultHandler <ConfigurationItemRelation> handler = new DefaultHandler <ConfigurationItemRelation>($"{this.URL}/{configurationItem.ID}/ci_relations", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.DeleteAll()); }