Class MockData
java.lang.Object
de.joergdev.mosy.backend.persistence.model.MockData
- All Implemented Interfaces:
TenantScoped
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDelay()getTitle()voidvoidvoidsetCountCalls(Integer countCalls) voidsetCreated(LocalDateTime created) voidvoidsetHttpReturnCode(Integer httpReturnCode) voidsetInterfaceMethod(InterfaceMethod interfaceMethod) voidsetMockDataId(Integer mockDataId) voidsetMockProfiles(List<MockDataMockProfile> mockProfiles) voidsetPathParams(List<MockDataPathParam> pathParams) voidsetRequest(String request) voidsetRequestHash(Integer requestHash) voidsetResponse(String response) voidsetResponseHash(Integer responseHash) voidvoidvoidsetUrlArguments(List<MockDataUrlArgument> urlArguments)
-
Field Details
-
LENGTH_TITLE
public static final int LENGTH_TITLE- See Also:
-
LENGTH_REQUEST
public static final int LENGTH_REQUEST- See Also:
-
LENGTH_RESPONSE
public static final int LENGTH_RESPONSE- See Also:
-
-
Constructor Details
-
MockData
public MockData()
-
-
Method Details
-
getMockDataId
-
setMockDataId
-
getTitle
-
setTitle
-
getCreated
-
setCreated
-
getActive
-
setActive
-
getCountCalls
-
setCountCalls
-
getInterfaceMethod
-
setInterfaceMethod
-
getRequest
-
setRequest
-
getResponse
-
setResponse
-
getMockProfiles
- Returns:
- the mockProfiles
-
setMockProfiles
- Parameters:
mockProfiles- the mockProfiles to set
-
getCommon
- Returns:
- the common
-
setCommon
- Parameters:
common- the common to set
-
getRequestHash
- Returns:
- the requestHash
-
setRequestHash
- Parameters:
requestHash- the requestHash to set
-
getResponseHash
- Returns:
- the responseHash
-
setResponseHash
- Parameters:
responseHash- the responseHash to set
-
getHttpReturnCode
-
setHttpReturnCode
-
getPathParams
-
setPathParams
-
getUrlArguments
-
setUrlArguments
-
getDelay
-
setDelay
-
getTenant
- Specified by:
getTenantin interfaceTenantScoped
-
setTenant
- Specified by:
setTenantin interfaceTenantScoped
-