Skip to content

Commit 2bfddef

Browse files
committed
[Librarian] Regenerated @ bd01257c5bef8696988f5e9f18d803d8ccdb5a0f 0d301f7b8858e2f9dc391bd6803943499955b8f0
1 parent 935bcfe commit 2bfddef

File tree

11 files changed

+634
-21
lines changed

11 files changed

+634
-21
lines changed

CHANGES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
twilio-csharp Changelog
22
=======================
33

4+
[2024-04-18] Version 7.0.5
5+
--------------------------
6+
**Flex**
7+
- Add header `ui_version` to `web_channels` API
8+
9+
**Messaging**
10+
- Redeploy after failed pipeline
11+
12+
**Numbers**
13+
- Add Delete Port In request phone number api and Add Delete Port In request api
14+
15+
416
[2024-04-04] Version 7.0.4
517
--------------------------
618
**Api**

src/Twilio/Rest/Api/V2010/Account/Call/StreamOptions.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@ public class CreateStreamOptions : IOptions<StreamResource>
3131
///<summary> The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with. </summary>
3232
public string PathCallSid { get; }
3333

34-
///<summary> Relative or absolute url where WebSocket connection will be established. </summary>
34+
///<summary> Relative or absolute URL where WebSocket connection will be established. </summary>
3535
public Uri Url { get; }
3636

3737
///<summary> The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource. </summary>
3838
public string PathAccountSid { get; set; }
3939

40-
///<summary> The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream. </summary>
40+
///<summary> The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream. </summary>
4141
public string Name { get; set; }
4242

4343

4444
public StreamResource.TrackEnum Track { get; set; }
4545

46-
///<summary> Absolute URL of the status callback. </summary>
46+
///<summary> Absolute URL to which Twilio sends status callback HTTP requests. </summary>
4747
public Uri StatusCallback { get; set; }
4848

49-
///<summary> The http method for the status_callback (one of GET, POST). </summary>
49+
///<summary> The HTTP method Twilio uses when sending `status_callback` requests. Possible values are `GET` and `POST`. Default is `POST`. </summary>
5050
public Twilio.Http.HttpMethod StatusCallbackMethod { get; set; }
5151

5252
///<summary> Parameter name </summary>
@@ -646,7 +646,7 @@ public class CreateStreamOptions : IOptions<StreamResource>
646646

647647
/// <summary> Construct a new CreateStreamOptions </summary>
648648
/// <param name="pathCallSid"> The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with. </param>
649-
/// <param name="url"> Relative or absolute url where WebSocket connection will be established. </param>
649+
/// <param name="url"> Relative or absolute URL where WebSocket connection will be established. </param>
650650
public CreateStreamOptions(string pathCallSid, Uri url)
651651
{
652652
PathCallSid = pathCallSid;
@@ -1484,7 +1484,7 @@ public class UpdateStreamOptions : IOptions<StreamResource>
14841484
///<summary> The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with. </summary>
14851485
public string PathCallSid { get; }
14861486

1487-
///<summary> The SID of the Stream resource, or the `name` used when creating the resource </summary>
1487+
///<summary> The SID or the `name` of the Stream resource to be stopped </summary>
14881488
public string PathSid { get; }
14891489

14901490

@@ -1497,7 +1497,7 @@ public class UpdateStreamOptions : IOptions<StreamResource>
14971497

14981498
/// <summary> Construct a new UpdateStreamOptions </summary>
14991499
/// <param name="pathCallSid"> The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with. </param>
1500-
/// <param name="pathSid"> The SID of the Stream resource, or the `name` used when creating the resource </param>
1500+
/// <param name="pathSid"> The SID or the `name` of the Stream resource to be stopped </param>
15011501
/// <param name="status"> </param>
15021502
public UpdateStreamOptions(string pathCallSid, string pathSid, StreamResource.UpdateStatusEnum status)
15031503
{

src/Twilio/Rest/Api/V2010/Account/Call/StreamResource.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ public static async System.Threading.Tasks.Task<StreamResource> CreateAsync(Crea
117117

118118
/// <summary> Create a Stream </summary>
119119
/// <param name="pathCallSid"> The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with. </param>
120-
/// <param name="url"> Relative or absolute url where WebSocket connection will be established. </param>
120+
/// <param name="url"> Relative or absolute URL where WebSocket connection will be established. </param>
121121
/// <param name="pathAccountSid"> The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource. </param>
122-
/// <param name="name"> The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream. </param>
122+
/// <param name="name"> The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream. </param>
123123
/// <param name="track"> </param>
124-
/// <param name="statusCallback"> Absolute URL of the status callback. </param>
125-
/// <param name="statusCallbackMethod"> The http method for the status_callback (one of GET, POST). </param>
124+
/// <param name="statusCallback"> Absolute URL to which Twilio sends status callback HTTP requests. </param>
125+
/// <param name="statusCallbackMethod"> The HTTP method Twilio uses when sending `status_callback` requests. Possible values are `GET` and `POST`. Default is `POST`. </param>
126126
/// <param name="parameter1Name"> Parameter name </param>
127127
/// <param name="parameter1Value"> Parameter value </param>
128128
/// <param name="parameter2Name"> Parameter name </param>
@@ -538,12 +538,12 @@ public static StreamResource Create(
538538
#if !NET35
539539
/// <summary> Create a Stream </summary>
540540
/// <param name="pathCallSid"> The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with. </param>
541-
/// <param name="url"> Relative or absolute url where WebSocket connection will be established. </param>
541+
/// <param name="url"> Relative or absolute URL where WebSocket connection will be established. </param>
542542
/// <param name="pathAccountSid"> The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource. </param>
543-
/// <param name="name"> The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream. </param>
543+
/// <param name="name"> The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream. </param>
544544
/// <param name="track"> </param>
545-
/// <param name="statusCallback"> Absolute URL of the status callback. </param>
546-
/// <param name="statusCallbackMethod"> The http method for the status_callback (one of GET, POST). </param>
545+
/// <param name="statusCallback"> Absolute URL to which Twilio sends status callback HTTP requests. </param>
546+
/// <param name="statusCallbackMethod"> The HTTP method Twilio uses when sending `status_callback` requests. Possible values are `GET` and `POST`. Default is `POST`. </param>
547547
/// <param name="parameter1Name"> Parameter name </param>
548548
/// <param name="parameter1Value"> Parameter value </param>
549549
/// <param name="parameter2Name"> Parameter name </param>
@@ -1005,7 +1005,7 @@ public static async System.Threading.Tasks.Task<StreamResource> UpdateAsync(Upda
10051005

10061006
/// <summary> Stop a Stream using either the SID of the Stream resource or the `name` used when creating the resource </summary>
10071007
/// <param name="pathCallSid"> The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with. </param>
1008-
/// <param name="pathSid"> The SID of the Stream resource, or the `name` used when creating the resource </param>
1008+
/// <param name="pathSid"> The SID or the `name` of the Stream resource to be stopped </param>
10091009
/// <param name="status"> </param>
10101010
/// <param name="pathAccountSid"> The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource. </param>
10111011
/// <param name="client"> Client to make requests to Twilio </param>
@@ -1024,7 +1024,7 @@ public static StreamResource Update(
10241024
#if !NET35
10251025
/// <summary> Stop a Stream using either the SID of the Stream resource or the `name` used when creating the resource </summary>
10261026
/// <param name="pathCallSid"> The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with. </param>
1027-
/// <param name="pathSid"> The SID of the Stream resource, or the `name` used when creating the resource </param>
1027+
/// <param name="pathSid"> The SID or the `name` of the Stream resource to be stopped </param>
10281028
/// <param name="status"> </param>
10291029
/// <param name="pathAccountSid"> The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource. </param>
10301030
/// <param name="client"> Client to make requests to Twilio </param>
@@ -1087,7 +1087,7 @@ public static string ToJson(object model)
10871087
[JsonProperty("call_sid")]
10881088
public string CallSid { get; private set; }
10891089

1090-
///<summary> The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream. </summary>
1090+
///<summary> The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream. </summary>
10911091
[JsonProperty("name")]
10921092
public string Name { get; private set; }
10931093

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/*
2+
* This code was generated by
3+
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4+
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5+
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6+
*
7+
* Twilio - Flex
8+
* This is the public Twilio REST API.
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator.
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
using System;
17+
using System.Collections.Generic;
18+
using Twilio.Base;
19+
using Twilio.Converters;
20+
21+
22+
23+
24+
namespace Twilio.Rest.FlexApi.V2
25+
{
26+
/// <summary> Fetch flex user for the given flex user sid </summary>
27+
public class FetchFlexUserOptions : IOptions<FlexUserResource>
28+
{
29+
30+
///<summary> The unique ID created by Twilio to identify a Flex instance. </summary>
31+
public string PathInstanceSid { get; }
32+
33+
///<summary> The unique id for the flex user to be retrieved. </summary>
34+
public string PathFlexUserSid { get; }
35+
36+
37+
38+
/// <summary> Construct a new FetchFlexUserOptions </summary>
39+
/// <param name="pathInstanceSid"> The unique ID created by Twilio to identify a Flex instance. </param>
40+
/// <param name="pathFlexUserSid"> The unique id for the flex user to be retrieved. </param>
41+
public FetchFlexUserOptions(string pathInstanceSid, string pathFlexUserSid)
42+
{
43+
PathInstanceSid = pathInstanceSid;
44+
PathFlexUserSid = pathFlexUserSid;
45+
}
46+
47+
48+
/// <summary> Generate the necessary parameters </summary>
49+
public List<KeyValuePair<string, string>> GetParams()
50+
{
51+
var p = new List<KeyValuePair<string, string>>();
52+
53+
return p;
54+
}
55+
56+
57+
58+
}
59+
60+
61+
}
62+

0 commit comments

Comments
 (0)