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

org.openapitools.codegen.model.OperationMap Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
package org.openapitools.codegen.model;

import java.util.Collections;
import java.util.HashMap;
import java.util.List;

import org.openapitools.codegen.CodegenOperation;

public class OperationMap extends HashMap {

    public void setOperation(CodegenOperation ops) {
        put("operation", Collections.singletonList(ops));
    }

    public void setOperation(List ops) {
        put("operation", ops);
    }

    @SuppressWarnings("unchecked")
    public List getOperation() {
        return (List) get("operation");
    }

    public void setClassname(String classname) {
        put("classname", classname);
    }

    public String getClassname() {
        return (String) get("classname");
    }

    public void setPathPrefix(String pathPrefix) {
        put("pathPrefix", pathPrefix);
    }

    public String getPathPrefix() {
        return (String) get("pathPrefix");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy