Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WidgetInfo" /> class.
 /// </summary>
 /// <param name="AdditionalParticipantSetsInfo">List of all the participants in the widget except widget signer.</param>
 /// <param name="AuthFailureInfo">URL and associated properties for the error page the widget signer will be taken after failing to authenticate.</param>
 /// <param name="Ccs">A list of one or more email addresses that you want to copy on this transaction. The email addresses will each receive an email when the final agreement created through widget is signed. The email addresses will also receive a copy of the document, attached as a PDF file.</param>
 /// <param name="CompletionInfo">URL and associated properties for the success page the widget signer will be taken to after performing desired action on the widget.</param>
 /// <param name="CreatedDate">Date when widget was created. If provided in POST, it will simply be ignored. Format would be yyyy-MM-dd&#39;T&#39;HH:mm:ssZ. For example, e.g 2016-02-25T18:46:19Z represents UTC time.</param>
 /// <param name="CreatorEmail">Email of widget creator. Only returned in GET response. Cannot be provided in POST/PUT request. If provided in POST, it will simply be ignored.</param>
 /// <param name="FileInfos">A list of one or more files (or references to files) that will be used to create the widget. If more than one file is provided, they will be combined before the widget is created. Library documents are not permitted. Note: Only one of the four parameters in every FileInfo object must be specified.</param>
 /// <param name="Id">A resource identifier that can be used to uniquely identify the widget in other apis. If provided in POST, it will simply be ignored.</param>
 /// <param name="Locale">The locale associated with this widget - specifies the language for the signing page and emails, for example en_US or fr_FR. If none specified, defaults to the language configured for the widget creator.</param>
 /// <param name="Name">The name of the widget that will be used to identify it, in emails, website and other places.</param>
 /// <param name="SecurityOption">Secondary security parameters for the widget.</param>
 /// <param name="State">The state in which the widget should land. For example in order to create a widget in DRAFT state, field should be DRAFT. The state field will never get returned in GET /widgets/{ID} and will be ignored if provided in PUT /widgets/{ID} call. The eventual status of the widget can be obtained from GET /widgets/ID.</param>
 /// <param name="Status">Status of the Widget. If provided in POST, it will simply be ignored.</param>
 /// <param name="VaultingInfo">Vaulting properties that allows Adobe Sign to securely store documents with a vault provider.</param>
 /// <param name="WidgetInActiveInfo">The custom message which will be displayed to the user or the URL to which user will be redirected when the widget is accessed in a disabled state. This can only be specified in PUT request.</param>
 /// <param name="WidgetParticipantSetInfo">Represents widget participant for whom email should not be provided.</param>
 public WidgetInfo(List <WidgetAdditionalParticipationSetInfo> AdditionalParticipantSetsInfo = default(List <WidgetAdditionalParticipationSetInfo>), WidgetRedirectionInfo AuthFailureInfo = default(WidgetRedirectionInfo), List <WidgetCcInfo> Ccs = default(List <WidgetCcInfo>), WidgetRedirectionInfo CompletionInfo = default(WidgetRedirectionInfo), DateTime?CreatedDate = default(DateTime?), string CreatorEmail = default(string), List <FileInfo> FileInfos = default(List <FileInfo>), string Id = default(string), string Locale = default(string), string Name = default(string), SecurityOption SecurityOption = default(SecurityOption), StateEnum?State = default(StateEnum?), StatusEnum?Status = default(StatusEnum?), VaultingInfo VaultingInfo = default(VaultingInfo), WidgetInActiveInfo WidgetInActiveInfo = default(WidgetInActiveInfo), WidgetParticipantSetInfo WidgetParticipantSetInfo = default(WidgetParticipantSetInfo))
 {
     this.AdditionalParticipantSetsInfo = AdditionalParticipantSetsInfo;
     this.AuthFailureInfo = AuthFailureInfo;
     this.Ccs             = Ccs;
     this.CompletionInfo  = CompletionInfo;
     this.CreatedDate     = CreatedDate;
     this.CreatorEmail    = CreatorEmail;
     this.FileInfos       = FileInfos;
     this.Id                       = Id;
     this.Locale                   = Locale;
     this.Name                     = Name;
     this.SecurityOption           = SecurityOption;
     this.State                    = State;
     this.Status                   = Status;
     this.VaultingInfo             = VaultingInfo;
     this.WidgetInActiveInfo       = WidgetInActiveInfo;
     this.WidgetParticipantSetInfo = WidgetParticipantSetInfo;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WidgetStateInfo" /> class.
 /// </summary>
 /// <param name="State">State of the Widget.</param>
 /// <param name="WidgetInActiveInfo">The custom message which will be displayed to the user or the URL to which user will be redirected when the widget is accessed in a disabled state. This can only be specified in PUT request.</param>
 public WidgetStateInfo(StateEnum?State = default(StateEnum?), WidgetInActiveInfo WidgetInActiveInfo = default(WidgetInActiveInfo))
 {
     this.State = State;
     this.WidgetInActiveInfo = WidgetInActiveInfo;
 }