Sha256: 1cbce0ef33ac52be6d5b8e415685a113ce75868bc7d9702f0952166b7339f95d

Contents?: true

Size: 1.9 KB

Versions: 3

Compression:

Stored size: 1.9 KB

Contents

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

module Azure::ARM::IotHub
  module Models
    #
    # The Feedback Queue properties.
    #
    class FeedbackProperties

      include MsRestAzure

      # @return [Duration] The lock duration for the feedback queue. Range: 5
      # Sec (PT5S) - 5 Min (PT5M).
      attr_accessor :lock_duration_as_iso8601

      # @return [Duration] The time to live for the feedback queue. Range: 1
      # Min (PT1M) - 2 Days (P2D).
      attr_accessor :ttl_as_iso8601

      # @return [Integer] The max delivery count. Range : 1-100.
      attr_accessor :max_delivery_count


      #
      # Mapper for FeedbackProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'FeedbackProperties',
          type: {
            name: 'Composite',
            class_name: 'FeedbackProperties',
            model_properties: {
              lock_duration_as_iso8601: {
                required: false,
                serialized_name: 'lockDurationAsIso8601',
                type: {
                  name: 'TimeSpan'
                }
              },
              ttl_as_iso8601: {
                required: false,
                serialized_name: 'ttlAsIso8601',
                type: {
                  name: 'TimeSpan'
                }
              },
              max_delivery_count: {
                required: false,
                serialized_name: 'maxDeliveryCount',
                constraints: {
                  InclusiveMaximum: 100,
                  InclusiveMinimum: 1
                },
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.7.0 lib/generated/azure_mgmt_iot_hub/models/feedback_properties.rb
azure_mgmt_iot_hub-0.6.0 lib/generated/azure_mgmt_iot_hub/models/feedback_properties.rb
azure_mgmt_iot_hub-0.5.0 lib/generated/azure_mgmt_iot_hub/models/feedback_properties.rb