MCPcopy Index your code
hub / github.com/apache/cloudstack-go / UpdateIsoPermissions

Method UpdateIsoPermissions

cloudstack/ISOService.go:3739–3751  ·  view source on GitHub ↗

Updates ISO permissions

(p *UpdateIsoPermissionsParams)

Source from the content-addressed store, hash-verified

3737
3738// Updates ISO permissions
3739func (s *ISOService) UpdateIsoPermissions(p *UpdateIsoPermissionsParams) (*UpdateIsoPermissionsResponse, error) {
3740 resp, err := s.cs.newPostRequest("updateIsoPermissions", p.toURLValues())
3741 if err != nil {
3742 return nil, err
3743 }
3744
3745 var r UpdateIsoPermissionsResponse
3746 if err := json.Unmarshal(resp, &r); err != nil {
3747 return nil, err
3748 }
3749
3750 return &r, nil
3751}
3752
3753type UpdateIsoPermissionsResponse struct {
3754 Displaytext string `json:"displaytext"`

Callers

nothing calls this directly

Calls 2

newPostRequestMethod · 0.80
toURLValuesMethod · 0.45

Tested by

no test coverage detected