Class ClientLoggingImpl
java.lang.Object
com.commercetools.api.models.common.ClientLoggingImpl
- All Implemented Interfaces:
ClientLogging
,io.vrap.rmf.base.client.ModelBase
public class ClientLoggingImpl
extends Object
implements ClientLogging, io.vrap.rmf.base.client.ModelBase
These objects represent information about which API Client created or modified a resource. For more information, see Client Logging.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates that the resource was modified during an anonymous session with the logged ID.id
of the APIClient which created the resource.Indicates the Customer who modified the resource using a token from the password flow.External user ID provided byX-External-User-ID
HTTP Header.int
hashCode()
void
setAnonymousId
(String anonymousId) Indicates that the resource was modified during an anonymous session with the logged ID.void
setClientId
(String clientId) id
of the APIClient which created the resource.void
setCustomer
(CustomerReference customer) Indicates the Customer who modified the resource using a token from the password flow.void
setExternalUserId
(String externalUserId) External user ID provided byX-External-User-ID
HTTP Header.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.ClientLogging
withClientLogging
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ClientLoggingImpl
public ClientLoggingImpl()create empty instance
-
-
Method Details
-
getClientId
id
of the APIClient which created the resource.- Specified by:
getClientId
in interfaceClientLogging
- Returns:
- clientId
-
getExternalUserId
External user ID provided by
X-External-User-ID
HTTP Header.- Specified by:
getExternalUserId
in interfaceClientLogging
- Returns:
- externalUserId
-
getCustomer
Indicates the Customer who modified the resource using a token from the password flow.
- Specified by:
getCustomer
in interfaceClientLogging
- Returns:
- customer
-
getAnonymousId
Indicates that the resource was modified during an anonymous session with the logged ID.
- Specified by:
getAnonymousId
in interfaceClientLogging
- Returns:
- anonymousId
-
setClientId
Description copied from interface:ClientLogging
id
of the APIClient which created the resource.- Specified by:
setClientId
in interfaceClientLogging
- Parameters:
clientId
- value to be set
-
setExternalUserId
Description copied from interface:ClientLogging
External user ID provided by
X-External-User-ID
HTTP Header.- Specified by:
setExternalUserId
in interfaceClientLogging
- Parameters:
externalUserId
- value to be set
-
setCustomer
Description copied from interface:ClientLogging
Indicates the Customer who modified the resource using a token from the password flow.
- Specified by:
setCustomer
in interfaceClientLogging
- Parameters:
customer
- value to be set
-
setAnonymousId
Description copied from interface:ClientLogging
Indicates that the resource was modified during an anonymous session with the logged ID.
- Specified by:
setAnonymousId
in interfaceClientLogging
- Parameters:
anonymousId
- value to be set
-
equals
-
hashCode
-