func (attr *Attribute) Name() string {
	return attr.name
}
Name returns the name of the attribute.
package spec
import (
	"encoding/json"
	"fmt"
	"github.com/imulab/go-scim/pkg/v2/annotation"
	"github.com/imulab/go-scim/pkg/v2/spec/internal"
	"reflect"
	"sort"
	"strings"
)
type Attribute struct {
	name            string
	description     string
	typ             Type
	subAttributes   []*Attribute
	canonicalValues []string
	multiValued     bool
	required        bool
	caseExact       bool
	mutability      Mutability
	returned        Returned
	uniqueness      Uniqueness
	referenceTypes  []string
	id              string                             
	index           int                                
	path            string                             
	annotations     map[string]map[string]interface{}  
}
func (attr *Attribute) ID() string {
	return attr.id
}
func (attr *Attribute) Path() string {
	return attr.path
}