<commit_before>package mesosphere.marathon.client.model.v2;

import com.google.gson.annotations.SerializedName;
import mesosphere.marathon.client.utils.ModelUtils;

public class ExternalVolume extends Volume {

    @SerializedName("external")
    private ExternalVolumeInfo externalVolumeInfo;

    public ExternalVolume() {
        this.externalVolumeInfo = new ExternalVolumeInfo();
    }

    public ExternalVolumeInfo getExternalVolumeInfo() {
        return externalVolumeInfo;
    }

    public void setExternalVolumeInfo(ExternalVolumeInfo externalVolumeInfo) {
        this.externalVolumeInfo = externalVolumeInfo;
    }

    @Override
    public String toString() {
        return ModelUtils.toString(this);
    }

    class ExternalVolumeInfo {
        private String name;
        private Integer size;
        private String provider = "dvdi";
        private Options options;

        ExternalVolumeInfo() {
            this.options = new Options();
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public String getProvider() {
            return provider;
        }

        public void setProvider(String provider) {
            this.provider = provider;
        }

        public Options getOptions() {
            return options;
        }

        public void setOptions(Options options) {
            this.options = options;
        }
        @Override
        public String toString() {
            return ModelUtils.toString(this);
        }

        class Options {
            @SerializedName("dvdi/driver")
            private String driver;
            private Integer size;
            @SerializedName("IOPS")
            private Integer iops;
            private String volumeType;
            private String newFsType;
            private Boolean overwriteFs;

            public String getDriver() {
                return driver;
            }

            public void setDriver(String driver) {
                this.driver = driver;
            }

            public Integer getSize() {
                return size;
            }

            public void setSize(Integer size) {
                this.size = size;
            }

            public Integer getIops() {
                return iops;
            }

            public void setIops(Integer iops) {
                this.iops = iops;
            }

            public String getVolumeType() {
                return volumeType;
            }

            public void setVolumeType(String volumeType) {
                this.volumeType = volumeType;
            }

            public String getNewFsType() {
                return newFsType;
            }

            public void setNewFsType(String newFsType) {
                this.newFsType = newFsType;
            }

            public Boolean getOverwriteFs() {
                return overwriteFs;
            }

            public void setOverwriteFs(Boolean overwriteFs) {
                this.overwriteFs = overwriteFs;
            }
            @Override
            public String toString() {
                return ModelUtils.toString(this);
            }
        }
    }
}
<commit_msg>Convenience proxies for name, driver & provider setters<commit_after>package mesosphere.marathon.client.model.v2;

import com.google.gson.annotations.SerializedName;
import mesosphere.marathon.client.utils.ModelUtils;

public class ExternalVolume extends Volume {

    @SerializedName("external")
    private ExternalVolumeInfo externalVolumeInfo;


    public ExternalVolume() {
        this.externalVolumeInfo = new ExternalVolumeInfo();
    }

    public ExternalVolumeInfo getExternalVolumeInfo() {
        return externalVolumeInfo;
    }

    public void setExternalVolumeInfo(ExternalVolumeInfo externalVolumeInfo) {
        this.externalVolumeInfo = externalVolumeInfo;
    }

    public void setName(String name) {
        this.externalVolumeInfo.name = name;
    }

    public void setProvider(String provider) {
        this.externalVolumeInfo.provider = provider;
    }

    public void setDriver(String driver) {
        this.externalVolumeInfo.options.driver = driver;
    }

    @Override
    public String toString() {
        return ModelUtils.toString(this);
    }

    class ExternalVolumeInfo {
        private String name;
        private Integer size;
        private String provider = "dvdi";
        private Options options;

        ExternalVolumeInfo() {
            this.options = new Options();
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public String getProvider() {
            return provider;
        }

        public void setProvider(String provider) {
            this.provider = provider;
        }

        public Options getOptions() {
            return options;
        }

        public void setOptions(Options options) {
            this.options = options;
        }
        @Override
        public String toString() {
            return ModelUtils.toString(this);
        }

        class Options {
            @SerializedName("dvdi/driver")
            private String driver;
            private Integer size;
            @SerializedName("IOPS")
            private Integer iops;
            private String volumeType;
            private String newFsType;
            private Boolean overwriteFs;

            public String getDriver() {
                return driver;
            }

            public void setDriver(String driver) {
                this.driver = driver;
            }

            public Integer getSize() {
                return size;
            }

            public void setSize(Integer size) {
                this.size = size;
            }

            public Integer getIops() {
                return iops;
            }

            public void setIops(Integer iops) {
                this.iops = iops;
            }

            public String getVolumeType() {
                return volumeType;
            }

            public void setVolumeType(String volumeType) {
                this.volumeType = volumeType;
            }

            public String getNewFsType() {
                return newFsType;
            }

            public void setNewFsType(String newFsType) {
                this.newFsType = newFsType;
            }

            public Boolean getOverwriteFs() {
                return overwriteFs;
            }

            public void setOverwriteFs(Boolean overwriteFs) {
                this.overwriteFs = overwriteFs;
            }
            @Override
            public String toString() {
                return ModelUtils.toString(this);
            }
        }
    }
}

{'fraction_non_alphanumeric': 0.06806792873051225, 'fraction_numerical': 0.00027839643652561246, 'mean_word_length': 1.5157563025210083, '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': '2016174', 'n_tokens_mistral': 1784, 'n_tokens_neox': 1646, 'n_words': 424}