// FromConfig create the struct representation of a step creating a folder
FromConfig create the struct representation of a step creating a folder
// FromConfig create the struct representation of a step creating a folder
func (createFolder *CreateFolder) FromConfig(configYaml map[string]interface{}) error {
	createFolder.Kind = KindCreateFolder
	if description, ok := configYaml["Description"]; ok {
		createFolder.Description = description.(string)
	}
	preferencesYaml := configYaml["Preferences"].(map[string]interface{})
	createFolder.Path = preferencesYaml["Path"].(string)
	return nil
}
func ( createFolder * CreateFolder ) FromConfig ( configYaml map [ string ] interface { } ) error { createFolder . Kind = KindCreateFolder if description , ok := configYaml [ " " ] ; ok { createFolder . Description = description . ( string ) } preferencesYaml := configYaml [ " " ] . ( map [ string ] interface { } ) createFolder . Path = preferencesYaml [ " " ] . ( string ) return nil }
FromConfig create the struct representation of a step creating a folder
FromConfig create the struct representation of a step creating a folder