Skip to content

Commit

Permalink
[Librarian] Regenerated @ 15282ea63be527ac19e6c55c4a85a6c3e35190e1
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-ci committed Jul 27, 2018
1 parent 465d3c5 commit d543a32
Show file tree
Hide file tree
Showing 35 changed files with 3,232 additions and 222 deletions.
21 changes: 21 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
twilio-csharp Changelog
=======================

[2018-07-26] Version 5.14.1
----------------------------
**Library**
- PR #435: Add support for xml: namespaced properties. Thanks to @cjcodes!

**Api**
- Add support for sip domains to map credential lists for registrations

**Preview**
- Remove `ttl` from Assistants

**Proxy**
- Enable setting a proxy number as reserved

**Video**
- Add `group-small` room type

**Twiml**
- Add support for SSML lang tag on Say verb


[2018-07-16] Version 5.14.0
----------------------------
**Library**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /

using System;
using System.Collections.Generic;
using Twilio.Base;
using Twilio.Converters;

namespace Twilio.Rest.Api.V2010.Account.Sip.Domain.AuthTypes.AuthTypeCalls
{

/// <summary>
/// Create a new credential list mapping resource
/// </summary>
public class CreateAuthCallsCredentialListMappingOptions : IOptions<AuthCallsCredentialListMappingResource>
{
/// <summary>
/// The account_sid
/// </summary>
public string PathAccountSid { get; set; }
/// <summary>
/// The domain_sid
/// </summary>
public string PathDomainSid { get; }
/// <summary>
/// A string that uniquely identifies this credential list resource
/// </summary>
public string CredentialListSid { get; }

/// <summary>
/// Construct a new CreateAuthCallsCredentialListMappingOptions
/// </summary>
/// <param name="pathDomainSid"> The domain_sid </param>
/// <param name="credentialListSid"> A string that uniquely identifies this credential list resource </param>
public CreateAuthCallsCredentialListMappingOptions(string pathDomainSid, string credentialListSid)
{
PathDomainSid = pathDomainSid;
CredentialListSid = credentialListSid;
}

/// <summary>
/// Generate the necessary parameters
/// </summary>
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();
if (CredentialListSid != null)
{
p.Add(new KeyValuePair<string, string>("CredentialListSid", CredentialListSid.ToString()));
}

return p;
}
}

/// <summary>
/// Retrieve a list of credential list mappings belonging to the domain used in the request
/// </summary>
public class ReadAuthCallsCredentialListMappingOptions : ReadOptions<AuthCallsCredentialListMappingResource>
{
/// <summary>
/// The account_sid
/// </summary>
public string PathAccountSid { get; set; }
/// <summary>
/// The domain_sid
/// </summary>
public string PathDomainSid { get; }

/// <summary>
/// Construct a new ReadAuthCallsCredentialListMappingOptions
/// </summary>
/// <param name="pathDomainSid"> The domain_sid </param>
public ReadAuthCallsCredentialListMappingOptions(string pathDomainSid)
{
PathDomainSid = pathDomainSid;
}

/// <summary>
/// Generate the necessary parameters
/// </summary>
public override List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();
if (PageSize != null)
{
p.Add(new KeyValuePair<string, string>("PageSize", PageSize.ToString()));
}

return p;
}
}

/// <summary>
/// Fetch a specific instance of a credential list mapping
/// </summary>
public class FetchAuthCallsCredentialListMappingOptions : IOptions<AuthCallsCredentialListMappingResource>
{
/// <summary>
/// The account_sid
/// </summary>
public string PathAccountSid { get; set; }
/// <summary>
/// The domain_sid
/// </summary>
public string PathDomainSid { get; }
/// <summary>
/// Fetch by unique credential list Sid
/// </summary>
public string PathSid { get; }

/// <summary>
/// Construct a new FetchAuthCallsCredentialListMappingOptions
/// </summary>
/// <param name="pathDomainSid"> The domain_sid </param>
/// <param name="pathSid"> Fetch by unique credential list Sid </param>
public FetchAuthCallsCredentialListMappingOptions(string pathDomainSid, string pathSid)
{
PathDomainSid = pathDomainSid;
PathSid = pathSid;
}

/// <summary>
/// Generate the necessary parameters
/// </summary>
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();
return p;
}
}

/// <summary>
/// Delete a credential list mapping from the requested domain
/// </summary>
public class DeleteAuthCallsCredentialListMappingOptions : IOptions<AuthCallsCredentialListMappingResource>
{
/// <summary>
/// The account_sid
/// </summary>
public string PathAccountSid { get; set; }
/// <summary>
/// The domain_sid
/// </summary>
public string PathDomainSid { get; }
/// <summary>
/// Delete by unique credential list Sid
/// </summary>
public string PathSid { get; }

/// <summary>
/// Construct a new DeleteAuthCallsCredentialListMappingOptions
/// </summary>
/// <param name="pathDomainSid"> The domain_sid </param>
/// <param name="pathSid"> Delete by unique credential list Sid </param>
public DeleteAuthCallsCredentialListMappingOptions(string pathDomainSid, string pathSid)
{
PathDomainSid = pathDomainSid;
PathSid = pathSid;
}

/// <summary>
/// Generate the necessary parameters
/// </summary>
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();
return p;
}
}

}
Loading

0 comments on commit d543a32

Please sign in to comment.