// 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 UpdateTagRequest struct {
	TagID           string                 `pathParam:"style=simple,explode=false,name=tagId"`
	TagPatchRequest shared.TagPatchRequest `request:"mediaType=application/json"`
}

func (o *UpdateTagRequest) GetTagID() string {
	if o == nil {
		return ""
	}
	return o.TagID
}

func (o *UpdateTagRequest) GetTagPatchRequest() shared.TagPatchRequest {
	if o == nil {
		return shared.TagPatchRequest{}
	}
	return o.TagPatchRequest
}

type UpdateTagResponse 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
	// Successful operation
	TagResponse *shared.TagResponse
}

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

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

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

func (o *UpdateTagResponse) GetTagResponse() *shared.TagResponse {
	if o == nil {
		return nil
	}
	return o.TagResponse
}
