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
14 changes: 14 additions & 0 deletions src/libs/WorldLabs/Generated/WorldLabs.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/WorldLabs/Generated/WorldLabs.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
1 change: 1 addition & 0 deletions src/libs/WorldLabs/Generated/WorldLabs.Models.Content.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ public Content(
public Content()
{
}

}
}
21 changes: 21 additions & 0 deletions src/libs/WorldLabs/Generated/WorldLabs.Models.Content2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ public bool TryPickMediaAsset(
return IsMediaAsset;
}

/// <summary>
///
/// </summary>
public global::WorldLabs.MediaAssetReference PickMediaAsset() => IsMediaAsset
? MediaAsset!
: throw new global::System.InvalidOperationException($"Expected union variant 'MediaAsset' but the value was {ToString()}.");

/// <summary>
/// Reference to content via a publicly accessible URL.
/// </summary>
Expand Down Expand Up @@ -74,6 +81,13 @@ public bool TryPickUri(
return IsUri;
}

/// <summary>
///
/// </summary>
public global::WorldLabs.UriReference PickUri() => IsUri
? Uri!
: throw new global::System.InvalidOperationException($"Expected union variant 'Uri' but the value was {ToString()}.");

/// <summary>
/// Reference to content via base64-encoded data.
/// </summary>
Expand Down Expand Up @@ -103,6 +117,13 @@ public bool TryPickDataBase64(
value = DataBase64;
return IsDataBase64;
}

/// <summary>
///
/// </summary>
public global::WorldLabs.DataBase64Reference PickDataBase64() => IsDataBase64
? DataBase64!
: throw new global::System.InvalidOperationException($"Expected union variant 'DataBase64' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public sealed partial class ContentDataBase64
/// </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 ContentExtension
/// </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 ContentUri
/// </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 @@ -64,5 +64,6 @@ public DataBase64Reference(
public DataBase64Reference()
{
}

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

}
}
21 changes: 21 additions & 0 deletions src/libs/WorldLabs/Generated/WorldLabs.Models.DepthPanoImage.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ public bool TryPickMediaAsset(
return IsMediaAsset;
}

/// <summary>
///
/// </summary>
public global::WorldLabs.MediaAssetReference PickMediaAsset() => IsMediaAsset
? MediaAsset!
: throw new global::System.InvalidOperationException($"Expected union variant 'MediaAsset' but the value was {ToString()}.");

/// <summary>
/// Reference to content via a publicly accessible URL.
/// </summary>
Expand Down Expand Up @@ -74,6 +81,13 @@ public bool TryPickUri(
return IsUri;
}

/// <summary>
///
/// </summary>
public global::WorldLabs.UriReference PickUri() => IsUri
? Uri!
: throw new global::System.InvalidOperationException($"Expected union variant 'Uri' but the value was {ToString()}.");

/// <summary>
/// Reference to content via base64-encoded data.
/// </summary>
Expand Down Expand Up @@ -103,6 +117,13 @@ public bool TryPickDataBase64(
value = DataBase64;
return IsDataBase64;
}

/// <summary>
///
/// </summary>
public global::WorldLabs.DataBase64Reference PickDataBase64() => IsDataBase64
? DataBase64!
: throw new global::System.InvalidOperationException($"Expected union variant 'DataBase64' but the value was {ToString()}.");
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@ public DepthPanoPrompt(
public DepthPanoPrompt()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public sealed partial class DepthPanoPromptTextPrompt
/// </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 DepthPanoPromptZMax
/// </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 DepthPanoPromptZMin
/// </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 @@ -120,5 +120,6 @@ public GenerateWorldResponse(
public GenerateWorldResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public sealed partial class GenerateWorldResponseCreatedAt
/// </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 GenerateWorldResponseError
/// </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 GenerateWorldResponseExpiresAt
/// </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 GenerateWorldResponseMetadata
/// </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 GenerateWorldResponseMetadata2
/// </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 GenerateWorldResponseResponse
/// </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 GenerateWorldResponseResponse2
/// </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 GenerateWorldResponseUpdatedAt
/// </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 @@ -121,5 +121,6 @@ public GetOperationResponseUnionWorldPanoDepthToRgbResult(
public GetOperationResponseUnionWorldPanoDepthToRgbResult()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public sealed partial class GetOperationResponseUnionWorldPanoDepthToRgbResultCr
/// </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 GetOperationResponseUnionWorldPanoDepthToRgbResultEr
/// </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 GetOperationResponseUnionWorldPanoDepthToRgbResultEx
/// </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 GetOperationResponseUnionWorldPanoDepthToRgbResultMe
/// </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 GetOperationResponseUnionWorldPanoDepthToRgbResultMe
/// </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 GetOperationResponseUnionWorldPanoDepthToRgbResultUp
/// </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 @@ -39,5 +39,6 @@ public HTTPValidationError(
public HTTPValidationError()
{
}

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

}
}
Loading