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

package shared

// StreamProperties - The stream properties associated with a connection.
type StreamProperties struct {
	StreamName               *string                  `json:"streamName,omitempty"`
	SyncModes                []ConnectionSyncModeEnum `json:"syncModes,omitempty"`
	Streamnamespace          *string                  `json:"streamnamespace,omitempty"`
	DefaultCursorField       []string                 `json:"defaultCursorField,omitempty"`
	SourceDefinedCursorField *bool                    `json:"sourceDefinedCursorField,omitempty"`
	SourceDefinedPrimaryKey  [][]string               `json:"sourceDefinedPrimaryKey,omitempty"`
	PropertyFields           [][]string               `json:"propertyFields,omitempty"`
}

func (o *StreamProperties) GetStreamName() *string {
	if o == nil {
		return nil
	}
	return o.StreamName
}

func (o *StreamProperties) GetSyncModes() []ConnectionSyncModeEnum {
	if o == nil {
		return nil
	}
	return o.SyncModes
}

func (o *StreamProperties) GetStreamnamespace() *string {
	if o == nil {
		return nil
	}
	return o.Streamnamespace
}

func (o *StreamProperties) GetDefaultCursorField() []string {
	if o == nil {
		return nil
	}
	return o.DefaultCursorField
}

func (o *StreamProperties) GetSourceDefinedCursorField() *bool {
	if o == nil {
		return nil
	}
	return o.SourceDefinedCursorField
}

func (o *StreamProperties) GetSourceDefinedPrimaryKey() [][]string {
	if o == nil {
		return nil
	}
	return o.SourceDefinedPrimaryKey
}

func (o *StreamProperties) GetPropertyFields() [][]string {
	if o == nil {
		return nil
	}
	return o.PropertyFields
}
