com.synopsys.integration.jira.common.model.request.FieldRequestModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of int-jira-common Show documentation
Show all versions of int-jira-common Show documentation
A library for using various capabilities of Jira.
/*
* int-jira-common
*
* Copyright (c) 2024 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.jira.common.model.request;
import com.synopsys.integration.jira.common.enumeration.FieldType;
public class FieldRequestModel extends JiraRequestModel {
private final String name;
private final String description;
private final String type;
private final String searcherKey;
public FieldRequestModel(final String name, final String description, final FieldType fieldType) {
this.name = name;
this.description = description;
this.type = fieldType.getTypeKey();
this.searcherKey = fieldType.getSearcherKey();
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public String getType() {
return type;
}
public String getSearcherKey() {
return searcherKey;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy