code: func NewCodebaseContent(value map[string]interface{}) (Content, error) {
  	cb := Content{}
  	validKeys := []string{RepositoryKey, BranchKey, FileNameKey,
  		LineNumberKey, CodebaseIDKey}
  	for _, key := range validKeys {
  		if v, ok := value[key]; ok {
  			switch key {
  			case RepositoryKey:
  				cb.Repository = v.(string)
  			case BranchKey:
  				cb.Branch = v.(string)
  			case FileNameKey:
  				cb.FileName = v.(string)
  			case CodebaseIDKey:
  				cb.CodebaseID = v.(string)
  			case LineNumberKey:
  				switch v.(type) {
  				case int:
  					cb.LineNumber = v.(int)
  				case float64:
  					y := v.(float64)
  					cb.LineNumber = int(y)
  				}
  			}
  		}
  	}
  	err := cb.IsValid()
  
  	return cb, err
  }
docs: // NewCodebaseContent builds Content instance from input Map.