Documentation ¶
Overview ¶
Package folge provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
- Constants
- func NewApplicationsCreateRequest(server string, body ApplicationsCreateJSONRequestBody) (*http.Request, error)
- func NewApplicationsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewApplicationsDataSourcesChecksCreateRequest(server string, applicationId int, sourceId int, ...) (*http.Request, error)
- func NewApplicationsDataSourcesChecksCreateRequestWithBody(server string, applicationId int, sourceId int, contentType string, ...) (*http.Request, error)
- func NewApplicationsDataSourcesChecksDestroyRequest(server string, applicationId int, sourceId int, id int) (*http.Request, error)
- func NewApplicationsDataSourcesChecksListRequest(server string, applicationId int, sourceId int) (*http.Request, error)
- func NewApplicationsDataSourcesChecksRetrieveRequest(server string, applicationId int, sourceId int, id int) (*http.Request, error)
- func NewApplicationsDataSourcesChecksUpdateRequest(server string, applicationId int, sourceId int, id int, ...) (*http.Request, error)
- func NewApplicationsDataSourcesChecksUpdateRequestWithBody(server string, applicationId int, sourceId int, id int, contentType string, ...) (*http.Request, error)
- func NewApplicationsDataSourcesCreateRequest(server string, applicationId int, ...) (*http.Request, error)
- func NewApplicationsDataSourcesCreateRequestWithBody(server string, applicationId int, contentType string, body io.Reader) (*http.Request, error)
- func NewApplicationsDataSourcesDestroyRequest(server string, applicationId int, id int) (*http.Request, error)
- func NewApplicationsDataSourcesListRequest(server string, applicationId int) (*http.Request, error)
- func NewApplicationsDataSourcesRetrieveRequest(server string, applicationId int, id int) (*http.Request, error)
- func NewApplicationsDataSourcesUpdateRequest(server string, applicationId int, id int, ...) (*http.Request, error)
- func NewApplicationsDataSourcesUpdateRequestWithBody(server string, applicationId int, id int, contentType string, body io.Reader) (*http.Request, error)
- func NewApplicationsDestroyRequest(server string, id int) (*http.Request, error)
- func NewApplicationsFormattedCreateRequest(server string, format ApplicationsFormattedCreateParamsFormat, ...) (*http.Request, error)
- func NewApplicationsFormattedCreateRequestWithBody(server string, format ApplicationsFormattedCreateParamsFormat, ...) (*http.Request, error)
- func NewApplicationsFormattedDestroyRequest(server string, id int, format ApplicationsFormattedDestroyParamsFormat) (*http.Request, error)
- func NewApplicationsFormattedListRequest(server string, format ApplicationsFormattedListParamsFormat) (*http.Request, error)
- func NewApplicationsFormattedRetrieveRequest(server string, id int, format ApplicationsFormattedRetrieveParamsFormat) (*http.Request, error)
- func NewApplicationsFormattedUpdateRequest(server string, id int, format ApplicationsFormattedUpdateParamsFormat, ...) (*http.Request, error)
- func NewApplicationsFormattedUpdateRequestWithBody(server string, id int, format ApplicationsFormattedUpdateParamsFormat, ...) (*http.Request, error)
- func NewApplicationsListRequest(server string) (*http.Request, error)
- func NewApplicationsRetrieveRequest(server string, id int) (*http.Request, error)
- func NewApplicationsUpdateRequest(server string, id int, body ApplicationsUpdateJSONRequestBody) (*http.Request, error)
- func NewApplicationsUpdateRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error)
- type Application
- type ApplicationRequest
- type ApplicationsCreateJSONRequestBody
- type ApplicationsCreateResponse
- type ApplicationsDataSourcesChecksCreateJSONRequestBody
- type ApplicationsDataSourcesChecksCreateResponse
- type ApplicationsDataSourcesChecksDestroyResponse
- type ApplicationsDataSourcesChecksListResponse
- type ApplicationsDataSourcesChecksRetrieveResponse
- type ApplicationsDataSourcesChecksUpdateJSONRequestBody
- type ApplicationsDataSourcesChecksUpdateResponse
- type ApplicationsDataSourcesCreateJSONRequestBody
- type ApplicationsDataSourcesCreateResponse
- type ApplicationsDataSourcesDestroyResponse
- type ApplicationsDataSourcesListResponse
- type ApplicationsDataSourcesRetrieveResponse
- type ApplicationsDataSourcesUpdateJSONRequestBody
- type ApplicationsDataSourcesUpdateResponse
- type ApplicationsDestroyResponse
- type ApplicationsFormattedCreateJSONRequestBody
- type ApplicationsFormattedCreateParamsFormat
- type ApplicationsFormattedCreateResponse
- type ApplicationsFormattedDestroyParamsFormat
- type ApplicationsFormattedDestroyResponse
- type ApplicationsFormattedListParamsFormat
- type ApplicationsFormattedListResponse
- type ApplicationsFormattedRetrieveParamsFormat
- type ApplicationsFormattedRetrieveResponse
- type ApplicationsFormattedUpdateJSONRequestBody
- type ApplicationsFormattedUpdateParamsFormat
- type ApplicationsFormattedUpdateResponse
- type ApplicationsListResponse
- type ApplicationsRetrieveResponse
- type ApplicationsUpdateJSONRequestBody
- type ApplicationsUpdateResponse
- type Check
- func (t Check) AsHttpStatusCheckTyped() (HttpStatusCheckTyped, error)
- func (t Check) AsJsonDataCheckTyped() (JsonDataCheckTyped, error)
- func (t Check) Discriminator() (string, error)
- func (t *Check) FromHttpStatusCheckTyped(v HttpStatusCheckTyped) error
- func (t *Check) FromJsonDataCheckTyped(v JsonDataCheckTyped) error
- func (t Check) MarshalJSON() ([]byte, error)
- func (t *Check) MergeHttpStatusCheckTyped(v HttpStatusCheckTyped) error
- func (t *Check) MergeJsonDataCheckTyped(v JsonDataCheckTyped) error
- func (t *Check) UnmarshalJSON(b []byte) error
- func (t Check) ValueByDiscriminator() (interface{}, error)
- type CheckRequest
- func (t CheckRequest) AsHttpStatusCheckTypedRequest() (HttpStatusCheckTypedRequest, error)
- func (t CheckRequest) AsJsonDataCheckTypedRequest() (JsonDataCheckTypedRequest, error)
- func (t CheckRequest) Discriminator() (string, error)
- func (t *CheckRequest) FromHttpStatusCheckTypedRequest(v HttpStatusCheckTypedRequest) error
- func (t *CheckRequest) FromJsonDataCheckTypedRequest(v JsonDataCheckTypedRequest) error
- func (t CheckRequest) MarshalJSON() ([]byte, error)
- func (t *CheckRequest) MergeHttpStatusCheckTypedRequest(v HttpStatusCheckTypedRequest) error
- func (t *CheckRequest) MergeJsonDataCheckTypedRequest(v JsonDataCheckTypedRequest) error
- func (t *CheckRequest) UnmarshalJSON(b []byte) error
- func (t CheckRequest) ValueByDiscriminator() (interface{}, error)
- type Client
- func (c *Client) ApplicationsCreate(ctx context.Context, body ApplicationsCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApplicationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesChecksCreate(ctx context.Context, applicationId int, sourceId int, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesChecksCreateWithBody(ctx context.Context, applicationId int, sourceId int, contentType string, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesChecksDestroy(ctx context.Context, applicationId int, sourceId int, id int, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesChecksList(ctx context.Context, applicationId int, sourceId int, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesChecksRetrieve(ctx context.Context, applicationId int, sourceId int, id int, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesChecksUpdate(ctx context.Context, applicationId int, sourceId int, id int, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesChecksUpdateWithBody(ctx context.Context, applicationId int, sourceId int, id int, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesCreate(ctx context.Context, applicationId int, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesCreateWithBody(ctx context.Context, applicationId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesDestroy(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesList(ctx context.Context, applicationId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesRetrieve(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesUpdate(ctx context.Context, applicationId int, id int, ...) (*http.Response, error)
- func (c *Client) ApplicationsDataSourcesUpdateWithBody(ctx context.Context, applicationId int, id int, contentType string, ...) (*http.Response, error)
- func (c *Client) ApplicationsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApplicationsFormattedCreate(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, ...) (*http.Response, error)
- func (c *Client) ApplicationsFormattedCreateWithBody(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, ...) (*http.Response, error)
- func (c *Client) ApplicationsFormattedDestroy(ctx context.Context, id int, format ApplicationsFormattedDestroyParamsFormat, ...) (*http.Response, error)
- func (c *Client) ApplicationsFormattedList(ctx context.Context, format ApplicationsFormattedListParamsFormat, ...) (*http.Response, error)
- func (c *Client) ApplicationsFormattedRetrieve(ctx context.Context, id int, format ApplicationsFormattedRetrieveParamsFormat, ...) (*http.Response, error)
- func (c *Client) ApplicationsFormattedUpdate(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, ...) (*http.Response, error)
- func (c *Client) ApplicationsFormattedUpdateWithBody(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, ...) (*http.Response, error)
- func (c *Client) ApplicationsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApplicationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApplicationsUpdate(ctx context.Context, id int, body ApplicationsUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApplicationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ApplicationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ApplicationsCreateResponse, error)
- func (c *ClientWithResponses) ApplicationsCreateWithResponse(ctx context.Context, body ApplicationsCreateJSONRequestBody, ...) (*ApplicationsCreateResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesChecksCreateWithBodyWithResponse(ctx context.Context, applicationId int, sourceId int, contentType string, ...) (*ApplicationsDataSourcesChecksCreateResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesChecksCreateWithResponse(ctx context.Context, applicationId int, sourceId int, ...) (*ApplicationsDataSourcesChecksCreateResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesChecksDestroyWithResponse(ctx context.Context, applicationId int, sourceId int, id int, ...) (*ApplicationsDataSourcesChecksDestroyResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesChecksListWithResponse(ctx context.Context, applicationId int, sourceId int, ...) (*ApplicationsDataSourcesChecksListResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesChecksRetrieveWithResponse(ctx context.Context, applicationId int, sourceId int, id int, ...) (*ApplicationsDataSourcesChecksRetrieveResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesChecksUpdateWithBodyWithResponse(ctx context.Context, applicationId int, sourceId int, id int, ...) (*ApplicationsDataSourcesChecksUpdateResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesChecksUpdateWithResponse(ctx context.Context, applicationId int, sourceId int, id int, ...) (*ApplicationsDataSourcesChecksUpdateResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesCreateWithBodyWithResponse(ctx context.Context, applicationId int, contentType string, body io.Reader, ...) (*ApplicationsDataSourcesCreateResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesCreateWithResponse(ctx context.Context, applicationId int, ...) (*ApplicationsDataSourcesCreateResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesDestroyWithResponse(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesDestroyResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesListWithResponse(ctx context.Context, applicationId int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesListResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesRetrieveWithResponse(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesRetrieveResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesUpdateWithBodyWithResponse(ctx context.Context, applicationId int, id int, contentType string, ...) (*ApplicationsDataSourcesUpdateResponse, error)
- func (c *ClientWithResponses) ApplicationsDataSourcesUpdateWithResponse(ctx context.Context, applicationId int, id int, ...) (*ApplicationsDataSourcesUpdateResponse, error)
- func (c *ClientWithResponses) ApplicationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ApplicationsDestroyResponse, error)
- func (c *ClientWithResponses) ApplicationsFormattedCreateWithBodyWithResponse(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, ...) (*ApplicationsFormattedCreateResponse, error)
- func (c *ClientWithResponses) ApplicationsFormattedCreateWithResponse(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, ...) (*ApplicationsFormattedCreateResponse, error)
- func (c *ClientWithResponses) ApplicationsFormattedDestroyWithResponse(ctx context.Context, id int, format ApplicationsFormattedDestroyParamsFormat, ...) (*ApplicationsFormattedDestroyResponse, error)
- func (c *ClientWithResponses) ApplicationsFormattedListWithResponse(ctx context.Context, format ApplicationsFormattedListParamsFormat, ...) (*ApplicationsFormattedListResponse, error)
- func (c *ClientWithResponses) ApplicationsFormattedRetrieveWithResponse(ctx context.Context, id int, format ApplicationsFormattedRetrieveParamsFormat, ...) (*ApplicationsFormattedRetrieveResponse, error)
- func (c *ClientWithResponses) ApplicationsFormattedUpdateWithBodyWithResponse(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, ...) (*ApplicationsFormattedUpdateResponse, error)
- func (c *ClientWithResponses) ApplicationsFormattedUpdateWithResponse(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, ...) (*ApplicationsFormattedUpdateResponse, error)
- func (c *ClientWithResponses) ApplicationsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApplicationsListResponse, error)
- func (c *ClientWithResponses) ApplicationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ApplicationsRetrieveResponse, error)
- func (c *ClientWithResponses) ApplicationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, ...) (*ApplicationsUpdateResponse, error)
- func (c *ClientWithResponses) ApplicationsUpdateWithResponse(ctx context.Context, id int, body ApplicationsUpdateJSONRequestBody, ...) (*ApplicationsUpdateResponse, error)
- type ClientWithResponsesInterface
- type DataSource
- func (t DataSource) AsHttpDataSourceTyped() (HttpDataSourceTyped, error)
- func (t DataSource) Discriminator() (string, error)
- func (t *DataSource) FromHttpDataSourceTyped(v HttpDataSourceTyped) error
- func (t DataSource) MarshalJSON() ([]byte, error)
- func (t *DataSource) MergeHttpDataSourceTyped(v HttpDataSourceTyped) error
- func (t *DataSource) UnmarshalJSON(b []byte) error
- func (t DataSource) ValueByDiscriminator() (interface{}, error)
- type DataSourceRequest
- func (t DataSourceRequest) AsHttpDataSourceTypedRequest() (HttpDataSourceTypedRequest, error)
- func (t DataSourceRequest) Discriminator() (string, error)
- func (t *DataSourceRequest) FromHttpDataSourceTypedRequest(v HttpDataSourceTypedRequest) error
- func (t DataSourceRequest) MarshalJSON() ([]byte, error)
- func (t *DataSourceRequest) MergeHttpDataSourceTypedRequest(v HttpDataSourceTypedRequest) error
- func (t *DataSourceRequest) UnmarshalJSON(b []byte) error
- func (t DataSourceRequest) ValueByDiscriminator() (interface{}, error)
- type DatatypeEnum
- type HttpDataSource
- type HttpDataSourceRequest
- type HttpDataSourceTyped
- type HttpDataSourceTypedRequest
- type HttpRequestDoer
- type HttpStatusCheck
- type HttpStatusCheckRequest
- type HttpStatusCheckTyped
- type HttpStatusCheckTypedRequest
- type JsonDataCheck
- type JsonDataCheckRequest
- type JsonDataCheckTyped
- type JsonDataCheckTypedRequest
- type OperatorEnum
- type RequestEditorFn
Constants ¶
const (
CookieAuthScopes = "cookieAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewApplicationsCreateRequest ¶
func NewApplicationsCreateRequest(server string, body ApplicationsCreateJSONRequestBody) (*http.Request, error)
NewApplicationsCreateRequest calls the generic ApplicationsCreate builder with application/json body
func NewApplicationsCreateRequestWithBody ¶
func NewApplicationsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewApplicationsCreateRequestWithBody generates requests for ApplicationsCreate with any type of body
func NewApplicationsDataSourcesChecksCreateRequest ¶
func NewApplicationsDataSourcesChecksCreateRequest(server string, applicationId int, sourceId int, body ApplicationsDataSourcesChecksCreateJSONRequestBody) (*http.Request, error)
NewApplicationsDataSourcesChecksCreateRequest calls the generic ApplicationsDataSourcesChecksCreate builder with application/json body
func NewApplicationsDataSourcesChecksCreateRequestWithBody ¶
func NewApplicationsDataSourcesChecksCreateRequestWithBody(server string, applicationId int, sourceId int, contentType string, body io.Reader) (*http.Request, error)
NewApplicationsDataSourcesChecksCreateRequestWithBody generates requests for ApplicationsDataSourcesChecksCreate with any type of body
func NewApplicationsDataSourcesChecksDestroyRequest ¶
func NewApplicationsDataSourcesChecksDestroyRequest(server string, applicationId int, sourceId int, id int) (*http.Request, error)
NewApplicationsDataSourcesChecksDestroyRequest generates requests for ApplicationsDataSourcesChecksDestroy
func NewApplicationsDataSourcesChecksListRequest ¶
func NewApplicationsDataSourcesChecksListRequest(server string, applicationId int, sourceId int) (*http.Request, error)
NewApplicationsDataSourcesChecksListRequest generates requests for ApplicationsDataSourcesChecksList
func NewApplicationsDataSourcesChecksRetrieveRequest ¶
func NewApplicationsDataSourcesChecksRetrieveRequest(server string, applicationId int, sourceId int, id int) (*http.Request, error)
NewApplicationsDataSourcesChecksRetrieveRequest generates requests for ApplicationsDataSourcesChecksRetrieve
func NewApplicationsDataSourcesChecksUpdateRequest ¶
func NewApplicationsDataSourcesChecksUpdateRequest(server string, applicationId int, sourceId int, id int, body ApplicationsDataSourcesChecksUpdateJSONRequestBody) (*http.Request, error)
NewApplicationsDataSourcesChecksUpdateRequest calls the generic ApplicationsDataSourcesChecksUpdate builder with application/json body
func NewApplicationsDataSourcesChecksUpdateRequestWithBody ¶
func NewApplicationsDataSourcesChecksUpdateRequestWithBody(server string, applicationId int, sourceId int, id int, contentType string, body io.Reader) (*http.Request, error)
NewApplicationsDataSourcesChecksUpdateRequestWithBody generates requests for ApplicationsDataSourcesChecksUpdate with any type of body
func NewApplicationsDataSourcesCreateRequest ¶
func NewApplicationsDataSourcesCreateRequest(server string, applicationId int, body ApplicationsDataSourcesCreateJSONRequestBody) (*http.Request, error)
NewApplicationsDataSourcesCreateRequest calls the generic ApplicationsDataSourcesCreate builder with application/json body
func NewApplicationsDataSourcesCreateRequestWithBody ¶
func NewApplicationsDataSourcesCreateRequestWithBody(server string, applicationId int, contentType string, body io.Reader) (*http.Request, error)
NewApplicationsDataSourcesCreateRequestWithBody generates requests for ApplicationsDataSourcesCreate with any type of body
func NewApplicationsDataSourcesDestroyRequest ¶
func NewApplicationsDataSourcesDestroyRequest(server string, applicationId int, id int) (*http.Request, error)
NewApplicationsDataSourcesDestroyRequest generates requests for ApplicationsDataSourcesDestroy
func NewApplicationsDataSourcesListRequest ¶
NewApplicationsDataSourcesListRequest generates requests for ApplicationsDataSourcesList
func NewApplicationsDataSourcesRetrieveRequest ¶
func NewApplicationsDataSourcesRetrieveRequest(server string, applicationId int, id int) (*http.Request, error)
NewApplicationsDataSourcesRetrieveRequest generates requests for ApplicationsDataSourcesRetrieve
func NewApplicationsDataSourcesUpdateRequest ¶
func NewApplicationsDataSourcesUpdateRequest(server string, applicationId int, id int, body ApplicationsDataSourcesUpdateJSONRequestBody) (*http.Request, error)
NewApplicationsDataSourcesUpdateRequest calls the generic ApplicationsDataSourcesUpdate builder with application/json body
func NewApplicationsDataSourcesUpdateRequestWithBody ¶
func NewApplicationsDataSourcesUpdateRequestWithBody(server string, applicationId int, id int, contentType string, body io.Reader) (*http.Request, error)
NewApplicationsDataSourcesUpdateRequestWithBody generates requests for ApplicationsDataSourcesUpdate with any type of body
func NewApplicationsDestroyRequest ¶
NewApplicationsDestroyRequest generates requests for ApplicationsDestroy
func NewApplicationsFormattedCreateRequest ¶
func NewApplicationsFormattedCreateRequest(server string, format ApplicationsFormattedCreateParamsFormat, body ApplicationsFormattedCreateJSONRequestBody) (*http.Request, error)
NewApplicationsFormattedCreateRequest calls the generic ApplicationsFormattedCreate builder with application/json body
func NewApplicationsFormattedCreateRequestWithBody ¶
func NewApplicationsFormattedCreateRequestWithBody(server string, format ApplicationsFormattedCreateParamsFormat, contentType string, body io.Reader) (*http.Request, error)
NewApplicationsFormattedCreateRequestWithBody generates requests for ApplicationsFormattedCreate with any type of body
func NewApplicationsFormattedDestroyRequest ¶
func NewApplicationsFormattedDestroyRequest(server string, id int, format ApplicationsFormattedDestroyParamsFormat) (*http.Request, error)
NewApplicationsFormattedDestroyRequest generates requests for ApplicationsFormattedDestroy
func NewApplicationsFormattedListRequest ¶
func NewApplicationsFormattedListRequest(server string, format ApplicationsFormattedListParamsFormat) (*http.Request, error)
NewApplicationsFormattedListRequest generates requests for ApplicationsFormattedList
func NewApplicationsFormattedRetrieveRequest ¶
func NewApplicationsFormattedRetrieveRequest(server string, id int, format ApplicationsFormattedRetrieveParamsFormat) (*http.Request, error)
NewApplicationsFormattedRetrieveRequest generates requests for ApplicationsFormattedRetrieve
func NewApplicationsFormattedUpdateRequest ¶
func NewApplicationsFormattedUpdateRequest(server string, id int, format ApplicationsFormattedUpdateParamsFormat, body ApplicationsFormattedUpdateJSONRequestBody) (*http.Request, error)
NewApplicationsFormattedUpdateRequest calls the generic ApplicationsFormattedUpdate builder with application/json body
func NewApplicationsFormattedUpdateRequestWithBody ¶
func NewApplicationsFormattedUpdateRequestWithBody(server string, id int, format ApplicationsFormattedUpdateParamsFormat, contentType string, body io.Reader) (*http.Request, error)
NewApplicationsFormattedUpdateRequestWithBody generates requests for ApplicationsFormattedUpdate with any type of body
func NewApplicationsListRequest ¶
NewApplicationsListRequest generates requests for ApplicationsList
func NewApplicationsRetrieveRequest ¶
NewApplicationsRetrieveRequest generates requests for ApplicationsRetrieve
func NewApplicationsUpdateRequest ¶
func NewApplicationsUpdateRequest(server string, id int, body ApplicationsUpdateJSONRequestBody) (*http.Request, error)
NewApplicationsUpdateRequest calls the generic ApplicationsUpdate builder with application/json body
Types ¶
type Application ¶
type Application struct { Datasources *string `json:"datasources,omitempty"` Id *int `json:"id,omitempty"` Identifier *openapi_types.UUID `json:"identifier,omitempty"` Name string `json:"name"` }
Application defines model for Application.
type ApplicationRequest ¶
type ApplicationRequest struct {
Name string `json:"name"`
}
ApplicationRequest defines model for ApplicationRequest.
type ApplicationsCreateJSONRequestBody ¶
type ApplicationsCreateJSONRequestBody = ApplicationRequest
ApplicationsCreateJSONRequestBody defines body for ApplicationsCreate for application/json ContentType.
type ApplicationsCreateResponse ¶
type ApplicationsCreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *Application }
func ParseApplicationsCreateResponse ¶
func ParseApplicationsCreateResponse(rsp *http.Response) (*ApplicationsCreateResponse, error)
ParseApplicationsCreateResponse parses an HTTP response from a ApplicationsCreateWithResponse call
func (ApplicationsCreateResponse) Status ¶
func (r ApplicationsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsCreateResponse) StatusCode ¶
func (r ApplicationsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesChecksCreateJSONRequestBody ¶
type ApplicationsDataSourcesChecksCreateJSONRequestBody = CheckRequest
ApplicationsDataSourcesChecksCreateJSONRequestBody defines body for ApplicationsDataSourcesChecksCreate for application/json ContentType.
type ApplicationsDataSourcesChecksCreateResponse ¶
type ApplicationsDataSourcesChecksCreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *Check }
func ParseApplicationsDataSourcesChecksCreateResponse ¶
func ParseApplicationsDataSourcesChecksCreateResponse(rsp *http.Response) (*ApplicationsDataSourcesChecksCreateResponse, error)
ParseApplicationsDataSourcesChecksCreateResponse parses an HTTP response from a ApplicationsDataSourcesChecksCreateWithResponse call
func (ApplicationsDataSourcesChecksCreateResponse) Status ¶
func (r ApplicationsDataSourcesChecksCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesChecksCreateResponse) StatusCode ¶
func (r ApplicationsDataSourcesChecksCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesChecksDestroyResponse ¶
type ApplicationsDataSourcesChecksDestroyResponse struct { Body []byte HTTPResponse *http.Response }
func ParseApplicationsDataSourcesChecksDestroyResponse ¶
func ParseApplicationsDataSourcesChecksDestroyResponse(rsp *http.Response) (*ApplicationsDataSourcesChecksDestroyResponse, error)
ParseApplicationsDataSourcesChecksDestroyResponse parses an HTTP response from a ApplicationsDataSourcesChecksDestroyWithResponse call
func (ApplicationsDataSourcesChecksDestroyResponse) Status ¶
func (r ApplicationsDataSourcesChecksDestroyResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesChecksDestroyResponse) StatusCode ¶
func (r ApplicationsDataSourcesChecksDestroyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesChecksListResponse ¶
type ApplicationsDataSourcesChecksListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Check }
func ParseApplicationsDataSourcesChecksListResponse ¶
func ParseApplicationsDataSourcesChecksListResponse(rsp *http.Response) (*ApplicationsDataSourcesChecksListResponse, error)
ParseApplicationsDataSourcesChecksListResponse parses an HTTP response from a ApplicationsDataSourcesChecksListWithResponse call
func (ApplicationsDataSourcesChecksListResponse) Status ¶
func (r ApplicationsDataSourcesChecksListResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesChecksListResponse) StatusCode ¶
func (r ApplicationsDataSourcesChecksListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesChecksRetrieveResponse ¶
type ApplicationsDataSourcesChecksRetrieveResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Check }
func ParseApplicationsDataSourcesChecksRetrieveResponse ¶
func ParseApplicationsDataSourcesChecksRetrieveResponse(rsp *http.Response) (*ApplicationsDataSourcesChecksRetrieveResponse, error)
ParseApplicationsDataSourcesChecksRetrieveResponse parses an HTTP response from a ApplicationsDataSourcesChecksRetrieveWithResponse call
func (ApplicationsDataSourcesChecksRetrieveResponse) Status ¶
func (r ApplicationsDataSourcesChecksRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesChecksRetrieveResponse) StatusCode ¶
func (r ApplicationsDataSourcesChecksRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesChecksUpdateJSONRequestBody ¶
type ApplicationsDataSourcesChecksUpdateJSONRequestBody = CheckRequest
ApplicationsDataSourcesChecksUpdateJSONRequestBody defines body for ApplicationsDataSourcesChecksUpdate for application/json ContentType.
type ApplicationsDataSourcesChecksUpdateResponse ¶
type ApplicationsDataSourcesChecksUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Check }
func ParseApplicationsDataSourcesChecksUpdateResponse ¶
func ParseApplicationsDataSourcesChecksUpdateResponse(rsp *http.Response) (*ApplicationsDataSourcesChecksUpdateResponse, error)
ParseApplicationsDataSourcesChecksUpdateResponse parses an HTTP response from a ApplicationsDataSourcesChecksUpdateWithResponse call
func (ApplicationsDataSourcesChecksUpdateResponse) Status ¶
func (r ApplicationsDataSourcesChecksUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesChecksUpdateResponse) StatusCode ¶
func (r ApplicationsDataSourcesChecksUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesCreateJSONRequestBody ¶
type ApplicationsDataSourcesCreateJSONRequestBody = DataSourceRequest
ApplicationsDataSourcesCreateJSONRequestBody defines body for ApplicationsDataSourcesCreate for application/json ContentType.
type ApplicationsDataSourcesCreateResponse ¶
type ApplicationsDataSourcesCreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *DataSource }
func ParseApplicationsDataSourcesCreateResponse ¶
func ParseApplicationsDataSourcesCreateResponse(rsp *http.Response) (*ApplicationsDataSourcesCreateResponse, error)
ParseApplicationsDataSourcesCreateResponse parses an HTTP response from a ApplicationsDataSourcesCreateWithResponse call
func (ApplicationsDataSourcesCreateResponse) Status ¶
func (r ApplicationsDataSourcesCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesCreateResponse) StatusCode ¶
func (r ApplicationsDataSourcesCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesDestroyResponse ¶
func ParseApplicationsDataSourcesDestroyResponse ¶
func ParseApplicationsDataSourcesDestroyResponse(rsp *http.Response) (*ApplicationsDataSourcesDestroyResponse, error)
ParseApplicationsDataSourcesDestroyResponse parses an HTTP response from a ApplicationsDataSourcesDestroyWithResponse call
func (ApplicationsDataSourcesDestroyResponse) Status ¶
func (r ApplicationsDataSourcesDestroyResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesDestroyResponse) StatusCode ¶
func (r ApplicationsDataSourcesDestroyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesListResponse ¶
type ApplicationsDataSourcesListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]DataSource }
func ParseApplicationsDataSourcesListResponse ¶
func ParseApplicationsDataSourcesListResponse(rsp *http.Response) (*ApplicationsDataSourcesListResponse, error)
ParseApplicationsDataSourcesListResponse parses an HTTP response from a ApplicationsDataSourcesListWithResponse call
func (ApplicationsDataSourcesListResponse) Status ¶
func (r ApplicationsDataSourcesListResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesListResponse) StatusCode ¶
func (r ApplicationsDataSourcesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesRetrieveResponse ¶
type ApplicationsDataSourcesRetrieveResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DataSource }
func ParseApplicationsDataSourcesRetrieveResponse ¶
func ParseApplicationsDataSourcesRetrieveResponse(rsp *http.Response) (*ApplicationsDataSourcesRetrieveResponse, error)
ParseApplicationsDataSourcesRetrieveResponse parses an HTTP response from a ApplicationsDataSourcesRetrieveWithResponse call
func (ApplicationsDataSourcesRetrieveResponse) Status ¶
func (r ApplicationsDataSourcesRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesRetrieveResponse) StatusCode ¶
func (r ApplicationsDataSourcesRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDataSourcesUpdateJSONRequestBody ¶
type ApplicationsDataSourcesUpdateJSONRequestBody = DataSourceRequest
ApplicationsDataSourcesUpdateJSONRequestBody defines body for ApplicationsDataSourcesUpdate for application/json ContentType.
type ApplicationsDataSourcesUpdateResponse ¶
type ApplicationsDataSourcesUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DataSource }
func ParseApplicationsDataSourcesUpdateResponse ¶
func ParseApplicationsDataSourcesUpdateResponse(rsp *http.Response) (*ApplicationsDataSourcesUpdateResponse, error)
ParseApplicationsDataSourcesUpdateResponse parses an HTTP response from a ApplicationsDataSourcesUpdateWithResponse call
func (ApplicationsDataSourcesUpdateResponse) Status ¶
func (r ApplicationsDataSourcesUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDataSourcesUpdateResponse) StatusCode ¶
func (r ApplicationsDataSourcesUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsDestroyResponse ¶
func ParseApplicationsDestroyResponse ¶
func ParseApplicationsDestroyResponse(rsp *http.Response) (*ApplicationsDestroyResponse, error)
ParseApplicationsDestroyResponse parses an HTTP response from a ApplicationsDestroyWithResponse call
func (ApplicationsDestroyResponse) Status ¶
func (r ApplicationsDestroyResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsDestroyResponse) StatusCode ¶
func (r ApplicationsDestroyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsFormattedCreateJSONRequestBody ¶
type ApplicationsFormattedCreateJSONRequestBody = ApplicationRequest
ApplicationsFormattedCreateJSONRequestBody defines body for ApplicationsFormattedCreate for application/json ContentType.
type ApplicationsFormattedCreateParamsFormat ¶
type ApplicationsFormattedCreateParamsFormat string
ApplicationsFormattedCreateParamsFormat defines parameters for ApplicationsFormattedCreate.
const (
DotJson ApplicationsFormattedCreateParamsFormat = ".json"
)
Defines values for ApplicationsFormattedCreateParamsFormat.
type ApplicationsFormattedCreateResponse ¶
type ApplicationsFormattedCreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *Application }
func ParseApplicationsFormattedCreateResponse ¶
func ParseApplicationsFormattedCreateResponse(rsp *http.Response) (*ApplicationsFormattedCreateResponse, error)
ParseApplicationsFormattedCreateResponse parses an HTTP response from a ApplicationsFormattedCreateWithResponse call
func (ApplicationsFormattedCreateResponse) Status ¶
func (r ApplicationsFormattedCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsFormattedCreateResponse) StatusCode ¶
func (r ApplicationsFormattedCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsFormattedDestroyParamsFormat ¶
type ApplicationsFormattedDestroyParamsFormat string
ApplicationsFormattedDestroyParamsFormat defines parameters for ApplicationsFormattedDestroy.
const (
ApplicationsFormattedDestroyParamsFormatDotJson ApplicationsFormattedDestroyParamsFormat = ".json"
)
Defines values for ApplicationsFormattedDestroyParamsFormat.
type ApplicationsFormattedDestroyResponse ¶
func ParseApplicationsFormattedDestroyResponse ¶
func ParseApplicationsFormattedDestroyResponse(rsp *http.Response) (*ApplicationsFormattedDestroyResponse, error)
ParseApplicationsFormattedDestroyResponse parses an HTTP response from a ApplicationsFormattedDestroyWithResponse call
func (ApplicationsFormattedDestroyResponse) Status ¶
func (r ApplicationsFormattedDestroyResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsFormattedDestroyResponse) StatusCode ¶
func (r ApplicationsFormattedDestroyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsFormattedListParamsFormat ¶
type ApplicationsFormattedListParamsFormat string
ApplicationsFormattedListParamsFormat defines parameters for ApplicationsFormattedList.
const (
ApplicationsFormattedListParamsFormatDotJson ApplicationsFormattedListParamsFormat = ".json"
)
Defines values for ApplicationsFormattedListParamsFormat.
type ApplicationsFormattedListResponse ¶
type ApplicationsFormattedListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Application }
func ParseApplicationsFormattedListResponse ¶
func ParseApplicationsFormattedListResponse(rsp *http.Response) (*ApplicationsFormattedListResponse, error)
ParseApplicationsFormattedListResponse parses an HTTP response from a ApplicationsFormattedListWithResponse call
func (ApplicationsFormattedListResponse) Status ¶
func (r ApplicationsFormattedListResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsFormattedListResponse) StatusCode ¶
func (r ApplicationsFormattedListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsFormattedRetrieveParamsFormat ¶
type ApplicationsFormattedRetrieveParamsFormat string
ApplicationsFormattedRetrieveParamsFormat defines parameters for ApplicationsFormattedRetrieve.
const (
ApplicationsFormattedRetrieveParamsFormatDotJson ApplicationsFormattedRetrieveParamsFormat = ".json"
)
Defines values for ApplicationsFormattedRetrieveParamsFormat.
type ApplicationsFormattedRetrieveResponse ¶
type ApplicationsFormattedRetrieveResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Application }
func ParseApplicationsFormattedRetrieveResponse ¶
func ParseApplicationsFormattedRetrieveResponse(rsp *http.Response) (*ApplicationsFormattedRetrieveResponse, error)
ParseApplicationsFormattedRetrieveResponse parses an HTTP response from a ApplicationsFormattedRetrieveWithResponse call
func (ApplicationsFormattedRetrieveResponse) Status ¶
func (r ApplicationsFormattedRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsFormattedRetrieveResponse) StatusCode ¶
func (r ApplicationsFormattedRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsFormattedUpdateJSONRequestBody ¶
type ApplicationsFormattedUpdateJSONRequestBody = ApplicationRequest
ApplicationsFormattedUpdateJSONRequestBody defines body for ApplicationsFormattedUpdate for application/json ContentType.
type ApplicationsFormattedUpdateParamsFormat ¶
type ApplicationsFormattedUpdateParamsFormat string
ApplicationsFormattedUpdateParamsFormat defines parameters for ApplicationsFormattedUpdate.
const (
ApplicationsFormattedUpdateParamsFormatDotJson ApplicationsFormattedUpdateParamsFormat = ".json"
)
Defines values for ApplicationsFormattedUpdateParamsFormat.
type ApplicationsFormattedUpdateResponse ¶
type ApplicationsFormattedUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Application }
func ParseApplicationsFormattedUpdateResponse ¶
func ParseApplicationsFormattedUpdateResponse(rsp *http.Response) (*ApplicationsFormattedUpdateResponse, error)
ParseApplicationsFormattedUpdateResponse parses an HTTP response from a ApplicationsFormattedUpdateWithResponse call
func (ApplicationsFormattedUpdateResponse) Status ¶
func (r ApplicationsFormattedUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsFormattedUpdateResponse) StatusCode ¶
func (r ApplicationsFormattedUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsListResponse ¶
type ApplicationsListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Application }
func ParseApplicationsListResponse ¶
func ParseApplicationsListResponse(rsp *http.Response) (*ApplicationsListResponse, error)
ParseApplicationsListResponse parses an HTTP response from a ApplicationsListWithResponse call
func (ApplicationsListResponse) Status ¶
func (r ApplicationsListResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsListResponse) StatusCode ¶
func (r ApplicationsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsRetrieveResponse ¶
type ApplicationsRetrieveResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Application }
func ParseApplicationsRetrieveResponse ¶
func ParseApplicationsRetrieveResponse(rsp *http.Response) (*ApplicationsRetrieveResponse, error)
ParseApplicationsRetrieveResponse parses an HTTP response from a ApplicationsRetrieveWithResponse call
func (ApplicationsRetrieveResponse) Status ¶
func (r ApplicationsRetrieveResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsRetrieveResponse) StatusCode ¶
func (r ApplicationsRetrieveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplicationsUpdateJSONRequestBody ¶
type ApplicationsUpdateJSONRequestBody = ApplicationRequest
ApplicationsUpdateJSONRequestBody defines body for ApplicationsUpdate for application/json ContentType.
type ApplicationsUpdateResponse ¶
type ApplicationsUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Application }
func ParseApplicationsUpdateResponse ¶
func ParseApplicationsUpdateResponse(rsp *http.Response) (*ApplicationsUpdateResponse, error)
ParseApplicationsUpdateResponse parses an HTTP response from a ApplicationsUpdateWithResponse call
func (ApplicationsUpdateResponse) Status ¶
func (r ApplicationsUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (ApplicationsUpdateResponse) StatusCode ¶
func (r ApplicationsUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Check ¶
type Check struct {
// contains filtered or unexported fields
}
Check defines model for Check.
func (Check) AsHttpStatusCheckTyped ¶
func (t Check) AsHttpStatusCheckTyped() (HttpStatusCheckTyped, error)
AsHttpStatusCheckTyped returns the union data inside the Check as a HttpStatusCheckTyped
func (Check) AsJsonDataCheckTyped ¶
func (t Check) AsJsonDataCheckTyped() (JsonDataCheckTyped, error)
AsJsonDataCheckTyped returns the union data inside the Check as a JsonDataCheckTyped
func (Check) Discriminator ¶
func (*Check) FromHttpStatusCheckTyped ¶
func (t *Check) FromHttpStatusCheckTyped(v HttpStatusCheckTyped) error
FromHttpStatusCheckTyped overwrites any union data inside the Check as the provided HttpStatusCheckTyped
func (*Check) FromJsonDataCheckTyped ¶
func (t *Check) FromJsonDataCheckTyped(v JsonDataCheckTyped) error
FromJsonDataCheckTyped overwrites any union data inside the Check as the provided JsonDataCheckTyped
func (Check) MarshalJSON ¶
func (*Check) MergeHttpStatusCheckTyped ¶
func (t *Check) MergeHttpStatusCheckTyped(v HttpStatusCheckTyped) error
MergeHttpStatusCheckTyped performs a merge with any union data inside the Check, using the provided HttpStatusCheckTyped
func (*Check) MergeJsonDataCheckTyped ¶
func (t *Check) MergeJsonDataCheckTyped(v JsonDataCheckTyped) error
MergeJsonDataCheckTyped performs a merge with any union data inside the Check, using the provided JsonDataCheckTyped
func (*Check) UnmarshalJSON ¶
func (Check) ValueByDiscriminator ¶
type CheckRequest ¶
type CheckRequest struct {
// contains filtered or unexported fields
}
CheckRequest defines model for CheckRequest.
func (CheckRequest) AsHttpStatusCheckTypedRequest ¶
func (t CheckRequest) AsHttpStatusCheckTypedRequest() (HttpStatusCheckTypedRequest, error)
AsHttpStatusCheckTypedRequest returns the union data inside the CheckRequest as a HttpStatusCheckTypedRequest
func (CheckRequest) AsJsonDataCheckTypedRequest ¶
func (t CheckRequest) AsJsonDataCheckTypedRequest() (JsonDataCheckTypedRequest, error)
AsJsonDataCheckTypedRequest returns the union data inside the CheckRequest as a JsonDataCheckTypedRequest
func (CheckRequest) Discriminator ¶
func (t CheckRequest) Discriminator() (string, error)
func (*CheckRequest) FromHttpStatusCheckTypedRequest ¶
func (t *CheckRequest) FromHttpStatusCheckTypedRequest(v HttpStatusCheckTypedRequest) error
FromHttpStatusCheckTypedRequest overwrites any union data inside the CheckRequest as the provided HttpStatusCheckTypedRequest
func (*CheckRequest) FromJsonDataCheckTypedRequest ¶
func (t *CheckRequest) FromJsonDataCheckTypedRequest(v JsonDataCheckTypedRequest) error
FromJsonDataCheckTypedRequest overwrites any union data inside the CheckRequest as the provided JsonDataCheckTypedRequest
func (CheckRequest) MarshalJSON ¶
func (t CheckRequest) MarshalJSON() ([]byte, error)
func (*CheckRequest) MergeHttpStatusCheckTypedRequest ¶
func (t *CheckRequest) MergeHttpStatusCheckTypedRequest(v HttpStatusCheckTypedRequest) error
MergeHttpStatusCheckTypedRequest performs a merge with any union data inside the CheckRequest, using the provided HttpStatusCheckTypedRequest
func (*CheckRequest) MergeJsonDataCheckTypedRequest ¶
func (t *CheckRequest) MergeJsonDataCheckTypedRequest(v JsonDataCheckTypedRequest) error
MergeJsonDataCheckTypedRequest performs a merge with any union data inside the CheckRequest, using the provided JsonDataCheckTypedRequest
func (*CheckRequest) UnmarshalJSON ¶
func (t *CheckRequest) UnmarshalJSON(b []byte) error
func (CheckRequest) ValueByDiscriminator ¶
func (t CheckRequest) ValueByDiscriminator() (interface{}, error)
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) ApplicationsCreate ¶
func (c *Client) ApplicationsCreate(ctx context.Context, body ApplicationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplicationsCreateWithBody ¶
func (*Client) ApplicationsDataSourcesChecksCreate ¶
func (c *Client) ApplicationsDataSourcesChecksCreate(ctx context.Context, applicationId int, sourceId int, body ApplicationsDataSourcesChecksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplicationsDataSourcesChecksCreateWithBody ¶
func (*Client) ApplicationsDataSourcesChecksDestroy ¶
func (*Client) ApplicationsDataSourcesChecksList ¶
func (*Client) ApplicationsDataSourcesChecksRetrieve ¶
func (*Client) ApplicationsDataSourcesChecksUpdate ¶
func (*Client) ApplicationsDataSourcesChecksUpdateWithBody ¶
func (*Client) ApplicationsDataSourcesCreate ¶
func (c *Client) ApplicationsDataSourcesCreate(ctx context.Context, applicationId int, body ApplicationsDataSourcesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplicationsDataSourcesCreateWithBody ¶
func (*Client) ApplicationsDataSourcesDestroy ¶
func (*Client) ApplicationsDataSourcesList ¶
func (*Client) ApplicationsDataSourcesRetrieve ¶
func (*Client) ApplicationsDataSourcesUpdate ¶
func (c *Client) ApplicationsDataSourcesUpdate(ctx context.Context, applicationId int, id int, body ApplicationsDataSourcesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplicationsDataSourcesUpdateWithBody ¶
func (*Client) ApplicationsDestroy ¶
func (*Client) ApplicationsFormattedCreate ¶
func (c *Client) ApplicationsFormattedCreate(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, body ApplicationsFormattedCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplicationsFormattedCreateWithBody ¶
func (*Client) ApplicationsFormattedDestroy ¶
func (c *Client) ApplicationsFormattedDestroy(ctx context.Context, id int, format ApplicationsFormattedDestroyParamsFormat, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplicationsFormattedList ¶
func (c *Client) ApplicationsFormattedList(ctx context.Context, format ApplicationsFormattedListParamsFormat, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplicationsFormattedRetrieve ¶
func (c *Client) ApplicationsFormattedRetrieve(ctx context.Context, id int, format ApplicationsFormattedRetrieveParamsFormat, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplicationsFormattedUpdate ¶
func (c *Client) ApplicationsFormattedUpdate(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, body ApplicationsFormattedUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplicationsFormattedUpdateWithBody ¶
func (*Client) ApplicationsList ¶
func (*Client) ApplicationsRetrieve ¶
func (*Client) ApplicationsUpdate ¶
func (c *Client) ApplicationsUpdate(ctx context.Context, id int, body ApplicationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // ApplicationsList request ApplicationsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsCreateWithBody request with any body ApplicationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApplicationsCreate(ctx context.Context, body ApplicationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesList request ApplicationsDataSourcesList(ctx context.Context, applicationId int, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesCreateWithBody request with any body ApplicationsDataSourcesCreateWithBody(ctx context.Context, applicationId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApplicationsDataSourcesCreate(ctx context.Context, applicationId int, body ApplicationsDataSourcesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesDestroy request ApplicationsDataSourcesDestroy(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesRetrieve request ApplicationsDataSourcesRetrieve(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesUpdateWithBody request with any body ApplicationsDataSourcesUpdateWithBody(ctx context.Context, applicationId int, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApplicationsDataSourcesUpdate(ctx context.Context, applicationId int, id int, body ApplicationsDataSourcesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesChecksList request ApplicationsDataSourcesChecksList(ctx context.Context, applicationId int, sourceId int, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesChecksCreateWithBody request with any body ApplicationsDataSourcesChecksCreateWithBody(ctx context.Context, applicationId int, sourceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApplicationsDataSourcesChecksCreate(ctx context.Context, applicationId int, sourceId int, body ApplicationsDataSourcesChecksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesChecksDestroy request ApplicationsDataSourcesChecksDestroy(ctx context.Context, applicationId int, sourceId int, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesChecksRetrieve request ApplicationsDataSourcesChecksRetrieve(ctx context.Context, applicationId int, sourceId int, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDataSourcesChecksUpdateWithBody request with any body ApplicationsDataSourcesChecksUpdateWithBody(ctx context.Context, applicationId int, sourceId int, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApplicationsDataSourcesChecksUpdate(ctx context.Context, applicationId int, sourceId int, id int, body ApplicationsDataSourcesChecksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsDestroy request ApplicationsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsRetrieve request ApplicationsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsUpdateWithBody request with any body ApplicationsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApplicationsUpdate(ctx context.Context, id int, body ApplicationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsFormattedDestroy request ApplicationsFormattedDestroy(ctx context.Context, id int, format ApplicationsFormattedDestroyParamsFormat, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsFormattedRetrieve request ApplicationsFormattedRetrieve(ctx context.Context, id int, format ApplicationsFormattedRetrieveParamsFormat, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsFormattedUpdateWithBody request with any body ApplicationsFormattedUpdateWithBody(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApplicationsFormattedUpdate(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, body ApplicationsFormattedUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsFormattedList request ApplicationsFormattedList(ctx context.Context, format ApplicationsFormattedListParamsFormat, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplicationsFormattedCreateWithBody request with any body ApplicationsFormattedCreateWithBody(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApplicationsFormattedCreate(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, body ApplicationsFormattedCreateJSONRequestBody, 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) ApplicationsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplicationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsCreateResponse, error)
ApplicationsCreateWithBodyWithResponse request with arbitrary body returning *ApplicationsCreateResponse
func (*ClientWithResponses) ApplicationsCreateWithResponse ¶
func (c *ClientWithResponses) ApplicationsCreateWithResponse(ctx context.Context, body ApplicationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsCreateResponse, error)
func (*ClientWithResponses) ApplicationsDataSourcesChecksCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesChecksCreateWithBodyWithResponse(ctx context.Context, applicationId int, sourceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksCreateResponse, error)
ApplicationsDataSourcesChecksCreateWithBodyWithResponse request with arbitrary body returning *ApplicationsDataSourcesChecksCreateResponse
func (*ClientWithResponses) ApplicationsDataSourcesChecksCreateWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesChecksCreateWithResponse(ctx context.Context, applicationId int, sourceId int, body ApplicationsDataSourcesChecksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksCreateResponse, error)
func (*ClientWithResponses) ApplicationsDataSourcesChecksDestroyWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesChecksDestroyWithResponse(ctx context.Context, applicationId int, sourceId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksDestroyResponse, error)
ApplicationsDataSourcesChecksDestroyWithResponse request returning *ApplicationsDataSourcesChecksDestroyResponse
func (*ClientWithResponses) ApplicationsDataSourcesChecksListWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesChecksListWithResponse(ctx context.Context, applicationId int, sourceId int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksListResponse, error)
ApplicationsDataSourcesChecksListWithResponse request returning *ApplicationsDataSourcesChecksListResponse
func (*ClientWithResponses) ApplicationsDataSourcesChecksRetrieveWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesChecksRetrieveWithResponse(ctx context.Context, applicationId int, sourceId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksRetrieveResponse, error)
ApplicationsDataSourcesChecksRetrieveWithResponse request returning *ApplicationsDataSourcesChecksRetrieveResponse
func (*ClientWithResponses) ApplicationsDataSourcesChecksUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesChecksUpdateWithBodyWithResponse(ctx context.Context, applicationId int, sourceId int, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksUpdateResponse, error)
ApplicationsDataSourcesChecksUpdateWithBodyWithResponse request with arbitrary body returning *ApplicationsDataSourcesChecksUpdateResponse
func (*ClientWithResponses) ApplicationsDataSourcesChecksUpdateWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesChecksUpdateWithResponse(ctx context.Context, applicationId int, sourceId int, id int, body ApplicationsDataSourcesChecksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksUpdateResponse, error)
func (*ClientWithResponses) ApplicationsDataSourcesCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesCreateWithBodyWithResponse(ctx context.Context, applicationId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesCreateResponse, error)
ApplicationsDataSourcesCreateWithBodyWithResponse request with arbitrary body returning *ApplicationsDataSourcesCreateResponse
func (*ClientWithResponses) ApplicationsDataSourcesCreateWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesCreateWithResponse(ctx context.Context, applicationId int, body ApplicationsDataSourcesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesCreateResponse, error)
func (*ClientWithResponses) ApplicationsDataSourcesDestroyWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesDestroyWithResponse(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesDestroyResponse, error)
ApplicationsDataSourcesDestroyWithResponse request returning *ApplicationsDataSourcesDestroyResponse
func (*ClientWithResponses) ApplicationsDataSourcesListWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesListWithResponse(ctx context.Context, applicationId int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesListResponse, error)
ApplicationsDataSourcesListWithResponse request returning *ApplicationsDataSourcesListResponse
func (*ClientWithResponses) ApplicationsDataSourcesRetrieveWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesRetrieveWithResponse(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesRetrieveResponse, error)
ApplicationsDataSourcesRetrieveWithResponse request returning *ApplicationsDataSourcesRetrieveResponse
func (*ClientWithResponses) ApplicationsDataSourcesUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesUpdateWithBodyWithResponse(ctx context.Context, applicationId int, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesUpdateResponse, error)
ApplicationsDataSourcesUpdateWithBodyWithResponse request with arbitrary body returning *ApplicationsDataSourcesUpdateResponse
func (*ClientWithResponses) ApplicationsDataSourcesUpdateWithResponse ¶
func (c *ClientWithResponses) ApplicationsDataSourcesUpdateWithResponse(ctx context.Context, applicationId int, id int, body ApplicationsDataSourcesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesUpdateResponse, error)
func (*ClientWithResponses) ApplicationsDestroyWithResponse ¶
func (c *ClientWithResponses) ApplicationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ApplicationsDestroyResponse, error)
ApplicationsDestroyWithResponse request returning *ApplicationsDestroyResponse
func (*ClientWithResponses) ApplicationsFormattedCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplicationsFormattedCreateWithBodyWithResponse(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsFormattedCreateResponse, error)
ApplicationsFormattedCreateWithBodyWithResponse request with arbitrary body returning *ApplicationsFormattedCreateResponse
func (*ClientWithResponses) ApplicationsFormattedCreateWithResponse ¶
func (c *ClientWithResponses) ApplicationsFormattedCreateWithResponse(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, body ApplicationsFormattedCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsFormattedCreateResponse, error)
func (*ClientWithResponses) ApplicationsFormattedDestroyWithResponse ¶
func (c *ClientWithResponses) ApplicationsFormattedDestroyWithResponse(ctx context.Context, id int, format ApplicationsFormattedDestroyParamsFormat, reqEditors ...RequestEditorFn) (*ApplicationsFormattedDestroyResponse, error)
ApplicationsFormattedDestroyWithResponse request returning *ApplicationsFormattedDestroyResponse
func (*ClientWithResponses) ApplicationsFormattedListWithResponse ¶
func (c *ClientWithResponses) ApplicationsFormattedListWithResponse(ctx context.Context, format ApplicationsFormattedListParamsFormat, reqEditors ...RequestEditorFn) (*ApplicationsFormattedListResponse, error)
ApplicationsFormattedListWithResponse request returning *ApplicationsFormattedListResponse
func (*ClientWithResponses) ApplicationsFormattedRetrieveWithResponse ¶
func (c *ClientWithResponses) ApplicationsFormattedRetrieveWithResponse(ctx context.Context, id int, format ApplicationsFormattedRetrieveParamsFormat, reqEditors ...RequestEditorFn) (*ApplicationsFormattedRetrieveResponse, error)
ApplicationsFormattedRetrieveWithResponse request returning *ApplicationsFormattedRetrieveResponse
func (*ClientWithResponses) ApplicationsFormattedUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplicationsFormattedUpdateWithBodyWithResponse(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsFormattedUpdateResponse, error)
ApplicationsFormattedUpdateWithBodyWithResponse request with arbitrary body returning *ApplicationsFormattedUpdateResponse
func (*ClientWithResponses) ApplicationsFormattedUpdateWithResponse ¶
func (c *ClientWithResponses) ApplicationsFormattedUpdateWithResponse(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, body ApplicationsFormattedUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsFormattedUpdateResponse, error)
func (*ClientWithResponses) ApplicationsListWithResponse ¶
func (c *ClientWithResponses) ApplicationsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApplicationsListResponse, error)
ApplicationsListWithResponse request returning *ApplicationsListResponse
func (*ClientWithResponses) ApplicationsRetrieveWithResponse ¶
func (c *ClientWithResponses) ApplicationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ApplicationsRetrieveResponse, error)
ApplicationsRetrieveWithResponse request returning *ApplicationsRetrieveResponse
func (*ClientWithResponses) ApplicationsUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplicationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsUpdateResponse, error)
ApplicationsUpdateWithBodyWithResponse request with arbitrary body returning *ApplicationsUpdateResponse
func (*ClientWithResponses) ApplicationsUpdateWithResponse ¶
func (c *ClientWithResponses) ApplicationsUpdateWithResponse(ctx context.Context, id int, body ApplicationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsUpdateResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // ApplicationsListWithResponse request ApplicationsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApplicationsListResponse, error) // ApplicationsCreateWithBodyWithResponse request with any body ApplicationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsCreateResponse, error) ApplicationsCreateWithResponse(ctx context.Context, body ApplicationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsCreateResponse, error) // ApplicationsDataSourcesListWithResponse request ApplicationsDataSourcesListWithResponse(ctx context.Context, applicationId int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesListResponse, error) // ApplicationsDataSourcesCreateWithBodyWithResponse request with any body ApplicationsDataSourcesCreateWithBodyWithResponse(ctx context.Context, applicationId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesCreateResponse, error) ApplicationsDataSourcesCreateWithResponse(ctx context.Context, applicationId int, body ApplicationsDataSourcesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesCreateResponse, error) // ApplicationsDataSourcesDestroyWithResponse request ApplicationsDataSourcesDestroyWithResponse(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesDestroyResponse, error) // ApplicationsDataSourcesRetrieveWithResponse request ApplicationsDataSourcesRetrieveWithResponse(ctx context.Context, applicationId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesRetrieveResponse, error) // ApplicationsDataSourcesUpdateWithBodyWithResponse request with any body ApplicationsDataSourcesUpdateWithBodyWithResponse(ctx context.Context, applicationId int, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesUpdateResponse, error) ApplicationsDataSourcesUpdateWithResponse(ctx context.Context, applicationId int, id int, body ApplicationsDataSourcesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesUpdateResponse, error) // ApplicationsDataSourcesChecksListWithResponse request ApplicationsDataSourcesChecksListWithResponse(ctx context.Context, applicationId int, sourceId int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksListResponse, error) // ApplicationsDataSourcesChecksCreateWithBodyWithResponse request with any body ApplicationsDataSourcesChecksCreateWithBodyWithResponse(ctx context.Context, applicationId int, sourceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksCreateResponse, error) ApplicationsDataSourcesChecksCreateWithResponse(ctx context.Context, applicationId int, sourceId int, body ApplicationsDataSourcesChecksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksCreateResponse, error) // ApplicationsDataSourcesChecksDestroyWithResponse request ApplicationsDataSourcesChecksDestroyWithResponse(ctx context.Context, applicationId int, sourceId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksDestroyResponse, error) // ApplicationsDataSourcesChecksRetrieveWithResponse request ApplicationsDataSourcesChecksRetrieveWithResponse(ctx context.Context, applicationId int, sourceId int, id int, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksRetrieveResponse, error) // ApplicationsDataSourcesChecksUpdateWithBodyWithResponse request with any body ApplicationsDataSourcesChecksUpdateWithBodyWithResponse(ctx context.Context, applicationId int, sourceId int, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksUpdateResponse, error) ApplicationsDataSourcesChecksUpdateWithResponse(ctx context.Context, applicationId int, sourceId int, id int, body ApplicationsDataSourcesChecksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsDataSourcesChecksUpdateResponse, error) // ApplicationsDestroyWithResponse request ApplicationsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ApplicationsDestroyResponse, error) // ApplicationsRetrieveWithResponse request ApplicationsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ApplicationsRetrieveResponse, error) // ApplicationsUpdateWithBodyWithResponse request with any body ApplicationsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsUpdateResponse, error) ApplicationsUpdateWithResponse(ctx context.Context, id int, body ApplicationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsUpdateResponse, error) // ApplicationsFormattedDestroyWithResponse request ApplicationsFormattedDestroyWithResponse(ctx context.Context, id int, format ApplicationsFormattedDestroyParamsFormat, reqEditors ...RequestEditorFn) (*ApplicationsFormattedDestroyResponse, error) // ApplicationsFormattedRetrieveWithResponse request ApplicationsFormattedRetrieveWithResponse(ctx context.Context, id int, format ApplicationsFormattedRetrieveParamsFormat, reqEditors ...RequestEditorFn) (*ApplicationsFormattedRetrieveResponse, error) // ApplicationsFormattedUpdateWithBodyWithResponse request with any body ApplicationsFormattedUpdateWithBodyWithResponse(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsFormattedUpdateResponse, error) ApplicationsFormattedUpdateWithResponse(ctx context.Context, id int, format ApplicationsFormattedUpdateParamsFormat, body ApplicationsFormattedUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsFormattedUpdateResponse, error) // ApplicationsFormattedListWithResponse request ApplicationsFormattedListWithResponse(ctx context.Context, format ApplicationsFormattedListParamsFormat, reqEditors ...RequestEditorFn) (*ApplicationsFormattedListResponse, error) // ApplicationsFormattedCreateWithBodyWithResponse request with any body ApplicationsFormattedCreateWithBodyWithResponse(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplicationsFormattedCreateResponse, error) ApplicationsFormattedCreateWithResponse(ctx context.Context, format ApplicationsFormattedCreateParamsFormat, body ApplicationsFormattedCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplicationsFormattedCreateResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DataSource ¶
type DataSource struct {
// contains filtered or unexported fields
}
DataSource defines model for DataSource.
func (DataSource) AsHttpDataSourceTyped ¶
func (t DataSource) AsHttpDataSourceTyped() (HttpDataSourceTyped, error)
AsHttpDataSourceTyped returns the union data inside the DataSource as a HttpDataSourceTyped
func (DataSource) Discriminator ¶
func (t DataSource) Discriminator() (string, error)
func (*DataSource) FromHttpDataSourceTyped ¶
func (t *DataSource) FromHttpDataSourceTyped(v HttpDataSourceTyped) error
FromHttpDataSourceTyped overwrites any union data inside the DataSource as the provided HttpDataSourceTyped
func (DataSource) MarshalJSON ¶
func (t DataSource) MarshalJSON() ([]byte, error)
func (*DataSource) MergeHttpDataSourceTyped ¶
func (t *DataSource) MergeHttpDataSourceTyped(v HttpDataSourceTyped) error
MergeHttpDataSourceTyped performs a merge with any union data inside the DataSource, using the provided HttpDataSourceTyped
func (*DataSource) UnmarshalJSON ¶
func (t *DataSource) UnmarshalJSON(b []byte) error
func (DataSource) ValueByDiscriminator ¶
func (t DataSource) ValueByDiscriminator() (interface{}, error)
type DataSourceRequest ¶
type DataSourceRequest struct {
// contains filtered or unexported fields
}
DataSourceRequest defines model for DataSourceRequest.
func (DataSourceRequest) AsHttpDataSourceTypedRequest ¶
func (t DataSourceRequest) AsHttpDataSourceTypedRequest() (HttpDataSourceTypedRequest, error)
AsHttpDataSourceTypedRequest returns the union data inside the DataSourceRequest as a HttpDataSourceTypedRequest
func (DataSourceRequest) Discriminator ¶
func (t DataSourceRequest) Discriminator() (string, error)
func (*DataSourceRequest) FromHttpDataSourceTypedRequest ¶
func (t *DataSourceRequest) FromHttpDataSourceTypedRequest(v HttpDataSourceTypedRequest) error
FromHttpDataSourceTypedRequest overwrites any union data inside the DataSourceRequest as the provided HttpDataSourceTypedRequest
func (DataSourceRequest) MarshalJSON ¶
func (t DataSourceRequest) MarshalJSON() ([]byte, error)
func (*DataSourceRequest) MergeHttpDataSourceTypedRequest ¶
func (t *DataSourceRequest) MergeHttpDataSourceTypedRequest(v HttpDataSourceTypedRequest) error
MergeHttpDataSourceTypedRequest performs a merge with any union data inside the DataSourceRequest, using the provided HttpDataSourceTypedRequest
func (*DataSourceRequest) UnmarshalJSON ¶
func (t *DataSourceRequest) UnmarshalJSON(b []byte) error
func (DataSourceRequest) ValueByDiscriminator ¶
func (t DataSourceRequest) ValueByDiscriminator() (interface{}, error)
type DatatypeEnum ¶
type DatatypeEnum string
DatatypeEnum * `bool` - Boolean * `int` - Integer * `str` - String * `datetime` - DateTime
const ( Bool DatatypeEnum = "bool" Datetime DatatypeEnum = "datetime" Int DatatypeEnum = "int" Str DatatypeEnum = "str" )
Defines values for DatatypeEnum.
type HttpDataSource ¶
type HttpDataSource struct { BasicAuthPassword *string `json:"basic_auth_password,omitempty"` BasicAuthUsername *string `json:"basic_auth_username,omitempty"` Checks *string `json:"checks,omitempty"` Enabled *bool `json:"enabled,omitempty"` Id *int `json:"id,omitempty"` Label *string `json:"label"` Url string `json:"url"` }
HttpDataSource defines model for HttpDataSource.
type HttpDataSourceRequest ¶
type HttpDataSourceRequest struct { BasicAuthPassword *string `json:"basic_auth_password,omitempty"` BasicAuthUsername *string `json:"basic_auth_username,omitempty"` Enabled *bool `json:"enabled,omitempty"` Label *string `json:"label"` Url string `json:"url"` }
HttpDataSourceRequest defines model for HttpDataSourceRequest.
type HttpDataSourceTyped ¶
type HttpDataSourceTyped struct { BasicAuthPassword *string `json:"basic_auth_password,omitempty"` BasicAuthUsername *string `json:"basic_auth_username,omitempty"` Checks *string `json:"checks,omitempty"` Enabled *bool `json:"enabled,omitempty"` Id *int `json:"id,omitempty"` Label *string `json:"label"` Type string `json:"type"` Url string `json:"url"` }
HttpDataSourceTyped defines model for HttpDataSourceTyped.
type HttpDataSourceTypedRequest ¶
type HttpDataSourceTypedRequest struct { BasicAuthPassword *string `json:"basic_auth_password,omitempty"` BasicAuthUsername *string `json:"basic_auth_username,omitempty"` Enabled *bool `json:"enabled,omitempty"` Label *string `json:"label"` Type string `json:"type"` Url string `json:"url"` }
HttpDataSourceTypedRequest defines model for HttpDataSourceTypedRequest.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type HttpStatusCheck ¶
type HttpStatusCheck struct { Enabled *bool `json:"enabled,omitempty"` Id *int `json:"id,omitempty"` Label string `json:"label"` StatusCode int `json:"status_code"` }
HttpStatusCheck defines model for HttpStatusCheck.
type HttpStatusCheckRequest ¶
type HttpStatusCheckRequest struct { Enabled *bool `json:"enabled,omitempty"` Label string `json:"label"` StatusCode int `json:"status_code"` }
HttpStatusCheckRequest defines model for HttpStatusCheckRequest.
type HttpStatusCheckTyped ¶
type HttpStatusCheckTyped struct { Enabled *bool `json:"enabled,omitempty"` Id *int `json:"id,omitempty"` Label string `json:"label"` StatusCode int `json:"status_code"` Type string `json:"type"` }
HttpStatusCheckTyped defines model for HttpStatusCheckTyped.
type HttpStatusCheckTypedRequest ¶
type HttpStatusCheckTypedRequest struct { Enabled *bool `json:"enabled,omitempty"` Label string `json:"label"` StatusCode int `json:"status_code"` Type string `json:"type"` }
HttpStatusCheckTypedRequest defines model for HttpStatusCheckTypedRequest.
type JsonDataCheck ¶
type JsonDataCheck struct { // Datatype * `bool` - Boolean // * `int` - Integer // * `str` - String // * `datetime` - DateTime Datatype DatatypeEnum `json:"datatype"` Enabled *bool `json:"enabled,omitempty"` Id *int `json:"id,omitempty"` Label string `json:"label"` // Operator * `lt` - Lower than // * `gt` - Greater then // * `eq` - Equals // * `neq` - Not Equal Operator OperatorEnum `json:"operator"` Path string `json:"path"` Value string `json:"value"` }
JsonDataCheck defines model for JsonDataCheck.
type JsonDataCheckRequest ¶
type JsonDataCheckRequest struct { // Datatype * `bool` - Boolean // * `int` - Integer // * `str` - String // * `datetime` - DateTime Datatype DatatypeEnum `json:"datatype"` Enabled *bool `json:"enabled,omitempty"` Label string `json:"label"` // Operator * `lt` - Lower than // * `gt` - Greater then // * `eq` - Equals // * `neq` - Not Equal Operator OperatorEnum `json:"operator"` Path string `json:"path"` Value string `json:"value"` }
JsonDataCheckRequest defines model for JsonDataCheckRequest.
type JsonDataCheckTyped ¶
type JsonDataCheckTyped struct { // Datatype * `bool` - Boolean // * `int` - Integer // * `str` - String // * `datetime` - DateTime Datatype DatatypeEnum `json:"datatype"` Enabled *bool `json:"enabled,omitempty"` Id *int `json:"id,omitempty"` Label string `json:"label"` // Operator * `lt` - Lower than // * `gt` - Greater then // * `eq` - Equals // * `neq` - Not Equal Operator OperatorEnum `json:"operator"` Path string `json:"path"` Type string `json:"type"` Value string `json:"value"` }
JsonDataCheckTyped defines model for JsonDataCheckTyped.
type JsonDataCheckTypedRequest ¶
type JsonDataCheckTypedRequest struct { // Datatype * `bool` - Boolean // * `int` - Integer // * `str` - String // * `datetime` - DateTime Datatype DatatypeEnum `json:"datatype"` Enabled *bool `json:"enabled,omitempty"` Label string `json:"label"` // Operator * `lt` - Lower than // * `gt` - Greater then // * `eq` - Equals // * `neq` - Not Equal Operator OperatorEnum `json:"operator"` Path string `json:"path"` Type string `json:"type"` Value string `json:"value"` }
JsonDataCheckTypedRequest defines model for JsonDataCheckTypedRequest.
type OperatorEnum ¶
type OperatorEnum string
OperatorEnum * `lt` - Lower than * `gt` - Greater then * `eq` - Equals * `neq` - Not Equal
const ( Eq OperatorEnum = "eq" Gt OperatorEnum = "gt" Lt OperatorEnum = "lt" Neq OperatorEnum = "neq" )
Defines values for OperatorEnum.