Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,9 @@ public partial interface ILabels2Client
/// <param name="approvedBy">
/// User who approved this label
/// </param>
/// <param name="createdBy">
/// User who made this label
/// </param>
/// <param name="description">
/// Label description
/// </param>
/// <param name="organization"></param>
/// <param name="title">
/// Label title
/// </param>
Expand All @@ -65,9 +61,7 @@ public partial interface ILabels2Client
int id,
bool? approved = default,
int? approvedBy = default,
int? createdBy = default,
string? description = default,
int? organization = default,
string? title = default,
object? value = default,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,11 @@ public partial interface IProjectTemplatesClient
/// <param name="assignmentSettings">
/// general dict serialized assignment settings
/// </param>
/// <param name="createdBy"></param>
/// <param name="customScript">
/// custom script (Plugin) for projects created from this template
/// </param>
/// <param name="description"></param>
/// <param name="name"></param>
/// <param name="organization"></param>
/// <param name="projectId">
/// Included only in requests
/// </param>
Expand All @@ -88,10 +86,8 @@ public partial interface IProjectTemplatesClient
int id,
string name,
object? assignmentSettings = default,
int? createdBy = default,
string? customScript = default,
string? description = default,
int? organization = default,
int? projectId = default,
object? projectSettings = default,
bool? requireCommentOnSkip = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,11 @@ public partial interface IProjectTemplatesClient
/// <param name="assignmentSettings">
/// general dict serialized assignment settings
/// </param>
/// <param name="createdBy"></param>
/// <param name="customScript">
/// custom script (Plugin) for projects created from this template
/// </param>
/// <param name="description"></param>
/// <param name="name"></param>
/// <param name="organization"></param>
/// <param name="projectId">
/// Included only in requests
/// </param>
Expand All @@ -82,10 +80,8 @@ public partial interface IProjectTemplatesClient
global::System.Threading.Tasks.Task<global::LabelStudio.ProjectTemplate> CreateAsync(
string name,
object? assignmentSettings = default,
int? createdBy = default,
string? customScript = default,
string? description = default,
int? organization = default,
int? projectId = default,
object? projectSettings = default,
bool? requireCommentOnSkip = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,11 @@ public partial interface IProjectTemplatesClient
/// <param name="assignmentSettings">
/// general dict serialized assignment settings
/// </param>
/// <param name="createdBy"></param>
/// <param name="customScript">
/// custom script (Plugin) for projects created from this template
/// </param>
/// <param name="description"></param>
/// <param name="name"></param>
/// <param name="organization"></param>
/// <param name="projectId">
/// Included only in requests
/// </param>
Expand All @@ -87,11 +85,9 @@ public partial interface IProjectTemplatesClient
global::System.Threading.Tasks.Task<global::LabelStudio.ProjectTemplate> UpdateAsync(
int id,
object? assignmentSettings = default,
int? createdBy = default,
string? customScript = default,
string? description = default,
string? name = default,
int? organization = default,
int? projectId = default,
object? projectSettings = default,
bool? requireCommentOnSkip = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ public class MaybeExpandedCommentJsonConverter : global::System.Text.Json.Serial
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
else if (__bestIndex == 1)
{
Expand All @@ -120,6 +124,10 @@ public class MaybeExpandedCommentJsonConverter : global::System.Text.Json.Serial
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
}

Expand All @@ -138,6 +146,10 @@ public class MaybeExpandedCommentJsonConverter : global::System.Text.Json.Serial
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (comment == null && serializerWithUser == null)
Expand All @@ -155,6 +167,10 @@ public class MaybeExpandedCommentJsonConverter : global::System.Text.Json.Serial
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

var __value = new global::LabelStudio.MaybeExpandedComment(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public class OneOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 1)
Expand All @@ -89,6 +93,10 @@ public class OneOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
}

Expand All @@ -107,6 +115,10 @@ public class OneOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null)
Expand All @@ -124,6 +136,10 @@ public class OneOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

var __value = new global::LabelStudio.OneOf<T1, T2>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 1)
Expand All @@ -141,6 +145,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 2)
Expand All @@ -158,6 +166,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 3)
Expand All @@ -175,6 +187,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 4)
Expand All @@ -192,6 +208,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

else if (__bestIndex == 5)
Expand All @@ -209,6 +229,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
}

Expand All @@ -227,6 +251,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null)
Expand All @@ -244,6 +272,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null)
Expand All @@ -261,6 +293,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null)
Expand All @@ -278,6 +314,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null)
Expand All @@ -295,6 +335,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null)
Expand All @@ -312,6 +356,10 @@ public class OneOfJsonConverter<T1, T2, T3, T4, T5, T6> : global::System.Text.Js
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

var __value = new global::LabelStudio.OneOf<T1, T2, T3, T4, T5, T6>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ public class RoleBasedTaskJsonConverter : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
else if (__bestIndex == 1)
{
Expand All @@ -187,6 +191,10 @@ public class RoleBasedTaskJsonConverter : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
else if (__bestIndex == 2)
{
Expand All @@ -202,6 +210,10 @@ public class RoleBasedTaskJsonConverter : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}
}

Expand All @@ -220,6 +232,10 @@ public class RoleBasedTaskJsonConverter : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (lse == null && lseSerializerForReviewers == null && lseSerializerForAnnotators == null)
Expand All @@ -237,6 +253,10 @@ public class RoleBasedTaskJsonConverter : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

if (lse == null && lseSerializerForReviewers == null && lseSerializerForAnnotators == null)
Expand All @@ -254,6 +274,10 @@ public class RoleBasedTaskJsonConverter : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
}

var __value = new global::LabelStudio.RoleBasedTask(
Expand Down
Loading
Loading