# 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 # # Describes a container endpoint. # class EndpointProperties include MsRestAzure # @return [String] The name of the endpoint. attr_accessor :name # @return [Integer] Port used by the container. attr_accessor :port # # Mapper for EndpointProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EndpointProperties', type: { name: 'Composite', class_name: 'EndpointProperties', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, port: { client_side_validation: true, required: false, serialized_name: 'port', type: { name: 'Number' } } } } } end end end end