microting/eform-sdk-dotnet

View on GitHub
eFormCore/Messages/SurveyConfigurationCreated.cs

Summary

Maintainability
A
50 mins
Test Coverage
using System;

namespace Microting.eForm.Messages
{
    public class SurveyConfigurationCreated
    {
        public string NotificationUId { get; protected set; }
        public int MicrotringUUID { get; protected set; }

        public SurveyConfigurationCreated(string notificationUId, int microtringUUID)
        {
            if (string.IsNullOrEmpty(notificationUId)) throw new ArgumentNullException(nameof(notificationUId));

            NotificationUId = notificationUId;
            MicrotringUUID = microtringUUID;
        }
    }
}