github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/networking/v2/bandwidths/urls.go (about) 1 package bandwidths 2 3 import "github.com/huaweicloud/golangsdk" 4 5 func PostURL(c *golangsdk.ServiceClient) string { 6 return c.ServiceURL(c.ProjectID, "bandwidths") 7 } 8 9 func BatchPostURL(c *golangsdk.ServiceClient) string { 10 return c.ServiceURL(c.ProjectID, "batch-bandwidths") 11 } 12 func UpdateURL(c *golangsdk.ServiceClient, ID string) string { 13 return c.ServiceURL(c.ProjectID, "bandwidths", ID) 14 } 15 16 func DeleteURL(c *golangsdk.ServiceClient, ID string) string { 17 return c.ServiceURL(c.ProjectID, "bandwidths", ID) 18 } 19 20 func InsertURL(c *golangsdk.ServiceClient, ID string) string { 21 return c.ServiceURL(c.ProjectID, "bandwidths", ID, "insert") 22 } 23 24 func RemoveURL(c *golangsdk.ServiceClient, ID string) string { 25 return c.ServiceURL(c.ProjectID, "bandwidths", ID, "remove") 26 }