code: func NewCodebaseContentFromValue(value interface{}) (*Content, error) {
  	if value == nil {
  		return nil, nil
  	}
  	switch value.(type) {
  	case Content:
  		result := value.(Content)
  		return &result, nil
  	case map[string]interface{}:
  		result, err := NewCodebaseContent(value.(map[string]interface{}))
  		if err != nil {
  			return nil, err
  		}
  		return &result, nil
  	default:
  		return nil, nil
  	}
  }
docs: // NewCodebaseContentFromValue builds Content from interface{}