AddResultModel
This class represents the result of an addition operation, containing a single integer field. It serves as a data model for structured output, ensuring the result is validated as an integer.
Attributes
| Attribute | Type | Description |
|---|---|---|
| result | int | The integer sum resulting from the addition operation. |
Constructor
Signature
def AddResultModel(
result: int
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| result | int | The integer sum resulting from an addition operation to be encapsulated in the model |