<commit_before>package org.ovirt.engine.core.common.action;

import org.ovirt.engine.core.common.businessentities.Snapshot;
import org.ovirt.engine.core.common.businessentities.storage.CinderDisk;
import org.ovirt.engine.core.compat.Guid;

public class RestoreFromSnapshotParameters extends ImagesContainterParametersBase {

    private static final long serialVersionUID = 7601780627830362597L;
    private boolean removeParent;
    private Snapshot snapshot;
    private CinderDisk cinderDiskToBeRemoved;

    private Guid removedSnapshotId;

    public RestoreFromSnapshotParameters() {
    }

    public RestoreFromSnapshotParameters(Guid imageId,
            Guid containerId,
            Snapshot snapshot,
            Guid removedSnapshotId) {
        super(imageId, containerId);

        this.snapshot = snapshot;
        this.removedSnapshotId = removedSnapshotId;
    }

    public CinderDisk getCinderDiskToBeRemoved() {
        return cinderDiskToBeRemoved;
    }

    public void setCinderDiskToBeRemoved(CinderDisk cinderDiskToBeRemoved) {
        this.cinderDiskToBeRemoved = cinderDiskToBeRemoved;
    }

    public Snapshot getSnapshot() {
        return snapshot;
    }

    public Guid getRemovedSnapshotId() {
        return removedSnapshotId;
    }

    public boolean isRemoveParent() {
        return removeParent;
    }

    public void setRemoveParent(boolean removeParent) {
        this.removeParent = removeParent;
    }
}<commit_msg>core: cleanup RestoreFromSnapshotParameters from Cinder.<commit_after>package org.ovirt.engine.core.common.action;

import org.ovirt.engine.core.common.businessentities.Snapshot;
import org.ovirt.engine.core.compat.Guid;

public class RestoreFromSnapshotParameters extends ImagesContainterParametersBase {

    private static final long serialVersionUID = 7601780627830362597L;
    private Snapshot snapshot;

    private Guid removedSnapshotId;

    public RestoreFromSnapshotParameters() {
    }

    public RestoreFromSnapshotParameters(Guid imageId,
            Guid containerId,
            Snapshot snapshot,
            Guid removedSnapshotId) {
        super(imageId, containerId);

        this.snapshot = snapshot;
        this.removedSnapshotId = removedSnapshotId;
    }

    public Snapshot getSnapshot() {
        return snapshot;
    }

    public Guid getRemovedSnapshotId() {
        return removedSnapshotId;
    }
}
{'fraction_non_alphanumeric': 0.06424697538589905, 'fraction_numerical': 0.015853149770546516, 'mean_word_length': 3.3679417122040074, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5147815', 'n_tokens_mistral': 680, 'n_tokens_neox': 633, 'n_words': 134}