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

com.ifountain.opsgenie.client.model.alert.AddAlertTeamRequest Maven / Gradle / Ivy

package com.ifountain.opsgenie.client.model.alert;

/**
 * Container for the parameters to make an add team call.
 *
 * @author Sezgin Kucukkaraaslan
 * @see com.ifountain.opsgenie.client.IAlertOpsGenieClient#addTeam(AddAlertTeamRequest)
 * @deprecated As of release 2.8.0, replaced by {@link com.ifountain.opsgenie.client.swagger.model.AddAlertTeamRequest}
 */
@Deprecated
public class AddAlertTeamRequest extends BaseAlertRequestWithParameters {
    private String team;

    /**
     * Rest api uri of add team operation.
     */
    @Override
    public String getEndPoint() {
        return "/v1/json/alert/team";
    }

    /**
     * The team that will be added.
     */
    public String getTeam() {
        return team;
    }

    /**
     * Sets the team that will be added.
     */
    public void setTeam(String team) {
        this.team = team;
    }

    public AddAlertTeamRequest withTeam(String team) {
        this.team = team;
        return this;
    }

    public AddAlertTeamResponse createResponse() {
        return new AddAlertTeamResponse();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy