// ValueForAttribute returns the value for the given attribute.
// This is a very advanced function that you should not need but in some
// very specific use cases.
ValueForAttribute returns the value for the given attribute.
This is a very advanced function that you should not need but in some
very specific use cases.
// ValueForAttribute returns the value for the given attribute . // This is a very advanced function that you should not need but in some // very specific use cases .
func (o *Search) ValueForAttribute(name string) interface{} {
	switch name {
	case "object":
		return o.Object
	case "objectID":
		return o.ObjectID
	case "objectIdentity":
		return o.ObjectIdentity
	case "objectNamespace":
		return o.ObjectNamespace
	case "score":
		return o.Score
	}
	return nil
}
func ( o * Search ) ValueForAttribute ( name string ) interface { } { switch name { case " " : return o . Object case " " : return o . ObjectID case " " : return o . ObjectIdentity case " " : return o . ObjectNamespace case " " : return o . Score } return nil }
ValueForAttribute returns the value for the given attribute.
ValueForAttribute returns the value for the given attribute .