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
11 changes: 11 additions & 0 deletions src/libs/Weave/Generated/Weave.Models.CallSchema.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ public sealed partial class CallSchema
[global::System.Text.Json.Serialization.JsonPropertyName("deleted_at")]
public global::System.DateTime? DeletedAt { get; set; }

/// <summary>
/// Expiration timestamp for this call. None = no TTL configured for the project (the row will not be expired).
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("expire_at")]
public global::System.DateTime? ExpireAt { get; set; }

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -183,6 +189,9 @@ public sealed partial class CallSchema
/// <param name="wbRunStep"></param>
/// <param name="wbRunStepEnd"></param>
/// <param name="deletedAt"></param>
/// <param name="expireAt">
/// Expiration timestamp for this call. None = no TTL configured for the project (the row will not be expired).
/// </param>
/// <param name="storageSizeBytes"></param>
/// <param name="totalStorageSizeBytes"></param>
#if NET7_0_OR_GREATER
Expand Down Expand Up @@ -210,6 +219,7 @@ public CallSchema(
int? wbRunStep,
int? wbRunStepEnd,
global::System.DateTime? deletedAt,
global::System.DateTime? expireAt,
long? storageSizeBytes,
long? totalStorageSizeBytes)
{
Expand All @@ -234,6 +244,7 @@ public CallSchema(
this.WbRunStep = wbRunStep;
this.WbRunStepEnd = wbRunStepEnd;
this.DeletedAt = deletedAt;
this.ExpireAt = expireAt;
this.StorageSizeBytes = storageSizeBytes;
this.TotalStorageSizeBytes = totalStorageSizeBytes;
}
Expand Down
92 changes: 92 additions & 0 deletions src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.Json.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
#nullable enable

namespace Weave
{
public sealed partial class CallSchemaExpireAt
{
/// <summary>
/// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
/// </summary>
public string ToJson(
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return global::System.Text.Json.JsonSerializer.Serialize(
this,
this.GetType(),
jsonSerializerContext);
}

/// <summary>
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
/// </summary>
#if NET8_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
#endif
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
}

/// <summary>
/// Deserializes a JSON string using the provided JsonSerializerContext.
/// </summary>
public static global::Weave.CallSchemaExpireAt? FromJson(
string json,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
typeof(global::Weave.CallSchemaExpireAt),
jsonSerializerContext) as global::Weave.CallSchemaExpireAt;
}

/// <summary>
/// Deserializes a JSON string using the provided JsonSerializerOptions.
/// </summary>
#if NET8_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
#endif
public static global::Weave.CallSchemaExpireAt? FromJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
return global::System.Text.Json.JsonSerializer.Deserialize<global::Weave.CallSchemaExpireAt>(
json,
jsonSerializerOptions);
}

/// <summary>
/// Deserializes a JSON stream using the provided JsonSerializerContext.
/// </summary>
public static async global::System.Threading.Tasks.ValueTask<global::Weave.CallSchemaExpireAt?> FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
typeof(global::Weave.CallSchemaExpireAt),
jsonSerializerContext).ConfigureAwait(false)) as global::Weave.CallSchemaExpireAt;
}

/// <summary>
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
/// </summary>
#if NET8_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
#endif
public static global::System.Threading.Tasks.ValueTask<global::Weave.CallSchemaExpireAt?> FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Weave.CallSchemaExpireAt?>(
jsonStream,
jsonSerializerOptions);
}
}
}
18 changes: 18 additions & 0 deletions src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

#nullable enable

namespace Weave
{
/// <summary>
/// Expiration timestamp for this call. None = no TTL configured for the project (the row will not be expired).
/// </summary>
public sealed partial class CallSchemaExpireAt
{

/// <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>();
}
}
13 changes: 13 additions & 0 deletions src/libs/Weave/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6622,6 +6622,19 @@
],
"title": "Deleted At"
},
"expire_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Expire At",
"description": "Expiration timestamp for this call. None = no TTL configured for the project (the row will not be expired)."
},
"storage_size_bytes": {
"anyOf": [
{
Expand Down