func NewCodebaseContentFromValue(value interface{}) (*CodebaseContent, error) {
	if value == nil {
		return nil, nil
	}
	switch value.(type) {
	case CodebaseContent:
		result := value.(CodebaseContent)
		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
	}
}
// NewCodebaseContentFromValue builds CodebaseContent from interface{}
NewCodebaseContentFromValue builds CodebaseContent from interface{}
// NewCodebaseContentFromValue builds CodebaseContent from interface {}
func NewCodebaseContentFromValue(value interface{}) (*CodebaseContent, error) {
	if value == nil {
		return nil, nil
	}
	switch value.(type) {
	case CodebaseContent:
		result := value.(CodebaseContent)
		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
	}
}
func NewCodebaseContentFromValue ( value interface { } ) ( * CodebaseContent , error ) { if value == nil { return nil , nil } switch value . ( type ) { case CodebaseContent : result := value . ( CodebaseContent ) 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 } }
NewCodebaseContentFromValue builds CodebaseContent from interface{}
NewCodebaseContentFromValue builds CodebaseContent from interface {}