Example #1
0
        // Operation: Update Note
        // Http Put /restapi/v1.0/glip/notes/{noteId}
        public async Task <RingCentral.GlipNoteInfo> Put(RingCentral.GlipNoteCreate glipNoteCreate)
        {
            if (this.noteId == null)
            {
                throw new System.ArgumentNullException("noteId");
            }

            return(await rc.Put <RingCentral.GlipNoteInfo>(this.Path(), glipNoteCreate));
        }
Example #2
0
        // Operation: Patch Note
        // Http Patch /restapi/v1.0/glip/notes/{noteId}
        public async Task <RingCentral.GlipNoteInfo> Patch(RingCentral.GlipNoteCreate glipNoteCreate,
                                                           PatchNoteParameters queryParams = null)
        {
            if (this.noteId == null)
            {
                throw new System.ArgumentNullException("noteId");
            }

            return(await rc.Patch <RingCentral.GlipNoteInfo>(this.Path(), glipNoteCreate, queryParams));
        }
Example #3
0
        /// <summary>
        /// Operation: Update Note
        /// HTTP Method: PATCH
        /// Endpoint: /restapi/v1.0/glip/notes/{noteId}
        /// Rate Limit Group: Medium
        /// App Permission: Glip
        /// User Permission: Glip
        /// </summary>
        public async Task <RingCentral.GlipNoteInfo> Patch(RingCentral.GlipNoteCreate glipNoteCreate,
                                                           CancellationToken?cancellationToken = null)
        {
            if (this.noteId == null)
            {
                throw new System.ArgumentNullException("noteId");
            }

            return(await rc.Patch <RingCentral.GlipNoteInfo>(this.Path(), glipNoteCreate, null, cancellationToken));
        }
Example #4
0
        /// <summary>
        /// Operation: Update Note
        /// HTTP Method: PATCH
        /// Endpoint: /restapi/v1.0/glip/notes/{noteId}
        /// Rate Limit Group: Medium
        /// App Permission: Glip
        /// User Permission: Glip
        /// </summary>
        public async Task <RingCentral.GlipNoteInfo> Patch(RingCentral.GlipNoteCreate glipNoteCreate,
                                                           RestRequestConfig restRequestConfig = null)
        {
            if (this.noteId == null)
            {
                throw new System.ArgumentNullException("noteId");
            }

            return(await rc.Patch <RingCentral.GlipNoteInfo>(this.Path(), glipNoteCreate, null, restRequestConfig));
        }
Example #5
0
 // Operation: Create User Note
 // Http Post /restapi/v1.0/glip/notes
 public async Task <RingCentral.GlipNoteInfo> Post(RingCentral.GlipNoteCreate glipNoteCreate)
 {
     return(await rc.Post <RingCentral.GlipNoteInfo>(this.Path(false), glipNoteCreate));
 }
Example #6
0
 /// <summary>
 /// Operation: Create Note
 /// HTTP Method: POST
 /// Endpoint: /restapi/v1.0/glip/chats/{chatId}/notes
 /// Rate Limit Group: Medium
 /// App Permission: Glip
 /// User Permission: Glip
 /// </summary>
 public async Task <RingCentral.GlipNoteInfo> Post(RingCentral.GlipNoteCreate glipNoteCreate,
                                                   RestRequestConfig restRequestConfig = null)
 {
     return(await rc.Post <RingCentral.GlipNoteInfo>(this.Path(), glipNoteCreate, null, restRequestConfig));
 }
Example #7
0
 /// <summary>
 /// Operation: Create Note
 /// HTTP Method: POST
 /// Endpoint: /restapi/v1.0/glip/chats/{chatId}/notes
 /// Rate Limit Group: Medium
 /// App Permission: Glip
 /// User Permission: Glip
 /// </summary>
 public async Task <RingCentral.GlipNoteInfo> Post(RingCentral.GlipNoteCreate glipNoteCreate,
                                                   CancellationToken?cancellationToken = null)
 {
     return(await rc.Post <RingCentral.GlipNoteInfo>(this.Path(), glipNoteCreate, null, cancellationToken));
 }