/// <summary> /// Operation: Create Card /// HTTP Method: POST /// Endpoint: /restapi/v1.0/glip/cards /// Rate Limit Group: Medium /// App Permission: Glip /// User Permission: Glip /// </summary> public async Task <RingCentral.GlipMessageAttachmentInfo> Post( RingCentral.GlipMessageAttachmentInfoRequest glipMessageAttachmentInfoRequest, CreateGlipCardParameters queryParams = null, CancellationToken?cancellationToken = null) { return(await rc.Post <RingCentral.GlipMessageAttachmentInfo>(this.Path(false), glipMessageAttachmentInfoRequest, queryParams, cancellationToken)); }
/// <summary> /// Operation: Update Card /// Http Put /restapi/v1.0/glip/cards/{cardId} /// </summary> public async Task <string> Put(RingCentral.GlipMessageAttachmentInfoRequest glipMessageAttachmentInfoRequest) { if (this.cardId == null) { throw new System.ArgumentNullException("cardId"); } return(await rc.Put <string>(this.Path(), glipMessageAttachmentInfoRequest)); }