org.usergrid.tools.apidoc.swagger
Class ApiOperation

java.lang.Object
  extended by org.usergrid.tools.apidoc.swagger.ApiOperation

public class ApiOperation
extends Object


Constructor Summary
ApiOperation()
           
 
Method Summary
 Element createWADLMethod(Document doc, Api api)
           
 List<ApiOperationError> getErrorResponses()
           
 String getHttpMethod()
           
 String getNickname()
           
 String getNotes()
           
 List<ApiParam> getParameters()
           
 String getResponseClass()
           
 String getResponseTypeInternal()
           
 String getSummary()
           
 String getTags()
           
 void setErrorResponses(List<ApiOperationError> errorResponses)
           
 void setHttpMethod(String httpMethod)
           
 void setNickname(String nickname)
           
 void setNotes(String notes)
           
 void setParameters(List<ApiParam> parameters)
           
 void setResponseClass(String responseClass)
           
 void setResponseTypeInternal(String responseTypeInternal)
           
 void setSummary(String summary)
           
 void setTags(String tags)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiOperation

public ApiOperation()
Method Detail

getHttpMethod

public String getHttpMethod()

setHttpMethod

public void setHttpMethod(String httpMethod)

getNickname

public String getNickname()

setNickname

public void setNickname(String nickname)

getSummary

public String getSummary()

setSummary

public void setSummary(String summary)

getNotes

public String getNotes()

setNotes

public void setNotes(String notes)

getResponseTypeInternal

public String getResponseTypeInternal()

setResponseTypeInternal

public void setResponseTypeInternal(String responseTypeInternal)

getResponseClass

public String getResponseClass()

setResponseClass

public void setResponseClass(String responseClass)

getTags

public String getTags()

setTags

public void setTags(String tags)

getParameters

public List<ApiParam> getParameters()

setParameters

public void setParameters(List<ApiParam> parameters)

getErrorResponses

public List<ApiOperationError> getErrorResponses()

setErrorResponses

public void setErrorResponses(List<ApiOperationError> errorResponses)

toString

public String toString()
Overrides:
toString in class Object

createWADLMethod

public Element createWADLMethod(Document doc,
                                Api api)


Copyright © 2012. All Rights Reserved.