// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type Peer struct {
	IP        *string `json:"ip,omitempty"`
	Port      *int64  `json:"port,omitempty"`
	PublicKey *string `json:"public_key,omitempty"`
	Type      *string `json:"type,omitempty"`
	Version   *string `json:"version,omitempty"`
}

func (o *Peer) GetIP() *string {
	if o == nil {
		return nil
	}
	return o.IP
}

func (o *Peer) GetPort() *int64 {
	if o == nil {
		return nil
	}
	return o.Port
}

func (o *Peer) GetPublicKey() *string {
	if o == nil {
		return nil
	}
	return o.PublicKey
}

func (o *Peer) GetType() *string {
	if o == nil {
		return nil
	}
	return o.Type
}

func (o *Peer) GetVersion() *string {
	if o == nil {
		return nil
	}
	return o.Version
}
