# PropertyName

# PropertyName


```
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = [ElementType.METHOD, ElementType.FIELD])
public annotation PropertyName
```

<br />

*** ** * ** ***

Marks a field to be renamed when serialized.

## Summary

| ### Public methods |
|---|---|
| `abstract https://developer.android.com/reference/kotlin/java/lang/String.html` | `https://firebase.google.com/docs/reference/android/com/google/firebase/database/PropertyName#value()()` |

## Public methods

### value

```
public abstract String value()
```