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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions src/libs/Letta/Generated/Letta.AnyOf.2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -67,6 +74,13 @@ public bool TryPickValue2(
value = Value2;
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Letta/Generated/Letta.AnyOf.3.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickValue2(
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -97,6 +111,13 @@ public bool TryPickValue3(
value = Value3;
return IsValue3;
}

/// <summary>
///
/// </summary>
public T3 PickValue3() => IsValue3
? Value3!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
28 changes: 28 additions & 0 deletions src/libs/Letta/Generated/Letta.AnyOf.4.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickValue2(
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -98,6 +112,13 @@ public bool TryPickValue3(
return IsValue3;
}

/// <summary>
///
/// </summary>
public T3 PickValue3() => IsValue3
? Value3!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -127,6 +148,13 @@ public bool TryPickValue4(
value = Value4;
return IsValue4;
}

/// <summary>
///
/// </summary>
public T4 PickValue4() => IsValue4
? Value4!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value4' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
35 changes: 35 additions & 0 deletions src/libs/Letta/Generated/Letta.AnyOf.5.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickValue2(
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -98,6 +112,13 @@ public bool TryPickValue3(
return IsValue3;
}

/// <summary>
///
/// </summary>
public T3 PickValue3() => IsValue3
? Value3!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -128,6 +149,13 @@ public bool TryPickValue4(
return IsValue4;
}

/// <summary>
///
/// </summary>
public T4 PickValue4() => IsValue4
? Value4!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value4' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -157,6 +185,13 @@ public bool TryPickValue5(
value = Value5;
return IsValue5;
}

/// <summary>
///
/// </summary>
public T5 PickValue5() => IsValue5
? Value5!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value5' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
42 changes: 42 additions & 0 deletions src/libs/Letta/Generated/Letta.AnyOf.6.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ public bool TryPickValue1(
return IsValue1;
}

/// <summary>
///
/// </summary>
public T1 PickValue1() => IsValue1
? Value1!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -68,6 +75,13 @@ public bool TryPickValue2(
return IsValue2;
}

/// <summary>
///
/// </summary>
public T2 PickValue2() => IsValue2
? Value2!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -98,6 +112,13 @@ public bool TryPickValue3(
return IsValue3;
}

/// <summary>
///
/// </summary>
public T3 PickValue3() => IsValue3
? Value3!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -128,6 +149,13 @@ public bool TryPickValue4(
return IsValue4;
}

/// <summary>
///
/// </summary>
public T4 PickValue4() => IsValue4
? Value4!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value4' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -158,6 +186,13 @@ public bool TryPickValue5(
return IsValue5;
}

/// <summary>
///
/// </summary>
public T5 PickValue5() => IsValue5
? Value5!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value5' but the value was {ToString()}.");

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -187,6 +222,13 @@ public bool TryPickValue6(
value = Value6;
return IsValue6;
}

/// <summary>
///
/// </summary>
public T6 PickValue6() => IsValue6
? Value6!
: throw new global::System.InvalidOperationException($"Expected union variant 'Value6' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@ public AgentEnvironmentVariable(
public AgentEnvironmentVariable()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public sealed partial class AgentEnvironmentVariableCreatedAt
/// </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 @@ -14,5 +14,6 @@ public sealed partial class AgentEnvironmentVariableCreatedById
/// </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 @@ -14,5 +14,6 @@ public sealed partial class AgentEnvironmentVariableDescription
/// </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 @@ -14,5 +14,6 @@ public sealed partial class AgentEnvironmentVariableLastUpdatedById
/// </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 @@ -14,5 +14,6 @@ public sealed partial class AgentEnvironmentVariableUpdatedAt
/// </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 @@ -14,5 +14,6 @@ public sealed partial class AgentEnvironmentVariableValueEnc
/// </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 @@ -146,5 +146,6 @@ public AgentFileAttachment(
public AgentFileAttachment()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public sealed partial class AgentFileAttachmentEndLine
/// </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 @@ -14,5 +14,6 @@ public sealed partial class AgentFileAttachmentLastAccessedAt
/// </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 @@ -14,5 +14,6 @@ public sealed partial class AgentFileAttachmentStartLine
/// </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 @@ -14,5 +14,6 @@ public sealed partial class AgentFileAttachmentVisibleContent
/// </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>();

}
}
1 change: 1 addition & 0 deletions src/libs/Letta/Generated/Letta.Models.AgentFileSchema.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,6 @@ public AgentFileSchema(
public AgentFileSchema()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public sealed partial class AgentFileSchemaCreatedAt
/// </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 @@ -14,5 +14,6 @@ public sealed partial class AgentFileSchemaMetadata
/// </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>();

}
}
Loading
Loading