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

package components

type ServerConfig struct {
	AllowHTML          *bool   `json:"allow_html,omitempty"`
	ImageMessageLength *int    `json:"image_message_length,omitempty"`
	MaxBandwidth       *int    `json:"max_bandwidth,omitempty"`
	MaxUsers           *int    `json:"max_users,omitempty"`
	MessageLength      *int    `json:"message_length,omitempty"`
	RecordingAllowed   *bool   `json:"recording_allowed,omitempty"`
	WelcomeText        *string `json:"welcome_text,omitempty"`
}

func (o *ServerConfig) GetAllowHTML() *bool {
	if o == nil {
		return nil
	}
	return o.AllowHTML
}

func (o *ServerConfig) GetImageMessageLength() *int {
	if o == nil {
		return nil
	}
	return o.ImageMessageLength
}

func (o *ServerConfig) GetMaxBandwidth() *int {
	if o == nil {
		return nil
	}
	return o.MaxBandwidth
}

func (o *ServerConfig) GetMaxUsers() *int {
	if o == nil {
		return nil
	}
	return o.MaxUsers
}

func (o *ServerConfig) GetMessageLength() *int {
	if o == nil {
		return nil
	}
	return o.MessageLength
}

func (o *ServerConfig) GetRecordingAllowed() *bool {
	if o == nil {
		return nil
	}
	return o.RecordingAllowed
}

func (o *ServerConfig) GetWelcomeText() *string {
	if o == nil {
		return nil
	}
	return o.WelcomeText
}
