# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Resources2::Mgmt::V2020_06_01 module Models # # The predicted change to the resource property. # class WhatIfPropertyChange include MsRestAzure2 # @return [String] The path of the property. attr_accessor :path # @return [PropertyChangeType] The type of property change. Possible # values include: 'Create', 'Delete', 'Modify', 'Array' attr_accessor :property_change_type # @return The value of the property before the deployment is executed. attr_accessor :before # @return The value of the property after the deployment is executed. attr_accessor :after # @return [Array] Nested property changes. attr_accessor :children # # Mapper for WhatIfPropertyChange class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WhatIfPropertyChange', type: { name: 'Composite', class_name: 'WhatIfPropertyChange', model_properties: { path: { client_side_validation: true, required: true, serialized_name: 'path', type: { name: 'String' } }, property_change_type: { client_side_validation: true, required: true, serialized_name: 'propertyChangeType', type: { name: 'Enum', module: 'PropertyChangeType' } }, before: { client_side_validation: true, required: false, serialized_name: 'before', type: { name: 'Object' } }, after: { client_side_validation: true, required: false, serialized_name: 'after', type: { name: 'Object' } }, children: { client_side_validation: true, required: false, serialized_name: 'children', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'WhatIfPropertyChangeElementType', type: { name: 'Composite', class_name: 'WhatIfPropertyChange' } } } } } } } end end end end