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
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ public sealed partial class OrganizationMember
[global::System.Text.Json.Serialization.JsonRequired]
public required global::Ideogram.ApiProfileRole Role { get; set; }

/// <summary>
/// User's full name if entered through user profile.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("full_name")]
public string? FullName { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand Down Expand Up @@ -83,6 +89,9 @@ public sealed partial class OrganizationMember
/// Role within an enterprise organization profile<br/>
/// Example: OWNER
/// </param>
/// <param name="fullName">
/// User's full name if entered through user profile.
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -91,13 +100,15 @@ public OrganizationMember(
string displayHandle,
string emailAddress,
string avatarUrl,
global::Ideogram.ApiProfileRole role)
global::Ideogram.ApiProfileRole role,
string? fullName)
{
this.UserId = userId ?? throw new global::System.ArgumentNullException(nameof(userId));
this.DisplayHandle = displayHandle ?? throw new global::System.ArgumentNullException(nameof(displayHandle));
this.EmailAddress = emailAddress ?? throw new global::System.ArgumentNullException(nameof(emailAddress));
this.AvatarUrl = avatarUrl ?? throw new global::System.ArgumentNullException(nameof(avatarUrl));
this.Role = role;
this.FullName = fullName;
}

/// <summary>
Expand Down
8 changes: 8 additions & 0 deletions src/libs/Ideogram/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3250,11 +3250,13 @@ components:
- display_handle: john_doe
email_address: john.doe@example.com
role: OWNER
full_name: full_name
avatar_url: https://example.com/avatars/user123.jpg
user_id: dXNlcl8xMjM
- display_handle: john_doe
email_address: john.doe@example.com
role: OWNER
full_name: full_name
avatar_url: https://example.com/avatars/user123.jpg
user_id: dXNlcl8xMjM
OrganizationMember:
Expand Down Expand Up @@ -3290,10 +3292,16 @@ components:
example: https://example.com/avatars/user123.jpg
role:
$ref: '#/components/schemas/ApiProfileRole'
full_name:
title: full_name
type: string
description: User's full name if entered through user profile.
nullable: true
example:
display_handle: john_doe
email_address: john.doe@example.com
role: OWNER
full_name: full_name
avatar_url: https://example.com/avatars/user123.jpg
user_id: dXNlcl8xMjM
CreateApiKeyResponse:
Expand Down
Loading