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
22 changes: 22 additions & 0 deletions src/libs/DeepInfra/Generated/DeepInfra.Models.ModelFamilyOut.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ public sealed partial class ModelFamilyOut
[global::System.Text.Json.Serialization.JsonRequired]
public required string Description { get; set; }

/// <summary>
/// Meta title for SEO
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("meta_title")]
public string? MetaTitle { get; set; }

/// <summary>
/// Meta description for SEO
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("meta_description")]
public string? MetaDescription { get; set; }

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -67,6 +79,12 @@ public sealed partial class ModelFamilyOut
/// <param name="description">
/// Model family description
/// </param>
/// <param name="metaTitle">
/// Meta title for SEO
/// </param>
/// <param name="metaDescription">
/// Meta description for SEO
/// </param>
/// <param name="featuredModels"></param>
/// <param name="ppSectionsOut"></param>
/// <param name="faqEntries">
Expand All @@ -81,13 +99,17 @@ public ModelFamilyOut(
string description,
global::System.Collections.Generic.IList<string> featuredModels,
global::System.Collections.Generic.IList<global::DeepInfra.PricingPageSectionOut> ppSectionsOut,
string? metaTitle,
string? metaDescription,
global::System.Collections.Generic.IList<global::DeepInfra.FAQEntryOut>? faqEntries)
{
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title));
this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description));
this.FeaturedModels = featuredModels ?? throw new global::System.ArgumentNullException(nameof(featuredModels));
this.PpSectionsOut = ppSectionsOut ?? throw new global::System.ArgumentNullException(nameof(ppSectionsOut));
this.MetaTitle = metaTitle;
this.MetaDescription = metaDescription;
this.FaqEntries = faqEntries;
}

Expand Down
10 changes: 10 additions & 0 deletions src/libs/DeepInfra/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6484,6 +6484,16 @@ components:
title: Description
type: string
description: Model family description
meta_title:
title: Meta Title
type: string
description: Meta title for SEO
nullable: true
meta_description:
title: Meta Description
type: string
description: Meta description for SEO
nullable: true
featured_models:
title: Featured Models
type: array
Expand Down