WithRawResponse

interface WithRawResponse

A view of NetworkProgramService that provides access to raw HTTP responses for each method.

Inheritors

Functions

Link copied to clipboard
@MustBeClosed
open fun list(requestOptions: RequestOptions): HttpResponseFor<NetworkProgramListPage>

@MustBeClosed
abstract fun list(params: NetworkProgramListParams = NetworkProgramListParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<NetworkProgramListPage>

Returns a raw HTTP response for get /v1/network_programs, but is otherwise the same as NetworkProgramService.list.

Link copied to clipboard
@MustBeClosed
abstract fun retrieve(params: NetworkProgramRetrieveParams, requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<NetworkProgram>
@MustBeClosed
open fun retrieve(networkProgramToken: String, requestOptions: RequestOptions): HttpResponseFor<NetworkProgram>

@MustBeClosed
open fun retrieve(networkProgramToken: String, params: NetworkProgramRetrieveParams = NetworkProgramRetrieveParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<NetworkProgram>

Returns a raw HTTP response for get /v1/network_programs/{network_program_token}, but is otherwise the same as NetworkProgramService.retrieve.

Link copied to clipboard

Returns a view of this service with the given option modifications applied.