code: public void marshall(PhoneNumber phoneNumber, ProtocolMarshaller protocolMarshaller) {
  
          if (phoneNumber == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(phoneNumber.getPhoneNumberId(), PHONENUMBERID_BINDING);
              protocolMarshaller.marshall(phoneNumber.getE164PhoneNumber(), E164PHONENUMBER_BINDING);
              protocolMarshaller.marshall(phoneNumber.getProductType(), PRODUCTTYPE_BINDING);
              protocolMarshaller.marshall(phoneNumber.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(phoneNumber.getCapabilities(), CAPABILITIES_BINDING);
              protocolMarshaller.marshall(phoneNumber.getAssociations(), ASSOCIATIONS_BINDING);
              protocolMarshaller.marshall(phoneNumber.getCreatedTimestamp(), CREATEDTIMESTAMP_BINDING);
              protocolMarshaller.marshall(phoneNumber.getUpdatedTimestamp(), UPDATEDTIMESTAMP_BINDING);
              protocolMarshaller.marshall(phoneNumber.getDeletionTimestamp(), DELETIONTIMESTAMP_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.