diff --git a/.codegen.json b/.codegen.json index 66c7a2c1..68a79fbd 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "ab51050", "specHash": "4ccce13", "version": "1.5.0" } +{ "engineHash": "622e4e3", "specHash": "139b256", "version": "1.5.0" } diff --git a/Box.Sdk.Gen/Managers/ChunkedUploads/PartAccumulator.cs b/Box.Sdk.Gen/Managers/ChunkedUploads/PartAccumulator.cs index c29730eb..a681e434 100644 --- a/Box.Sdk.Gen/Managers/ChunkedUploads/PartAccumulator.cs +++ b/Box.Sdk.Gen/Managers/ChunkedUploads/PartAccumulator.cs @@ -1,8 +1,8 @@ using System; using System.Collections.ObjectModel; using System.Collections.Generic; -using Box.Sdk.Gen.Schemas; using Box.Sdk.Gen.Internal; +using Box.Sdk.Gen.Schemas; namespace Box.Sdk.Gen.Managers { internal class PartAccumulator { diff --git a/Box.Sdk.Gen/Schemas/IntegrationMapping/IntegrationMapping.cs b/Box.Sdk.Gen/Schemas/IntegrationMapping/IntegrationMapping.cs index 0fdbcea0..c847e94d 100644 --- a/Box.Sdk.Gen/Schemas/IntegrationMapping/IntegrationMapping.cs +++ b/Box.Sdk.Gen/Schemas/IntegrationMapping/IntegrationMapping.cs @@ -6,6 +6,25 @@ namespace Box.Sdk.Gen.Schemas { public class IntegrationMapping : IntegrationMappingBase, ISerializable { + /// + /// The Box folder, to which the object from the + /// partner app domain (referenced in `partner_item_id`) is mapped + /// + [JsonPropertyName("box_item")] + public FolderMini BoxItem { get; } + + /// + /// When the integration mapping object was created + /// + [JsonPropertyName("created_at")] + public System.DateTimeOffset? CreatedAt { get; init; } + + /// + /// When the integration mapping object was last modified + /// + [JsonPropertyName("modified_at")] + public System.DateTimeOffset? ModifiedAt { get; init; } + /// /// Identifies the Box partner app, /// with which the mapping is associated. @@ -47,34 +66,15 @@ public class IntegrationMapping : IntegrationMappingBase, ISerializable { [JsonPropertyName("partner_item")] public IntegrationMappingPartnerItemSlackUnion PartnerItem { get; } - /// - /// The Box folder, to which the object from the - /// partner app domain (referenced in `partner_item_id`) is mapped - /// - [JsonPropertyName("box_item")] - public FolderMini BoxItem { get; } - - /// - /// When the integration mapping object was created - /// - [JsonPropertyName("created_at")] - public System.DateTimeOffset? CreatedAt { get; init; } - - /// - /// When the integration mapping object was last modified - /// - [JsonPropertyName("modified_at")] - public System.DateTimeOffset? ModifiedAt { get; init; } - - public IntegrationMapping(string id, IntegrationMappingPartnerItemSlackUnion partnerItem, FolderMini boxItem, IntegrationMappingBaseTypeField type = IntegrationMappingBaseTypeField.IntegrationMapping) : base(id, type) { - PartnerItem = partnerItem; + public IntegrationMapping(string id, FolderMini boxItem, IntegrationMappingPartnerItemSlackUnion partnerItem, IntegrationMappingBaseTypeField type = IntegrationMappingBaseTypeField.IntegrationMapping) : base(id, type) { BoxItem = boxItem; + PartnerItem = partnerItem; } [JsonConstructorAttribute] - internal IntegrationMapping(string id, IntegrationMappingPartnerItemSlackUnion partnerItem, FolderMini boxItem, StringEnum type) : base(id, type ?? new StringEnum(IntegrationMappingBaseTypeField.IntegrationMapping)) { - PartnerItem = partnerItem; + internal IntegrationMapping(string id, FolderMini boxItem, IntegrationMappingPartnerItemSlackUnion partnerItem, StringEnum type) : base(id, type ?? new StringEnum(IntegrationMappingBaseTypeField.IntegrationMapping)) { BoxItem = boxItem; + PartnerItem = partnerItem; } internal new string? RawJson { get; set; } = default;