Sha256: 9f5699b2cb4b27e06d693df4f1e325513d839387d765036b2ec32a87e6f1ae78

Contents?: true

Size: 1.79 KB

Versions: 3

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_5_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

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/network_ref.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/network_ref.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/network_ref.rb