12
12
namespace Algolia . Search . Models . Ingestion ;
13
13
14
14
/// <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
16
16
/// </summary>
17
- public partial class ScheduleDateUtilsInput
17
+ public partial class DockerStreamsInput
18
18
{
19
19
/// <summary>
20
- /// Initializes a new instance of the ScheduleDateUtilsInput class.
20
+ /// Initializes a new instance of the DockerStreamsInput class.
21
21
/// </summary>
22
22
[ JsonConstructor ]
23
- public ScheduleDateUtilsInput ( ) { }
23
+ public DockerStreamsInput ( ) { }
24
24
/// <summary>
25
- /// Initializes a new instance of the ScheduleDateUtilsInput class.
25
+ /// Initializes a new instance of the DockerStreamsInput class.
26
26
/// </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 )
29
29
{
30
- Timeframe = timeframe ;
30
+ Streams = streams ?? throw new ArgumentNullException ( nameof ( streams ) ) ;
31
31
}
32
32
33
33
/// <summary>
34
- /// Number of days in the past until the current day for which to extract Big Query data.
34
+ /// Gets or Sets Streams
35
35
/// </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 ; }
45
38
46
39
/// <summary>
47
40
/// Returns the string presentation of the object
@@ -50,9 +43,8 @@ public ScheduleDateUtilsInput(int timeframe)
50
43
public override string ToString ( )
51
44
{
52
45
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 " ) ;
56
48
sb . Append ( "}\n " ) ;
57
49
return sb . ToString ( ) ;
58
50
}
@@ -73,14 +65,13 @@ public virtual string ToJson()
73
65
/// <returns>Boolean</returns>
74
66
public override bool Equals ( object obj )
75
67
{
76
- if ( obj is not ScheduleDateUtilsInput input )
68
+ if ( obj is not DockerStreamsInput input )
77
69
{
78
70
return false ;
79
71
}
80
72
81
73
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 ) ) ) ;
84
75
}
85
76
86
77
/// <summary>
@@ -92,10 +83,9 @@ public override int GetHashCode()
92
83
unchecked // Overflow is fine, just wrap
93
84
{
94
85
int hashCode = 41 ;
95
- hashCode = ( hashCode * 59 ) + Timeframe . GetHashCode ( ) ;
96
- if ( Mapping != null )
86
+ if ( Streams != null )
97
87
{
98
- hashCode = ( hashCode * 59 ) + Mapping . GetHashCode ( ) ;
88
+ hashCode = ( hashCode * 59 ) + Streams . GetHashCode ( ) ;
99
89
}
100
90
return hashCode ;
101
91
}
0 commit comments