Skip to content

Commit d118d8d

Browse files
committed
Regenerate library
1 parent 62b7501 commit d118d8d

File tree

392 files changed

+6771
-7229
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

392 files changed

+6771
-7229
lines changed

CHANGES.md

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

4+
[2017-02-24] Version 5.1.1-alpha1
5+
--------------------------
6+
- Fix bug in reading `AvailablePhoneNumbers`
7+
- Remove `SandboxResource`
8+
49

510
[2017-02-24] Version 5.0.3-alpha1
611
--------------------------

src/Twilio/Rest/Accounts/V1/Credential/PublicKeyOptions.cs

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Twilio.Rest.Accounts.V1.Credential
66
{
77

88
/// <summary>
9-
/// ReadPublicKeyOptions
9+
/// Retrieves a collection of Public Key Credentials belonging to the account used to make the request
1010
/// </summary>
1111
public class ReadPublicKeyOptions : ReadOptions<PublicKeyResource>
1212
{
@@ -20,39 +20,39 @@ public override List<KeyValuePair<string, string>> GetParams()
2020
{
2121
p.Add(new KeyValuePair<string, string>("PageSize", PageSize.ToString()));
2222
}
23-
23+
2424
return p;
2525
}
2626
}
2727

2828
/// <summary>
29-
/// CreatePublicKeyOptions
29+
/// Create a new Public Key Credential
3030
/// </summary>
3131
public class CreatePublicKeyOptions : IOptions<PublicKeyResource>
3232
{
3333
/// <summary>
34-
/// The public_key
34+
/// URL encoded representation of the public key
3535
/// </summary>
3636
public string PublicKey { get; }
3737
/// <summary>
38-
/// The friendly_name
38+
/// A human readable description of this resource
3939
/// </summary>
4040
public string FriendlyName { get; set; }
4141
/// <summary>
42-
/// The account_sid
42+
/// The Subaccount this Credential should be associated with.
4343
/// </summary>
4444
public string AccountSid { get; set; }
45-
45+
4646
/// <summary>
4747
/// Construct a new CreatePublicKeyOptions
4848
/// </summary>
4949
///
50-
/// <param name="publicKey"> The public_key </param>
50+
/// <param name="publicKey"> URL encoded representation of the public key </param>
5151
public CreatePublicKeyOptions(string publicKey)
5252
{
5353
PublicKey = publicKey;
5454
}
55-
55+
5656
/// <summary>
5757
/// Generate the necessary parameters
5858
/// </summary>
@@ -63,41 +63,41 @@ public List<KeyValuePair<string, string>> GetParams()
6363
{
6464
p.Add(new KeyValuePair<string, string>("PublicKey", PublicKey.ToString()));
6565
}
66-
66+
6767
if (FriendlyName != null)
6868
{
6969
p.Add(new KeyValuePair<string, string>("FriendlyName", FriendlyName));
7070
}
71-
71+
7272
if (AccountSid != null)
7373
{
7474
p.Add(new KeyValuePair<string, string>("AccountSid", AccountSid.ToString()));
7575
}
76-
76+
7777
return p;
7878
}
7979
}
8080

8181
/// <summary>
82-
/// FetchPublicKeyOptions
82+
/// Fetch the public key specified by the provided Credential Sid
8383
/// </summary>
8484
public class FetchPublicKeyOptions : IOptions<PublicKeyResource>
8585
{
8686
/// <summary>
87-
/// The sid
87+
/// Fetch by unique Credential Sid
8888
/// </summary>
8989
public string PathSid { get; }
90-
90+
9191
/// <summary>
9292
/// Construct a new FetchPublicKeyOptions
9393
/// </summary>
9494
///
95-
/// <param name="pathSid"> The sid </param>
95+
/// <param name="pathSid"> Fetch by unique Credential Sid </param>
9696
public FetchPublicKeyOptions(string pathSid)
9797
{
9898
PathSid = pathSid;
9999
}
100-
100+
101101
/// <summary>
102102
/// Generate the necessary parameters
103103
/// </summary>
@@ -109,29 +109,29 @@ public List<KeyValuePair<string, string>> GetParams()
109109
}
110110

111111
/// <summary>
112-
/// UpdatePublicKeyOptions
112+
/// Modify the properties of a given Account
113113
/// </summary>
114114
public class UpdatePublicKeyOptions : IOptions<PublicKeyResource>
115115
{
116116
/// <summary>
117-
/// The sid
117+
/// Fetch by unique Credential Sid
118118
/// </summary>
119119
public string PathSid { get; }
120120
/// <summary>
121-
/// The friendly_name
121+
/// A human readable description of this resource
122122
/// </summary>
123123
public string FriendlyName { get; set; }
124-
124+
125125
/// <summary>
126126
/// Construct a new UpdatePublicKeyOptions
127127
/// </summary>
128128
///
129-
/// <param name="pathSid"> The sid </param>
129+
/// <param name="pathSid"> Fetch by unique Credential Sid </param>
130130
public UpdatePublicKeyOptions(string pathSid)
131131
{
132132
PathSid = pathSid;
133133
}
134-
134+
135135
/// <summary>
136136
/// Generate the necessary parameters
137137
/// </summary>
@@ -142,31 +142,31 @@ public List<KeyValuePair<string, string>> GetParams()
142142
{
143143
p.Add(new KeyValuePair<string, string>("FriendlyName", FriendlyName));
144144
}
145-
145+
146146
return p;
147147
}
148148
}
149149

150150
/// <summary>
151-
/// DeletePublicKeyOptions
151+
/// Delete a Credential from your account
152152
/// </summary>
153153
public class DeletePublicKeyOptions : IOptions<PublicKeyResource>
154154
{
155155
/// <summary>
156-
/// The sid
156+
/// A 34 character string that uniquely identifies this resource.
157157
/// </summary>
158158
public string PathSid { get; }
159-
159+
160160
/// <summary>
161161
/// Construct a new DeletePublicKeyOptions
162162
/// </summary>
163163
///
164-
/// <param name="pathSid"> The sid </param>
164+
/// <param name="pathSid"> A 34 character string that uniquely identifies this resource. </param>
165165
public DeletePublicKeyOptions(string pathSid)
166166
{
167167
PathSid = pathSid;
168168
}
169-
169+
170170
/// <summary>
171171
/// Generate the necessary parameters
172172
/// </summary>

0 commit comments

Comments
 (0)