func (o *CNSSuggestion) ValueForAttribute(name string) interface{} {

	switch name {
	case "needsOffsetUpdate":
		return o.NeedsOffsetUpdate
	case "offset":
		return o.Offset
	case "query":
		return o.Query
	case "suggestions":
		return o.Suggestions
	case "translate":
		return o.Translate
	case "valid":
		return o.Valid
	}

	return nil
}
// 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 *CNSSuggestion) ValueForAttribute(name string) interface{} {
	switch name {
	case "needsOffsetUpdate":
		return o.NeedsOffsetUpdate
	case "offset":
		return o.Offset
	case "query":
		return o.Query
	case "suggestions":
		return o.Suggestions
	case "translate":
		return o.Translate
	case "valid":
		return o.Valid
	}
	return nil
}
func ( o * CNSSuggestion ) ValueForAttribute ( name string ) interface { } { switch name { case " " : return o . NeedsOffsetUpdate case " " : return o . Offset case " " : return o . Query case " " : return o . Suggestions case " " : return o . Translate case " " : return o . Valid } return nil }
ValueForAttribute returns the value for the given attribute.
ValueForAttribute returns the value for the given attribute .