public final class Permissions
extends java.lang.Object
Constructor and Description |
---|
Permissions() |
Modifier and Type | Method and Description |
---|---|
java.util.List<DeviceIdentityPermission> |
getDeviceIdentities() |
java.util.List<PartnerIdentityPermission> |
getPartnerIdentities() |
java.util.List<UserIdentityPermission> |
getUserIdentities() |
boolean |
isAllowAccessDeviceApplicationStamp() |
boolean |
isAllowAccessHttpUserAgent()
Setting this will allow a partner to receive the HTTP user agent as a part of a runtime environment.
|
boolean |
isAllowAccessIpAddress() |
boolean |
isAllowAccessLocation() |
boolean |
isAllowAccessMpid()
Setting for allowing for an MPID to be forwarded as a part of the user profile.
|
boolean |
isAllowAudienceUserAttributeSharing() |
boolean |
isAllowConsentState() |
boolean |
isAllowDeviceInformation() |
boolean |
isAllowUserAttributes() |
Permissions |
setAllowAccessDeviceApplicationStamp(boolean allowAccessDeviceApplicationStamp)
Request access to the "device application stamp" for this event data.
|
Permissions |
setAllowAccessHttpUserAgent(boolean allowAccessHttpUserAgent)
Setting this will allow a partner to receive the HTTP user agent as a part of a runtime environment.
|
Permissions |
setAllowAccessIpAddress(boolean allowAccessIpAddress)
Request access to the IP address that sent this event data.
|
Permissions |
setAllowAccessLocation(boolean allowAccessLocation) |
Permissions |
setAllowAccessMpid(boolean allowAccessMpid)
Setting this will allow a partner to get an MPID as a part of the user profile.
|
Permissions |
setAllowAudienceUserAttributeSharing(boolean allowAudienceUserAttributeSharing)
Setting this will allow a partner to receive audience user attribute updates.
|
Permissions |
setAllowConsentState(boolean allowConsentState)
Setting this will allow a partner to receive the consent state of the mParticle user profile
to which this request pertains.
|
Permissions |
setAllowDeviceInformation(boolean allowDeviceInformation)
Request access to device information
|
Permissions |
setAllowUserAttributes(boolean allowUserAttributes)
Request access to user attributes
Disabling this will also disable UserAttributeChange events
|
Permissions |
setDeviceIdentities(java.util.List<DeviceIdentityPermission> deviceIdentities) |
Permissions |
setPartnerIdentities(java.util.List<PartnerIdentityPermission> partnerIdentities) |
Permissions |
setUserIdentities(java.util.List<UserIdentityPermission> userIdentities) |
public java.util.List<PartnerIdentityPermission> getPartnerIdentities()
public Permissions setPartnerIdentities(java.util.List<PartnerIdentityPermission> partnerIdentities)
partnerIdentities
- requested partner identitiespublic java.util.List<DeviceIdentityPermission> getDeviceIdentities()
public Permissions setDeviceIdentities(java.util.List<DeviceIdentityPermission> deviceIdentities)
deviceIdentities
- requested device identitiespublic java.util.List<UserIdentityPermission> getUserIdentities()
public Permissions setUserIdentities(java.util.List<UserIdentityPermission> userIdentities)
userIdentities
- requested user identitiespublic boolean isAllowAccessLocation()
public Permissions setAllowAccessLocation(boolean allowAccessLocation)
allowAccessLocation
- public boolean isAllowAccessIpAddress()
public Permissions setAllowAccessIpAddress(boolean allowAccessIpAddress)
allowAccessIpAddress
- RuntimeEnvironment.getClientIpAddress()
public boolean isAllowAccessDeviceApplicationStamp()
public Permissions setAllowAccessDeviceApplicationStamp(boolean allowAccessDeviceApplicationStamp)
allowAccessDeviceApplicationStamp
- EventProcessingRequest.getDeviceApplicationStamp()
public boolean isAllowDeviceInformation()
public Permissions setAllowDeviceInformation(boolean allowDeviceInformation)
allowDeviceInformation
- public boolean isAllowUserAttributes()
public Permissions setAllowUserAttributes(boolean allowUserAttributes)
allowUserAttributes
- public boolean isAllowConsentState()
public Permissions setAllowConsentState(boolean allowConsentState)
allowConsentState
- public boolean isAllowAudienceUserAttributeSharing()
public Permissions setAllowAudienceUserAttributeSharing(boolean allowAudienceUserAttributeSharing)
allowAudienceUserAttributeSharing
- public boolean isAllowAccessMpid()
public Permissions setAllowAccessMpid(boolean allowAccessMpid)
allowAccessMpid
- public boolean isAllowAccessHttpUserAgent()
public Permissions setAllowAccessHttpUserAgent(boolean allowAccessHttpUserAgent)
allowAccessHttpUserAgent
-