ServiceInterfaces Property | Description | Items Property | Items Property Description |
---|---|---|---|
Name | Name of Service Interface |
|
|
Events | List of events associated with the service | Name | Name of the event |
TypeRef | Reference to the data type of the event | ||
Fields | List of fields of the service | Name | Name of the field |
TypeRef | Reference to the data type of the field | ||
HasGetter | Indicates if the field has a getter function | ||
HasSetter | Indicates if the field has a setter function | ||
HasNotifier | Indicates if the field has a notifier event | ||
Methods | List of methods of the service | Name | Name of the method |
IsFireAndForget | Indicates if the method is a FireAndForget type | ||
Parameters | List of parameters for the method |
Parameters Items Property | Description | Allowed Values |
---|---|---|
Name | Name of parameter |
|
TypeRef | Reference to the data type of the parameter |
|
Direction | Direction of the parameter | IN, OUT, INOUT |
Example Configuration
"ServiceConfig": {
"ServiceInterfaces": [
{
"Name": "ExampleService",
"Events": [
{
"Name": "ExampleOverLimitEvent",
"TypeRef": "OverLimitEnum"
}
]
}
]
},