---
url: "https://vueda.dev/v3/reference/api/py/vueda.core.serializers.fields/AvailableActionsField.md"
title: "AvailableActionsField"
---

# AvailableActionsField

## `__init__` {#--init--}

When a field is instantiated, we store the arguments that were used,
so that we can present a helpful representation of the object.

### Signature {#--init---signature}

`__init__(args, kwargs)`

#### Parameters {#--init---parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="--init---param-args">args</span> |  | no |  |  |
| <span id="--init---param-kwargs">kwargs</span> |  | no |  |  |

### Source {#--init---source}

`.venv/lib/python3.12/site-packages/rest_framework/fields.py:615`

## `get_attribute` {#get_attribute}

Given the *outgoing* object instance, return the primitive value
that should be used for this field.

### Signature {#get_attribute-signature}

`get_attribute(self, instance)`

#### Parameters {#get_attribute-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="get_attribute-param-instance">instance</span> |  | yes |  |  |

### Source {#get_attribute-source}

`server/vueda/core/serializers/fields.py:71`

## `get_value` {#get_value}

Given the *incoming* primitive data, return the value for this field
that should be validated and transformed to a native value.

### Signature {#get_value-signature}

`get_value(self, instance)`

#### Parameters {#get_value-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="get_value-param-instance">instance</span> |  | yes |  |  |

### Source {#get_value-source}

`server/vueda/core/serializers/fields.py:37`

## `run_child_validation` {#run_child_validation}

### Signature {#run_child_validation-signature}

`run_child_validation(self, data)`

#### Parameters {#run_child_validation-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="run_child_validation-param-data">data</span> |  | yes |  |  |

### Source {#run_child_validation-source}

`server/vueda/core/serializers/fields.py:80`

## `to_internal_value` {#to_internal_value}

List of dicts of native values &lt;- List of dicts of primitive datatypes.

### Signature {#to_internal_value-signature}

`to_internal_value(self, data)`

#### Parameters {#to_internal_value-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="to_internal_value-param-data">data</span> |  | yes |  |  |

### Source {#to_internal_value-source}

`server/vueda/core/serializers/fields.py:74`

## `to_representation` {#to_representation}

List of object instances -&gt; List of dicts of primitive datatypes.

### Signature {#to_representation-signature}

`to_representation(self, data)`

#### Parameters {#to_representation-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="to_representation-param-data">data</span> |  | yes |  |  |

### Source {#to_representation-source}

`server/vueda/core/serializers/fields.py:77`

## Source

`server/vueda/core/serializers/fields.py:26`
