code: def test_torchbind_def_property_getter_setter(self):
      def foo_getter_setter_full():
          fooGetterSetter = (
              torch.classes._TorchScriptTesting._FooGetterSetter(5, 6)
          )
          # getX method intentionally adds 2 to x
          old = fooGetterSetter.x
          # setX method intentionally adds 2 to x
          fooGetterSetter.x = old + 4
          new = fooGetterSetter.x
          return old, new
  
      self.checkScript(foo_getter_setter_full, ())
  
      def foo_getter_setter_lambda():
          foo = (
              torch.classes._TorchScriptTesting._FooGetterSetterLambda(
                  5
              )
          )
          old = foo.x
          foo.x = old + 4
          new = foo.x
          return old, new
  
      self.checkScript(foo_getter_setter_lambda, ())
  
imports: import io
  import os
  import sys
  import copy
  import unittest
  import torch
  from typing import Optional
  from torch.testing._internal.jit_utils import JitTestCase
  from torch.testing._internal.common_utils import IS_FBCODE, IS_MACOS, IS_SANDCASTLE, IS_WINDOWS, find_library_location
  from torch.testing import FileCheck
label_desc: Use image node_id 6 for calling the TestTorchbind obj's underlying member method code with example usage: obj.test_torchbind_def_property_getter_setter() and returns: old,  new, old,  new