Sha256: e6408d418bae7b50ab5e914733b16b3c459e91a701f498ad9e239d2a5a8c9aea

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::MobileEngagement
  module Models
    #
    # Send only to users whose first app use is more than {threshold} days old.
    #
    class EngageOldUsersFilter < Filter

      include MsRestAzure

      include MsRest::JSONable

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

      attr_accessor :type

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


      #
      # Mapper for EngageOldUsersFilter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'engage-old-users',
          type: {
            name: 'Composite',
            class_name: 'EngageOldUsersFilter',
            model_properties: {
              type: {
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              threshold: {
                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.12.0 lib/generated/azure_mgmt_mobile_engagement/models/engage_old_users_filter.rb
azure_mgmt_mobile_engagement-0.11.0 lib/generated/azure_mgmt_mobile_engagement/models/engage_old_users_filter.rb