class AAIObjectMapper {

    public org.onap.aai.domain.yang.CtagAssignments mapToAAICtagAssignmentList(
            List<CtagAssignment> ctagAssignmentsList) {
        org.onap.aai.domain.yang.CtagAssignments ctagAssignments = null;
        if (!ctagAssignmentsList.isEmpty()) {
            ctagAssignments = new org.onap.aai.domain.yang.CtagAssignments();

            org.onap.aai.domain.yang.CtagAssignment ctagAssignment = null;
            for (CtagAssignment ctagAssignmentSource : ctagAssignmentsList) {
                ctagAssignment = new org.onap.aai.domain.yang.CtagAssignment();
                ctagAssignment.setVlanIdInner(ctagAssignmentSource.getVlanIdInner());
                ctagAssignments.getCtagAssignment().add(ctagAssignment);
            }
        }
        return ctagAssignments;
    }

}