@@ -489,7 +489,6 @@ var _ = Describe(`VisualRecognitionV4`, func() {
489489 createCollectionOptionsModel := new (visualrecognitionv4.CreateCollectionOptions )
490490 createCollectionOptionsModel .Name = core .StringPtr ("testString" )
491491 createCollectionOptionsModel .Description = core .StringPtr ("testString" )
492- createCollectionOptionsModel .TrainingStatus = trainingStatusModel
493492 createCollectionOptionsModel .Headers = map [string ]string {"x-custom-header" : "x-custom-value" }
494493 // Expect response parsing to fail since we are receiving a text/plain response
495494 result , response , operationErr := visualRecognitionService .CreateCollection (createCollectionOptionsModel )
@@ -584,7 +583,6 @@ var _ = Describe(`VisualRecognitionV4`, func() {
584583 createCollectionOptionsModel := new (visualrecognitionv4.CreateCollectionOptions )
585584 createCollectionOptionsModel .Name = core .StringPtr ("testString" )
586585 createCollectionOptionsModel .Description = core .StringPtr ("testString" )
587- createCollectionOptionsModel .TrainingStatus = trainingStatusModel
588586 createCollectionOptionsModel .Headers = map [string ]string {"x-custom-header" : "x-custom-value" }
589587
590588 // Invoke operation with valid options model (positive test)
@@ -644,7 +642,6 @@ var _ = Describe(`VisualRecognitionV4`, func() {
644642 createCollectionOptionsModel := new (visualrecognitionv4.CreateCollectionOptions )
645643 createCollectionOptionsModel .Name = core .StringPtr ("testString" )
646644 createCollectionOptionsModel .Description = core .StringPtr ("testString" )
647- createCollectionOptionsModel .TrainingStatus = trainingStatusModel
648645 createCollectionOptionsModel .Headers = map [string ]string {"x-custom-header" : "x-custom-value" }
649646 // Invoke operation with empty URL (negative test)
650647 err := visualRecognitionService .SetServiceURL ("" )
@@ -1017,7 +1014,6 @@ var _ = Describe(`VisualRecognitionV4`, func() {
10171014 updateCollectionOptionsModel .CollectionID = core .StringPtr ("testString" )
10181015 updateCollectionOptionsModel .Name = core .StringPtr ("testString" )
10191016 updateCollectionOptionsModel .Description = core .StringPtr ("testString" )
1020- updateCollectionOptionsModel .TrainingStatus = trainingStatusModel
10211017 updateCollectionOptionsModel .Headers = map [string ]string {"x-custom-header" : "x-custom-value" }
10221018 // Expect response parsing to fail since we are receiving a text/plain response
10231019 result , response , operationErr := visualRecognitionService .UpdateCollection (updateCollectionOptionsModel )
@@ -1113,7 +1109,6 @@ var _ = Describe(`VisualRecognitionV4`, func() {
11131109 updateCollectionOptionsModel .CollectionID = core .StringPtr ("testString" )
11141110 updateCollectionOptionsModel .Name = core .StringPtr ("testString" )
11151111 updateCollectionOptionsModel .Description = core .StringPtr ("testString" )
1116- updateCollectionOptionsModel .TrainingStatus = trainingStatusModel
11171112 updateCollectionOptionsModel .Headers = map [string ]string {"x-custom-header" : "x-custom-value" }
11181113
11191114 // Invoke operation with valid options model (positive test)
@@ -1174,7 +1169,6 @@ var _ = Describe(`VisualRecognitionV4`, func() {
11741169 updateCollectionOptionsModel .CollectionID = core .StringPtr ("testString" )
11751170 updateCollectionOptionsModel .Name = core .StringPtr ("testString" )
11761171 updateCollectionOptionsModel .Description = core .StringPtr ("testString" )
1177- updateCollectionOptionsModel .TrainingStatus = trainingStatusModel
11781172 updateCollectionOptionsModel .Headers = map [string ]string {"x-custom-header" : "x-custom-value" }
11791173 // Invoke operation with empty URL (negative test)
11801174 err := visualRecognitionService .SetServiceURL ("" )
@@ -3927,12 +3921,10 @@ var _ = Describe(`VisualRecognitionV4`, func() {
39273921 createCollectionOptionsModel := visualRecognitionService .NewCreateCollectionOptions ()
39283922 createCollectionOptionsModel .SetName ("testString" )
39293923 createCollectionOptionsModel .SetDescription ("testString" )
3930- createCollectionOptionsModel .SetTrainingStatus (trainingStatusModel )
39313924 createCollectionOptionsModel .SetHeaders (map [string ]string {"foo" : "bar" })
39323925 Expect (createCollectionOptionsModel ).ToNot (BeNil ())
39333926 Expect (createCollectionOptionsModel .Name ).To (Equal (core .StringPtr ("testString" )))
39343927 Expect (createCollectionOptionsModel .Description ).To (Equal (core .StringPtr ("testString" )))
3935- Expect (createCollectionOptionsModel .TrainingStatus ).To (Equal (trainingStatusModel ))
39363928 Expect (createCollectionOptionsModel .Headers ).To (Equal (map [string ]string {"foo" : "bar" }))
39373929 })
39383930 It (`Invoke NewDeleteCollectionOptions successfully` , func () {
@@ -4156,13 +4148,11 @@ var _ = Describe(`VisualRecognitionV4`, func() {
41564148 updateCollectionOptionsModel .SetCollectionID ("testString" )
41574149 updateCollectionOptionsModel .SetName ("testString" )
41584150 updateCollectionOptionsModel .SetDescription ("testString" )
4159- updateCollectionOptionsModel .SetTrainingStatus (trainingStatusModel )
41604151 updateCollectionOptionsModel .SetHeaders (map [string ]string {"foo" : "bar" })
41614152 Expect (updateCollectionOptionsModel ).ToNot (BeNil ())
41624153 Expect (updateCollectionOptionsModel .CollectionID ).To (Equal (core .StringPtr ("testString" )))
41634154 Expect (updateCollectionOptionsModel .Name ).To (Equal (core .StringPtr ("testString" )))
41644155 Expect (updateCollectionOptionsModel .Description ).To (Equal (core .StringPtr ("testString" )))
4165- Expect (updateCollectionOptionsModel .TrainingStatus ).To (Equal (trainingStatusModel ))
41664156 Expect (updateCollectionOptionsModel .Headers ).To (Equal (map [string ]string {"foo" : "bar" }))
41674157 })
41684158 It (`Invoke NewUpdateObjectMetadata successfully` , func () {
0 commit comments