operations

package
v3.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	SupportedOptionServerURL            = "serverURL"
	SupportedOptionRetries              = "retries"
	SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride"
)

Variables

View Source
var ErrUnsupportedOption = errors.New("unsupported option")

Functions

This section is empty.

Types

type AcceptHeaderEnum

type AcceptHeaderEnum string
const (
	AcceptHeaderEnumApplicationJson        AcceptHeaderEnum = "application/json"
	AcceptHeaderEnumApplicationOctetStream AcceptHeaderEnum = "application/octet-stream"
	AcceptHeaderEnumApplicationXYaml       AcceptHeaderEnum = "application/x-yaml"
)

func (AcceptHeaderEnum) ToPointer

func (e AcceptHeaderEnum) ToPointer() *AcceptHeaderEnum

type DeleteAPIEndpointRequest

type DeleteAPIEndpointRequest struct {
	// The ID of the ApiEndpoint to delete.
	APIEndpointID string `pathParam:"style=simple,explode=false,name=apiEndpointID"`
	// The ID of the Api the ApiEndpoint belongs to.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api the ApiEndpoint belongs to.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*DeleteAPIEndpointRequest) GetAPIEndpointID

func (o *DeleteAPIEndpointRequest) GetAPIEndpointID() string

func (*DeleteAPIEndpointRequest) GetAPIID

func (o *DeleteAPIEndpointRequest) GetAPIID() string

func (*DeleteAPIEndpointRequest) GetVersionID

func (o *DeleteAPIEndpointRequest) GetVersionID() string

type DeleteAPIEndpointResponse

type DeleteAPIEndpointResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*DeleteAPIEndpointResponse) GetContentType

func (o *DeleteAPIEndpointResponse) GetContentType() string

func (*DeleteAPIEndpointResponse) GetError

func (o *DeleteAPIEndpointResponse) GetError() *sdkerrors.Error

func (*DeleteAPIEndpointResponse) GetRawResponse

func (o *DeleteAPIEndpointResponse) GetRawResponse() *http.Response

func (*DeleteAPIEndpointResponse) GetStatusCode

func (o *DeleteAPIEndpointResponse) GetStatusCode() int

type DeleteAPIRequest

type DeleteAPIRequest struct {
	// The ID of the Api to delete.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to delete.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*DeleteAPIRequest) GetAPIID

func (o *DeleteAPIRequest) GetAPIID() string

func (*DeleteAPIRequest) GetVersionID

func (o *DeleteAPIRequest) GetVersionID() string

type DeleteAPIResponse

type DeleteAPIResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*DeleteAPIResponse) GetContentType

func (o *DeleteAPIResponse) GetContentType() string

func (*DeleteAPIResponse) GetError

func (o *DeleteAPIResponse) GetError() *sdkerrors.Error

func (*DeleteAPIResponse) GetRawResponse

func (o *DeleteAPIResponse) GetRawResponse() *http.Response

func (*DeleteAPIResponse) GetStatusCode

func (o *DeleteAPIResponse) GetStatusCode() int

type DeleteSchemaRequest

type DeleteSchemaRequest struct {
	// The ID of the Api to delete schemas for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The revision ID of the schema to delete.
	RevisionID string `pathParam:"style=simple,explode=false,name=revisionID"`
	// The version ID of the Api to delete metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*DeleteSchemaRequest) GetAPIID

func (o *DeleteSchemaRequest) GetAPIID() string

func (*DeleteSchemaRequest) GetRevisionID

func (o *DeleteSchemaRequest) GetRevisionID() string

func (*DeleteSchemaRequest) GetVersionID

func (o *DeleteSchemaRequest) GetVersionID() string

type DeleteSchemaResponse

type DeleteSchemaResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*DeleteSchemaResponse) GetContentType

func (o *DeleteSchemaResponse) GetContentType() string

func (*DeleteSchemaResponse) GetError

func (o *DeleteSchemaResponse) GetError() *sdkerrors.Error

func (*DeleteSchemaResponse) GetRawResponse

func (o *DeleteSchemaResponse) GetRawResponse() *http.Response

func (*DeleteSchemaResponse) GetStatusCode

func (o *DeleteSchemaResponse) GetStatusCode() int

type DeleteVersionMetadataRequest

type DeleteVersionMetadataRequest struct {
	// The ID of the Api to delete metadata for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The key of the metadata to delete.
	MetaKey string `pathParam:"style=simple,explode=false,name=metaKey"`
	// The value of the metadata to delete.
	MetaValue string `pathParam:"style=simple,explode=false,name=metaValue"`
	// The version ID of the Api to delete metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*DeleteVersionMetadataRequest) GetAPIID

func (o *DeleteVersionMetadataRequest) GetAPIID() string

func (*DeleteVersionMetadataRequest) GetMetaKey

func (o *DeleteVersionMetadataRequest) GetMetaKey() string

func (*DeleteVersionMetadataRequest) GetMetaValue

func (o *DeleteVersionMetadataRequest) GetMetaValue() string

func (*DeleteVersionMetadataRequest) GetVersionID

func (o *DeleteVersionMetadataRequest) GetVersionID() string

type DeleteVersionMetadataResponse

type DeleteVersionMetadataResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*DeleteVersionMetadataResponse) GetContentType

func (o *DeleteVersionMetadataResponse) GetContentType() string

func (*DeleteVersionMetadataResponse) GetError

func (*DeleteVersionMetadataResponse) GetRawResponse

func (o *DeleteVersionMetadataResponse) GetRawResponse() *http.Response

func (*DeleteVersionMetadataResponse) GetStatusCode

func (o *DeleteVersionMetadataResponse) GetStatusCode() int

type DownloadSchemaRequest

type DownloadSchemaRequest struct {
	// The ID of the Api to download the schema for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to delete metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*DownloadSchemaRequest) GetAPIID

func (o *DownloadSchemaRequest) GetAPIID() string

func (*DownloadSchemaRequest) GetVersionID

func (o *DownloadSchemaRequest) GetVersionID() string

type DownloadSchemaResponse

type DownloadSchemaResponse struct {
	// OK
	// The Close method must be called on this field, even if it is not used, to prevent resource leaks.
	TwoHundredApplicationJSONSchema io.ReadCloser
	// OK
	// The Close method must be called on this field, even if it is not used, to prevent resource leaks.
	TwoHundredApplicationXYamlSchema io.ReadCloser
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*DownloadSchemaResponse) GetContentType

func (o *DownloadSchemaResponse) GetContentType() string

func (*DownloadSchemaResponse) GetError

func (o *DownloadSchemaResponse) GetError() *sdkerrors.Error

func (*DownloadSchemaResponse) GetRawResponse

func (o *DownloadSchemaResponse) GetRawResponse() *http.Response

func (*DownloadSchemaResponse) GetStatusCode

func (o *DownloadSchemaResponse) GetStatusCode() int

func (*DownloadSchemaResponse) GetTwoHundredApplicationJSONSchema

func (o *DownloadSchemaResponse) GetTwoHundredApplicationJSONSchema() io.ReadCloser

func (*DownloadSchemaResponse) GetTwoHundredApplicationXYamlSchema

func (o *DownloadSchemaResponse) GetTwoHundredApplicationXYamlSchema() io.ReadCloser

type DownloadSchemaRevisionRequest

type DownloadSchemaRevisionRequest struct {
	// The ID of the Api to retrieve schemas for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The revision ID of the schema to retrieve.
	RevisionID string `pathParam:"style=simple,explode=false,name=revisionID"`
	// The version ID of the Api to delete metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*DownloadSchemaRevisionRequest) GetAPIID

func (o *DownloadSchemaRevisionRequest) GetAPIID() string

func (*DownloadSchemaRevisionRequest) GetRevisionID

func (o *DownloadSchemaRevisionRequest) GetRevisionID() string

func (*DownloadSchemaRevisionRequest) GetVersionID

func (o *DownloadSchemaRevisionRequest) GetVersionID() string

type DownloadSchemaRevisionResponse

type DownloadSchemaRevisionResponse struct {
	// OK
	// The Close method must be called on this field, even if it is not used, to prevent resource leaks.
	TwoHundredApplicationJSONSchema io.ReadCloser
	// OK
	// The Close method must be called on this field, even if it is not used, to prevent resource leaks.
	TwoHundredApplicationXYamlSchema io.ReadCloser
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*DownloadSchemaRevisionResponse) GetContentType

func (o *DownloadSchemaRevisionResponse) GetContentType() string

func (*DownloadSchemaRevisionResponse) GetError

func (*DownloadSchemaRevisionResponse) GetRawResponse

func (o *DownloadSchemaRevisionResponse) GetRawResponse() *http.Response

func (*DownloadSchemaRevisionResponse) GetStatusCode

func (o *DownloadSchemaRevisionResponse) GetStatusCode() int

func (*DownloadSchemaRevisionResponse) GetTwoHundredApplicationJSONSchema

func (o *DownloadSchemaRevisionResponse) GetTwoHundredApplicationJSONSchema() io.ReadCloser

func (*DownloadSchemaRevisionResponse) GetTwoHundredApplicationXYamlSchema

func (o *DownloadSchemaRevisionResponse) GetTwoHundredApplicationXYamlSchema() io.ReadCloser

type File

type File struct {
	Content  []byte `multipartForm:"content"`
	FileName string `multipartForm:"name=file"`
}

func (*File) GetContent

func (o *File) GetContent() []byte

func (*File) GetFileName

func (o *File) GetFileName() string

type FindAPIEndpointRequest

type FindAPIEndpointRequest struct {
	// The ID of the Api the ApiEndpoint belongs to.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The displayName of the ApiEndpoint to find (set by operationId from OpenAPI schema).
	DisplayName string `pathParam:"style=simple,explode=false,name=displayName"`
	// The version ID of the Api the ApiEndpoint belongs to.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*FindAPIEndpointRequest) GetAPIID

func (o *FindAPIEndpointRequest) GetAPIID() string

func (*FindAPIEndpointRequest) GetDisplayName

func (o *FindAPIEndpointRequest) GetDisplayName() string

func (*FindAPIEndpointRequest) GetVersionID

func (o *FindAPIEndpointRequest) GetVersionID() string

type FindAPIEndpointResponse

type FindAPIEndpointResponse struct {
	// OK
	APIEndpoint *shared.APIEndpoint
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*FindAPIEndpointResponse) GetAPIEndpoint

func (o *FindAPIEndpointResponse) GetAPIEndpoint() *shared.APIEndpoint

func (*FindAPIEndpointResponse) GetContentType

func (o *FindAPIEndpointResponse) GetContentType() string

func (*FindAPIEndpointResponse) GetError

func (o *FindAPIEndpointResponse) GetError() *sdkerrors.Error

func (*FindAPIEndpointResponse) GetRawResponse

func (o *FindAPIEndpointResponse) GetRawResponse() *http.Response

func (*FindAPIEndpointResponse) GetStatusCode

func (o *FindAPIEndpointResponse) GetStatusCode() int

type GenerateOpenAPISpecForAPIEndpointRequest

type GenerateOpenAPISpecForAPIEndpointRequest struct {
	// The ID of the ApiEndpoint to generate an OpenAPI specification for.
	APIEndpointID string `pathParam:"style=simple,explode=false,name=apiEndpointID"`
	// The ID of the Api to generate an OpenAPI specification for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to generate an OpenAPI specification for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GenerateOpenAPISpecForAPIEndpointRequest) GetAPIEndpointID

func (o *GenerateOpenAPISpecForAPIEndpointRequest) GetAPIEndpointID() string

func (*GenerateOpenAPISpecForAPIEndpointRequest) GetAPIID

func (*GenerateOpenAPISpecForAPIEndpointRequest) GetVersionID

type GenerateOpenAPISpecForAPIEndpointResponse

type GenerateOpenAPISpecForAPIEndpointResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// OK
	GenerateOpenAPISpecDiff *shared.GenerateOpenAPISpecDiff
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GenerateOpenAPISpecForAPIEndpointResponse) GetContentType

func (*GenerateOpenAPISpecForAPIEndpointResponse) GetError

func (*GenerateOpenAPISpecForAPIEndpointResponse) GetGenerateOpenAPISpecDiff

func (*GenerateOpenAPISpecForAPIEndpointResponse) GetRawResponse

func (*GenerateOpenAPISpecForAPIEndpointResponse) GetStatusCode

type GenerateOpenAPISpecRequest

type GenerateOpenAPISpecRequest struct {
	// The ID of the Api to generate an OpenAPI specification for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to generate an OpenAPI specification for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GenerateOpenAPISpecRequest) GetAPIID

func (o *GenerateOpenAPISpecRequest) GetAPIID() string

func (*GenerateOpenAPISpecRequest) GetVersionID

func (o *GenerateOpenAPISpecRequest) GetVersionID() string

type GenerateOpenAPISpecResponse

type GenerateOpenAPISpecResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// OK
	GenerateOpenAPISpecDiff *shared.GenerateOpenAPISpecDiff
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GenerateOpenAPISpecResponse) GetContentType

func (o *GenerateOpenAPISpecResponse) GetContentType() string

func (*GenerateOpenAPISpecResponse) GetError

func (*GenerateOpenAPISpecResponse) GetGenerateOpenAPISpecDiff

func (o *GenerateOpenAPISpecResponse) GetGenerateOpenAPISpecDiff() *shared.GenerateOpenAPISpecDiff

func (*GenerateOpenAPISpecResponse) GetRawResponse

func (o *GenerateOpenAPISpecResponse) GetRawResponse() *http.Response

func (*GenerateOpenAPISpecResponse) GetStatusCode

func (o *GenerateOpenAPISpecResponse) GetStatusCode() int

type GeneratePostmanCollectionForAPIEndpointRequest

type GeneratePostmanCollectionForAPIEndpointRequest struct {
	// The ID of the ApiEndpoint to generate a Postman collection for.
	APIEndpointID string `pathParam:"style=simple,explode=false,name=apiEndpointID"`
	// The ID of the Api to generate a Postman collection for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to generate a Postman collection for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GeneratePostmanCollectionForAPIEndpointRequest) GetAPIEndpointID

func (*GeneratePostmanCollectionForAPIEndpointRequest) GetAPIID

func (*GeneratePostmanCollectionForAPIEndpointRequest) GetVersionID

type GeneratePostmanCollectionForAPIEndpointResponse

type GeneratePostmanCollectionForAPIEndpointResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// OK
	// The Close method must be called on this field, even if it is not used, to prevent resource leaks.
	PostmanCollection io.ReadCloser
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GeneratePostmanCollectionForAPIEndpointResponse) GetContentType

func (*GeneratePostmanCollectionForAPIEndpointResponse) GetError

func (*GeneratePostmanCollectionForAPIEndpointResponse) GetPostmanCollection

func (*GeneratePostmanCollectionForAPIEndpointResponse) GetRawResponse

func (*GeneratePostmanCollectionForAPIEndpointResponse) GetStatusCode

type GeneratePostmanCollectionRequest

type GeneratePostmanCollectionRequest struct {
	// The ID of the Api to generate a Postman collection for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to generate a Postman collection for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GeneratePostmanCollectionRequest) GetAPIID

func (*GeneratePostmanCollectionRequest) GetVersionID

func (o *GeneratePostmanCollectionRequest) GetVersionID() string

type GeneratePostmanCollectionResponse

type GeneratePostmanCollectionResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// OK
	// The Close method must be called on this field, even if it is not used, to prevent resource leaks.
	PostmanCollection io.ReadCloser
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GeneratePostmanCollectionResponse) GetContentType

func (o *GeneratePostmanCollectionResponse) GetContentType() string

func (*GeneratePostmanCollectionResponse) GetError

func (*GeneratePostmanCollectionResponse) GetPostmanCollection

func (o *GeneratePostmanCollectionResponse) GetPostmanCollection() io.ReadCloser

func (*GeneratePostmanCollectionResponse) GetRawResponse

func (o *GeneratePostmanCollectionResponse) GetRawResponse() *http.Response

func (*GeneratePostmanCollectionResponse) GetStatusCode

func (o *GeneratePostmanCollectionResponse) GetStatusCode() int

type GenerateRequestPostmanCollectionRequest

type GenerateRequestPostmanCollectionRequest struct {
	// The ID of the request to retrieve.
	RequestID string `pathParam:"style=simple,explode=false,name=requestID"`
}

func (*GenerateRequestPostmanCollectionRequest) GetRequestID

type GenerateRequestPostmanCollectionResponse

type GenerateRequestPostmanCollectionResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// OK
	// The Close method must be called on this field, even if it is not used, to prevent resource leaks.
	PostmanCollection io.ReadCloser
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GenerateRequestPostmanCollectionResponse) GetContentType

func (*GenerateRequestPostmanCollectionResponse) GetError

func (*GenerateRequestPostmanCollectionResponse) GetPostmanCollection

func (o *GenerateRequestPostmanCollectionResponse) GetPostmanCollection() io.ReadCloser

func (*GenerateRequestPostmanCollectionResponse) GetRawResponse

func (*GenerateRequestPostmanCollectionResponse) GetStatusCode

func (o *GenerateRequestPostmanCollectionResponse) GetStatusCode() int

type GetAPIEndpointRequest

type GetAPIEndpointRequest struct {
	// The ID of the ApiEndpoint to retrieve.
	APIEndpointID string `pathParam:"style=simple,explode=false,name=apiEndpointID"`
	// The ID of the Api the ApiEndpoint belongs to.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api the ApiEndpoint belongs to.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GetAPIEndpointRequest) GetAPIEndpointID

func (o *GetAPIEndpointRequest) GetAPIEndpointID() string

func (*GetAPIEndpointRequest) GetAPIID

func (o *GetAPIEndpointRequest) GetAPIID() string

func (*GetAPIEndpointRequest) GetVersionID

func (o *GetAPIEndpointRequest) GetVersionID() string

type GetAPIEndpointResponse

type GetAPIEndpointResponse struct {
	// OK
	APIEndpoint *shared.APIEndpoint
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetAPIEndpointResponse) GetAPIEndpoint

func (o *GetAPIEndpointResponse) GetAPIEndpoint() *shared.APIEndpoint

func (*GetAPIEndpointResponse) GetContentType

func (o *GetAPIEndpointResponse) GetContentType() string

func (*GetAPIEndpointResponse) GetError

func (o *GetAPIEndpointResponse) GetError() *sdkerrors.Error

func (*GetAPIEndpointResponse) GetRawResponse

func (o *GetAPIEndpointResponse) GetRawResponse() *http.Response

func (*GetAPIEndpointResponse) GetStatusCode

func (o *GetAPIEndpointResponse) GetStatusCode() int

type GetAccessTokenRequest added in v3.3.11

type GetAccessTokenRequest struct {
	// The workspace ID
	WorkspaceID string `queryParam:"style=form,explode=true,name=workspace_id"`
}

func (*GetAccessTokenRequest) GetWorkspaceID added in v3.3.11

func (o *GetAccessTokenRequest) GetWorkspaceID() string

type GetAccessTokenResponse added in v3.3.11

type GetAccessTokenResponse struct {
	// OK
	AccessToken *shared.AccessToken
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetAccessTokenResponse) GetAccessToken added in v3.3.11

func (o *GetAccessTokenResponse) GetAccessToken() *shared.AccessToken

func (*GetAccessTokenResponse) GetContentType added in v3.3.11

func (o *GetAccessTokenResponse) GetContentType() string

func (*GetAccessTokenResponse) GetError added in v3.3.11

func (o *GetAccessTokenResponse) GetError() *sdkerrors.Error

func (*GetAccessTokenResponse) GetRawResponse added in v3.3.11

func (o *GetAccessTokenResponse) GetRawResponse() *http.Response

func (*GetAccessTokenResponse) GetStatusCode added in v3.3.11

func (o *GetAccessTokenResponse) GetStatusCode() int

type GetAllAPIEndpointsRequest

type GetAllAPIEndpointsRequest struct {
	// The ID of the Api to retrieve ApiEndpoints for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
}

func (*GetAllAPIEndpointsRequest) GetAPIID

func (o *GetAllAPIEndpointsRequest) GetAPIID() string

type GetAllAPIEndpointsResponse

type GetAllAPIEndpointsResponse struct {
	// OK
	APIEndpoints []shared.APIEndpoint
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetAllAPIEndpointsResponse) GetAPIEndpoints added in v3.1.0

func (o *GetAllAPIEndpointsResponse) GetAPIEndpoints() []shared.APIEndpoint

func (*GetAllAPIEndpointsResponse) GetContentType

func (o *GetAllAPIEndpointsResponse) GetContentType() string

func (*GetAllAPIEndpointsResponse) GetError

func (*GetAllAPIEndpointsResponse) GetRawResponse

func (o *GetAllAPIEndpointsResponse) GetRawResponse() *http.Response

func (*GetAllAPIEndpointsResponse) GetStatusCode

func (o *GetAllAPIEndpointsResponse) GetStatusCode() int

type GetAllAPIVersionsRequest

type GetAllAPIVersionsRequest struct {
	// The ID of the Api to retrieve.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// Metadata to filter Apis on
	Metadata map[string][]string `queryParam:"style=deepObject,explode=true,name=metadata"`
	// Configuration for filter operations
	Op *Op `queryParam:"style=deepObject,explode=true,name=op"`
}

func (*GetAllAPIVersionsRequest) GetAPIID

func (o *GetAllAPIVersionsRequest) GetAPIID() string

func (*GetAllAPIVersionsRequest) GetMetadata

func (o *GetAllAPIVersionsRequest) GetMetadata() map[string][]string

func (*GetAllAPIVersionsRequest) GetOp

func (o *GetAllAPIVersionsRequest) GetOp() *Op

type GetAllAPIVersionsResponse

type GetAllAPIVersionsResponse struct {
	// OK
	Apis []shared.API
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetAllAPIVersionsResponse) GetApis added in v3.1.0

func (o *GetAllAPIVersionsResponse) GetApis() []shared.API

func (*GetAllAPIVersionsResponse) GetContentType

func (o *GetAllAPIVersionsResponse) GetContentType() string

func (*GetAllAPIVersionsResponse) GetError

func (o *GetAllAPIVersionsResponse) GetError() *sdkerrors.Error

func (*GetAllAPIVersionsResponse) GetRawResponse

func (o *GetAllAPIVersionsResponse) GetRawResponse() *http.Response

func (*GetAllAPIVersionsResponse) GetStatusCode

func (o *GetAllAPIVersionsResponse) GetStatusCode() int

type GetAllForVersionAPIEndpointsRequest

type GetAllForVersionAPIEndpointsRequest struct {
	// The ID of the Api to retrieve ApiEndpoints for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to retrieve ApiEndpoints for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GetAllForVersionAPIEndpointsRequest) GetAPIID

func (*GetAllForVersionAPIEndpointsRequest) GetVersionID

func (o *GetAllForVersionAPIEndpointsRequest) GetVersionID() string

type GetAllForVersionAPIEndpointsResponse

type GetAllForVersionAPIEndpointsResponse struct {
	// OK
	APIEndpoints []shared.APIEndpoint
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetAllForVersionAPIEndpointsResponse) GetAPIEndpoints added in v3.1.0

func (*GetAllForVersionAPIEndpointsResponse) GetContentType

func (o *GetAllForVersionAPIEndpointsResponse) GetContentType() string

func (*GetAllForVersionAPIEndpointsResponse) GetError

func (*GetAllForVersionAPIEndpointsResponse) GetRawResponse

func (o *GetAllForVersionAPIEndpointsResponse) GetRawResponse() *http.Response

func (*GetAllForVersionAPIEndpointsResponse) GetStatusCode

func (o *GetAllForVersionAPIEndpointsResponse) GetStatusCode() int

type GetApisRequest

type GetApisRequest struct {
	// Metadata to filter Apis on
	Metadata map[string][]string `queryParam:"style=deepObject,explode=true,name=metadata"`
	// Configuration for filter operations
	Op *QueryParamOp `queryParam:"style=deepObject,explode=true,name=op"`
}

func (*GetApisRequest) GetMetadata

func (o *GetApisRequest) GetMetadata() map[string][]string

func (*GetApisRequest) GetOp

func (o *GetApisRequest) GetOp() *QueryParamOp

type GetApisResponse

type GetApisResponse struct {
	// OK
	Apis []shared.API
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetApisResponse) GetApis added in v3.1.0

func (o *GetApisResponse) GetApis() []shared.API

func (*GetApisResponse) GetContentType

func (o *GetApisResponse) GetContentType() string

func (*GetApisResponse) GetError

func (o *GetApisResponse) GetError() *sdkerrors.Error

func (*GetApisResponse) GetRawResponse

func (o *GetApisResponse) GetRawResponse() *http.Response

func (*GetApisResponse) GetStatusCode

func (o *GetApisResponse) GetStatusCode() int

type GetEmbedAccessTokenRequest

type GetEmbedAccessTokenRequest struct {
	// The description of the embed access token.
	Description *string `queryParam:"style=form,explode=true,name=description"`
	// The duration (in minutes) of the embed access token.
	Duration *int64 `queryParam:"style=form,explode=true,name=duration"`
	// The filter to apply to the query.
	Filters *shared.Filters `queryParam:"serialization=json,name=filters"`
}

func (*GetEmbedAccessTokenRequest) GetDescription

func (o *GetEmbedAccessTokenRequest) GetDescription() *string

func (*GetEmbedAccessTokenRequest) GetDuration

func (o *GetEmbedAccessTokenRequest) GetDuration() *int64

func (*GetEmbedAccessTokenRequest) GetFilters

func (o *GetEmbedAccessTokenRequest) GetFilters() *shared.Filters

type GetEmbedAccessTokenResponse

type GetEmbedAccessTokenResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// OK
	EmbedAccessTokenResponse *shared.EmbedAccessTokenResponse
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetEmbedAccessTokenResponse) GetContentType

func (o *GetEmbedAccessTokenResponse) GetContentType() string

func (*GetEmbedAccessTokenResponse) GetEmbedAccessTokenResponse

func (o *GetEmbedAccessTokenResponse) GetEmbedAccessTokenResponse() *shared.EmbedAccessTokenResponse

func (*GetEmbedAccessTokenResponse) GetError

func (*GetEmbedAccessTokenResponse) GetRawResponse

func (o *GetEmbedAccessTokenResponse) GetRawResponse() *http.Response

func (*GetEmbedAccessTokenResponse) GetStatusCode

func (o *GetEmbedAccessTokenResponse) GetStatusCode() int

type GetOrganizationsResponse added in v3.4.2

type GetOrganizationsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// OK
	Organizations []shared.Organization
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetOrganizationsResponse) GetContentType added in v3.4.2

func (o *GetOrganizationsResponse) GetContentType() string

func (*GetOrganizationsResponse) GetError added in v3.4.2

func (o *GetOrganizationsResponse) GetError() *sdkerrors.Error

func (*GetOrganizationsResponse) GetOrganizations added in v3.4.2

func (o *GetOrganizationsResponse) GetOrganizations() []shared.Organization

func (*GetOrganizationsResponse) GetRawResponse added in v3.4.2

func (o *GetOrganizationsResponse) GetRawResponse() *http.Response

func (*GetOrganizationsResponse) GetStatusCode added in v3.4.2

func (o *GetOrganizationsResponse) GetStatusCode() int

type GetRequestFromEventLogRequest

type GetRequestFromEventLogRequest struct {
	// The ID of the request to retrieve.
	RequestID string `pathParam:"style=simple,explode=false,name=requestID"`
}

func (*GetRequestFromEventLogRequest) GetRequestID

func (o *GetRequestFromEventLogRequest) GetRequestID() string

type GetRequestFromEventLogResponse

type GetRequestFromEventLogResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// OK
	UnboundedRequest *shared.UnboundedRequest
}

func (*GetRequestFromEventLogResponse) GetContentType

func (o *GetRequestFromEventLogResponse) GetContentType() string

func (*GetRequestFromEventLogResponse) GetError

func (*GetRequestFromEventLogResponse) GetRawResponse

func (o *GetRequestFromEventLogResponse) GetRawResponse() *http.Response

func (*GetRequestFromEventLogResponse) GetStatusCode

func (o *GetRequestFromEventLogResponse) GetStatusCode() int

func (*GetRequestFromEventLogResponse) GetUnboundedRequest

func (o *GetRequestFromEventLogResponse) GetUnboundedRequest() *shared.UnboundedRequest

type GetSchemaDiffRequest

type GetSchemaDiffRequest struct {
	// The ID of the Api to retrieve schemas for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The base revision ID of the schema to retrieve.
	BaseRevisionID string `pathParam:"style=simple,explode=false,name=baseRevisionID"`
	// The target revision ID of the schema to retrieve.
	TargetRevisionID string `pathParam:"style=simple,explode=false,name=targetRevisionID"`
	// The version ID of the Api to delete metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GetSchemaDiffRequest) GetAPIID

func (o *GetSchemaDiffRequest) GetAPIID() string

func (*GetSchemaDiffRequest) GetBaseRevisionID

func (o *GetSchemaDiffRequest) GetBaseRevisionID() string

func (*GetSchemaDiffRequest) GetTargetRevisionID

func (o *GetSchemaDiffRequest) GetTargetRevisionID() string

func (*GetSchemaDiffRequest) GetVersionID

func (o *GetSchemaDiffRequest) GetVersionID() string

type GetSchemaDiffResponse

type GetSchemaDiffResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// OK
	SchemaDiff *shared.SchemaDiff
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetSchemaDiffResponse) GetContentType

func (o *GetSchemaDiffResponse) GetContentType() string

func (*GetSchemaDiffResponse) GetError

func (o *GetSchemaDiffResponse) GetError() *sdkerrors.Error

func (*GetSchemaDiffResponse) GetRawResponse

func (o *GetSchemaDiffResponse) GetRawResponse() *http.Response

func (*GetSchemaDiffResponse) GetSchemaDiff

func (o *GetSchemaDiffResponse) GetSchemaDiff() *shared.SchemaDiff

func (*GetSchemaDiffResponse) GetStatusCode

func (o *GetSchemaDiffResponse) GetStatusCode() int

type GetSchemaRequest

type GetSchemaRequest struct {
	// The ID of the Api to get the schema for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to delete metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GetSchemaRequest) GetAPIID

func (o *GetSchemaRequest) GetAPIID() string

func (*GetSchemaRequest) GetVersionID

func (o *GetSchemaRequest) GetVersionID() string

type GetSchemaResponse

type GetSchemaResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// OK
	Schema *shared.Schema
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetSchemaResponse) GetContentType

func (o *GetSchemaResponse) GetContentType() string

func (*GetSchemaResponse) GetError

func (o *GetSchemaResponse) GetError() *sdkerrors.Error

func (*GetSchemaResponse) GetRawResponse

func (o *GetSchemaResponse) GetRawResponse() *http.Response

func (*GetSchemaResponse) GetSchema

func (o *GetSchemaResponse) GetSchema() *shared.Schema

func (*GetSchemaResponse) GetStatusCode

func (o *GetSchemaResponse) GetStatusCode() int

type GetSchemaRevisionRequest

type GetSchemaRevisionRequest struct {
	// The ID of the Api to retrieve schemas for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The revision ID of the schema to retrieve.
	RevisionID string `pathParam:"style=simple,explode=false,name=revisionID"`
	// The version ID of the Api to delete metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GetSchemaRevisionRequest) GetAPIID

func (o *GetSchemaRevisionRequest) GetAPIID() string

func (*GetSchemaRevisionRequest) GetRevisionID

func (o *GetSchemaRevisionRequest) GetRevisionID() string

func (*GetSchemaRevisionRequest) GetVersionID

func (o *GetSchemaRevisionRequest) GetVersionID() string

type GetSchemaRevisionResponse

type GetSchemaRevisionResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// OK
	Schema *shared.Schema
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetSchemaRevisionResponse) GetContentType

func (o *GetSchemaRevisionResponse) GetContentType() string

func (*GetSchemaRevisionResponse) GetError

func (o *GetSchemaRevisionResponse) GetError() *sdkerrors.Error

func (*GetSchemaRevisionResponse) GetRawResponse

func (o *GetSchemaRevisionResponse) GetRawResponse() *http.Response

func (*GetSchemaRevisionResponse) GetSchema

func (o *GetSchemaRevisionResponse) GetSchema() *shared.Schema

func (*GetSchemaRevisionResponse) GetStatusCode

func (o *GetSchemaRevisionResponse) GetStatusCode() int

type GetSchemasRequest

type GetSchemasRequest struct {
	// The ID of the Api to retrieve schemas for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to delete metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GetSchemasRequest) GetAPIID

func (o *GetSchemasRequest) GetAPIID() string

func (*GetSchemasRequest) GetVersionID

func (o *GetSchemasRequest) GetVersionID() string

type GetSchemasResponse

type GetSchemasResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// OK
	Classes []shared.Schema
}

func (*GetSchemasResponse) GetClasses

func (o *GetSchemasResponse) GetClasses() []shared.Schema

func (*GetSchemasResponse) GetContentType

func (o *GetSchemasResponse) GetContentType() string

func (*GetSchemasResponse) GetError

func (o *GetSchemasResponse) GetError() *sdkerrors.Error

func (*GetSchemasResponse) GetRawResponse

func (o *GetSchemasResponse) GetRawResponse() *http.Response

func (*GetSchemasResponse) GetStatusCode

func (o *GetSchemasResponse) GetStatusCode() int

type GetValidEmbedAccessTokensResponse

type GetValidEmbedAccessTokensResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// OK
	EmbedTokens []shared.EmbedToken
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetValidEmbedAccessTokensResponse) GetContentType

func (o *GetValidEmbedAccessTokensResponse) GetContentType() string

func (*GetValidEmbedAccessTokensResponse) GetEmbedTokens added in v3.1.0

func (o *GetValidEmbedAccessTokensResponse) GetEmbedTokens() []shared.EmbedToken

func (*GetValidEmbedAccessTokensResponse) GetError

func (*GetValidEmbedAccessTokensResponse) GetRawResponse

func (o *GetValidEmbedAccessTokensResponse) GetRawResponse() *http.Response

func (*GetValidEmbedAccessTokensResponse) GetStatusCode

func (o *GetValidEmbedAccessTokensResponse) GetStatusCode() int

type GetVersionMetadataRequest

type GetVersionMetadataRequest struct {
	// The ID of the Api to retrieve metadata for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to retrieve metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*GetVersionMetadataRequest) GetAPIID

func (o *GetVersionMetadataRequest) GetAPIID() string

func (*GetVersionMetadataRequest) GetVersionID

func (o *GetVersionMetadataRequest) GetVersionID() string

type GetVersionMetadataResponse

type GetVersionMetadataResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// OK
	VersionMetadata []shared.VersionMetadata
}

func (*GetVersionMetadataResponse) GetContentType

func (o *GetVersionMetadataResponse) GetContentType() string

func (*GetVersionMetadataResponse) GetError

func (*GetVersionMetadataResponse) GetRawResponse

func (o *GetVersionMetadataResponse) GetRawResponse() *http.Response

func (*GetVersionMetadataResponse) GetStatusCode

func (o *GetVersionMetadataResponse) GetStatusCode() int

func (*GetVersionMetadataResponse) GetVersionMetadata added in v3.1.0

func (o *GetVersionMetadataResponse) GetVersionMetadata() []shared.VersionMetadata

type GetWorkspaceAccessRequest added in v3.2.2

type GetWorkspaceAccessRequest struct {
	// Unique identifier of the generation target.
	GenLockID *string `queryParam:"style=form,explode=true,name=genLockId"`
	// Skip side-effects like incrementing metrics.
	Passive *bool `queryParam:"style=form,explode=true,name=passive"`
	// The type of the generated target.
	TargetType *string `queryParam:"style=form,explode=true,name=targetType"`
}

func (*GetWorkspaceAccessRequest) GetGenLockID added in v3.2.2

func (o *GetWorkspaceAccessRequest) GetGenLockID() *string

func (*GetWorkspaceAccessRequest) GetPassive added in v3.3.6

func (o *GetWorkspaceAccessRequest) GetPassive() *bool

func (*GetWorkspaceAccessRequest) GetTargetType added in v3.3.6

func (o *GetWorkspaceAccessRequest) GetTargetType() *string

type GetWorkspaceAccessResponse added in v3.2.2

type GetWorkspaceAccessResponse struct {
	// OK
	AccessDetails *shared.AccessDetails
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetWorkspaceAccessResponse) GetAccessDetails added in v3.2.2

func (o *GetWorkspaceAccessResponse) GetAccessDetails() *shared.AccessDetails

func (*GetWorkspaceAccessResponse) GetContentType added in v3.2.2

func (o *GetWorkspaceAccessResponse) GetContentType() string

func (*GetWorkspaceAccessResponse) GetRawResponse added in v3.2.2

func (o *GetWorkspaceAccessResponse) GetRawResponse() *http.Response

func (*GetWorkspaceAccessResponse) GetStatusCode added in v3.2.2

func (o *GetWorkspaceAccessResponse) GetStatusCode() int

type GetWorkspaceEventsRequest added in v3.3.8

type GetWorkspaceEventsRequest struct {
	// Filter to only return events created after this timestamp
	AfterCreatedAt *time.Time `queryParam:"style=form,explode=true,name=after_created_at"`
	// Filter to only return events corresponding to a particular gen_lock_id (gen_lock_id uniquely identifies a target)
	GenerateGenLockID *string `queryParam:"style=form,explode=true,name=generate_gen_lock_id"`
	// Unique identifier of the workspace.
	WorkspaceID *string `pathParam:"style=simple,explode=false,name=workspaceID"`
}

func (*GetWorkspaceEventsRequest) GetAfterCreatedAt added in v3.3.9

func (o *GetWorkspaceEventsRequest) GetAfterCreatedAt() *time.Time

func (*GetWorkspaceEventsRequest) GetGenerateGenLockID added in v3.3.8

func (o *GetWorkspaceEventsRequest) GetGenerateGenLockID() *string

func (*GetWorkspaceEventsRequest) GetWorkspaceID added in v3.3.8

func (o *GetWorkspaceEventsRequest) GetWorkspaceID() *string

func (GetWorkspaceEventsRequest) MarshalJSON added in v3.3.9

func (g GetWorkspaceEventsRequest) MarshalJSON() ([]byte, error)

func (*GetWorkspaceEventsRequest) UnmarshalJSON added in v3.3.9

func (g *GetWorkspaceEventsRequest) UnmarshalJSON(data []byte) error

type GetWorkspaceEventsResponse added in v3.3.8

type GetWorkspaceEventsResponse struct {
	// Success
	CliEventBatch []shared.CliEvent
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetWorkspaceEventsResponse) GetCliEventBatch added in v3.3.8

func (o *GetWorkspaceEventsResponse) GetCliEventBatch() []shared.CliEvent

func (*GetWorkspaceEventsResponse) GetContentType added in v3.3.8

func (o *GetWorkspaceEventsResponse) GetContentType() string

func (*GetWorkspaceEventsResponse) GetRawResponse added in v3.3.8

func (o *GetWorkspaceEventsResponse) GetRawResponse() *http.Response

func (*GetWorkspaceEventsResponse) GetStatusCode added in v3.3.8

func (o *GetWorkspaceEventsResponse) GetStatusCode() int

type GetWorkspaceTargetsRequest added in v3.3.8

type GetWorkspaceTargetsRequest struct {
	// Filter to only return targets with events created after this timestamp
	AfterLastEventCreatedAt *time.Time `queryParam:"style=form,explode=true,name=after_last_event_created_at"`
	// Unique identifier of the workspace.
	WorkspaceID *string `pathParam:"style=simple,explode=false,name=workspaceID"`
}

func (*GetWorkspaceTargetsRequest) GetAfterLastEventCreatedAt added in v3.3.9

func (o *GetWorkspaceTargetsRequest) GetAfterLastEventCreatedAt() *time.Time

func (*GetWorkspaceTargetsRequest) GetWorkspaceID added in v3.3.8

func (o *GetWorkspaceTargetsRequest) GetWorkspaceID() *string

func (GetWorkspaceTargetsRequest) MarshalJSON added in v3.3.9

func (g GetWorkspaceTargetsRequest) MarshalJSON() ([]byte, error)

func (*GetWorkspaceTargetsRequest) UnmarshalJSON added in v3.3.9

func (g *GetWorkspaceTargetsRequest) UnmarshalJSON(data []byte) error

type GetWorkspaceTargetsResponse added in v3.3.8

type GetWorkspaceTargetsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Success
	TargetSDKList []shared.TargetSDK
}

func (*GetWorkspaceTargetsResponse) GetContentType added in v3.3.8

func (o *GetWorkspaceTargetsResponse) GetContentType() string

func (*GetWorkspaceTargetsResponse) GetRawResponse added in v3.3.8

func (o *GetWorkspaceTargetsResponse) GetRawResponse() *http.Response

func (*GetWorkspaceTargetsResponse) GetStatusCode added in v3.3.8

func (o *GetWorkspaceTargetsResponse) GetStatusCode() int

func (*GetWorkspaceTargetsResponse) GetTargetSDKList added in v3.3.8

func (o *GetWorkspaceTargetsResponse) GetTargetSDKList() []shared.TargetSDK

type InsertVersionMetadataRequest

type InsertVersionMetadataRequest struct {
	// A JSON representation of the metadata to insert.
	VersionMetadata shared.VersionMetadataInput `request:"mediaType=application/json"`
	// The ID of the Api to insert metadata for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to insert metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*InsertVersionMetadataRequest) GetAPIID

func (o *InsertVersionMetadataRequest) GetAPIID() string

func (*InsertVersionMetadataRequest) GetVersionID

func (o *InsertVersionMetadataRequest) GetVersionID() string

func (*InsertVersionMetadataRequest) GetVersionMetadata

type InsertVersionMetadataResponse

type InsertVersionMetadataResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// OK
	VersionMetadata *shared.VersionMetadata
}

func (*InsertVersionMetadataResponse) GetContentType

func (o *InsertVersionMetadataResponse) GetContentType() string

func (*InsertVersionMetadataResponse) GetError

func (*InsertVersionMetadataResponse) GetRawResponse

func (o *InsertVersionMetadataResponse) GetRawResponse() *http.Response

func (*InsertVersionMetadataResponse) GetStatusCode

func (o *InsertVersionMetadataResponse) GetStatusCode() int

func (*InsertVersionMetadataResponse) GetVersionMetadata

func (o *InsertVersionMetadataResponse) GetVersionMetadata() *shared.VersionMetadata

type Op

type Op struct {
	// Whether to AND or OR the filters
	And bool `queryParam:"name=and"`
}

Op - Configuration for filter operations

func (*Op) GetAnd

func (o *Op) GetAnd() bool

type Option

type Option func(*Options, ...string) error

func WithAcceptHeaderOverride

func WithAcceptHeaderOverride(acceptHeaderOverride AcceptHeaderEnum) Option

func WithRetries

func WithRetries(config utils.RetryConfig) Option

WithRetries allows customizing the default retry configuration.

func WithServerURL

func WithServerURL(serverURL string) Option

WithServerURL allows providing an alternative server URL.

func WithTemplatedServerURL

func WithTemplatedServerURL(serverURL string, params map[string]string) Option

WithTemplatedServerURL allows providing an alternative server URL with templated parameters.

type Options

type Options struct {
	ServerURL            *string
	Retries              *utils.RetryConfig
	AcceptHeaderOverride *AcceptHeaderEnum
}

type PostWorkspaceEventsRequest added in v3.1.0

type PostWorkspaceEventsRequest struct {
	RequestBody []shared.CliEvent `request:"mediaType=application/json"`
	// Unique identifier of the workspace.
	WorkspaceID *string `pathParam:"style=simple,explode=false,name=workspaceID"`
}

func (*PostWorkspaceEventsRequest) GetRequestBody added in v3.1.0

func (o *PostWorkspaceEventsRequest) GetRequestBody() []shared.CliEvent

func (*PostWorkspaceEventsRequest) GetWorkspaceID added in v3.1.0

func (o *PostWorkspaceEventsRequest) GetWorkspaceID() *string

type PostWorkspaceEventsResponse added in v3.1.0

type PostWorkspaceEventsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*PostWorkspaceEventsResponse) GetContentType added in v3.1.0

func (o *PostWorkspaceEventsResponse) GetContentType() string

func (*PostWorkspaceEventsResponse) GetRawResponse added in v3.1.0

func (o *PostWorkspaceEventsResponse) GetRawResponse() *http.Response

func (*PostWorkspaceEventsResponse) GetStatusCode added in v3.1.0

func (o *PostWorkspaceEventsResponse) GetStatusCode() int

type QueryEventLogRequest

type QueryEventLogRequest struct {
	// The filter to apply to the query.
	Filters *shared.Filters `queryParam:"serialization=json,name=filters"`
}

func (*QueryEventLogRequest) GetFilters

func (o *QueryEventLogRequest) GetFilters() *shared.Filters

type QueryEventLogResponse

type QueryEventLogResponse struct {
	// OK
	BoundedRequests []shared.BoundedRequest
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*QueryEventLogResponse) GetBoundedRequests added in v3.1.0

func (o *QueryEventLogResponse) GetBoundedRequests() []shared.BoundedRequest

func (*QueryEventLogResponse) GetContentType

func (o *QueryEventLogResponse) GetContentType() string

func (*QueryEventLogResponse) GetError

func (o *QueryEventLogResponse) GetError() *sdkerrors.Error

func (*QueryEventLogResponse) GetRawResponse

func (o *QueryEventLogResponse) GetRawResponse() *http.Response

func (*QueryEventLogResponse) GetStatusCode

func (o *QueryEventLogResponse) GetStatusCode() int

type QueryParamOp

type QueryParamOp struct {
	// Whether to AND or OR the filters
	And bool `queryParam:"name=and"`
}

QueryParamOp - Configuration for filter operations

func (*QueryParamOp) GetAnd

func (o *QueryParamOp) GetAnd() bool

type RegisterSchemaRequest

type RegisterSchemaRequest struct {
	// The schema file to upload provided as a multipart/form-data file segment.
	RequestBody RegisterSchemaRequestBody `request:"mediaType=multipart/form-data"`
	// The ID of the Api to get the schema for.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api to delete metadata for.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*RegisterSchemaRequest) GetAPIID

func (o *RegisterSchemaRequest) GetAPIID() string

func (*RegisterSchemaRequest) GetRequestBody

func (*RegisterSchemaRequest) GetVersionID

func (o *RegisterSchemaRequest) GetVersionID() string

type RegisterSchemaRequestBody

type RegisterSchemaRequestBody struct {
	File File `multipartForm:"file"`
}

RegisterSchemaRequestBody - The schema file to upload provided as a multipart/form-data file segment.

func (*RegisterSchemaRequestBody) GetFile

func (o *RegisterSchemaRequestBody) GetFile() File

type RegisterSchemaResponse

type RegisterSchemaResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*RegisterSchemaResponse) GetContentType

func (o *RegisterSchemaResponse) GetContentType() string

func (*RegisterSchemaResponse) GetError

func (o *RegisterSchemaResponse) GetError() *sdkerrors.Error

func (*RegisterSchemaResponse) GetRawResponse

func (o *RegisterSchemaResponse) GetRawResponse() *http.Response

func (*RegisterSchemaResponse) GetStatusCode

func (o *RegisterSchemaResponse) GetStatusCode() int

type RevokeEmbedAccessTokenRequest

type RevokeEmbedAccessTokenRequest struct {
	// The ID of the EmbedToken to revoke.
	TokenID string `pathParam:"style=simple,explode=false,name=tokenID"`
}

func (*RevokeEmbedAccessTokenRequest) GetTokenID

func (o *RevokeEmbedAccessTokenRequest) GetTokenID() string

type RevokeEmbedAccessTokenResponse

type RevokeEmbedAccessTokenResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*RevokeEmbedAccessTokenResponse) GetContentType

func (o *RevokeEmbedAccessTokenResponse) GetContentType() string

func (*RevokeEmbedAccessTokenResponse) GetError

func (*RevokeEmbedAccessTokenResponse) GetRawResponse

func (o *RevokeEmbedAccessTokenResponse) GetRawResponse() *http.Response

func (*RevokeEmbedAccessTokenResponse) GetStatusCode

func (o *RevokeEmbedAccessTokenResponse) GetStatusCode() int

type UpsertAPIEndpointRequest

type UpsertAPIEndpointRequest struct {
	// A JSON representation of the ApiEndpoint to upsert.
	APIEndpoint shared.APIEndpointInput `request:"mediaType=application/json"`
	// The ID of the ApiEndpoint to upsert.
	APIEndpointID string `pathParam:"style=simple,explode=false,name=apiEndpointID"`
	// The ID of the Api the ApiEndpoint belongs to.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
	// The version ID of the Api the ApiEndpoint belongs to.
	VersionID string `pathParam:"style=simple,explode=false,name=versionID"`
}

func (*UpsertAPIEndpointRequest) GetAPIEndpoint

func (o *UpsertAPIEndpointRequest) GetAPIEndpoint() shared.APIEndpointInput

func (*UpsertAPIEndpointRequest) GetAPIEndpointID

func (o *UpsertAPIEndpointRequest) GetAPIEndpointID() string

func (*UpsertAPIEndpointRequest) GetAPIID

func (o *UpsertAPIEndpointRequest) GetAPIID() string

func (*UpsertAPIEndpointRequest) GetVersionID

func (o *UpsertAPIEndpointRequest) GetVersionID() string

type UpsertAPIEndpointResponse

type UpsertAPIEndpointResponse struct {
	// OK
	APIEndpoint *shared.APIEndpoint
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*UpsertAPIEndpointResponse) GetAPIEndpoint

func (o *UpsertAPIEndpointResponse) GetAPIEndpoint() *shared.APIEndpoint

func (*UpsertAPIEndpointResponse) GetContentType

func (o *UpsertAPIEndpointResponse) GetContentType() string

func (*UpsertAPIEndpointResponse) GetError

func (o *UpsertAPIEndpointResponse) GetError() *sdkerrors.Error

func (*UpsertAPIEndpointResponse) GetRawResponse

func (o *UpsertAPIEndpointResponse) GetRawResponse() *http.Response

func (*UpsertAPIEndpointResponse) GetStatusCode

func (o *UpsertAPIEndpointResponse) GetStatusCode() int

type UpsertAPIRequest

type UpsertAPIRequest struct {
	// A JSON representation of the Api to upsert
	API shared.APIInput `request:"mediaType=application/json"`
	// The ID of the Api to upsert.
	APIID string `pathParam:"style=simple,explode=false,name=apiID"`
}

func (*UpsertAPIRequest) GetAPI

func (o *UpsertAPIRequest) GetAPI() shared.APIInput

func (*UpsertAPIRequest) GetAPIID

func (o *UpsertAPIRequest) GetAPIID() string

type UpsertAPIResponse

type UpsertAPIResponse struct {
	// OK
	API *shared.API
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*UpsertAPIResponse) GetAPI

func (o *UpsertAPIResponse) GetAPI() *shared.API

func (*UpsertAPIResponse) GetContentType

func (o *UpsertAPIResponse) GetContentType() string

func (*UpsertAPIResponse) GetError

func (o *UpsertAPIResponse) GetError() *sdkerrors.Error

func (*UpsertAPIResponse) GetRawResponse

func (o *UpsertAPIResponse) GetRawResponse() *http.Response

func (*UpsertAPIResponse) GetStatusCode

func (o *UpsertAPIResponse) GetStatusCode() int

type ValidateAPIKeyResponse

type ValidateAPIKeyResponse struct {
	// OK
	APIKeyDetails *shared.APIKeyDetails
	// HTTP response content type for this operation
	ContentType string
	// Default error response
	Error *sdkerrors.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*ValidateAPIKeyResponse) GetAPIKeyDetails added in v3.1.0

func (o *ValidateAPIKeyResponse) GetAPIKeyDetails() *shared.APIKeyDetails

func (*ValidateAPIKeyResponse) GetContentType

func (o *ValidateAPIKeyResponse) GetContentType() string

func (*ValidateAPIKeyResponse) GetError

func (o *ValidateAPIKeyResponse) GetError() *sdkerrors.Error

func (*ValidateAPIKeyResponse) GetRawResponse

func (o *ValidateAPIKeyResponse) GetRawResponse() *http.Response

func (*ValidateAPIKeyResponse) GetStatusCode

func (o *ValidateAPIKeyResponse) GetStatusCode() int

Jump to

Keyboard shortcuts

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