Skip to content

Commit 9c0f42d

Browse files
author
github-actions[bot]
committed
feat: Updated OpenAPI spec
1 parent 9245914 commit 9c0f42d

70 files changed

Lines changed: 159 additions & 159 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/libs/Ideogram/Generated/Ideogram.Models.AddOrganizationMembersRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public sealed partial class AddOrganizationMembersRequest
1414
/// </summary>
1515
[global::System.Text.Json.Serialization.JsonPropertyName("members")]
1616
[global::System.Text.Json.Serialization.JsonRequired]
17-
public global::System.Collections.Generic.IList<global::Ideogram.LiteOrganizationMember> Members { get; set; } = default!;
17+
public required global::System.Collections.Generic.IList<global::Ideogram.LiteOrganizationMember> Members { get; set; }
1818

1919
/// <summary>
2020
/// Additional properties that are not explicitly defined in the schema

src/libs/Ideogram/Generated/Ideogram.Models.ApiOrganizationUserSuggestion.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public sealed partial class ApiOrganizationUserSuggestion
1515
/// <example>john_doe</example>
1616
[global::System.Text.Json.Serialization.JsonPropertyName("display_handle")]
1717
[global::System.Text.Json.Serialization.JsonRequired]
18-
public string DisplayHandle { get; set; } = default!;
18+
public required string DisplayHandle { get; set; }
1919

2020
/// <summary>
2121
/// Whether the user has already joined the organization<br/>
@@ -24,7 +24,7 @@ public sealed partial class ApiOrganizationUserSuggestion
2424
/// <example>false</example>
2525
[global::System.Text.Json.Serialization.JsonPropertyName("joined")]
2626
[global::System.Text.Json.Serialization.JsonRequired]
27-
public bool Joined { get; set; } = default!;
27+
public required bool Joined { get; set; }
2828

2929
/// <summary>
3030
/// URL to the user's profile picture<br/>

src/libs/Ideogram/Generated/Ideogram.Models.ApiProfile.g.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public sealed partial class ApiProfile
1616
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
1717
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ApiProfileTypeJsonConverter))]
1818
[global::System.Text.Json.Serialization.JsonRequired]
19-
public global::Ideogram.ApiProfileType Type { get; set; } = default!;
19+
public required global::Ideogram.ApiProfileType Type { get; set; }
2020

2121
/// <summary>
2222
/// The display name of the profile<br/>
@@ -25,7 +25,7 @@ public sealed partial class ApiProfile
2525
/// <example>Gamma</example>
2626
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
2727
[global::System.Text.Json.Serialization.JsonRequired]
28-
public string Name { get; set; } = default!;
28+
public required string Name { get; set; }
2929

3030
/// <summary>
3131
/// URL to the profile avatar<br/>
@@ -42,7 +42,7 @@ public sealed partial class ApiProfile
4242
/// <example>b3JnYW5pemF0aW9uXzEyMw</example>
4343
[global::System.Text.Json.Serialization.JsonPropertyName("organization_id")]
4444
[global::System.Text.Json.Serialization.JsonRequired]
45-
public string OrganizationId { get; set; } = default!;
45+
public required string OrganizationId { get; set; }
4646

4747
/// <summary>
4848
/// Role within an enterprise organization profile<br/>
@@ -52,22 +52,22 @@ public sealed partial class ApiProfile
5252
[global::System.Text.Json.Serialization.JsonPropertyName("role")]
5353
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ApiProfileRoleJsonConverter))]
5454
[global::System.Text.Json.Serialization.JsonRequired]
55-
public global::Ideogram.ApiProfileRole Role { get; set; } = default!;
55+
public required global::Ideogram.ApiProfileRole Role { get; set; }
5656

5757
/// <summary>
5858
/// List of API keys associated with this profile<br/>
5959
/// Default Value: []
6060
/// </summary>
6161
[global::System.Text.Json.Serialization.JsonPropertyName("api_keys")]
6262
[global::System.Text.Json.Serialization.JsonRequired]
63-
public global::System.Collections.Generic.IList<global::Ideogram.ApiProfileApiKey> ApiKeys { get; set; } = default!;
63+
public required global::System.Collections.Generic.IList<global::Ideogram.ApiProfileApiKey> ApiKeys { get; set; }
6464

6565
/// <summary>
6666
/// Whether the user is on Metronome 2.0
6767
/// </summary>
6868
[global::System.Text.Json.Serialization.JsonPropertyName("is_metronome_2_user")]
6969
[global::System.Text.Json.Serialization.JsonRequired]
70-
public bool IsMetronome2User { get; set; } = default!;
70+
public required bool IsMetronome2User { get; set; }
7171

7272
/// <summary>
7373
/// The maximum number of inflight requests permitted for the profile<br/>
@@ -76,7 +76,7 @@ public sealed partial class ApiProfile
7676
/// <example>10</example>
7777
[global::System.Text.Json.Serialization.JsonPropertyName("max_num_inflight_requests_permitted")]
7878
[global::System.Text.Json.Serialization.JsonRequired]
79-
public int MaxNumInflightRequestsPermitted { get; set; } = default!;
79+
public required int MaxNumInflightRequestsPermitted { get; set; }
8080

8181
/// <summary>
8282
/// Additional properties that are not explicitly defined in the schema

src/libs/Ideogram/Generated/Ideogram.Models.ApiProfileApiKey.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public sealed partial class ApiProfileApiKey
1515
/// <example>JRPVD7jWR1aTBYiJ0UFVOg</example>
1616
[global::System.Text.Json.Serialization.JsonPropertyName("api_key_id")]
1717
[global::System.Text.Json.Serialization.JsonRequired]
18-
public string ApiKeyId { get; set; } = default!;
18+
public required string ApiKeyId { get; set; }
1919

2020
/// <summary>
2121
/// A redacted text snippet of the API key. Contains the first 4 characters of the API key<br/>
@@ -24,22 +24,22 @@ public sealed partial class ApiProfileApiKey
2424
/// <example>ATG56•••••••••••••</example>
2525
[global::System.Text.Json.Serialization.JsonPropertyName("redacted_api_key")]
2626
[global::System.Text.Json.Serialization.JsonRequired]
27-
public string RedactedApiKey { get; set; } = default!;
27+
public required string RedactedApiKey { get; set; }
2828

2929
/// <summary>
3030
/// The date at which the API key was created
3131
/// </summary>
3232
[global::System.Text.Json.Serialization.JsonPropertyName("creation_time")]
3333
[global::System.Text.Json.Serialization.JsonRequired]
34-
public global::System.DateTime CreationTime { get; set; } = default!;
34+
public required global::System.DateTime CreationTime { get; set; }
3535

3636
/// <summary>
3737
/// Status of the API key
3838
/// </summary>
3939
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
4040
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ApiKeyStatusJsonConverter))]
4141
[global::System.Text.Json.Serialization.JsonRequired]
42-
public global::Ideogram.ApiKeyStatus Status { get; set; } = default!;
42+
public required global::Ideogram.ApiKeyStatus Status { get; set; }
4343

4444
/// <summary>
4545
/// Additional properties that are not explicitly defined in the schema

src/libs/Ideogram/Generated/Ideogram.Models.ApiTerms.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ public sealed partial class ApiTerms
1313
/// </summary>
1414
[global::System.Text.Json.Serialization.JsonPropertyName("terms_id")]
1515
[global::System.Text.Json.Serialization.JsonRequired]
16-
public string TermsId { get; set; } = default!;
16+
public required string TermsId { get; set; }
1717

1818
/// <summary>
1919
/// The URL where the terms are hosted.
2020
/// </summary>
2121
[global::System.Text.Json.Serialization.JsonPropertyName("terms_url")]
2222
[global::System.Text.Json.Serialization.JsonRequired]
23-
public string TermsUrl { get; set; } = default!;
23+
public required string TermsUrl { get; set; }
2424

2525
/// <summary>
2626
/// Additional properties that are not explicitly defined in the schema

src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteMember.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public sealed partial class ColorPaletteMember
1515
/// <example>#FFFFFF</example>
1616
[global::System.Text.Json.Serialization.JsonPropertyName("color_hex")]
1717
[global::System.Text.Json.Serialization.JsonRequired]
18-
public string ColorHex { get; set; } = default!;
18+
public required string ColorHex { get; set; }
1919

2020
/// <summary>
2121
/// The weight of the color in the color palette.<br/>

src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithMembers.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public sealed partial class ColorPaletteWithMembers
1717
/// <example>[{"ColorPaletteMember":{"color_hex":"#b470b3","color_weight":0.49}}, {"ColorPaletteMember":{"color_hex":"#7a79e3","color_weight":0.16}}, {"ColorPaletteMember":{"color_hex":"#a26563","color_weight":0.1}}, {"ColorPaletteMember":{"color_hex":"#5c7d76","color_weight":0.07}}, {"ColorPaletteMember":{"color_hex":"#642a9c","color_weight":0.05}}]</example>
1818
[global::System.Text.Json.Serialization.JsonPropertyName("members")]
1919
[global::System.Text.Json.Serialization.JsonRequired]
20-
public global::System.Collections.Generic.IList<global::Ideogram.ColorPaletteMember> Members { get; set; } = default!;
20+
public required global::System.Collections.Generic.IList<global::Ideogram.ColorPaletteMember> Members { get; set; }
2121

2222
/// <summary>
2323
/// Additional properties that are not explicitly defined in the schema

src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithPresetName.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public sealed partial class ColorPaletteWithPresetName
1616
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
1717
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ColorPalettePresetNameJsonConverter))]
1818
[global::System.Text.Json.Serialization.JsonRequired]
19-
public global::Ideogram.ColorPalettePresetName Name { get; set; } = default!;
19+
public required global::Ideogram.ColorPalettePresetName Name { get; set; }
2020

2121
/// <summary>
2222
/// Additional properties that are not explicitly defined in the schema

src/libs/Ideogram/Generated/Ideogram.Models.CreateApiKeyResponse.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public sealed partial class CreateApiKeyResponse
1515
/// <example>vkpDjaKdMNR8QJ83GjfNvFZJbnoi65XUp70MgZNtA2H9XE8yfDnmr_6BaRyQkF9hnJzu6mUPRLBmqlnZMwetJA</example>
1616
[global::System.Text.Json.Serialization.JsonPropertyName("api_key")]
1717
[global::System.Text.Json.Serialization.JsonRequired]
18-
public string ApiKey { get; set; } = default!;
18+
public required string ApiKey { get; set; }
1919

2020
/// <summary>
2121
/// The ID of the API key. A URL safe base64 encoded UUID<br/>
@@ -24,7 +24,7 @@ public sealed partial class CreateApiKeyResponse
2424
/// <example>JRPVD7jWR1aTBYiJ0UFVOg==</example>
2525
[global::System.Text.Json.Serialization.JsonPropertyName("api_key_id")]
2626
[global::System.Text.Json.Serialization.JsonRequired]
27-
public string ApiKeyId { get; set; } = default!;
27+
public required string ApiKeyId { get; set; }
2828

2929
/// <summary>
3030
/// The time at which the API key was created<br/>
@@ -33,7 +33,7 @@ public sealed partial class CreateApiKeyResponse
3333
/// <example>2024-05-25T02:00:30+00:00</example>
3434
[global::System.Text.Json.Serialization.JsonPropertyName("creation_time")]
3535
[global::System.Text.Json.Serialization.JsonRequired]
36-
public global::System.DateTime CreationTime { get; set; } = default!;
36+
public required global::System.DateTime CreationTime { get; set; }
3737

3838
/// <summary>
3939
/// Additional properties that are not explicitly defined in the schema

src/libs/Ideogram/Generated/Ideogram.Models.DescribeRequest.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ public sealed partial class DescribeRequest
1313
/// </summary>
1414
[global::System.Text.Json.Serialization.JsonPropertyName("image_file")]
1515
[global::System.Text.Json.Serialization.JsonRequired]
16-
public byte[] ImageFile { get; set; } = default!;
16+
public required byte[] ImageFile { get; set; }
1717

1818
/// <summary>
1919
/// An image binary (max size 10MB); only JPEG, WebP and PNG formats are supported at this time.
2020
/// </summary>
2121
[global::System.Text.Json.Serialization.JsonPropertyName("image_filename")]
2222
[global::System.Text.Json.Serialization.JsonRequired]
23-
public string ImageFilename { get; set; } = default!;
23+
public required string ImageFilename { get; set; }
2424

2525
/// <summary>
2626
/// The model version to use for describing images. Defaults to V_3.<br/>

0 commit comments

Comments
 (0)