package com.t4a.examples.actions;

import com.t4a.annotations.Action;
import com.t4a.annotations.MapKeyType;
import com.t4a.annotations.MapValueType;
import com.t4a.annotations.Agent;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

@Getter
@Setter
@Agent
public class MapAction  {



    @Action(description = "add new Sports into the map")
    public Map<Integer,String> addSports(@MapKeyType(Integer.class)  @MapValueType(String.class) Map<Integer,String> mapOfSportsName) {

        return mapOfSportsName;
    }
}
