public class GHGistBuilder extends Object
GitHub#createGist()| Constructor and Description |
|---|
GHGistBuilder(GitHub root)
Instantiates a new Gh gist builder.
|
| Modifier and Type | Method and Description |
|---|---|
GHGist |
create()
Creates a Gist based on the parameters specified thus far.
|
GHGistBuilder |
description(String desc)
Description gh gist builder.
|
GHGistBuilder |
file(String fileName,
String content)
File gh gist builder.
|
GHGistBuilder |
public_(boolean v)
Public gh gist builder.
|
public GHGistBuilder(GitHub root)
root - the rootpublic GHGistBuilder description(String desc)
desc - the descpublic GHGistBuilder public_(boolean v)
v - the vpublic GHGistBuilder file(String fileName, String content)
fileName - the file namecontent - the contentpublic GHGist create() throws IOException
IOException - if Gist cannot be created.Copyright © 2020. All rights reserved.