Class ApiModelTransformers

  • All Implemented Interfaces:

    
    public final class ApiModelTransformers
    
                        

    A class that holds the transformers used to transform the API models.

    • Constructor Detail

      • ApiModelTransformers

        ApiModelTransformers(MessageTransformer outgoingMessageTransformer, MessageTransformer incomingMessageTransformer, ChannelTransformer incomingChannelTransformer, UserTransformer outgoingUserTransformers, UserTransformer incomingUserTransformer)
        Parameters:
        outgoingMessageTransformer - The transformer used to transform the message before sending it to the API.
        incomingMessageTransformer - The transformer used to transform the message received from the API.
        incomingChannelTransformer - The transformer used to transform the channel received from the API.
        outgoingUserTransformers - The transformer used to transform the user before sending it to the API.
        incomingUserTransformer - The transformer used to transform the user received from the API.