public void setField(string keyName, object value)
        {
            if (this.fields == null)
            {
                this.fields = new avlist.AVListImpl();
            }

            this.fields.setValue(keyName, value);
        }
        public void setFields(System.Collections.Generic.IDictionary <string, object> newFields)
        {
            if (this.fields == null)
            {
                this.fields = new avlist.AVListImpl();
            }

            foreach (var pair in newFields)
            {
                this.setField(pair.Key, pair.Value);
            }
        }