func (a AuditFilePermissions) Validate(attribute string) error {

	enums := []string{
		string(AuditFilePermissionsWrite),
		string(AuditFilePermissionsRead),
		string(AuditFilePermissionsExecute),
		string(AuditFilePermissionsAttribute),
	}

	return elemental.ValidateStringInList(attribute, string(a), enums, false)
}
// Validate validates the audit file permissions
Validate validates the audit file permissions
// Validate validates the audit file permissions
func (a AuditFilePermissions) Validate(attribute string) error {
	enums := []string{
		string(AuditFilePermissionsWrite),
		string(AuditFilePermissionsRead),
		string(AuditFilePermissionsExecute),
		string(AuditFilePermissionsAttribute),
	}
	return elemental.ValidateStringInList(attribute, string(a), enums, false)
}
func ( a AuditFilePermissions ) Validate ( attribute string ) error { enums := [ ] string { string ( AuditFilePermissionsWrite ) , string ( AuditFilePermissionsRead ) , string ( AuditFilePermissionsExecute ) , string ( AuditFilePermissionsAttribute ) , } return elemental . ValidateStringInList ( attribute , string ( a ) , enums , false ) }
Validate validates the audit file permissions
Validate validates the audit file permissions