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

package operations

import (
	"github.com/airbytehq/terraform-provider-airbyte/internal/sdk/models/shared"
	"net/http"
)

type PutSourceEmailoctopusRequest struct {
	SourceID                     string                               `pathParam:"style=simple,explode=false,name=sourceId"`
	SourceEmailoctopusPutRequest *shared.SourceEmailoctopusPutRequest `request:"mediaType=application/json"`
}

func (o *PutSourceEmailoctopusRequest) GetSourceID() string {
	if o == nil {
		return ""
	}
	return o.SourceID
}

func (o *PutSourceEmailoctopusRequest) GetSourceEmailoctopusPutRequest() *shared.SourceEmailoctopusPutRequest {
	if o == nil {
		return nil
	}
	return o.SourceEmailoctopusPutRequest
}

type PutSourceEmailoctopusResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (o *PutSourceEmailoctopusResponse) GetContentType() string {
	if o == nil {
		return ""
	}
	return o.ContentType
}

func (o *PutSourceEmailoctopusResponse) GetStatusCode() int {
	if o == nil {
		return 0
	}
	return o.StatusCode
}

func (o *PutSourceEmailoctopusResponse) GetRawResponse() *http.Response {
	if o == nil {
		return nil
	}
	return o.RawResponse
}
