/*
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

/**
 * The versioning configuration for artifacts built for this branch
 *
 */
class BranchConfigurationArtifactVersioning {
  /**
   * Create a BranchConfigurationArtifactVersioning.
   * @member {string} [buildNumberFormat] Possible values include: 'buildId',
   * 'timestamp'
   */
  constructor() {
  }

  /**
   * Defines the metadata of BranchConfigurationArtifactVersioning
   *
   * @returns {object} metadata of BranchConfigurationArtifactVersioning
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'BranchConfigurationArtifactVersioning',
      type: {
        name: 'Composite',
        className: 'BranchConfigurationArtifactVersioning',
        modelProperties: {
          buildNumberFormat: {
            required: false,
            serializedName: 'buildNumberFormat',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = BranchConfigurationArtifactVersioning;
