|
6 | 6 |
|
7 | 7 | namespace Box.Sdk.Gen.Schemas {
|
8 | 8 | public class IntegrationMapping : IntegrationMappingBase, ISerializable {
|
9 |
| - /// <summary> |
10 |
| - /// The Box folder, to which the object from the |
11 |
| - /// partner app domain (referenced in `partner_item_id`) is mapped |
12 |
| - /// </summary> |
13 |
| - [JsonPropertyName("box_item")] |
14 |
| - public FolderMini BoxItem { get; } |
15 |
| - |
16 |
| - /// <summary> |
17 |
| - /// When the integration mapping object was created |
18 |
| - /// </summary> |
19 |
| - [JsonPropertyName("created_at")] |
20 |
| - public System.DateTimeOffset? CreatedAt { get; init; } |
21 |
| - |
22 |
| - /// <summary> |
23 |
| - /// When the integration mapping object was last modified |
24 |
| - /// </summary> |
25 |
| - [JsonPropertyName("modified_at")] |
26 |
| - public System.DateTimeOffset? ModifiedAt { get; init; } |
27 |
| - |
28 | 9 | /// <summary>
|
29 | 10 | /// Identifies the Box partner app,
|
30 | 11 | /// with which the mapping is associated.
|
@@ -66,15 +47,34 @@ public class IntegrationMapping : IntegrationMappingBase, ISerializable {
|
66 | 47 | [JsonPropertyName("partner_item")]
|
67 | 48 | public IntegrationMappingPartnerItemSlackUnion PartnerItem { get; }
|
68 | 49 |
|
69 |
| - public IntegrationMapping(string id, FolderMini boxItem, IntegrationMappingPartnerItemSlackUnion partnerItem, IntegrationMappingBaseTypeField type = IntegrationMappingBaseTypeField.IntegrationMapping) : base(id, type) { |
70 |
| - BoxItem = boxItem; |
| 50 | + /// <summary> |
| 51 | + /// The Box folder, to which the object from the |
| 52 | + /// partner app domain (referenced in `partner_item_id`) is mapped |
| 53 | + /// </summary> |
| 54 | + [JsonPropertyName("box_item")] |
| 55 | + public FolderMini BoxItem { get; } |
| 56 | + |
| 57 | + /// <summary> |
| 58 | + /// When the integration mapping object was created |
| 59 | + /// </summary> |
| 60 | + [JsonPropertyName("created_at")] |
| 61 | + public System.DateTimeOffset? CreatedAt { get; init; } |
| 62 | + |
| 63 | + /// <summary> |
| 64 | + /// When the integration mapping object was last modified |
| 65 | + /// </summary> |
| 66 | + [JsonPropertyName("modified_at")] |
| 67 | + public System.DateTimeOffset? ModifiedAt { get; init; } |
| 68 | + |
| 69 | + public IntegrationMapping(string id, IntegrationMappingPartnerItemSlackUnion partnerItem, FolderMini boxItem, IntegrationMappingBaseTypeField type = IntegrationMappingBaseTypeField.IntegrationMapping) : base(id, type) { |
71 | 70 | PartnerItem = partnerItem;
|
| 71 | + BoxItem = boxItem; |
72 | 72 | }
|
73 | 73 |
|
74 | 74 | [JsonConstructorAttribute]
|
75 |
| - internal IntegrationMapping(string id, FolderMini boxItem, IntegrationMappingPartnerItemSlackUnion partnerItem, StringEnum<IntegrationMappingBaseTypeField> type) : base(id, type ?? new StringEnum<IntegrationMappingBaseTypeField>(IntegrationMappingBaseTypeField.IntegrationMapping)) { |
76 |
| - BoxItem = boxItem; |
| 75 | + internal IntegrationMapping(string id, IntegrationMappingPartnerItemSlackUnion partnerItem, FolderMini boxItem, StringEnum<IntegrationMappingBaseTypeField> type) : base(id, type ?? new StringEnum<IntegrationMappingBaseTypeField>(IntegrationMappingBaseTypeField.IntegrationMapping)) { |
77 | 76 | PartnerItem = partnerItem;
|
| 77 | + BoxItem = boxItem; |
78 | 78 | }
|
79 | 79 | internal new string? RawJson { get; set; } = default;
|
80 | 80 |
|
|
0 commit comments