Last active
December 9, 2019 16:36
-
-
Save UdaraAlwis/55aaeca4bd7b3959bd0b5a713cb43194 to your computer and use it in GitHub Desktop.
An enum model class representing a Question Field Types Google Forms...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// using System.ComponentModel; | |
/// <summary> | |
/// Found the Field type representation values with trial | |
/// and error try out of blood sweat and tears lol! ;) | |
/// </summary> | |
public enum GoogleFormsFieldTypeEnum | |
{ | |
[Description("Short Answer Field")] | |
ShortAnswerField = 0, | |
[Description("Paragraph Field")] | |
ParagraphField = 1, | |
[Description("Multiple Choice Field")] | |
MultipleChoiceField = 2, | |
[Description("Check Boxes Field")] | |
CheckBoxesField = 4, | |
[Description("Drop Down Field")] | |
DropDownField = 3, | |
// FileUpload - Not supported (needs user log in session) | |
[Description("File Upload Field")] | |
FileUploadField = 13, | |
[Description("Linear Scale Field")] | |
LinearScaleField = 5, | |
// represents both: Multiple Choice Grid | Checkbox Grid | |
[Description("Grid Choice Field")] | |
GridChoiceField = 7, | |
[Description("Date Field")] | |
DateField = 9, | |
[Description("Time Field")] | |
TimeField = 10, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment