forked from anthonyreilly/NetCoreForce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSfAppMenuItem.cs
422 lines (379 loc) · 12.3 KB
/
SfAppMenuItem.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
// SF API version v57.0
// Custom fields included: False
// Relationship objects included: True
using System;
using NetCoreForce.Client.Models;
using NetCoreForce.Client.Attributes;
using Newtonsoft.Json;
namespace NetCoreForce.Models
{
///<summary>
/// AppMenuItem
///<para>SObject Name: AppMenuItem</para>
///<para>Custom Object: False</para>
///</summary>
public class SfAppMenuItem : SObject
{
[JsonIgnore]
public static string SObjectTypeName
{
get { return "AppMenuItem"; }
}
///<summary>
/// AppMenuItem ID
/// <para>Name: Id</para>
/// <para>SF Type: id</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "id")]
[Updateable(false), Createable(false)]
public string Id { get; set; }
///<summary>
/// Deleted
/// <para>Name: IsDeleted</para>
/// <para>SF Type: boolean</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "isDeleted")]
[Updateable(false), Createable(false)]
public bool? IsDeleted { get; set; }
///<summary>
/// Created Date
/// <para>Name: CreatedDate</para>
/// <para>SF Type: datetime</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "createdDate")]
[Updateable(false), Createable(false)]
public DateTimeOffset? CreatedDate { get; set; }
///<summary>
/// Created By ID
/// <para>Name: CreatedById</para>
/// <para>SF Type: reference</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "createdById")]
[Updateable(false), Createable(false)]
public string CreatedById { get; set; }
///<summary>
/// ReferenceTo: User
/// <para>RelationshipName: CreatedBy</para>
///</summary>
[JsonProperty(PropertyName = "createdBy")]
[Updateable(false), Createable(false)]
public SfUser CreatedBy { get; set; }
///<summary>
/// Last Modified Date
/// <para>Name: LastModifiedDate</para>
/// <para>SF Type: datetime</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "lastModifiedDate")]
[Updateable(false), Createable(false)]
public DateTimeOffset? LastModifiedDate { get; set; }
///<summary>
/// Last Modified By ID
/// <para>Name: LastModifiedById</para>
/// <para>SF Type: reference</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "lastModifiedById")]
[Updateable(false), Createable(false)]
public string LastModifiedById { get; set; }
///<summary>
/// ReferenceTo: User
/// <para>RelationshipName: LastModifiedBy</para>
///</summary>
[JsonProperty(PropertyName = "lastModifiedBy")]
[Updateable(false), Createable(false)]
public SfUser LastModifiedBy { get; set; }
///<summary>
/// System Modstamp
/// <para>Name: SystemModstamp</para>
/// <para>SF Type: datetime</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "systemModstamp")]
[Updateable(false), Createable(false)]
public DateTimeOffset? SystemModstamp { get; set; }
///<summary>
/// Sort Order
/// <para>Name: SortOrder</para>
/// <para>SF Type: int</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "sortOrder")]
[Updateable(false), Createable(false)]
public int? SortOrder { get; set; }
///<summary>
/// Developer Name
/// <para>Name: Name</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "name")]
[Updateable(false), Createable(false)]
public string Name { get; set; }
///<summary>
/// Namespace Prefix
/// <para>Name: NamespacePrefix</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "namespacePrefix")]
[Updateable(false), Createable(false)]
public string NamespacePrefix { get; set; }
///<summary>
/// Label
/// <para>Name: Label</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "label")]
[Updateable(false), Createable(false)]
public string Label { get; set; }
///<summary>
/// Description
/// <para>Name: Description</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "description")]
[Updateable(false), Createable(false)]
public string Description { get; set; }
///<summary>
/// Start Url
/// <para>Name: StartUrl</para>
/// <para>SF Type: url</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "startUrl")]
[Updateable(false), Createable(false)]
public string StartUrl { get; set; }
///<summary>
/// Mobile Start Url
/// <para>Name: MobileStartUrl</para>
/// <para>SF Type: url</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "mobileStartUrl")]
[Updateable(false), Createable(false)]
public string MobileStartUrl { get; set; }
///<summary>
/// Logo Image URL
/// <para>Name: LogoUrl</para>
/// <para>SF Type: url</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "logoUrl")]
[Updateable(false), Createable(false)]
public string LogoUrl { get; set; }
///<summary>
/// Icon Url
/// <para>Name: IconUrl</para>
/// <para>SF Type: url</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "iconUrl")]
[Updateable(false), Createable(false)]
public string IconUrl { get; set; }
///<summary>
/// Info URL
/// <para>Name: InfoUrl</para>
/// <para>SF Type: url</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "infoUrl")]
[Updateable(false), Createable(false)]
public string InfoUrl { get; set; }
///<summary>
/// IsUsingAdminAuthorization
/// <para>Name: IsUsingAdminAuthorization</para>
/// <para>SF Type: boolean</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "isUsingAdminAuthorization")]
[Updateable(false), Createable(false)]
public bool? IsUsingAdminAuthorization { get; set; }
///<summary>
/// Mobile device OS platform
/// <para>Name: MobilePlatform</para>
/// <para>SF Type: picklist</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "mobilePlatform")]
[Updateable(false), Createable(false)]
public string MobilePlatform { get; set; }
///<summary>
/// Minimum required mobile device OS version
/// <para>Name: MobileMinOsVer</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "mobileMinOsVer")]
[Updateable(false), Createable(false)]
public string MobileMinOsVer { get; set; }
///<summary>
/// Type of mobile device
/// <para>Name: MobileDeviceType</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "mobileDeviceType")]
[Updateable(false), Createable(false)]
public string MobileDeviceType { get; set; }
///<summary>
/// App requires a registered mobile device
/// <para>Name: IsRegisteredDeviceOnly</para>
/// <para>SF Type: boolean</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "isRegisteredDeviceOnly")]
[Updateable(false), Createable(false)]
public bool? IsRegisteredDeviceOnly { get; set; }
///<summary>
/// Version of the mobile app
/// <para>Name: MobileAppVer</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "mobileAppVer")]
[Updateable(false), Createable(false)]
public string MobileAppVer { get; set; }
///<summary>
/// Date the mobile app was most recently installed
/// <para>Name: MobileAppInstalledDate</para>
/// <para>SF Type: datetime</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "mobileAppInstalledDate")]
[Updateable(false), Createable(false)]
public DateTimeOffset? MobileAppInstalledDate { get; set; }
///<summary>
/// Most recently installed version of the mobile app
/// <para>Name: MobileAppInstalledVersion</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "mobileAppInstalledVersion")]
[Updateable(false), Createable(false)]
public string MobileAppInstalledVersion { get; set; }
///<summary>
/// ID for the related mobile app binary
/// <para>Name: MobileAppBinaryId</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "mobileAppBinaryId")]
[Updateable(false), Createable(false)]
public string MobileAppBinaryId { get; set; }
///<summary>
/// URL to install the mobile app
/// <para>Name: MobileAppInstallUrl</para>
/// <para>SF Type: url</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "mobileAppInstallUrl")]
[Updateable(false), Createable(false)]
public string MobileAppInstallUrl { get; set; }
///<summary>
/// Is this a canvas-enabled application
/// <para>Name: CanvasEnabled</para>
/// <para>SF Type: boolean</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "canvasEnabled")]
[Updateable(false), Createable(false)]
public bool? CanvasEnabled { get; set; }
///<summary>
/// The identifier used to render the canvas application.
/// <para>Name: CanvasReferenceId</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "canvasReferenceId")]
[Updateable(false), Createable(false)]
public string CanvasReferenceId { get; set; }
///<summary>
/// The canvas url for the canvas application
/// <para>Name: CanvasUrl</para>
/// <para>SF Type: url</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "canvasUrl")]
[Updateable(false), Createable(false)]
public string CanvasUrl { get; set; }
///<summary>
/// The configured access method for the canvas application
/// <para>Name: CanvasAccessMethod</para>
/// <para>SF Type: picklist</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "canvasAccessMethod")]
[Updateable(false), Createable(false)]
public string CanvasAccessMethod { get; set; }
///<summary>
/// The selected/supported locations of the canvas application
/// <para>Name: CanvasSelectedLocations</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "canvasSelectedLocations")]
[Updateable(false), Createable(false)]
public string CanvasSelectedLocations { get; set; }
///<summary>
/// The options to hide publisher header or publisher share button
/// <para>Name: CanvasOptions</para>
/// <para>SF Type: string</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "canvasOptions")]
[Updateable(false), Createable(false)]
public string CanvasOptions { get; set; }
///<summary>
/// App Type
/// <para>Name: Type</para>
/// <para>SF Type: picklist</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "type")]
[Updateable(false), Createable(false)]
public string Type { get; set; }
///<summary>
/// Application ID
/// <para>Name: ApplicationId</para>
/// <para>SF Type: reference</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "applicationId")]
[Updateable(false), Createable(false)]
public string ApplicationId { get; set; }
///<summary>
/// User Sort Order
/// <para>Name: UserSortOrder</para>
/// <para>SF Type: int</para>
/// <para>Nillable: True</para>
///</summary>
[JsonProperty(PropertyName = "userSortOrder")]
[Updateable(false), Createable(false)]
public int? UserSortOrder { get; set; }
///<summary>
/// Is Visible
/// <para>Name: IsVisible</para>
/// <para>SF Type: boolean</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "isVisible")]
[Updateable(true), Createable(false)]
public bool? IsVisible { get; set; }
///<summary>
/// Is Accessible
/// <para>Name: IsAccessible</para>
/// <para>SF Type: boolean</para>
/// <para>Nillable: False</para>
///</summary>
[JsonProperty(PropertyName = "isAccessible")]
[Updateable(false), Createable(false)]
public bool? IsAccessible { get; set; }
}
}