public static Task <EmergencyNotificationRecipientsResponse> UpdateRecipients(string id, EmergencyNotificationRecipient recipient) { return(UpdateRecipients(Client.GetInstance(), id, recipient)); }
public static Task <EmergencyNotificationRecipientsResponse> CreateRecipients(EmergencyNotificationRecipient recipient) { return(CreateRecipients(Client.GetInstance(), recipient)); }
public async static Task <EmergencyNotificationRecipientsResponse> UpdateRecipients(Client client, string id, EmergencyNotificationRecipient recipient) { var item = await client.MakePutRequest <EmergencyNotificationRecipientsResponse>(client.ConcatAccountPath($"/emergencyNotificationRecipients/{id}"), recipient); return(item); }
public async static Task <EmergencyNotificationRecipientsResponse> CreateRecipients(Client client, EmergencyNotificationRecipient recipient) { var item = await client.MakePostRequest <EmergencyNotificationRecipientsResponse>(client.ConcatAccountPath($"/emergencyNotificationRecipients"), recipient); return(item); }