Class AssociateRoleImpl
- All Implemented Interfaces:
AssociateRole
,BaseResource
,Identifiable<AssociateRole>
,io.vrap.rmf.base.client.ModelBase
-
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
Whether the AssociateRole can be assigned to an Associate by a buyer.Date and time (UTC) the AssociateRole was initially created.Present on resources created after 1 February 2019 except for events not tracked.Custom Fields for the AssociateRole.getId()
Unique identifier of the AssociateRole.getKey()
User-defined unique identifier of the AssociateRole.Date and time (UTC) the AssociateRole was last updated.Present on resources updated after 1 February 2019 except for events not tracked.getName()
Name of the AssociateRole.List of Permissions for the AssociateRole.Current version of the AssociateRole.int
hashCode()
void
setBuyerAssignable
(Boolean buyerAssignable) Whether the AssociateRole can be assigned to an Associate by a buyer.void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the AssociateRole was initially created.void
setCreatedBy
(CreatedBy createdBy) Present on resources created after 1 February 2019 except for events not tracked.void
setCustom
(CustomFields custom) Custom Fields for the AssociateRole.void
Unique identifier of the AssociateRole.void
User-defined unique identifier of the AssociateRole.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Date and time (UTC) the AssociateRole was last updated.void
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Present on resources updated after 1 February 2019 except for events not tracked.void
Name of the AssociateRole.void
setPermissions
(Permission... permissions) List of Permissions for the AssociateRole.void
setPermissions
(List<Permission> permissions) List of Permissions for the AssociateRole.void
setVersion
(Long version) Current version of the AssociateRole.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.associate_role.AssociateRole
withAssociateRole
Methods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AssociateRoleImpl
public AssociateRoleImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the AssociateRole.
- Specified by:
getId
in interfaceAssociateRole
- Specified by:
getId
in interfaceBaseResource
- Specified by:
getId
in interfaceIdentifiable<AssociateRole>
- Returns:
- id
-
getVersion
Current version of the AssociateRole.
- Specified by:
getVersion
in interfaceAssociateRole
- Specified by:
getVersion
in interfaceBaseResource
- Returns:
- version
-
getCreatedAt
Date and time (UTC) the AssociateRole was initially created.
- Specified by:
getCreatedAt
in interfaceAssociateRole
- Specified by:
getCreatedAt
in interfaceBaseResource
- Returns:
- createdAt
-
getLastModifiedAt
Date and time (UTC) the AssociateRole was last updated.
- Specified by:
getLastModifiedAt
in interfaceAssociateRole
- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Returns:
- lastModifiedAt
-
getLastModifiedBy
Present on resources updated after 1 February 2019 except for events not tracked.
- Specified by:
getLastModifiedBy
in interfaceAssociateRole
- Returns:
- lastModifiedBy
-
getCreatedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getCreatedBy
in interfaceAssociateRole
- Returns:
- createdBy
-
getKey
User-defined unique identifier of the AssociateRole.
- Specified by:
getKey
in interfaceAssociateRole
- Returns:
- key
-
getBuyerAssignable
Whether the AssociateRole can be assigned to an Associate by a buyer. If false, the AssociateRole can only be assigned using the general endpoint.
- Specified by:
getBuyerAssignable
in interfaceAssociateRole
- Returns:
- buyerAssignable
-
getName
Name of the AssociateRole.
- Specified by:
getName
in interfaceAssociateRole
- Returns:
- name
-
getPermissions
List of Permissions for the AssociateRole.
- Specified by:
getPermissions
in interfaceAssociateRole
- Returns:
- permissions
-
getCustom
Custom Fields for the AssociateRole.
- Specified by:
getCustom
in interfaceAssociateRole
- Returns:
- custom
-
setId
Description copied from interface:AssociateRole
Unique identifier of the AssociateRole.
- Specified by:
setId
in interfaceAssociateRole
- Specified by:
setId
in interfaceBaseResource
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:AssociateRole
Current version of the AssociateRole.
- Specified by:
setVersion
in interfaceAssociateRole
- Specified by:
setVersion
in interfaceBaseResource
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:AssociateRole
Date and time (UTC) the AssociateRole was initially created.
- Specified by:
setCreatedAt
in interfaceAssociateRole
- Specified by:
setCreatedAt
in interfaceBaseResource
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:AssociateRole
Date and time (UTC) the AssociateRole was last updated.
- Specified by:
setLastModifiedAt
in interfaceAssociateRole
- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Parameters:
lastModifiedAt
- value to be set
-
setLastModifiedBy
Description copied from interface:AssociateRole
Present on resources updated after 1 February 2019 except for events not tracked.
- Specified by:
setLastModifiedBy
in interfaceAssociateRole
- Parameters:
lastModifiedBy
- value to be set
-
setCreatedBy
Description copied from interface:AssociateRole
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setCreatedBy
in interfaceAssociateRole
- Parameters:
createdBy
- value to be set
-
setKey
Description copied from interface:AssociateRole
User-defined unique identifier of the AssociateRole.
- Specified by:
setKey
in interfaceAssociateRole
- Parameters:
key
- value to be set
-
setBuyerAssignable
Description copied from interface:AssociateRole
Whether the AssociateRole can be assigned to an Associate by a buyer. If false, the AssociateRole can only be assigned using the general endpoint.
- Specified by:
setBuyerAssignable
in interfaceAssociateRole
- Parameters:
buyerAssignable
- value to be set
-
setName
Description copied from interface:AssociateRole
Name of the AssociateRole.
- Specified by:
setName
in interfaceAssociateRole
- Parameters:
name
- value to be set
-
setPermissions
Description copied from interface:AssociateRole
List of Permissions for the AssociateRole.
- Specified by:
setPermissions
in interfaceAssociateRole
- Parameters:
permissions
- values to be set
-
setPermissions
Description copied from interface:AssociateRole
List of Permissions for the AssociateRole.
- Specified by:
setPermissions
in interfaceAssociateRole
- Parameters:
permissions
- values to be set
-
setCustom
Description copied from interface:AssociateRole
Custom Fields for the AssociateRole.
- Specified by:
setCustom
in interfaceAssociateRole
- Parameters:
custom
- value to be set
-
equals
-
hashCode
-