func NewSetMonitoringLevelRequest(severity int) *SetMonitoringLevelRequest {
	return &SetMonitoringLevelRequest{Severity: severity}
}
Creates a new SetMonitoringLevelRequest, containing all required fields. There are no optional fields for this message.
package diagnostics
import (
	"reflect"
	"github.com/lorenzodonini/ocpp-go/ocpp2.0.1/types"
)
const SetMonitoringLevelFeatureName = "SetMonitoringLevel"
type SetMonitoringLevelRequest struct {
	Severity int `json:"severity" validate:"min=0,max=9"`
}
type SetMonitoringLevelResponse struct {
	Status     types.GenericDeviceModelStatus `json:"status" validate:"required,genericDeviceModelStatus"`  
	StatusInfo *types.StatusInfo              `json:"statusInfo,omitempty" validate:"omitempty"`            
}
type SetMonitoringLevelFeature struct{}
func (f SetMonitoringLevelFeature) GetFeatureName() string {
	return SetMonitoringLevelFeatureName
}
func (f SetMonitoringLevelFeature) GetRequestType() reflect.Type {
	return reflect.TypeOf(SetMonitoringLevelRequest{})
}
func (f SetMonitoringLevelFeature) GetResponseType() reflect.Type {
	return reflect.TypeOf(SetMonitoringLevelResponse{})
}
func (r SetMonitoringLevelRequest) GetFeatureName() string {
	return SetMonitoringLevelFeatureName
}
func (c SetMonitoringLevelResponse) GetFeatureName() string {
	return SetMonitoringLevelFeatureName
}