-
Notifications
You must be signed in to change notification settings - Fork 0
/
fulcrumforms.cs
47 lines (45 loc) · 1.48 KB
/
fulcrumforms.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections.Generic;
using System.Text;
namespace fulcrum
{
//http://developer.fulcrumapp.com/api/fulcrum-api.html#forms
class fulcrumforms
{
public string current_page { get; set; }
public string total_pages { get; set; }
public string total_count { get; set; }
public string per_page { get; set; }
public List<fulcrumform> forms { get; set; }
}
public class fulcrumform
{
public string id { get; set; }
public string name { get; set; }
public string description { get; set; }
public System.Collections.ArrayList boundingbox { get; set; }
public string record_count { get; set; }
public string created_at { get; set; }
public string updated_at { get; set; }
public fulcrumelement[] elements { get; set; }
}
public class fulcrumelement
{
public bool disabled { get; set; }
public bool hidden { get; set; }
public string key { get; set; }
/*
Every form element has a field type. These field types include:
Section, ClassificationField, ChoiceField, TextField, PhotoField
*/
public string type { get; set; }
public string data_name { get; set; }
public bool required { get; set; }
public string label { get; set; }
public fulcrumelement[] elements { get; set; }
}
class fulcrumphotos
{
public string photo { get; set; }
}
}