package io.vertx.rabbitmq;

import io.vertx.codegen.annotations.CacheReturn;
import io.vertx.codegen.annotations.GenIgnore;
import io.vertx.codegen.annotations.VertxGen;

import java.util.Map;

/**
 * Like {@link com.rabbitmq.client.BasicProperties}
 */
@VertxGen
public interface BasicProperties {

  
Returns:contentType of a message, or null if it has not been set.
/** * @return contentType of a message, or {@code null} if it has not been set. */
@CacheReturn String contentType();
Returns:contentEncoding of a message, or null if it has not been set.
/** * @return contentEncoding of a message, or {@code null} if it has not been set. */
@CacheReturn String contentEncoding();
Returns:headers table related to a message, or null if it has not been set.
/** * @return headers table related to a message, or {@code null} if it has not been set. */
@GenIgnore Map<String, Object> headers();
Returns:deliveryMode of a message, or null if it has not been set.
/** * @return deliveryMode of a message, or {@code null} if it has not been set. */
@CacheReturn Integer deliveryMode();
Retrieve the value in the priority field.
Returns:priority of a message, or null if it has not been set.
/** * Retrieve the value in the priority field. * * @return priority of a message, or {@code null} if it has not been set. */
@CacheReturn Integer priority();
Returns:correlationId of a message, or null if it has not been set.
/** * @return correlationId of a message, or {@code null} if it has not been set. */
@CacheReturn String correlationId();
Returns:replyTo address, or null if it has not been set.
/** * @return replyTo address, or {@code null} if it has not been set. */
@CacheReturn String replyTo();
Returns:expiration of a message, or null if it has not been set.
/** * @return expiration of a message, or {@code null} if it has not been set. */
@CacheReturn String expiration();
Returns:messageId, or null if it has not been set.
/** * @return messageId, or {@code null} if it has not been set. */
@CacheReturn String messageId();
Returns:timestamp of a message, or null if it has not been set.
/** * @return timestamp of a message, or {@code null} if it has not been set. */
@CacheReturn Long timestamp();
Returns:type of a message, or null if it has not been set.
/** * @return type of a message, or {@code null} if it has not been set. */
@CacheReturn String type();
Returns:userId, or null if it has not been set.
/** * @return userId, or {@code null} if it has not been set. */
@CacheReturn String userId();
Returns:appId, or null if it has not been set.
/** * @return appId, or {@code null} if it has not been set. */
@CacheReturn String appId();
Returns:clusterId, or null if it has not been set.
/** * @return clusterId, or {@code null} if it has not been set. */
@CacheReturn String clusterId(); }