Sha256: 391ecb3e9f5916c97ced3ee5bacbbd2fd0e89d959845eb68180f10f02e571ffc

Contents?: true

Size: 1.56 KB

Versions: 2

Compression:

Stored size: 1.56 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::ServiceFabric::V7_0_0_42
  module Models
    #
    # This type describes a network resource.
    #
    class NetworkResourceDescription

      include MsRestAzure

      # @return [String] Name of the Network resource.
      attr_accessor :name

      # @return [NetworkResourceProperties] Describes properties of a network
      # resource.
      attr_accessor :properties


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/network_resource_description.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/network_resource_description.rb