Skip to content

Commit

Permalink
feat: add recreation field to parental control
Browse files Browse the repository at this point in the history
  • Loading branch information
amalucelli committed Dec 27, 2022
1 parent 07e9fa0 commit cb5e9eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions nextdns/parentalcontrol_categories.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ const parentalControlCategoriesAPIPath = "parentalControl/categories"

// ParentalControlCategories represents the parental control categories of a profile.
type ParentalControlCategories struct {
ID string `json:"id,omitempty"`
Active bool `json:"active"`
ID string `json:"id,omitempty"`
Active bool `json:"active"`
Recreation bool `json:"recreation"`
}

// CreateParentalControlCategoriesRequest encapsulates the request for creating a parental control categories list.
Expand Down
5 changes: 3 additions & 2 deletions nextdns/parentalcontrol_services.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ const parentalControlServicesAPIPath = "parentalControl/services"

// ParentalControlServices represents the parental control services of a profile.
type ParentalControlServices struct {
ID string `json:"id,omitempty"`
Active bool `json:"active"`
ID string `json:"id,omitempty"`
Active bool `json:"active"`
Recreation bool `json:"recreation"`
}

// CreateParentalControlServicesRequest encapsulates the request for creating a parental control services list.
Expand Down

0 comments on commit cb5e9eb

Please sign in to comment.