Documentation
¶
Overview ¶
Package oa provides primitives to interact with the openapi HTTP API.
Code generated by github.com/patent-dev/uspto-odp version (devel) DO NOT EDIT.
Package oa provides primitives to interact with the openapi HTTP API.
Code generated by github.com/patent-dev/uspto-odp version (devel) DO NOT EDIT.
Index ¶
- Constants
- func NewEnrichedCitationsListFieldsRequest(server string) (*http.Request, error)
- func NewEnrichedCitationsSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEnrichedCitationsSearchRequestWithFormdataBody(server string, body EnrichedCitationsSearchFormdataRequestBody) (*http.Request, error)
- func NewOaActionsListFieldsRequest(server string) (*http.Request, error)
- func NewOaActionsSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewOaActionsSearchRequestWithFormdataBody(server string, body OaActionsSearchFormdataRequestBody) (*http.Request, error)
- func NewOaCitationsListFieldsRequest(server string) (*http.Request, error)
- func NewOaCitationsSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewOaCitationsSearchRequestWithFormdataBody(server string, body OaCitationsSearchFormdataRequestBody) (*http.Request, error)
- func NewOaRejectionsListFieldsRequest(server string) (*http.Request, error)
- func NewOaRejectionsSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewOaRejectionsSearchRequestWithFormdataBody(server string, body OaRejectionsSearchFormdataRequestBody) (*http.Request, error)
- type Client
- func (c *Client) EnrichedCitationsListFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EnrichedCitationsSearchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnrichedCitationsSearchWithFormdataBody(ctx context.Context, body EnrichedCitationsSearchFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) OaActionsListFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OaActionsSearchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OaActionsSearchWithFormdataBody(ctx context.Context, body OaActionsSearchFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) OaCitationsListFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OaCitationsSearchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OaCitationsSearchWithFormdataBody(ctx context.Context, body OaCitationsSearchFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) OaRejectionsListFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OaRejectionsSearchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OaRejectionsSearchWithFormdataBody(ctx context.Context, body OaRejectionsSearchFormdataRequestBody, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) EnrichedCitationsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EnrichedCitationsListFieldsResponse, error)
- func (c *ClientWithResponses) EnrichedCitationsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EnrichedCitationsSearchResponse, error)
- func (c *ClientWithResponses) EnrichedCitationsSearchWithFormdataBodyWithResponse(ctx context.Context, body EnrichedCitationsSearchFormdataRequestBody, ...) (*EnrichedCitationsSearchResponse, error)
- func (c *ClientWithResponses) OaActionsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OaActionsListFieldsResponse, error)
- func (c *ClientWithResponses) OaActionsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*OaActionsSearchResponse, error)
- func (c *ClientWithResponses) OaActionsSearchWithFormdataBodyWithResponse(ctx context.Context, body OaActionsSearchFormdataRequestBody, ...) (*OaActionsSearchResponse, error)
- func (c *ClientWithResponses) OaCitationsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OaCitationsListFieldsResponse, error)
- func (c *ClientWithResponses) OaCitationsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*OaCitationsSearchResponse, error)
- func (c *ClientWithResponses) OaCitationsSearchWithFormdataBodyWithResponse(ctx context.Context, body OaCitationsSearchFormdataRequestBody, ...) (*OaCitationsSearchResponse, error)
- func (c *ClientWithResponses) OaRejectionsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OaRejectionsListFieldsResponse, error)
- func (c *ClientWithResponses) OaRejectionsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*OaRejectionsSearchResponse, error)
- func (c *ClientWithResponses) OaRejectionsSearchWithFormdataBodyWithResponse(ctx context.Context, body OaRejectionsSearchFormdataRequestBody, ...) (*OaRejectionsSearchResponse, error)
- type ClientWithResponsesInterface
- type EnrichedCitationsListFieldsResponse
- type EnrichedCitationsSearchFormdataBody
- type EnrichedCitationsSearchFormdataRequestBody
- type EnrichedCitationsSearchResponse
- type HttpRequestDoer
- type OaActionsListFieldsResponse
- type OaActionsSearchFormdataBody
- type OaActionsSearchFormdataRequestBody
- type OaActionsSearchResponse
- type OaCitationsListFieldsResponse
- type OaCitationsSearchFormdataBody
- type OaCitationsSearchFormdataRequestBody
- type OaCitationsSearchResponse
- type OaRejectionsListFieldsResponse
- type OaRejectionsSearchFormdataBody
- type OaRejectionsSearchFormdataRequestBody
- type OaRejectionsSearchResponse
- type RequestEditorFn
Constants ¶
const (
ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewEnrichedCitationsListFieldsRequest ¶
NewEnrichedCitationsListFieldsRequest generates requests for EnrichedCitationsListFields
func NewEnrichedCitationsSearchRequestWithBody ¶
func NewEnrichedCitationsSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEnrichedCitationsSearchRequestWithBody generates requests for EnrichedCitationsSearch with any type of body
func NewEnrichedCitationsSearchRequestWithFormdataBody ¶
func NewEnrichedCitationsSearchRequestWithFormdataBody(server string, body EnrichedCitationsSearchFormdataRequestBody) (*http.Request, error)
NewEnrichedCitationsSearchRequestWithFormdataBody calls the generic EnrichedCitationsSearch builder with application/x-www-form-urlencoded body
func NewOaActionsListFieldsRequest ¶
NewOaActionsListFieldsRequest generates requests for OaActionsListFields
func NewOaActionsSearchRequestWithBody ¶
func NewOaActionsSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewOaActionsSearchRequestWithBody generates requests for OaActionsSearch with any type of body
func NewOaActionsSearchRequestWithFormdataBody ¶
func NewOaActionsSearchRequestWithFormdataBody(server string, body OaActionsSearchFormdataRequestBody) (*http.Request, error)
NewOaActionsSearchRequestWithFormdataBody calls the generic OaActionsSearch builder with application/x-www-form-urlencoded body
func NewOaCitationsListFieldsRequest ¶
NewOaCitationsListFieldsRequest generates requests for OaCitationsListFields
func NewOaCitationsSearchRequestWithBody ¶
func NewOaCitationsSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewOaCitationsSearchRequestWithBody generates requests for OaCitationsSearch with any type of body
func NewOaCitationsSearchRequestWithFormdataBody ¶
func NewOaCitationsSearchRequestWithFormdataBody(server string, body OaCitationsSearchFormdataRequestBody) (*http.Request, error)
NewOaCitationsSearchRequestWithFormdataBody calls the generic OaCitationsSearch builder with application/x-www-form-urlencoded body
func NewOaRejectionsListFieldsRequest ¶
NewOaRejectionsListFieldsRequest generates requests for OaRejectionsListFields
func NewOaRejectionsSearchRequestWithBody ¶
func NewOaRejectionsSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewOaRejectionsSearchRequestWithBody generates requests for OaRejectionsSearch with any type of body
func NewOaRejectionsSearchRequestWithFormdataBody ¶
func NewOaRejectionsSearchRequestWithFormdataBody(server string, body OaRejectionsSearchFormdataRequestBody) (*http.Request, error)
NewOaRejectionsSearchRequestWithFormdataBody calls the generic OaRejectionsSearch builder with application/x-www-form-urlencoded body
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) EnrichedCitationsListFields ¶
func (*Client) EnrichedCitationsSearchWithBody ¶
func (*Client) EnrichedCitationsSearchWithFormdataBody ¶
func (c *Client) EnrichedCitationsSearchWithFormdataBody(ctx context.Context, body EnrichedCitationsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OaActionsListFields ¶
func (*Client) OaActionsSearchWithBody ¶
func (*Client) OaActionsSearchWithFormdataBody ¶
func (c *Client) OaActionsSearchWithFormdataBody(ctx context.Context, body OaActionsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OaCitationsListFields ¶
func (*Client) OaCitationsSearchWithBody ¶
func (*Client) OaCitationsSearchWithFormdataBody ¶
func (c *Client) OaCitationsSearchWithFormdataBody(ctx context.Context, body OaCitationsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) OaRejectionsListFields ¶
func (*Client) OaRejectionsSearchWithBody ¶
func (*Client) OaRejectionsSearchWithFormdataBody ¶
func (c *Client) OaRejectionsSearchWithFormdataBody(ctx context.Context, body OaRejectionsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// EnrichedCitationsListFields request
EnrichedCitationsListFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnrichedCitationsSearchWithBody request with any body
EnrichedCitationsSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnrichedCitationsSearchWithFormdataBody(ctx context.Context, body EnrichedCitationsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OaActionsListFields request
OaActionsListFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OaActionsSearchWithBody request with any body
OaActionsSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OaActionsSearchWithFormdataBody(ctx context.Context, body OaActionsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OaCitationsListFields request
OaCitationsListFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OaCitationsSearchWithBody request with any body
OaCitationsSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OaCitationsSearchWithFormdataBody(ctx context.Context, body OaCitationsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OaRejectionsListFields request
OaRejectionsListFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OaRejectionsSearchWithBody request with any body
OaRejectionsSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OaRejectionsSearchWithFormdataBody(ctx context.Context, body OaRejectionsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) EnrichedCitationsListFieldsWithResponse ¶
func (c *ClientWithResponses) EnrichedCitationsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EnrichedCitationsListFieldsResponse, error)
EnrichedCitationsListFieldsWithResponse request returning *EnrichedCitationsListFieldsResponse
func (*ClientWithResponses) EnrichedCitationsSearchWithBodyWithResponse ¶
func (c *ClientWithResponses) EnrichedCitationsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnrichedCitationsSearchResponse, error)
EnrichedCitationsSearchWithBodyWithResponse request with arbitrary body returning *EnrichedCitationsSearchResponse
func (*ClientWithResponses) EnrichedCitationsSearchWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) EnrichedCitationsSearchWithFormdataBodyWithResponse(ctx context.Context, body EnrichedCitationsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*EnrichedCitationsSearchResponse, error)
func (*ClientWithResponses) OaActionsListFieldsWithResponse ¶
func (c *ClientWithResponses) OaActionsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OaActionsListFieldsResponse, error)
OaActionsListFieldsWithResponse request returning *OaActionsListFieldsResponse
func (*ClientWithResponses) OaActionsSearchWithBodyWithResponse ¶
func (c *ClientWithResponses) OaActionsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OaActionsSearchResponse, error)
OaActionsSearchWithBodyWithResponse request with arbitrary body returning *OaActionsSearchResponse
func (*ClientWithResponses) OaActionsSearchWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) OaActionsSearchWithFormdataBodyWithResponse(ctx context.Context, body OaActionsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*OaActionsSearchResponse, error)
func (*ClientWithResponses) OaCitationsListFieldsWithResponse ¶
func (c *ClientWithResponses) OaCitationsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OaCitationsListFieldsResponse, error)
OaCitationsListFieldsWithResponse request returning *OaCitationsListFieldsResponse
func (*ClientWithResponses) OaCitationsSearchWithBodyWithResponse ¶
func (c *ClientWithResponses) OaCitationsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OaCitationsSearchResponse, error)
OaCitationsSearchWithBodyWithResponse request with arbitrary body returning *OaCitationsSearchResponse
func (*ClientWithResponses) OaCitationsSearchWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) OaCitationsSearchWithFormdataBodyWithResponse(ctx context.Context, body OaCitationsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*OaCitationsSearchResponse, error)
func (*ClientWithResponses) OaRejectionsListFieldsWithResponse ¶
func (c *ClientWithResponses) OaRejectionsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OaRejectionsListFieldsResponse, error)
OaRejectionsListFieldsWithResponse request returning *OaRejectionsListFieldsResponse
func (*ClientWithResponses) OaRejectionsSearchWithBodyWithResponse ¶
func (c *ClientWithResponses) OaRejectionsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OaRejectionsSearchResponse, error)
OaRejectionsSearchWithBodyWithResponse request with arbitrary body returning *OaRejectionsSearchResponse
func (*ClientWithResponses) OaRejectionsSearchWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) OaRejectionsSearchWithFormdataBodyWithResponse(ctx context.Context, body OaRejectionsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*OaRejectionsSearchResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// EnrichedCitationsListFieldsWithResponse request
EnrichedCitationsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EnrichedCitationsListFieldsResponse, error)
// EnrichedCitationsSearchWithBodyWithResponse request with any body
EnrichedCitationsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnrichedCitationsSearchResponse, error)
EnrichedCitationsSearchWithFormdataBodyWithResponse(ctx context.Context, body EnrichedCitationsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*EnrichedCitationsSearchResponse, error)
// OaActionsListFieldsWithResponse request
OaActionsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OaActionsListFieldsResponse, error)
// OaActionsSearchWithBodyWithResponse request with any body
OaActionsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OaActionsSearchResponse, error)
OaActionsSearchWithFormdataBodyWithResponse(ctx context.Context, body OaActionsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*OaActionsSearchResponse, error)
// OaCitationsListFieldsWithResponse request
OaCitationsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OaCitationsListFieldsResponse, error)
// OaCitationsSearchWithBodyWithResponse request with any body
OaCitationsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OaCitationsSearchResponse, error)
OaCitationsSearchWithFormdataBodyWithResponse(ctx context.Context, body OaCitationsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*OaCitationsSearchResponse, error)
// OaRejectionsListFieldsWithResponse request
OaRejectionsListFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OaRejectionsListFieldsResponse, error)
// OaRejectionsSearchWithBodyWithResponse request with any body
OaRejectionsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OaRejectionsSearchResponse, error)
OaRejectionsSearchWithFormdataBodyWithResponse(ctx context.Context, body OaRejectionsSearchFormdataRequestBody, reqEditors ...RequestEditorFn) (*OaRejectionsSearchResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type EnrichedCitationsListFieldsResponse ¶
type EnrichedCitationsListFieldsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON404 *string
}
func ParseEnrichedCitationsListFieldsResponse ¶
func ParseEnrichedCitationsListFieldsResponse(rsp *http.Response) (*EnrichedCitationsListFieldsResponse, error)
ParseEnrichedCitationsListFieldsResponse parses an HTTP response from a EnrichedCitationsListFieldsWithResponse call
func (EnrichedCitationsListFieldsResponse) Status ¶
func (r EnrichedCitationsListFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (EnrichedCitationsListFieldsResponse) StatusCode ¶
func (r EnrichedCitationsListFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnrichedCitationsSearchFormdataBody ¶
type EnrichedCitationsSearchFormdataBody struct {
// Criteria Uses Lucene Query Syntax in the format of propertyName:value or propertyName:[num1 TO num2]. Please refer 'docs' element in the API response for the property names and use a query syntax based on appropriate data type of the property.
Criteria string `form:"criteria" json:"criteria"`
// Rows Specify number of rows to be returned. If you run the search with default values, in the response you will see 'numFound' attribute which will tell the number of records available in the dataset.
Rows *int32 `form:"rows,omitempty" json:"rows,omitempty"`
// Start Starting record number. Default value is 0.
Start *int32 `form:"start,omitempty" json:"start,omitempty"`
}
EnrichedCitationsSearchFormdataBody defines parameters for EnrichedCitationsSearch.
type EnrichedCitationsSearchFormdataRequestBody ¶
type EnrichedCitationsSearchFormdataRequestBody EnrichedCitationsSearchFormdataBody
EnrichedCitationsSearchFormdataRequestBody defines body for EnrichedCitationsSearch for application/x-www-form-urlencoded ContentType.
type EnrichedCitationsSearchResponse ¶
type EnrichedCitationsSearchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]map[string]map[string]interface{}
}
func ParseEnrichedCitationsSearchResponse ¶
func ParseEnrichedCitationsSearchResponse(rsp *http.Response) (*EnrichedCitationsSearchResponse, error)
ParseEnrichedCitationsSearchResponse parses an HTTP response from a EnrichedCitationsSearchWithResponse call
func (EnrichedCitationsSearchResponse) Status ¶
func (r EnrichedCitationsSearchResponse) Status() string
Status returns HTTPResponse.Status
func (EnrichedCitationsSearchResponse) StatusCode ¶
func (r EnrichedCitationsSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type OaActionsListFieldsResponse ¶
type OaActionsListFieldsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON404 *string
}
func ParseOaActionsListFieldsResponse ¶
func ParseOaActionsListFieldsResponse(rsp *http.Response) (*OaActionsListFieldsResponse, error)
ParseOaActionsListFieldsResponse parses an HTTP response from a OaActionsListFieldsWithResponse call
func (OaActionsListFieldsResponse) Status ¶
func (r OaActionsListFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (OaActionsListFieldsResponse) StatusCode ¶
func (r OaActionsListFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OaActionsSearchFormdataBody ¶
type OaActionsSearchFormdataBody struct {
// Criteria Uses Lucene Query Syntax in the format of propertyName:value or propertyName:[num1 TO num2]. Please refer 'docs' element in the API response for the property names and use a query syntax based on appropriate data type of the property.
Criteria string `form:"criteria" json:"criteria"`
// Rows Specify number of rows to be returned. If you run the search with default values, in the response you will see 'numFound' attribute which will tell the number of records available in the dataset.
Rows *int32 `form:"rows,omitempty" json:"rows,omitempty"`
// Start Starting record number. Default value is 0.
Start *int32 `form:"start,omitempty" json:"start,omitempty"`
}
OaActionsSearchFormdataBody defines parameters for OaActionsSearch.
type OaActionsSearchFormdataRequestBody ¶
type OaActionsSearchFormdataRequestBody OaActionsSearchFormdataBody
OaActionsSearchFormdataRequestBody defines body for OaActionsSearch for application/x-www-form-urlencoded ContentType.
type OaActionsSearchResponse ¶
type OaActionsSearchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]map[string]map[string]interface{}
}
func ParseOaActionsSearchResponse ¶
func ParseOaActionsSearchResponse(rsp *http.Response) (*OaActionsSearchResponse, error)
ParseOaActionsSearchResponse parses an HTTP response from a OaActionsSearchWithResponse call
func (OaActionsSearchResponse) Status ¶
func (r OaActionsSearchResponse) Status() string
Status returns HTTPResponse.Status
func (OaActionsSearchResponse) StatusCode ¶
func (r OaActionsSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OaCitationsListFieldsResponse ¶
type OaCitationsListFieldsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON404 *string
}
func ParseOaCitationsListFieldsResponse ¶
func ParseOaCitationsListFieldsResponse(rsp *http.Response) (*OaCitationsListFieldsResponse, error)
ParseOaCitationsListFieldsResponse parses an HTTP response from a OaCitationsListFieldsWithResponse call
func (OaCitationsListFieldsResponse) Status ¶
func (r OaCitationsListFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (OaCitationsListFieldsResponse) StatusCode ¶
func (r OaCitationsListFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OaCitationsSearchFormdataBody ¶
type OaCitationsSearchFormdataBody struct {
// Criteria Uses Lucene Query Syntax in the format of propertyName:value or propertyName:[num1 TO num2]. Please refer 'docs' element in the API response for the property names and use a query syntax based on appropriate data type of the property.
Criteria string `form:"criteria" json:"criteria"`
// Rows Specify number of rows to be returned. If you run the search with default values, in the response you will see 'numFound' attribute which will tell the number of records available in the dataset.
Rows *int32 `form:"rows,omitempty" json:"rows,omitempty"`
// Start Starting record number. Default value is 0.
Start *int32 `form:"start,omitempty" json:"start,omitempty"`
}
OaCitationsSearchFormdataBody defines parameters for OaCitationsSearch.
type OaCitationsSearchFormdataRequestBody ¶
type OaCitationsSearchFormdataRequestBody OaCitationsSearchFormdataBody
OaCitationsSearchFormdataRequestBody defines body for OaCitationsSearch for application/x-www-form-urlencoded ContentType.
type OaCitationsSearchResponse ¶
type OaCitationsSearchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]map[string]map[string]interface{}
}
func ParseOaCitationsSearchResponse ¶
func ParseOaCitationsSearchResponse(rsp *http.Response) (*OaCitationsSearchResponse, error)
ParseOaCitationsSearchResponse parses an HTTP response from a OaCitationsSearchWithResponse call
func (OaCitationsSearchResponse) Status ¶
func (r OaCitationsSearchResponse) Status() string
Status returns HTTPResponse.Status
func (OaCitationsSearchResponse) StatusCode ¶
func (r OaCitationsSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OaRejectionsListFieldsResponse ¶
type OaRejectionsListFieldsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON404 *string
}
func ParseOaRejectionsListFieldsResponse ¶
func ParseOaRejectionsListFieldsResponse(rsp *http.Response) (*OaRejectionsListFieldsResponse, error)
ParseOaRejectionsListFieldsResponse parses an HTTP response from a OaRejectionsListFieldsWithResponse call
func (OaRejectionsListFieldsResponse) Status ¶
func (r OaRejectionsListFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (OaRejectionsListFieldsResponse) StatusCode ¶
func (r OaRejectionsListFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OaRejectionsSearchFormdataBody ¶
type OaRejectionsSearchFormdataBody struct {
// Criteria Uses Lucene Query Syntax in the format of propertyName:value or propertyName:[num1 TO num2]. Please refer 'docs' element in the API response for the property names and use a query syntax based on appropriate data type of the property.
Criteria string `form:"criteria" json:"criteria"`
// Rows Specify number of rows to be returned. If you run the search with default values, in the response you will see 'numFound' attribute which will tell the number of records available in the dataset.
Rows *int32 `form:"rows,omitempty" json:"rows,omitempty"`
// Start Starting record number. Default value is 0.
Start *int32 `form:"start,omitempty" json:"start,omitempty"`
}
OaRejectionsSearchFormdataBody defines parameters for OaRejectionsSearch.
type OaRejectionsSearchFormdataRequestBody ¶
type OaRejectionsSearchFormdataRequestBody OaRejectionsSearchFormdataBody
OaRejectionsSearchFormdataRequestBody defines body for OaRejectionsSearch for application/x-www-form-urlencoded ContentType.
type OaRejectionsSearchResponse ¶
type OaRejectionsSearchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]map[string]map[string]interface{}
}
func ParseOaRejectionsSearchResponse ¶
func ParseOaRejectionsSearchResponse(rsp *http.Response) (*OaRejectionsSearchResponse, error)
ParseOaRejectionsSearchResponse parses an HTTP response from a OaRejectionsSearchWithResponse call
func (OaRejectionsSearchResponse) Status ¶
func (r OaRejectionsSearchResponse) Status() string
Status returns HTTPResponse.Status
func (OaRejectionsSearchResponse) StatusCode ¶
func (r OaRejectionsSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode