File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/main/scala/algoliasearch/ingestion Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ import algoliasearch.ingestion.TransformationType._
35
35
case class TransformationCreate (
36
36
code : Option [String ] = scala.None ,
37
37
name : String ,
38
- `type` : TransformationType ,
39
- input : TransformationInput ,
38
+ `type` : Option [ TransformationType ] = scala. None ,
39
+ input : Option [ TransformationInput ] = scala. None ,
40
40
description : Option [String ] = scala.None ,
41
41
authenticationIDs : Option [Seq [String ]] = scala.None
42
42
)
Original file line number Diff line number Diff line change 19
19
*/
20
20
package algoliasearch .ingestion
21
21
22
+ import algoliasearch .ingestion .TransformationType ._
23
+
22
24
/** TransformationTry
23
25
*
24
26
* @param code
@@ -27,7 +29,9 @@ package algoliasearch.ingestion
27
29
* The record to apply the given code to.
28
30
*/
29
31
case class TransformationTry (
30
- code : String ,
32
+ code : Option [String ] = scala.None ,
33
+ `type` : Option [TransformationType ] = scala.None ,
34
+ input : Option [TransformationInput ] = scala.None ,
31
35
sampleRecord : Any ,
32
36
authentications : Option [Seq [AuthenticationCreate ]] = scala.None
33
37
)
You can’t perform that action at this time.
0 commit comments