Sha256: f1990d2c713e620b0ed66f4c12e7448ae3720223c78e80e6e9a2f5889122b493

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

# 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::NetApp::Mgmt::V2020_07_01
  module Models
    #
    # revert a volume to the snapshot
    #
    class VolumeRevert

      include MsRestAzure

      # @return [String] Resource id of the snapshot
      attr_accessor :snapshot_id


      #
      # Mapper for VolumeRevert class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'volumeRevert',
          type: {
            name: 'Composite',
            class_name: 'VolumeRevert',
            model_properties: {
              snapshot_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'snapshotId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_netapp-0.23.0 lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_revert.rb
azure_mgmt_netapp-0.22.0 lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_revert.rb
azure_mgmt_netapp-0.21.0 lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_revert.rb