text: /*
   * Copyright (c) Microsoft Corporation. All rights reserved.
   * Licensed under the MIT License. See License.txt in the project root for
   * license information.
   *
   * Code generated by Microsoft (R) AutoRest Code Generator.
   * Changes may cause incorrect behavior and will be lost if the code is
   * regenerated.
   */
  
  'use strict';
  
  const models = require('./index');
  
  /**
   * A utility class that serves as the umbrella for a number of 'intangible'
   * things such as quantities, structured values, etc.
   *
   * @extends models['Thing']
   */
  class Intangible extends models['Thing'] {
    /**
     * Create a Intangible.
     */
    constructor() {
      super();
    }
  
    /**
     * Defines the metadata of Intangible
     *
     * @returns {object} metadata of Intangible
     *
     */
    mapper() {
      return {
        required: false,
        serializedName: 'Intangible',
        type: {
          name: 'Composite',
          polymorphicDiscriminator: {
            serializedName: '_type',
            clientName: '_type'
          },
          uberParent: 'ResponseBase',
          className: 'Intangible',
          modelProperties: {
            _type: {
              required: true,
              serializedName: '_type',
              isPolymorphicDiscriminator: true,
              type: {
                name: 'String'
              }
            },
            id: {
              required: false,
              readOnly: true,
              serializedName: 'id',
              type: {
                name: 'String'
              }
            },
            readLink: {
              required: false,
              readOnly: true,
              serializedName: 'readLink',
              type: {
                name: 'String'
              }
            },
            webSearchUrl: {
              required: false,
              readOnly: true,
              serializedName: 'webSearchUrl',
              type: {
                name: 'String'
              }
            },
            potentialAction: {
              required: false,
              readOnly: true,
              serializedName: 'potentialAction',
              type: {
                name: 'Sequence',
                element: {
                    required: false,
                    serializedName: 'ActionElementType',
                    type: {
                      name: 'Composite',
                      polymorphicDiscriminator: {
                        serializedName: '_type',
                        clientName: '_type'
                      },
                      uberParent: 'ResponseBase',
                      className: 'Action'
                    }
                }
              }
            },
            immediateAction: {
              required: false,
              readOnly: true,
              serializedName: 'immediateAction',
              type: {
                name: 'Sequence',
                element: {
                    required: false,
                    serializedName: 'ActionElementType',
                    type: {
                      name: 'Composite',
                      polymorphicDiscriminator: {
                        serializedName: '_type',
                        clientName: '_type'
                      },
                      uberParent: 'ResponseBase',
                      className: 'Action'
                    }
                }
              }
            },
            preferredClickthroughUrl: {
              required: false,
              readOnly: true,
              serializedName: 'preferredClickthroughUrl',
              type: {
                name: 'String'
              }
            },
            adaptiveCard: {
              required: false,
              readOnly: true,
              serializedName: 'adaptiveCard',
              type: {
                name: 'String'
              }
            },
            name: {
              required: false,
              readOnly: true,
              serializedName: 'name',
              type: {
                name: 'String'
              }
            },
            url: {
              required: false,
              readOnly: true,
              serializedName: 'url',
              type: {
                name: 'String'
              }
            },
            entityPresentationInfo: {
              required: false,
              readOnly: true,
              serializedName: 'entityPresentationInfo',
              type: {
                name: 'Composite',
                polymorphicDiscriminator: {
                  serializedName: '_type',
                  clientName: '_type'
                },
                uberParent: 'EntitiesEntityPresentationInfo',
                className: 'EntitiesEntityPresentationInfo'
              }
            }
          }
        }
      };
    }
  }
  
  module.exports = Intangible;
  