Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:@coderabbitai #20

Merged
merged 1 commit into from
Oct 11, 2024
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 @@ -12,7 +12,7 @@ public partial interface IMembershipClient
/// <param name="userId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Instill.DeleteOrganizationMembershipResponse> DeleteOrganizationMembershipAsync(
global::System.Threading.Tasks.Task<object> DeleteOrganizationMembershipAsync(
string organizationId,
string userId,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public partial interface IMembershipClient
/// <param name="organizationId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Instill.DeleteUserMembershipResponse> DeleteUserMembershipAsync(
global::System.Threading.Tasks.Task<object> DeleteUserMembershipAsync(
string userId,
string organizationId,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public partial interface IOrganizationClient
/// <param name="organizationId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Instill.DeleteOrganizationResponse> DeleteOrganizationAsync(
global::System.Threading.Tasks.Task<object> DeleteOrganizationAsync(
string organizationId,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public partial interface ITokenClient
/// <param name="tokenId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Instill.DeleteTokenResponse> DeleteTokenAsync(
global::System.Threading.Tasks.Task<object> DeleteTokenAsync(
string tokenId,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ partial void ProcessDeleteOrganizationMembershipResponseContent(
/// <param name="userId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Instill.DeleteOrganizationMembershipResponse> DeleteOrganizationMembershipAsync(
public async global::System.Threading.Tasks.Task<object> DeleteOrganizationMembershipAsync(
string organizationId,
string userId,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down Expand Up @@ -109,7 +109,7 @@ partial void ProcessDeleteOrganizationMembershipResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Instill.DeleteOrganizationMembershipResponse), JsonSerializerContext) as global::Instill.DeleteOrganizationMembershipResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ partial void ProcessDeleteUserMembershipResponseContent(
/// <param name="organizationId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Instill.DeleteUserMembershipResponse> DeleteUserMembershipAsync(
public async global::System.Threading.Tasks.Task<object> DeleteUserMembershipAsync(
string userId,
string organizationId,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down Expand Up @@ -109,7 +109,7 @@ partial void ProcessDeleteUserMembershipResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Instill.DeleteUserMembershipResponse), JsonSerializerContext) as global::Instill.DeleteUserMembershipResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
18 changes: 18 additions & 0 deletions src/libs/Instill/Generated/Instill.Models.ProtobufAny2.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

#nullable enable

namespace Instill
{
/// <summary>
///
/// </summary>
public sealed partial class ProtobufAny2
{

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ partial void ProcessDeleteOrganizationResponseContent(
/// <param name="organizationId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Instill.DeleteOrganizationResponse> DeleteOrganizationAsync(
public async global::System.Threading.Tasks.Task<object> DeleteOrganizationAsync(
string organizationId,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -103,7 +103,7 @@ partial void ProcessDeleteOrganizationResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Instill.DeleteOrganizationResponse), JsonSerializerContext) as global::Instill.DeleteOrganizationResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ partial void ProcessDeleteTokenResponseContent(
/// <param name="tokenId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Instill.DeleteTokenResponse> DeleteTokenAsync(
public async global::System.Threading.Tasks.Task<object> DeleteTokenAsync(
string tokenId,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -103,7 +103,7 @@ partial void ProcessDeleteTokenResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Instill.DeleteTokenResponse), JsonSerializerContext) as global::Instill.DeleteTokenResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
Loading