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

package components

type MoneroP2PResponseHeader struct {
	Command         *int   `json:"command,omitempty"`
	ExpectsResponse *bool  `json:"expects_response,omitempty"`
	Flags           *int   `json:"flags,omitempty"`
	Length          *int   `json:"length,omitempty"`
	ReturnCode      *int   `json:"return_code,omitempty"`
	Signature       *int64 `json:"signature,omitempty"`
	Version         *int   `json:"version,omitempty"`
}

func (o *MoneroP2PResponseHeader) GetCommand() *int {
	if o == nil {
		return nil
	}
	return o.Command
}

func (o *MoneroP2PResponseHeader) GetExpectsResponse() *bool {
	if o == nil {
		return nil
	}
	return o.ExpectsResponse
}

func (o *MoneroP2PResponseHeader) GetFlags() *int {
	if o == nil {
		return nil
	}
	return o.Flags
}

func (o *MoneroP2PResponseHeader) GetLength() *int {
	if o == nil {
		return nil
	}
	return o.Length
}

func (o *MoneroP2PResponseHeader) GetReturnCode() *int {
	if o == nil {
		return nil
	}
	return o.ReturnCode
}

func (o *MoneroP2PResponseHeader) GetSignature() *int64 {
	if o == nil {
		return nil
	}
	return o.Signature
}

func (o *MoneroP2PResponseHeader) GetVersion() *int {
	if o == nil {
		return nil
	}
	return o.Version
}
