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/Picsart/Generated/Picsart.AllOf.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/Picsart/Generated/Picsart.AllOf.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
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@ public GenAIBleedParameters(
public GenAIBleedParameters()
{
}

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

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,6 @@ public GenAIExpandParameters(
public GenAIExpandParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenAIImage2VideoModels(
public GenAIImage2VideoModels()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@ public GenAIImageParameters(
public GenAIImageParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,6 @@ public GenAIInpaintingParameters(
public GenAIInpaintingParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenAILaserEngravingModels(
public GenAILaserEngravingModels()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ public GenAILaserEngravingParameters(
public GenAILaserEngravingParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenAILogoModels(
public GenAILogoModels()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,6 @@ public GenAILogoParameters(
public GenAILogoParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@ public GenAIMaskParameters(
public GenAIMaskParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@ public GenAIRemoveObjectParameters(
public GenAIRemoveObjectParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenAIText2ImageModels(
public GenAIText2ImageModels()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,6 @@ public GenAIText2ImageParameters(
public GenAIText2ImageParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenAIText2SoundModels(
public GenAIText2SoundModels()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ public GenAIText2SoundParameters(
public GenAIText2SoundParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,6 @@ public GenAIText2SpeechModels(
public GenAIText2SpeechModels()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@ public GenAIText2SpeechParameters(
public GenAIText2SpeechParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenAIText2StickerModels(
public GenAIText2StickerModels()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ public GenAIText2TextCompletionsParameters(
public GenAIText2TextCompletionsParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ public GenAIText2TextCompletionsParametersMessage(
public GenAIText2TextCompletionsParametersMessage()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenAIText2TextModels(
public GenAIText2TextModels()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenAIText2VideoModels(
public GenAIText2VideoModels()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,6 @@ public GenAIText2VideoParameters(
public GenAIText2VideoParameters()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ public GenaiCreditsBalanceResponse(
public GenaiCreditsBalanceResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiExpandImageResponse(
public GenaiExpandImageResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiExpandImageResponse2(
public GenaiExpandImageResponse2()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiExpandImageResponseDataItem(
public GenaiExpandImageResponseDataItem()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiGenerateImageBleedResponse(
public GenaiGenerateImageBleedResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiGenerateImageBleedResponseData(
public GenaiGenerateImageBleedResponseData()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiGenerateLogoGetresultResponse(
public GenaiGenerateLogoGetresultResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ public GenaiGenerateLogoGetresultResponse2(
public GenaiGenerateLogoGetresultResponse2()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ public GenaiGenerateLogoGetresultResponseDataItem(
public GenaiGenerateLogoGetresultResponseDataItem()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ public GenaiGenerateLogoResponse(
public GenaiGenerateLogoResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ public GenaiImage2videoResponse(
public GenaiImage2videoResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiImageInpaintingGetresultResponse(
public GenaiImageInpaintingGetresultResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiImageInpaintingGetresultResponse2(
public GenaiImageInpaintingGetresultResponse2()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiImageInpaintingGetresultResponseDataItem(
public GenaiImageInpaintingGetresultResponseDataItem()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiImageInpaintingResponse(
public GenaiImageInpaintingResponse()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiImageInpaintingResponse2(
public GenaiImageInpaintingResponse2()
{
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ public GenaiImageInpaintingResponseDataItem(
public GenaiImageInpaintingResponseDataItem()
{
}

}
}
Loading