// WithBasePath sets the base path for this url builder, only required when it's different from the
// base path specified in the swagger spec.
// When the value of the base path is an empty string
979902
func (o *DeleteUserURL) WithBasePath(bp string) *DeleteUserURL {
	o.SetBasePath(bp)
	return o
}
591541
func PathWithinBase(fullPath, basePath string) bool {
	rel, err := filepath.Rel(basePath, fullPath)
	if err != nil {
		return false
	}
	if StartsWithBackstep(rel) {
		// Needed to escape the base path
		return false
	}
	return true
}
972779
func (o *GetLoginURL) WithBasePath(bp string) *GetLoginURL {
	o.SetBasePath(bp)
	return o
}
147366
func (o *PutEndpointIDURL) WithBasePath(bp string) *PutEndpointIDURL {
	o.SetBasePath(bp)
	return o
}
884398
func (o *PetUpdateURL) WithBasePath(bp string) *PetUpdateURL {
	o.SetBasePath(bp)
	return o
}
292730
func (o *AddOneURL) WithBasePath(bp string) *AddOneURL {
	o.SetBasePath(bp)
	return o
}
773391
func (o *GetConfigURL) WithBasePath(bp string) *GetConfigURL {
	o.SetBasePath(bp)
	return o
}
425826
func (o *UpdatePetURL) WithBasePath(bp string) *UpdatePetURL {
	o.SetBasePath(bp)
	return o
}
315038
func (o *DeleteServiceIDURL) WithBasePath(bp string) *DeleteServiceIDURL {
	o.SetBasePath(bp)
	return o
}
638254
func (o *GetItemsURL) WithBasePath(bp string) *GetItemsURL {
	o.SetBasePath(bp)
	return o
}
52132
func (o *LoginUserURL) WithBasePath(bp string) *LoginUserURL {
	o.SetBasePath(bp)
	return o
}
851353
func (o *CreateURL) WithBasePath(bp string) *CreateURL {
	o.SetBasePath(bp)
	return o
}
1219467
func (o *PostIPAMURL) WithBasePath(bp string) *PostIPAMURL {
	o.SetBasePath(bp)
	return o
}
756215
func (o *GetEndpointIDURL) WithBasePath(bp string) *GetEndpointIDURL {
	o.SetBasePath(bp)
	return o
}
183919
func (o *PatchConfigURL) WithBasePath(bp string) *PatchConfigURL {
	o.SetBasePath(bp)
	return o
}
531399
func (o *GetEndpointIDConfigURL) WithBasePath(bp string) *GetEndpointIDConfigURL {
	o.SetBasePath(bp)
	return o
}
404105
func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig {
	cfg.BasePath = basePath
	return cfg
}