From ca5e27a3a550f2efd4a1bf6467af896411f2616d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henning=20Bj=C3=B8rgo?= Date: Thu, 2 May 2024 20:53:58 +0200 Subject: [PATCH] Simplify --- src/HeboTech.ATLib/DTOs/SmsSubmitRequest.cs | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/HeboTech.ATLib/DTOs/SmsSubmitRequest.cs b/src/HeboTech.ATLib/DTOs/SmsSubmitRequest.cs index 1dc11d2..ede6e5e 100644 --- a/src/HeboTech.ATLib/DTOs/SmsSubmitRequest.cs +++ b/src/HeboTech.ATLib/DTOs/SmsSubmitRequest.cs @@ -34,31 +34,10 @@ public SmsSubmitRequest( PhoneNumber phoneNumber, string message, CharacterSet codingScheme) - : this( - phoneNumber, - message, - codingScheme, - ValidityPeriod.NotPresent()) - { - } - - /// - /// Creates a data object for submitting an SMS in PDU format. - /// - /// The receiver phone number - /// The message to send - /// The coding scheme to use - /// The validity period to use - public SmsSubmitRequest( - PhoneNumber phoneNumber, - string message, - CharacterSet codingScheme, - ValidityPeriod validityPeriod) { PhoneNumber = phoneNumber; Message = message; CodingScheme = codingScheme; - ValidityPeriod = validityPeriod; } public PhoneNumber PhoneNumber { get; }