Sha256: 6987171403e6feed9ab1c835b3f537aa173ca6b02fd2a5375f64806ce5c43db3

Contents?: true

Size: 1.55 KB

Versions: 2

Compression:

Stored size: 1.55 KB

Contents

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

module Azure::NotificationHubs::Mgmt::V2017_04_01
  module Models
    #
    # Parameters supplied to the Check Name Availability for Namespace and
    # NotificationHubs.
    #
    class CheckNameAvailabilityRequestParameters

      include MsRestAzure

      # @return [String] Resource name
      attr_accessor :name

      # @return [String] Resource type
      attr_accessor :type


      #
      # Mapper for CheckNameAvailabilityRequestParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CheckNameAvailabilityRequestParameters',
          type: {
            name: 'Composite',
            class_name: 'CheckNameAvailabilityRequestParameters',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Name',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'Type',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_notification_hubs-0.16.0 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb
azure_mgmt_notification_hubs-0.15.2 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb