Class Lms
- java.lang.Object
-
- com.stackone.stackone_client_java.Lms
-
public class Lms extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
listCourses
public LmsListCoursesRequestBuilder listCourses()
List Courses- Returns:
- The call builder
-
listCourses
public LmsListCoursesResponse listCourses(LmsListCoursesRequest request) throws java.lang.Exception
List Courses- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listCourses
public LmsListCoursesResponse listCourses(LmsListCoursesRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Courses- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getCourse
public LmsGetCourseRequestBuilder getCourse()
Get Course- Returns:
- The call builder
-
getCourse
public LmsGetCourseResponse getCourse(LmsGetCourseRequest request) throws java.lang.Exception
Get Course- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getCourse
public LmsGetCourseResponse getCourse(LmsGetCourseRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Course- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listUserAssignments
public LmsListUserAssignmentsRequestBuilder listUserAssignments()
List User Assignments- Returns:
- The call builder
-
listUserAssignments
public LmsListUserAssignmentsResponse listUserAssignments(LmsListUserAssignmentsRequest request) throws java.lang.Exception
List User Assignments- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listUserAssignments
public LmsListUserAssignmentsResponse listUserAssignments(LmsListUserAssignmentsRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List User Assignments- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createUserAssignment
public LmsCreateUserAssignmentRequestBuilder createUserAssignment()
Create User Assignment- Returns:
- The call builder
-
createUserAssignment
public LmsCreateUserAssignmentResponse createUserAssignment(java.lang.String xAccountId, java.lang.String id, LmsCreateAssignmentRequestDto lmsCreateAssignmentRequestDto) throws java.lang.Exception
Create User Assignment- Parameters:
xAccountId- The account identifierid-lmsCreateAssignmentRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createUserAssignment
public LmsCreateUserAssignmentResponse createUserAssignment(java.lang.String xAccountId, java.lang.String id, LmsCreateAssignmentRequestDto lmsCreateAssignmentRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Create User Assignment- Parameters:
xAccountId- The account identifierid-lmsCreateAssignmentRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getUserAssignment
public LmsGetUserAssignmentRequestBuilder getUserAssignment()
Get User Assignment- Returns:
- The call builder
-
getUserAssignment
public LmsGetUserAssignmentResponse getUserAssignment(LmsGetUserAssignmentRequest request) throws java.lang.Exception
Get User Assignment- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getUserAssignment
public LmsGetUserAssignmentResponse getUserAssignment(LmsGetUserAssignmentRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get User Assignment- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
batchUpsertContent
public LmsBatchUpsertContentRequestBuilder batchUpsertContent()
Batch Upsert Content- Returns:
- The call builder
-
batchUpsertContent
public LmsBatchUpsertContentResponse batchUpsertContent(java.lang.String xAccountId, LmsBatchUpsertContentRequestDto lmsBatchUpsertContentRequestDto) throws java.lang.Exception
Batch Upsert Content- Parameters:
xAccountId- The account identifierlmsBatchUpsertContentRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
batchUpsertContent
public LmsBatchUpsertContentResponse batchUpsertContent(java.lang.String xAccountId, LmsBatchUpsertContentRequestDto lmsBatchUpsertContentRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Batch Upsert Content- Parameters:
xAccountId- The account identifierlmsBatchUpsertContentRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listContent
public LmsListContentRequestBuilder listContent()
List Content- Returns:
- The call builder
-
listContent
public LmsListContentResponse listContent(LmsListContentRequest request) throws java.lang.Exception
List Content- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listContent
public LmsListContentResponse listContent(LmsListContentRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Content- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
upsertContent
public LmsUpsertContentRequestBuilder upsertContent()
Upsert Content- Returns:
- The call builder
-
upsertContent
public LmsUpsertContentResponse upsertContent(java.lang.String xAccountId, LmsUpsertContentRequestDto lmsUpsertContentRequestDto) throws java.lang.Exception
Upsert Content- Parameters:
xAccountId- The account identifierlmsUpsertContentRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
upsertContent
public LmsUpsertContentResponse upsertContent(java.lang.String xAccountId, LmsUpsertContentRequestDto lmsUpsertContentRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Upsert Content- Parameters:
xAccountId- The account identifierlmsUpsertContentRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getContent
public LmsGetContentRequestBuilder getContent()
Get Content- Returns:
- The call builder
-
getContent
public LmsGetContentResponse getContent(LmsGetContentRequest request) throws java.lang.Exception
Get Content- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getContent
public LmsGetContentResponse getContent(LmsGetContentRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Content- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateContent
public LmsUpdateContentRequestBuilder updateContent()
Update Content- Returns:
- The call builder
-
updateContent
public LmsUpdateContentResponse updateContent(java.lang.String xAccountId, java.lang.String id, LmsCreateContentRequestDto lmsCreateContentRequestDto) throws java.lang.Exception
Update Content- Parameters:
xAccountId- The account identifierid-lmsCreateContentRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateContent
public LmsUpdateContentResponse updateContent(java.lang.String xAccountId, java.lang.String id, LmsCreateContentRequestDto lmsCreateContentRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Update Content- Parameters:
xAccountId- The account identifierid-lmsCreateContentRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listUserCompletions
public LmsListUserCompletionsRequestBuilder listUserCompletions()
List User Completions- Returns:
- The call builder
-
listUserCompletions
public LmsListUserCompletionsResponse listUserCompletions(LmsListUserCompletionsRequest request) throws java.lang.Exception
List User Completions- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listUserCompletions
public LmsListUserCompletionsResponse listUserCompletions(LmsListUserCompletionsRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List User Completions- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createUserCompletion
public LmsCreateUserCompletionRequestBuilder createUserCompletion()
Create User Completion- Returns:
- The call builder
-
createUserCompletion
public LmsCreateUserCompletionResponse createUserCompletion(java.lang.String xAccountId, java.lang.String id, LmsCreateCompletionRequestDto lmsCreateCompletionRequestDto) throws java.lang.Exception
Create User Completion- Parameters:
xAccountId- The account identifierid-lmsCreateCompletionRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createUserCompletion
public LmsCreateUserCompletionResponse createUserCompletion(java.lang.String xAccountId, java.lang.String id, LmsCreateCompletionRequestDto lmsCreateCompletionRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Create User Completion- Parameters:
xAccountId- The account identifierid-lmsCreateCompletionRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getUserCompletion
public LmsGetUserCompletionRequestBuilder getUserCompletion()
Get User Completion- Returns:
- The call builder
-
getUserCompletion
public LmsGetUserCompletionResponse getUserCompletion(LmsGetUserCompletionRequest request) throws java.lang.Exception
Get User Completion- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getUserCompletion
public LmsGetUserCompletionResponse getUserCompletion(LmsGetUserCompletionRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get User Completion- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
deleteUserCompletion
public LmsDeleteUserCompletionRequestBuilder deleteUserCompletion()
Delete User Completion- Returns:
- The call builder
-
deleteUserCompletion
public LmsDeleteUserCompletionResponse deleteUserCompletion(java.lang.String xAccountId, java.lang.String id, java.lang.String subResourceId) throws java.lang.Exception
Delete User Completion- Parameters:
xAccountId- The account identifierid-subResourceId-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
deleteUserCompletion
public LmsDeleteUserCompletionResponse deleteUserCompletion(java.lang.String xAccountId, java.lang.String id, java.lang.String subResourceId, java.util.Optional<Options> options) throws java.lang.Exception
Delete User Completion- Parameters:
xAccountId- The account identifierid-subResourceId-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listCompletions
public LmsListCompletionsRequestBuilder listCompletions()
List Completions- Returns:
- The call builder
-
listCompletions
public LmsListCompletionsResponse listCompletions(LmsListCompletionsRequest request) throws java.lang.Exception
List Completions- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listCompletions
public LmsListCompletionsResponse listCompletions(LmsListCompletionsRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Completions- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getCompletion
public LmsGetCompletionRequestBuilder getCompletion()
Get Completion- Returns:
- The call builder
-
getCompletion
public LmsGetCompletionResponse getCompletion(LmsGetCompletionRequest request) throws java.lang.Exception
Get Completion- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getCompletion
public LmsGetCompletionResponse getCompletion(LmsGetCompletionRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Completion- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getCategory
public LmsGetCategoryRequestBuilder getCategory()
Get Category- Returns:
- The call builder
-
getCategory
public LmsGetCategoryResponse getCategory(LmsGetCategoryRequest request) throws java.lang.Exception
Get Category- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getCategory
public LmsGetCategoryResponse getCategory(LmsGetCategoryRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Category- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listCategories
public LmsListCategoriesRequestBuilder listCategories()
List Categories- Returns:
- The call builder
-
listCategories
public LmsListCategoriesResponse listCategories(LmsListCategoriesRequest request) throws java.lang.Exception
List Categories- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listCategories
public LmsListCategoriesResponse listCategories(LmsListCategoriesRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Categories- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listUsers
public LmsListUsersRequestBuilder listUsers()
List Users- Returns:
- The call builder
-
listUsers
public LmsListUsersResponse listUsers(LmsListUsersRequest request) throws java.lang.Exception
List Users- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listUsers
public LmsListUsersResponse listUsers(LmsListUsersRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Users- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getUser
public LmsGetUserRequestBuilder getUser()
Get User- Returns:
- The call builder
-
getUser
public LmsGetUserResponse getUser(LmsGetUserRequest request) throws java.lang.Exception
Get User- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getUser
public LmsGetUserResponse getUser(LmsGetUserRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get User- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getSkill
public LmsGetSkillRequestBuilder getSkill()
Get Skill- Returns:
- The call builder
-
getSkill
public LmsGetSkillResponse getSkill(LmsGetSkillRequest request) throws java.lang.Exception
Get Skill- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getSkill
public LmsGetSkillResponse getSkill(LmsGetSkillRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Skill- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listSkills
public LmsListSkillsRequestBuilder listSkills()
List Skills- Returns:
- The call builder
-
listSkills
public LmsListSkillsResponse listSkills(LmsListSkillsRequest request) throws java.lang.Exception
List Skills- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listSkills
public LmsListSkillsResponse listSkills(LmsListSkillsRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Skills- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listAssignments
public LmsListAssignmentsRequestBuilder listAssignments()
List Assignments- Returns:
- The call builder
-
listAssignments
public LmsListAssignmentsResponse listAssignments(LmsListAssignmentsRequest request) throws java.lang.Exception
List Assignments- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listAssignments
public LmsListAssignmentsResponse listAssignments(LmsListAssignmentsRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Assignments- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getAssignment
public LmsGetAssignmentRequestBuilder getAssignment()
Get Assignment- Returns:
- The call builder
-
getAssignment
public LmsGetAssignmentResponse getAssignment(LmsGetAssignmentRequest request) throws java.lang.Exception
Get Assignment- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getAssignment
public LmsGetAssignmentResponse getAssignment(LmsGetAssignmentRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Assignment- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-