/*
Name Return the name of a resource as it appears in the configuration file. The
format is the same as the ID of the resource in APIv3 */
Name Return the name of a resource as it appears in the configuration file. The
format is the same as the ID of the resource in APIv3
/ * Name Return the name of a resource as it appears in the configuration file . The format is the same as the ID of the resource in APIv3 * /
func (localCfg *Resource) Name() string {
	var result string
	if localCfg.OrganizationSlug != "" {
		result = fmt.Sprintf(
			"o:%s:p:%s:r:%s",
			localCfg.OrganizationSlug,
			localCfg.ProjectSlug,
			localCfg.ResourceSlug,
		)
	} else {
		result = fmt.Sprintf(
			"%s.%s",
			localCfg.ProjectSlug,
			localCfg.ResourceSlug,
		)
	}
	return result
}
func ( localCfg * Resource ) Name ( ) string { var result string if localCfg . OrganizationSlug != " " { result = fmt . Sprintf ( " " , localCfg . OrganizationSlug , localCfg . ProjectSlug , localCfg . ResourceSlug , ) } else { result = fmt . Sprintf ( " " , localCfg . ProjectSlug , localCfg . ResourceSlug , ) } return result }
Name Return the name of a resource as it appears in the configuration file.
Name Return the name of a resource as it appears in the configuration file .