public class Snippet extends Object implements CodeFragment
| Modifier and Type | Field and Description |
|---|---|
protected List<Annotation> |
annotations |
protected String |
cleanCode |
protected String |
cleanSummary |
protected String |
code |
protected String |
id |
protected String |
ownerAvatarUrl |
protected String |
savedTime |
protected String |
scenarioId |
protected String |
scenarioTag |
protected List<Tag> |
tags |
protected String |
title |
protected String |
url |
| Constructor and Description |
|---|
Snippet() |
| Modifier and Type | Method and Description |
|---|---|
List<Annotation> |
annotations() |
String |
code() |
String |
codeSummary() |
String |
copySummary() |
String |
id() |
String |
originUrl() |
String |
url() |
String |
urlTitle() |
protected String id
protected String scenarioId
protected String scenarioTag
protected String url
protected String title
protected String code
protected String cleanCode
protected String cleanSummary
protected String savedTime
protected String ownerAvatarUrl
protected List<Annotation> annotations
@NotNull public List<Annotation> annotations()
annotations in interface CodeFragmentpublic String code()
code in interface CodeFragmentpublic String codeSummary()
codeSummary in interface CodeFragmentpublic String copySummary()
copySummary in interface CodeFragmentpublic String id()
id in interface CodeFragmentpublic String originUrl()
originUrl in interface CodeFragmentpublic String url()
url in interface CodeFragmentpublic String urlTitle()
urlTitle in interface CodeFragmentCopyright © 2018. All rights reserved.