All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.springwolf.asyncapi.v3.model.operation.OperationAction Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
// SPDX-License-Identifier: Apache-2.0
package io.github.springwolf.asyncapi.v3.model.operation;

public enum OperationAction {
    SEND("send"),
    RECEIVE("receive");

    public final String type;

    OperationAction(String type) {
        this.type = type;
    }

    public static OperationAction fromString(String type) {
        return valueOf(type.toUpperCase());
    }

    @Override
    public String toString() {
        return this.type;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy