We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d3247 commit 8df0422Copy full SHA for 8df0422
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/Service.inc
@@ -30,7 +30,11 @@ class Service extends Model {
30
write_only: true,
31
help_text: 'The action to perform against this service.',
32
);
33
- $this->name = new StringField(read_only: true, help_text: 'The internal name of the service.');
+ $this->name = new StringField(
34
+ unique: true,
35
+ read_only: true,
36
+ help_text: 'The internal name of the service.'
37
+ );
38
$this->description = new StringField(read_only: true, help_text: 'The full descriptive name of the service.');
39
$this->enabled = new BooleanField(
40
read_only: true,
0 commit comments