-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix schemas for updating classification on a file and folder (bo…
- Loading branch information
1 parent
4b00325
commit d77aaf5
Showing
11 changed files
with
114 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{ "engineHash": "c8ba3d9", "specHash": "d5769a1", "version": "0.3.1" } | ||
{ "engineHash": "c8ba3d9", "specHash": "98bca8f", "version": "0.3.1" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
Box.Sdk.Gen/Schemas/Events/EventsNextStreamPositionField.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Unions; | ||
using Box.Sdk.Gen.Schemas; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class EventsNextStreamPositionField : OneOf<string, double> { | ||
public string? StringVal => _val0; | ||
|
||
public double? DoubleVal => _val1; | ||
|
||
public EventsNextStreamPositionField(string value) : base(value) {} | ||
|
||
public EventsNextStreamPositionField(double value) : base(value) {} | ||
|
||
public static implicit operator EventsNextStreamPositionField(string value) => new EventsNextStreamPositionField(value); | ||
|
||
public static implicit operator EventsNextStreamPositionField(double value) => new EventsNextStreamPositionField(value); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
Box.Sdk.Gen/Schemas/FileVersionsOnHold/FileVersionsOnHold.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using Unions; | ||
using System; | ||
using System.Collections.ObjectModel; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Box.Sdk.Gen.Schemas; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class FileVersionsOnHold { | ||
/// <summary> | ||
/// The limit that was used for these entries. This will be the same as the | ||
/// `limit` query parameter unless that value exceeded the maximum value | ||
/// allowed. The maximum value varies by API. | ||
/// </summary> | ||
[JsonPropertyName("limit")] | ||
public long? Limit { get; set; } = default; | ||
|
||
/// <summary> | ||
/// The marker for the start of the next page of results. | ||
/// </summary> | ||
[JsonPropertyName("next_marker")] | ||
public string? NextMarker { get; set; } = default; | ||
|
||
/// <summary> | ||
/// The marker for the start of the previous page of results. | ||
/// </summary> | ||
[JsonPropertyName("prev_marker")] | ||
public string? PrevMarker { get; set; } = default; | ||
|
||
/// <summary> | ||
/// A list of file versions on hold. | ||
/// </summary> | ||
[JsonPropertyName("entries")] | ||
public IReadOnlyList<FileVersion>? Entries { get; set; } = default; | ||
|
||
public FileVersionsOnHold() { | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using Unions; | ||
using System; | ||
using System.Collections.ObjectModel; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Box.Sdk.Gen.Schemas; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class FilesOnHold { | ||
/// <summary> | ||
/// The limit that was used for these entries. This will be the same as the | ||
/// `limit` query parameter unless that value exceeded the maximum value | ||
/// allowed. The maximum value varies by API. | ||
/// </summary> | ||
[JsonPropertyName("limit")] | ||
public long? Limit { get; set; } = default; | ||
|
||
/// <summary> | ||
/// The marker for the start of the next page of results. | ||
/// </summary> | ||
[JsonPropertyName("next_marker")] | ||
public string? NextMarker { get; set; } = default; | ||
|
||
/// <summary> | ||
/// The marker for the start of the previous page of results. | ||
/// </summary> | ||
[JsonPropertyName("prev_marker")] | ||
public string? PrevMarker { get; set; } = default; | ||
|
||
/// <summary> | ||
/// A list of files | ||
/// </summary> | ||
[JsonPropertyName("entries")] | ||
public IReadOnlyList<FileMini>? Entries { get; set; } = default; | ||
|
||
public FilesOnHold() { | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters