# This file was generated by the Julia Swagger Code Generator
# Do not modify this file directly. Modify the swagger specification instead.


struct LogsApi <: SwaggerApi
    client::Swagger.Client
end

"""


Param: logpath::String (required)
Return: Nothing
"""
function logFileHandler(_api::LogsApi, logpath::String; _mediaType=nothing)
    _ctx = Swagger.Ctx(_api.client, "GET", Nothing, "/logs/{logpath}", ["BearerToken"])
    Swagger.set_param(_ctx.path, "logpath", logpath)  # type String
    Swagger.set_header_accept(_ctx, [])
    Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType])
    Swagger.exec(_ctx)
end

"""


Return: Nothing
"""
function logFileListHandler(_api::LogsApi; _mediaType=nothing)
    _ctx = Swagger.Ctx(_api.client, "GET", Nothing, "/logs/", ["BearerToken"])
    Swagger.set_header_accept(_ctx, [])
    Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType])
    Swagger.exec(_ctx)
end

export logFileHandler, logFileListHandler
