Klasse EnableMockAPIOperationSpec
java.lang.Object
io.github.primelib.webmethodsapigateway4j.spec.EnableMockAPIOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class EnableMockAPIOperationSpec
extends Object
EnableMockAPISpec
Specification for the EnableMockAPI operation.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull StringapiId()API Id for the API to be activatedAPI Id for the API to be activatedprotected booleanbooleaninthashCode()@Nullable BooleanFlag to retain generated mocked responses.retainDefaultMockResponses(@Nullable Boolean retainDefaultMockResponses) Flag to retain generated mocked responses.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
EnableMockAPIOperationSpec
Constructs a validated implementation ofEnableMockAPIOperationSpec.- Parameter:
spec- the specification to process
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
apiId
API Id for the API to be activated -
retainDefaultMockResponses
Flag to retain generated mocked responses. When this is set to true, default mocked responses will be retained. If it's set to false, new default mocked responses will be generated using the examples, schema in the API -
apiId
API Id for the API to be activated- Gibt zurück:
this.
-
retainDefaultMockResponses
public EnableMockAPIOperationSpec retainDefaultMockResponses(@Nullable @Nullable Boolean retainDefaultMockResponses) Flag to retain generated mocked responses. When this is set to true, default mocked responses will be retained. If it's set to false, new default mocked responses will be generated using the examples, schema in the API- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-