Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added trigger capture groups. Added enabled and query to FpTrigger. #10

Merged
merged 2 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat: added enabled and query to FpTrigger
  • Loading branch information
graza-io committed Jan 18, 2024
commit 194dfb063832309cb4a253b607f68e14bce526df
46 changes: 28 additions & 18 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -908,28 +908,32 @@ components:
type: object
FpTrigger:
example:
schedule: schedule
pipelines:
- pipeline: pipeline
capture_group: capture_group
- pipeline: pipeline
capture_group: capture_group
file_name: file_name
documentation: documentation
name: name
query: query
description: description
end_line_number: 0
start_line_number: 6
title: title
type: type
enabled: true
url: url
tags:
key: tags
schedule: schedule
pipelines:
- pipeline: pipeline
capture_group: capture_group
- pipeline: pipeline
capture_group: capture_group
name: name
properties:
description:
type: string
documentation:
type: string
enabled:
type: boolean
end_line_number:
type: integer
file_name:
Expand All @@ -940,6 +944,8 @@ components:
items:
$ref: '#/components/schemas/FpTriggerPipeline'
type: array
query:
type: string
schedule:
type: string
start_line_number:
Expand Down Expand Up @@ -1097,40 +1103,44 @@ components:
example:
next_token: next_token
items:
- schedule: schedule
pipelines:
- pipeline: pipeline
capture_group: capture_group
- pipeline: pipeline
capture_group: capture_group
file_name: file_name
- file_name: file_name
documentation: documentation
name: name
query: query
description: description
end_line_number: 0
start_line_number: 6
title: title
type: type
enabled: true
url: url
tags:
key: tags
- schedule: schedule
schedule: schedule
pipelines:
- pipeline: pipeline
capture_group: capture_group
- pipeline: pipeline
capture_group: capture_group
file_name: file_name
documentation: documentation
name: name
- file_name: file_name
documentation: documentation
query: query
description: description
end_line_number: 0
start_line_number: 6
title: title
type: type
enabled: true
url: url
tags:
key: tags
schedule: schedule
pipelines:
- pipeline: pipeline
capture_group: capture_group
- pipeline: pipeline
capture_group: capture_group
name: name
properties:
items:
items:
Expand Down
52 changes: 52 additions & 0 deletions docs/FpTrigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Description** | Pointer to **string** | | [optional]
**Documentation** | Pointer to **string** | | [optional]
**Enabled** | Pointer to **bool** | | [optional]
**EndLineNumber** | Pointer to **int32** | | [optional]
**FileName** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | | [optional]
**Pipelines** | Pointer to [**[]FpTriggerPipeline**](FpTriggerPipeline.md) | | [optional]
**Query** | Pointer to **string** | | [optional]
**Schedule** | Pointer to **string** | | [optional]
**StartLineNumber** | Pointer to **int32** | | [optional]
**Tags** | Pointer to **map[string]string** | | [optional]
Expand Down Expand Up @@ -86,6 +88,31 @@ SetDocumentation sets Documentation field to given value.

HasDocumentation returns a boolean if a field has been set.

### GetEnabled

`func (o *FpTrigger) GetEnabled() bool`

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

### GetEnabledOk

`func (o *FpTrigger) GetEnabledOk() (*bool, bool)`

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

### SetEnabled

`func (o *FpTrigger) SetEnabled(v bool)`

SetEnabled sets Enabled field to given value.

### HasEnabled

`func (o *FpTrigger) HasEnabled() bool`

HasEnabled returns a boolean if a field has been set.

### GetEndLineNumber

`func (o *FpTrigger) GetEndLineNumber() int32`
Expand Down Expand Up @@ -186,6 +213,31 @@ SetPipelines sets Pipelines field to given value.

HasPipelines returns a boolean if a field has been set.

### GetQuery

`func (o *FpTrigger) GetQuery() string`

GetQuery returns the Query field if non-nil, zero value otherwise.

### GetQueryOk

`func (o *FpTrigger) GetQueryOk() (*string, bool)`

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

### SetQuery

`func (o *FpTrigger) SetQuery(v string)`

SetQuery sets Query field to given value.

### HasQuery

`func (o *FpTrigger) HasQuery() bool`

HasQuery returns a boolean if a field has been set.

### GetSchedule

`func (o *FpTrigger) GetSchedule() string`
Expand Down
72 changes: 72 additions & 0 deletions model_fp_trigger.go

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