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

package components

type AmqpProtocol struct {
	ID   *int    `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

func (o *AmqpProtocol) GetID() *int {
	if o == nil {
		return nil
	}
	return o.ID
}

func (o *AmqpProtocol) GetName() *string {
	if o == nil {
		return nil
	}
	return o.Name
}
