Skip to content

Commit 2d0827d

Browse files
chore: generated code for commit 04a7994. [skip ci]
Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 04a7994 commit 2d0827d

File tree

72 files changed

+531
-2140
lines changed

Some content is hidden

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

72 files changed

+531
-2140
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/ScheduleDateUtilsInput.cs renamed to clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/DockerStreamsInput.cs

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,29 @@
1212
namespace Algolia.Search.Models.Ingestion;
1313

1414
/// <summary>
15-
/// Input for scheduled tasks whose source is of type `bigquery` and for which extracted data spans a fixed number of days.
15+
/// DockerStreamsInput
1616
/// </summary>
17-
public partial class ScheduleDateUtilsInput
17+
public partial class DockerStreamsInput
1818
{
1919
/// <summary>
20-
/// Initializes a new instance of the ScheduleDateUtilsInput class.
20+
/// Initializes a new instance of the DockerStreamsInput class.
2121
/// </summary>
2222
[JsonConstructor]
23-
public ScheduleDateUtilsInput() { }
23+
public DockerStreamsInput() { }
2424
/// <summary>
25-
/// Initializes a new instance of the ScheduleDateUtilsInput class.
25+
/// Initializes a new instance of the DockerStreamsInput class.
2626
/// </summary>
27-
/// <param name="timeframe">Number of days in the past until the current day for which to extract Big Query data. (required).</param>
28-
public ScheduleDateUtilsInput(int timeframe)
27+
/// <param name="streams">streams (required).</param>
28+
public DockerStreamsInput(object streams)
2929
{
30-
Timeframe = timeframe;
30+
Streams = streams ?? throw new ArgumentNullException(nameof(streams));
3131
}
3232

3333
/// <summary>
34-
/// Number of days in the past until the current day for which to extract Big Query data.
34+
/// Gets or Sets Streams
3535
/// </summary>
36-
/// <value>Number of days in the past until the current day for which to extract Big Query data.</value>
37-
[JsonPropertyName("timeframe")]
38-
public int Timeframe { get; set; }
39-
40-
/// <summary>
41-
/// Gets or Sets Mapping
42-
/// </summary>
43-
[JsonPropertyName("mapping")]
44-
public MappingInput Mapping { get; set; }
36+
[JsonPropertyName("streams")]
37+
public object Streams { get; set; }
4538

4639
/// <summary>
4740
/// Returns the string presentation of the object
@@ -50,9 +43,8 @@ public ScheduleDateUtilsInput(int timeframe)
5043
public override string ToString()
5144
{
5245
StringBuilder sb = new StringBuilder();
53-
sb.Append("class ScheduleDateUtilsInput {\n");
54-
sb.Append(" Timeframe: ").Append(Timeframe).Append("\n");
55-
sb.Append(" Mapping: ").Append(Mapping).Append("\n");
46+
sb.Append("class DockerStreamsInput {\n");
47+
sb.Append(" Streams: ").Append(Streams).Append("\n");
5648
sb.Append("}\n");
5749
return sb.ToString();
5850
}
@@ -73,14 +65,13 @@ public virtual string ToJson()
7365
/// <returns>Boolean</returns>
7466
public override bool Equals(object obj)
7567
{
76-
if (obj is not ScheduleDateUtilsInput input)
68+
if (obj is not DockerStreamsInput input)
7769
{
7870
return false;
7971
}
8072

8173
return
82-
(Timeframe == input.Timeframe || Timeframe.Equals(input.Timeframe)) &&
83-
(Mapping == input.Mapping || (Mapping != null && Mapping.Equals(input.Mapping)));
74+
(Streams == input.Streams || (Streams != null && Streams.Equals(input.Streams)));
8475
}
8576

8677
/// <summary>
@@ -92,10 +83,9 @@ public override int GetHashCode()
9283
unchecked // Overflow is fine, just wrap
9384
{
9485
int hashCode = 41;
95-
hashCode = (hashCode * 59) + Timeframe.GetHashCode();
96-
if (Mapping != null)
86+
if (Streams != null)
9787
{
98-
hashCode = (hashCode * 59) + Mapping.GetHashCode();
88+
hashCode = (hashCode * 59) + Streams.GetHashCode();
9989
}
10090
return hashCode;
10191
}

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/OnDemandDateUtilsInput.cs

Lines changed: 0 additions & 123 deletions
This file was deleted.

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/StreamingUtilsInput.cs renamed to clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/StreamingInput.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ namespace Algolia.Search.Models.Ingestion;
1414
/// <summary>
1515
/// Input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
1616
/// </summary>
17-
public partial class StreamingUtilsInput
17+
public partial class StreamingInput
1818
{
1919
/// <summary>
20-
/// Initializes a new instance of the StreamingUtilsInput class.
20+
/// Initializes a new instance of the StreamingInput class.
2121
/// </summary>
2222
[JsonConstructor]
23-
public StreamingUtilsInput() { }
23+
public StreamingInput() { }
2424
/// <summary>
25-
/// Initializes a new instance of the StreamingUtilsInput class.
25+
/// Initializes a new instance of the StreamingInput class.
2626
/// </summary>
2727
/// <param name="mapping">mapping (required).</param>
28-
public StreamingUtilsInput(MappingInput mapping)
28+
public StreamingInput(MappingInput mapping)
2929
{
3030
Mapping = mapping ?? throw new ArgumentNullException(nameof(mapping));
3131
}
@@ -43,7 +43,7 @@ public StreamingUtilsInput(MappingInput mapping)
4343
public override string ToString()
4444
{
4545
StringBuilder sb = new StringBuilder();
46-
sb.Append("class StreamingUtilsInput {\n");
46+
sb.Append("class StreamingInput {\n");
4747
sb.Append(" Mapping: ").Append(Mapping).Append("\n");
4848
sb.Append("}\n");
4949
return sb.ToString();
@@ -65,7 +65,7 @@ public virtual string ToJson()
6565
/// <returns>Boolean</returns>
6666
public override bool Equals(object obj)
6767
{
68-
if (obj is not StreamingUtilsInput input)
68+
if (obj is not StreamingInput input)
6969
{
7070
return false;
7171
}

0 commit comments

Comments
 (0)