This file is indexed.

/usr/lib/ruby/vendor_ruby/generated/azure_mgmt_mobile_engagement/models/notification_options.rb is in ruby-azure-mgmt-mobile-engagement 0.8.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::MobileEngagement
  module Models
    #
    # Model object.
    # 
    #
    class NotificationOptions

      include MsRestAzure

      # @return [String] Android 4.1+ only. Multi line message shown in
      # expanded notifications on Android 4.1+ devices. The `notificationType`
      # property must be set to `system`.
      # 
      attr_accessor :big_text

      # @return [String] URL of a remote image displayed in expanded
      # notifications on
      # Android 4.1+ devices with the following constraints:
      # * The URL length is limited to 2000 characters.
      # * The image size must be less than 4 MiB.
      # * The following MIME types are supported:
      # ** image/png
      # ** image/jpeg
      # ** image/gif
      # ** image/webp
      # ** image/bmp
      # ** image/x-bmp
      # ** image/x-ms-bmp
      # * URL scheme must be HTTP or HTTPS (with valid SSL certificate).
      # * Incompatible with `bigText`, only one of the fields can be set.
      # * The `notificationType` property must be set to `system`.
      # 
      attr_accessor :big_picture

      # @return [String] iOS only. The name of a sound file in the application
      # bundle. The sound in this file is played as an alert. If the sound file
      # doesn’t exist or default is specified as the value, the default alert
      # sound is played. The audio must be in one of the audio data formats
      # that are compatible with system sounds. The `deliveryTime` property
      # must be set to `any` or `background`.
      # 
      attr_accessor :sound

      # @return [String] The action text is the title of the right button of
      # the alert or the value of the unlock slider, where the value replaces
      # 'unlock' in 'slide to unlock'. 'View' (localized to the preferred
      # language) is used as the default value. The `deliveryTime` property
      # must be set to `any` or `background`.
      # 
      attr_accessor :action_text


      #
      # Mapper for NotificationOptions class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'NotificationOptions',
          type: {
            name: 'Composite',
            class_name: 'NotificationOptions',
            model_properties: {
              big_text: {
                required: false,
                serialized_name: 'bigText',
                constraints: {
                  MaxLength: 4000
                },
                type: {
                  name: 'String'
                }
              },
              big_picture: {
                required: false,
                serialized_name: 'bigPicture',
                constraints: {
                  MaxLength: 2000
                },
                type: {
                  name: 'String'
                }
              },
              sound: {
                required: false,
                serialized_name: 'sound',
                type: {
                  name: 'String'
                }
              },
              action_text: {
                required: false,
                serialized_name: 'actionText',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end