// ProcessorAsFile returns a proccessor as a CreateProcessorFilePayload
ProcessorAsFile returns a proccessor as a CreateProcessorFilePayload
// ProcessorAsFile returns a proccessor as a CreateProcessorFilePayload
func (p *ProcessorStream) ProcessorAsFile() CreateProcessorFilePayload {
	return CreateProcessorFilePayload{
		Name:        p.Name,
		SQL:         p.SQL,
		Runners:     p.Runners,
		ClusterName: p.ClusterName,
		Namespace:   p.Namespace,
		Pipeline:    p.Pipeline,
		ProcessorID: p.ProcessorID,
	}
}
func ( p * ProcessorStream ) ProcessorAsFile ( ) CreateProcessorFilePayload { return CreateProcessorFilePayload { Name : p . Name , SQL : p . SQL , Runners : p . Runners , ClusterName : p . ClusterName , Namespace : p . Namespace , Pipeline : p . Pipeline , ProcessorID : p . ProcessorID , } }
ProcessorAsFile returns a proccessor as a CreateProcessorFilePayload
ProcessorAsFile returns a proccessor as a CreateProcessorFilePayload