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

org.gitlab4j.api.models.JobAttribute Maven / Gradle / Ivy

Go to download

GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.

There is a newer version: 6.0.0-rc.6
Show newest version
package org.gitlab4j.api.models;

import org.gitlab4j.api.utils.JacksonJson;

import java.io.Serializable;

public class JobAttribute implements Serializable {
    private static final long serialVersionUID = 1L;

    private String key;
  private String value;

  public JobAttribute(String key, String value) {
    this.key = key;
    this.value = value;
  }

  public String getKey() {
    return key;
  }

  public void setKey(String key) {
    this.key = key;
  }

  public String getValue() {
    return value;
  }

  public void setValue(String value) {
    this.value = value;
  }

  @Override
  public String toString() {
    return (JacksonJson.toJsonString(this));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy