Skip to content

Commit

Permalink
fix: sonarr release profile required and ignored list
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsarr[bot] committed Jun 21, 2023
1 parent 8459a03 commit 391a45b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 24 deletions.
14 changes: 12 additions & 2 deletions sonarr/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19410,12 +19410,16 @@ components:
ReleaseProfileResource:
additionalProperties: false
example:
ignored: ""
ignored:
- ignored
- ignored
name: name
id: 0
indexerId: 6
enabled: true
required: ""
required:
- required
- required
tags:
- 1
- 1
Expand All @@ -19429,9 +19433,15 @@ components:
enabled:
type: boolean
required:
items:
type: string
nullable: true
type: array
ignored:
items:
type: string
nullable: true
type: array
indexerId:
format: int32
type: integer
Expand Down
16 changes: 8 additions & 8 deletions sonarr/docs/ReleaseProfileResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Name | Type | Description | Notes
**Id** | Pointer to **int32** | | [optional]
**Name** | Pointer to **NullableString** | | [optional]
**Enabled** | Pointer to **bool** | | [optional]
**Required** | Pointer to **interface{}** | | [optional]
**Ignored** | Pointer to **interface{}** | | [optional]
**Required** | Pointer to **[]string** | | [optional]
**Ignored** | Pointer to **[]string** | | [optional]
**IndexerId** | Pointer to **int32** | | [optional]
**Tags** | Pointer to **[]int32** | | [optional]

Expand Down Expand Up @@ -118,20 +118,20 @@ HasEnabled returns a boolean if a field has been set.

### GetRequired

`func (o *ReleaseProfileResource) GetRequired() interface{}`
`func (o *ReleaseProfileResource) GetRequired() []string`

GetRequired returns the Required field if non-nil, zero value otherwise.

### GetRequiredOk

`func (o *ReleaseProfileResource) GetRequiredOk() (*interface{}, bool)`
`func (o *ReleaseProfileResource) GetRequiredOk() (*[]string, bool)`

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

### SetRequired

`func (o *ReleaseProfileResource) SetRequired(v interface{})`
`func (o *ReleaseProfileResource) SetRequired(v []string)`

SetRequired sets Required field to given value.

Expand All @@ -153,20 +153,20 @@ HasRequired returns a boolean if a field has been set.
UnsetRequired ensures that no value is present for Required, not even an explicit nil
### GetIgnored

`func (o *ReleaseProfileResource) GetIgnored() interface{}`
`func (o *ReleaseProfileResource) GetIgnored() []string`

GetIgnored returns the Ignored field if non-nil, zero value otherwise.

### GetIgnoredOk

`func (o *ReleaseProfileResource) GetIgnoredOk() (*interface{}, bool)`
`func (o *ReleaseProfileResource) GetIgnoredOk() (*[]string, bool)`

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

### SetIgnored

`func (o *ReleaseProfileResource) SetIgnored(v interface{})`
`func (o *ReleaseProfileResource) SetIgnored(v []string)`

SetIgnored sets Ignored field to given value.

Expand Down
28 changes: 14 additions & 14 deletions sonarr/model_release_profile_resource.go

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

0 comments on commit 391a45b

Please sign in to comment.