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

package components

type TorServiceDescriptor struct {
	AlgorithmName *string `json:"algorithm_name,omitempty"`
	Hash          *string `json:"hash,omitempty"`
	HashBits      *int    `json:"hash_bits,omitempty"`
	Onion         *string `json:"onion,omitempty"`
}

func (o *TorServiceDescriptor) GetAlgorithmName() *string {
	if o == nil {
		return nil
	}
	return o.AlgorithmName
}

func (o *TorServiceDescriptor) GetHash() *string {
	if o == nil {
		return nil
	}
	return o.Hash
}

func (o *TorServiceDescriptor) GetHashBits() *int {
	if o == nil {
		return nil
	}
	return o.HashBits
}

func (o *TorServiceDescriptor) GetOnion() *string {
	if o == nil {
		return nil
	}
	return o.Onion
}
