Skip to content

Commit 8c9f6f1

Browse files
feat(specs): push source type (generated)
algolia/api-clients-automation#3600 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 7f3960e commit 8c9f6f1

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

algoliasearch/Models/Ingestion/Source.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,12 @@ public Source() { }
3333
/// <param name="sourceID">Universally uniqud identifier (UUID) of a source. (required).</param>
3434
/// <param name="type">type (required).</param>
3535
/// <param name="name">name (required).</param>
36-
/// <param name="input">input (required).</param>
3736
/// <param name="createdAt">Date of creation in RFC 3339 format. (required).</param>
38-
public Source(string sourceID, SourceType? type, string name, SourceInput input, string createdAt)
37+
public Source(string sourceID, SourceType? type, string name, string createdAt)
3938
{
4039
SourceID = sourceID ?? throw new ArgumentNullException(nameof(sourceID));
4140
Type = type;
4241
Name = name ?? throw new ArgumentNullException(nameof(name));
43-
Input = input ?? throw new ArgumentNullException(nameof(input));
4442
CreatedAt = createdAt ?? throw new ArgumentNullException(nameof(createdAt));
4543
}
4644

algoliasearch/Models/Ingestion/SourceCreate.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ public SourceCreate() { }
3232
/// </summary>
3333
/// <param name="type">type (required).</param>
3434
/// <param name="name">Descriptive name of the source. (required).</param>
35-
/// <param name="input">input (required).</param>
36-
public SourceCreate(SourceType? type, string name, SourceInput input)
35+
public SourceCreate(SourceType? type, string name)
3736
{
3837
Type = type;
3938
Name = name ?? throw new ArgumentNullException(nameof(name));
40-
Input = input ?? throw new ArgumentNullException(nameof(input));
4139
}
4240

4341
/// <summary>

algoliasearch/Models/Ingestion/SourceType.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ public enum SourceType
6868
/// Enum Sfcc for value: sfcc
6969
/// </summary>
7070
[JsonPropertyName("sfcc")]
71-
Sfcc = 9
71+
Sfcc = 9,
72+
73+
/// <summary>
74+
/// Enum Push for value: push
75+
/// </summary>
76+
[JsonPropertyName("push")]
77+
Push = 10
7278
}
7379

0 commit comments

Comments
 (0)