Accessing HDRP's Volume in script

HDRP uses Volume for post processing. I am trying to access this feature in my C# script. I can however access the Depth Of Field attribute, how do I access the Near Blur and Far Blur values?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;

public class LimitDepthOfField : MonoBehaviour {
   
    public Volume postProcessVolume;
    DepthOfField dof;
    // Start is called before the first frame update
    void Start () {

    }

    void ChangeValue() {
            if (postProcessVolume.profile.TryGet<DepthOfField> (out DepthOfField tempB)) {
               dof = tempB;
               //Access FarBlur Start Value
            }
    }
}

Those are all just properties of the dof object you have. For example, dof.farFocusEnd.value If you wanted to change one of the values, you’d use the Override method: dof.farFocusEnd.Override(someNewValue)