# FetchModelResult

@Incubating
@NullMarked
interface FetchModelResult<T : Model?, M>(source)

Carries the result of a single model fetch operation.

#### Since

9.3.0

#### Parameters

<T>

The type of target from which the model was fetched.

<M>

The fetched model type.

## Functions

getFailures
Link copied to clipboard
@Incubating
abstract fun getFailures(): Collection<out Failure>
Returns the failures that occurred during the fetch operation.
getModel
Link copied to clipboard
@Nullable
@Incubating
abstract fun getModel(): @Nullable M
Returns the fetched model.
getTarget
Link copied to clipboard
@Nullable
@Incubating
abstract fun getTarget(): @Nullable T
Returns the target from which the model was fetched.