Instead of:
public int MaxJumps => maxJumps;
[SerializeField] int maxJumps = 1;
You can use [field: SerializeField]
on a proper C# property to tell Unity to serialize the backing field.
[field: SerializeField]
public int MaxJumps { get; private set; }