()
| 372 | } |
| 373 | |
| 374 | func (p *CopyIsoParams) toURLValues() url.Values { |
| 375 | u := url.Values{} |
| 376 | if p.p == nil { |
| 377 | return u |
| 378 | } |
| 379 | if v, found := p.p["destzoneid"]; found { |
| 380 | u.Set("destzoneid", v.(string)) |
| 381 | } |
| 382 | if v, found := p.p["destzoneids"]; found { |
| 383 | vv := strings.Join(v.([]string), ",") |
| 384 | u.Set("destzoneids", vv) |
| 385 | } |
| 386 | if v, found := p.p["id"]; found { |
| 387 | u.Set("id", v.(string)) |
| 388 | } |
| 389 | if v, found := p.p["sourcezoneid"]; found { |
| 390 | u.Set("sourcezoneid", v.(string)) |
| 391 | } |
| 392 | return u |
| 393 | } |
| 394 | |
| 395 | func (p *CopyIsoParams) SetDestzoneid(v string) { |
| 396 | if p.p == nil { |
no outgoing calls
no test coverage detected