Class CourseOrganizationUpsertDTO
java.lang.Object
callofproject.dev.authentication.dto.environments.CourseOrganizationUpsertDTO
Data Transfer Object for a course organization.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.CourseOrganizationUpsertDTO
(UUID userId, String courseOrganizationName) Constructor for a course organization.CourseOrganizationUpsertDTO
(UUID userId, String id, String courseOrganizationName) Constructor for a course organization. -
Method Summary
Modifier and TypeMethodDescriptionGets the course organization name.getId()
Gets the course organization id.Gets the user id.void
setCourseOrganizationName
(String courseOrganizationName) Sets the course organization name.void
Sets the course organization id.void
Sets the user id.
-
Constructor Details
-
CourseOrganizationUpsertDTO
Constructor for a course organization.- Parameters:
userId
- The user id.courseOrganizationName
- The course organization name.
-
CourseOrganizationUpsertDTO
Constructor for a course organization.- Parameters:
userId
- The user id.id
- The course organization id.courseOrganizationName
- The course organization name.
-
CourseOrganizationUpsertDTO
public CourseOrganizationUpsertDTO()Constructor.
-
-
Method Details
-
getUserId
Gets the user id.- Returns:
- The user id.
-
setUserId
Sets the user id.- Parameters:
userId
- The user id.
-
getId
Gets the course organization id.- Returns:
- The course organization id.
-
setId
Sets the course organization id.- Parameters:
id
- The course organization id.
-
getCourseOrganizationName
Gets the course organization name.- Returns:
- The course organization name.
-
setCourseOrganizationName
Sets the course organization name.- Parameters:
courseOrganizationName
- The course organization name.
-