Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FacebookIntegrationUpdateRequest" /> class.
 /// </summary>
 /// <param name="Name">The name of the Facebook Integration.</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="PageAccessToken">The long-lived Page Access Token of Facebook page.  See https://developers.facebook.com/docs/facebook-login/access-tokens.  Either pageAccessToken or userAccessToken should be provided..</param>
 /// <param name="UserAccessToken">The short-lived User Access Token of the Facebook user logged into the Facebook app.  See https://developers.facebook.com/docs/facebook-login/access-tokens.  Either pageAccessToken or userAccessToken should be provided..</param>
 public FacebookIntegrationUpdateRequest(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string PageAccessToken = null, string UserAccessToken = null)
 {
     this.Name             = Name;
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
     this.PageAccessToken  = PageAccessToken;
     this.UserAccessToken  = UserAccessToken;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WhatsAppIntegrationRequest" /> class.
 /// </summary>
 /// <param name="Name">The name of the WhatsApp Integration (required).</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="PhoneNumber">The phone number associated to the whatsApp integration (required).</param>
 /// <param name="WabaCertificate">The waba(WhatsApp Business Manager) certificate associated to the WhatsApp integration phone number (required).</param>
 public WhatsAppIntegrationRequest(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string PhoneNumber = null, string WabaCertificate = null)
 {
     this.Name             = Name;
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
     this.PhoneNumber      = PhoneNumber;
     this.WabaCertificate  = WabaCertificate;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OpenIntegrationUpdateRequest" /> class.
 /// </summary>
 /// <param name="Name">The name of the Open messaging integration. (required).</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="OutboundNotificationWebhookUrl">The outbound notification webhook URL for the Open messaging integration..</param>
 /// <param name="OutboundNotificationWebhookSignatureSecretToken">The outbound notification webhook signature secret token..</param>
 /// <param name="WebhookHeaders">The user specified headers for the Open messaging integration..</param>
 public OpenIntegrationUpdateRequest(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string OutboundNotificationWebhookUrl = null, string OutboundNotificationWebhookSignatureSecretToken = null, Dictionary <string, string> WebhookHeaders = null)
 {
     this.Name             = Name;
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
     this.OutboundNotificationWebhookUrl = OutboundNotificationWebhookUrl;
     this.OutboundNotificationWebhookSignatureSecretToken = OutboundNotificationWebhookSignatureSecretToken;
     this.WebhookHeaders = WebhookHeaders;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LineIntegrationRequest" /> class.
 /// </summary>
 /// <param name="Name">The name of the LINE Integration (required).</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="ChannelId">The Channel Id from LINE messenger. New Official LINE account: To create a new official account, LINE requires a Webhook URL. It can be created without specifying Channel Id & Channel Secret. Once the Official account is created by LINE, use the update LINE Integration API to update Channel Id and Channel Secret.  All other accounts: Channel Id is mandatory. (NOTE: ChannelId can only be updated if the integration is set to inactive).</param>
 /// <param name="ChannelSecret">The Channel Secret from LINE messenger. New Official LINE account: To create a new official account, LINE requires a Webhook URL. It can be created without specifying Channel Id & Channel Secret. Once the Official account is created by LINE, use the update LINE Integration API to update Channel Id and Channel Secret.  All other accounts: Channel Secret is mandatory. (NOTE: ChannelSecret can only be updated if the integration is set to inactive).</param>
 /// <param name="SwitcherSecret">The Switcher Secret from LINE messenger. Some line official accounts are switcher functionality enabled. If the LINE account used for this integration is switcher enabled, then switcher secret is a required field. This secret can be found in your create documentation provided by LINE.</param>
 /// <param name="ServiceCode">The Service Code from LINE messenger. Only applicable to LINE Enterprise accounts. This service code can be found in your create documentation provided by LINE.</param>
 public LineIntegrationRequest(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string ChannelId = null, string ChannelSecret = null, string SwitcherSecret = null, string ServiceCode = null)
 {
     this.Name             = Name;
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
     this.ChannelId        = ChannelId;
     this.ChannelSecret    = ChannelSecret;
     this.SwitcherSecret   = SwitcherSecret;
     this.ServiceCode      = ServiceCode;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WhatsAppIntegrationUpdateRequest" /> class.
 /// </summary>
 /// <param name="Name">WhatsApp Integration name.</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="Action">The action used to activate and then confirm a WhatsApp Integration..</param>
 /// <param name="AuthenticationMethod">The authentication method used to confirm a WhatsApp Integration activation. If action is set to Activate, then authenticationMethod is a required field. .</param>
 /// <param name="ConfirmationCode">The confirmation code sent by Whatsapp to you during the activation step. If action is set to Confirm, then confirmationCode is a required field..</param>
 /// <param name="PhoneNumber">Phone number to associate with the WhatsApp integration.</param>
 public WhatsAppIntegrationUpdateRequest(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, ActionEnum?Action = null, AuthenticationMethodEnum?AuthenticationMethod = null, string ConfirmationCode = null, string PhoneNumber = null)
 {
     this.Name                 = Name;
     this.SupportedContent     = SupportedContent;
     this.MessagingSetting     = MessagingSetting;
     this.Action               = Action;
     this.AuthenticationMethod = AuthenticationMethod;
     this.ConfirmationCode     = ConfirmationCode;
     this.PhoneNumber          = PhoneNumber;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TwitterIntegrationRequest" /> class.
 /// </summary>
 /// <param name="Name">The name of the Twitter Integration (required).</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="AccessTokenKey">The Access Token Key from Twitter messenger (required).</param>
 /// <param name="AccessTokenSecret">The Access Token Secret from Twitter messenger (required).</param>
 /// <param name="ConsumerKey">The Consumer Key from Twitter messenger (required).</param>
 /// <param name="ConsumerSecret">The Consumer Secret from Twitter messenger (required).</param>
 /// <param name="Tier">The type of twitter account to be used for the integration (required).</param>
 /// <param name="EnvName">The Twitter environment name, e.g.: env-beta (required for premium tier).</param>
 public TwitterIntegrationRequest(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string AccessTokenKey = null, string AccessTokenSecret = null, string ConsumerKey = null, string ConsumerSecret = null, TierEnum?Tier = null, string EnvName = null)
 {
     this.Name              = Name;
     this.SupportedContent  = SupportedContent;
     this.MessagingSetting  = MessagingSetting;
     this.AccessTokenKey    = AccessTokenKey;
     this.AccessTokenSecret = AccessTokenSecret;
     this.ConsumerKey       = ConsumerKey;
     this.ConsumerSecret    = ConsumerSecret;
     this.Tier              = Tier;
     this.EnvName           = EnvName;
 }
Exemple #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WhatsAppIntegration" /> class.
 /// </summary>
 /// <param name="Name">The name of the WhatsApp integration. (required).</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="PhoneNumber">The phone number associated to the WhatsApp integration. (required).</param>
 /// <param name="Status">The status of the WhatsApp Integration.</param>
 /// <param name="DateCreated">Date this Integration was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateModified">Date this Integration was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CreatedBy">User reference that created this Integration.</param>
 /// <param name="ModifiedBy">User reference that last modified this Integration.</param>
 /// <param name="Version">Version number required for updates. (required).</param>
 public WhatsAppIntegration(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string PhoneNumber = null, StatusEnum?Status = null, DateTime?DateCreated = null, DateTime?DateModified = null, DomainEntityRef CreatedBy = null, DomainEntityRef ModifiedBy = null, int?Version = null)
 {
     this.Name             = Name;
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
     this.PhoneNumber      = PhoneNumber;
     this.Status           = Status;
     this.DateCreated      = DateCreated;
     this.DateModified     = DateModified;
     this.CreatedBy        = CreatedBy;
     this.ModifiedBy       = ModifiedBy;
     this.Version          = Version;
 }
Exemple #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LineIntegration" /> class.
 /// </summary>
 /// <param name="Name">The name of the LINE Integration (required).</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="ChannelId">The Channel Id from LINE messenger (required).</param>
 /// <param name="WebhookUri">The Webhook URI to be updated in LINE platform (required).</param>
 /// <param name="Status">The status of the LINE Integration.</param>
 /// <param name="DateCreated">Date this Integration was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateModified">Date this Integration was modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CreatedBy">User reference that created this Integration.</param>
 /// <param name="ModifiedBy">User reference that last modified this Integration.</param>
 /// <param name="Version">Version number required for updates. (required).</param>
 public LineIntegration(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string ChannelId = null, string WebhookUri = null, string Status = null, DateTime?DateCreated = null, DateTime?DateModified = null, DomainEntityRef CreatedBy = null, DomainEntityRef ModifiedBy = null, int?Version = null)
 {
     this.Name             = Name;
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
     this.ChannelId        = ChannelId;
     this.WebhookUri       = WebhookUri;
     this.Status           = Status;
     this.DateCreated      = DateCreated;
     this.DateModified     = DateModified;
     this.CreatedBy        = CreatedBy;
     this.ModifiedBy       = ModifiedBy;
     this.Version          = Version;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FacebookIntegration" /> class.
 /// </summary>
 /// <param name="Name">The name of the Facebook Integration (required).</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="AppId">The App Id from Facebook messenger (required).</param>
 /// <param name="PageId">The Page Id from Facebook messenger.</param>
 /// <param name="Status">The status of the Facebook Integration.</param>
 /// <param name="DateCreated">Date this Integration was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateModified">Date this Integration was modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CreatedBy">User reference that created this Integration.</param>
 /// <param name="ModifiedBy">User reference that last modified this Integration.</param>
 /// <param name="Version">Version number required for updates. (required).</param>
 public FacebookIntegration(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string AppId = null, string PageId = null, string Status = null, DateTime?DateCreated = null, DateTime?DateModified = null, DomainEntityRef CreatedBy = null, DomainEntityRef ModifiedBy = null, int?Version = null)
 {
     this.Name             = Name;
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
     this.AppId            = AppId;
     this.PageId           = PageId;
     this.Status           = Status;
     this.DateCreated      = DateCreated;
     this.DateModified     = DateModified;
     this.CreatedBy        = CreatedBy;
     this.ModifiedBy       = ModifiedBy;
     this.Version          = Version;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OpenIntegration" /> class.
 /// </summary>
 /// <param name="Name">The name of the Open messaging integration. (required).</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="OutboundNotificationWebhookUrl">The outbound notification webhook URL for the Open messaging integration. (required).</param>
 /// <param name="OutboundNotificationWebhookSignatureSecretToken">The outbound notification webhook signature secret token. (required).</param>
 /// <param name="WebhookHeaders">The user specified headers for the Open messaging integration..</param>
 /// <param name="Status">The status of the Open Integration.</param>
 /// <param name="DateCreated">Date this Integration was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateModified">Date this Integration was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CreatedBy">User reference that created this Integration.</param>
 /// <param name="ModifiedBy">User reference that last modified this Integration.</param>
 public OpenIntegration(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string OutboundNotificationWebhookUrl = null, string OutboundNotificationWebhookSignatureSecretToken = null, Dictionary <string, string> WebhookHeaders = null, string Status = null, DateTime?DateCreated = null, DateTime?DateModified = null, DomainEntityRef CreatedBy = null, DomainEntityRef ModifiedBy = null)
 {
     this.Name             = Name;
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
     this.OutboundNotificationWebhookUrl = OutboundNotificationWebhookUrl;
     this.OutboundNotificationWebhookSignatureSecretToken = OutboundNotificationWebhookSignatureSecretToken;
     this.WebhookHeaders = WebhookHeaders;
     this.Status         = Status;
     this.DateCreated    = DateCreated;
     this.DateModified   = DateModified;
     this.CreatedBy      = CreatedBy;
     this.ModifiedBy     = ModifiedBy;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TwitterIntegration" /> class.
 /// </summary>
 /// <param name="Name">The name of the Twitter Integration (required).</param>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 /// <param name="AccessTokenKey">The Access Token Key from Twitter messenger (required).</param>
 /// <param name="ConsumerKey">The Consumer Key from Twitter messenger (required).</param>
 /// <param name="Username">The Username from Twitter.</param>
 /// <param name="UserId">The UserId from Twitter.</param>
 /// <param name="Status">The status of the Twitter Integration.</param>
 /// <param name="Tier">The type of twitter account to be used for the integration (required).</param>
 /// <param name="EnvName">The Twitter environment name, e.g.: env-beta (required for premium tier).</param>
 /// <param name="DateCreated">Date this Integration was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateModified">Date this Integration was modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CreatedBy">User reference that created this Integration.</param>
 /// <param name="ModifiedBy">User reference that last modified this Integration.</param>
 /// <param name="Version">Version number required for updates. (required).</param>
 public TwitterIntegration(string Name = null, SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null, string AccessTokenKey = null, string ConsumerKey = null, string Username = null, string UserId = null, string Status = null, TierEnum?Tier = null, string EnvName = null, DateTime?DateCreated = null, DateTime?DateModified = null, DomainEntityRef CreatedBy = null, DomainEntityRef ModifiedBy = null, int?Version = null)
 {
     this.Name             = Name;
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
     this.AccessTokenKey   = AccessTokenKey;
     this.ConsumerKey      = ConsumerKey;
     this.Username         = Username;
     this.UserId           = UserId;
     this.Status           = Status;
     this.Tier             = Tier;
     this.EnvName          = EnvName;
     this.DateCreated      = DateCreated;
     this.DateModified     = DateModified;
     this.CreatedBy        = CreatedBy;
     this.ModifiedBy       = ModifiedBy;
     this.Version          = Version;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MessagingIntegration" /> class.
 /// </summary>
 /// <param name="SupportedContent">Defines the SupportedContent profile configured for an integration.</param>
 /// <param name="MessagingSetting">MessagingSetting.</param>
 public MessagingIntegration(SupportedContentReference SupportedContent = null, MessagingSettingReference MessagingSetting = null)
 {
     this.SupportedContent = SupportedContent;
     this.MessagingSetting = MessagingSetting;
 }