func (o *EzDeployApiserverAPI) Validate() error {
	var unregistered []string

	if o.JSONConsumer == nil {
		unregistered = append(unregistered, "JSONConsumer")
	}

	if o.JSONProducer == nil {
		unregistered = append(unregistered, "JSONProducer")
	}

	if o.KeyAuth == nil {
		unregistered = append(unregistered, "XEZDEOPLYAPIKEYAuth")
	}

	if o.AuthorityOpsAuthorityOpsDeleteAuthoritiesHandler == nil {
		unregistered = append(unregistered, "authority_ops.AuthorityOpsDeleteAuthoritiesHandler")
	}
	if o.AuthorityOpsAuthorityOpsListAuthoritiesByIdentityHandler == nil {
		unregistered = append(unregistered, "authority_ops.AuthorityOpsListAuthoritiesByIdentityHandler")
	}
	if o.AuthorityOpsAuthorityOpsListAuthoritiesByResourceHandler == nil {
		unregistered = append(unregistered, "authority_ops.AuthorityOpsListAuthoritiesByResourceHandler")
	}
	if o.AuthorityOpsAuthorityOpsSetAuthoritiesHandler == nil {
		unregistered = append(unregistered, "authority_ops.AuthorityOpsSetAuthoritiesHandler")
	}
	if o.IdentityOpsIdentityOpsDeletePublicTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsDeletePublicTokenHandler")
	}
	if o.IdentityOpsIdentityOpsGeneratePublicTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsGeneratePublicTokenHandler")
	}
	if o.IdentityOpsIdentityOpsGetPrivateTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsGetPrivateTokenHandler")
	}
	if o.IdentityOpsIdentityOpsListPublicTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsListPublicTokenHandler")
	}
	if o.IdentityOpsIdentityOpsLoginHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsLoginHandler")
	}
	if o.IdentityOpsIdentityOpsReGeneratePrivateTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsReGeneratePrivateTokenHandler")
	}
	if o.IdentityOpsIdentityOpsRegisterHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsRegisterHandler")
	}
	if o.IdentityOpsIdentityOpsVerifyHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsVerifyHandler")
	}
	if o.ProjectOpsProjectOpsCreateProjectHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsCreateProjectHandler")
	}
	if o.ProjectOpsProjectOpsDeleteProjectHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsDeleteProjectHandler")
	}
	if o.ProjectOpsProjectOpsDeleteServiceHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsDeleteServiceHandler")
	}
	if o.ProjectOpsProjectOpsGetServiceHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsGetServiceHandler")
	}
	if o.ProjectOpsProjectOpsListHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsListHandler")
	}
	if o.ProjectOpsProjectOpsListPodsHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsListPodsHandler")
	}
	if o.ProjectOpsProjectOpsListServiceHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsListServiceHandler")
	}
	if o.ProjectOpsProjectOpsSetServiceHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsSetServiceHandler")
	}

	if len(unregistered) > 0 {
		return fmt.Errorf("missing registration: %s", strings.Join(unregistered, ", "))
	}

	return nil
}
// Validate validates the registrations in the EzDeployApiserverAPI
Validate validates the registrations in the EzDeployApiserverAPI
// Validate validates the registrations in the EzDeployApiserverAPI
func (o *EzDeployApiserverAPI) Validate() error {
	var unregistered []string
	if o.JSONConsumer == nil {
		unregistered = append(unregistered, "JSONConsumer")
	}
	if o.JSONProducer == nil {
		unregistered = append(unregistered, "JSONProducer")
	}
	if o.KeyAuth == nil {
		unregistered = append(unregistered, "XEZDEOPLYAPIKEYAuth")
	}
	if o.AuthorityOpsAuthorityOpsDeleteAuthoritiesHandler == nil {
		unregistered = append(unregistered, "authority_ops.AuthorityOpsDeleteAuthoritiesHandler")
	}
	if o.AuthorityOpsAuthorityOpsListAuthoritiesByIdentityHandler == nil {
		unregistered = append(unregistered, "authority_ops.AuthorityOpsListAuthoritiesByIdentityHandler")
	}
	if o.AuthorityOpsAuthorityOpsListAuthoritiesByResourceHandler == nil {
		unregistered = append(unregistered, "authority_ops.AuthorityOpsListAuthoritiesByResourceHandler")
	}
	if o.AuthorityOpsAuthorityOpsSetAuthoritiesHandler == nil {
		unregistered = append(unregistered, "authority_ops.AuthorityOpsSetAuthoritiesHandler")
	}
	if o.IdentityOpsIdentityOpsDeletePublicTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsDeletePublicTokenHandler")
	}
	if o.IdentityOpsIdentityOpsGeneratePublicTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsGeneratePublicTokenHandler")
	}
	if o.IdentityOpsIdentityOpsGetPrivateTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsGetPrivateTokenHandler")
	}
	if o.IdentityOpsIdentityOpsListPublicTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsListPublicTokenHandler")
	}
	if o.IdentityOpsIdentityOpsLoginHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsLoginHandler")
	}
	if o.IdentityOpsIdentityOpsReGeneratePrivateTokenHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsReGeneratePrivateTokenHandler")
	}
	if o.IdentityOpsIdentityOpsRegisterHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsRegisterHandler")
	}
	if o.IdentityOpsIdentityOpsVerifyHandler == nil {
		unregistered = append(unregistered, "identity_ops.IdentityOpsVerifyHandler")
	}
	if o.ProjectOpsProjectOpsCreateProjectHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsCreateProjectHandler")
	}
	if o.ProjectOpsProjectOpsDeleteProjectHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsDeleteProjectHandler")
	}
	if o.ProjectOpsProjectOpsDeleteServiceHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsDeleteServiceHandler")
	}
	if o.ProjectOpsProjectOpsGetServiceHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsGetServiceHandler")
	}
	if o.ProjectOpsProjectOpsListHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsListHandler")
	}
	if o.ProjectOpsProjectOpsListPodsHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsListPodsHandler")
	}
	if o.ProjectOpsProjectOpsListServiceHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsListServiceHandler")
	}
	if o.ProjectOpsProjectOpsSetServiceHandler == nil {
		unregistered = append(unregistered, "project_ops.ProjectOpsSetServiceHandler")
	}
	if len(unregistered) > 0 {
		return fmt.Errorf("missing registration: %s", strings.Join(unregistered, ", "))
	}
	return nil
}
func ( o * EzDeployApiserverAPI ) Validate ( ) error { var unregistered [ ] string if o . JSONConsumer == nil { unregistered = append ( unregistered , " " ) } if o . JSONProducer == nil { unregistered = append ( unregistered , " " ) } if o . KeyAuth == nil { unregistered = append ( unregistered , " " ) } if o . AuthorityOpsAuthorityOpsDeleteAuthoritiesHandler == nil { unregistered = append ( unregistered , " " ) } if o . AuthorityOpsAuthorityOpsListAuthoritiesByIdentityHandler == nil { unregistered = append ( unregistered , " " ) } if o . AuthorityOpsAuthorityOpsListAuthoritiesByResourceHandler == nil { unregistered = append ( unregistered , " " ) } if o . AuthorityOpsAuthorityOpsSetAuthoritiesHandler == nil { unregistered = append ( unregistered , " " ) } if o . IdentityOpsIdentityOpsDeletePublicTokenHandler == nil { unregistered = append ( unregistered , " " ) } if o . IdentityOpsIdentityOpsGeneratePublicTokenHandler == nil { unregistered = append ( unregistered , " " ) } if o . IdentityOpsIdentityOpsGetPrivateTokenHandler == nil { unregistered = append ( unregistered , " " ) } if o . IdentityOpsIdentityOpsListPublicTokenHandler == nil { unregistered = append ( unregistered , " " ) } if o . IdentityOpsIdentityOpsLoginHandler == nil { unregistered = append ( unregistered , " " ) } if o . IdentityOpsIdentityOpsReGeneratePrivateTokenHandler == nil { unregistered = append ( unregistered , " " ) } if o . IdentityOpsIdentityOpsRegisterHandler == nil { unregistered = append ( unregistered , " " ) } if o . IdentityOpsIdentityOpsVerifyHandler == nil { unregistered = append ( unregistered , " " ) } if o . ProjectOpsProjectOpsCreateProjectHandler == nil { unregistered = append ( unregistered , " " ) } if o . ProjectOpsProjectOpsDeleteProjectHandler == nil { unregistered = append ( unregistered , " " ) } if o . ProjectOpsProjectOpsDeleteServiceHandler == nil { unregistered = append ( unregistered , " " ) } if o . ProjectOpsProjectOpsGetServiceHandler == nil { unregistered = append ( unregistered , " " ) } if o . ProjectOpsProjectOpsListHandler == nil { unregistered = append ( unregistered , " " ) } if o . ProjectOpsProjectOpsListPodsHandler == nil { unregistered = append ( unregistered , " " ) } if o . ProjectOpsProjectOpsListServiceHandler == nil { unregistered = append ( unregistered , " " ) } if o . ProjectOpsProjectOpsSetServiceHandler == nil { unregistered = append ( unregistered , " " ) } if len ( unregistered ) > 0 { return fmt . Errorf ( " " , strings . Join ( unregistered , " " ) ) } return nil }
Validate validates the registrations in the EzDeployApiserverAPI
Validate validates the registrations in the EzDeployApiserverAPI