# Peer

## Properties

| Name               | Type                  | Description                                                           | Notes       |
| ------------------ | --------------------- | --------------------------------------------------------------------- | ----------- |
| **Id**             | Pointer to **string** | Identifier of the LAN connected to the Cross Connect.                 | \[optional] |
| **Name**           | Pointer to **string** | Name of the LAN connected to the Cross Connect.                       | \[optional] |
| **DatacenterId**   | Pointer to **string** | Identifier of the virtual data center connected to the Cross Connect. | \[optional] |
| **DatacenterName** | Pointer to **string** | Name of the virtual data center connected to the Cross Connect.       | \[optional] |
| **Location**       | Pointer to **string** | Location of the virtual data center connected to the Cross Connect.   | \[optional] |

## Methods

### NewPeer

`func NewPeer() *Peer`

NewPeer instantiates a new Peer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

### NewPeerWithDefaults

`func NewPeerWithDefaults() *Peer`

NewPeerWithDefaults instantiates a new Peer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

### GetId

`func (o *Peer) GetId() string`

GetId returns the Id field if non-nil, zero value otherwise.

### GetIdOk

`func (o *Peer) GetIdOk() (*string, bool)`

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetId

`func (o *Peer) SetId(v string)`

SetId sets Id field to given value.

### HasId

`func (o *Peer) HasId() bool`

HasId returns a boolean if a field has been set.

### GetName

`func (o *Peer) GetName() string`

GetName returns the Name field if non-nil, zero value otherwise.

### GetNameOk

`func (o *Peer) GetNameOk() (*string, bool)`

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetName

`func (o *Peer) SetName(v string)`

SetName sets Name field to given value.

### HasName

`func (o *Peer) HasName() bool`

HasName returns a boolean if a field has been set.

### GetDatacenterId

`func (o *Peer) GetDatacenterId() string`

GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.

### GetDatacenterIdOk

`func (o *Peer) GetDatacenterIdOk() (*string, bool)`

GetDatacenterIdOk returns a tuple with the DatacenterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetDatacenterId

`func (o *Peer) SetDatacenterId(v string)`

SetDatacenterId sets DatacenterId field to given value.

### HasDatacenterId

`func (o *Peer) HasDatacenterId() bool`

HasDatacenterId returns a boolean if a field has been set.

### GetDatacenterName

`func (o *Peer) GetDatacenterName() string`

GetDatacenterName returns the DatacenterName field if non-nil, zero value otherwise.

### GetDatacenterNameOk

`func (o *Peer) GetDatacenterNameOk() (*string, bool)`

GetDatacenterNameOk returns a tuple with the DatacenterName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetDatacenterName

`func (o *Peer) SetDatacenterName(v string)`

SetDatacenterName sets DatacenterName field to given value.

### HasDatacenterName

`func (o *Peer) HasDatacenterName() bool`

HasDatacenterName returns a boolean if a field has been set.

### GetLocation

`func (o *Peer) GetLocation() string`

GetLocation returns the Location field if non-nil, zero value otherwise.

### GetLocationOk

`func (o *Peer) GetLocationOk() (*string, bool)`

GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetLocation

`func (o *Peer) SetLocation(v string)`

SetLocation sets Location field to given value.

### HasLocation

`func (o *Peer) HasLocation() bool`

HasLocation returns a boolean if a field has been set.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/golang-sdk/models/peer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
