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
9 changes: 4 additions & 5 deletions src/libs/Ideogram/Generated/Ideogram.Models.ApiProfile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ public sealed partial class ApiProfile
/// </summary>
/// <example>https://example.com/avatar.jpg</example>
[global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string AvatarUrl { get; set; }
public string? AvatarUrl { get; set; }

/// <summary>
/// Base64 encoded organization ID (only for ENTERPRISE profiles)<br/>
Expand Down Expand Up @@ -123,21 +122,21 @@ public sealed partial class ApiProfile
public ApiProfile(
global::Ideogram.ApiProfileType type,
string name,
string avatarUrl,
string organizationId,
global::Ideogram.ApiProfileRole role,
global::System.Collections.Generic.IList<global::Ideogram.ApiProfileApiKey> apiKeys,
bool isMetronome2User,
int maxNumInflightRequestsPermitted)
int maxNumInflightRequestsPermitted,
string? avatarUrl)
{
this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.AvatarUrl = avatarUrl ?? throw new global::System.ArgumentNullException(nameof(avatarUrl));
this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId));
this.Role = role;
this.ApiKeys = apiKeys ?? throw new global::System.ArgumentNullException(nameof(apiKeys));
this.IsMetronome2User = isMetronome2User;
this.MaxNumInflightRequestsPermitted = maxNumInflightRequestsPermitted;
this.AvatarUrl = avatarUrl;
}

/// <summary>
Expand Down
1 change: 0 additions & 1 deletion src/libs/Ideogram/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3065,7 +3065,6 @@ components:
title: ApiProfile
required:
- api_keys
- avatar_url
- is_metronome_2_user
- max_num_inflight_requests_permitted
- name
Expand Down
Loading