com.sksamuel.elastic4s.api.RoleApi.scala Maven / Gradle / Ivy
package com.sksamuel.elastic4s.api
import com.sksamuel.elastic4s.requests.security.roles.GetRoleRequest
trait RoleApi {
// Returns the named role
def getRole(name: String) = GetRoleRequest(name)
// Returns all roles
def getRoles() = GetRoleRequest("")
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy