Class ClientLoggingImpl
- All Implemented Interfaces:
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.Indicates the Customer who created or modified the resource in the context of a Business Unit.id
of the API Client 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
setAssociate
(CustomerReference associate) Indicates the Customer who created or modified the resource in the context of a Business Unit.void
setClientId
(String clientId) id
of the API Client 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 API Client 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
-
getAssociate
Indicates the Customer who created or modified the resource in the context of a Business Unit. Only present when an Associate acts on behalf of a company using the associate endpoints.
- Specified by:
getAssociate
in interfaceClientLogging
- Returns:
- associate
-
setClientId
Description copied from interface:ClientLogging
id
of the API Client 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
-
setAssociate
Description copied from interface:ClientLogging
Indicates the Customer who created or modified the resource in the context of a Business Unit. Only present when an Associate acts on behalf of a company using the associate endpoints.
- Specified by:
setAssociate
in interfaceClientLogging
- Parameters:
associate
- value to be set
-
equals
-
hashCode
-