Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Assembler(val structure: String = "")

The Assembler annotation is useful to indicate those methods used to assemble anything such payloads of the requests, queries of the requests, etc. For example

Link copied to clipboard
annotation class CustomParametersOrder(val order: String)

The CustomParametersOrder annotation is useful to manage the custom parameters order for a better readability of the code and to work with that parameters correctly

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class DTO

The DTO annotation is useful to indicate whether a class is used as Data Transfer Object

Link copied to clipboard

The FutureEquinoxApi annotation is useful to indicate an experimental api implemented in an external project outside Equinox that can be potentially implemented in the official library

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class RequestPath(    val method: RequestMethod,     val path: String = "",     val pathParameters: String = "",     val queryParameters: String = "",     val bodyParameters: String = "")

Annotation that defines the request path and its parameters for API requests.

Link copied to clipboard

The RequiresSuperCall annotation is useful to indicate that an inherited or an overridden method to works correctly and completely requires that also the original method is invoked like the @CallSuper annotation.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Returner

The Returner annotation is used to mark methods that are responsible for formatting and returning data in a specified format

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Structure

The @Structure annotation is applied to classes that define a general structure and behavior for a potential hierarchy, along with its subclasses. It marks classes that provide a common template or foundation, often used for sharing general properties and functionality across a set of related classes.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Validator(val validWhen: String = "")

The @Validator annotation is applied to those methods which are used to check the validity of an input, and it is useful to provide additional information about the annotated method such the validity case of the input checked

Link copied to clipboard

The @Wrapper annotation is applied to those wrapper methods that wrap the main method, facilitating access to the latter by avoiding the need to pass some unnecessary arguments.