class Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocationPropertiesDirect

The properties that define a direct peering location.

Attributes

bandwidth_offers[RW]

@return [Array<PeeringBandwidthOffer>] The list of bandwidth offers available at the peering location.

peering_facilities[RW]

@return [Array<DirectPeeringFacility>] The list of direct peering facilities at the peering location.

Private Class Methods

mapper() click to toggle source

Mapper for PeeringLocationPropertiesDirect class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location_properties_direct.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PeeringLocationPropertiesDirect',
    type: {
      name: 'Composite',
      class_name: 'PeeringLocationPropertiesDirect',
      model_properties: {
        peering_facilities: {
          client_side_validation: true,
          required: false,
          serialized_name: 'peeringFacilities',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DirectPeeringFacilityElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DirectPeeringFacility'
                }
            }
          }
        },
        bandwidth_offers: {
          client_side_validation: true,
          required: false,
          serialized_name: 'bandwidthOffers',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PeeringBandwidthOfferElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PeeringBandwidthOffer'
                }
            }
          }
        }
      }
    }
  }
end