generated

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package generated provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.

Package generated provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.

Index

Constants

View Source
const (
	BasicAuthScopes = "BasicAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewGetApplicantCitationsXMLRequest

func NewGetApplicantCitationsXMLRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetApplicantCitationsXMLRequest generates requests for GetApplicantCitationsXML

func NewGetDesignBibliographicDataXMLRequest

func NewGetDesignBibliographicDataXMLRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetDesignBibliographicDataXMLRequest generates requests for GetDesignBibliographicDataXML

func NewGetDesignImageRequest

func NewGetDesignImageRequest(server string, designNumber string, imageNumber string) (*http.Request, error)

NewGetDesignImageRequest generates requests for GetDesignImage

func NewGetDesignImagesRequest

func NewGetDesignImagesRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetDesignImagesRequest generates requests for GetDesignImages

func NewGetDesignInfoRequest

func NewGetDesignInfoRequest(server string, designNumber string) (*http.Request, error)

NewGetDesignInfoRequest generates requests for GetDesignInfo

func NewGetDesignRegisterExtractRequest

func NewGetDesignRegisterExtractRequest(server string, date openapi_types.Date, period GetDesignRegisterExtractParamsPeriod) (*http.Request, error)

NewGetDesignRegisterExtractRequest generates requests for GetDesignRegisterExtract

func NewGetDesignThumbnailRequest

func NewGetDesignThumbnailRequest(server string, designNumber string, thumbnailNumber string) (*http.Request, error)

NewGetDesignThumbnailRequest generates requests for GetDesignThumbnail

func NewGetDisclosureDocumentsPDFRequest

func NewGetDisclosureDocumentsPDFRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetDisclosureDocumentsPDFRequest generates requests for GetDisclosureDocumentsPDF

func NewGetDisclosureDocumentsXMLRequest

func NewGetDisclosureDocumentsXMLRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetDisclosureDocumentsXMLRequest generates requests for GetDisclosureDocumentsXML

func NewGetEuropeanPatentSpecificationsPDFRequest

func NewGetEuropeanPatentSpecificationsPDFRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetEuropeanPatentSpecificationsPDFRequest generates requests for GetEuropeanPatentSpecificationsPDF

func NewGetEuropeanPatentSpecificationsXMLRequest

func NewGetEuropeanPatentSpecificationsXMLRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetEuropeanPatentSpecificationsXMLRequest generates requests for GetEuropeanPatentSpecificationsXML

func NewGetPatentInfoRequest

func NewGetPatentInfoRequest(server string, registeredNumber string) (*http.Request, error)

NewGetPatentInfoRequest generates requests for GetPatentInfo

func NewGetPatentPublicationPDFRequest

func NewGetPatentPublicationPDFRequest(server string, documentID string) (*http.Request, error)

NewGetPatentPublicationPDFRequest generates requests for GetPatentPublicationPDF

func NewGetPatentRegisterExtractRequest

func NewGetPatentRegisterExtractRequest(server string, date openapi_types.Date, period GetPatentRegisterExtractParamsPeriod) (*http.Request, error)

NewGetPatentRegisterExtractRequest generates requests for GetPatentRegisterExtract

func NewGetPatentSpecificationsPDFRequest

func NewGetPatentSpecificationsPDFRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetPatentSpecificationsPDFRequest generates requests for GetPatentSpecificationsPDF

func NewGetPatentSpecificationsXMLRequest

func NewGetPatentSpecificationsXMLRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetPatentSpecificationsXMLRequest generates requests for GetPatentSpecificationsXML

func NewGetPublicationDataXMLRequest

func NewGetPublicationDataXMLRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetPublicationDataXMLRequest generates requests for GetPublicationDataXML

func NewGetSearchableFullTextRequest

func NewGetSearchableFullTextRequest(server string, documentID string) (*http.Request, error)

NewGetSearchableFullTextRequest generates requests for GetSearchableFullText

func NewGetTrademarkBibDataAppliedRequest

func NewGetTrademarkBibDataAppliedRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetTrademarkBibDataAppliedRequest generates requests for GetTrademarkBibDataApplied

func NewGetTrademarkBibDataRegisteredRequest

func NewGetTrademarkBibDataRegisteredRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetTrademarkBibDataRegisteredRequest generates requests for GetTrademarkBibDataRegistered

func NewGetTrademarkBibDataRejectedRequest

func NewGetTrademarkBibDataRejectedRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetTrademarkBibDataRejectedRequest generates requests for GetTrademarkBibDataRejected

func NewGetTrademarkImageRequest

func NewGetTrademarkImageRequest(server string, applicationNumber string) (*http.Request, error)

NewGetTrademarkImageRequest generates requests for GetTrademarkImage

func NewGetTrademarkInfoRequest

func NewGetTrademarkInfoRequest(server string, applicationNumber string) (*http.Request, error)

NewGetTrademarkInfoRequest generates requests for GetTrademarkInfo

func NewGetTrademarkRegisterExtractRequest

func NewGetTrademarkRegisterExtractRequest(server string, date openapi_types.Date, period GetTrademarkRegisterExtractParamsPeriod) (*http.Request, error)

NewGetTrademarkRegisterExtractRequest generates requests for GetTrademarkRegisterExtract

func NewGetTrademarkThumbnailRequest

func NewGetTrademarkThumbnailRequest(server string, applicationNumber string) (*http.Request, error)

NewGetTrademarkThumbnailRequest generates requests for GetTrademarkThumbnail

func NewGetUtilityModelsPDFRequest

func NewGetUtilityModelsPDFRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetUtilityModelsPDFRequest generates requests for GetUtilityModelsPDF

func NewGetUtilityModelsXMLRequest

func NewGetUtilityModelsXMLRequest(server string, publicationWeek PublicationWeek) (*http.Request, error)

NewGetUtilityModelsXMLRequest generates requests for GetUtilityModelsXML

func NewGetVersionRequest

func NewGetVersionRequest(server string, service GetVersionParamsService) (*http.Request, error)

NewGetVersionRequest generates requests for GetVersion

func NewSearchDesignsRequest

func NewSearchDesignsRequest(server string, query string) (*http.Request, error)

NewSearchDesignsRequest generates requests for SearchDesigns

func NewSearchPatentsRequest

func NewSearchPatentsRequest(server string, query string) (*http.Request, error)

NewSearchPatentsRequest generates requests for SearchPatents

func NewSearchTrademarksRequest

func NewSearchTrademarksRequest(server string, query string) (*http.Request, error)

NewSearchTrademarksRequest generates requests for SearchTrademarks

Types

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) GetApplicantCitationsXML

func (c *Client) GetApplicantCitationsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDesignBibliographicDataXML

func (c *Client) GetDesignBibliographicDataXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDesignImage

func (c *Client) GetDesignImage(ctx context.Context, designNumber string, imageNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDesignImages

func (c *Client) GetDesignImages(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDesignInfo

func (c *Client) GetDesignInfo(ctx context.Context, designNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDesignRegisterExtract

func (c *Client) GetDesignRegisterExtract(ctx context.Context, date openapi_types.Date, period GetDesignRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDesignThumbnail

func (c *Client) GetDesignThumbnail(ctx context.Context, designNumber string, thumbnailNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDisclosureDocumentsPDF

func (c *Client) GetDisclosureDocumentsPDF(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDisclosureDocumentsXML

func (c *Client) GetDisclosureDocumentsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEuropeanPatentSpecificationsPDF

func (c *Client) GetEuropeanPatentSpecificationsPDF(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEuropeanPatentSpecificationsXML

func (c *Client) GetEuropeanPatentSpecificationsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPatentInfo

func (c *Client) GetPatentInfo(ctx context.Context, registeredNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPatentPublicationPDF

func (c *Client) GetPatentPublicationPDF(ctx context.Context, documentID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPatentRegisterExtract

func (c *Client) GetPatentRegisterExtract(ctx context.Context, date openapi_types.Date, period GetPatentRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPatentSpecificationsPDF

func (c *Client) GetPatentSpecificationsPDF(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPatentSpecificationsXML

func (c *Client) GetPatentSpecificationsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPublicationDataXML

func (c *Client) GetPublicationDataXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSearchableFullText

func (c *Client) GetSearchableFullText(ctx context.Context, documentID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTrademarkBibDataApplied

func (c *Client) GetTrademarkBibDataApplied(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTrademarkBibDataRegistered

func (c *Client) GetTrademarkBibDataRegistered(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTrademarkBibDataRejected

func (c *Client) GetTrademarkBibDataRejected(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTrademarkImage

func (c *Client) GetTrademarkImage(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTrademarkInfo

func (c *Client) GetTrademarkInfo(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTrademarkRegisterExtract

func (c *Client) GetTrademarkRegisterExtract(ctx context.Context, date openapi_types.Date, period GetTrademarkRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTrademarkThumbnail

func (c *Client) GetTrademarkThumbnail(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUtilityModelsPDF

func (c *Client) GetUtilityModelsPDF(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUtilityModelsXML

func (c *Client) GetUtilityModelsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetVersion

func (c *Client) GetVersion(ctx context.Context, service GetVersionParamsService, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchDesigns

func (c *Client) SearchDesigns(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchPatents

func (c *Client) SearchPatents(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchTrademarks

func (c *Client) SearchTrademarks(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetDesignBibliographicDataXML request
	GetDesignBibliographicDataXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDesignImages request
	GetDesignImages(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDesignImage request
	GetDesignImage(ctx context.Context, designNumber string, imageNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDesignInfo request
	GetDesignInfo(ctx context.Context, designNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDesignThumbnail request
	GetDesignThumbnail(ctx context.Context, designNumber string, thumbnailNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDesignRegisterExtract request
	GetDesignRegisterExtract(ctx context.Context, date openapi_types.Date, period GetDesignRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchDesigns request
	SearchDesigns(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTrademarkBibDataApplied request
	GetTrademarkBibDataApplied(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTrademarkBibDataRegistered request
	GetTrademarkBibDataRegistered(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTrademarkBibDataRejected request
	GetTrademarkBibDataRejected(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTrademarkImage request
	GetTrademarkImage(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTrademarkInfo request
	GetTrademarkInfo(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTrademarkThumbnail request
	GetTrademarkThumbnail(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTrademarkRegisterExtract request
	GetTrademarkRegisterExtract(ctx context.Context, date openapi_types.Date, period GetTrademarkRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchTrademarks request
	SearchTrademarks(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApplicantCitationsXML request
	GetApplicantCitationsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEuropeanPatentSpecificationsPDF request
	GetEuropeanPatentSpecificationsPDF(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEuropeanPatentSpecificationsXML request
	GetEuropeanPatentSpecificationsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUtilityModelsPDF request
	GetUtilityModelsPDF(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUtilityModelsXML request
	GetUtilityModelsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDisclosureDocumentsPDF request
	GetDisclosureDocumentsPDF(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDisclosureDocumentsXML request
	GetDisclosureDocumentsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPatentPublicationPDF request
	GetPatentPublicationPDF(ctx context.Context, documentID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPatentSpecificationsPDF request
	GetPatentSpecificationsPDF(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPatentSpecificationsXML request
	GetPatentSpecificationsXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPublicationDataXML request
	GetPublicationDataXML(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSearchableFullText request
	GetSearchableFullText(ctx context.Context, documentID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPatentInfo request
	GetPatentInfo(ctx context.Context, registeredNumber string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPatentRegisterExtract request
	GetPatentRegisterExtract(ctx context.Context, date openapi_types.Date, period GetPatentRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchPatents request
	SearchPatents(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVersion request
	GetVersion(ctx context.Context, service GetVersionParamsService, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) GetApplicantCitationsXMLWithResponse

func (c *ClientWithResponses) GetApplicantCitationsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetApplicantCitationsXMLResponse, error)

GetApplicantCitationsXMLWithResponse request returning *GetApplicantCitationsXMLResponse

func (*ClientWithResponses) GetDesignBibliographicDataXMLWithResponse

func (c *ClientWithResponses) GetDesignBibliographicDataXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetDesignBibliographicDataXMLResponse, error)

GetDesignBibliographicDataXMLWithResponse request returning *GetDesignBibliographicDataXMLResponse

func (*ClientWithResponses) GetDesignImageWithResponse

func (c *ClientWithResponses) GetDesignImageWithResponse(ctx context.Context, designNumber string, imageNumber string, reqEditors ...RequestEditorFn) (*GetDesignImageResponse, error)

GetDesignImageWithResponse request returning *GetDesignImageResponse

func (*ClientWithResponses) GetDesignImagesWithResponse

func (c *ClientWithResponses) GetDesignImagesWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetDesignImagesResponse, error)

GetDesignImagesWithResponse request returning *GetDesignImagesResponse

func (*ClientWithResponses) GetDesignInfoWithResponse

func (c *ClientWithResponses) GetDesignInfoWithResponse(ctx context.Context, designNumber string, reqEditors ...RequestEditorFn) (*GetDesignInfoResponse, error)

GetDesignInfoWithResponse request returning *GetDesignInfoResponse

func (*ClientWithResponses) GetDesignRegisterExtractWithResponse

func (c *ClientWithResponses) GetDesignRegisterExtractWithResponse(ctx context.Context, date openapi_types.Date, period GetDesignRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*GetDesignRegisterExtractResponse, error)

GetDesignRegisterExtractWithResponse request returning *GetDesignRegisterExtractResponse

func (*ClientWithResponses) GetDesignThumbnailWithResponse

func (c *ClientWithResponses) GetDesignThumbnailWithResponse(ctx context.Context, designNumber string, thumbnailNumber string, reqEditors ...RequestEditorFn) (*GetDesignThumbnailResponse, error)

GetDesignThumbnailWithResponse request returning *GetDesignThumbnailResponse

func (*ClientWithResponses) GetDisclosureDocumentsPDFWithResponse

func (c *ClientWithResponses) GetDisclosureDocumentsPDFWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetDisclosureDocumentsPDFResponse, error)

GetDisclosureDocumentsPDFWithResponse request returning *GetDisclosureDocumentsPDFResponse

func (*ClientWithResponses) GetDisclosureDocumentsXMLWithResponse

func (c *ClientWithResponses) GetDisclosureDocumentsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetDisclosureDocumentsXMLResponse, error)

GetDisclosureDocumentsXMLWithResponse request returning *GetDisclosureDocumentsXMLResponse

func (*ClientWithResponses) GetEuropeanPatentSpecificationsPDFWithResponse

func (c *ClientWithResponses) GetEuropeanPatentSpecificationsPDFWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetEuropeanPatentSpecificationsPDFResponse, error)

GetEuropeanPatentSpecificationsPDFWithResponse request returning *GetEuropeanPatentSpecificationsPDFResponse

func (*ClientWithResponses) GetEuropeanPatentSpecificationsXMLWithResponse

func (c *ClientWithResponses) GetEuropeanPatentSpecificationsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetEuropeanPatentSpecificationsXMLResponse, error)

GetEuropeanPatentSpecificationsXMLWithResponse request returning *GetEuropeanPatentSpecificationsXMLResponse

func (*ClientWithResponses) GetPatentInfoWithResponse

func (c *ClientWithResponses) GetPatentInfoWithResponse(ctx context.Context, registeredNumber string, reqEditors ...RequestEditorFn) (*GetPatentInfoResponse, error)

GetPatentInfoWithResponse request returning *GetPatentInfoResponse

func (*ClientWithResponses) GetPatentPublicationPDFWithResponse

func (c *ClientWithResponses) GetPatentPublicationPDFWithResponse(ctx context.Context, documentID string, reqEditors ...RequestEditorFn) (*GetPatentPublicationPDFResponse, error)

GetPatentPublicationPDFWithResponse request returning *GetPatentPublicationPDFResponse

func (*ClientWithResponses) GetPatentRegisterExtractWithResponse

func (c *ClientWithResponses) GetPatentRegisterExtractWithResponse(ctx context.Context, date openapi_types.Date, period GetPatentRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*GetPatentRegisterExtractResponse, error)

GetPatentRegisterExtractWithResponse request returning *GetPatentRegisterExtractResponse

func (*ClientWithResponses) GetPatentSpecificationsPDFWithResponse

func (c *ClientWithResponses) GetPatentSpecificationsPDFWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetPatentSpecificationsPDFResponse, error)

GetPatentSpecificationsPDFWithResponse request returning *GetPatentSpecificationsPDFResponse

func (*ClientWithResponses) GetPatentSpecificationsXMLWithResponse

func (c *ClientWithResponses) GetPatentSpecificationsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetPatentSpecificationsXMLResponse, error)

GetPatentSpecificationsXMLWithResponse request returning *GetPatentSpecificationsXMLResponse

func (*ClientWithResponses) GetPublicationDataXMLWithResponse

func (c *ClientWithResponses) GetPublicationDataXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetPublicationDataXMLResponse, error)

GetPublicationDataXMLWithResponse request returning *GetPublicationDataXMLResponse

func (*ClientWithResponses) GetSearchableFullTextWithResponse

func (c *ClientWithResponses) GetSearchableFullTextWithResponse(ctx context.Context, documentID string, reqEditors ...RequestEditorFn) (*GetSearchableFullTextResponse, error)

GetSearchableFullTextWithResponse request returning *GetSearchableFullTextResponse

func (*ClientWithResponses) GetTrademarkBibDataAppliedWithResponse

func (c *ClientWithResponses) GetTrademarkBibDataAppliedWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetTrademarkBibDataAppliedResponse, error)

GetTrademarkBibDataAppliedWithResponse request returning *GetTrademarkBibDataAppliedResponse

func (*ClientWithResponses) GetTrademarkBibDataRegisteredWithResponse

func (c *ClientWithResponses) GetTrademarkBibDataRegisteredWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetTrademarkBibDataRegisteredResponse, error)

GetTrademarkBibDataRegisteredWithResponse request returning *GetTrademarkBibDataRegisteredResponse

func (*ClientWithResponses) GetTrademarkBibDataRejectedWithResponse

func (c *ClientWithResponses) GetTrademarkBibDataRejectedWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetTrademarkBibDataRejectedResponse, error)

GetTrademarkBibDataRejectedWithResponse request returning *GetTrademarkBibDataRejectedResponse

func (*ClientWithResponses) GetTrademarkImageWithResponse

func (c *ClientWithResponses) GetTrademarkImageWithResponse(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*GetTrademarkImageResponse, error)

GetTrademarkImageWithResponse request returning *GetTrademarkImageResponse

func (*ClientWithResponses) GetTrademarkInfoWithResponse

func (c *ClientWithResponses) GetTrademarkInfoWithResponse(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*GetTrademarkInfoResponse, error)

GetTrademarkInfoWithResponse request returning *GetTrademarkInfoResponse

func (*ClientWithResponses) GetTrademarkRegisterExtractWithResponse

func (c *ClientWithResponses) GetTrademarkRegisterExtractWithResponse(ctx context.Context, date openapi_types.Date, period GetTrademarkRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*GetTrademarkRegisterExtractResponse, error)

GetTrademarkRegisterExtractWithResponse request returning *GetTrademarkRegisterExtractResponse

func (*ClientWithResponses) GetTrademarkThumbnailWithResponse

func (c *ClientWithResponses) GetTrademarkThumbnailWithResponse(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*GetTrademarkThumbnailResponse, error)

GetTrademarkThumbnailWithResponse request returning *GetTrademarkThumbnailResponse

func (*ClientWithResponses) GetUtilityModelsPDFWithResponse

func (c *ClientWithResponses) GetUtilityModelsPDFWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetUtilityModelsPDFResponse, error)

GetUtilityModelsPDFWithResponse request returning *GetUtilityModelsPDFResponse

func (*ClientWithResponses) GetUtilityModelsXMLWithResponse

func (c *ClientWithResponses) GetUtilityModelsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetUtilityModelsXMLResponse, error)

GetUtilityModelsXMLWithResponse request returning *GetUtilityModelsXMLResponse

func (*ClientWithResponses) GetVersionWithResponse

func (c *ClientWithResponses) GetVersionWithResponse(ctx context.Context, service GetVersionParamsService, reqEditors ...RequestEditorFn) (*GetVersionResponse, error)

GetVersionWithResponse request returning *GetVersionResponse

func (*ClientWithResponses) SearchDesignsWithResponse

func (c *ClientWithResponses) SearchDesignsWithResponse(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*SearchDesignsResponse, error)

SearchDesignsWithResponse request returning *SearchDesignsResponse

func (*ClientWithResponses) SearchPatentsWithResponse

func (c *ClientWithResponses) SearchPatentsWithResponse(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*SearchPatentsResponse, error)

SearchPatentsWithResponse request returning *SearchPatentsResponse

func (*ClientWithResponses) SearchTrademarksWithResponse

func (c *ClientWithResponses) SearchTrademarksWithResponse(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*SearchTrademarksResponse, error)

SearchTrademarksWithResponse request returning *SearchTrademarksResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetDesignBibliographicDataXMLWithResponse request
	GetDesignBibliographicDataXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetDesignBibliographicDataXMLResponse, error)

	// GetDesignImagesWithResponse request
	GetDesignImagesWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetDesignImagesResponse, error)

	// GetDesignImageWithResponse request
	GetDesignImageWithResponse(ctx context.Context, designNumber string, imageNumber string, reqEditors ...RequestEditorFn) (*GetDesignImageResponse, error)

	// GetDesignInfoWithResponse request
	GetDesignInfoWithResponse(ctx context.Context, designNumber string, reqEditors ...RequestEditorFn) (*GetDesignInfoResponse, error)

	// GetDesignThumbnailWithResponse request
	GetDesignThumbnailWithResponse(ctx context.Context, designNumber string, thumbnailNumber string, reqEditors ...RequestEditorFn) (*GetDesignThumbnailResponse, error)

	// GetDesignRegisterExtractWithResponse request
	GetDesignRegisterExtractWithResponse(ctx context.Context, date openapi_types.Date, period GetDesignRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*GetDesignRegisterExtractResponse, error)

	// SearchDesignsWithResponse request
	SearchDesignsWithResponse(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*SearchDesignsResponse, error)

	// GetTrademarkBibDataAppliedWithResponse request
	GetTrademarkBibDataAppliedWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetTrademarkBibDataAppliedResponse, error)

	// GetTrademarkBibDataRegisteredWithResponse request
	GetTrademarkBibDataRegisteredWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetTrademarkBibDataRegisteredResponse, error)

	// GetTrademarkBibDataRejectedWithResponse request
	GetTrademarkBibDataRejectedWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetTrademarkBibDataRejectedResponse, error)

	// GetTrademarkImageWithResponse request
	GetTrademarkImageWithResponse(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*GetTrademarkImageResponse, error)

	// GetTrademarkInfoWithResponse request
	GetTrademarkInfoWithResponse(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*GetTrademarkInfoResponse, error)

	// GetTrademarkThumbnailWithResponse request
	GetTrademarkThumbnailWithResponse(ctx context.Context, applicationNumber string, reqEditors ...RequestEditorFn) (*GetTrademarkThumbnailResponse, error)

	// GetTrademarkRegisterExtractWithResponse request
	GetTrademarkRegisterExtractWithResponse(ctx context.Context, date openapi_types.Date, period GetTrademarkRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*GetTrademarkRegisterExtractResponse, error)

	// SearchTrademarksWithResponse request
	SearchTrademarksWithResponse(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*SearchTrademarksResponse, error)

	// GetApplicantCitationsXMLWithResponse request
	GetApplicantCitationsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetApplicantCitationsXMLResponse, error)

	// GetEuropeanPatentSpecificationsPDFWithResponse request
	GetEuropeanPatentSpecificationsPDFWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetEuropeanPatentSpecificationsPDFResponse, error)

	// GetEuropeanPatentSpecificationsXMLWithResponse request
	GetEuropeanPatentSpecificationsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetEuropeanPatentSpecificationsXMLResponse, error)

	// GetUtilityModelsPDFWithResponse request
	GetUtilityModelsPDFWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetUtilityModelsPDFResponse, error)

	// GetUtilityModelsXMLWithResponse request
	GetUtilityModelsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetUtilityModelsXMLResponse, error)

	// GetDisclosureDocumentsPDFWithResponse request
	GetDisclosureDocumentsPDFWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetDisclosureDocumentsPDFResponse, error)

	// GetDisclosureDocumentsXMLWithResponse request
	GetDisclosureDocumentsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetDisclosureDocumentsXMLResponse, error)

	// GetPatentPublicationPDFWithResponse request
	GetPatentPublicationPDFWithResponse(ctx context.Context, documentID string, reqEditors ...RequestEditorFn) (*GetPatentPublicationPDFResponse, error)

	// GetPatentSpecificationsPDFWithResponse request
	GetPatentSpecificationsPDFWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetPatentSpecificationsPDFResponse, error)

	// GetPatentSpecificationsXMLWithResponse request
	GetPatentSpecificationsXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetPatentSpecificationsXMLResponse, error)

	// GetPublicationDataXMLWithResponse request
	GetPublicationDataXMLWithResponse(ctx context.Context, publicationWeek PublicationWeek, reqEditors ...RequestEditorFn) (*GetPublicationDataXMLResponse, error)

	// GetSearchableFullTextWithResponse request
	GetSearchableFullTextWithResponse(ctx context.Context, documentID string, reqEditors ...RequestEditorFn) (*GetSearchableFullTextResponse, error)

	// GetPatentInfoWithResponse request
	GetPatentInfoWithResponse(ctx context.Context, registeredNumber string, reqEditors ...RequestEditorFn) (*GetPatentInfoResponse, error)

	// GetPatentRegisterExtractWithResponse request
	GetPatentRegisterExtractWithResponse(ctx context.Context, date openapi_types.Date, period GetPatentRegisterExtractParamsPeriod, reqEditors ...RequestEditorFn) (*GetPatentRegisterExtractResponse, error)

	// SearchPatentsWithResponse request
	SearchPatentsWithResponse(ctx context.Context, query string, reqEditors ...RequestEditorFn) (*SearchPatentsResponse, error)

	// GetVersionWithResponse request
	GetVersionWithResponse(ctx context.Context, service GetVersionParamsService, reqEditors ...RequestEditorFn) (*GetVersionResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type GetApplicantCitationsXMLResponse

type GetApplicantCitationsXMLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetApplicantCitationsXMLResponse

func ParseGetApplicantCitationsXMLResponse(rsp *http.Response) (*GetApplicantCitationsXMLResponse, error)

ParseGetApplicantCitationsXMLResponse parses an HTTP response from a GetApplicantCitationsXMLWithResponse call

func (GetApplicantCitationsXMLResponse) Status

Status returns HTTPResponse.Status

func (GetApplicantCitationsXMLResponse) StatusCode

func (r GetApplicantCitationsXMLResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDesignBibliographicDataXMLResponse

type GetDesignBibliographicDataXMLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetDesignBibliographicDataXMLResponse

func ParseGetDesignBibliographicDataXMLResponse(rsp *http.Response) (*GetDesignBibliographicDataXMLResponse, error)

ParseGetDesignBibliographicDataXMLResponse parses an HTTP response from a GetDesignBibliographicDataXMLWithResponse call

func (GetDesignBibliographicDataXMLResponse) Status

Status returns HTTPResponse.Status

func (GetDesignBibliographicDataXMLResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDesignImageResponse

type GetDesignImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetDesignImageResponse

func ParseGetDesignImageResponse(rsp *http.Response) (*GetDesignImageResponse, error)

ParseGetDesignImageResponse parses an HTTP response from a GetDesignImageWithResponse call

func (GetDesignImageResponse) Status

func (r GetDesignImageResponse) Status() string

Status returns HTTPResponse.Status

func (GetDesignImageResponse) StatusCode

func (r GetDesignImageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDesignImagesResponse

type GetDesignImagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetDesignImagesResponse

func ParseGetDesignImagesResponse(rsp *http.Response) (*GetDesignImagesResponse, error)

ParseGetDesignImagesResponse parses an HTTP response from a GetDesignImagesWithResponse call

func (GetDesignImagesResponse) Status

func (r GetDesignImagesResponse) Status() string

Status returns HTTPResponse.Status

func (GetDesignImagesResponse) StatusCode

func (r GetDesignImagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDesignInfoResponse

type GetDesignInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	XML200       *openapi_types.File
}

func ParseGetDesignInfoResponse

func ParseGetDesignInfoResponse(rsp *http.Response) (*GetDesignInfoResponse, error)

ParseGetDesignInfoResponse parses an HTTP response from a GetDesignInfoWithResponse call

func (GetDesignInfoResponse) Status

func (r GetDesignInfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetDesignInfoResponse) StatusCode

func (r GetDesignInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDesignRegisterExtractParamsPeriod

type GetDesignRegisterExtractParamsPeriod string

GetDesignRegisterExtractParamsPeriod defines parameters for GetDesignRegisterExtract.

const (
	GetDesignRegisterExtractParamsPeriodDaily   GetDesignRegisterExtractParamsPeriod = "daily"
	GetDesignRegisterExtractParamsPeriodMonthly GetDesignRegisterExtractParamsPeriod = "monthly"
	GetDesignRegisterExtractParamsPeriodWeekly  GetDesignRegisterExtractParamsPeriod = "weekly"
	GetDesignRegisterExtractParamsPeriodYearly  GetDesignRegisterExtractParamsPeriod = "yearly"
)

Defines values for GetDesignRegisterExtractParamsPeriod.

func (GetDesignRegisterExtractParamsPeriod) Valid

Valid indicates whether the value is a known member of the GetDesignRegisterExtractParamsPeriod enum.

type GetDesignRegisterExtractResponse

type GetDesignRegisterExtractResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetDesignRegisterExtractResponse

func ParseGetDesignRegisterExtractResponse(rsp *http.Response) (*GetDesignRegisterExtractResponse, error)

ParseGetDesignRegisterExtractResponse parses an HTTP response from a GetDesignRegisterExtractWithResponse call

func (GetDesignRegisterExtractResponse) Status

Status returns HTTPResponse.Status

func (GetDesignRegisterExtractResponse) StatusCode

func (r GetDesignRegisterExtractResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDesignThumbnailResponse

type GetDesignThumbnailResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetDesignThumbnailResponse

func ParseGetDesignThumbnailResponse(rsp *http.Response) (*GetDesignThumbnailResponse, error)

ParseGetDesignThumbnailResponse parses an HTTP response from a GetDesignThumbnailWithResponse call

func (GetDesignThumbnailResponse) Status

Status returns HTTPResponse.Status

func (GetDesignThumbnailResponse) StatusCode

func (r GetDesignThumbnailResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDisclosureDocumentsPDFResponse

type GetDisclosureDocumentsPDFResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetDisclosureDocumentsPDFResponse

func ParseGetDisclosureDocumentsPDFResponse(rsp *http.Response) (*GetDisclosureDocumentsPDFResponse, error)

ParseGetDisclosureDocumentsPDFResponse parses an HTTP response from a GetDisclosureDocumentsPDFWithResponse call

func (GetDisclosureDocumentsPDFResponse) Status

Status returns HTTPResponse.Status

func (GetDisclosureDocumentsPDFResponse) StatusCode

func (r GetDisclosureDocumentsPDFResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDisclosureDocumentsXMLResponse

type GetDisclosureDocumentsXMLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetDisclosureDocumentsXMLResponse

func ParseGetDisclosureDocumentsXMLResponse(rsp *http.Response) (*GetDisclosureDocumentsXMLResponse, error)

ParseGetDisclosureDocumentsXMLResponse parses an HTTP response from a GetDisclosureDocumentsXMLWithResponse call

func (GetDisclosureDocumentsXMLResponse) Status

Status returns HTTPResponse.Status

func (GetDisclosureDocumentsXMLResponse) StatusCode

func (r GetDisclosureDocumentsXMLResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEuropeanPatentSpecificationsPDFResponse

type GetEuropeanPatentSpecificationsPDFResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetEuropeanPatentSpecificationsPDFResponse

func ParseGetEuropeanPatentSpecificationsPDFResponse(rsp *http.Response) (*GetEuropeanPatentSpecificationsPDFResponse, error)

ParseGetEuropeanPatentSpecificationsPDFResponse parses an HTTP response from a GetEuropeanPatentSpecificationsPDFWithResponse call

func (GetEuropeanPatentSpecificationsPDFResponse) Status

Status returns HTTPResponse.Status

func (GetEuropeanPatentSpecificationsPDFResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetEuropeanPatentSpecificationsXMLResponse

type GetEuropeanPatentSpecificationsXMLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetEuropeanPatentSpecificationsXMLResponse

func ParseGetEuropeanPatentSpecificationsXMLResponse(rsp *http.Response) (*GetEuropeanPatentSpecificationsXMLResponse, error)

ParseGetEuropeanPatentSpecificationsXMLResponse parses an HTTP response from a GetEuropeanPatentSpecificationsXMLWithResponse call

func (GetEuropeanPatentSpecificationsXMLResponse) Status

Status returns HTTPResponse.Status

func (GetEuropeanPatentSpecificationsXMLResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetPatentInfoResponse

type GetPatentInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	XML200       *openapi_types.File
}

func ParseGetPatentInfoResponse

func ParseGetPatentInfoResponse(rsp *http.Response) (*GetPatentInfoResponse, error)

ParseGetPatentInfoResponse parses an HTTP response from a GetPatentInfoWithResponse call

func (GetPatentInfoResponse) Status

func (r GetPatentInfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetPatentInfoResponse) StatusCode

func (r GetPatentInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPatentPublicationPDFResponse

type GetPatentPublicationPDFResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetPatentPublicationPDFResponse

func ParseGetPatentPublicationPDFResponse(rsp *http.Response) (*GetPatentPublicationPDFResponse, error)

ParseGetPatentPublicationPDFResponse parses an HTTP response from a GetPatentPublicationPDFWithResponse call

func (GetPatentPublicationPDFResponse) Status

Status returns HTTPResponse.Status

func (GetPatentPublicationPDFResponse) StatusCode

func (r GetPatentPublicationPDFResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPatentRegisterExtractParamsPeriod

type GetPatentRegisterExtractParamsPeriod string

GetPatentRegisterExtractParamsPeriod defines parameters for GetPatentRegisterExtract.

Defines values for GetPatentRegisterExtractParamsPeriod.

func (GetPatentRegisterExtractParamsPeriod) Valid

Valid indicates whether the value is a known member of the GetPatentRegisterExtractParamsPeriod enum.

type GetPatentRegisterExtractResponse

type GetPatentRegisterExtractResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetPatentRegisterExtractResponse

func ParseGetPatentRegisterExtractResponse(rsp *http.Response) (*GetPatentRegisterExtractResponse, error)

ParseGetPatentRegisterExtractResponse parses an HTTP response from a GetPatentRegisterExtractWithResponse call

func (GetPatentRegisterExtractResponse) Status

Status returns HTTPResponse.Status

func (GetPatentRegisterExtractResponse) StatusCode

func (r GetPatentRegisterExtractResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPatentSpecificationsPDFResponse

type GetPatentSpecificationsPDFResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetPatentSpecificationsPDFResponse

func ParseGetPatentSpecificationsPDFResponse(rsp *http.Response) (*GetPatentSpecificationsPDFResponse, error)

ParseGetPatentSpecificationsPDFResponse parses an HTTP response from a GetPatentSpecificationsPDFWithResponse call

func (GetPatentSpecificationsPDFResponse) Status

Status returns HTTPResponse.Status

func (GetPatentSpecificationsPDFResponse) StatusCode

func (r GetPatentSpecificationsPDFResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPatentSpecificationsXMLResponse

type GetPatentSpecificationsXMLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetPatentSpecificationsXMLResponse

func ParseGetPatentSpecificationsXMLResponse(rsp *http.Response) (*GetPatentSpecificationsXMLResponse, error)

ParseGetPatentSpecificationsXMLResponse parses an HTTP response from a GetPatentSpecificationsXMLWithResponse call

func (GetPatentSpecificationsXMLResponse) Status

Status returns HTTPResponse.Status

func (GetPatentSpecificationsXMLResponse) StatusCode

func (r GetPatentSpecificationsXMLResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPublicationDataXMLResponse

type GetPublicationDataXMLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetPublicationDataXMLResponse

func ParseGetPublicationDataXMLResponse(rsp *http.Response) (*GetPublicationDataXMLResponse, error)

ParseGetPublicationDataXMLResponse parses an HTTP response from a GetPublicationDataXMLWithResponse call

func (GetPublicationDataXMLResponse) Status

Status returns HTTPResponse.Status

func (GetPublicationDataXMLResponse) StatusCode

func (r GetPublicationDataXMLResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSearchableFullTextResponse

type GetSearchableFullTextResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetSearchableFullTextResponse

func ParseGetSearchableFullTextResponse(rsp *http.Response) (*GetSearchableFullTextResponse, error)

ParseGetSearchableFullTextResponse parses an HTTP response from a GetSearchableFullTextWithResponse call

func (GetSearchableFullTextResponse) Status

Status returns HTTPResponse.Status

func (GetSearchableFullTextResponse) StatusCode

func (r GetSearchableFullTextResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTrademarkBibDataAppliedResponse

type GetTrademarkBibDataAppliedResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTrademarkBibDataAppliedResponse

func ParseGetTrademarkBibDataAppliedResponse(rsp *http.Response) (*GetTrademarkBibDataAppliedResponse, error)

ParseGetTrademarkBibDataAppliedResponse parses an HTTP response from a GetTrademarkBibDataAppliedWithResponse call

func (GetTrademarkBibDataAppliedResponse) Status

Status returns HTTPResponse.Status

func (GetTrademarkBibDataAppliedResponse) StatusCode

func (r GetTrademarkBibDataAppliedResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTrademarkBibDataRegisteredResponse

type GetTrademarkBibDataRegisteredResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTrademarkBibDataRegisteredResponse

func ParseGetTrademarkBibDataRegisteredResponse(rsp *http.Response) (*GetTrademarkBibDataRegisteredResponse, error)

ParseGetTrademarkBibDataRegisteredResponse parses an HTTP response from a GetTrademarkBibDataRegisteredWithResponse call

func (GetTrademarkBibDataRegisteredResponse) Status

Status returns HTTPResponse.Status

func (GetTrademarkBibDataRegisteredResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTrademarkBibDataRejectedResponse

type GetTrademarkBibDataRejectedResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTrademarkBibDataRejectedResponse

func ParseGetTrademarkBibDataRejectedResponse(rsp *http.Response) (*GetTrademarkBibDataRejectedResponse, error)

ParseGetTrademarkBibDataRejectedResponse parses an HTTP response from a GetTrademarkBibDataRejectedWithResponse call

func (GetTrademarkBibDataRejectedResponse) Status

Status returns HTTPResponse.Status

func (GetTrademarkBibDataRejectedResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTrademarkImageResponse

type GetTrademarkImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTrademarkImageResponse

func ParseGetTrademarkImageResponse(rsp *http.Response) (*GetTrademarkImageResponse, error)

ParseGetTrademarkImageResponse parses an HTTP response from a GetTrademarkImageWithResponse call

func (GetTrademarkImageResponse) Status

func (r GetTrademarkImageResponse) Status() string

Status returns HTTPResponse.Status

func (GetTrademarkImageResponse) StatusCode

func (r GetTrademarkImageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTrademarkInfoResponse

type GetTrademarkInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	XML200       *openapi_types.File
}

func ParseGetTrademarkInfoResponse

func ParseGetTrademarkInfoResponse(rsp *http.Response) (*GetTrademarkInfoResponse, error)

ParseGetTrademarkInfoResponse parses an HTTP response from a GetTrademarkInfoWithResponse call

func (GetTrademarkInfoResponse) Status

func (r GetTrademarkInfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetTrademarkInfoResponse) StatusCode

func (r GetTrademarkInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTrademarkRegisterExtractParamsPeriod

type GetTrademarkRegisterExtractParamsPeriod string

GetTrademarkRegisterExtractParamsPeriod defines parameters for GetTrademarkRegisterExtract.

const (
	GetTrademarkRegisterExtractParamsPeriodDaily   GetTrademarkRegisterExtractParamsPeriod = "daily"
	GetTrademarkRegisterExtractParamsPeriodMonthly GetTrademarkRegisterExtractParamsPeriod = "monthly"
	GetTrademarkRegisterExtractParamsPeriodWeekly  GetTrademarkRegisterExtractParamsPeriod = "weekly"
	GetTrademarkRegisterExtractParamsPeriodYearly  GetTrademarkRegisterExtractParamsPeriod = "yearly"
)

Defines values for GetTrademarkRegisterExtractParamsPeriod.

func (GetTrademarkRegisterExtractParamsPeriod) Valid

Valid indicates whether the value is a known member of the GetTrademarkRegisterExtractParamsPeriod enum.

type GetTrademarkRegisterExtractResponse

type GetTrademarkRegisterExtractResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTrademarkRegisterExtractResponse

func ParseGetTrademarkRegisterExtractResponse(rsp *http.Response) (*GetTrademarkRegisterExtractResponse, error)

ParseGetTrademarkRegisterExtractResponse parses an HTTP response from a GetTrademarkRegisterExtractWithResponse call

func (GetTrademarkRegisterExtractResponse) Status

Status returns HTTPResponse.Status

func (GetTrademarkRegisterExtractResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTrademarkThumbnailResponse

type GetTrademarkThumbnailResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTrademarkThumbnailResponse

func ParseGetTrademarkThumbnailResponse(rsp *http.Response) (*GetTrademarkThumbnailResponse, error)

ParseGetTrademarkThumbnailResponse parses an HTTP response from a GetTrademarkThumbnailWithResponse call

func (GetTrademarkThumbnailResponse) Status

Status returns HTTPResponse.Status

func (GetTrademarkThumbnailResponse) StatusCode

func (r GetTrademarkThumbnailResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUtilityModelsPDFResponse

type GetUtilityModelsPDFResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetUtilityModelsPDFResponse

func ParseGetUtilityModelsPDFResponse(rsp *http.Response) (*GetUtilityModelsPDFResponse, error)

ParseGetUtilityModelsPDFResponse parses an HTTP response from a GetUtilityModelsPDFWithResponse call

func (GetUtilityModelsPDFResponse) Status

Status returns HTTPResponse.Status

func (GetUtilityModelsPDFResponse) StatusCode

func (r GetUtilityModelsPDFResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUtilityModelsXMLResponse

type GetUtilityModelsXMLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetUtilityModelsXMLResponse

func ParseGetUtilityModelsXMLResponse(rsp *http.Response) (*GetUtilityModelsXMLResponse, error)

ParseGetUtilityModelsXMLResponse parses an HTTP response from a GetUtilityModelsXMLWithResponse call

func (GetUtilityModelsXMLResponse) Status

Status returns HTTPResponse.Status

func (GetUtilityModelsXMLResponse) StatusCode

func (r GetUtilityModelsXMLResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVersionParamsService

type GetVersionParamsService string

GetVersionParamsService defines parameters for GetVersion.

const (
	DPMAregisterGsmService   GetVersionParamsService = "DPMAregisterGsmService"
	DPMAregisterMarkeService GetVersionParamsService = "DPMAregisterMarkeService"
	DPMAregisterPatService   GetVersionParamsService = "DPMAregisterPatService"
)

Defines values for GetVersionParamsService.

func (GetVersionParamsService) Valid

func (e GetVersionParamsService) Valid() bool

Valid indicates whether the value is a known member of the GetVersionParamsService enum.

type GetVersionResponse

type GetVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetVersionResponse

func ParseGetVersionResponse(rsp *http.Response) (*GetVersionResponse, error)

ParseGetVersionResponse parses an HTTP response from a GetVersionWithResponse call

func (GetVersionResponse) Status

func (r GetVersionResponse) Status() string

Status returns HTTPResponse.Status

func (GetVersionResponse) StatusCode

func (r GetVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type PublicationWeek

type PublicationWeek = string

PublicationWeek defines model for PublicationWeek.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type SearchDesignsResponse

type SearchDesignsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	XML200       *openapi_types.File
}

func ParseSearchDesignsResponse

func ParseSearchDesignsResponse(rsp *http.Response) (*SearchDesignsResponse, error)

ParseSearchDesignsResponse parses an HTTP response from a SearchDesignsWithResponse call

func (SearchDesignsResponse) Status

func (r SearchDesignsResponse) Status() string

Status returns HTTPResponse.Status

func (SearchDesignsResponse) StatusCode

func (r SearchDesignsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SearchPatentsResponse

type SearchPatentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	XML200       *openapi_types.File
}

func ParseSearchPatentsResponse

func ParseSearchPatentsResponse(rsp *http.Response) (*SearchPatentsResponse, error)

ParseSearchPatentsResponse parses an HTTP response from a SearchPatentsWithResponse call

func (SearchPatentsResponse) Status

func (r SearchPatentsResponse) Status() string

Status returns HTTPResponse.Status

func (SearchPatentsResponse) StatusCode

func (r SearchPatentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SearchTrademarksResponse

type SearchTrademarksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	XML200       *openapi_types.File
}

func ParseSearchTrademarksResponse

func ParseSearchTrademarksResponse(rsp *http.Response) (*SearchTrademarksResponse, error)

ParseSearchTrademarksResponse parses an HTTP response from a SearchTrademarksWithResponse call

func (SearchTrademarksResponse) Status

func (r SearchTrademarksResponse) Status() string

Status returns HTTPResponse.Status

func (SearchTrademarksResponse) StatusCode

func (r SearchTrademarksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL