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

package components

type OpcUa struct {
	Endpoints         []OpcUaEndpoint `json:"endpoints,omitempty"`
	MaxChunkSize      *int            `json:"max_chunk_size,omitempty"`
	MaxMessageSize    *int            `json:"max_message_size,omitempty"`
	ProtocolVersion   *int            `json:"protocol_version,omitempty"`
	ReceiveBufferSize *int            `json:"receive_buffer_size,omitempty"`
	SendBufferSize    *int            `json:"send_buffer_size,omitempty"`
}

func (o *OpcUa) GetEndpoints() []OpcUaEndpoint {
	if o == nil {
		return nil
	}
	return o.Endpoints
}

func (o *OpcUa) GetMaxChunkSize() *int {
	if o == nil {
		return nil
	}
	return o.MaxChunkSize
}

func (o *OpcUa) GetMaxMessageSize() *int {
	if o == nil {
		return nil
	}
	return o.MaxMessageSize
}

func (o *OpcUa) GetProtocolVersion() *int {
	if o == nil {
		return nil
	}
	return o.ProtocolVersion
}

func (o *OpcUa) GetReceiveBufferSize() *int {
	if o == nil {
		return nil
	}
	return o.ReceiveBufferSize
}

func (o *OpcUa) GetSendBufferSize() *int {
	if o == nil {
		return nil
	}
	return o.SendBufferSize
}
