code: public void marshall(Workteam workteam, ProtocolMarshaller protocolMarshaller) {
  
          if (workteam == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(workteam.getWorkteamName(), WORKTEAMNAME_BINDING);
              protocolMarshaller.marshall(workteam.getMemberDefinitions(), MEMBERDEFINITIONS_BINDING);
              protocolMarshaller.marshall(workteam.getWorkteamArn(), WORKTEAMARN_BINDING);
              protocolMarshaller.marshall(workteam.getProductListingIds(), PRODUCTLISTINGIDS_BINDING);
              protocolMarshaller.marshall(workteam.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(workteam.getSubDomain(), SUBDOMAIN_BINDING);
              protocolMarshaller.marshall(workteam.getCreateDate(), CREATEDATE_BINDING);
              protocolMarshaller.marshall(workteam.getLastUpdatedDate(), LASTUPDATEDDATE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.