Class TaskGraphLogsApi


  • public class TaskGraphLogsApi
    extends java.lang.Object
    • Constructor Detail

      • TaskGraphLogsApi

        public TaskGraphLogsApi()
      • TaskGraphLogsApi

        public TaskGraphLogsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public java.lang.String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(java.lang.String customBaseUrl)
      • createTaskGraphLogCall

        public okhttp3.Call createTaskGraphLogCall​(java.lang.String namespace,
                                                   TaskGraphLog log,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for createTaskGraphLog
        Parameters:
        namespace - The namespace that will own this task graph log. (required)
        log - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • createTaskGraphLog

        public TaskGraphLog createTaskGraphLog​(java.lang.String namespace,
                                               TaskGraphLog log)
                                        throws ApiException
        Create a task graph log.
        Parameters:
        namespace - The namespace that will own this task graph log. (required)
        log - (required)
        Returns:
        TaskGraphLog
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createTaskGraphLogWithHttpInfo

        public ApiResponse<TaskGraphLog> createTaskGraphLogWithHttpInfo​(java.lang.String namespace,
                                                                        TaskGraphLog log)
                                                                 throws ApiException
        Create a task graph log.
        Parameters:
        namespace - The namespace that will own this task graph log. (required)
        log - (required)
        Returns:
        ApiResponse<TaskGraphLog>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createTaskGraphLogAsync

        public okhttp3.Call createTaskGraphLogAsync​(java.lang.String namespace,
                                                    TaskGraphLog log,
                                                    ApiCallback<TaskGraphLog> _callback)
                                             throws ApiException
        (asynchronously) Create a task graph log.
        Parameters:
        namespace - The namespace that will own this task graph log. (required)
        log - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getTaskGraphLogCall

        public okhttp3.Call getTaskGraphLogCall​(java.lang.String namespace,
                                                java.lang.String id,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for getTaskGraphLog
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getTaskGraphLog

        public TaskGraphLog getTaskGraphLog​(java.lang.String namespace,
                                            java.lang.String id)
                                     throws ApiException
        Fetch information about a single task graph execution.
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        Returns:
        TaskGraphLog
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTaskGraphLogWithHttpInfo

        public ApiResponse<TaskGraphLog> getTaskGraphLogWithHttpInfo​(java.lang.String namespace,
                                                                     java.lang.String id)
                                                              throws ApiException
        Fetch information about a single task graph execution.
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        Returns:
        ApiResponse<TaskGraphLog>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTaskGraphLogAsync

        public okhttp3.Call getTaskGraphLogAsync​(java.lang.String namespace,
                                                 java.lang.String id,
                                                 ApiCallback<TaskGraphLog> _callback)
                                          throws ApiException
        (asynchronously) Fetch information about a single task graph execution.
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • listTaskGraphLogsCall

        public okhttp3.Call listTaskGraphLogsCall​(java.lang.String namespace,
                                                  java.lang.String createdBy,
                                                  java.lang.String search,
                                                  java.time.OffsetDateTime startTime,
                                                  java.time.OffsetDateTime endTime,
                                                  java.lang.Integer page,
                                                  java.lang.Integer perPage,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for listTaskGraphLogs
        Parameters:
        namespace - Include logs for this namespace. (optional)
        createdBy - Include logs from only this user. (optional)
        search - search string that will look at name. (optional)
        startTime - Include logs created after this time. (optional)
        endTime - Include logs created before this time. (optional)
        page - pagination offset (optional)
        perPage - pagination limit (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • listTaskGraphLogs

        public TaskGraphLogsData listTaskGraphLogs​(java.lang.String namespace,
                                                   java.lang.String createdBy,
                                                   java.lang.String search,
                                                   java.time.OffsetDateTime startTime,
                                                   java.time.OffsetDateTime endTime,
                                                   java.lang.Integer page,
                                                   java.lang.Integer perPage)
                                            throws ApiException
        Fetch the task graph logs of a namespace the user has access to. The returned entries will include only summary data, and will not include information about the individual tasks that were executed. (This information is available when requesting an individual task graph log.) Entries in the response are ordered from newest to oldest. Pagination parameters work as in other API methods; see PaginationMetadata.
        Parameters:
        namespace - Include logs for this namespace. (optional)
        createdBy - Include logs from only this user. (optional)
        search - search string that will look at name. (optional)
        startTime - Include logs created after this time. (optional)
        endTime - Include logs created before this time. (optional)
        page - pagination offset (optional)
        perPage - pagination limit (optional)
        Returns:
        TaskGraphLogsData
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listTaskGraphLogsWithHttpInfo

        public ApiResponse<TaskGraphLogsData> listTaskGraphLogsWithHttpInfo​(java.lang.String namespace,
                                                                            java.lang.String createdBy,
                                                                            java.lang.String search,
                                                                            java.time.OffsetDateTime startTime,
                                                                            java.time.OffsetDateTime endTime,
                                                                            java.lang.Integer page,
                                                                            java.lang.Integer perPage)
                                                                     throws ApiException
        Fetch the task graph logs of a namespace the user has access to. The returned entries will include only summary data, and will not include information about the individual tasks that were executed. (This information is available when requesting an individual task graph log.) Entries in the response are ordered from newest to oldest. Pagination parameters work as in other API methods; see PaginationMetadata.
        Parameters:
        namespace - Include logs for this namespace. (optional)
        createdBy - Include logs from only this user. (optional)
        search - search string that will look at name. (optional)
        startTime - Include logs created after this time. (optional)
        endTime - Include logs created before this time. (optional)
        page - pagination offset (optional)
        perPage - pagination limit (optional)
        Returns:
        ApiResponse<TaskGraphLogsData>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listTaskGraphLogsAsync

        public okhttp3.Call listTaskGraphLogsAsync​(java.lang.String namespace,
                                                   java.lang.String createdBy,
                                                   java.lang.String search,
                                                   java.time.OffsetDateTime startTime,
                                                   java.time.OffsetDateTime endTime,
                                                   java.lang.Integer page,
                                                   java.lang.Integer perPage,
                                                   ApiCallback<TaskGraphLogsData> _callback)
                                            throws ApiException
        (asynchronously) Fetch the task graph logs of a namespace the user has access to. The returned entries will include only summary data, and will not include information about the individual tasks that were executed. (This information is available when requesting an individual task graph log.) Entries in the response are ordered from newest to oldest. Pagination parameters work as in other API methods; see PaginationMetadata.
        Parameters:
        namespace - Include logs for this namespace. (optional)
        createdBy - Include logs from only this user. (optional)
        search - search string that will look at name. (optional)
        startTime - Include logs created after this time. (optional)
        endTime - Include logs created before this time. (optional)
        page - pagination offset (optional)
        perPage - pagination limit (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • reportClientNodeCall

        public okhttp3.Call reportClientNodeCall​(java.lang.String namespace,
                                                 java.lang.String id,
                                                 TaskGraphClientNodeStatus report,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for reportClientNode
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        report - The node status to report. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • reportClientNode

        public void reportClientNode​(java.lang.String namespace,
                                     java.lang.String id,
                                     TaskGraphClientNodeStatus report)
                              throws ApiException
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        report - The node status to report. (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • reportClientNodeWithHttpInfo

        public ApiResponse<java.lang.Void> reportClientNodeWithHttpInfo​(java.lang.String namespace,
                                                                        java.lang.String id,
                                                                        TaskGraphClientNodeStatus report)
                                                                 throws ApiException
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        report - The node status to report. (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • reportClientNodeAsync

        public okhttp3.Call reportClientNodeAsync​(java.lang.String namespace,
                                                  java.lang.String id,
                                                  TaskGraphClientNodeStatus report,
                                                  ApiCallback<java.lang.Void> _callback)
                                           throws ApiException
        (asynchronously)
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        report - The node status to report. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • updateTaskGraphLogCall

        public okhttp3.Call updateTaskGraphLogCall​(java.lang.String namespace,
                                                   java.lang.String id,
                                                   TaskGraphLog log,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for updateTaskGraphLog
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        log - Updates to make to the task graph log. The only manual update that a client should need to make to a task graph log is to update its completion status to `succeeded`, `failed`, or `cancelled`. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateTaskGraphLog

        public void updateTaskGraphLog​(java.lang.String namespace,
                                       java.lang.String id,
                                       TaskGraphLog log)
                                throws ApiException
        Update information about a single task graph execution.
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        log - Updates to make to the task graph log. The only manual update that a client should need to make to a task graph log is to update its completion status to `succeeded`, `failed`, or `cancelled`. (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateTaskGraphLogWithHttpInfo

        public ApiResponse<java.lang.Void> updateTaskGraphLogWithHttpInfo​(java.lang.String namespace,
                                                                          java.lang.String id,
                                                                          TaskGraphLog log)
                                                                   throws ApiException
        Update information about a single task graph execution.
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        log - Updates to make to the task graph log. The only manual update that a client should need to make to a task graph log is to update its completion status to `succeeded`, `failed`, or `cancelled`. (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateTaskGraphLogAsync

        public okhttp3.Call updateTaskGraphLogAsync​(java.lang.String namespace,
                                                    java.lang.String id,
                                                    TaskGraphLog log,
                                                    ApiCallback<java.lang.Void> _callback)
                                             throws ApiException
        (asynchronously) Update information about a single task graph execution.
        Parameters:
        namespace - The namespace that owns this task graph log. (required)
        id - The UUID of the task graph log entry. (required)
        log - Updates to make to the task graph log. The only manual update that a client should need to make to a task graph log is to update its completion status to `succeeded`, `failed`, or `cancelled`. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object