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

org.gitlab4j.api.models.WikiAttachment 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.5
Show newest version
package org.gitlab4j.api.models;

import org.gitlab4j.api.utils.JacksonJson;

public class WikiAttachment {

    public static class Link {

        private String url;
        private String markdown;

        public String getUrl() {
            return url;
        }
    
        public void setUrl(String url) {
            this.url = url;
        }
    
        public String getMarkdown() {
            return markdown;
        }
    
        public void setMarkdown(String markdown) {
            this.markdown = markdown;
        }

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


    private String fileName;
    private String filePath;
    private String branch;
    private Link link;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public Link getLink() {
        return link;
    }

    public void setLink(Link link) {
        this.link = link;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy