code: public void marshall(Operation operation, ProtocolMarshaller protocolMarshaller) {
  
          if (operation == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(operation.getId(), ID_BINDING);
              protocolMarshaller.marshall(operation.getResourceName(), RESOURCENAME_BINDING);
              protocolMarshaller.marshall(operation.getResourceType(), RESOURCETYPE_BINDING);
              protocolMarshaller.marshall(operation.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(operation.getLocation(), LOCATION_BINDING);
              protocolMarshaller.marshall(operation.getIsTerminal(), ISTERMINAL_BINDING);
              protocolMarshaller.marshall(operation.getOperationDetails(), OPERATIONDETAILS_BINDING);
              protocolMarshaller.marshall(operation.getOperationType(), OPERATIONTYPE_BINDING);
              protocolMarshaller.marshall(operation.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(operation.getStatusChangedAt(), STATUSCHANGEDAT_BINDING);
              protocolMarshaller.marshall(operation.getErrorCode(), ERRORCODE_BINDING);
              protocolMarshaller.marshall(operation.getErrorDetails(), ERRORDETAILS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.