Record Class UpdateAccountPortfolioAssignmentsDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.account.UpdateAccountPortfolioAssignmentsDTO
- Record Components:
assignments- account portfolio assignments
public record UpdateAccountPortfolioAssignmentsDTO(@NotEmpty List<@Valid AccountPortfolioAssignmentDTO> assignments)
extends Record
Request object for moving accounts between a user's portfolios.
- Version:
- 3.0.5
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateAccountPortfolioAssignmentsDTO(@NotEmpty List<@Valid AccountPortfolioAssignmentDTO> assignments) Creates an instance of aUpdateAccountPortfolioAssignmentsDTOrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotEmpty List<@Valid AccountPortfolioAssignmentDTO> Returns the value of theassignmentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateAccountPortfolioAssignmentsDTO
public UpdateAccountPortfolioAssignmentsDTO(@NotEmpty @NotEmpty List<@Valid AccountPortfolioAssignmentDTO> assignments) Creates an instance of aUpdateAccountPortfolioAssignmentsDTOrecord class.- Parameters:
assignments- the value for theassignmentsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
assignments
Returns the value of theassignmentsrecord component.- Returns:
- the value of the
assignmentsrecord component
-