/// <summary>
        ///  ユーザIDを指定してジョブを登録<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator PushByUserId(
            Request.PushByUserIdRequest request,
            UnityAction <AsyncResult <Result.PushByUserIdResult> > callback
            )
        {
            var task = new PushByUserIdTask(request, callback);

            return(Gs2RestSession.Execute(task));
        }
        /// <summary>
        ///  ユーザIDを指定してジョブを登録<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator PushByUserId(
            Request.PushByUserIdRequest request,
            UnityAction <AsyncResult <Result.PushByUserIdResult> > callback
            )
        {
            var task = new PushByUserIdTask(request, callback);

            if (_certificateHandler != null)
            {
                task.UnityWebRequest.certificateHandler = _certificateHandler;
            }
            return(Gs2RestSession.Execute(task));
        }
 public PushByUserIdTask(Request.PushByUserIdRequest request, UnityAction <AsyncResult <Result.PushByUserIdResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }