Skip to content

Commit

Permalink
Updated FpPipelineParam definition. Updated min Go version to 1.22.
Browse files Browse the repository at this point in the history
  • Loading branch information
vhadianto committed Aug 12, 2024
1 parent add2cda commit da6014a
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 32 deletions.
23 changes: 16 additions & 7 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1441,15 +1441,17 @@ components:
end_line_number: 0
params:
- default: "{}"
type_string: type_string
name: name
description: description
optional: true
type: type
type: "{}"
- default: "{}"
type_string: type_string
name: name
description: description
optional: true
type: type
type: "{}"
start_line_number: 6
title: title
steps:
Expand Down Expand Up @@ -1498,10 +1500,11 @@ components:
FpPipelineParam:
example:
default: "{}"
type_string: type_string
name: name
description: description
optional: true
type: type
type: "{}"
properties:
default:
type: object
Expand All @@ -1512,6 +1515,8 @@ components:
optional:
type: boolean
type:
type: object
type_string:
type: string
type: object
FpTrigger:
Expand Down Expand Up @@ -1791,15 +1796,17 @@ components:
end_line_number: 0
params:
- default: "{}"
type_string: type_string
name: name
description: description
optional: true
type: type
type: "{}"
- default: "{}"
type_string: type_string
name: name
description: description
optional: true
type: type
type: "{}"
start_line_number: 6
title: title
steps:
Expand Down Expand Up @@ -1843,15 +1850,17 @@ components:
end_line_number: 0
params:
- default: "{}"
type_string: type_string
name: name
description: description
optional: true
type: type
type: "{}"
- default: "{}"
type_string: type_string
name: name
description: description
optional: true
type: type
type: "{}"
start_line_number: 6
title: title
steps:
Expand Down
34 changes: 30 additions & 4 deletions docs/FpPipelineParam.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Name | Type | Description | Notes
**Description** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | | [optional]
**Optional** | Pointer to **bool** | | [optional]
**Type** | Pointer to **string** | | [optional]
**Type** | Pointer to **map[string]interface{}** | | [optional]
**TypeString** | Pointer to **string** | | [optional]

## Methods

Expand Down Expand Up @@ -131,20 +132,20 @@ HasOptional returns a boolean if a field has been set.

### GetType

`func (o *FpPipelineParam) GetType() string`
`func (o *FpPipelineParam) GetType() map[string]interface{}`

GetType returns the Type field if non-nil, zero value otherwise.

### GetTypeOk

`func (o *FpPipelineParam) GetTypeOk() (*string, bool)`
`func (o *FpPipelineParam) GetTypeOk() (*map[string]interface{}, bool)`

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetType

`func (o *FpPipelineParam) SetType(v string)`
`func (o *FpPipelineParam) SetType(v map[string]interface{})`

SetType sets Type field to given value.

Expand All @@ -154,6 +155,31 @@ SetType sets Type field to given value.

HasType returns a boolean if a field has been set.

### GetTypeString

`func (o *FpPipelineParam) GetTypeString() string`

GetTypeString returns the TypeString field if non-nil, zero value otherwise.

### GetTypeStringOk

`func (o *FpPipelineParam) GetTypeStringOk() (*string, bool)`

GetTypeStringOk returns a tuple with the TypeString field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTypeString

`func (o *FpPipelineParam) SetTypeString(v string)`

SetTypeString sets TypeString field to given value.

### HasTypeString

`func (o *FpPipelineParam) HasTypeString() bool`

HasTypeString returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
7 changes: 6 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
module github.com/turbot/flowpipe-sdk-go

go 1.20
go 1.22

require github.com/stretchr/testify v1.9.0

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
21 changes: 10 additions & 11 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
54 changes: 45 additions & 9 deletions model_fp_pipeline_param.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit da6014a

Please sign in to comment.