コード例 #1
0
 static async public Task <Subscription> Update(Api api, ISubscribable item, UpdateSubscriptionsList updates)
 {
     return(await api.PutAsync <Subscription>(Api.UriToApi(item.SubscriptionUrl), null, updates));
 }
コード例 #2
0
 static async public Task <Subscription> Update(Api api, long projectId, long recordingId, UpdateSubscriptionsList updates)
 {
     return(await api.PutAsync <Subscription>(Api.Combine("buckets", projectId, "recordings", recordingId, "subscription"), null, updates));
 }