/// <summary>
        /// Creates new notification to be sent by OneSignal system. Async version
        /// </summary>
        /// <param name="options">Options used for notification create operation.</param>
        /// <returns></returns>
        public async Task <NotificationCreateResult> CreateAsync(NotificationCreateOptions options)
        {
            RestRequest restRequest = CreateRestRequest("notifications", Method.POST);

            restRequest.AddJsonBody(options);
            IRestResponse <NotificationCreateResult> restResponse = await base.RestClient.ExecuteTaskAsync <NotificationCreateResult>(restRequest);

            return(GetResponseData(restResponse));
        }
        /// <summary>
        /// Creates new notification to be sent by OneSignal system.
        /// </summary>
        /// <param name="options">Options used for notification create operation.</param>
        /// <returns></returns>
        public NotificationCreateResult Create(NotificationCreateOptions options)
        {
            RestRequest restRequest = CreateRestRequest("notifications", Method.POST);

            restRequest.AddJsonBody(options);
            IRestResponse <NotificationCreateResult> restResponse = base.RestClient.Execute <NotificationCreateResult>(restRequest);

            return(GetResponseData(restResponse));
        }