// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type ModbusExceptionResponse struct {
	ExceptionFunction *int `json:"exception_function,omitempty"`
	ExceptionType     *int `json:"exception_type,omitempty"`
}

func (o *ModbusExceptionResponse) GetExceptionFunction() *int {
	if o == nil {
		return nil
	}
	return o.ExceptionFunction
}

func (o *ModbusExceptionResponse) GetExceptionType() *int {
	if o == nil {
		return nil
	}
	return o.ExceptionType
}
