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