Sha256: 5a0673da82b6310e2bf0fac08619f7386c5e182f179d4cb37ad203b64b40fdcc

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

# 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::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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.8.0 lib/generated/azure_mgmt_iot_hub/models/feedback_properties.rb