Skip to content

Commit

Permalink
update generated client
Browse files Browse the repository at this point in the history
  • Loading branch information
CDN18 authored and github-actions[bot] committed Sep 9, 2024
1 parent b02fc6d commit 47370f8
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 0 deletions.
35 changes: 35 additions & 0 deletions client/accounts/account_update_parameters.go

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

34 changes: 34 additions & 0 deletions client/filters/filter_v2_put_parameters.go

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

34 changes: 34 additions & 0 deletions client/filters/filter_v2_put_parameters.go.orig
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ type FilterV2PutParams struct {
*/
ExpiresIn *float64

/* FilterAction.

The action to be taken when a status matches this filter.

Sample: warn
*/
FilterAction *string

/* ID.

ID of the filter.
Expand Down Expand Up @@ -185,6 +193,17 @@ func (o *FilterV2PutParams) SetExpiresIn(expiresIn *float64) {
o.ExpiresIn = expiresIn
}

// WithFilterAction adds the filterAction to the filter v2 put params
func (o *FilterV2PutParams) WithFilterAction(filterAction *string) *FilterV2PutParams {
o.SetFilterAction(filterAction)
return o
}

// SetFilterAction adds the filterAction to the filter v2 put params
func (o *FilterV2PutParams) SetFilterAction(filterAction *string) {
o.FilterAction = filterAction
}

// WithID adds the id to the filter v2 put params
func (o *FilterV2PutParams) WithID(id string) *FilterV2PutParams {
o.SetID(id)
Expand Down Expand Up @@ -274,6 +293,21 @@ func (o *FilterV2PutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.R
}
}

if o.FilterAction != nil {

// form param filter_action
var frFilterAction string
if o.FilterAction != nil {
frFilterAction = *o.FilterAction
}
fFilterAction := frFilterAction
if fFilterAction != "" {
if err := r.SetFormParam("filter_action", fFilterAction); err != nil {
return err
}
}
}

// path param id
if err := r.SetPathParam("id", o.ID); err != nil {
return err
Expand Down
6 changes: 6 additions & 0 deletions models/source.go

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

0 comments on commit 47370f8

Please sign in to comment.