Klasse UpdateApiOperationSpec
java.lang.Object
io.github.primelib.webmethodsapigateway4j.operations.UpdateApiOperationSpec
UpdateApi
This REST operation is used to update an API by importing a file, url or inline. While updating the API, visibility of the operations can be set by enabling or disabling the operations. Disabled operations will not be exposed to the customers. By default, all the operations are exposed to the consumers. When updating the API using file or url, API Gateway overwrite the resources/operations for the API. But it will retain the maturity state, scopes, visibility and if API mocking is enabled, then default mocked responses, mocked conditions and IS services will also be retained.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NonNull StringapiId()API Id for the API to be updatedAPI Id for the API to be updatedprotected booleanbooleaninthashCode()@Nullable BooleanWhen an API is updated using a URL / file, the existing tags will be overwritten if this value is true.overwriteTags(@Nullable Boolean overwriteTags) When an API is updated using a URL / file, the existing tags will be overwritten if this value is true.@NonNull UpdateAPIBpayload()payloadpayload(@NonNull UpdateAPIB payload) payloadtoString()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
-
UpdateApiOperationSpec
Constructs a validated instance ofUpdateApiOperationSpec.- 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 updated -
overwriteTags
When an API is updated using a URL / file, the existing tags will be overwritten if this value is true. -
payload
payload -
apiId
API Id for the API to be updated- Gibt zurück:
this.
-
overwriteTags
When an API is updated using a URL / file, the existing tags will be overwritten if this value is true.- Gibt zurück:
this.
-
payload
-
equals
-
canEqual
-
hashCode
-
toString
-