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

package components

// TranscodeSession - The transcode session if item is currently being transcoded
type TranscodeSession struct {
	Complete                *bool    `json:"complete,omitempty"`
	Context                 *string  `json:"context,omitempty"`
	Duration                *int64   `json:"duration,omitempty"`
	Error                   *bool    `json:"error,omitempty"`
	Key                     *string  `json:"key,omitempty"`
	Progress                *float64 `json:"progress,omitempty"`
	Protocol                *string  `json:"protocol,omitempty"`
	Size                    *int64   `json:"size,omitempty"`
	SourceAudioCodec        *string  `json:"sourceAudioCodec,omitempty"`
	SourceVideoCodec        *string  `json:"sourceVideoCodec,omitempty"`
	Speed                   *float64 `json:"speed,omitempty"`
	Throttled               *bool    `json:"throttled,omitempty"`
	TranscodeHwFullPipeline *bool    `json:"transcodeHwFullPipeline,omitempty"`
	TranscodeHwRequested    *bool    `json:"transcodeHwRequested,omitempty"`
}

func (t *TranscodeSession) GetComplete() *bool {
	if t == nil {
		return nil
	}
	return t.Complete
}

func (t *TranscodeSession) GetContext() *string {
	if t == nil {
		return nil
	}
	return t.Context
}

func (t *TranscodeSession) GetDuration() *int64 {
	if t == nil {
		return nil
	}
	return t.Duration
}

func (t *TranscodeSession) GetError() *bool {
	if t == nil {
		return nil
	}
	return t.Error
}

func (t *TranscodeSession) GetKey() *string {
	if t == nil {
		return nil
	}
	return t.Key
}

func (t *TranscodeSession) GetProgress() *float64 {
	if t == nil {
		return nil
	}
	return t.Progress
}

func (t *TranscodeSession) GetProtocol() *string {
	if t == nil {
		return nil
	}
	return t.Protocol
}

func (t *TranscodeSession) GetSize() *int64 {
	if t == nil {
		return nil
	}
	return t.Size
}

func (t *TranscodeSession) GetSourceAudioCodec() *string {
	if t == nil {
		return nil
	}
	return t.SourceAudioCodec
}

func (t *TranscodeSession) GetSourceVideoCodec() *string {
	if t == nil {
		return nil
	}
	return t.SourceVideoCodec
}

func (t *TranscodeSession) GetSpeed() *float64 {
	if t == nil {
		return nil
	}
	return t.Speed
}

func (t *TranscodeSession) GetThrottled() *bool {
	if t == nil {
		return nil
	}
	return t.Throttled
}

func (t *TranscodeSession) GetTranscodeHwFullPipeline() *bool {
	if t == nil {
		return nil
	}
	return t.TranscodeHwFullPipeline
}

func (t *TranscodeSession) GetTranscodeHwRequested() *bool {
	if t == nil {
		return nil
	}
	return t.TranscodeHwRequested
}
