# FunctionResponsePart.Companion


```
public static class FunctionResponsePart.Companion
```

<br />

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/FunctionResponsePart` | `https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/FunctionResponsePart.Companion#create(kotlin.String,kotlin.collections.Map)(@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/lang/String.html name, @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/util/Map.html<@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/lang/String.html, https://developer.android.com/reference/java/lang/Object.html> response)` |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/FunctionResponsePart` | `https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/FunctionResponsePart.Companion#create(kotlin.String,kotlin.String,kotlin.collections.Map)( https://developer.android.com/reference/java/lang/String.html id, @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/lang/String.html name, @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/util/Map.html<@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/lang/String.html, https://developer.android.com/reference/java/lang/Object.html> response )` |

## Public methods

### create

```
public static final @NonNull FunctionResponsePart create(@NonNull String name, @NonNull Map<@NonNull String, Object> response)
```

### create

```
public static final @NonNull FunctionResponsePart create(
    String id,
    @NonNull String name,
    @NonNull Map<@NonNull String, Object> response
)
```