Sha256: 0e1575b8c4d2b9aedaa1ac65a1dea1fecb696f9f42ed548ba3a64c4e393799c5

Contents?: true

Size: 1.79 KB

Versions: 5

Compression:

Stored size: 1.79 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::V6_4_0_36
  module Models
    #
    # Describes a network reference in a service.
    #
    class NetworkRef

      include MsRestAzure

      # @return [String] Name of the network
      attr_accessor :name

      # @return [Array<EndpointRef>] A list of endpoints that are exposed on
      # this network.
      attr_accessor :endpoint_refs


      #
      # Mapper for NetworkRef class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'NetworkRef',
          type: {
            name: 'Composite',
            class_name: 'NetworkRef',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              endpoint_refs: {
                client_side_validation: true,
                required: false,
                serialized_name: 'endpointRefs',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'EndpointRefElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'EndpointRef'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.4.0.36/generated/azure_service_fabric/models/network_ref.rb
azure_service_fabric-0.18.0 lib/6.4.0.36/generated/azure_service_fabric/models/network_ref.rb
azure_service_fabric-0.17.2 lib/6.4.0.36/generated/azure_service_fabric/models/network_ref.rb
azure_service_fabric-0.17.1 lib/6.4.0.36/generated/azure_service_fabric/models/network_ref.rb
azure_service_fabric-0.17.0 lib/6.4.0.36/generated/azure_service_fabric/models/network_ref.rb