Skip to content

Instantly share code, notes, and snippets.

@UdaraAlwis
Created December 16, 2019 13:32
Show Gist options
  • Select an option

  • Save UdaraAlwis/2da1d1e4f33e6cd59e33e887fefb9e2f to your computer and use it in GitHub Desktop.

Select an option

Save UdaraAlwis/2da1d1e4f33e6cd59e33e887fefb9e2f to your computer and use it in GitHub Desktop.

Revisions

  1. UdaraAlwis revised this gist Dec 16, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion GoogleForm.cs
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ public class GoogleForm
    public string FormDocName { get; set; }

    /// <summary>
    /// Document Name of your Google Form
    /// Form ID of your Google Form
    /// </summary>
    public string FormId { get; set; }

  2. UdaraAlwis created this gist Dec 16, 2019.
    31 changes: 31 additions & 0 deletions GoogleForm.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    /// <summary>
    /// A model representing a Google Form structure
    /// consist of main the properties of a Google Form
    /// </summary>
    public class GoogleForm
    {
    /// <summary>
    /// Document Name of your Google Form
    /// </summary>
    public string FormDocName { get; set; }

    /// <summary>
    /// Document Name of your Google Form
    /// </summary>
    public string FormId { get; set; }

    /// <summary>
    /// Title of your Google Form
    /// </summary>
    public string Title { get; set; }

    /// <summary>
    /// Description of your Google Form
    /// </summary>
    public string Description { get; set; }

    /// <summary>
    /// List of Question Fields in your Google Form
    /// </summary>
    public List<GoogleFormField> QuestionFieldList { get; set; }
    }