Class LastModifiedByImpl
java.lang.Object
com.commercetools.api.models.common.LastModifiedByImpl
- All Implemented Interfaces:
ClientLogging
,LastModifiedBy
,io.vrap.rmf.base.client.ModelBase
public class LastModifiedByImpl
extends Object
implements LastModifiedBy, io.vrap.rmf.base.client.ModelBase
Present on resources modified after 1 February 2019 except for events not tracked.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates the anonymous session during which the resource was modified.id
of the APIClient which modified 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 the anonymous session during which the resource was modified.void
setClientId
(String clientId) id
of the APIClient which modified 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 com.commercetools.api.models.common.LastModifiedBy
withLastModifiedBy
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
LastModifiedByImpl
public LastModifiedByImpl()create empty instance
-
-
Method Details
-
getClientId
id
of the APIClient which modified the resource.- Specified by:
getClientId
in interfaceClientLogging
- Specified by:
getClientId
in interfaceLastModifiedBy
- Returns:
- clientId
-
getExternalUserId
External user ID provided by
X-External-User-ID
HTTP Header.- Specified by:
getExternalUserId
in interfaceClientLogging
- Specified by:
getExternalUserId
in interfaceLastModifiedBy
- Returns:
- externalUserId
-
getCustomer
Indicates the Customer who modified the resource using a token from the password flow.
- Specified by:
getCustomer
in interfaceClientLogging
- Specified by:
getCustomer
in interfaceLastModifiedBy
- Returns:
- customer
-
getAnonymousId
Indicates the anonymous session during which the resource was modified.
- Specified by:
getAnonymousId
in interfaceClientLogging
- Specified by:
getAnonymousId
in interfaceLastModifiedBy
- Returns:
- anonymousId
-
setClientId
Description copied from interface:LastModifiedBy
id
of the APIClient which modified the resource.- Specified by:
setClientId
in interfaceClientLogging
- Specified by:
setClientId
in interfaceLastModifiedBy
- Parameters:
clientId
- value to be set
-
setExternalUserId
Description copied from interface:LastModifiedBy
External user ID provided by
X-External-User-ID
HTTP Header.- Specified by:
setExternalUserId
in interfaceClientLogging
- Specified by:
setExternalUserId
in interfaceLastModifiedBy
- Parameters:
externalUserId
- value to be set
-
setCustomer
Description copied from interface:LastModifiedBy
Indicates the Customer who modified the resource using a token from the password flow.
- Specified by:
setCustomer
in interfaceClientLogging
- Specified by:
setCustomer
in interfaceLastModifiedBy
- Parameters:
customer
- value to be set
-
setAnonymousId
Description copied from interface:LastModifiedBy
Indicates the anonymous session during which the resource was modified.
- Specified by:
setAnonymousId
in interfaceClientLogging
- Specified by:
setAnonymousId
in interfaceLastModifiedBy
- Parameters:
anonymousId
- value to be set
-
equals
-
hashCode
-