Sha256: f228664d7b38d6dd5851179261955e391ae137034090690f8cce6bad4d3ce97b

Contents?: true

Size: 1.91 KB

Versions: 11

Compression:

Stored size: 1.91 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::Monitor::Mgmt::V2017_04_01
  module Models
    #
    # An action group object for the body of patch operations.
    #
    class ActionGroupPatchBody

      include MsRestAzure

      # @return [Hash{String => String}] Resource tags
      attr_accessor :tags

      # @return [Boolean] Indicates whether this action group is enabled. If an
      # action group is not enabled, then none of its actions will be
      # activated. Default value: true .
      attr_accessor :enabled


      #
      # Mapper for ActionGroupPatchBody class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ActionGroupPatchBody',
          type: {
            name: 'Composite',
            class_name: 'ActionGroupPatchBody',
            model_properties: {
              tags: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tags',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              enabled: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.enabled',
                default_value: true,
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.18.0 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.17.6 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.17.5 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.17.4 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.17.3 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.17.2 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.17.1 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.17.0 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.16.1 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb
azure_mgmt_monitor-0.16.0 lib/2017-04-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb