001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.data.oauth;
003
004public class OsmPrivileges {
005    private boolean allowWriteApi;
006    private boolean allowWriteGpx;
007    private boolean allowReadGpx;
008    private boolean allowReadPrefs;
009    private boolean allowWritePrefs;
010    private boolean allowModifyNotes;
011
012    public boolean isAllowWriteApi() {
013        return allowWriteApi;
014    }
015    public void setAllowWriteApi(boolean allowWriteApi) {
016        this.allowWriteApi = allowWriteApi;
017    }
018    public boolean isAllowWriteGpx() {
019        return allowWriteGpx;
020    }
021    public void setAllowWriteGpx(boolean allowWriteGpx) {
022        this.allowWriteGpx = allowWriteGpx;
023    }
024    public boolean isAllowReadGpx() {
025        return allowReadGpx;
026    }
027    public void setAllowReadGpx(boolean allowReadGpx) {
028        this.allowReadGpx = allowReadGpx;
029    }
030    public boolean isAllowReadPrefs() {
031        return allowReadPrefs;
032    }
033    public void setAllowReadPrefs(boolean allowReadPrefs) {
034        this.allowReadPrefs = allowReadPrefs;
035    }
036    public boolean isAllowWritePrefs() {
037        return allowWritePrefs;
038    }
039    public void setAllowWritePrefs(boolean allowWritePrefs) {
040        this.allowWritePrefs = allowWritePrefs;
041    }
042
043    public boolean isAllowModifyNotes() {
044        return allowModifyNotes;
045    }
046
047    public void setAllowModifyNotes(boolean allowModifyNotes) {
048        this.allowModifyNotes = allowModifyNotes;
049    }
050}