insightly-api
Diff Revisions
8
vs
9
for /trunk/Insightly/Contract/ContactInfo.cs
|
@@ -20,15 +20,27 @@ |
20 |
20 |
|
/// </summary> |
21 |
21 |
|
public enum InfoType |
22 |
22 |
|
{ |
|
23 |
+ |
/// <summary> |
|
24 |
+ |
/// Phone information type. |
|
25 |
+ |
/// </summary> |
23 |
26 |
|
[Description("PHONE")] |
24 |
27 |
|
Phone, |
25 |
28 |
|
|
|
29 |
+ |
/// <summary> |
|
30 |
+ |
/// Email information type. |
|
31 |
+ |
/// </summary> |
26 |
32 |
|
[Description("EMAIL")] |
27 |
33 |
|
Email, |
28 |
34 |
|
|
|
35 |
+ |
/// <summary> |
|
36 |
+ |
/// Social information type. |
|
37 |
+ |
/// </summary> |
29 |
38 |
|
[Description("SOCIAL")] |
30 |
39 |
|
Social, |
31 |
40 |
|
|
|
41 |
+ |
/// <summary> |
|
42 |
+ |
/// Website information type. |
|
43 |
+ |
/// </summary> |
32 |
44 |
|
[Description("WEBSITE")] |
33 |
45 |
|
Website |
34 |
46 |
|
} |
|
@@ -39,65 +51,113 @@ |
39 |
51 |
|
/// </summary> |
40 |
52 |
|
public enum InfoLabelEmail |
41 |
53 |
|
{ |
|
54 |
+ |
/// <summary> |
|
55 |
+ |
/// Work label for Email. |
|
56 |
+ |
/// </summary> |
42 |
57 |
|
[Description("Work")] |
43 |
58 |
|
Work, |
44 |
59 |
|
|
|
60 |
+ |
/// <summary> |
|
61 |
+ |
/// Personal label for Email. |
|
62 |
+ |
/// </summary> |
45 |
63 |
|
[Description("Personal")] |
46 |
64 |
|
Personal, |
47 |
65 |
|
|
|
66 |
+ |
/// <summary> |
|
67 |
+ |
/// Other label for Email. |
|
68 |
+ |
/// </summary> |
48 |
69 |
|
[Description("Other")] |
49 |
70 |
|
Other |
50 |
71 |
|
} |
51 |
72 |
|
|
52 |
73 |
|
/// <summary> |
53 |
74 |
|
/// Values for the LABEL field when type is PHONE, use the enum description. |
54 |
|
- |
/// <see cref="ContactInfo.LABEL"/> |
|
75 |
+ |
/// <see cref="ContactInfo.LABEL" /> |
55 |
76 |
|
/// </summary> |
56 |
77 |
|
public enum InfoLabelPhone |
57 |
78 |
|
{ |
|
79 |
+ |
/// <summary> |
|
80 |
+ |
/// Work label for phone. |
|
81 |
+ |
/// </summary> |
58 |
82 |
|
[Description("Work")] |
59 |
83 |
|
Work, |
60 |
84 |
|
|
|
85 |
+ |
/// <summary> |
|
86 |
+ |
/// Mobile label for phone. |
|
87 |
+ |
/// </summary> |
61 |
88 |
|
[Description("Mobile")] |
62 |
89 |
|
Mobile, |
63 |
90 |
|
|
|
91 |
+ |
/// <summary> |
|
92 |
+ |
/// Fax label for phone. |
|
93 |
+ |
/// </summary> |
64 |
94 |
|
[Description("Fax")] |
65 |
95 |
|
Fax, |
66 |
96 |
|
|
|
97 |
+ |
/// <summary> |
|
98 |
+ |
/// Pager label for phone. |
|
99 |
+ |
/// </summary> |
67 |
100 |
|
[Description("Pager")] |
68 |
101 |
|
Pager, |
69 |
102 |
|
|
|
103 |
+ |
/// <summary> |
|
104 |
+ |
/// Home label for phone. |
|
105 |
+ |
/// </summary> |
70 |
106 |
|
[Description("Home")] |
71 |
107 |
|
Home, |
72 |
108 |
|
|
|
109 |
+ |
/// <summary> |
|
110 |
+ |
/// Skype label for phone. |
|
111 |
+ |
/// </summary> |
73 |
112 |
|
[Description("Skype")] |
74 |
113 |
|
Skype, |
75 |
114 |
|
|
|
115 |
+ |
/// <summary> |
|
116 |
+ |
/// Y! Messenger label for phone. |
|
117 |
+ |
/// </summary> |
76 |
118 |
|
[Description("Y! Messenger")] |
77 |
119 |
|
YMessenger, |
78 |
120 |
|
|
|
121 |
+ |
/// <summary> |
|
122 |
+ |
/// SIP label for phone. |
|
123 |
+ |
/// </summary> |
79 |
124 |
|
[Description("SIP")] |
80 |
125 |
|
SIP, |
81 |
126 |
|
|
|
127 |
+ |
/// <summary> |
|
128 |
+ |
/// Other label for phone. |
|
129 |
+ |
/// </summary> |
82 |
130 |
|
[Description("Other")] |
83 |
131 |
|
Other |
84 |
132 |
|
} |
85 |
133 |
|
|
86 |
134 |
|
/// <summary> |
87 |
135 |
|
/// Values for the LABEL field when type is WEBSITE, use the enum description. |
88 |
|
- |
/// <see cref="ContactInfo.LABEL"/> |
|
136 |
+ |
/// <see cref="ContactInfo.LABEL" /> |
89 |
137 |
|
/// </summary> |
90 |
138 |
|
public enum InfoLabelWebsite |
91 |
139 |
|
{ |
|
140 |
+ |
/// <summary> |
|
141 |
+ |
/// Work label for website. |
|
142 |
+ |
/// </summary> |
92 |
143 |
|
[Description("Work")] |
93 |
144 |
|
Work, |
94 |
145 |
|
|
|
146 |
+ |
/// <summary> |
|
147 |
+ |
/// Personal label for website. |
|
148 |
+ |
/// </summary> |
95 |
149 |
|
[Description("Personal")] |
96 |
150 |
|
Personal, |
97 |
151 |
|
|
|
152 |
+ |
/// <summary> |
|
153 |
+ |
/// Blog label for website. |
|
154 |
+ |
/// </summary> |
98 |
155 |
|
[Description("Blog")] |
99 |
156 |
|
Blog, |
100 |
157 |
|
|
|
158 |
+ |
/// <summary> |
|
159 |
+ |
/// Other label for website. |
|
160 |
+ |
/// </summary> |
101 |
161 |
|
[Description("Other")] |
102 |
162 |
|
Other |
103 |
163 |
|
} |
|
@@ -108,9 +168,15 @@ |
108 |
168 |
|
/// </summary> |
109 |
169 |
|
public enum InfoLabelSocial |
110 |
170 |
|
{ |
|
171 |
+ |
/// <summary> |
|
172 |
+ |
/// The linkedIn public profile URL |
|
173 |
+ |
/// </summary> |
111 |
174 |
|
[Description("LinkedInPublicProfileUrl")] |
112 |
175 |
|
LinkedInPublicProfileUrl, |
113 |
176 |
|
|
|
177 |
+ |
/// <summary> |
|
178 |
+ |
/// The twitter ID. |
|
179 |
+ |
/// </summary> |
114 |
180 |
|
[Description("TwitterID")] |
115 |
181 |
|
TwitterID |
116 |
182 |
|
} |
|
@@ -137,6 +203,12 @@ |
137 |
203 |
|
[DataMember] |
138 |
204 |
|
public string TYPE { get; set; } |
139 |
205 |
|
|
|
206 |
+ |
/// <summary> |
|
207 |
+ |
/// Gets or sets the subtype. |
|
208 |
+ |
/// </summary> |
|
209 |
+ |
/// <value> |
|
210 |
+ |
/// The subtype. |
|
211 |
+ |
/// </value> |
140 |
212 |
|
[DataMember] |
141 |
213 |
|
public string SUBTYPE { get; set; } |
142 |
214 |
|
|