Sha256: 84a7e986cab135a8a9267d267dea8297f68b84b2717e394abd37dd8f43a28ca3

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 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::ServiceBus
  module Models
    #
    # AuthorizationRule properties.
    #
    class AuthorizationRuleProperties

      include MsRestAzure

      include MsRest::JSONable
      # @return [Array<AccessRights>] The rights associated with the rule.
      attr_accessor :rights


      #
      # Mapper for AuthorizationRuleProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AuthorizationRuleProperties',
          type: {
            name: 'Composite',
            class_name: 'AuthorizationRuleProperties',
            model_properties: {
              rights: {
                required: true,
                serialized_name: 'rights',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'AccessRightsElementType',
                      type: {
                        name: 'Enum',
                        module: 'AccessRights'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_service_bus-0.12.0 lib/generated/azure_mgmt_service_bus/models/authorization_rule_properties.rb
azure_mgmt_service_bus-0.11.0 lib/generated/azure_mgmt_service_bus/models/authorization_rule_properties.rb