Sha256: 2c98dd28c706cddea72e4b3730c687448979a6ce94095151e1e510692a0963de

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 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::MobileEngagement::Mgmt::V2014_12_01
  module Models
    #
    # Send only to users who haven't used the app in the last {threshold} days.
    #
    class EngageIdleUsersFilter < Filter

      include MsRestAzure


      def initialize
        @type = "engage-idle-users"
      end

      attr_accessor :type

      # @return [Integer] An integer value representing the threshold to apply
      # on this filter.
      attr_accessor :threshold


      #
      # Mapper for EngageIdleUsersFilter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'engage-idle-users',
          type: {
            name: 'Composite',
            class_name: 'EngageIdleUsersFilter',
            model_properties: {
              type: {
                client_side_validation: true,
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              threshold: {
                client_side_validation: true,
                required: false,
                serialized_name: 'threshold',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.16.0 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/engage_idle_users_filter.rb
azure_mgmt_mobile_engagement-0.15.2 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/engage_idle_users_filter.rb