package com.mparticle.sdk.model.registration;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

public final class AccessPermissions {

    @JsonProperty("device_identity_access_list")
    private List<DeviceIdentityAccessPermission> deviceIdentityAccessList;

    @JsonProperty("user_identity_access_list")
    private List<UserIdentityAccessPermission> userIdentityAccessList;

    @JsonProperty("allow_access_location")
    private boolean allowAccessLocation;

    public List<DeviceIdentityAccessPermission> getDeviceIdentityAccessList() {
        return deviceIdentityAccessList;
    }

    public void setDeviceIdentityAccessList(List<DeviceIdentityAccessPermission> deviceIdentityAccessList) {
        this.deviceIdentityAccessList = deviceIdentityAccessList;
    }

    public List<UserIdentityAccessPermission> getUserIdentityAccessList() {
        return userIdentityAccessList;
    }

    public void setUserIdentityAccessList(List<UserIdentityAccessPermission> userIdentityAccessList) {
        this.userIdentityAccessList = userIdentityAccessList;
    }

    public boolean isAllowAccessLocation() {
        return allowAccessLocation;
    }

    public void setAllowAccessLocation(boolean allowAccessLocation) {
        this.allowAccessLocation = allowAccessLocation;
    }
}

@@ -40,16 +40,69 @@
 ation;%0A%0A
+import com.fasterxml.jackson.annotation.JsonInclude;%0A
 import c
@@ -498,16 +498,66 @@
 ation%22)%0A
+    @JsonInclude(JsonInclude.Include.NON_DEFAULT)%0A
     priv

access permission serialization tweaks