Class GetFlightsIdOperation


  • public class GetFlightsIdOperation
    extends GetFlightsIdOperationRefinement
    Lower part of the Operation. It has the operation declaration with its annotations.
    • Constructor Detail

      • GetFlightsIdOperation

        public GetFlightsIdOperation()
      • GetFlightsIdOperation

        public GetFlightsIdOperation​(org.mule.runtime.api.el.ExpressionLanguage arg0)
    • Method Detail

      • getFlightsId

        @Throws(com.mulesoft.connectivity.rest.commons.api.error.NullOnNotFoundErrorRequestErrorTypeProvider.class)
        @DisplayName("Get Flights By Id")
        @MediaType("application/json")
        @OutputResolver(output=GetFlightsIdOutputMetadataResolver.class,
                        attributes=HttpResponseAttributesMetadataResolver.class)
        public void getFlightsId​(@Config
                                 com.mulesoft.connectivity.rest.commons.api.configuration.RestConfiguration config,
                                 @Connection
                                 com.mulesoft.connectivity.rest.commons.api.connection.RestConnection connection,
                                 @DisplayName("Id")
                                 String idUriParam,
                                 @DisplayName("Dummy Query Param") @Summary("Dummy Query Param")
                                 String dummyQueryParamQueryParam,
                                 @DisplayName("Dummy Header") @Summary("Dummy Query Param")
                                 String dummyHeaderHeader,
                                 @ParameterGroup(name="Request Parameters")
                                 com.mulesoft.connectivity.rest.commons.api.operation.RequestParameters parameters,
                                 @ParameterGroup(name="Connector Overrides")
                                 com.mulesoft.connectivity.rest.commons.api.operation.ConfigurationOverrides overrides,
                                 org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,​Object> callback)
        This operation makes an HTTP GET request to the /flights/{ID} endpoint
        Overrides:
        getFlightsId in class GetFlightsIdOperationBase
        Parameters:
        config - the configuration to use
        connection - the connection to use
        idUriParam -
        dummyQueryParamQueryParam - A mandatory but dummy query parameter
        dummyHeaderHeader - A mandatory but dummy header
        parameters - the RequestParameters
        overrides - the ConfigurationOverrides
        callback - the operation's CompletionCallback