Package com.github.elibracha.model
Class DiffContext
- java.lang.Object
-
- com.github.elibracha.model.DiffContext
-
public class DiffContext extends Object
Created by Quentin Desramé on 04/04/17.
-
-
Constructor Summary
Constructors Constructor Description DiffContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffContextcopyAsRequest()DiffContextcopyAsResponse()DiffContextcopyWithMethod(io.swagger.v3.oas.models.PathItem.HttpMethod method)DiffContextcopyWithRequired(boolean required)booleanequals(Object o)io.swagger.v3.oas.models.PathItem.HttpMethodgetMethod()Map<String,String>getParameters()StringgetUrl()inthashCode()booleanisRequest()BooleanisRequired()booleanisResponse()DiffContextsetParameters(Map<String,String> parameters)DiffContextsetUrl(String url)
-
-
-
Method Detail
-
copyWithMethod
public DiffContext copyWithMethod(io.swagger.v3.oas.models.PathItem.HttpMethod method)
-
copyWithRequired
public DiffContext copyWithRequired(boolean required)
-
copyAsRequest
public DiffContext copyAsRequest()
-
copyAsResponse
public DiffContext copyAsResponse()
-
isResponse
public boolean isResponse()
-
isRequest
public boolean isRequest()
-
getUrl
public String getUrl()
-
setUrl
public DiffContext setUrl(String url)
-
getMethod
public io.swagger.v3.oas.models.PathItem.HttpMethod getMethod()
-
setParameters
public DiffContext setParameters(Map<String,String> parameters)
-
isRequired
public Boolean isRequired()
-
-