# 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::Network::Mgmt::V2017_11_01 module Models # # Information about a hop between the source and the destination. # class ConnectivityHop include MsRestAzure # @return [String] The type of the hop. attr_accessor :type # @return [String] The ID of the hop. attr_accessor :id # @return [String] The IP address of the hop. attr_accessor :address # @return [String] The ID of the resource corresponding to this hop. attr_accessor :resource_id # @return [Array] List of next hop identifiers. attr_accessor :next_hop_ids # @return [Array] List of issues. attr_accessor :issues # # Mapper for ConnectivityHop class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { name: 'Composite', class_name: 'ConnectivityHop', model_properties: { type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, address: { client_side_validation: true, required: false, read_only: true, serialized_name: 'address', type: { name: 'String' } }, resource_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', type: { name: 'String' } }, next_hop_ids: { client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, issues: { client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { name: 'Composite', class_name: 'ConnectivityIssue' } } } } } } } end end end end