apis

package
v0.0.0-...-88f0596 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

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

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewDeleteApiNowTableTableNameSysIdRequest

func NewDeleteApiNowTableTableNameSysIdRequest(server string, tableName interface{}, sysId interface{}, params *DeleteApiNowTableTableNameSysIdParams) (*http.Request, error)

NewDeleteApiNowTableTableNameSysIdRequest generates requests for DeleteApiNowTableTableNameSysId

func NewGetApiNowTableTableNameRequest

func NewGetApiNowTableTableNameRequest(server string, tableName interface{}, params *GetApiNowTableTableNameParams) (*http.Request, error)

NewGetApiNowTableTableNameRequest generates requests for GetApiNowTableTableName

func NewGetApiNowTableTableNameSysIdRequest

func NewGetApiNowTableTableNameSysIdRequest(server string, tableName interface{}, sysId interface{}, params *GetApiNowTableTableNameSysIdParams) (*http.Request, error)

NewGetApiNowTableTableNameSysIdRequest generates requests for GetApiNowTableTableNameSysId

func NewPatchApiNowTableTableNameSysIdRequest

func NewPatchApiNowTableTableNameSysIdRequest(server string, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, body PatchApiNowTableTableNameSysIdJSONRequestBody) (*http.Request, error)

NewPatchApiNowTableTableNameSysIdRequest calls the generic PatchApiNowTableTableNameSysId builder with application/json body

func NewPatchApiNowTableTableNameSysIdRequestWithBody

func NewPatchApiNowTableTableNameSysIdRequestWithBody(server string, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchApiNowTableTableNameSysIdRequestWithBody generates requests for PatchApiNowTableTableNameSysId with any type of body

func NewPostApiNowTableTableNameRequest

func NewPostApiNowTableTableNameRequest(server string, tableName interface{}, params *PostApiNowTableTableNameParams, body PostApiNowTableTableNameJSONRequestBody) (*http.Request, error)

NewPostApiNowTableTableNameRequest calls the generic PostApiNowTableTableName builder with application/json body

func NewPostApiNowTableTableNameRequestWithBody

func NewPostApiNowTableTableNameRequestWithBody(server string, tableName interface{}, params *PostApiNowTableTableNameParams, contentType string, body io.Reader) (*http.Request, error)

NewPostApiNowTableTableNameRequestWithBody generates requests for PostApiNowTableTableName with any type of body

func NewPutApiNowTableTableNameSysIdRequest

func NewPutApiNowTableTableNameSysIdRequest(server string, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, body PutApiNowTableTableNameSysIdJSONRequestBody) (*http.Request, error)

NewPutApiNowTableTableNameSysIdRequest calls the generic PutApiNowTableTableNameSysId builder with application/json body

func NewPutApiNowTableTableNameSysIdRequestWithBody

func NewPutApiNowTableTableNameSysIdRequestWithBody(server string, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPutApiNowTableTableNameSysIdRequestWithBody generates requests for PutApiNowTableTableNameSysId with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

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) DeleteApiNowTableTableNameSysId

func (c *Client) DeleteApiNowTableTableNameSysId(ctx context.Context, tableName interface{}, sysId interface{}, params *DeleteApiNowTableTableNameSysIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiNowTableTableName

func (c *Client) GetApiNowTableTableName(ctx context.Context, tableName interface{}, params *GetApiNowTableTableNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiNowTableTableNameSysId

func (c *Client) GetApiNowTableTableNameSysId(ctx context.Context, tableName interface{}, sysId interface{}, params *GetApiNowTableTableNameSysIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchApiNowTableTableNameSysId

func (c *Client) PatchApiNowTableTableNameSysId(ctx context.Context, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, body PatchApiNowTableTableNameSysIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchApiNowTableTableNameSysIdWithBody

func (c *Client) PatchApiNowTableTableNameSysIdWithBody(ctx context.Context, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiNowTableTableName

func (c *Client) PostApiNowTableTableName(ctx context.Context, tableName interface{}, params *PostApiNowTableTableNameParams, body PostApiNowTableTableNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiNowTableTableNameWithBody

func (c *Client) PostApiNowTableTableNameWithBody(ctx context.Context, tableName interface{}, params *PostApiNowTableTableNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiNowTableTableNameSysId

func (c *Client) PutApiNowTableTableNameSysId(ctx context.Context, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, body PutApiNowTableTableNameSysIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiNowTableTableNameSysIdWithBody

func (c *Client) PutApiNowTableTableNameSysIdWithBody(ctx context.Context, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetApiNowTableTableName request
	GetApiNowTableTableName(ctx context.Context, tableName interface{}, params *GetApiNowTableTableNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiNowTableTableNameWithBody request with any body
	PostApiNowTableTableNameWithBody(ctx context.Context, tableName interface{}, params *PostApiNowTableTableNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApiNowTableTableName(ctx context.Context, tableName interface{}, params *PostApiNowTableTableNameParams, body PostApiNowTableTableNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiNowTableTableNameSysId request
	DeleteApiNowTableTableNameSysId(ctx context.Context, tableName interface{}, sysId interface{}, params *DeleteApiNowTableTableNameSysIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiNowTableTableNameSysId request
	GetApiNowTableTableNameSysId(ctx context.Context, tableName interface{}, sysId interface{}, params *GetApiNowTableTableNameSysIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchApiNowTableTableNameSysIdWithBody request with any body
	PatchApiNowTableTableNameSysIdWithBody(ctx context.Context, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchApiNowTableTableNameSysId(ctx context.Context, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, body PatchApiNowTableTableNameSysIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiNowTableTableNameSysIdWithBody request with any body
	PutApiNowTableTableNameSysIdWithBody(ctx context.Context, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiNowTableTableNameSysId(ctx context.Context, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, body PutApiNowTableTableNameSysIdJSONRequestBody, 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) DeleteApiNowTableTableNameSysIdWithResponse

func (c *ClientWithResponses) DeleteApiNowTableTableNameSysIdWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *DeleteApiNowTableTableNameSysIdParams, reqEditors ...RequestEditorFn) (*DeleteApiNowTableTableNameSysIdResponse, error)

DeleteApiNowTableTableNameSysIdWithResponse request returning *DeleteApiNowTableTableNameSysIdResponse

func (*ClientWithResponses) GetApiNowTableTableNameSysIdWithResponse

func (c *ClientWithResponses) GetApiNowTableTableNameSysIdWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *GetApiNowTableTableNameSysIdParams, reqEditors ...RequestEditorFn) (*GetApiNowTableTableNameSysIdResponse, error)

GetApiNowTableTableNameSysIdWithResponse request returning *GetApiNowTableTableNameSysIdResponse

func (*ClientWithResponses) GetApiNowTableTableNameWithResponse

func (c *ClientWithResponses) GetApiNowTableTableNameWithResponse(ctx context.Context, tableName interface{}, params *GetApiNowTableTableNameParams, reqEditors ...RequestEditorFn) (*GetApiNowTableTableNameResponse, error)

GetApiNowTableTableNameWithResponse request returning *GetApiNowTableTableNameResponse

func (*ClientWithResponses) PatchApiNowTableTableNameSysIdWithBodyWithResponse

func (c *ClientWithResponses) PatchApiNowTableTableNameSysIdWithBodyWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiNowTableTableNameSysIdResponse, error)

PatchApiNowTableTableNameSysIdWithBodyWithResponse request with arbitrary body returning *PatchApiNowTableTableNameSysIdResponse

func (*ClientWithResponses) PatchApiNowTableTableNameSysIdWithResponse

func (c *ClientWithResponses) PatchApiNowTableTableNameSysIdWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, body PatchApiNowTableTableNameSysIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiNowTableTableNameSysIdResponse, error)

func (*ClientWithResponses) PostApiNowTableTableNameWithBodyWithResponse

func (c *ClientWithResponses) PostApiNowTableTableNameWithBodyWithResponse(ctx context.Context, tableName interface{}, params *PostApiNowTableTableNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiNowTableTableNameResponse, error)

PostApiNowTableTableNameWithBodyWithResponse request with arbitrary body returning *PostApiNowTableTableNameResponse

func (*ClientWithResponses) PostApiNowTableTableNameWithResponse

func (c *ClientWithResponses) PostApiNowTableTableNameWithResponse(ctx context.Context, tableName interface{}, params *PostApiNowTableTableNameParams, body PostApiNowTableTableNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiNowTableTableNameResponse, error)

func (*ClientWithResponses) PutApiNowTableTableNameSysIdWithBodyWithResponse

func (c *ClientWithResponses) PutApiNowTableTableNameSysIdWithBodyWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiNowTableTableNameSysIdResponse, error)

PutApiNowTableTableNameSysIdWithBodyWithResponse request with arbitrary body returning *PutApiNowTableTableNameSysIdResponse

func (*ClientWithResponses) PutApiNowTableTableNameSysIdWithResponse

func (c *ClientWithResponses) PutApiNowTableTableNameSysIdWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, body PutApiNowTableTableNameSysIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiNowTableTableNameSysIdResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetApiNowTableTableNameWithResponse request
	GetApiNowTableTableNameWithResponse(ctx context.Context, tableName interface{}, params *GetApiNowTableTableNameParams, reqEditors ...RequestEditorFn) (*GetApiNowTableTableNameResponse, error)

	// PostApiNowTableTableNameWithBodyWithResponse request with any body
	PostApiNowTableTableNameWithBodyWithResponse(ctx context.Context, tableName interface{}, params *PostApiNowTableTableNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiNowTableTableNameResponse, error)

	PostApiNowTableTableNameWithResponse(ctx context.Context, tableName interface{}, params *PostApiNowTableTableNameParams, body PostApiNowTableTableNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiNowTableTableNameResponse, error)

	// DeleteApiNowTableTableNameSysIdWithResponse request
	DeleteApiNowTableTableNameSysIdWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *DeleteApiNowTableTableNameSysIdParams, reqEditors ...RequestEditorFn) (*DeleteApiNowTableTableNameSysIdResponse, error)

	// GetApiNowTableTableNameSysIdWithResponse request
	GetApiNowTableTableNameSysIdWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *GetApiNowTableTableNameSysIdParams, reqEditors ...RequestEditorFn) (*GetApiNowTableTableNameSysIdResponse, error)

	// PatchApiNowTableTableNameSysIdWithBodyWithResponse request with any body
	PatchApiNowTableTableNameSysIdWithBodyWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiNowTableTableNameSysIdResponse, error)

	PatchApiNowTableTableNameSysIdWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *PatchApiNowTableTableNameSysIdParams, body PatchApiNowTableTableNameSysIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiNowTableTableNameSysIdResponse, error)

	// PutApiNowTableTableNameSysIdWithBodyWithResponse request with any body
	PutApiNowTableTableNameSysIdWithBodyWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiNowTableTableNameSysIdResponse, error)

	PutApiNowTableTableNameSysIdWithResponse(ctx context.Context, tableName interface{}, sysId interface{}, params *PutApiNowTableTableNameSysIdParams, body PutApiNowTableTableNameSysIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiNowTableTableNameSysIdResponse, error)
}

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

type DeleteApiNowTableTableNameSysIdParams

type DeleteApiNowTableTableNameSysIdParams struct {
	// SysparmQueryNoDomain True to access data across domains if authorized (default: false)
	SysparmQueryNoDomain *interface{} `form:"sysparm_query_no_domain,omitempty" json:"sysparm_query_no_domain,omitempty"`
}

DeleteApiNowTableTableNameSysIdParams defines parameters for DeleteApiNowTableTableNameSysId.

type DeleteApiNowTableTableNameSysIdResponse

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

func ParseDeleteApiNowTableTableNameSysIdResponse

func ParseDeleteApiNowTableTableNameSysIdResponse(rsp *http.Response) (*DeleteApiNowTableTableNameSysIdResponse, error)

ParseDeleteApiNowTableTableNameSysIdResponse parses an HTTP response from a DeleteApiNowTableTableNameSysIdWithResponse call

func (DeleteApiNowTableTableNameSysIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiNowTableTableNameSysIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiNowTableTableNameParams

type GetApiNowTableTableNameParams struct {
	// SysparmQuery An encoded query string used to filter the results
	SysparmQuery *interface{} `form:"sysparm_query,omitempty" json:"sysparm_query,omitempty"`

	// SysparmDisplayValue Return field display values (true), actual values (false), or both (all) (default: false)
	SysparmDisplayValue *interface{} `form:"sysparm_display_value,omitempty" json:"sysparm_display_value,omitempty"`

	// SysparmExcludeReferenceLink True to exclude Table API links for reference fields (default: false)
	SysparmExcludeReferenceLink *interface{} `form:"sysparm_exclude_reference_link,omitempty" json:"sysparm_exclude_reference_link,omitempty"`

	// SysparmSuppressPaginationHeader True to supress pagination header (default: false)
	SysparmSuppressPaginationHeader *interface{} `form:"sysparm_suppress_pagination_header,omitempty" json:"sysparm_suppress_pagination_header,omitempty"`

	// SysparmFields A comma-separated list of fields to return in the response
	SysparmFields *interface{} `form:"sysparm_fields,omitempty" json:"sysparm_fields,omitempty"`

	// SysparmLimit The maximum number of results returned per page (default: 10,000)
	SysparmLimit *interface{} `form:"sysparm_limit,omitempty" json:"sysparm_limit,omitempty"`

	// SysparmView Render the response according to the specified UI view (overridden by sysparm_fields)
	SysparmView *interface{} `form:"sysparm_view,omitempty" json:"sysparm_view,omitempty"`

	// SysparmQueryCategory Name of the query category (read replica category) to use for queries
	SysparmQueryCategory *interface{} `form:"sysparm_query_category,omitempty" json:"sysparm_query_category,omitempty"`

	// SysparmQueryNoDomain True to access data across domains if authorized (default: false)
	SysparmQueryNoDomain *interface{} `form:"sysparm_query_no_domain,omitempty" json:"sysparm_query_no_domain,omitempty"`

	// SysparmNoCount Do not execute a select count(*) on table (default: false)
	SysparmNoCount *interface{} `form:"sysparm_no_count,omitempty" json:"sysparm_no_count,omitempty"`
}

GetApiNowTableTableNameParams defines parameters for GetApiNowTableTableName.

type GetApiNowTableTableNameResponse

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

func ParseGetApiNowTableTableNameResponse

func ParseGetApiNowTableTableNameResponse(rsp *http.Response) (*GetApiNowTableTableNameResponse, error)

ParseGetApiNowTableTableNameResponse parses an HTTP response from a GetApiNowTableTableNameWithResponse call

func (GetApiNowTableTableNameResponse) Status

Status returns HTTPResponse.Status

func (GetApiNowTableTableNameResponse) StatusCode

func (r GetApiNowTableTableNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiNowTableTableNameSysIdParams

type GetApiNowTableTableNameSysIdParams struct {
	// SysparmDisplayValue Return field display values (true), actual values (false), or both (all) (default: false)
	SysparmDisplayValue *interface{} `form:"sysparm_display_value,omitempty" json:"sysparm_display_value,omitempty"`

	// SysparmExcludeReferenceLink True to exclude Table API links for reference fields (default: false)
	SysparmExcludeReferenceLink *interface{} `form:"sysparm_exclude_reference_link,omitempty" json:"sysparm_exclude_reference_link,omitempty"`

	// SysparmFields A comma-separated list of fields to return in the response
	SysparmFields *interface{} `form:"sysparm_fields,omitempty" json:"sysparm_fields,omitempty"`

	// SysparmView Render the response according to the specified UI view (overridden by sysparm_fields)
	SysparmView *interface{} `form:"sysparm_view,omitempty" json:"sysparm_view,omitempty"`

	// SysparmQueryNoDomain True to access data across domains if authorized (default: false)
	SysparmQueryNoDomain *interface{} `form:"sysparm_query_no_domain,omitempty" json:"sysparm_query_no_domain,omitempty"`
}

GetApiNowTableTableNameSysIdParams defines parameters for GetApiNowTableTableNameSysId.

type GetApiNowTableTableNameSysIdResponse

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

func ParseGetApiNowTableTableNameSysIdResponse

func ParseGetApiNowTableTableNameSysIdResponse(rsp *http.Response) (*GetApiNowTableTableNameSysIdResponse, error)

ParseGetApiNowTableTableNameSysIdResponse parses an HTTP response from a GetApiNowTableTableNameSysIdWithResponse call

func (GetApiNowTableTableNameSysIdResponse) Status

Status returns HTTPResponse.Status

func (GetApiNowTableTableNameSysIdResponse) StatusCode

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 PatchApiNowTableTableNameSysIdJSONBody

type PatchApiNowTableTableNameSysIdJSONBody interface{}

PatchApiNowTableTableNameSysIdJSONBody defines parameters for PatchApiNowTableTableNameSysId.

type PatchApiNowTableTableNameSysIdJSONRequestBody

type PatchApiNowTableTableNameSysIdJSONRequestBody PatchApiNowTableTableNameSysIdJSONBody

PatchApiNowTableTableNameSysIdJSONRequestBody defines body for PatchApiNowTableTableNameSysId for application/json ContentType.

type PatchApiNowTableTableNameSysIdParams

type PatchApiNowTableTableNameSysIdParams struct {
	// SysparmDisplayValue Return field display values (true), actual values (false), or both (all) (default: false)
	SysparmDisplayValue *interface{} `form:"sysparm_display_value,omitempty" json:"sysparm_display_value,omitempty"`

	// SysparmExcludeReferenceLink True to exclude Table API links for reference fields (default: false)
	SysparmExcludeReferenceLink *interface{} `form:"sysparm_exclude_reference_link,omitempty" json:"sysparm_exclude_reference_link,omitempty"`

	// SysparmFields A comma-separated list of fields to return in the response
	SysparmFields *interface{} `form:"sysparm_fields,omitempty" json:"sysparm_fields,omitempty"`

	// SysparmInputDisplayValue Set field values using their display value (true) or actual value (false) (default: false)
	SysparmInputDisplayValue *interface{} `form:"sysparm_input_display_value,omitempty" json:"sysparm_input_display_value,omitempty"`

	// SysparmSuppressAutoSysField True to suppress auto generation of system fields (default: false)
	SysparmSuppressAutoSysField *interface{} `form:"sysparm_suppress_auto_sys_field,omitempty" json:"sysparm_suppress_auto_sys_field,omitempty"`

	// SysparmView Render the response according to the specified UI view (overridden by sysparm_fields)
	SysparmView *interface{} `form:"sysparm_view,omitempty" json:"sysparm_view,omitempty"`

	// SysparmQueryNoDomain True to access data across domains if authorized (default: false)
	SysparmQueryNoDomain *interface{} `form:"sysparm_query_no_domain,omitempty" json:"sysparm_query_no_domain,omitempty"`
}

PatchApiNowTableTableNameSysIdParams defines parameters for PatchApiNowTableTableNameSysId.

type PatchApiNowTableTableNameSysIdResponse

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

func ParsePatchApiNowTableTableNameSysIdResponse

func ParsePatchApiNowTableTableNameSysIdResponse(rsp *http.Response) (*PatchApiNowTableTableNameSysIdResponse, error)

ParsePatchApiNowTableTableNameSysIdResponse parses an HTTP response from a PatchApiNowTableTableNameSysIdWithResponse call

func (PatchApiNowTableTableNameSysIdResponse) Status

Status returns HTTPResponse.Status

func (PatchApiNowTableTableNameSysIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostApiNowTableTableNameJSONBody

type PostApiNowTableTableNameJSONBody interface{}

PostApiNowTableTableNameJSONBody defines parameters for PostApiNowTableTableName.

type PostApiNowTableTableNameJSONRequestBody

type PostApiNowTableTableNameJSONRequestBody PostApiNowTableTableNameJSONBody

PostApiNowTableTableNameJSONRequestBody defines body for PostApiNowTableTableName for application/json ContentType.

type PostApiNowTableTableNameParams

type PostApiNowTableTableNameParams struct {
	// SysparmDisplayValue Return field display values (true), actual values (false), or both (all) (default: false)
	SysparmDisplayValue *interface{} `form:"sysparm_display_value,omitempty" json:"sysparm_display_value,omitempty"`

	// SysparmExcludeReferenceLink True to exclude Table API links for reference fields (default: false)
	SysparmExcludeReferenceLink *interface{} `form:"sysparm_exclude_reference_link,omitempty" json:"sysparm_exclude_reference_link,omitempty"`

	// SysparmFields A comma-separated list of fields to return in the response
	SysparmFields *interface{} `form:"sysparm_fields,omitempty" json:"sysparm_fields,omitempty"`

	// SysparmInputDisplayValue Set field values using their display value (true) or actual value (false) (default: false)
	SysparmInputDisplayValue *interface{} `form:"sysparm_input_display_value,omitempty" json:"sysparm_input_display_value,omitempty"`

	// SysparmSuppressAutoSysField True to suppress auto generation of system fields (default: false)
	SysparmSuppressAutoSysField *interface{} `form:"sysparm_suppress_auto_sys_field,omitempty" json:"sysparm_suppress_auto_sys_field,omitempty"`

	// SysparmView Render the response according to the specified UI view (overridden by sysparm_fields)
	SysparmView *interface{} `form:"sysparm_view,omitempty" json:"sysparm_view,omitempty"`
}

PostApiNowTableTableNameParams defines parameters for PostApiNowTableTableName.

type PostApiNowTableTableNameResponse

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

func ParsePostApiNowTableTableNameResponse

func ParsePostApiNowTableTableNameResponse(rsp *http.Response) (*PostApiNowTableTableNameResponse, error)

ParsePostApiNowTableTableNameResponse parses an HTTP response from a PostApiNowTableTableNameWithResponse call

func (PostApiNowTableTableNameResponse) Status

Status returns HTTPResponse.Status

func (PostApiNowTableTableNameResponse) StatusCode

func (r PostApiNowTableTableNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutApiNowTableTableNameSysIdJSONBody

type PutApiNowTableTableNameSysIdJSONBody interface{}

PutApiNowTableTableNameSysIdJSONBody defines parameters for PutApiNowTableTableNameSysId.

type PutApiNowTableTableNameSysIdJSONRequestBody

type PutApiNowTableTableNameSysIdJSONRequestBody PutApiNowTableTableNameSysIdJSONBody

PutApiNowTableTableNameSysIdJSONRequestBody defines body for PutApiNowTableTableNameSysId for application/json ContentType.

type PutApiNowTableTableNameSysIdParams

type PutApiNowTableTableNameSysIdParams struct {
	// SysparmDisplayValue Return field display values (true), actual values (false), or both (all) (default: false)
	SysparmDisplayValue *interface{} `form:"sysparm_display_value,omitempty" json:"sysparm_display_value,omitempty"`

	// SysparmExcludeReferenceLink True to exclude Table API links for reference fields (default: false)
	SysparmExcludeReferenceLink *interface{} `form:"sysparm_exclude_reference_link,omitempty" json:"sysparm_exclude_reference_link,omitempty"`

	// SysparmFields A comma-separated list of fields to return in the response
	SysparmFields *interface{} `form:"sysparm_fields,omitempty" json:"sysparm_fields,omitempty"`

	// SysparmInputDisplayValue Set field values using their display value (true) or actual value (false) (default: false)
	SysparmInputDisplayValue *interface{} `form:"sysparm_input_display_value,omitempty" json:"sysparm_input_display_value,omitempty"`

	// SysparmSuppressAutoSysField True to suppress auto generation of system fields (default: false)
	SysparmSuppressAutoSysField *interface{} `form:"sysparm_suppress_auto_sys_field,omitempty" json:"sysparm_suppress_auto_sys_field,omitempty"`

	// SysparmView Render the response according to the specified UI view (overridden by sysparm_fields)
	SysparmView *interface{} `form:"sysparm_view,omitempty" json:"sysparm_view,omitempty"`

	// SysparmQueryNoDomain True to access data across domains if authorized (default: false)
	SysparmQueryNoDomain *interface{} `form:"sysparm_query_no_domain,omitempty" json:"sysparm_query_no_domain,omitempty"`
}

PutApiNowTableTableNameSysIdParams defines parameters for PutApiNowTableTableNameSysId.

type PutApiNowTableTableNameSysIdResponse

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

func ParsePutApiNowTableTableNameSysIdResponse

func ParsePutApiNowTableTableNameSysIdResponse(rsp *http.Response) (*PutApiNowTableTableNameSysIdResponse, error)

ParsePutApiNowTableTableNameSysIdResponse parses an HTTP response from a PutApiNowTableTableNameSysIdWithResponse call

func (PutApiNowTableTableNameSysIdResponse) Status

Status returns HTTPResponse.Status

func (PutApiNowTableTableNameSysIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

Jump to

Keyboard shortcuts

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