func (w *Wrapper) UpdateCompoundService(ctx context.Context, request UpdateCompoundServiceRequestObject) (UpdateCompoundServiceResponseObject, error) {
    if request.Body.Type != "" && request.Body.Type != request.Type {
        return nil, core.InvalidInputError("updating compound service type is not supported")
    }
    request.Body.Type = request.Type