// Validate validates the registrations in the WorkflowManagerAPI
Validate validates the registrations in the WorkflowManagerAPI
// Validate validates the registrations in the WorkflowManagerAPI
func (o *WorkflowManagerAPI) Validate() error {
	var unregistered []string
	if o.JSONConsumer == nil {
		unregistered = append(unregistered, "JSONConsumer")
	}
	if o.JSONProducer == nil {
		unregistered = append(unregistered, "JSONProducer")
	}
	if o.BasicAuth == nil {
		unregistered = append(unregistered, "Auth")
	}
	if o.CreateClusterDetailsHandler == nil {
		unregistered = append(unregistered, "CreateClusterDetailsHandler")
	}
	if o.CreateClusterDetailsForV2Handler == nil {
		unregistered = append(unregistered, "CreateClusterDetailsForV2Handler")
	}
	if o.GetClusterByIDHandler == nil {
		unregistered = append(unregistered, "GetClusterByIDHandler")
	}
	if o.GetClusterCheckinsHandler == nil {
		unregistered = append(unregistered, "GetClusterCheckinsHandler")
	}
	if o.GetClustersByAgeHandler == nil {
		unregistered = append(unregistered, "GetClustersByAgeHandler")
	}
	if o.GetClustersCountHandler == nil {
		unregistered = append(unregistered, "GetClustersCountHandler")
	}
	if o.GetComponentByNameHandler == nil {
		unregistered = append(unregistered, "GetComponentByNameHandler")
	}
	if o.GetComponentByReleaseHandler == nil {
		unregistered = append(unregistered, "GetComponentByReleaseHandler")
	}
	if o.GetComponentsByLatestReleaseHandler == nil {
		unregistered = append(unregistered, "GetComponentsByLatestReleaseHandler")
	}
	if o.GetComponentsByLatestReleaseForV2Handler == nil {
		unregistered = append(unregistered, "GetComponentsByLatestReleaseForV2Handler")
	}
	if o.GetDoctorInfoHandler == nil {
		unregistered = append(unregistered, "GetDoctorInfoHandler")
	}
	if o.GetPersistentClustersHandler == nil {
		unregistered = append(unregistered, "GetPersistentClustersHandler")
	}
	if o.PingHandler == nil {
		unregistered = append(unregistered, "PingHandler")
	}
	if o.PublishComponentReleaseHandler == nil {
		unregistered = append(unregistered, "PublishComponentReleaseHandler")
	}
	if o.PublishDoctorInfoHandler == nil {
		unregistered = append(unregistered, "PublishDoctorInfoHandler")
	}
	if len(unregistered) > 0 {
		return fmt.Errorf("missing registration: %s", strings.Join(unregistered, ", "))
	}
	return nil
}
func ( o * WorkflowManagerAPI ) Validate ( ) error { var unregistered [ ] string if o . JSONConsumer == nil { unregistered = append ( unregistered , " " ) } if o . JSONProducer == nil { unregistered = append ( unregistered , " " ) } if o . BasicAuth == nil { unregistered = append ( unregistered , " " ) } if o . CreateClusterDetailsHandler == nil { unregistered = append ( unregistered , " " ) } if o . CreateClusterDetailsForV2Handler == nil { unregistered = append ( unregistered , " " ) } if o . GetClusterByIDHandler == nil { unregistered = append ( unregistered , " " ) } if o . GetClusterCheckinsHandler == nil { unregistered = append ( unregistered , " " ) } if o . GetClustersByAgeHandler == nil { unregistered = append ( unregistered , " " ) } if o . GetClustersCountHandler == nil { unregistered = append ( unregistered , " " ) } if o . GetComponentByNameHandler == nil { unregistered = append ( unregistered , " " ) } if o . GetComponentByReleaseHandler == nil { unregistered = append ( unregistered , " " ) } if o . GetComponentsByLatestReleaseHandler == nil { unregistered = append ( unregistered , " " ) } if o . GetComponentsByLatestReleaseForV2Handler == nil { unregistered = append ( unregistered , " " ) } if o . GetDoctorInfoHandler == nil { unregistered = append ( unregistered , " " ) } if o . GetPersistentClustersHandler == nil { unregistered = append ( unregistered , " " ) } if o . PingHandler == nil { unregistered = append ( unregistered , " " ) } if o . PublishComponentReleaseHandler == nil { unregistered = append ( unregistered , " " ) } if o . PublishDoctorInfoHandler == nil { unregistered = append ( unregistered , " " ) } if len ( unregistered ) > 0 { return fmt . Errorf ( " " , strings . Join ( unregistered , " " ) ) } return nil }
Validate validates the registrations in the WorkflowManagerAPI
Validate validates the registrations in the WorkflowManagerAPI