private PushConfiguration(PushConfigurationView configuration)
 {
     Id = configuration.Id;
     Key = configuration.Key;
     ConfigurationApiId = configuration.ApiConfigurationId;
     ActionType = configuration.ActionType;
     IntegrationType = configuration.IntegrationType;
     FrequencyType = configuration.FrequencyType;
     IntegrationClients = configuration.IntegrationClients;
     IntegrationContracts = configuration.IntegrationContracts;
     IsActive = configuration.IsActive;
     ClientId = configuration.ClientId;
     IntegrationPackages = configuration.IntegrationPackages;
     BaseAddress = configuration.BaseAddress;
     Suffix = configuration.Suffix;
     Username = configuration.Username;
     Password = configuration.Password;
     HasAuthentication = configuration.HasAuthentication;
     AuthenticationToken = configuration.AuthenticationToken;
     AuthenticationKey = configuration.AuthenticationKey;
     AuthenticationType = configuration.AuthenticationType;
     CustomFrequency = DateTime.Now.Date + (configuration.CustomFrequencyTime.HasValue ? configuration.CustomFrequencyTime.Value : TimeSpan.Parse("00:00"));
     CustomDay = configuration.CustomFrequencyDay;
 }
 public void Set(PushConfigurationView configuration)
 {
     Configuration = configuration;
 }