Class RequestLogs


  • public class RequestLogs
    extends java.lang.Object
    API requests and response logs.
    • Method Detail

      • async

        public AsyncRequestLogs async()
        Switches to the async SDK.
        Returns:
        The async SDK
      • listStepLogs

        public StackoneListStepLogsResponse listStepLogs​(StackoneListStepLogsRequest request)
                                                  throws java.lang.Exception
        List Step Logs
        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
      • listStepLogs

        public StackoneListStepLogsResponse listStepLogs​(StackoneListStepLogsRequest request,
                                                         java.util.Optional<Options> options)
                                                  throws java.lang.Exception
        List Step Logs
        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
      • getLog

        public StackoneGetLogResponse getLog​(java.lang.String id)
                                      throws java.lang.Exception
        Get Log
        Parameters:
        id -
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • getLog

        public StackoneGetLogResponse getLog​(java.lang.String id,
                                             org.openapitools.jackson.nullable.JsonNullable<? extends Include> include,
                                             java.util.Optional<Options> options)
                                      throws java.lang.Exception
        Get Log
        Parameters:
        id -
        include - The include parameter allows you to include additional data in the response.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • listLogs

        public StackoneListLogsResponse listLogs​(StackoneListLogsRequest request)
                                          throws java.lang.Exception
        List Logs
        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
      • listLogs

        public StackoneListLogsResponse listLogs​(StackoneListLogsRequest request,
                                                 java.util.Optional<Options> options)
                                          throws java.lang.Exception
        List Logs
        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
      • listPlatformLogs

        public StackoneListPlatformLogsResponse listPlatformLogs​(StackoneListPlatformLogsRequest request)
                                                          throws java.lang.Exception
        List Platform Logs
        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
      • listPlatformLogs

        public StackoneListPlatformLogsResponse listPlatformLogs​(StackoneListPlatformLogsRequest request,
                                                                 java.util.Optional<Options> options)
                                                          throws java.lang.Exception
        List Platform Logs
        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