public class RetrievedCodeSample
extends java.lang.Object
| Constructor and Description |
|---|
RetrievedCodeSample(java.lang.String id,
java.lang.String service,
java.lang.String title,
java.lang.String description,
java.lang.String content)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent()
Returns the code sample content
|
java.lang.String |
getDescription()
Returns the description of the sample.
|
java.lang.String |
getId()
Returns the id of the sample.
|
java.lang.String |
getService()
Returns the name of the service the sample is associated with.
|
java.lang.String |
getTitle()
Returns the title of the sample.
|
public RetrievedCodeSample(java.lang.String id,
java.lang.String service,
java.lang.String title,
java.lang.String description,
java.lang.String content)
id - sample idservice - name of service sample associated withtitle - title of the sampledescription - description of the samplecontent - code sample contentpublic java.lang.String getId()
public java.lang.String getService()
public java.lang.String getTitle()
public java.lang.String getDescription()
public java.lang.String getContent()
Copyright © 2017. All Rights Reserved.