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

org.zendesk.client.v2.model.targets.PivotalTarget Maven / Gradle / Ivy

package org.zendesk.client.v2.model.targets;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author adavidson
 */
public class PivotalTarget extends Target {
   private String token;
   private String projectId;
   private String storyType;
   private String storyTitle;
   private String requestedBy;
   private String ownerBy;
   private String storyLabels;

   @Override
   public String getType() {
      return "pivotal_target";
   }

   @Override
   public String toString() {
      final StringBuilder sb = new StringBuilder();
      sb.append("UrlTarget");
      sb.append("{id=").append(getId());
      sb.append(", title=").append(getTitle());
      sb.append(", type=").append(getType());
      sb.append(", active=").append(isActive());
      sb.append(", createdAt=").append(getCreatedAt());
      sb.append(", token=").append(token);
      sb.append(", projectId=").append(projectId);
      sb.append(", storyType=").append(storyType);
      sb.append(", storyTitle=").append(storyTitle);
      sb.append(", requestedBy=").append(requestedBy);
      sb.append(", ownerBy=").append(ownerBy);
      sb.append(", storyLabels=").append(storyLabels);
      sb.append('}');
      return sb.toString();
   }

   public String getToken() {
      return token;
   }

   public void setToken(String token) {
      this.token = token;
   }

   @JsonProperty("project_id")
   public String getProjectId() {
      return projectId;
   }

   public void setProjectId(String projectId) {
      this.projectId = projectId;
   }

   @JsonProperty("story_type")
   public String getStoryType() {
      return storyType;
   }

   public void setStoryType(String storyType) {
      this.storyType = storyType;
   }

   @JsonProperty("story_title")
   public String getStoryTitle() {
      return storyTitle;
   }

   public void setStoryTitle(String storyTitle) {
      this.storyTitle = storyTitle;
   }

   @JsonProperty("requested_by")
   public String getRequestedBy() {
      return requestedBy;
   }

   public void setRequestedBy(String requestedBy) {
      this.requestedBy = requestedBy;
   }

   @JsonProperty("owner_by")
   public String getOwnerBy() {
      return ownerBy;
   }

   public void setOwnerBy(String ownerBy) {
      this.ownerBy = ownerBy;
   }

   @JsonProperty("storey_labels")
   public String getStoryLabels() {
      return storyLabels;
   }

   public void setStoryLabels(String storyLabels) {
      this.storyLabels = storyLabels;
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy