// Path: src/main/java/uk/co/visalia/brightpearl/apiclient/multimessage/OnFailOption.java
// public enum OnFailOption {
// 
//     /**
//      * Cancel the processing of subsequent requests in a multi-message batch when one fails. This option cannot be used
//      * with the {@link ProcessingMode#PARALLEL} processing option.
//      */
//     STOP,
// 
//     /**
//      * Continue processing all requests in a multi-message regardless of failures.
//      */
//     CONTINUE
// 
// }
// 
// Path: src/main/java/uk/co/visalia/brightpearl/apiclient/multimessage/ProcessingMode.java
// public enum ProcessingMode {
// 
//     /**
//      * Process the individual requests of a multi-message in parallel. This option cannot be used with {@link OnFailOption#STOP}.
//      */
//     PARALLEL,
// 
//     /**
//      * Process the individual requests of a multi-message in sequence.
//      */
//     SEQUENTIAL
// 
// }


import uk.co.visalia.brightpearl.apiclient.multimessage.OnFailOption;
import uk.co.visalia.brightpearl.apiclient.multimessage.ProcessingMode;
import java.util.Collections;
import java.util.List;
/*
 * Copyright 2014 David Morrissey
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package uk.co.visalia.brightpearl.apiclient.client.multimessage;



/**
 * For internal use only. Represents the JSON body of a multimessage request.
 */
public class MultiMessage {

    private ProcessingMode processingMode;

// Path: src/main/java/uk/co/visalia/brightpearl/apiclient/multimessage/OnFailOption.java
// public enum OnFailOption {
// 
//     /**
//      * Cancel the processing of subsequent requests in a multi-message batch when one fails. This option cannot be used
//      * with the {@link ProcessingMode#PARALLEL} processing option.
//      */
//     STOP,
// 
//     /**
//      * Continue processing all requests in a multi-message regardless of failures.
//      */
//     CONTINUE
// 
// }
// 
// Path: src/main/java/uk/co/visalia/brightpearl/apiclient/multimessage/ProcessingMode.java
// public enum ProcessingMode {
// 
//     /**
//      * Process the individual requests of a multi-message in parallel. This option cannot be used with {@link OnFailOption#STOP}.
//      */
//     PARALLEL,
// 
//     /**
//      * Process the individual requests of a multi-message in sequence.
//      */
//     SEQUENTIAL
// 
// }


// Path: src/main/java/uk/co/visalia/brightpearl/apiclient/client/multimessage/MultiMessage.java
import uk.co.visalia.brightpearl.apiclient.multimessage.OnFailOption;
import uk.co.visalia.brightpearl.apiclient.multimessage.ProcessingMode;
import java.util.Collections;
import java.util.List;

/*
 * Copyright 2014 David Morrissey
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package uk.co.visalia.brightpearl.apiclient.client.multimessage;



/**
 * For internal use only. Represents the JSON body of a multimessage request.
 */
public class MultiMessage {

    private ProcessingMode processingMode;

    private OnFailOption onFail;