v1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API client for v1

REST API for the Schema Registry

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./v1"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://psrc-00000.region.provider.confluent.cloud

Class Method HTTP request Description
CompatibilityV1Api TestCompatibilityBySubjectName Post /compatibility/subjects/{subject}/versions/{version} Test schema compatibility against a particular schema subject-version
CompatibilityV1Api TestCompatibilityForSubject Post /compatibility/subjects/{subject}/versions Test schema compatibility against all schemas under a subject
ConfigV1Api DeleteSubjectConfig Delete /config/{subject} Delete subject compatibility level
ConfigV1Api DeleteTopLevelConfig Delete /config Delete global compatibility level
ConfigV1Api GetClusterConfig Get /clusterconfig Get cluster config
ConfigV1Api GetSubjectLevelConfig Get /config/{subject} Get subject compatibility level
ConfigV1Api GetTopLevelConfig Get /config Get global compatibility level
ConfigV1Api UpdateSubjectLevelConfig Put /config/{subject} Update subject compatibility level
ConfigV1Api UpdateTopLevelConfig Put /config Update global compatibility level
ContextsV1Api ListContexts Get /contexts List contexts
DataEncryptionKeysV1Api CreateDek Post /dek-registry/v1/keks/{name}/deks Create a dek.
DataEncryptionKeysV1Api DeleteDekVersion Delete /dek-registry/v1/keks/{name}/deks/{subject}/versions/{version} Delete a dek version.
DataEncryptionKeysV1Api DeleteDekVersions Delete /dek-registry/v1/keks/{name}/deks/{subject} Delete all versions of a dek.
DataEncryptionKeysV1Api GetDek Get /dek-registry/v1/keks/{name}/deks/{subject} Get a dek by subject.
DataEncryptionKeysV1Api GetDekByVersion Get /dek-registry/v1/keks/{name}/deks/{subject}/versions/{version} Get a dek by subject and version.
DataEncryptionKeysV1Api GetDekSubjects Get /dek-registry/v1/keks/{name}/deks Get a list of dek subjects.
DataEncryptionKeysV1Api GetDekVersions Get /dek-registry/v1/keks/{name}/deks/{subject}/versions List versions of dek.
DataEncryptionKeysV1Api UndeleteDekVersion Post /dek-registry/v1/keks/{name}/deks/{subject}/versions/{version}/undelete Undelete a dek version.
DataEncryptionKeysV1Api UndeleteDekVersions Post /dek-registry/v1/keks/{name}/deks/{subject}/undelete Undelete all versions of a dek.
ExportersV1Api DeleteExporter Delete /exporters/{name} Delete schema exporter by name.
ExportersV1Api GetExporterConfigByName Get /exporters/{name}/config Gets schema exporter config by name.
ExportersV1Api GetExporterInfoByName Get /exporters/{name} Gets schema exporter by name.
ExportersV1Api GetExporterStatusByName Get /exporters/{name}/status Gets schema exporter status by name.
ExportersV1Api ListExporters Get /exporters Gets all schema exporters.
ExportersV1Api PauseExporterByName Put /exporters/{name}/pause Pause schema exporter by name.
ExportersV1Api RegisterExporter Post /exporters Creates a new schema exporter.
ExportersV1Api ResetExporterByName Put /exporters/{name}/reset Reset schema exporter by name.
ExportersV1Api ResumeExporterByName Put /exporters/{name}/resume Resume schema exporter by name.
ExportersV1Api UpdateExporterConfigByName Put /exporters/{name}/config Update schema exporter config by name.
ExportersV1Api UpdateExporterInfo Put /exporters/{name} Update schema exporter by name.
KeyEncryptionKeysV1Api CreateKek Post /dek-registry/v1/keks Create a kek.
KeyEncryptionKeysV1Api DeleteKek Delete /dek-registry/v1/keks/{name} Delete a kek.
KeyEncryptionKeysV1Api GetKek Get /dek-registry/v1/keks/{name} Get a kek by name.
KeyEncryptionKeysV1Api GetKekNames Get /dek-registry/v1/keks Get a list of kek names.
KeyEncryptionKeysV1Api PutKek Put /dek-registry/v1/keks/{name} Alters a kek.
KeyEncryptionKeysV1Api UndeleteKek Post /dek-registry/v1/keks/{name}/undelete Undelete a kek.
ModesV1Api DeleteSubjectMode Delete /mode/{subject} Delete subject mode
ModesV1Api GetMode Get /mode/{subject} Get subject mode
ModesV1Api GetTopLevelMode Get /mode Get global mode
ModesV1Api UpdateMode Put /mode/{subject} Update subject mode
ModesV1Api UpdateTopLevelMode Put /mode Update global mode
SchemasV1Api GetSchema Get /schemas/ids/{id} Get schema string by ID
SchemasV1Api GetSchemaOnly Get /schemas/ids/{id}/schema Get schema by ID
SchemasV1Api GetSchemaTypes Get /schemas/types List supported schema types
SchemasV1Api GetSchemas Get /schemas List schemas
SchemasV1Api GetSubjects Get /schemas/ids/{id}/subjects List subjects associated to schema ID
SchemasV1Api GetVersions Get /schemas/ids/{id}/versions List subject-versions associated to schema ID
SubjectsV1Api DeleteSchemaVersion Delete /subjects/{subject}/versions/{version} Delete schema version
SubjectsV1Api DeleteSubject Delete /subjects/{subject} Delete subject
SubjectsV1Api GetReferencedBy Get /subjects/{subject}/versions/{version}/referencedby List schemas referencing a schema
SubjectsV1Api GetSchemaByVersion Get /subjects/{subject}/versions/{version} Get schema by version
SubjectsV1Api GetSchemaOnly1 Get /subjects/{subject}/versions/{version}/schema Get schema string by version
SubjectsV1Api List Get /subjects List subjects
SubjectsV1Api ListVersions Get /subjects/{subject}/versions List versions under subject
SubjectsV1Api LookUpSchemaUnderSubject Post /subjects/{subject} Lookup schema under subject
SubjectsV1Api Register Post /subjects/{subject}/versions Register schema under a subject

Documentation For Models

Documentation For Authorization

external-access-token
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)
resource-api-key
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

data-governance@confluent.io

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	CompatibilityV1Api CompatibilityV1Api

	ConfigV1Api ConfigV1Api

	ContextsV1Api ContextsV1Api

	DataEncryptionKeysV1Api DataEncryptionKeysV1Api

	ExportersV1Api ExportersV1Api

	KeyEncryptionKeysV1Api KeyEncryptionKeysV1Api

	ModesV1Api ModesV1Api

	SchemasV1Api SchemasV1Api

	SubjectsV1Api SubjectsV1Api
	// contains filtered or unexported fields
}

APIClient manages communication with the Confluent Schema Registry APIs API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCreateDekRequest added in v0.4.0

type ApiCreateDekRequest struct {
	ApiService DataEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiCreateDekRequest) CreateDekRequest added in v0.4.0

func (r ApiCreateDekRequest) CreateDekRequest(createDekRequest CreateDekRequest) ApiCreateDekRequest

The create request

func (ApiCreateDekRequest) Execute added in v0.4.0

func (r ApiCreateDekRequest) Execute() (Dek, *_nethttp.Response, error)

type ApiCreateKekRequest added in v0.4.0

type ApiCreateKekRequest struct {
	ApiService KeyEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiCreateKekRequest) CreateKekRequest added in v0.4.0

func (r ApiCreateKekRequest) CreateKekRequest(createKekRequest CreateKekRequest) ApiCreateKekRequest

The create request

func (ApiCreateKekRequest) Execute added in v0.4.0

func (r ApiCreateKekRequest) Execute() (Kek, *_nethttp.Response, error)

type ApiDeleteDekVersionRequest added in v0.4.0

type ApiDeleteDekVersionRequest struct {
	ApiService DataEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteDekVersionRequest) Algorithm added in v0.4.0

Algorithm of the dek

func (ApiDeleteDekVersionRequest) Execute added in v0.4.0

func (ApiDeleteDekVersionRequest) Permanent added in v0.4.0

Whether to perform a permanent delete

type ApiDeleteDekVersionsRequest added in v0.4.0

type ApiDeleteDekVersionsRequest struct {
	ApiService DataEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteDekVersionsRequest) Algorithm added in v0.4.0

Algorithm of the dek

func (ApiDeleteDekVersionsRequest) Execute added in v0.4.0

func (ApiDeleteDekVersionsRequest) Permanent added in v0.4.0

Whether to perform a permanent delete

type ApiDeleteExporterRequest added in v0.2.0

type ApiDeleteExporterRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteExporterRequest) Execute added in v0.2.0

type ApiDeleteKekRequest added in v0.4.0

type ApiDeleteKekRequest struct {
	ApiService KeyEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteKekRequest) Execute added in v0.4.0

func (r ApiDeleteKekRequest) Execute() (*_nethttp.Response, error)

func (ApiDeleteKekRequest) Permanent added in v0.4.0

func (r ApiDeleteKekRequest) Permanent(permanent bool) ApiDeleteKekRequest

Whether to perform a permanent delete

type ApiDeleteSchemaVersionRequest

type ApiDeleteSchemaVersionRequest struct {
	ApiService SubjectsV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteSchemaVersionRequest) Execute

func (ApiDeleteSchemaVersionRequest) Permanent

Whether to perform a permanent delete

type ApiDeleteSubjectConfigRequest

type ApiDeleteSubjectConfigRequest struct {
	ApiService ConfigV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteSubjectConfigRequest) Execute

type ApiDeleteSubjectModeRequest

type ApiDeleteSubjectModeRequest struct {
	ApiService ModesV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteSubjectModeRequest) Execute

type ApiDeleteSubjectRequest

type ApiDeleteSubjectRequest struct {
	ApiService SubjectsV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteSubjectRequest) Execute

func (ApiDeleteSubjectRequest) Permanent

func (r ApiDeleteSubjectRequest) Permanent(permanent bool) ApiDeleteSubjectRequest

Whether to perform a permanent delete

type ApiDeleteTopLevelConfigRequest

type ApiDeleteTopLevelConfigRequest struct {
	ApiService ConfigV1Api
	// contains filtered or unexported fields
}

func (ApiDeleteTopLevelConfigRequest) Execute

type ApiGetClusterConfigRequest

type ApiGetClusterConfigRequest struct {
	ApiService ConfigV1Api
	// contains filtered or unexported fields
}

func (ApiGetClusterConfigRequest) Execute

type ApiGetDekByVersionRequest added in v0.4.0

type ApiGetDekByVersionRequest struct {
	ApiService DataEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiGetDekByVersionRequest) Algorithm added in v0.4.0

Algorithm of the dek

func (ApiGetDekByVersionRequest) Deleted added in v0.4.0

Whether to include deleted keys

func (ApiGetDekByVersionRequest) Execute added in v0.4.0

type ApiGetDekRequest added in v0.4.0

type ApiGetDekRequest struct {
	ApiService DataEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiGetDekRequest) Algorithm added in v0.4.0

func (r ApiGetDekRequest) Algorithm(algorithm string) ApiGetDekRequest

Algorithm of the dek

func (ApiGetDekRequest) Deleted added in v0.4.0

func (r ApiGetDekRequest) Deleted(deleted bool) ApiGetDekRequest

Whether to include deleted keys

func (ApiGetDekRequest) Execute added in v0.4.0

func (r ApiGetDekRequest) Execute() (Dek, *_nethttp.Response, error)

type ApiGetDekSubjectsRequest added in v0.4.0

type ApiGetDekSubjectsRequest struct {
	ApiService DataEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiGetDekSubjectsRequest) Deleted added in v0.4.0

Whether to include deleted keys

func (ApiGetDekSubjectsRequest) Execute added in v0.4.0

type ApiGetDekVersionsRequest added in v0.4.0

type ApiGetDekVersionsRequest struct {
	ApiService DataEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiGetDekVersionsRequest) Algorithm added in v0.4.0

Algorithm of the dek

func (ApiGetDekVersionsRequest) Deleted added in v0.4.0

Whether to include deleted keys

func (ApiGetDekVersionsRequest) Execute added in v0.4.0

type ApiGetExporterConfigByNameRequest added in v0.2.0

type ApiGetExporterConfigByNameRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiGetExporterConfigByNameRequest) Execute added in v0.2.0

type ApiGetExporterInfoByNameRequest added in v0.2.0

type ApiGetExporterInfoByNameRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiGetExporterInfoByNameRequest) Execute added in v0.2.0

type ApiGetExporterStatusByNameRequest added in v0.2.0

type ApiGetExporterStatusByNameRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiGetExporterStatusByNameRequest) Execute added in v0.2.0

type ApiGetKekNamesRequest added in v0.4.0

type ApiGetKekNamesRequest struct {
	ApiService KeyEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiGetKekNamesRequest) Deleted added in v0.4.0

Whether to include deleted keys

func (ApiGetKekNamesRequest) Execute added in v0.4.0

func (r ApiGetKekNamesRequest) Execute() ([]string, *_nethttp.Response, error)

type ApiGetKekRequest added in v0.4.0

type ApiGetKekRequest struct {
	ApiService KeyEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiGetKekRequest) Deleted added in v0.4.0

func (r ApiGetKekRequest) Deleted(deleted bool) ApiGetKekRequest

Whether to include deleted keys

func (ApiGetKekRequest) Execute added in v0.4.0

func (r ApiGetKekRequest) Execute() (Kek, *_nethttp.Response, error)

type ApiGetModeRequest

type ApiGetModeRequest struct {
	ApiService ModesV1Api
	// contains filtered or unexported fields
}

func (ApiGetModeRequest) DefaultToGlobal

func (r ApiGetModeRequest) DefaultToGlobal(defaultToGlobal bool) ApiGetModeRequest

Whether to return the global mode if subject mode not found

func (ApiGetModeRequest) Execute

func (r ApiGetModeRequest) Execute() (Mode, *_nethttp.Response, error)

type ApiGetReferencedByRequest

type ApiGetReferencedByRequest struct {
	ApiService SubjectsV1Api
	// contains filtered or unexported fields
}

func (ApiGetReferencedByRequest) Execute

type ApiGetSchemaByVersionRequest

type ApiGetSchemaByVersionRequest struct {
	ApiService SubjectsV1Api
	// contains filtered or unexported fields
}

func (ApiGetSchemaByVersionRequest) Deleted

Whether to include deleted schema

func (ApiGetSchemaByVersionRequest) Execute

type ApiGetSchemaOnly1Request

type ApiGetSchemaOnly1Request struct {
	ApiService SubjectsV1Api
	// contains filtered or unexported fields
}

func (ApiGetSchemaOnly1Request) Deleted

Whether to include deleted schema

func (ApiGetSchemaOnly1Request) Execute

type ApiGetSchemaOnlyRequest

type ApiGetSchemaOnlyRequest struct {
	ApiService SchemasV1Api
	// contains filtered or unexported fields
}

func (ApiGetSchemaOnlyRequest) Execute

func (ApiGetSchemaOnlyRequest) Format

Desired output format, dependent on schema type

func (ApiGetSchemaOnlyRequest) Subject

Name of the subject

type ApiGetSchemaRequest

type ApiGetSchemaRequest struct {
	ApiService SchemasV1Api
	// contains filtered or unexported fields
}

func (ApiGetSchemaRequest) Execute

func (ApiGetSchemaRequest) FetchMaxId

func (r ApiGetSchemaRequest) FetchMaxId(fetchMaxId bool) ApiGetSchemaRequest

Whether to fetch the maximum schema identifier that exists

func (ApiGetSchemaRequest) Format

Desired output format, dependent on schema type

func (ApiGetSchemaRequest) Subject

func (r ApiGetSchemaRequest) Subject(subject string) ApiGetSchemaRequest

Name of the subject

type ApiGetSchemaTypesRequest

type ApiGetSchemaTypesRequest struct {
	ApiService SchemasV1Api
	// contains filtered or unexported fields
}

func (ApiGetSchemaTypesRequest) Execute

type ApiGetSchemasRequest

type ApiGetSchemasRequest struct {
	ApiService SchemasV1Api
	// contains filtered or unexported fields
}

func (ApiGetSchemasRequest) Deleted

func (r ApiGetSchemasRequest) Deleted(deleted bool) ApiGetSchemasRequest

Whether to return soft deleted schemas

func (ApiGetSchemasRequest) Execute

func (r ApiGetSchemasRequest) Execute() ([]Schema, *_nethttp.Response, error)

func (ApiGetSchemasRequest) LatestOnly

func (r ApiGetSchemasRequest) LatestOnly(latestOnly bool) ApiGetSchemasRequest

Whether to return latest schema versions only for each matching subject

func (ApiGetSchemasRequest) Limit

Pagination size for results. Ignored if negative

func (ApiGetSchemasRequest) Offset

Pagination offset for results

func (ApiGetSchemasRequest) SubjectPrefix

func (r ApiGetSchemasRequest) SubjectPrefix(subjectPrefix string) ApiGetSchemasRequest

Filters results by the respective subject prefix

type ApiGetSubjectLevelConfigRequest

type ApiGetSubjectLevelConfigRequest struct {
	ApiService ConfigV1Api
	// contains filtered or unexported fields
}

func (ApiGetSubjectLevelConfigRequest) DefaultToGlobal

func (r ApiGetSubjectLevelConfigRequest) DefaultToGlobal(defaultToGlobal bool) ApiGetSubjectLevelConfigRequest

Whether to return the global compatibility level if subject compatibility level not found

func (ApiGetSubjectLevelConfigRequest) Execute

type ApiGetSubjectsRequest

type ApiGetSubjectsRequest struct {
	ApiService SchemasV1Api
	// contains filtered or unexported fields
}

func (ApiGetSubjectsRequest) Deleted

Whether to include subjects where the schema was deleted

func (ApiGetSubjectsRequest) Execute

func (r ApiGetSubjectsRequest) Execute() ([]string, *_nethttp.Response, error)

func (ApiGetSubjectsRequest) Subject

Filters results by the respective subject

type ApiGetTopLevelConfigRequest

type ApiGetTopLevelConfigRequest struct {
	ApiService ConfigV1Api
	// contains filtered or unexported fields
}

func (ApiGetTopLevelConfigRequest) Execute

type ApiGetTopLevelModeRequest

type ApiGetTopLevelModeRequest struct {
	ApiService ModesV1Api
	// contains filtered or unexported fields
}

func (ApiGetTopLevelModeRequest) Execute

type ApiGetVersionsRequest

type ApiGetVersionsRequest struct {
	ApiService SchemasV1Api
	// contains filtered or unexported fields
}

func (ApiGetVersionsRequest) Deleted

Whether to include subject versions where the schema was deleted

func (ApiGetVersionsRequest) Execute

func (ApiGetVersionsRequest) Subject

Filters results by the respective subject

type ApiListContextsRequest

type ApiListContextsRequest struct {
	ApiService ContextsV1Api
	// contains filtered or unexported fields
}

func (ApiListContextsRequest) Execute

type ApiListExportersRequest added in v0.2.0

type ApiListExportersRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiListExportersRequest) Execute added in v0.2.0

type ApiListRequest

type ApiListRequest struct {
	ApiService SubjectsV1Api
	// contains filtered or unexported fields
}

func (ApiListRequest) Deleted

func (r ApiListRequest) Deleted(deleted bool) ApiListRequest

Whether to look up deleted subjects

func (ApiListRequest) Execute

func (r ApiListRequest) Execute() ([]string, *_nethttp.Response, error)

func (ApiListRequest) SubjectPrefix

func (r ApiListRequest) SubjectPrefix(subjectPrefix string) ApiListRequest

Subject name prefix

type ApiListVersionsRequest

type ApiListVersionsRequest struct {
	ApiService SubjectsV1Api
	// contains filtered or unexported fields
}

func (ApiListVersionsRequest) Deleted

Whether to include deleted schemas

func (ApiListVersionsRequest) Execute

func (r ApiListVersionsRequest) Execute() ([]int32, *_nethttp.Response, error)

type ApiLookUpSchemaUnderSubjectRequest

type ApiLookUpSchemaUnderSubjectRequest struct {
	ApiService SubjectsV1Api
	// contains filtered or unexported fields
}

func (ApiLookUpSchemaUnderSubjectRequest) Deleted

Whether to lookup deleted schemas

func (ApiLookUpSchemaUnderSubjectRequest) Execute

func (ApiLookUpSchemaUnderSubjectRequest) Normalize

Whether to lookup the normalized schema

func (ApiLookUpSchemaUnderSubjectRequest) RegisterSchemaRequest

Schema

type ApiPauseExporterByNameRequest added in v0.2.0

type ApiPauseExporterByNameRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiPauseExporterByNameRequest) Execute added in v0.2.0

type ApiPutKekRequest added in v0.4.0

type ApiPutKekRequest struct {
	ApiService KeyEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiPutKekRequest) Execute added in v0.4.0

func (r ApiPutKekRequest) Execute() (Kek, *_nethttp.Response, error)

func (ApiPutKekRequest) UpdateKekRequest added in v0.4.0

func (r ApiPutKekRequest) UpdateKekRequest(updateKekRequest UpdateKekRequest) ApiPutKekRequest

The update request

type ApiRegisterExporterRequest added in v0.2.0

type ApiRegisterExporterRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiRegisterExporterRequest) Execute added in v0.2.0

func (ApiRegisterExporterRequest) ExporterReference added in v0.2.0

func (r ApiRegisterExporterRequest) ExporterReference(exporterReference ExporterReference) ApiRegisterExporterRequest

Schema

type ApiRegisterRequest

type ApiRegisterRequest struct {
	ApiService SubjectsV1Api
	// contains filtered or unexported fields
}

func (ApiRegisterRequest) Execute

func (ApiRegisterRequest) Normalize

func (r ApiRegisterRequest) Normalize(normalize bool) ApiRegisterRequest

Whether to register the normalized schema

func (ApiRegisterRequest) RegisterSchemaRequest

func (r ApiRegisterRequest) RegisterSchemaRequest(registerSchemaRequest RegisterSchemaRequest) ApiRegisterRequest

Schema

type ApiResetExporterByNameRequest added in v0.2.0

type ApiResetExporterByNameRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiResetExporterByNameRequest) Execute added in v0.2.0

type ApiResumeExporterByNameRequest added in v0.2.0

type ApiResumeExporterByNameRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiResumeExporterByNameRequest) Execute added in v0.2.0

type ApiTestCompatibilityBySubjectNameRequest

type ApiTestCompatibilityBySubjectNameRequest struct {
	ApiService CompatibilityV1Api
	// contains filtered or unexported fields
}

func (ApiTestCompatibilityBySubjectNameRequest) Execute

func (ApiTestCompatibilityBySubjectNameRequest) RegisterSchemaRequest

Schema

func (ApiTestCompatibilityBySubjectNameRequest) Verbose

Whether to return detailed error messages

type ApiTestCompatibilityForSubjectRequest

type ApiTestCompatibilityForSubjectRequest struct {
	ApiService CompatibilityV1Api
	// contains filtered or unexported fields
}

func (ApiTestCompatibilityForSubjectRequest) Execute

func (ApiTestCompatibilityForSubjectRequest) RegisterSchemaRequest

Schema

func (ApiTestCompatibilityForSubjectRequest) Verbose

Whether to return detailed error messages

type ApiUndeleteDekVersionRequest added in v0.4.0

type ApiUndeleteDekVersionRequest struct {
	ApiService DataEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiUndeleteDekVersionRequest) Algorithm added in v0.4.0

Algorithm of the dek

func (ApiUndeleteDekVersionRequest) Execute added in v0.4.0

type ApiUndeleteDekVersionsRequest added in v0.4.0

type ApiUndeleteDekVersionsRequest struct {
	ApiService DataEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiUndeleteDekVersionsRequest) Algorithm added in v0.4.0

Algorithm of the dek

func (ApiUndeleteDekVersionsRequest) Execute added in v0.4.0

type ApiUndeleteKekRequest added in v0.4.0

type ApiUndeleteKekRequest struct {
	ApiService KeyEncryptionKeysV1Api
	// contains filtered or unexported fields
}

func (ApiUndeleteKekRequest) Execute added in v0.4.0

func (r ApiUndeleteKekRequest) Execute() (*_nethttp.Response, error)

type ApiUpdateExporterConfigByNameRequest added in v0.2.0

type ApiUpdateExporterConfigByNameRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiUpdateExporterConfigByNameRequest) Execute added in v0.2.0

func (ApiUpdateExporterConfigByNameRequest) ExporterConfigResponse added in v0.2.0

Exporter Update Request

type ApiUpdateExporterInfoRequest added in v0.2.0

type ApiUpdateExporterInfoRequest struct {
	ApiService ExportersV1Api
	// contains filtered or unexported fields
}

func (ApiUpdateExporterInfoRequest) Execute added in v0.2.0

func (ApiUpdateExporterInfoRequest) ExporterUpdateRequest added in v0.2.0

func (r ApiUpdateExporterInfoRequest) ExporterUpdateRequest(exporterUpdateRequest ExporterUpdateRequest) ApiUpdateExporterInfoRequest

Exporter Update Request

type ApiUpdateModeRequest

type ApiUpdateModeRequest struct {
	ApiService ModesV1Api
	// contains filtered or unexported fields
}

func (ApiUpdateModeRequest) Execute

func (ApiUpdateModeRequest) Force

Whether to force update if setting mode to IMPORT and schemas currently exist

func (ApiUpdateModeRequest) ModeUpdateRequest

func (r ApiUpdateModeRequest) ModeUpdateRequest(modeUpdateRequest ModeUpdateRequest) ApiUpdateModeRequest

Update Request

type ApiUpdateSubjectLevelConfigRequest

type ApiUpdateSubjectLevelConfigRequest struct {
	ApiService ConfigV1Api
	// contains filtered or unexported fields
}

func (ApiUpdateSubjectLevelConfigRequest) ConfigUpdateRequest

Config Update Request

func (ApiUpdateSubjectLevelConfigRequest) Execute

type ApiUpdateTopLevelConfigRequest

type ApiUpdateTopLevelConfigRequest struct {
	ApiService ConfigV1Api
	// contains filtered or unexported fields
}

func (ApiUpdateTopLevelConfigRequest) ConfigUpdateRequest

func (r ApiUpdateTopLevelConfigRequest) ConfigUpdateRequest(configUpdateRequest ConfigUpdateRequest) ApiUpdateTopLevelConfigRequest

Config Update Request

func (ApiUpdateTopLevelConfigRequest) Execute

type ApiUpdateTopLevelModeRequest

type ApiUpdateTopLevelModeRequest struct {
	ApiService ModesV1Api
	// contains filtered or unexported fields
}

func (ApiUpdateTopLevelModeRequest) Execute

func (ApiUpdateTopLevelModeRequest) Force

Whether to force update if setting mode to IMPORT and schemas currently exist

func (ApiUpdateTopLevelModeRequest) ModeUpdateRequest

func (r ApiUpdateTopLevelModeRequest) ModeUpdateRequest(modeUpdateRequest ModeUpdateRequest) ApiUpdateTopLevelModeRequest

Update Request

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type ClusterConfig

type ClusterConfig struct {
	// Maximum number of registered schemas allowed
	MaxSchemas *int32 `json:"maxSchemas,omitempty"`
	// Maximum number of allowed requests per second
	MaxRequestsPerSec *int32 `json:"maxRequestsPerSec,omitempty"`
}

ClusterConfig Cluster Config

func NewClusterConfig

func NewClusterConfig() *ClusterConfig

NewClusterConfig instantiates a new ClusterConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewClusterConfigWithDefaults

func NewClusterConfigWithDefaults() *ClusterConfig

NewClusterConfigWithDefaults instantiates a new ClusterConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ClusterConfig) GetMaxRequestsPerSec

func (o *ClusterConfig) GetMaxRequestsPerSec() int32

GetMaxRequestsPerSec returns the MaxRequestsPerSec field value if set, zero value otherwise.

func (*ClusterConfig) GetMaxRequestsPerSecOk

func (o *ClusterConfig) GetMaxRequestsPerSecOk() (*int32, bool)

GetMaxRequestsPerSecOk returns a tuple with the MaxRequestsPerSec field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClusterConfig) GetMaxSchemas

func (o *ClusterConfig) GetMaxSchemas() int32

GetMaxSchemas returns the MaxSchemas field value if set, zero value otherwise.

func (*ClusterConfig) GetMaxSchemasOk

func (o *ClusterConfig) GetMaxSchemasOk() (*int32, bool)

GetMaxSchemasOk returns a tuple with the MaxSchemas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ClusterConfig) HasMaxRequestsPerSec

func (o *ClusterConfig) HasMaxRequestsPerSec() bool

HasMaxRequestsPerSec returns a boolean if a field has been set.

func (*ClusterConfig) HasMaxSchemas

func (o *ClusterConfig) HasMaxSchemas() bool

HasMaxSchemas returns a boolean if a field has been set.

func (ClusterConfig) MarshalJSON

func (o ClusterConfig) MarshalJSON() ([]byte, error)

func (*ClusterConfig) Redact

func (o *ClusterConfig) Redact()

Redact resets all sensitive fields to their zero value.

func (*ClusterConfig) SetMaxRequestsPerSec

func (o *ClusterConfig) SetMaxRequestsPerSec(v int32)

SetMaxRequestsPerSec gets a reference to the given int32 and assigns it to the MaxRequestsPerSec field.

func (*ClusterConfig) SetMaxSchemas

func (o *ClusterConfig) SetMaxSchemas(v int32)

SetMaxSchemas gets a reference to the given int32 and assigns it to the MaxSchemas field.

type CompatibilityCheckResponse

type CompatibilityCheckResponse struct {
	// Whether the compared schemas are compatible
	IsCompatible *bool `json:"is_compatible,omitempty"`
	// Error messages
	Messages *[]string `json:"messages,omitempty"`
}

CompatibilityCheckResponse Compatibility check response

func NewCompatibilityCheckResponse

func NewCompatibilityCheckResponse() *CompatibilityCheckResponse

NewCompatibilityCheckResponse instantiates a new CompatibilityCheckResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCompatibilityCheckResponseWithDefaults

func NewCompatibilityCheckResponseWithDefaults() *CompatibilityCheckResponse

NewCompatibilityCheckResponseWithDefaults instantiates a new CompatibilityCheckResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CompatibilityCheckResponse) GetIsCompatible

func (o *CompatibilityCheckResponse) GetIsCompatible() bool

GetIsCompatible returns the IsCompatible field value if set, zero value otherwise.

func (*CompatibilityCheckResponse) GetIsCompatibleOk

func (o *CompatibilityCheckResponse) GetIsCompatibleOk() (*bool, bool)

GetIsCompatibleOk returns a tuple with the IsCompatible field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CompatibilityCheckResponse) GetMessages

func (o *CompatibilityCheckResponse) GetMessages() []string

GetMessages returns the Messages field value if set, zero value otherwise.

func (*CompatibilityCheckResponse) GetMessagesOk

func (o *CompatibilityCheckResponse) GetMessagesOk() (*[]string, bool)

GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CompatibilityCheckResponse) HasIsCompatible

func (o *CompatibilityCheckResponse) HasIsCompatible() bool

HasIsCompatible returns a boolean if a field has been set.

func (*CompatibilityCheckResponse) HasMessages

func (o *CompatibilityCheckResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (CompatibilityCheckResponse) MarshalJSON

func (o CompatibilityCheckResponse) MarshalJSON() ([]byte, error)

func (*CompatibilityCheckResponse) Redact

func (o *CompatibilityCheckResponse) Redact()

Redact resets all sensitive fields to their zero value.

func (*CompatibilityCheckResponse) SetIsCompatible

func (o *CompatibilityCheckResponse) SetIsCompatible(v bool)

SetIsCompatible gets a reference to the given bool and assigns it to the IsCompatible field.

func (*CompatibilityCheckResponse) SetMessages

func (o *CompatibilityCheckResponse) SetMessages(v []string)

SetMessages gets a reference to the given []string and assigns it to the Messages field.

type CompatibilityV1Api

type CompatibilityV1Api interface {

	/*
		TestCompatibilityBySubjectName Test schema compatibility against a particular schema subject-version

		Test input schema against a particular version of a subject's schema for compatibility. The compatibility level applied for the check is the configured compatibility level for the subject (http:get:: /config/(string: subject)). If this subject's compatibility level was never changed, then the global compatibility level applies (http:get:: /config).

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Subject of the schema version against which compatibility is to be tested
		 @param version Version of the subject's schema against which compatibility is to be tested. Valid values for versionId are between [1,2^31-1] or the string \"latest\".\"latest\" checks compatibility of the input schema with the last registered schema under the specified subject
		 @return ApiTestCompatibilityBySubjectNameRequest
	*/
	TestCompatibilityBySubjectName(ctx _context.Context, subject string, version string) ApiTestCompatibilityBySubjectNameRequest

	// TestCompatibilityBySubjectNameExecute executes the request
	//  @return CompatibilityCheckResponse
	TestCompatibilityBySubjectNameExecute(r ApiTestCompatibilityBySubjectNameRequest) (CompatibilityCheckResponse, *_nethttp.Response, error)

	/*
		TestCompatibilityForSubject Test schema compatibility against all schemas under a subject

		Test input schema against a subject's schemas for compatibility, based on the configured compatibility level of the subject. In other words, it will perform the same compatibility check as register for that subject. The compatibility level applied for the check is the configured compatibility level for the subject (http:get:: /config/(string: subject)). If this subject's compatibility level was never changed, then the global compatibility level applies (http:get:: /config).

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Subject of the schema version against which compatibility is to be tested
		 @return ApiTestCompatibilityForSubjectRequest
	*/
	TestCompatibilityForSubject(ctx _context.Context, subject string) ApiTestCompatibilityForSubjectRequest

	// TestCompatibilityForSubjectExecute executes the request
	//  @return CompatibilityCheckResponse
	TestCompatibilityForSubjectExecute(r ApiTestCompatibilityForSubjectRequest) (CompatibilityCheckResponse, *_nethttp.Response, error)
}

type CompatibilityV1ApiService

type CompatibilityV1ApiService service

CompatibilityV1ApiService CompatibilityV1Api service

func (*CompatibilityV1ApiService) TestCompatibilityBySubjectName

func (a *CompatibilityV1ApiService) TestCompatibilityBySubjectName(ctx _context.Context, subject string, version string) ApiTestCompatibilityBySubjectNameRequest

TestCompatibilityBySubjectName Test schema compatibility against a particular schema subject-version

Test input schema against a particular version of a subject's schema for compatibility. The compatibility level applied for the check is the configured compatibility level for the subject (http:get:: /config/(string: subject)). If this subject's compatibility level was never changed, then the global compatibility level applies (http:get:: /config).

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Subject of the schema version against which compatibility is to be tested
@param version Version of the subject's schema against which compatibility is to be tested. Valid values for versionId are between [1,2^31-1] or the string \"latest\".\"latest\" checks compatibility of the input schema with the last registered schema under the specified subject
@return ApiTestCompatibilityBySubjectNameRequest

func (*CompatibilityV1ApiService) TestCompatibilityBySubjectNameExecute

Execute executes the request

@return CompatibilityCheckResponse

func (*CompatibilityV1ApiService) TestCompatibilityForSubject

func (a *CompatibilityV1ApiService) TestCompatibilityForSubject(ctx _context.Context, subject string) ApiTestCompatibilityForSubjectRequest

TestCompatibilityForSubject Test schema compatibility against all schemas under a subject

Test input schema against a subject's schemas for compatibility, based on the configured compatibility level of the subject. In other words, it will perform the same compatibility check as register for that subject. The compatibility level applied for the check is the configured compatibility level for the subject (http:get:: /config/(string: subject)). If this subject's compatibility level was never changed, then the global compatibility level applies (http:get:: /config).

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Subject of the schema version against which compatibility is to be tested
@return ApiTestCompatibilityForSubjectRequest

func (*CompatibilityV1ApiService) TestCompatibilityForSubjectExecute

Execute executes the request

@return CompatibilityCheckResponse

type Config

type Config struct {
	// If alias is specified, then this subject is an alias for the subject named by the alias. That means that any reference to this subject will be replaced by the alias.
	Alias *string `json:"alias,omitempty"`
	// If true, then schemas are automatically normalized when registered or when passed during lookups. This means that clients do not have to pass the \"normalize\" query parameter to have normalization occur.
	Normalize *bool `json:"normalize,omitempty"`
	// Compatibility Level
	CompatibilityLevel *string `json:"compatibilityLevel,omitempty"`
	// Only schemas that belong to the same compatibility group will be checked for compatibility.
	CompatibilityGroup *string                 `json:"compatibilityGroup,omitempty"`
	DefaultMetadata    *ConfigDefaultMetadata  `json:"defaultMetadata,omitempty"`
	OverrideMetadata   *ConfigOverrideMetadata `json:"overrideMetadata,omitempty"`
	DefaultRuleSet     *ConfigDefaultRuleSet   `json:"defaultRuleSet,omitempty"`
	OverrideRuleSet    *ConfigOverrideRuleSet  `json:"overrideRuleSet,omitempty"`
}

Config Config

func NewConfig

func NewConfig() *Config

NewConfig instantiates a new Config object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConfigWithDefaults

func NewConfigWithDefaults() *Config

NewConfigWithDefaults instantiates a new Config object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Config) GetAlias added in v0.4.0

func (o *Config) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*Config) GetAliasOk added in v0.4.0

func (o *Config) GetAliasOk() (*string, bool)

GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Config) GetCompatibilityGroup added in v0.4.0

func (o *Config) GetCompatibilityGroup() string

GetCompatibilityGroup returns the CompatibilityGroup field value if set, zero value otherwise.

func (*Config) GetCompatibilityGroupOk added in v0.4.0

func (o *Config) GetCompatibilityGroupOk() (*string, bool)

GetCompatibilityGroupOk returns a tuple with the CompatibilityGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Config) GetCompatibilityLevel

func (o *Config) GetCompatibilityLevel() string

GetCompatibilityLevel returns the CompatibilityLevel field value if set, zero value otherwise.

func (*Config) GetCompatibilityLevelOk

func (o *Config) GetCompatibilityLevelOk() (*string, bool)

GetCompatibilityLevelOk returns a tuple with the CompatibilityLevel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Config) GetDefaultMetadata added in v0.4.0

func (o *Config) GetDefaultMetadata() ConfigDefaultMetadata

GetDefaultMetadata returns the DefaultMetadata field value if set, zero value otherwise.

func (*Config) GetDefaultMetadataOk added in v0.4.0

func (o *Config) GetDefaultMetadataOk() (*ConfigDefaultMetadata, bool)

GetDefaultMetadataOk returns a tuple with the DefaultMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Config) GetDefaultRuleSet added in v0.4.0

func (o *Config) GetDefaultRuleSet() ConfigDefaultRuleSet

GetDefaultRuleSet returns the DefaultRuleSet field value if set, zero value otherwise.

func (*Config) GetDefaultRuleSetOk added in v0.4.0

func (o *Config) GetDefaultRuleSetOk() (*ConfigDefaultRuleSet, bool)

GetDefaultRuleSetOk returns a tuple with the DefaultRuleSet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Config) GetNormalize added in v0.4.0

func (o *Config) GetNormalize() bool

GetNormalize returns the Normalize field value if set, zero value otherwise.

func (*Config) GetNormalizeOk added in v0.4.0

func (o *Config) GetNormalizeOk() (*bool, bool)

GetNormalizeOk returns a tuple with the Normalize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Config) GetOverrideMetadata added in v0.4.0

func (o *Config) GetOverrideMetadata() ConfigOverrideMetadata

GetOverrideMetadata returns the OverrideMetadata field value if set, zero value otherwise.

func (*Config) GetOverrideMetadataOk added in v0.4.0

func (o *Config) GetOverrideMetadataOk() (*ConfigOverrideMetadata, bool)

GetOverrideMetadataOk returns a tuple with the OverrideMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Config) GetOverrideRuleSet added in v0.4.0

func (o *Config) GetOverrideRuleSet() ConfigOverrideRuleSet

GetOverrideRuleSet returns the OverrideRuleSet field value if set, zero value otherwise.

func (*Config) GetOverrideRuleSetOk added in v0.4.0

func (o *Config) GetOverrideRuleSetOk() (*ConfigOverrideRuleSet, bool)

GetOverrideRuleSetOk returns a tuple with the OverrideRuleSet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Config) HasAlias added in v0.4.0

func (o *Config) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*Config) HasCompatibilityGroup added in v0.4.0

func (o *Config) HasCompatibilityGroup() bool

HasCompatibilityGroup returns a boolean if a field has been set.

func (*Config) HasCompatibilityLevel

func (o *Config) HasCompatibilityLevel() bool

HasCompatibilityLevel returns a boolean if a field has been set.

func (*Config) HasDefaultMetadata added in v0.4.0

func (o *Config) HasDefaultMetadata() bool

HasDefaultMetadata returns a boolean if a field has been set.

func (*Config) HasDefaultRuleSet added in v0.4.0

func (o *Config) HasDefaultRuleSet() bool

HasDefaultRuleSet returns a boolean if a field has been set.

func (*Config) HasNormalize added in v0.4.0

func (o *Config) HasNormalize() bool

HasNormalize returns a boolean if a field has been set.

func (*Config) HasOverrideMetadata added in v0.4.0

func (o *Config) HasOverrideMetadata() bool

HasOverrideMetadata returns a boolean if a field has been set.

func (*Config) HasOverrideRuleSet added in v0.4.0

func (o *Config) HasOverrideRuleSet() bool

HasOverrideRuleSet returns a boolean if a field has been set.

func (Config) MarshalJSON

func (o Config) MarshalJSON() ([]byte, error)

func (*Config) Redact

func (o *Config) Redact()

Redact resets all sensitive fields to their zero value.

func (*Config) SetAlias added in v0.4.0

func (o *Config) SetAlias(v string)

SetAlias gets a reference to the given string and assigns it to the Alias field.

func (*Config) SetCompatibilityGroup added in v0.4.0

func (o *Config) SetCompatibilityGroup(v string)

SetCompatibilityGroup gets a reference to the given string and assigns it to the CompatibilityGroup field.

func (*Config) SetCompatibilityLevel

func (o *Config) SetCompatibilityLevel(v string)

SetCompatibilityLevel gets a reference to the given string and assigns it to the CompatibilityLevel field.

func (*Config) SetDefaultMetadata added in v0.4.0

func (o *Config) SetDefaultMetadata(v ConfigDefaultMetadata)

SetDefaultMetadata gets a reference to the given ConfigDefaultMetadata and assigns it to the DefaultMetadata field.

func (*Config) SetDefaultRuleSet added in v0.4.0

func (o *Config) SetDefaultRuleSet(v ConfigDefaultRuleSet)

SetDefaultRuleSet gets a reference to the given ConfigDefaultRuleSet and assigns it to the DefaultRuleSet field.

func (*Config) SetNormalize added in v0.4.0

func (o *Config) SetNormalize(v bool)

SetNormalize gets a reference to the given bool and assigns it to the Normalize field.

func (*Config) SetOverrideMetadata added in v0.4.0

func (o *Config) SetOverrideMetadata(v ConfigOverrideMetadata)

SetOverrideMetadata gets a reference to the given ConfigOverrideMetadata and assigns it to the OverrideMetadata field.

func (*Config) SetOverrideRuleSet added in v0.4.0

func (o *Config) SetOverrideRuleSet(v ConfigOverrideRuleSet)

SetOverrideRuleSet gets a reference to the given ConfigOverrideRuleSet and assigns it to the OverrideRuleSet field.

type ConfigDefaultMetadata added in v0.4.0

type ConfigDefaultMetadata struct {
	// The metadata properties and their new values
	Properties *map[string]interface{} `json:"properties,omitempty"`
}

ConfigDefaultMetadata Default value for the metadata to be used during schema registration.

func NewConfigDefaultMetadata added in v0.4.0

func NewConfigDefaultMetadata() *ConfigDefaultMetadata

NewConfigDefaultMetadata instantiates a new ConfigDefaultMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConfigDefaultMetadataWithDefaults added in v0.4.0

func NewConfigDefaultMetadataWithDefaults() *ConfigDefaultMetadata

NewConfigDefaultMetadataWithDefaults instantiates a new ConfigDefaultMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConfigDefaultMetadata) GetProperties added in v0.4.0

func (o *ConfigDefaultMetadata) GetProperties() map[string]interface{}

GetProperties returns the Properties field value if set, zero value otherwise.

func (*ConfigDefaultMetadata) GetPropertiesOk added in v0.4.0

func (o *ConfigDefaultMetadata) GetPropertiesOk() (*map[string]interface{}, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigDefaultMetadata) HasProperties added in v0.4.0

func (o *ConfigDefaultMetadata) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (ConfigDefaultMetadata) MarshalJSON added in v0.4.0

func (o ConfigDefaultMetadata) MarshalJSON() ([]byte, error)

func (*ConfigDefaultMetadata) Redact added in v0.4.0

func (o *ConfigDefaultMetadata) Redact()

Redact resets all sensitive fields to their zero value.

func (*ConfigDefaultMetadata) SetProperties added in v0.4.0

func (o *ConfigDefaultMetadata) SetProperties(v map[string]interface{})

SetProperties gets a reference to the given map[string]interface{} and assigns it to the Properties field.

type ConfigDefaultRuleSet added in v0.4.0

type ConfigDefaultRuleSet struct {
	// The metadata properties and their new values
	Properties *map[string]interface{} `json:"properties,omitempty"`
}

ConfigDefaultRuleSet Default value for the ruleSet to be used during schema registration.

func NewConfigDefaultRuleSet added in v0.4.0

func NewConfigDefaultRuleSet() *ConfigDefaultRuleSet

NewConfigDefaultRuleSet instantiates a new ConfigDefaultRuleSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConfigDefaultRuleSetWithDefaults added in v0.4.0

func NewConfigDefaultRuleSetWithDefaults() *ConfigDefaultRuleSet

NewConfigDefaultRuleSetWithDefaults instantiates a new ConfigDefaultRuleSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConfigDefaultRuleSet) GetProperties added in v0.4.0

func (o *ConfigDefaultRuleSet) GetProperties() map[string]interface{}

GetProperties returns the Properties field value if set, zero value otherwise.

func (*ConfigDefaultRuleSet) GetPropertiesOk added in v0.4.0

func (o *ConfigDefaultRuleSet) GetPropertiesOk() (*map[string]interface{}, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigDefaultRuleSet) HasProperties added in v0.4.0

func (o *ConfigDefaultRuleSet) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (ConfigDefaultRuleSet) MarshalJSON added in v0.4.0

func (o ConfigDefaultRuleSet) MarshalJSON() ([]byte, error)

func (*ConfigDefaultRuleSet) Redact added in v0.4.0

func (o *ConfigDefaultRuleSet) Redact()

Redact resets all sensitive fields to their zero value.

func (*ConfigDefaultRuleSet) SetProperties added in v0.4.0

func (o *ConfigDefaultRuleSet) SetProperties(v map[string]interface{})

SetProperties gets a reference to the given map[string]interface{} and assigns it to the Properties field.

type ConfigOverrideMetadata added in v0.4.0

type ConfigOverrideMetadata struct {
	// The metadata properties and their new values
	Properties *map[string]interface{} `json:"properties,omitempty"`
}

ConfigOverrideMetadata Override value for the metadata to be used during schema registration.

func NewConfigOverrideMetadata added in v0.4.0

func NewConfigOverrideMetadata() *ConfigOverrideMetadata

NewConfigOverrideMetadata instantiates a new ConfigOverrideMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConfigOverrideMetadataWithDefaults added in v0.4.0

func NewConfigOverrideMetadataWithDefaults() *ConfigOverrideMetadata

NewConfigOverrideMetadataWithDefaults instantiates a new ConfigOverrideMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConfigOverrideMetadata) GetProperties added in v0.4.0

func (o *ConfigOverrideMetadata) GetProperties() map[string]interface{}

GetProperties returns the Properties field value if set, zero value otherwise.

func (*ConfigOverrideMetadata) GetPropertiesOk added in v0.4.0

func (o *ConfigOverrideMetadata) GetPropertiesOk() (*map[string]interface{}, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigOverrideMetadata) HasProperties added in v0.4.0

func (o *ConfigOverrideMetadata) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (ConfigOverrideMetadata) MarshalJSON added in v0.4.0

func (o ConfigOverrideMetadata) MarshalJSON() ([]byte, error)

func (*ConfigOverrideMetadata) Redact added in v0.4.0

func (o *ConfigOverrideMetadata) Redact()

Redact resets all sensitive fields to their zero value.

func (*ConfigOverrideMetadata) SetProperties added in v0.4.0

func (o *ConfigOverrideMetadata) SetProperties(v map[string]interface{})

SetProperties gets a reference to the given map[string]interface{} and assigns it to the Properties field.

type ConfigOverrideRuleSet added in v0.4.0

type ConfigOverrideRuleSet struct {
	// The metadata properties and their new values
	Properties *map[string]interface{} `json:"properties,omitempty"`
}

ConfigOverrideRuleSet Override value for the ruleSet to be used during schema registration.

func NewConfigOverrideRuleSet added in v0.4.0

func NewConfigOverrideRuleSet() *ConfigOverrideRuleSet

NewConfigOverrideRuleSet instantiates a new ConfigOverrideRuleSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConfigOverrideRuleSetWithDefaults added in v0.4.0

func NewConfigOverrideRuleSetWithDefaults() *ConfigOverrideRuleSet

NewConfigOverrideRuleSetWithDefaults instantiates a new ConfigOverrideRuleSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConfigOverrideRuleSet) GetProperties added in v0.4.0

func (o *ConfigOverrideRuleSet) GetProperties() map[string]interface{}

GetProperties returns the Properties field value if set, zero value otherwise.

func (*ConfigOverrideRuleSet) GetPropertiesOk added in v0.4.0

func (o *ConfigOverrideRuleSet) GetPropertiesOk() (*map[string]interface{}, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigOverrideRuleSet) HasProperties added in v0.4.0

func (o *ConfigOverrideRuleSet) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (ConfigOverrideRuleSet) MarshalJSON added in v0.4.0

func (o ConfigOverrideRuleSet) MarshalJSON() ([]byte, error)

func (*ConfigOverrideRuleSet) Redact added in v0.4.0

func (o *ConfigOverrideRuleSet) Redact()

Redact resets all sensitive fields to their zero value.

func (*ConfigOverrideRuleSet) SetProperties added in v0.4.0

func (o *ConfigOverrideRuleSet) SetProperties(v map[string]interface{})

SetProperties gets a reference to the given map[string]interface{} and assigns it to the Properties field.

type ConfigUpdateRequest

type ConfigUpdateRequest struct {
	// If alias is specified, then this subject is an alias for the subject named by the alias. That means that any reference to this subject will be replaced by the alias.
	Alias *string `json:"alias,omitempty"`
	// If true, then schemas are automatically normalized when registered or when passed during lookups. This means that clients do not have to pass the \"normalize\" query parameter to have normalization occur.
	Normalize *bool `json:"normalize,omitempty"`
	// Compatibility Level
	Compatibility *string `json:"compatibility,omitempty"`
	// Only schemas that belong to the same compatibility group will be checked for compatibility.
	CompatibilityGroup *string                 `json:"compatibilityGroup,omitempty"`
	DefaultMetadata    *ConfigDefaultMetadata  `json:"defaultMetadata,omitempty"`
	OverrideMetadata   *ConfigOverrideMetadata `json:"overrideMetadata,omitempty"`
	DefaultRuleSet     *ConfigDefaultRuleSet   `json:"defaultRuleSet,omitempty"`
	OverrideRuleSet    *ConfigOverrideRuleSet  `json:"overrideRuleSet,omitempty"`
}

ConfigUpdateRequest Config update request

func NewConfigUpdateRequest

func NewConfigUpdateRequest() *ConfigUpdateRequest

NewConfigUpdateRequest instantiates a new ConfigUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewConfigUpdateRequestWithDefaults

func NewConfigUpdateRequestWithDefaults() *ConfigUpdateRequest

NewConfigUpdateRequestWithDefaults instantiates a new ConfigUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ConfigUpdateRequest) GetAlias added in v0.4.0

func (o *ConfigUpdateRequest) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*ConfigUpdateRequest) GetAliasOk added in v0.4.0

func (o *ConfigUpdateRequest) GetAliasOk() (*string, bool)

GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigUpdateRequest) GetCompatibility

func (o *ConfigUpdateRequest) GetCompatibility() string

GetCompatibility returns the Compatibility field value if set, zero value otherwise.

func (*ConfigUpdateRequest) GetCompatibilityGroup added in v0.4.0

func (o *ConfigUpdateRequest) GetCompatibilityGroup() string

GetCompatibilityGroup returns the CompatibilityGroup field value if set, zero value otherwise.

func (*ConfigUpdateRequest) GetCompatibilityGroupOk added in v0.4.0

func (o *ConfigUpdateRequest) GetCompatibilityGroupOk() (*string, bool)

GetCompatibilityGroupOk returns a tuple with the CompatibilityGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigUpdateRequest) GetCompatibilityOk

func (o *ConfigUpdateRequest) GetCompatibilityOk() (*string, bool)

GetCompatibilityOk returns a tuple with the Compatibility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigUpdateRequest) GetDefaultMetadata added in v0.4.0

func (o *ConfigUpdateRequest) GetDefaultMetadata() ConfigDefaultMetadata

GetDefaultMetadata returns the DefaultMetadata field value if set, zero value otherwise.

func (*ConfigUpdateRequest) GetDefaultMetadataOk added in v0.4.0

func (o *ConfigUpdateRequest) GetDefaultMetadataOk() (*ConfigDefaultMetadata, bool)

GetDefaultMetadataOk returns a tuple with the DefaultMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigUpdateRequest) GetDefaultRuleSet added in v0.4.0

func (o *ConfigUpdateRequest) GetDefaultRuleSet() ConfigDefaultRuleSet

GetDefaultRuleSet returns the DefaultRuleSet field value if set, zero value otherwise.

func (*ConfigUpdateRequest) GetDefaultRuleSetOk added in v0.4.0

func (o *ConfigUpdateRequest) GetDefaultRuleSetOk() (*ConfigDefaultRuleSet, bool)

GetDefaultRuleSetOk returns a tuple with the DefaultRuleSet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigUpdateRequest) GetNormalize added in v0.4.0

func (o *ConfigUpdateRequest) GetNormalize() bool

GetNormalize returns the Normalize field value if set, zero value otherwise.

func (*ConfigUpdateRequest) GetNormalizeOk added in v0.4.0

func (o *ConfigUpdateRequest) GetNormalizeOk() (*bool, bool)

GetNormalizeOk returns a tuple with the Normalize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigUpdateRequest) GetOverrideMetadata added in v0.4.0

func (o *ConfigUpdateRequest) GetOverrideMetadata() ConfigOverrideMetadata

GetOverrideMetadata returns the OverrideMetadata field value if set, zero value otherwise.

func (*ConfigUpdateRequest) GetOverrideMetadataOk added in v0.4.0

func (o *ConfigUpdateRequest) GetOverrideMetadataOk() (*ConfigOverrideMetadata, bool)

GetOverrideMetadataOk returns a tuple with the OverrideMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigUpdateRequest) GetOverrideRuleSet added in v0.4.0

func (o *ConfigUpdateRequest) GetOverrideRuleSet() ConfigOverrideRuleSet

GetOverrideRuleSet returns the OverrideRuleSet field value if set, zero value otherwise.

func (*ConfigUpdateRequest) GetOverrideRuleSetOk added in v0.4.0

func (o *ConfigUpdateRequest) GetOverrideRuleSetOk() (*ConfigOverrideRuleSet, bool)

GetOverrideRuleSetOk returns a tuple with the OverrideRuleSet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConfigUpdateRequest) HasAlias added in v0.4.0

func (o *ConfigUpdateRequest) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*ConfigUpdateRequest) HasCompatibility

func (o *ConfigUpdateRequest) HasCompatibility() bool

HasCompatibility returns a boolean if a field has been set.

func (*ConfigUpdateRequest) HasCompatibilityGroup added in v0.4.0

func (o *ConfigUpdateRequest) HasCompatibilityGroup() bool

HasCompatibilityGroup returns a boolean if a field has been set.

func (*ConfigUpdateRequest) HasDefaultMetadata added in v0.4.0

func (o *ConfigUpdateRequest) HasDefaultMetadata() bool

HasDefaultMetadata returns a boolean if a field has been set.

func (*ConfigUpdateRequest) HasDefaultRuleSet added in v0.4.0

func (o *ConfigUpdateRequest) HasDefaultRuleSet() bool

HasDefaultRuleSet returns a boolean if a field has been set.

func (*ConfigUpdateRequest) HasNormalize added in v0.4.0

func (o *ConfigUpdateRequest) HasNormalize() bool

HasNormalize returns a boolean if a field has been set.

func (*ConfigUpdateRequest) HasOverrideMetadata added in v0.4.0

func (o *ConfigUpdateRequest) HasOverrideMetadata() bool

HasOverrideMetadata returns a boolean if a field has been set.

func (*ConfigUpdateRequest) HasOverrideRuleSet added in v0.4.0

func (o *ConfigUpdateRequest) HasOverrideRuleSet() bool

HasOverrideRuleSet returns a boolean if a field has been set.

func (ConfigUpdateRequest) MarshalJSON

func (o ConfigUpdateRequest) MarshalJSON() ([]byte, error)

func (*ConfigUpdateRequest) Redact

func (o *ConfigUpdateRequest) Redact()

Redact resets all sensitive fields to their zero value.

func (*ConfigUpdateRequest) SetAlias added in v0.4.0

func (o *ConfigUpdateRequest) SetAlias(v string)

SetAlias gets a reference to the given string and assigns it to the Alias field.

func (*ConfigUpdateRequest) SetCompatibility

func (o *ConfigUpdateRequest) SetCompatibility(v string)

SetCompatibility gets a reference to the given string and assigns it to the Compatibility field.

func (*ConfigUpdateRequest) SetCompatibilityGroup added in v0.4.0

func (o *ConfigUpdateRequest) SetCompatibilityGroup(v string)

SetCompatibilityGroup gets a reference to the given string and assigns it to the CompatibilityGroup field.

func (*ConfigUpdateRequest) SetDefaultMetadata added in v0.4.0

func (o *ConfigUpdateRequest) SetDefaultMetadata(v ConfigDefaultMetadata)

SetDefaultMetadata gets a reference to the given ConfigDefaultMetadata and assigns it to the DefaultMetadata field.

func (*ConfigUpdateRequest) SetDefaultRuleSet added in v0.4.0

func (o *ConfigUpdateRequest) SetDefaultRuleSet(v ConfigDefaultRuleSet)

SetDefaultRuleSet gets a reference to the given ConfigDefaultRuleSet and assigns it to the DefaultRuleSet field.

func (*ConfigUpdateRequest) SetNormalize added in v0.4.0

func (o *ConfigUpdateRequest) SetNormalize(v bool)

SetNormalize gets a reference to the given bool and assigns it to the Normalize field.

func (*ConfigUpdateRequest) SetOverrideMetadata added in v0.4.0

func (o *ConfigUpdateRequest) SetOverrideMetadata(v ConfigOverrideMetadata)

SetOverrideMetadata gets a reference to the given ConfigOverrideMetadata and assigns it to the OverrideMetadata field.

func (*ConfigUpdateRequest) SetOverrideRuleSet added in v0.4.0

func (o *ConfigUpdateRequest) SetOverrideRuleSet(v ConfigOverrideRuleSet)

SetOverrideRuleSet gets a reference to the given ConfigOverrideRuleSet and assigns it to the OverrideRuleSet field.

type ConfigV1Api

type ConfigV1Api interface {

	/*
		DeleteSubjectConfig Delete subject compatibility level

		Deletes the specified subject-level compatibility level config and reverts to the global default.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @return ApiDeleteSubjectConfigRequest
	*/
	DeleteSubjectConfig(ctx _context.Context, subject string) ApiDeleteSubjectConfigRequest

	// DeleteSubjectConfigExecute executes the request
	//  @return string
	DeleteSubjectConfigExecute(r ApiDeleteSubjectConfigRequest) (string, *_nethttp.Response, error)

	/*
		DeleteTopLevelConfig Delete global compatibility level

		Deletes the global compatibility level config and reverts to the default.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiDeleteTopLevelConfigRequest
	*/
	DeleteTopLevelConfig(ctx _context.Context) ApiDeleteTopLevelConfigRequest

	// DeleteTopLevelConfigExecute executes the request
	//  @return string
	DeleteTopLevelConfigExecute(r ApiDeleteTopLevelConfigRequest) (string, *_nethttp.Response, error)

	/*
		GetClusterConfig Get cluster config

		Retrieves cluster config information.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetClusterConfigRequest
	*/
	GetClusterConfig(ctx _context.Context) ApiGetClusterConfigRequest

	// GetClusterConfigExecute executes the request
	//  @return ClusterConfig
	GetClusterConfigExecute(r ApiGetClusterConfigRequest) (ClusterConfig, *_nethttp.Response, error)

	/*
			GetSubjectLevelConfig Get subject compatibility level

			Retrieves compatibility level, compatibility group, normalization,
		default metadata, and rule set for a subject.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param subject Name of the subject
			 @return ApiGetSubjectLevelConfigRequest
	*/
	GetSubjectLevelConfig(ctx _context.Context, subject string) ApiGetSubjectLevelConfigRequest

	// GetSubjectLevelConfigExecute executes the request
	//  @return Config
	GetSubjectLevelConfigExecute(r ApiGetSubjectLevelConfigRequest) (Config, *_nethttp.Response, error)

	/*
			GetTopLevelConfig Get global compatibility level

			Retrieves the global compatibility level, compatibility group,
		normalization, default metadata, and rule set.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @return ApiGetTopLevelConfigRequest
	*/
	GetTopLevelConfig(ctx _context.Context) ApiGetTopLevelConfigRequest

	// GetTopLevelConfigExecute executes the request
	//  @return Config
	GetTopLevelConfigExecute(r ApiGetTopLevelConfigRequest) (Config, *_nethttp.Response, error)

	/*
			UpdateSubjectLevelConfig Update subject compatibility level

			Update compatibility level, compatibility group, normalization,
		default metadata, and rule set for the specified subject. On success,
		echoes the original request back to the client.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param subject Name of the subject
			 @return ApiUpdateSubjectLevelConfigRequest
	*/
	UpdateSubjectLevelConfig(ctx _context.Context, subject string) ApiUpdateSubjectLevelConfigRequest

	// UpdateSubjectLevelConfigExecute executes the request
	//  @return ConfigUpdateRequest
	UpdateSubjectLevelConfigExecute(r ApiUpdateSubjectLevelConfigRequest) (ConfigUpdateRequest, *_nethttp.Response, error)

	/*
			UpdateTopLevelConfig Update global compatibility level

			Updates the global compatibility level, compatibility group,
		schema normalization, default metadata, and rule set. On success, echoes the
		original request back to the client.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @return ApiUpdateTopLevelConfigRequest
	*/
	UpdateTopLevelConfig(ctx _context.Context) ApiUpdateTopLevelConfigRequest

	// UpdateTopLevelConfigExecute executes the request
	//  @return ConfigUpdateRequest
	UpdateTopLevelConfigExecute(r ApiUpdateTopLevelConfigRequest) (ConfigUpdateRequest, *_nethttp.Response, error)
}

type ConfigV1ApiService

type ConfigV1ApiService service

ConfigV1ApiService ConfigV1Api service

func (*ConfigV1ApiService) DeleteSubjectConfig

func (a *ConfigV1ApiService) DeleteSubjectConfig(ctx _context.Context, subject string) ApiDeleteSubjectConfigRequest

DeleteSubjectConfig Delete subject compatibility level

Deletes the specified subject-level compatibility level config and reverts to the global default.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@return ApiDeleteSubjectConfigRequest

func (*ConfigV1ApiService) DeleteSubjectConfigExecute

func (a *ConfigV1ApiService) DeleteSubjectConfigExecute(r ApiDeleteSubjectConfigRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

func (*ConfigV1ApiService) DeleteTopLevelConfig

DeleteTopLevelConfig Delete global compatibility level

Deletes the global compatibility level config and reverts to the default.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteTopLevelConfigRequest

func (*ConfigV1ApiService) DeleteTopLevelConfigExecute

func (a *ConfigV1ApiService) DeleteTopLevelConfigExecute(r ApiDeleteTopLevelConfigRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

func (*ConfigV1ApiService) GetClusterConfig added in v0.2.0

GetClusterConfig Get cluster config

Retrieves cluster config information.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetClusterConfigRequest

func (*ConfigV1ApiService) GetClusterConfigExecute added in v0.2.0

Execute executes the request

@return ClusterConfig

func (*ConfigV1ApiService) GetSubjectLevelConfig

func (a *ConfigV1ApiService) GetSubjectLevelConfig(ctx _context.Context, subject string) ApiGetSubjectLevelConfigRequest

GetSubjectLevelConfig Get subject compatibility level

Retrieves compatibility level, compatibility group, normalization, default metadata, and rule set for a subject.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@return ApiGetSubjectLevelConfigRequest

func (*ConfigV1ApiService) GetSubjectLevelConfigExecute

func (a *ConfigV1ApiService) GetSubjectLevelConfigExecute(r ApiGetSubjectLevelConfigRequest) (Config, *_nethttp.Response, error)

Execute executes the request

@return Config

func (*ConfigV1ApiService) GetTopLevelConfig

GetTopLevelConfig Get global compatibility level

Retrieves the global compatibility level, compatibility group, normalization, default metadata, and rule set.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTopLevelConfigRequest

func (*ConfigV1ApiService) GetTopLevelConfigExecute

func (a *ConfigV1ApiService) GetTopLevelConfigExecute(r ApiGetTopLevelConfigRequest) (Config, *_nethttp.Response, error)

Execute executes the request

@return Config

func (*ConfigV1ApiService) UpdateSubjectLevelConfig

func (a *ConfigV1ApiService) UpdateSubjectLevelConfig(ctx _context.Context, subject string) ApiUpdateSubjectLevelConfigRequest

UpdateSubjectLevelConfig Update subject compatibility level

Update compatibility level, compatibility group, normalization, default metadata, and rule set for the specified subject. On success, echoes the original request back to the client.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@return ApiUpdateSubjectLevelConfigRequest

func (*ConfigV1ApiService) UpdateSubjectLevelConfigExecute

Execute executes the request

@return ConfigUpdateRequest

func (*ConfigV1ApiService) UpdateTopLevelConfig

UpdateTopLevelConfig Update global compatibility level

Updates the global compatibility level, compatibility group, schema normalization, default metadata, and rule set. On success, echoes the original request back to the client.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateTopLevelConfigRequest

func (*ConfigV1ApiService) UpdateTopLevelConfigExecute

Execute executes the request

@return ConfigUpdateRequest

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ContextsV1Api

type ContextsV1Api interface {

	/*
		ListContexts List contexts

		Retrieves a list of contexts.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiListContextsRequest
	*/
	ListContexts(ctx _context.Context) ApiListContextsRequest

	// ListContextsExecute executes the request
	//  @return []string
	ListContextsExecute(r ApiListContextsRequest) ([]string, *_nethttp.Response, error)
}

type ContextsV1ApiService

type ContextsV1ApiService service

ContextsV1ApiService ContextsV1Api service

func (*ContextsV1ApiService) ListContexts

ListContexts List contexts

Retrieves a list of contexts.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListContextsRequest

func (*ContextsV1ApiService) ListContextsExecute

func (a *ContextsV1ApiService) ListContextsExecute(r ApiListContextsRequest) ([]string, *_nethttp.Response, error)

Execute executes the request

@return []string

type CreateDekRequest added in v0.4.0

type CreateDekRequest struct {
	Subject              *string `json:"subject,omitempty"`
	Version              *int32  `json:"version,omitempty"`
	Algorithm            *string `json:"algorithm,omitempty"`
	EncryptedKeyMaterial *string `json:"encryptedKeyMaterial,omitempty"`
}

CreateDekRequest struct for CreateDekRequest

func NewCreateDekRequest added in v0.4.0

func NewCreateDekRequest() *CreateDekRequest

NewCreateDekRequest instantiates a new CreateDekRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateDekRequestWithDefaults added in v0.4.0

func NewCreateDekRequestWithDefaults() *CreateDekRequest

NewCreateDekRequestWithDefaults instantiates a new CreateDekRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateDekRequest) GetAlgorithm added in v0.4.0

func (o *CreateDekRequest) GetAlgorithm() string

GetAlgorithm returns the Algorithm field value if set, zero value otherwise.

func (*CreateDekRequest) GetAlgorithmOk added in v0.4.0

func (o *CreateDekRequest) GetAlgorithmOk() (*string, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDekRequest) GetEncryptedKeyMaterial added in v0.4.0

func (o *CreateDekRequest) GetEncryptedKeyMaterial() string

GetEncryptedKeyMaterial returns the EncryptedKeyMaterial field value if set, zero value otherwise.

func (*CreateDekRequest) GetEncryptedKeyMaterialOk added in v0.4.0

func (o *CreateDekRequest) GetEncryptedKeyMaterialOk() (*string, bool)

GetEncryptedKeyMaterialOk returns a tuple with the EncryptedKeyMaterial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDekRequest) GetSubject added in v0.4.0

func (o *CreateDekRequest) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*CreateDekRequest) GetSubjectOk added in v0.4.0

func (o *CreateDekRequest) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDekRequest) GetVersion added in v0.4.0

func (o *CreateDekRequest) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*CreateDekRequest) GetVersionOk added in v0.4.0

func (o *CreateDekRequest) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateDekRequest) HasAlgorithm added in v0.4.0

func (o *CreateDekRequest) HasAlgorithm() bool

HasAlgorithm returns a boolean if a field has been set.

func (*CreateDekRequest) HasEncryptedKeyMaterial added in v0.4.0

func (o *CreateDekRequest) HasEncryptedKeyMaterial() bool

HasEncryptedKeyMaterial returns a boolean if a field has been set.

func (*CreateDekRequest) HasSubject added in v0.4.0

func (o *CreateDekRequest) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*CreateDekRequest) HasVersion added in v0.4.0

func (o *CreateDekRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (CreateDekRequest) MarshalJSON added in v0.4.0

func (o CreateDekRequest) MarshalJSON() ([]byte, error)

func (*CreateDekRequest) Redact added in v0.4.0

func (o *CreateDekRequest) Redact()

Redact resets all sensitive fields to their zero value.

func (*CreateDekRequest) SetAlgorithm added in v0.4.0

func (o *CreateDekRequest) SetAlgorithm(v string)

SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.

func (*CreateDekRequest) SetEncryptedKeyMaterial added in v0.4.0

func (o *CreateDekRequest) SetEncryptedKeyMaterial(v string)

SetEncryptedKeyMaterial gets a reference to the given string and assigns it to the EncryptedKeyMaterial field.

func (*CreateDekRequest) SetSubject added in v0.4.0

func (o *CreateDekRequest) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*CreateDekRequest) SetVersion added in v0.4.0

func (o *CreateDekRequest) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type CreateKekRequest added in v0.4.0

type CreateKekRequest struct {
	Name     *string            `json:"name,omitempty"`
	KmsType  *string            `json:"kmsType,omitempty"`
	KmsKeyId *string            `json:"kmsKeyId,omitempty"`
	KmsProps *map[string]string `json:"kmsProps,omitempty"`
	Doc      *string            `json:"doc,omitempty"`
	Shared   *bool              `json:"shared,omitempty"`
}

CreateKekRequest struct for CreateKekRequest

func NewCreateKekRequest added in v0.4.0

func NewCreateKekRequest() *CreateKekRequest

NewCreateKekRequest instantiates a new CreateKekRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateKekRequestWithDefaults added in v0.4.0

func NewCreateKekRequestWithDefaults() *CreateKekRequest

NewCreateKekRequestWithDefaults instantiates a new CreateKekRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateKekRequest) GetDoc added in v0.4.0

func (o *CreateKekRequest) GetDoc() string

GetDoc returns the Doc field value if set, zero value otherwise.

func (*CreateKekRequest) GetDocOk added in v0.4.0

func (o *CreateKekRequest) GetDocOk() (*string, bool)

GetDocOk returns a tuple with the Doc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKekRequest) GetKmsKeyId added in v0.4.0

func (o *CreateKekRequest) GetKmsKeyId() string

GetKmsKeyId returns the KmsKeyId field value if set, zero value otherwise.

func (*CreateKekRequest) GetKmsKeyIdOk added in v0.4.0

func (o *CreateKekRequest) GetKmsKeyIdOk() (*string, bool)

GetKmsKeyIdOk returns a tuple with the KmsKeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKekRequest) GetKmsProps added in v0.4.0

func (o *CreateKekRequest) GetKmsProps() map[string]string

GetKmsProps returns the KmsProps field value if set, zero value otherwise.

func (*CreateKekRequest) GetKmsPropsOk added in v0.4.0

func (o *CreateKekRequest) GetKmsPropsOk() (*map[string]string, bool)

GetKmsPropsOk returns a tuple with the KmsProps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKekRequest) GetKmsType added in v0.4.0

func (o *CreateKekRequest) GetKmsType() string

GetKmsType returns the KmsType field value if set, zero value otherwise.

func (*CreateKekRequest) GetKmsTypeOk added in v0.4.0

func (o *CreateKekRequest) GetKmsTypeOk() (*string, bool)

GetKmsTypeOk returns a tuple with the KmsType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKekRequest) GetName added in v0.4.0

func (o *CreateKekRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateKekRequest) GetNameOk added in v0.4.0

func (o *CreateKekRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKekRequest) GetShared added in v0.4.0

func (o *CreateKekRequest) GetShared() bool

GetShared returns the Shared field value if set, zero value otherwise.

func (*CreateKekRequest) GetSharedOk added in v0.4.0

func (o *CreateKekRequest) GetSharedOk() (*bool, bool)

GetSharedOk returns a tuple with the Shared field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateKekRequest) HasDoc added in v0.4.0

func (o *CreateKekRequest) HasDoc() bool

HasDoc returns a boolean if a field has been set.

func (*CreateKekRequest) HasKmsKeyId added in v0.4.0

func (o *CreateKekRequest) HasKmsKeyId() bool

HasKmsKeyId returns a boolean if a field has been set.

func (*CreateKekRequest) HasKmsProps added in v0.4.0

func (o *CreateKekRequest) HasKmsProps() bool

HasKmsProps returns a boolean if a field has been set.

func (*CreateKekRequest) HasKmsType added in v0.4.0

func (o *CreateKekRequest) HasKmsType() bool

HasKmsType returns a boolean if a field has been set.

func (*CreateKekRequest) HasName added in v0.4.0

func (o *CreateKekRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateKekRequest) HasShared added in v0.4.0

func (o *CreateKekRequest) HasShared() bool

HasShared returns a boolean if a field has been set.

func (CreateKekRequest) MarshalJSON added in v0.4.0

func (o CreateKekRequest) MarshalJSON() ([]byte, error)

func (*CreateKekRequest) Redact added in v0.4.0

func (o *CreateKekRequest) Redact()

Redact resets all sensitive fields to their zero value.

func (*CreateKekRequest) SetDoc added in v0.4.0

func (o *CreateKekRequest) SetDoc(v string)

SetDoc gets a reference to the given string and assigns it to the Doc field.

func (*CreateKekRequest) SetKmsKeyId added in v0.4.0

func (o *CreateKekRequest) SetKmsKeyId(v string)

SetKmsKeyId gets a reference to the given string and assigns it to the KmsKeyId field.

func (*CreateKekRequest) SetKmsProps added in v0.4.0

func (o *CreateKekRequest) SetKmsProps(v map[string]string)

SetKmsProps gets a reference to the given map[string]string and assigns it to the KmsProps field.

func (*CreateKekRequest) SetKmsType added in v0.4.0

func (o *CreateKekRequest) SetKmsType(v string)

SetKmsType gets a reference to the given string and assigns it to the KmsType field.

func (*CreateKekRequest) SetName added in v0.4.0

func (o *CreateKekRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateKekRequest) SetShared added in v0.4.0

func (o *CreateKekRequest) SetShared(v bool)

SetShared gets a reference to the given bool and assigns it to the Shared field.

type DataEncryptionKeysV1Api added in v0.4.0

type DataEncryptionKeysV1Api interface {

	/*
		CreateDek Create a dek.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @return ApiCreateDekRequest
	*/
	CreateDek(ctx _context.Context, name string) ApiCreateDekRequest

	// CreateDekExecute executes the request
	//  @return Dek
	CreateDekExecute(r ApiCreateDekRequest) (Dek, *_nethttp.Response, error)

	/*
		DeleteDekVersion Delete a dek version.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @param subject Subject of the dek
		 @param version Version of the dek
		 @return ApiDeleteDekVersionRequest
	*/
	DeleteDekVersion(ctx _context.Context, name string, subject string, version string) ApiDeleteDekVersionRequest

	// DeleteDekVersionExecute executes the request
	DeleteDekVersionExecute(r ApiDeleteDekVersionRequest) (*_nethttp.Response, error)

	/*
		DeleteDekVersions Delete all versions of a dek.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @param subject Subject of the dek
		 @return ApiDeleteDekVersionsRequest
	*/
	DeleteDekVersions(ctx _context.Context, name string, subject string) ApiDeleteDekVersionsRequest

	// DeleteDekVersionsExecute executes the request
	DeleteDekVersionsExecute(r ApiDeleteDekVersionsRequest) (*_nethttp.Response, error)

	/*
		GetDek Get a dek by subject.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @param subject Subject of the dek
		 @return ApiGetDekRequest
	*/
	GetDek(ctx _context.Context, name string, subject string) ApiGetDekRequest

	// GetDekExecute executes the request
	//  @return Dek
	GetDekExecute(r ApiGetDekRequest) (Dek, *_nethttp.Response, error)

	/*
		GetDekByVersion Get a dek by subject and version.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @param subject Subject of the dek
		 @param version Version of the dek
		 @return ApiGetDekByVersionRequest
	*/
	GetDekByVersion(ctx _context.Context, name string, subject string, version string) ApiGetDekByVersionRequest

	// GetDekByVersionExecute executes the request
	//  @return Dek
	GetDekByVersionExecute(r ApiGetDekByVersionRequest) (Dek, *_nethttp.Response, error)

	/*
		GetDekSubjects Get a list of dek subjects.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @return ApiGetDekSubjectsRequest
	*/
	GetDekSubjects(ctx _context.Context, name string) ApiGetDekSubjectsRequest

	// GetDekSubjectsExecute executes the request
	//  @return []string
	GetDekSubjectsExecute(r ApiGetDekSubjectsRequest) ([]string, *_nethttp.Response, error)

	/*
		GetDekVersions List versions of dek.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @param subject Subject of the dek
		 @return ApiGetDekVersionsRequest
	*/
	GetDekVersions(ctx _context.Context, name string, subject string) ApiGetDekVersionsRequest

	// GetDekVersionsExecute executes the request
	//  @return []int32
	GetDekVersionsExecute(r ApiGetDekVersionsRequest) ([]int32, *_nethttp.Response, error)

	/*
		UndeleteDekVersion Undelete a dek version.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @param subject Subject of the dek
		 @param version Version of the dek
		 @return ApiUndeleteDekVersionRequest
	*/
	UndeleteDekVersion(ctx _context.Context, name string, subject string, version string) ApiUndeleteDekVersionRequest

	// UndeleteDekVersionExecute executes the request
	UndeleteDekVersionExecute(r ApiUndeleteDekVersionRequest) (*_nethttp.Response, error)

	/*
		UndeleteDekVersions Undelete all versions of a dek.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @param subject Subject of the dek
		 @return ApiUndeleteDekVersionsRequest
	*/
	UndeleteDekVersions(ctx _context.Context, name string, subject string) ApiUndeleteDekVersionsRequest

	// UndeleteDekVersionsExecute executes the request
	UndeleteDekVersionsExecute(r ApiUndeleteDekVersionsRequest) (*_nethttp.Response, error)
}

type DataEncryptionKeysV1ApiService added in v0.4.0

type DataEncryptionKeysV1ApiService service

DataEncryptionKeysV1ApiService DataEncryptionKeysV1Api service

func (*DataEncryptionKeysV1ApiService) CreateDek added in v0.4.0

CreateDek Create a dek.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@return ApiCreateDekRequest

func (*DataEncryptionKeysV1ApiService) CreateDekExecute added in v0.4.0

Execute executes the request

@return Dek

func (*DataEncryptionKeysV1ApiService) DeleteDekVersion added in v0.4.0

func (a *DataEncryptionKeysV1ApiService) DeleteDekVersion(ctx _context.Context, name string, subject string, version string) ApiDeleteDekVersionRequest

DeleteDekVersion Delete a dek version.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@param subject Subject of the dek
@param version Version of the dek
@return ApiDeleteDekVersionRequest

func (*DataEncryptionKeysV1ApiService) DeleteDekVersionExecute added in v0.4.0

Execute executes the request

func (*DataEncryptionKeysV1ApiService) DeleteDekVersions added in v0.4.0

DeleteDekVersions Delete all versions of a dek.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@param subject Subject of the dek
@return ApiDeleteDekVersionsRequest

func (*DataEncryptionKeysV1ApiService) DeleteDekVersionsExecute added in v0.4.0

Execute executes the request

func (*DataEncryptionKeysV1ApiService) GetDek added in v0.4.0

GetDek Get a dek by subject.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@param subject Subject of the dek
@return ApiGetDekRequest

func (*DataEncryptionKeysV1ApiService) GetDekByVersion added in v0.4.0

func (a *DataEncryptionKeysV1ApiService) GetDekByVersion(ctx _context.Context, name string, subject string, version string) ApiGetDekByVersionRequest

GetDekByVersion Get a dek by subject and version.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@param subject Subject of the dek
@param version Version of the dek
@return ApiGetDekByVersionRequest

func (*DataEncryptionKeysV1ApiService) GetDekByVersionExecute added in v0.4.0

Execute executes the request

@return Dek

func (*DataEncryptionKeysV1ApiService) GetDekExecute added in v0.4.0

Execute executes the request

@return Dek

func (*DataEncryptionKeysV1ApiService) GetDekSubjects added in v0.4.0

GetDekSubjects Get a list of dek subjects.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@return ApiGetDekSubjectsRequest

func (*DataEncryptionKeysV1ApiService) GetDekSubjectsExecute added in v0.4.0

Execute executes the request

@return []string

func (*DataEncryptionKeysV1ApiService) GetDekVersions added in v0.4.0

GetDekVersions List versions of dek.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@param subject Subject of the dek
@return ApiGetDekVersionsRequest

func (*DataEncryptionKeysV1ApiService) GetDekVersionsExecute added in v0.4.0

Execute executes the request

@return []int32

func (*DataEncryptionKeysV1ApiService) UndeleteDekVersion added in v0.4.0

func (a *DataEncryptionKeysV1ApiService) UndeleteDekVersion(ctx _context.Context, name string, subject string, version string) ApiUndeleteDekVersionRequest

UndeleteDekVersion Undelete a dek version.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@param subject Subject of the dek
@param version Version of the dek
@return ApiUndeleteDekVersionRequest

func (*DataEncryptionKeysV1ApiService) UndeleteDekVersionExecute added in v0.4.0

Execute executes the request

func (*DataEncryptionKeysV1ApiService) UndeleteDekVersions added in v0.4.0

UndeleteDekVersions Undelete all versions of a dek.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@param subject Subject of the dek
@return ApiUndeleteDekVersionsRequest

func (*DataEncryptionKeysV1ApiService) UndeleteDekVersionsExecute added in v0.4.0

Execute executes the request

type Dek added in v0.4.0

type Dek struct {
	KekName              *string `json:"kekName,omitempty"`
	Subject              *string `json:"subject,omitempty"`
	Version              *int32  `json:"version,omitempty"`
	Algorithm            *string `json:"algorithm,omitempty"`
	EncryptedKeyMaterial *string `json:"encryptedKeyMaterial,omitempty"`
	KeyMaterial          *string `json:"keyMaterial,omitempty"`
	Ts                   *int64  `json:"ts,omitempty"`
	Deleted              *bool   `json:"deleted,omitempty"`
}

Dek struct for Dek

func NewDek added in v0.4.0

func NewDek() *Dek

NewDek instantiates a new Dek object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDekWithDefaults added in v0.4.0

func NewDekWithDefaults() *Dek

NewDekWithDefaults instantiates a new Dek object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Dek) GetAlgorithm added in v0.4.0

func (o *Dek) GetAlgorithm() string

GetAlgorithm returns the Algorithm field value if set, zero value otherwise.

func (*Dek) GetAlgorithmOk added in v0.4.0

func (o *Dek) GetAlgorithmOk() (*string, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dek) GetDeleted added in v0.4.0

func (o *Dek) GetDeleted() bool

GetDeleted returns the Deleted field value if set, zero value otherwise.

func (*Dek) GetDeletedOk added in v0.4.0

func (o *Dek) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dek) GetEncryptedKeyMaterial added in v0.4.0

func (o *Dek) GetEncryptedKeyMaterial() string

GetEncryptedKeyMaterial returns the EncryptedKeyMaterial field value if set, zero value otherwise.

func (*Dek) GetEncryptedKeyMaterialOk added in v0.4.0

func (o *Dek) GetEncryptedKeyMaterialOk() (*string, bool)

GetEncryptedKeyMaterialOk returns a tuple with the EncryptedKeyMaterial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dek) GetKekName added in v0.4.0

func (o *Dek) GetKekName() string

GetKekName returns the KekName field value if set, zero value otherwise.

func (*Dek) GetKekNameOk added in v0.4.0

func (o *Dek) GetKekNameOk() (*string, bool)

GetKekNameOk returns a tuple with the KekName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dek) GetKeyMaterial added in v0.4.0

func (o *Dek) GetKeyMaterial() string

GetKeyMaterial returns the KeyMaterial field value if set, zero value otherwise.

func (*Dek) GetKeyMaterialOk added in v0.4.0

func (o *Dek) GetKeyMaterialOk() (*string, bool)

GetKeyMaterialOk returns a tuple with the KeyMaterial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dek) GetSubject added in v0.4.0

func (o *Dek) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*Dek) GetSubjectOk added in v0.4.0

func (o *Dek) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dek) GetTs added in v0.4.0

func (o *Dek) GetTs() int64

GetTs returns the Ts field value if set, zero value otherwise.

func (*Dek) GetTsOk added in v0.4.0

func (o *Dek) GetTsOk() (*int64, bool)

GetTsOk returns a tuple with the Ts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dek) GetVersion added in v0.4.0

func (o *Dek) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*Dek) GetVersionOk added in v0.4.0

func (o *Dek) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Dek) HasAlgorithm added in v0.4.0

func (o *Dek) HasAlgorithm() bool

HasAlgorithm returns a boolean if a field has been set.

func (*Dek) HasDeleted added in v0.4.0

func (o *Dek) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*Dek) HasEncryptedKeyMaterial added in v0.4.0

func (o *Dek) HasEncryptedKeyMaterial() bool

HasEncryptedKeyMaterial returns a boolean if a field has been set.

func (*Dek) HasKekName added in v0.4.0

func (o *Dek) HasKekName() bool

HasKekName returns a boolean if a field has been set.

func (*Dek) HasKeyMaterial added in v0.4.0

func (o *Dek) HasKeyMaterial() bool

HasKeyMaterial returns a boolean if a field has been set.

func (*Dek) HasSubject added in v0.4.0

func (o *Dek) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*Dek) HasTs added in v0.4.0

func (o *Dek) HasTs() bool

HasTs returns a boolean if a field has been set.

func (*Dek) HasVersion added in v0.4.0

func (o *Dek) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Dek) MarshalJSON added in v0.4.0

func (o Dek) MarshalJSON() ([]byte, error)

func (*Dek) Redact added in v0.4.0

func (o *Dek) Redact()

Redact resets all sensitive fields to their zero value.

func (*Dek) SetAlgorithm added in v0.4.0

func (o *Dek) SetAlgorithm(v string)

SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.

func (*Dek) SetDeleted added in v0.4.0

func (o *Dek) SetDeleted(v bool)

SetDeleted gets a reference to the given bool and assigns it to the Deleted field.

func (*Dek) SetEncryptedKeyMaterial added in v0.4.0

func (o *Dek) SetEncryptedKeyMaterial(v string)

SetEncryptedKeyMaterial gets a reference to the given string and assigns it to the EncryptedKeyMaterial field.

func (*Dek) SetKekName added in v0.4.0

func (o *Dek) SetKekName(v string)

SetKekName gets a reference to the given string and assigns it to the KekName field.

func (*Dek) SetKeyMaterial added in v0.4.0

func (o *Dek) SetKeyMaterial(v string)

SetKeyMaterial gets a reference to the given string and assigns it to the KeyMaterial field.

func (*Dek) SetSubject added in v0.4.0

func (o *Dek) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*Dek) SetTs added in v0.4.0

func (o *Dek) SetTs(v int64)

SetTs gets a reference to the given int64 and assigns it to the Ts field.

func (*Dek) SetVersion added in v0.4.0

func (o *Dek) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type ErrorMessage

type ErrorMessage struct {
	// Error code
	ErrorCode *int32 `json:"error_code,omitempty"`
	// Detailed error message
	Message *string `json:"message,omitempty"`
}

ErrorMessage Error message

func NewErrorMessage

func NewErrorMessage() *ErrorMessage

NewErrorMessage instantiates a new ErrorMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorMessageWithDefaults

func NewErrorMessageWithDefaults() *ErrorMessage

NewErrorMessageWithDefaults instantiates a new ErrorMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorMessage) GetErrorCode

func (o *ErrorMessage) GetErrorCode() int32

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ErrorMessage) GetErrorCodeOk

func (o *ErrorMessage) GetErrorCodeOk() (*int32, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessage) GetMessage

func (o *ErrorMessage) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorMessage) GetMessageOk

func (o *ErrorMessage) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorMessage) HasErrorCode

func (o *ErrorMessage) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessage) HasMessage

func (o *ErrorMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorMessage) MarshalJSON

func (o ErrorMessage) MarshalJSON() ([]byte, error)

func (*ErrorMessage) Redact

func (o *ErrorMessage) Redact()

Redact resets all sensitive fields to their zero value.

func (*ErrorMessage) SetErrorCode

func (o *ErrorMessage) SetErrorCode(v int32)

SetErrorCode gets a reference to the given int32 and assigns it to the ErrorCode field.

func (*ErrorMessage) SetMessage

func (o *ErrorMessage) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type ExporterConfigResponse added in v0.2.0

type ExporterConfigResponse struct {
	// Config SR URL
	SchemaRegistryUrl *string `json:"schema.registry.url,omitempty"`
	// Config SR Auth
	BasicAuthCredentialsSource *string `json:"basic.auth.credentials.source,omitempty"`
	// Config SR User Info
	BasicAuthUserInfo *string `json:"basic.auth.user.info,omitempty"`
}

ExporterConfigResponse The map containing exporter’s configurations

func NewExporterConfigResponse added in v0.2.0

func NewExporterConfigResponse() *ExporterConfigResponse

NewExporterConfigResponse instantiates a new ExporterConfigResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExporterConfigResponseWithDefaults added in v0.2.0

func NewExporterConfigResponseWithDefaults() *ExporterConfigResponse

NewExporterConfigResponseWithDefaults instantiates a new ExporterConfigResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExporterConfigResponse) GetBasicAuthCredentialsSource added in v0.2.0

func (o *ExporterConfigResponse) GetBasicAuthCredentialsSource() string

GetBasicAuthCredentialsSource returns the BasicAuthCredentialsSource field value if set, zero value otherwise.

func (*ExporterConfigResponse) GetBasicAuthCredentialsSourceOk added in v0.2.0

func (o *ExporterConfigResponse) GetBasicAuthCredentialsSourceOk() (*string, bool)

GetBasicAuthCredentialsSourceOk returns a tuple with the BasicAuthCredentialsSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterConfigResponse) GetBasicAuthUserInfo added in v0.2.0

func (o *ExporterConfigResponse) GetBasicAuthUserInfo() string

GetBasicAuthUserInfo returns the BasicAuthUserInfo field value if set, zero value otherwise.

func (*ExporterConfigResponse) GetBasicAuthUserInfoOk added in v0.2.0

func (o *ExporterConfigResponse) GetBasicAuthUserInfoOk() (*string, bool)

GetBasicAuthUserInfoOk returns a tuple with the BasicAuthUserInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterConfigResponse) GetSchemaRegistryUrl added in v0.2.0

func (o *ExporterConfigResponse) GetSchemaRegistryUrl() string

GetSchemaRegistryUrl returns the SchemaRegistryUrl field value if set, zero value otherwise.

func (*ExporterConfigResponse) GetSchemaRegistryUrlOk added in v0.2.0

func (o *ExporterConfigResponse) GetSchemaRegistryUrlOk() (*string, bool)

GetSchemaRegistryUrlOk returns a tuple with the SchemaRegistryUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterConfigResponse) HasBasicAuthCredentialsSource added in v0.2.0

func (o *ExporterConfigResponse) HasBasicAuthCredentialsSource() bool

HasBasicAuthCredentialsSource returns a boolean if a field has been set.

func (*ExporterConfigResponse) HasBasicAuthUserInfo added in v0.2.0

func (o *ExporterConfigResponse) HasBasicAuthUserInfo() bool

HasBasicAuthUserInfo returns a boolean if a field has been set.

func (*ExporterConfigResponse) HasSchemaRegistryUrl added in v0.2.0

func (o *ExporterConfigResponse) HasSchemaRegistryUrl() bool

HasSchemaRegistryUrl returns a boolean if a field has been set.

func (ExporterConfigResponse) MarshalJSON added in v0.2.0

func (o ExporterConfigResponse) MarshalJSON() ([]byte, error)

func (*ExporterConfigResponse) Redact added in v0.2.0

func (o *ExporterConfigResponse) Redact()

Redact resets all sensitive fields to their zero value.

func (*ExporterConfigResponse) SetBasicAuthCredentialsSource added in v0.2.0

func (o *ExporterConfigResponse) SetBasicAuthCredentialsSource(v string)

SetBasicAuthCredentialsSource gets a reference to the given string and assigns it to the BasicAuthCredentialsSource field.

func (*ExporterConfigResponse) SetBasicAuthUserInfo added in v0.2.0

func (o *ExporterConfigResponse) SetBasicAuthUserInfo(v string)

SetBasicAuthUserInfo gets a reference to the given string and assigns it to the BasicAuthUserInfo field.

func (*ExporterConfigResponse) SetSchemaRegistryUrl added in v0.2.0

func (o *ExporterConfigResponse) SetSchemaRegistryUrl(v string)

SetSchemaRegistryUrl gets a reference to the given string and assigns it to the SchemaRegistryUrl field.

type ExporterReference added in v0.2.0

type ExporterReference struct {
	// Name of the exporter
	Name *string `json:"name,omitempty"`
	// Context type of the exporter. One of CUSTOM, NONE or AUTO (default)
	ContextType *string `json:"contextType,omitempty"`
	// Customized context of the exporter if contextType equals CUSTOM.
	Context *string `json:"context,omitempty"`
	// Name of each exporter subject
	Subjects *[]string `json:"subjects,omitempty"`
	// Format string for the subject name in the destination cluster, which may contain ${subject} as a placeholder for the originating subject name. For example, dc_${subject} for the subject orders will map to the destination subject name dc_orders.
	SubjectRenameFormat *string `json:"subjectRenameFormat,omitempty"`
	// The map containing exporter’s configurations
	Config *map[string]string `json:"config,omitempty"`
}

ExporterReference The format for a typical exporter object

func NewExporterReference added in v0.2.0

func NewExporterReference() *ExporterReference

NewExporterReference instantiates a new ExporterReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExporterReferenceWithDefaults added in v0.2.0

func NewExporterReferenceWithDefaults() *ExporterReference

NewExporterReferenceWithDefaults instantiates a new ExporterReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExporterReference) GetConfig added in v0.2.0

func (o *ExporterReference) GetConfig() map[string]string

GetConfig returns the Config field value if set, zero value otherwise.

func (*ExporterReference) GetConfigOk added in v0.2.0

func (o *ExporterReference) GetConfigOk() (*map[string]string, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterReference) GetContext added in v0.2.0

func (o *ExporterReference) GetContext() string

GetContext returns the Context field value if set, zero value otherwise.

func (*ExporterReference) GetContextOk added in v0.2.0

func (o *ExporterReference) GetContextOk() (*string, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterReference) GetContextType added in v0.2.0

func (o *ExporterReference) GetContextType() string

GetContextType returns the ContextType field value if set, zero value otherwise.

func (*ExporterReference) GetContextTypeOk added in v0.2.0

func (o *ExporterReference) GetContextTypeOk() (*string, bool)

GetContextTypeOk returns a tuple with the ContextType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterReference) GetName added in v0.2.0

func (o *ExporterReference) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ExporterReference) GetNameOk added in v0.2.0

func (o *ExporterReference) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterReference) GetSubjectRenameFormat added in v0.2.0

func (o *ExporterReference) GetSubjectRenameFormat() string

GetSubjectRenameFormat returns the SubjectRenameFormat field value if set, zero value otherwise.

func (*ExporterReference) GetSubjectRenameFormatOk added in v0.2.0

func (o *ExporterReference) GetSubjectRenameFormatOk() (*string, bool)

GetSubjectRenameFormatOk returns a tuple with the SubjectRenameFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterReference) GetSubjects added in v0.2.0

func (o *ExporterReference) GetSubjects() []string

GetSubjects returns the Subjects field value if set, zero value otherwise.

func (*ExporterReference) GetSubjectsOk added in v0.2.0

func (o *ExporterReference) GetSubjectsOk() (*[]string, bool)

GetSubjectsOk returns a tuple with the Subjects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterReference) HasConfig added in v0.2.0

func (o *ExporterReference) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*ExporterReference) HasContext added in v0.2.0

func (o *ExporterReference) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ExporterReference) HasContextType added in v0.2.0

func (o *ExporterReference) HasContextType() bool

HasContextType returns a boolean if a field has been set.

func (*ExporterReference) HasName added in v0.2.0

func (o *ExporterReference) HasName() bool

HasName returns a boolean if a field has been set.

func (*ExporterReference) HasSubjectRenameFormat added in v0.2.0

func (o *ExporterReference) HasSubjectRenameFormat() bool

HasSubjectRenameFormat returns a boolean if a field has been set.

func (*ExporterReference) HasSubjects added in v0.2.0

func (o *ExporterReference) HasSubjects() bool

HasSubjects returns a boolean if a field has been set.

func (ExporterReference) MarshalJSON added in v0.2.0

func (o ExporterReference) MarshalJSON() ([]byte, error)

func (*ExporterReference) Redact added in v0.2.0

func (o *ExporterReference) Redact()

Redact resets all sensitive fields to their zero value.

func (*ExporterReference) SetConfig added in v0.2.0

func (o *ExporterReference) SetConfig(v map[string]string)

SetConfig gets a reference to the given map[string]string and assigns it to the Config field.

func (*ExporterReference) SetContext added in v0.2.0

func (o *ExporterReference) SetContext(v string)

SetContext gets a reference to the given string and assigns it to the Context field.

func (*ExporterReference) SetContextType added in v0.2.0

func (o *ExporterReference) SetContextType(v string)

SetContextType gets a reference to the given string and assigns it to the ContextType field.

func (*ExporterReference) SetName added in v0.2.0

func (o *ExporterReference) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ExporterReference) SetSubjectRenameFormat added in v0.2.0

func (o *ExporterReference) SetSubjectRenameFormat(v string)

SetSubjectRenameFormat gets a reference to the given string and assigns it to the SubjectRenameFormat field.

func (*ExporterReference) SetSubjects added in v0.2.0

func (o *ExporterReference) SetSubjects(v []string)

SetSubjects gets a reference to the given []string and assigns it to the Subjects field.

type ExporterResponse added in v0.2.0

type ExporterResponse struct {
	// Name of the exporter
	Name *string `json:"name,omitempty"`
}

ExporterResponse Exporter register response

func NewExporterResponse added in v0.2.0

func NewExporterResponse() *ExporterResponse

NewExporterResponse instantiates a new ExporterResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExporterResponseWithDefaults added in v0.2.0

func NewExporterResponseWithDefaults() *ExporterResponse

NewExporterResponseWithDefaults instantiates a new ExporterResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExporterResponse) GetName added in v0.2.0

func (o *ExporterResponse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ExporterResponse) GetNameOk added in v0.2.0

func (o *ExporterResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterResponse) HasName added in v0.2.0

func (o *ExporterResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (ExporterResponse) MarshalJSON added in v0.2.0

func (o ExporterResponse) MarshalJSON() ([]byte, error)

func (*ExporterResponse) Redact added in v0.2.0

func (o *ExporterResponse) Redact()

Redact resets all sensitive fields to their zero value.

func (*ExporterResponse) SetName added in v0.2.0

func (o *ExporterResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type ExporterStatusResponse added in v0.2.0

type ExporterStatusResponse struct {
	// Name of exporter.
	Name *string `json:"name,omitempty"`
	// State of the exporter. Could be STARTING, RUNNING or PAUSED
	State *string `json:"state,omitempty"`
	// Offset of the exporter
	Offset *int64 `json:"offset,omitempty"`
	// Timestamp of the exporter
	Ts *int64 `json:"ts,omitempty"`
	// Error trace of the exporter
	Trace *string `json:"trace,omitempty"`
}

ExporterStatusResponse Exporter status get request

func NewExporterStatusResponse added in v0.2.0

func NewExporterStatusResponse() *ExporterStatusResponse

NewExporterStatusResponse instantiates a new ExporterStatusResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExporterStatusResponseWithDefaults added in v0.2.0

func NewExporterStatusResponseWithDefaults() *ExporterStatusResponse

NewExporterStatusResponseWithDefaults instantiates a new ExporterStatusResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExporterStatusResponse) GetName added in v0.2.0

func (o *ExporterStatusResponse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ExporterStatusResponse) GetNameOk added in v0.2.0

func (o *ExporterStatusResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterStatusResponse) GetOffset added in v0.2.0

func (o *ExporterStatusResponse) GetOffset() int64

GetOffset returns the Offset field value if set, zero value otherwise.

func (*ExporterStatusResponse) GetOffsetOk added in v0.2.0

func (o *ExporterStatusResponse) GetOffsetOk() (*int64, bool)

GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterStatusResponse) GetState added in v0.2.0

func (o *ExporterStatusResponse) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ExporterStatusResponse) GetStateOk added in v0.2.0

func (o *ExporterStatusResponse) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterStatusResponse) GetTrace added in v0.2.0

func (o *ExporterStatusResponse) GetTrace() string

GetTrace returns the Trace field value if set, zero value otherwise.

func (*ExporterStatusResponse) GetTraceOk added in v0.2.0

func (o *ExporterStatusResponse) GetTraceOk() (*string, bool)

GetTraceOk returns a tuple with the Trace field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterStatusResponse) GetTs added in v0.2.0

func (o *ExporterStatusResponse) GetTs() int64

GetTs returns the Ts field value if set, zero value otherwise.

func (*ExporterStatusResponse) GetTsOk added in v0.2.0

func (o *ExporterStatusResponse) GetTsOk() (*int64, bool)

GetTsOk returns a tuple with the Ts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterStatusResponse) HasName added in v0.2.0

func (o *ExporterStatusResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*ExporterStatusResponse) HasOffset added in v0.2.0

func (o *ExporterStatusResponse) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*ExporterStatusResponse) HasState added in v0.2.0

func (o *ExporterStatusResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (*ExporterStatusResponse) HasTrace added in v0.2.0

func (o *ExporterStatusResponse) HasTrace() bool

HasTrace returns a boolean if a field has been set.

func (*ExporterStatusResponse) HasTs added in v0.2.0

func (o *ExporterStatusResponse) HasTs() bool

HasTs returns a boolean if a field has been set.

func (ExporterStatusResponse) MarshalJSON added in v0.2.0

func (o ExporterStatusResponse) MarshalJSON() ([]byte, error)

func (*ExporterStatusResponse) Redact added in v0.2.0

func (o *ExporterStatusResponse) Redact()

Redact resets all sensitive fields to their zero value.

func (*ExporterStatusResponse) SetName added in v0.2.0

func (o *ExporterStatusResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ExporterStatusResponse) SetOffset added in v0.2.0

func (o *ExporterStatusResponse) SetOffset(v int64)

SetOffset gets a reference to the given int64 and assigns it to the Offset field.

func (*ExporterStatusResponse) SetState added in v0.2.0

func (o *ExporterStatusResponse) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*ExporterStatusResponse) SetTrace added in v0.2.0

func (o *ExporterStatusResponse) SetTrace(v string)

SetTrace gets a reference to the given string and assigns it to the Trace field.

func (*ExporterStatusResponse) SetTs added in v0.2.0

func (o *ExporterStatusResponse) SetTs(v int64)

SetTs gets a reference to the given int64 and assigns it to the Ts field.

type ExporterUpdateRequest added in v0.2.0

type ExporterUpdateRequest struct {
	// Context type of the exporter. One of CUSTOM, NONE or AUTO (default)
	ContextType *string `json:"contextType,omitempty"`
	// Customized context of the exporter if contextType equals CUSTOM.
	Context *string `json:"context,omitempty"`
	// Name of each exporter subject
	Subjects *[]string `json:"subjects,omitempty"`
	// Format string for the subject name in the destination cluster, which may contain ${subject} as a placeholder for the originating subject name. For example, dc_${subject} for the subject orders will map to the destination subject name dc_orders.
	SubjectRenameFormat *string `json:"subjectRenameFormat,omitempty"`
	// The map containing exporter’s configurations
	Config *map[string]string `json:"config,omitempty"`
}

ExporterUpdateRequest Exporter update request

func NewExporterUpdateRequest added in v0.2.0

func NewExporterUpdateRequest() *ExporterUpdateRequest

NewExporterUpdateRequest instantiates a new ExporterUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExporterUpdateRequestWithDefaults added in v0.2.0

func NewExporterUpdateRequestWithDefaults() *ExporterUpdateRequest

NewExporterUpdateRequestWithDefaults instantiates a new ExporterUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExporterUpdateRequest) GetConfig added in v0.2.0

func (o *ExporterUpdateRequest) GetConfig() map[string]string

GetConfig returns the Config field value if set, zero value otherwise.

func (*ExporterUpdateRequest) GetConfigOk added in v0.2.0

func (o *ExporterUpdateRequest) GetConfigOk() (*map[string]string, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterUpdateRequest) GetContext added in v0.2.0

func (o *ExporterUpdateRequest) GetContext() string

GetContext returns the Context field value if set, zero value otherwise.

func (*ExporterUpdateRequest) GetContextOk added in v0.2.0

func (o *ExporterUpdateRequest) GetContextOk() (*string, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterUpdateRequest) GetContextType added in v0.2.0

func (o *ExporterUpdateRequest) GetContextType() string

GetContextType returns the ContextType field value if set, zero value otherwise.

func (*ExporterUpdateRequest) GetContextTypeOk added in v0.2.0

func (o *ExporterUpdateRequest) GetContextTypeOk() (*string, bool)

GetContextTypeOk returns a tuple with the ContextType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterUpdateRequest) GetSubjectRenameFormat added in v0.2.0

func (o *ExporterUpdateRequest) GetSubjectRenameFormat() string

GetSubjectRenameFormat returns the SubjectRenameFormat field value if set, zero value otherwise.

func (*ExporterUpdateRequest) GetSubjectRenameFormatOk added in v0.2.0

func (o *ExporterUpdateRequest) GetSubjectRenameFormatOk() (*string, bool)

GetSubjectRenameFormatOk returns a tuple with the SubjectRenameFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterUpdateRequest) GetSubjects added in v0.2.0

func (o *ExporterUpdateRequest) GetSubjects() []string

GetSubjects returns the Subjects field value if set, zero value otherwise.

func (*ExporterUpdateRequest) GetSubjectsOk added in v0.2.0

func (o *ExporterUpdateRequest) GetSubjectsOk() (*[]string, bool)

GetSubjectsOk returns a tuple with the Subjects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExporterUpdateRequest) HasConfig added in v0.2.0

func (o *ExporterUpdateRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*ExporterUpdateRequest) HasContext added in v0.2.0

func (o *ExporterUpdateRequest) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ExporterUpdateRequest) HasContextType added in v0.2.0

func (o *ExporterUpdateRequest) HasContextType() bool

HasContextType returns a boolean if a field has been set.

func (*ExporterUpdateRequest) HasSubjectRenameFormat added in v0.2.0

func (o *ExporterUpdateRequest) HasSubjectRenameFormat() bool

HasSubjectRenameFormat returns a boolean if a field has been set.

func (*ExporterUpdateRequest) HasSubjects added in v0.2.0

func (o *ExporterUpdateRequest) HasSubjects() bool

HasSubjects returns a boolean if a field has been set.

func (ExporterUpdateRequest) MarshalJSON added in v0.2.0

func (o ExporterUpdateRequest) MarshalJSON() ([]byte, error)

func (*ExporterUpdateRequest) Redact added in v0.2.0

func (o *ExporterUpdateRequest) Redact()

Redact resets all sensitive fields to their zero value.

func (*ExporterUpdateRequest) SetConfig added in v0.2.0

func (o *ExporterUpdateRequest) SetConfig(v map[string]string)

SetConfig gets a reference to the given map[string]string and assigns it to the Config field.

func (*ExporterUpdateRequest) SetContext added in v0.2.0

func (o *ExporterUpdateRequest) SetContext(v string)

SetContext gets a reference to the given string and assigns it to the Context field.

func (*ExporterUpdateRequest) SetContextType added in v0.2.0

func (o *ExporterUpdateRequest) SetContextType(v string)

SetContextType gets a reference to the given string and assigns it to the ContextType field.

func (*ExporterUpdateRequest) SetSubjectRenameFormat added in v0.2.0

func (o *ExporterUpdateRequest) SetSubjectRenameFormat(v string)

SetSubjectRenameFormat gets a reference to the given string and assigns it to the SubjectRenameFormat field.

func (*ExporterUpdateRequest) SetSubjects added in v0.2.0

func (o *ExporterUpdateRequest) SetSubjects(v []string)

SetSubjects gets a reference to the given []string and assigns it to the Subjects field.

type ExportersV1Api added in v0.2.0

type ExportersV1Api interface {

	/*
		DeleteExporter Delete schema exporter by name.

		Deletes the schema exporter.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the exporter
		 @return ApiDeleteExporterRequest
	*/
	DeleteExporter(ctx _context.Context, name string) ApiDeleteExporterRequest

	// DeleteExporterExecute executes the request
	DeleteExporterExecute(r ApiDeleteExporterRequest) (*_nethttp.Response, error)

	/*
		GetExporterConfigByName Gets schema exporter config by name.

		Retrieves the config of the schema exporter.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the exporter
		 @return ApiGetExporterConfigByNameRequest
	*/
	GetExporterConfigByName(ctx _context.Context, name string) ApiGetExporterConfigByNameRequest

	// GetExporterConfigByNameExecute executes the request
	//  @return ExporterConfigResponse
	GetExporterConfigByNameExecute(r ApiGetExporterConfigByNameRequest) (ExporterConfigResponse, *_nethttp.Response, error)

	/*
		GetExporterInfoByName Gets schema exporter by name.

		Retrieves the information of the schema exporter.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the exporter
		 @return ApiGetExporterInfoByNameRequest
	*/
	GetExporterInfoByName(ctx _context.Context, name string) ApiGetExporterInfoByNameRequest

	// GetExporterInfoByNameExecute executes the request
	//  @return ExporterReference
	GetExporterInfoByNameExecute(r ApiGetExporterInfoByNameRequest) (ExporterReference, *_nethttp.Response, error)

	/*
		GetExporterStatusByName Gets schema exporter status by name.

		Retrieves the status of the schema exporter.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the exporter
		 @return ApiGetExporterStatusByNameRequest
	*/
	GetExporterStatusByName(ctx _context.Context, name string) ApiGetExporterStatusByNameRequest

	// GetExporterStatusByNameExecute executes the request
	//  @return ExporterStatusResponse
	GetExporterStatusByNameExecute(r ApiGetExporterStatusByNameRequest) (ExporterStatusResponse, *_nethttp.Response, error)

	/*
		ListExporters Gets all schema exporters.

		Retrieves a list of schema exporters that have been created.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiListExportersRequest
	*/
	ListExporters(ctx _context.Context) ApiListExportersRequest

	// ListExportersExecute executes the request
	//  @return []string
	ListExportersExecute(r ApiListExportersRequest) ([]string, *_nethttp.Response, error)

	/*
		PauseExporterByName Pause schema exporter by name.

		Pauses the state of the schema exporter.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the exporter
		 @return ApiPauseExporterByNameRequest
	*/
	PauseExporterByName(ctx _context.Context, name string) ApiPauseExporterByNameRequest

	// PauseExporterByNameExecute executes the request
	//  @return ExporterResponse
	PauseExporterByNameExecute(r ApiPauseExporterByNameRequest) (ExporterResponse, *_nethttp.Response, error)

	/*
		RegisterExporter Creates a new schema exporter.

		Creates a new schema exporter. All attributes in request body are optional except config.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiRegisterExporterRequest
	*/
	RegisterExporter(ctx _context.Context) ApiRegisterExporterRequest

	// RegisterExporterExecute executes the request
	//  @return ExporterResponse
	RegisterExporterExecute(r ApiRegisterExporterRequest) (ExporterResponse, *_nethttp.Response, error)

	/*
		ResetExporterByName Reset schema exporter by name.

		Reset the state of the schema exporter.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the exporter
		 @return ApiResetExporterByNameRequest
	*/
	ResetExporterByName(ctx _context.Context, name string) ApiResetExporterByNameRequest

	// ResetExporterByNameExecute executes the request
	//  @return ExporterResponse
	ResetExporterByNameExecute(r ApiResetExporterByNameRequest) (ExporterResponse, *_nethttp.Response, error)

	/*
		ResumeExporterByName Resume schema exporter by name.

		Resume running of the schema exporter.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the exporter
		 @return ApiResumeExporterByNameRequest
	*/
	ResumeExporterByName(ctx _context.Context, name string) ApiResumeExporterByNameRequest

	// ResumeExporterByNameExecute executes the request
	//  @return ExporterResponse
	ResumeExporterByNameExecute(r ApiResumeExporterByNameRequest) (ExporterResponse, *_nethttp.Response, error)

	/*
		UpdateExporterConfigByName Update schema exporter config by name.

		Retrieves the config of the schema exporter.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the exporter
		 @return ApiUpdateExporterConfigByNameRequest
	*/
	UpdateExporterConfigByName(ctx _context.Context, name string) ApiUpdateExporterConfigByNameRequest

	// UpdateExporterConfigByNameExecute executes the request
	//  @return ExporterResponse
	UpdateExporterConfigByNameExecute(r ApiUpdateExporterConfigByNameRequest) (ExporterResponse, *_nethttp.Response, error)

	/*
		UpdateExporterInfo Update schema exporter by name.

		Updates the information or configurations of the schema exporter. All attributes in request body are optional.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the exporter
		 @return ApiUpdateExporterInfoRequest
	*/
	UpdateExporterInfo(ctx _context.Context, name string) ApiUpdateExporterInfoRequest

	// UpdateExporterInfoExecute executes the request
	//  @return ExporterResponse
	UpdateExporterInfoExecute(r ApiUpdateExporterInfoRequest) (ExporterResponse, *_nethttp.Response, error)
}

type ExportersV1ApiService added in v0.2.0

type ExportersV1ApiService service

ExportersV1ApiService ExportersV1Api service

func (*ExportersV1ApiService) DeleteExporter added in v0.2.0

DeleteExporter Delete schema exporter by name.

Deletes the schema exporter.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the exporter
@return ApiDeleteExporterRequest

func (*ExportersV1ApiService) DeleteExporterExecute added in v0.2.0

func (a *ExportersV1ApiService) DeleteExporterExecute(r ApiDeleteExporterRequest) (*_nethttp.Response, error)

Execute executes the request

func (*ExportersV1ApiService) GetExporterConfigByName added in v0.2.0

func (a *ExportersV1ApiService) GetExporterConfigByName(ctx _context.Context, name string) ApiGetExporterConfigByNameRequest

GetExporterConfigByName Gets schema exporter config by name.

Retrieves the config of the schema exporter.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the exporter
@return ApiGetExporterConfigByNameRequest

func (*ExportersV1ApiService) GetExporterConfigByNameExecute added in v0.2.0

Execute executes the request

@return ExporterConfigResponse

func (*ExportersV1ApiService) GetExporterInfoByName added in v0.2.0

func (a *ExportersV1ApiService) GetExporterInfoByName(ctx _context.Context, name string) ApiGetExporterInfoByNameRequest

GetExporterInfoByName Gets schema exporter by name.

Retrieves the information of the schema exporter.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the exporter
@return ApiGetExporterInfoByNameRequest

func (*ExportersV1ApiService) GetExporterInfoByNameExecute added in v0.2.0

Execute executes the request

@return ExporterReference

func (*ExportersV1ApiService) GetExporterStatusByName added in v0.2.0

func (a *ExportersV1ApiService) GetExporterStatusByName(ctx _context.Context, name string) ApiGetExporterStatusByNameRequest

GetExporterStatusByName Gets schema exporter status by name.

Retrieves the status of the schema exporter.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the exporter
@return ApiGetExporterStatusByNameRequest

func (*ExportersV1ApiService) GetExporterStatusByNameExecute added in v0.2.0

Execute executes the request

@return ExporterStatusResponse

func (*ExportersV1ApiService) ListExporters added in v0.2.0

ListExporters Gets all schema exporters.

Retrieves a list of schema exporters that have been created.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListExportersRequest

func (*ExportersV1ApiService) ListExportersExecute added in v0.2.0

func (a *ExportersV1ApiService) ListExportersExecute(r ApiListExportersRequest) ([]string, *_nethttp.Response, error)

Execute executes the request

@return []string

func (*ExportersV1ApiService) PauseExporterByName added in v0.2.0

PauseExporterByName Pause schema exporter by name.

Pauses the state of the schema exporter.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the exporter
@return ApiPauseExporterByNameRequest

func (*ExportersV1ApiService) PauseExporterByNameExecute added in v0.2.0

Execute executes the request

@return ExporterResponse

func (*ExportersV1ApiService) RegisterExporter added in v0.2.0

RegisterExporter Creates a new schema exporter.

Creates a new schema exporter. All attributes in request body are optional except config.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRegisterExporterRequest

func (*ExportersV1ApiService) RegisterExporterExecute added in v0.2.0

Execute executes the request

@return ExporterResponse

func (*ExportersV1ApiService) ResetExporterByName added in v0.2.0

ResetExporterByName Reset schema exporter by name.

Reset the state of the schema exporter.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the exporter
@return ApiResetExporterByNameRequest

func (*ExportersV1ApiService) ResetExporterByNameExecute added in v0.2.0

Execute executes the request

@return ExporterResponse

func (*ExportersV1ApiService) ResumeExporterByName added in v0.2.0

func (a *ExportersV1ApiService) ResumeExporterByName(ctx _context.Context, name string) ApiResumeExporterByNameRequest

ResumeExporterByName Resume schema exporter by name.

Resume running of the schema exporter.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the exporter
@return ApiResumeExporterByNameRequest

func (*ExportersV1ApiService) ResumeExporterByNameExecute added in v0.2.0

Execute executes the request

@return ExporterResponse

func (*ExportersV1ApiService) UpdateExporterConfigByName added in v0.2.0

func (a *ExportersV1ApiService) UpdateExporterConfigByName(ctx _context.Context, name string) ApiUpdateExporterConfigByNameRequest

UpdateExporterConfigByName Update schema exporter config by name.

Retrieves the config of the schema exporter.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the exporter
@return ApiUpdateExporterConfigByNameRequest

func (*ExportersV1ApiService) UpdateExporterConfigByNameExecute added in v0.2.0

Execute executes the request

@return ExporterResponse

func (*ExportersV1ApiService) UpdateExporterInfo added in v0.2.0

UpdateExporterInfo Update schema exporter by name.

Updates the information or configurations of the schema exporter. All attributes in request body are optional.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the exporter
@return ApiUpdateExporterInfoRequest

func (*ExportersV1ApiService) UpdateExporterInfoExecute added in v0.2.0

Execute executes the request

@return ExporterResponse

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Kek added in v0.4.0

type Kek struct {
	Name     *string            `json:"name,omitempty"`
	KmsType  *string            `json:"kmsType,omitempty"`
	KmsKeyId *string            `json:"kmsKeyId,omitempty"`
	KmsProps *map[string]string `json:"kmsProps,omitempty"`
	Doc      *string            `json:"doc,omitempty"`
	Shared   *bool              `json:"shared,omitempty"`
	Ts       *int64             `json:"ts,omitempty"`
	Deleted  *bool              `json:"deleted,omitempty"`
}

Kek struct for Kek

func NewKek added in v0.4.0

func NewKek() *Kek

NewKek instantiates a new Kek object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKekWithDefaults added in v0.4.0

func NewKekWithDefaults() *Kek

NewKekWithDefaults instantiates a new Kek object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Kek) GetDeleted added in v0.4.0

func (o *Kek) GetDeleted() bool

GetDeleted returns the Deleted field value if set, zero value otherwise.

func (*Kek) GetDeletedOk added in v0.4.0

func (o *Kek) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Kek) GetDoc added in v0.4.0

func (o *Kek) GetDoc() string

GetDoc returns the Doc field value if set, zero value otherwise.

func (*Kek) GetDocOk added in v0.4.0

func (o *Kek) GetDocOk() (*string, bool)

GetDocOk returns a tuple with the Doc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Kek) GetKmsKeyId added in v0.4.0

func (o *Kek) GetKmsKeyId() string

GetKmsKeyId returns the KmsKeyId field value if set, zero value otherwise.

func (*Kek) GetKmsKeyIdOk added in v0.4.0

func (o *Kek) GetKmsKeyIdOk() (*string, bool)

GetKmsKeyIdOk returns a tuple with the KmsKeyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Kek) GetKmsProps added in v0.4.0

func (o *Kek) GetKmsProps() map[string]string

GetKmsProps returns the KmsProps field value if set, zero value otherwise.

func (*Kek) GetKmsPropsOk added in v0.4.0

func (o *Kek) GetKmsPropsOk() (*map[string]string, bool)

GetKmsPropsOk returns a tuple with the KmsProps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Kek) GetKmsType added in v0.4.0

func (o *Kek) GetKmsType() string

GetKmsType returns the KmsType field value if set, zero value otherwise.

func (*Kek) GetKmsTypeOk added in v0.4.0

func (o *Kek) GetKmsTypeOk() (*string, bool)

GetKmsTypeOk returns a tuple with the KmsType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Kek) GetName added in v0.4.0

func (o *Kek) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Kek) GetNameOk added in v0.4.0

func (o *Kek) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Kek) GetShared added in v0.4.0

func (o *Kek) GetShared() bool

GetShared returns the Shared field value if set, zero value otherwise.

func (*Kek) GetSharedOk added in v0.4.0

func (o *Kek) GetSharedOk() (*bool, bool)

GetSharedOk returns a tuple with the Shared field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Kek) GetTs added in v0.4.0

func (o *Kek) GetTs() int64

GetTs returns the Ts field value if set, zero value otherwise.

func (*Kek) GetTsOk added in v0.4.0

func (o *Kek) GetTsOk() (*int64, bool)

GetTsOk returns a tuple with the Ts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Kek) HasDeleted added in v0.4.0

func (o *Kek) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*Kek) HasDoc added in v0.4.0

func (o *Kek) HasDoc() bool

HasDoc returns a boolean if a field has been set.

func (*Kek) HasKmsKeyId added in v0.4.0

func (o *Kek) HasKmsKeyId() bool

HasKmsKeyId returns a boolean if a field has been set.

func (*Kek) HasKmsProps added in v0.4.0

func (o *Kek) HasKmsProps() bool

HasKmsProps returns a boolean if a field has been set.

func (*Kek) HasKmsType added in v0.4.0

func (o *Kek) HasKmsType() bool

HasKmsType returns a boolean if a field has been set.

func (*Kek) HasName added in v0.4.0

func (o *Kek) HasName() bool

HasName returns a boolean if a field has been set.

func (*Kek) HasShared added in v0.4.0

func (o *Kek) HasShared() bool

HasShared returns a boolean if a field has been set.

func (*Kek) HasTs added in v0.4.0

func (o *Kek) HasTs() bool

HasTs returns a boolean if a field has been set.

func (Kek) MarshalJSON added in v0.4.0

func (o Kek) MarshalJSON() ([]byte, error)

func (*Kek) Redact added in v0.4.0

func (o *Kek) Redact()

Redact resets all sensitive fields to their zero value.

func (*Kek) SetDeleted added in v0.4.0

func (o *Kek) SetDeleted(v bool)

SetDeleted gets a reference to the given bool and assigns it to the Deleted field.

func (*Kek) SetDoc added in v0.4.0

func (o *Kek) SetDoc(v string)

SetDoc gets a reference to the given string and assigns it to the Doc field.

func (*Kek) SetKmsKeyId added in v0.4.0

func (o *Kek) SetKmsKeyId(v string)

SetKmsKeyId gets a reference to the given string and assigns it to the KmsKeyId field.

func (*Kek) SetKmsProps added in v0.4.0

func (o *Kek) SetKmsProps(v map[string]string)

SetKmsProps gets a reference to the given map[string]string and assigns it to the KmsProps field.

func (*Kek) SetKmsType added in v0.4.0

func (o *Kek) SetKmsType(v string)

SetKmsType gets a reference to the given string and assigns it to the KmsType field.

func (*Kek) SetName added in v0.4.0

func (o *Kek) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Kek) SetShared added in v0.4.0

func (o *Kek) SetShared(v bool)

SetShared gets a reference to the given bool and assigns it to the Shared field.

func (*Kek) SetTs added in v0.4.0

func (o *Kek) SetTs(v int64)

SetTs gets a reference to the given int64 and assigns it to the Ts field.

type KeyEncryptionKeysV1Api added in v0.4.0

type KeyEncryptionKeysV1Api interface {

	/*
		CreateKek Create a kek.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiCreateKekRequest
	*/
	CreateKek(ctx _context.Context) ApiCreateKekRequest

	// CreateKekExecute executes the request
	//  @return Kek
	CreateKekExecute(r ApiCreateKekRequest) (Kek, *_nethttp.Response, error)

	/*
		DeleteKek Delete a kek.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @return ApiDeleteKekRequest
	*/
	DeleteKek(ctx _context.Context, name string) ApiDeleteKekRequest

	// DeleteKekExecute executes the request
	DeleteKekExecute(r ApiDeleteKekRequest) (*_nethttp.Response, error)

	/*
		GetKek Get a kek by name.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @return ApiGetKekRequest
	*/
	GetKek(ctx _context.Context, name string) ApiGetKekRequest

	// GetKekExecute executes the request
	//  @return Kek
	GetKekExecute(r ApiGetKekRequest) (Kek, *_nethttp.Response, error)

	/*
		GetKekNames Get a list of kek names.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetKekNamesRequest
	*/
	GetKekNames(ctx _context.Context) ApiGetKekNamesRequest

	// GetKekNamesExecute executes the request
	//  @return []string
	GetKekNamesExecute(r ApiGetKekNamesRequest) ([]string, *_nethttp.Response, error)

	/*
		PutKek Alters a kek.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @return ApiPutKekRequest
	*/
	PutKek(ctx _context.Context, name string) ApiPutKekRequest

	// PutKekExecute executes the request
	//  @return Kek
	PutKekExecute(r ApiPutKekRequest) (Kek, *_nethttp.Response, error)

	/*
		UndeleteKek Undelete a kek.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param name Name of the kek
		 @return ApiUndeleteKekRequest
	*/
	UndeleteKek(ctx _context.Context, name string) ApiUndeleteKekRequest

	// UndeleteKekExecute executes the request
	UndeleteKekExecute(r ApiUndeleteKekRequest) (*_nethttp.Response, error)
}

type KeyEncryptionKeysV1ApiService added in v0.4.0

type KeyEncryptionKeysV1ApiService service

KeyEncryptionKeysV1ApiService KeyEncryptionKeysV1Api service

func (*KeyEncryptionKeysV1ApiService) CreateKek added in v0.4.0

CreateKek Create a kek.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateKekRequest

func (*KeyEncryptionKeysV1ApiService) CreateKekExecute added in v0.4.0

Execute executes the request

@return Kek

func (*KeyEncryptionKeysV1ApiService) DeleteKek added in v0.4.0

DeleteKek Delete a kek.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@return ApiDeleteKekRequest

func (*KeyEncryptionKeysV1ApiService) DeleteKekExecute added in v0.4.0

Execute executes the request

func (*KeyEncryptionKeysV1ApiService) GetKek added in v0.4.0

GetKek Get a kek by name.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@return ApiGetKekRequest

func (*KeyEncryptionKeysV1ApiService) GetKekExecute added in v0.4.0

Execute executes the request

@return Kek

func (*KeyEncryptionKeysV1ApiService) GetKekNames added in v0.4.0

GetKekNames Get a list of kek names.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetKekNamesRequest

func (*KeyEncryptionKeysV1ApiService) GetKekNamesExecute added in v0.4.0

Execute executes the request

@return []string

func (*KeyEncryptionKeysV1ApiService) PutKek added in v0.4.0

PutKek Alters a kek.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@return ApiPutKekRequest

func (*KeyEncryptionKeysV1ApiService) PutKekExecute added in v0.4.0

Execute executes the request

@return Kek

func (*KeyEncryptionKeysV1ApiService) UndeleteKek added in v0.4.0

UndeleteKek Undelete a kek.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name Name of the kek
@return ApiUndeleteKekRequest

func (*KeyEncryptionKeysV1ApiService) UndeleteKekExecute added in v0.4.0

Execute executes the request

type Metadata added in v0.4.0

type Metadata struct {
	Tags       *map[string][]string `json:"tags,omitempty"`
	Properties *map[string]string   `json:"properties,omitempty"`
	Sensitive  *[]string            `json:"sensitive,omitempty"`
}

Metadata User-defined metadata

func NewMetadata added in v0.4.0

func NewMetadata() *Metadata

NewMetadata instantiates a new Metadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataWithDefaults added in v0.4.0

func NewMetadataWithDefaults() *Metadata

NewMetadataWithDefaults instantiates a new Metadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Metadata) GetProperties added in v0.4.0

func (o *Metadata) GetProperties() map[string]string

GetProperties returns the Properties field value if set, zero value otherwise.

func (*Metadata) GetPropertiesOk added in v0.4.0

func (o *Metadata) GetPropertiesOk() (*map[string]string, bool)

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetSensitive added in v0.4.0

func (o *Metadata) GetSensitive() []string

GetSensitive returns the Sensitive field value if set, zero value otherwise.

func (*Metadata) GetSensitiveOk added in v0.4.0

func (o *Metadata) GetSensitiveOk() (*[]string, bool)

GetSensitiveOk returns a tuple with the Sensitive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetTags added in v0.4.0

func (o *Metadata) GetTags() map[string][]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Metadata) GetTagsOk added in v0.4.0

func (o *Metadata) GetTagsOk() (*map[string][]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) HasProperties added in v0.4.0

func (o *Metadata) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*Metadata) HasSensitive added in v0.4.0

func (o *Metadata) HasSensitive() bool

HasSensitive returns a boolean if a field has been set.

func (*Metadata) HasTags added in v0.4.0

func (o *Metadata) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Metadata) MarshalJSON added in v0.4.0

func (o Metadata) MarshalJSON() ([]byte, error)

func (*Metadata) Redact added in v0.4.0

func (o *Metadata) Redact()

Redact resets all sensitive fields to their zero value.

func (*Metadata) SetProperties added in v0.4.0

func (o *Metadata) SetProperties(v map[string]string)

SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.

func (*Metadata) SetSensitive added in v0.4.0

func (o *Metadata) SetSensitive(v []string)

SetSensitive gets a reference to the given []string and assigns it to the Sensitive field.

func (*Metadata) SetTags added in v0.4.0

func (o *Metadata) SetTags(v map[string][]string)

SetTags gets a reference to the given map[string][]string and assigns it to the Tags field.

type Mode

type Mode struct {
	// Schema Registry operating mode
	Mode *string `json:"mode,omitempty"`
}

Mode Schema Registry operating mode

func NewMode

func NewMode() *Mode

NewMode instantiates a new Mode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewModeWithDefaults

func NewModeWithDefaults() *Mode

NewModeWithDefaults instantiates a new Mode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Mode) GetMode

func (o *Mode) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*Mode) GetModeOk

func (o *Mode) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Mode) HasMode

func (o *Mode) HasMode() bool

HasMode returns a boolean if a field has been set.

func (Mode) MarshalJSON

func (o Mode) MarshalJSON() ([]byte, error)

func (*Mode) Redact

func (o *Mode) Redact()

Redact resets all sensitive fields to their zero value.

func (*Mode) SetMode

func (o *Mode) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

type ModeUpdateRequest

type ModeUpdateRequest struct {
	// Schema Registry operating mode
	Mode *string `json:"mode,omitempty"`
}

ModeUpdateRequest Mode update request

func NewModeUpdateRequest

func NewModeUpdateRequest() *ModeUpdateRequest

NewModeUpdateRequest instantiates a new ModeUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewModeUpdateRequestWithDefaults

func NewModeUpdateRequestWithDefaults() *ModeUpdateRequest

NewModeUpdateRequestWithDefaults instantiates a new ModeUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ModeUpdateRequest) GetMode

func (o *ModeUpdateRequest) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*ModeUpdateRequest) GetModeOk

func (o *ModeUpdateRequest) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ModeUpdateRequest) HasMode

func (o *ModeUpdateRequest) HasMode() bool

HasMode returns a boolean if a field has been set.

func (ModeUpdateRequest) MarshalJSON

func (o ModeUpdateRequest) MarshalJSON() ([]byte, error)

func (*ModeUpdateRequest) Redact

func (o *ModeUpdateRequest) Redact()

Redact resets all sensitive fields to their zero value.

func (*ModeUpdateRequest) SetMode

func (o *ModeUpdateRequest) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

type ModesV1Api

type ModesV1Api interface {

	/*
		DeleteSubjectMode Delete subject mode

		Deletes the specified subject-level mode and reverts to the global default.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @return ApiDeleteSubjectModeRequest
	*/
	DeleteSubjectMode(ctx _context.Context, subject string) ApiDeleteSubjectModeRequest

	// DeleteSubjectModeExecute executes the request
	//  @return Mode
	DeleteSubjectModeExecute(r ApiDeleteSubjectModeRequest) (Mode, *_nethttp.Response, error)

	/*
		GetMode Get subject mode

		Retrieves the subject mode.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @return ApiGetModeRequest
	*/
	GetMode(ctx _context.Context, subject string) ApiGetModeRequest

	// GetModeExecute executes the request
	//  @return Mode
	GetModeExecute(r ApiGetModeRequest) (Mode, *_nethttp.Response, error)

	/*
		GetTopLevelMode Get global mode

		Retrieves global mode.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetTopLevelModeRequest
	*/
	GetTopLevelMode(ctx _context.Context) ApiGetTopLevelModeRequest

	// GetTopLevelModeExecute executes the request
	//  @return Mode
	GetTopLevelModeExecute(r ApiGetTopLevelModeRequest) (Mode, *_nethttp.Response, error)

	/*
		UpdateMode Update subject mode

		Update mode for the specified subject. On success, echoes the original request back to the client.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @return ApiUpdateModeRequest
	*/
	UpdateMode(ctx _context.Context, subject string) ApiUpdateModeRequest

	// UpdateModeExecute executes the request
	//  @return ModeUpdateRequest
	UpdateModeExecute(r ApiUpdateModeRequest) (ModeUpdateRequest, *_nethttp.Response, error)

	/*
		UpdateTopLevelMode Update global mode

		Update global mode. On success, echoes the original request back to the client.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiUpdateTopLevelModeRequest
	*/
	UpdateTopLevelMode(ctx _context.Context) ApiUpdateTopLevelModeRequest

	// UpdateTopLevelModeExecute executes the request
	//  @return ModeUpdateRequest
	UpdateTopLevelModeExecute(r ApiUpdateTopLevelModeRequest) (ModeUpdateRequest, *_nethttp.Response, error)
}

type ModesV1ApiService

type ModesV1ApiService service

ModesV1ApiService ModesV1Api service

func (*ModesV1ApiService) DeleteSubjectMode

func (a *ModesV1ApiService) DeleteSubjectMode(ctx _context.Context, subject string) ApiDeleteSubjectModeRequest

DeleteSubjectMode Delete subject mode

Deletes the specified subject-level mode and reverts to the global default.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@return ApiDeleteSubjectModeRequest

func (*ModesV1ApiService) DeleteSubjectModeExecute

func (a *ModesV1ApiService) DeleteSubjectModeExecute(r ApiDeleteSubjectModeRequest) (Mode, *_nethttp.Response, error)

Execute executes the request

@return Mode

func (*ModesV1ApiService) GetMode

func (a *ModesV1ApiService) GetMode(ctx _context.Context, subject string) ApiGetModeRequest

GetMode Get subject mode

Retrieves the subject mode.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@return ApiGetModeRequest

func (*ModesV1ApiService) GetModeExecute

func (a *ModesV1ApiService) GetModeExecute(r ApiGetModeRequest) (Mode, *_nethttp.Response, error)

Execute executes the request

@return Mode

func (*ModesV1ApiService) GetTopLevelMode

GetTopLevelMode Get global mode

Retrieves global mode.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTopLevelModeRequest

func (*ModesV1ApiService) GetTopLevelModeExecute

func (a *ModesV1ApiService) GetTopLevelModeExecute(r ApiGetTopLevelModeRequest) (Mode, *_nethttp.Response, error)

Execute executes the request

@return Mode

func (*ModesV1ApiService) UpdateMode

func (a *ModesV1ApiService) UpdateMode(ctx _context.Context, subject string) ApiUpdateModeRequest

UpdateMode Update subject mode

Update mode for the specified subject. On success, echoes the original request back to the client.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@return ApiUpdateModeRequest

func (*ModesV1ApiService) UpdateModeExecute

Execute executes the request

@return ModeUpdateRequest

func (*ModesV1ApiService) UpdateTopLevelMode

UpdateTopLevelMode Update global mode

Update global mode. On success, echoes the original request back to the client.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateTopLevelModeRequest

func (*ModesV1ApiService) UpdateTopLevelModeExecute

Execute executes the request

@return ModeUpdateRequest

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableClusterConfig

type NullableClusterConfig struct {
	// contains filtered or unexported fields
}

func NewNullableClusterConfig

func NewNullableClusterConfig(val *ClusterConfig) *NullableClusterConfig

func (NullableClusterConfig) Get

func (NullableClusterConfig) IsSet

func (v NullableClusterConfig) IsSet() bool

func (NullableClusterConfig) MarshalJSON

func (v NullableClusterConfig) MarshalJSON() ([]byte, error)

func (*NullableClusterConfig) Set

func (v *NullableClusterConfig) Set(val *ClusterConfig)

func (*NullableClusterConfig) UnmarshalJSON

func (v *NullableClusterConfig) UnmarshalJSON(src []byte) error

func (*NullableClusterConfig) Unset

func (v *NullableClusterConfig) Unset()

type NullableCompatibilityCheckResponse

type NullableCompatibilityCheckResponse struct {
	// contains filtered or unexported fields
}

func (NullableCompatibilityCheckResponse) Get

func (NullableCompatibilityCheckResponse) IsSet

func (NullableCompatibilityCheckResponse) MarshalJSON

func (v NullableCompatibilityCheckResponse) MarshalJSON() ([]byte, error)

func (*NullableCompatibilityCheckResponse) Set

func (*NullableCompatibilityCheckResponse) UnmarshalJSON

func (v *NullableCompatibilityCheckResponse) UnmarshalJSON(src []byte) error

func (*NullableCompatibilityCheckResponse) Unset

type NullableConfig

type NullableConfig struct {
	// contains filtered or unexported fields
}

func NewNullableConfig

func NewNullableConfig(val *Config) *NullableConfig

func (NullableConfig) Get

func (v NullableConfig) Get() *Config

func (NullableConfig) IsSet

func (v NullableConfig) IsSet() bool

func (NullableConfig) MarshalJSON

func (v NullableConfig) MarshalJSON() ([]byte, error)

func (*NullableConfig) Set

func (v *NullableConfig) Set(val *Config)

func (*NullableConfig) UnmarshalJSON

func (v *NullableConfig) UnmarshalJSON(src []byte) error

func (*NullableConfig) Unset

func (v *NullableConfig) Unset()

type NullableConfigDefaultMetadata added in v0.4.0

type NullableConfigDefaultMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableConfigDefaultMetadata added in v0.4.0

func NewNullableConfigDefaultMetadata(val *ConfigDefaultMetadata) *NullableConfigDefaultMetadata

func (NullableConfigDefaultMetadata) Get added in v0.4.0

func (NullableConfigDefaultMetadata) IsSet added in v0.4.0

func (NullableConfigDefaultMetadata) MarshalJSON added in v0.4.0

func (v NullableConfigDefaultMetadata) MarshalJSON() ([]byte, error)

func (*NullableConfigDefaultMetadata) Set added in v0.4.0

func (*NullableConfigDefaultMetadata) UnmarshalJSON added in v0.4.0

func (v *NullableConfigDefaultMetadata) UnmarshalJSON(src []byte) error

func (*NullableConfigDefaultMetadata) Unset added in v0.4.0

func (v *NullableConfigDefaultMetadata) Unset()

type NullableConfigDefaultRuleSet added in v0.4.0

type NullableConfigDefaultRuleSet struct {
	// contains filtered or unexported fields
}

func NewNullableConfigDefaultRuleSet added in v0.4.0

func NewNullableConfigDefaultRuleSet(val *ConfigDefaultRuleSet) *NullableConfigDefaultRuleSet

func (NullableConfigDefaultRuleSet) Get added in v0.4.0

func (NullableConfigDefaultRuleSet) IsSet added in v0.4.0

func (NullableConfigDefaultRuleSet) MarshalJSON added in v0.4.0

func (v NullableConfigDefaultRuleSet) MarshalJSON() ([]byte, error)

func (*NullableConfigDefaultRuleSet) Set added in v0.4.0

func (*NullableConfigDefaultRuleSet) UnmarshalJSON added in v0.4.0

func (v *NullableConfigDefaultRuleSet) UnmarshalJSON(src []byte) error

func (*NullableConfigDefaultRuleSet) Unset added in v0.4.0

func (v *NullableConfigDefaultRuleSet) Unset()

type NullableConfigOverrideMetadata added in v0.4.0

type NullableConfigOverrideMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableConfigOverrideMetadata added in v0.4.0

func NewNullableConfigOverrideMetadata(val *ConfigOverrideMetadata) *NullableConfigOverrideMetadata

func (NullableConfigOverrideMetadata) Get added in v0.4.0

func (NullableConfigOverrideMetadata) IsSet added in v0.4.0

func (NullableConfigOverrideMetadata) MarshalJSON added in v0.4.0

func (v NullableConfigOverrideMetadata) MarshalJSON() ([]byte, error)

func (*NullableConfigOverrideMetadata) Set added in v0.4.0

func (*NullableConfigOverrideMetadata) UnmarshalJSON added in v0.4.0

func (v *NullableConfigOverrideMetadata) UnmarshalJSON(src []byte) error

func (*NullableConfigOverrideMetadata) Unset added in v0.4.0

func (v *NullableConfigOverrideMetadata) Unset()

type NullableConfigOverrideRuleSet added in v0.4.0

type NullableConfigOverrideRuleSet struct {
	// contains filtered or unexported fields
}

func NewNullableConfigOverrideRuleSet added in v0.4.0

func NewNullableConfigOverrideRuleSet(val *ConfigOverrideRuleSet) *NullableConfigOverrideRuleSet

func (NullableConfigOverrideRuleSet) Get added in v0.4.0

func (NullableConfigOverrideRuleSet) IsSet added in v0.4.0

func (NullableConfigOverrideRuleSet) MarshalJSON added in v0.4.0

func (v NullableConfigOverrideRuleSet) MarshalJSON() ([]byte, error)

func (*NullableConfigOverrideRuleSet) Set added in v0.4.0

func (*NullableConfigOverrideRuleSet) UnmarshalJSON added in v0.4.0

func (v *NullableConfigOverrideRuleSet) UnmarshalJSON(src []byte) error

func (*NullableConfigOverrideRuleSet) Unset added in v0.4.0

func (v *NullableConfigOverrideRuleSet) Unset()

type NullableConfigUpdateRequest

type NullableConfigUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableConfigUpdateRequest

func NewNullableConfigUpdateRequest(val *ConfigUpdateRequest) *NullableConfigUpdateRequest

func (NullableConfigUpdateRequest) Get

func (NullableConfigUpdateRequest) IsSet

func (NullableConfigUpdateRequest) MarshalJSON

func (v NullableConfigUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableConfigUpdateRequest) Set

func (*NullableConfigUpdateRequest) UnmarshalJSON

func (v *NullableConfigUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableConfigUpdateRequest) Unset

func (v *NullableConfigUpdateRequest) Unset()

type NullableCreateDekRequest added in v0.4.0

type NullableCreateDekRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateDekRequest added in v0.4.0

func NewNullableCreateDekRequest(val *CreateDekRequest) *NullableCreateDekRequest

func (NullableCreateDekRequest) Get added in v0.4.0

func (NullableCreateDekRequest) IsSet added in v0.4.0

func (v NullableCreateDekRequest) IsSet() bool

func (NullableCreateDekRequest) MarshalJSON added in v0.4.0

func (v NullableCreateDekRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateDekRequest) Set added in v0.4.0

func (*NullableCreateDekRequest) UnmarshalJSON added in v0.4.0

func (v *NullableCreateDekRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateDekRequest) Unset added in v0.4.0

func (v *NullableCreateDekRequest) Unset()

type NullableCreateKekRequest added in v0.4.0

type NullableCreateKekRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateKekRequest added in v0.4.0

func NewNullableCreateKekRequest(val *CreateKekRequest) *NullableCreateKekRequest

func (NullableCreateKekRequest) Get added in v0.4.0

func (NullableCreateKekRequest) IsSet added in v0.4.0

func (v NullableCreateKekRequest) IsSet() bool

func (NullableCreateKekRequest) MarshalJSON added in v0.4.0

func (v NullableCreateKekRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateKekRequest) Set added in v0.4.0

func (*NullableCreateKekRequest) UnmarshalJSON added in v0.4.0

func (v *NullableCreateKekRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateKekRequest) Unset added in v0.4.0

func (v *NullableCreateKekRequest) Unset()

type NullableDek added in v0.4.0

type NullableDek struct {
	// contains filtered or unexported fields
}

func NewNullableDek added in v0.4.0

func NewNullableDek(val *Dek) *NullableDek

func (NullableDek) Get added in v0.4.0

func (v NullableDek) Get() *Dek

func (NullableDek) IsSet added in v0.4.0

func (v NullableDek) IsSet() bool

func (NullableDek) MarshalJSON added in v0.4.0

func (v NullableDek) MarshalJSON() ([]byte, error)

func (*NullableDek) Set added in v0.4.0

func (v *NullableDek) Set(val *Dek)

func (*NullableDek) UnmarshalJSON added in v0.4.0

func (v *NullableDek) UnmarshalJSON(src []byte) error

func (*NullableDek) Unset added in v0.4.0

func (v *NullableDek) Unset()

type NullableErrorMessage

type NullableErrorMessage struct {
	// contains filtered or unexported fields
}

func NewNullableErrorMessage

func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage

func (NullableErrorMessage) Get

func (NullableErrorMessage) IsSet

func (v NullableErrorMessage) IsSet() bool

func (NullableErrorMessage) MarshalJSON

func (v NullableErrorMessage) MarshalJSON() ([]byte, error)

func (*NullableErrorMessage) Set

func (v *NullableErrorMessage) Set(val *ErrorMessage)

func (*NullableErrorMessage) UnmarshalJSON

func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error

func (*NullableErrorMessage) Unset

func (v *NullableErrorMessage) Unset()

type NullableExporterConfigResponse added in v0.2.0

type NullableExporterConfigResponse struct {
	// contains filtered or unexported fields
}

func NewNullableExporterConfigResponse added in v0.2.0

func NewNullableExporterConfigResponse(val *ExporterConfigResponse) *NullableExporterConfigResponse

func (NullableExporterConfigResponse) Get added in v0.2.0

func (NullableExporterConfigResponse) IsSet added in v0.2.0

func (NullableExporterConfigResponse) MarshalJSON added in v0.2.0

func (v NullableExporterConfigResponse) MarshalJSON() ([]byte, error)

func (*NullableExporterConfigResponse) Set added in v0.2.0

func (*NullableExporterConfigResponse) UnmarshalJSON added in v0.2.0

func (v *NullableExporterConfigResponse) UnmarshalJSON(src []byte) error

func (*NullableExporterConfigResponse) Unset added in v0.2.0

func (v *NullableExporterConfigResponse) Unset()

type NullableExporterReference added in v0.2.0

type NullableExporterReference struct {
	// contains filtered or unexported fields
}

func NewNullableExporterReference added in v0.2.0

func NewNullableExporterReference(val *ExporterReference) *NullableExporterReference

func (NullableExporterReference) Get added in v0.2.0

func (NullableExporterReference) IsSet added in v0.2.0

func (v NullableExporterReference) IsSet() bool

func (NullableExporterReference) MarshalJSON added in v0.2.0

func (v NullableExporterReference) MarshalJSON() ([]byte, error)

func (*NullableExporterReference) Set added in v0.2.0

func (*NullableExporterReference) UnmarshalJSON added in v0.2.0

func (v *NullableExporterReference) UnmarshalJSON(src []byte) error

func (*NullableExporterReference) Unset added in v0.2.0

func (v *NullableExporterReference) Unset()

type NullableExporterResponse added in v0.2.0

type NullableExporterResponse struct {
	// contains filtered or unexported fields
}

func NewNullableExporterResponse added in v0.2.0

func NewNullableExporterResponse(val *ExporterResponse) *NullableExporterResponse

func (NullableExporterResponse) Get added in v0.2.0

func (NullableExporterResponse) IsSet added in v0.2.0

func (v NullableExporterResponse) IsSet() bool

func (NullableExporterResponse) MarshalJSON added in v0.2.0

func (v NullableExporterResponse) MarshalJSON() ([]byte, error)

func (*NullableExporterResponse) Set added in v0.2.0

func (*NullableExporterResponse) UnmarshalJSON added in v0.2.0

func (v *NullableExporterResponse) UnmarshalJSON(src []byte) error

func (*NullableExporterResponse) Unset added in v0.2.0

func (v *NullableExporterResponse) Unset()

type NullableExporterStatusResponse added in v0.2.0

type NullableExporterStatusResponse struct {
	// contains filtered or unexported fields
}

func NewNullableExporterStatusResponse added in v0.2.0

func NewNullableExporterStatusResponse(val *ExporterStatusResponse) *NullableExporterStatusResponse

func (NullableExporterStatusResponse) Get added in v0.2.0

func (NullableExporterStatusResponse) IsSet added in v0.2.0

func (NullableExporterStatusResponse) MarshalJSON added in v0.2.0

func (v NullableExporterStatusResponse) MarshalJSON() ([]byte, error)

func (*NullableExporterStatusResponse) Set added in v0.2.0

func (*NullableExporterStatusResponse) UnmarshalJSON added in v0.2.0

func (v *NullableExporterStatusResponse) UnmarshalJSON(src []byte) error

func (*NullableExporterStatusResponse) Unset added in v0.2.0

func (v *NullableExporterStatusResponse) Unset()

type NullableExporterUpdateRequest added in v0.2.0

type NullableExporterUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableExporterUpdateRequest added in v0.2.0

func NewNullableExporterUpdateRequest(val *ExporterUpdateRequest) *NullableExporterUpdateRequest

func (NullableExporterUpdateRequest) Get added in v0.2.0

func (NullableExporterUpdateRequest) IsSet added in v0.2.0

func (NullableExporterUpdateRequest) MarshalJSON added in v0.2.0

func (v NullableExporterUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableExporterUpdateRequest) Set added in v0.2.0

func (*NullableExporterUpdateRequest) UnmarshalJSON added in v0.2.0

func (v *NullableExporterUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableExporterUpdateRequest) Unset added in v0.2.0

func (v *NullableExporterUpdateRequest) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableKek added in v0.4.0

type NullableKek struct {
	// contains filtered or unexported fields
}

func NewNullableKek added in v0.4.0

func NewNullableKek(val *Kek) *NullableKek

func (NullableKek) Get added in v0.4.0

func (v NullableKek) Get() *Kek

func (NullableKek) IsSet added in v0.4.0

func (v NullableKek) IsSet() bool

func (NullableKek) MarshalJSON added in v0.4.0

func (v NullableKek) MarshalJSON() ([]byte, error)

func (*NullableKek) Set added in v0.4.0

func (v *NullableKek) Set(val *Kek)

func (*NullableKek) UnmarshalJSON added in v0.4.0

func (v *NullableKek) UnmarshalJSON(src []byte) error

func (*NullableKek) Unset added in v0.4.0

func (v *NullableKek) Unset()

type NullableMetadata added in v0.4.0

type NullableMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableMetadata added in v0.4.0

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get added in v0.4.0

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet added in v0.4.0

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON added in v0.4.0

func (v NullableMetadata) MarshalJSON() ([]byte, error)

func (*NullableMetadata) Set added in v0.4.0

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON added in v0.4.0

func (v *NullableMetadata) UnmarshalJSON(src []byte) error

func (*NullableMetadata) Unset added in v0.4.0

func (v *NullableMetadata) Unset()

type NullableMode

type NullableMode struct {
	// contains filtered or unexported fields
}

func NewNullableMode

func NewNullableMode(val *Mode) *NullableMode

func (NullableMode) Get

func (v NullableMode) Get() *Mode

func (NullableMode) IsSet

func (v NullableMode) IsSet() bool

func (NullableMode) MarshalJSON

func (v NullableMode) MarshalJSON() ([]byte, error)

func (*NullableMode) Set

func (v *NullableMode) Set(val *Mode)

func (*NullableMode) UnmarshalJSON

func (v *NullableMode) UnmarshalJSON(src []byte) error

func (*NullableMode) Unset

func (v *NullableMode) Unset()

type NullableModeUpdateRequest

type NullableModeUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableModeUpdateRequest

func NewNullableModeUpdateRequest(val *ModeUpdateRequest) *NullableModeUpdateRequest

func (NullableModeUpdateRequest) Get

func (NullableModeUpdateRequest) IsSet

func (v NullableModeUpdateRequest) IsSet() bool

func (NullableModeUpdateRequest) MarshalJSON

func (v NullableModeUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableModeUpdateRequest) Set

func (*NullableModeUpdateRequest) UnmarshalJSON

func (v *NullableModeUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableModeUpdateRequest) Unset

func (v *NullableModeUpdateRequest) Unset()

type NullableRegisterExporterRequest added in v0.2.0

type NullableRegisterExporterRequest struct {
	// contains filtered or unexported fields
}

func NewNullableRegisterExporterRequest added in v0.2.0

func NewNullableRegisterExporterRequest(val *RegisterExporterRequest) *NullableRegisterExporterRequest

func (NullableRegisterExporterRequest) Get added in v0.2.0

func (NullableRegisterExporterRequest) IsSet added in v0.2.0

func (NullableRegisterExporterRequest) MarshalJSON added in v0.2.0

func (v NullableRegisterExporterRequest) MarshalJSON() ([]byte, error)

func (*NullableRegisterExporterRequest) Set added in v0.2.0

func (*NullableRegisterExporterRequest) UnmarshalJSON added in v0.2.0

func (v *NullableRegisterExporterRequest) UnmarshalJSON(src []byte) error

func (*NullableRegisterExporterRequest) Unset added in v0.2.0

type NullableRegisterSchemaRequest

type NullableRegisterSchemaRequest struct {
	// contains filtered or unexported fields
}

func (NullableRegisterSchemaRequest) Get

func (NullableRegisterSchemaRequest) IsSet

func (NullableRegisterSchemaRequest) MarshalJSON

func (v NullableRegisterSchemaRequest) MarshalJSON() ([]byte, error)

func (*NullableRegisterSchemaRequest) Set

func (*NullableRegisterSchemaRequest) UnmarshalJSON

func (v *NullableRegisterSchemaRequest) UnmarshalJSON(src []byte) error

func (*NullableRegisterSchemaRequest) Unset

func (v *NullableRegisterSchemaRequest) Unset()

type NullableRegisterSchemaResponse

type NullableRegisterSchemaResponse struct {
	// contains filtered or unexported fields
}

func (NullableRegisterSchemaResponse) Get

func (NullableRegisterSchemaResponse) IsSet

func (NullableRegisterSchemaResponse) MarshalJSON

func (v NullableRegisterSchemaResponse) MarshalJSON() ([]byte, error)

func (*NullableRegisterSchemaResponse) Set

func (*NullableRegisterSchemaResponse) UnmarshalJSON

func (v *NullableRegisterSchemaResponse) UnmarshalJSON(src []byte) error

func (*NullableRegisterSchemaResponse) Unset

func (v *NullableRegisterSchemaResponse) Unset()

type NullableRule added in v0.4.0

type NullableRule struct {
	// contains filtered or unexported fields
}

func NewNullableRule added in v0.4.0

func NewNullableRule(val *Rule) *NullableRule

func (NullableRule) Get added in v0.4.0

func (v NullableRule) Get() *Rule

func (NullableRule) IsSet added in v0.4.0

func (v NullableRule) IsSet() bool

func (NullableRule) MarshalJSON added in v0.4.0

func (v NullableRule) MarshalJSON() ([]byte, error)

func (*NullableRule) Set added in v0.4.0

func (v *NullableRule) Set(val *Rule)

func (*NullableRule) UnmarshalJSON added in v0.4.0

func (v *NullableRule) UnmarshalJSON(src []byte) error

func (*NullableRule) Unset added in v0.4.0

func (v *NullableRule) Unset()

type NullableRuleSet added in v0.4.0

type NullableRuleSet struct {
	// contains filtered or unexported fields
}

func NewNullableRuleSet added in v0.4.0

func NewNullableRuleSet(val *RuleSet) *NullableRuleSet

func (NullableRuleSet) Get added in v0.4.0

func (v NullableRuleSet) Get() *RuleSet

func (NullableRuleSet) IsSet added in v0.4.0

func (v NullableRuleSet) IsSet() bool

func (NullableRuleSet) MarshalJSON added in v0.4.0

func (v NullableRuleSet) MarshalJSON() ([]byte, error)

func (*NullableRuleSet) Set added in v0.4.0

func (v *NullableRuleSet) Set(val *RuleSet)

func (*NullableRuleSet) UnmarshalJSON added in v0.4.0

func (v *NullableRuleSet) UnmarshalJSON(src []byte) error

func (*NullableRuleSet) Unset added in v0.4.0

func (v *NullableRuleSet) Unset()

type NullableSchema

type NullableSchema struct {
	// contains filtered or unexported fields
}

func NewNullableSchema

func NewNullableSchema(val *Schema) *NullableSchema

func (NullableSchema) Get

func (v NullableSchema) Get() *Schema

func (NullableSchema) IsSet

func (v NullableSchema) IsSet() bool

func (NullableSchema) MarshalJSON

func (v NullableSchema) MarshalJSON() ([]byte, error)

func (*NullableSchema) Set

func (v *NullableSchema) Set(val *Schema)

func (*NullableSchema) UnmarshalJSON

func (v *NullableSchema) UnmarshalJSON(src []byte) error

func (*NullableSchema) Unset

func (v *NullableSchema) Unset()

type NullableSchemaReference

type NullableSchemaReference struct {
	// contains filtered or unexported fields
}

func NewNullableSchemaReference

func NewNullableSchemaReference(val *SchemaReference) *NullableSchemaReference

func (NullableSchemaReference) Get

func (NullableSchemaReference) IsSet

func (v NullableSchemaReference) IsSet() bool

func (NullableSchemaReference) MarshalJSON

func (v NullableSchemaReference) MarshalJSON() ([]byte, error)

func (*NullableSchemaReference) Set

func (*NullableSchemaReference) UnmarshalJSON

func (v *NullableSchemaReference) UnmarshalJSON(src []byte) error

func (*NullableSchemaReference) Unset

func (v *NullableSchemaReference) Unset()

type NullableSchemaString

type NullableSchemaString struct {
	// contains filtered or unexported fields
}

func NewNullableSchemaString

func NewNullableSchemaString(val *SchemaString) *NullableSchemaString

func (NullableSchemaString) Get

func (NullableSchemaString) IsSet

func (v NullableSchemaString) IsSet() bool

func (NullableSchemaString) MarshalJSON

func (v NullableSchemaString) MarshalJSON() ([]byte, error)

func (*NullableSchemaString) Set

func (v *NullableSchemaString) Set(val *SchemaString)

func (*NullableSchemaString) UnmarshalJSON

func (v *NullableSchemaString) UnmarshalJSON(src []byte) error

func (*NullableSchemaString) Unset

func (v *NullableSchemaString) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableSubjectVersion

type NullableSubjectVersion struct {
	// contains filtered or unexported fields
}

func NewNullableSubjectVersion

func NewNullableSubjectVersion(val *SubjectVersion) *NullableSubjectVersion

func (NullableSubjectVersion) Get

func (NullableSubjectVersion) IsSet

func (v NullableSubjectVersion) IsSet() bool

func (NullableSubjectVersion) MarshalJSON

func (v NullableSubjectVersion) MarshalJSON() ([]byte, error)

func (*NullableSubjectVersion) Set

func (*NullableSubjectVersion) UnmarshalJSON

func (v *NullableSubjectVersion) UnmarshalJSON(src []byte) error

func (*NullableSubjectVersion) Unset

func (v *NullableSubjectVersion) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateKekRequest added in v0.4.0

type NullableUpdateKekRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateKekRequest added in v0.4.0

func NewNullableUpdateKekRequest(val *UpdateKekRequest) *NullableUpdateKekRequest

func (NullableUpdateKekRequest) Get added in v0.4.0

func (NullableUpdateKekRequest) IsSet added in v0.4.0

func (v NullableUpdateKekRequest) IsSet() bool

func (NullableUpdateKekRequest) MarshalJSON added in v0.4.0

func (v NullableUpdateKekRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateKekRequest) Set added in v0.4.0

func (*NullableUpdateKekRequest) UnmarshalJSON added in v0.4.0

func (v *NullableUpdateKekRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateKekRequest) Unset added in v0.4.0

func (v *NullableUpdateKekRequest) Unset()

type RegisterExporterRequest added in v0.2.0

type RegisterExporterRequest struct {
	// References to other schemas
	References *[]ExporterReference `json:"references,omitempty"`
}

RegisterExporterRequest Exporter register request

func NewRegisterExporterRequest added in v0.2.0

func NewRegisterExporterRequest() *RegisterExporterRequest

NewRegisterExporterRequest instantiates a new RegisterExporterRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegisterExporterRequestWithDefaults added in v0.2.0

func NewRegisterExporterRequestWithDefaults() *RegisterExporterRequest

NewRegisterExporterRequestWithDefaults instantiates a new RegisterExporterRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegisterExporterRequest) GetReferences added in v0.2.0

func (o *RegisterExporterRequest) GetReferences() []ExporterReference

GetReferences returns the References field value if set, zero value otherwise.

func (*RegisterExporterRequest) GetReferencesOk added in v0.2.0

func (o *RegisterExporterRequest) GetReferencesOk() (*[]ExporterReference, bool)

GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegisterExporterRequest) HasReferences added in v0.2.0

func (o *RegisterExporterRequest) HasReferences() bool

HasReferences returns a boolean if a field has been set.

func (RegisterExporterRequest) MarshalJSON added in v0.2.0

func (o RegisterExporterRequest) MarshalJSON() ([]byte, error)

func (*RegisterExporterRequest) Redact added in v0.2.0

func (o *RegisterExporterRequest) Redact()

Redact resets all sensitive fields to their zero value.

func (*RegisterExporterRequest) SetReferences added in v0.2.0

func (o *RegisterExporterRequest) SetReferences(v []ExporterReference)

SetReferences gets a reference to the given []ExporterReference and assigns it to the References field.

type RegisterSchemaRequest

type RegisterSchemaRequest struct {
	// Version number
	Version *int32 `json:"version,omitempty"`
	// Globally unique identifier of the schema
	Id *int32 `json:"id,omitempty"`
	// Schema type
	SchemaType *string `json:"schemaType,omitempty"`
	// References to other schemas
	References *[]SchemaReference `json:"references,omitempty"`
	// Schema definition string
	Schema   *string          `json:"schema,omitempty"`
	Metadata NullableMetadata `json:"metadata,omitempty"`
	RuleSet  NullableRuleSet  `json:"ruleSet,omitempty"`
}

RegisterSchemaRequest Schema register request

func NewRegisterSchemaRequest

func NewRegisterSchemaRequest() *RegisterSchemaRequest

NewRegisterSchemaRequest instantiates a new RegisterSchemaRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegisterSchemaRequestWithDefaults

func NewRegisterSchemaRequestWithDefaults() *RegisterSchemaRequest

NewRegisterSchemaRequestWithDefaults instantiates a new RegisterSchemaRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegisterSchemaRequest) GetId

func (o *RegisterSchemaRequest) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*RegisterSchemaRequest) GetIdOk

func (o *RegisterSchemaRequest) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegisterSchemaRequest) GetMetadata added in v0.4.0

func (o *RegisterSchemaRequest) GetMetadata() Metadata

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RegisterSchemaRequest) GetMetadataOk added in v0.4.0

func (o *RegisterSchemaRequest) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegisterSchemaRequest) GetReferences

func (o *RegisterSchemaRequest) GetReferences() []SchemaReference

GetReferences returns the References field value if set, zero value otherwise.

func (*RegisterSchemaRequest) GetReferencesOk

func (o *RegisterSchemaRequest) GetReferencesOk() (*[]SchemaReference, bool)

GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegisterSchemaRequest) GetRuleSet added in v0.4.0

func (o *RegisterSchemaRequest) GetRuleSet() RuleSet

GetRuleSet returns the RuleSet field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RegisterSchemaRequest) GetRuleSetOk added in v0.4.0

func (o *RegisterSchemaRequest) GetRuleSetOk() (*RuleSet, bool)

GetRuleSetOk returns a tuple with the RuleSet field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegisterSchemaRequest) GetSchema

func (o *RegisterSchemaRequest) GetSchema() string

GetSchema returns the Schema field value if set, zero value otherwise.

func (*RegisterSchemaRequest) GetSchemaOk

func (o *RegisterSchemaRequest) GetSchemaOk() (*string, bool)

GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegisterSchemaRequest) GetSchemaType

func (o *RegisterSchemaRequest) GetSchemaType() string

GetSchemaType returns the SchemaType field value if set, zero value otherwise.

func (*RegisterSchemaRequest) GetSchemaTypeOk

func (o *RegisterSchemaRequest) GetSchemaTypeOk() (*string, bool)

GetSchemaTypeOk returns a tuple with the SchemaType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegisterSchemaRequest) GetVersion

func (o *RegisterSchemaRequest) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*RegisterSchemaRequest) GetVersionOk

func (o *RegisterSchemaRequest) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegisterSchemaRequest) HasId

func (o *RegisterSchemaRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*RegisterSchemaRequest) HasMetadata added in v0.4.0

func (o *RegisterSchemaRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RegisterSchemaRequest) HasReferences

func (o *RegisterSchemaRequest) HasReferences() bool

HasReferences returns a boolean if a field has been set.

func (*RegisterSchemaRequest) HasRuleSet added in v0.4.0

func (o *RegisterSchemaRequest) HasRuleSet() bool

HasRuleSet returns a boolean if a field has been set.

func (*RegisterSchemaRequest) HasSchema

func (o *RegisterSchemaRequest) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (*RegisterSchemaRequest) HasSchemaType

func (o *RegisterSchemaRequest) HasSchemaType() bool

HasSchemaType returns a boolean if a field has been set.

func (*RegisterSchemaRequest) HasVersion

func (o *RegisterSchemaRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (RegisterSchemaRequest) MarshalJSON

func (o RegisterSchemaRequest) MarshalJSON() ([]byte, error)

func (*RegisterSchemaRequest) Redact

func (o *RegisterSchemaRequest) Redact()

Redact resets all sensitive fields to their zero value.

func (*RegisterSchemaRequest) SetId

func (o *RegisterSchemaRequest) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*RegisterSchemaRequest) SetMetadata added in v0.4.0

func (o *RegisterSchemaRequest) SetMetadata(v Metadata)

SetMetadata gets a reference to the given NullableMetadata and assigns it to the Metadata field.

func (*RegisterSchemaRequest) SetMetadataNil added in v0.4.0

func (o *RegisterSchemaRequest) SetMetadataNil()

SetMetadataNil sets the value for Metadata to be an explicit nil

func (*RegisterSchemaRequest) SetReferences

func (o *RegisterSchemaRequest) SetReferences(v []SchemaReference)

SetReferences gets a reference to the given []SchemaReference and assigns it to the References field.

func (*RegisterSchemaRequest) SetRuleSet added in v0.4.0

func (o *RegisterSchemaRequest) SetRuleSet(v RuleSet)

SetRuleSet gets a reference to the given NullableRuleSet and assigns it to the RuleSet field.

func (*RegisterSchemaRequest) SetRuleSetNil added in v0.4.0

func (o *RegisterSchemaRequest) SetRuleSetNil()

SetRuleSetNil sets the value for RuleSet to be an explicit nil

func (*RegisterSchemaRequest) SetSchema

func (o *RegisterSchemaRequest) SetSchema(v string)

SetSchema gets a reference to the given string and assigns it to the Schema field.

func (*RegisterSchemaRequest) SetSchemaType

func (o *RegisterSchemaRequest) SetSchemaType(v string)

SetSchemaType gets a reference to the given string and assigns it to the SchemaType field.

func (*RegisterSchemaRequest) SetVersion

func (o *RegisterSchemaRequest) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*RegisterSchemaRequest) UnsetMetadata added in v0.4.0

func (o *RegisterSchemaRequest) UnsetMetadata()

UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil

func (*RegisterSchemaRequest) UnsetRuleSet added in v0.4.0

func (o *RegisterSchemaRequest) UnsetRuleSet()

UnsetRuleSet ensures that no value is present for RuleSet, not even an explicit nil

type RegisterSchemaResponse

type RegisterSchemaResponse struct {
	// Globally unique identifier of the schema
	Id *int32 `json:"id,omitempty"`
}

RegisterSchemaResponse Schema register response

func NewRegisterSchemaResponse

func NewRegisterSchemaResponse() *RegisterSchemaResponse

NewRegisterSchemaResponse instantiates a new RegisterSchemaResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRegisterSchemaResponseWithDefaults

func NewRegisterSchemaResponseWithDefaults() *RegisterSchemaResponse

NewRegisterSchemaResponseWithDefaults instantiates a new RegisterSchemaResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RegisterSchemaResponse) GetId

func (o *RegisterSchemaResponse) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*RegisterSchemaResponse) GetIdOk

func (o *RegisterSchemaResponse) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RegisterSchemaResponse) HasId

func (o *RegisterSchemaResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (RegisterSchemaResponse) MarshalJSON

func (o RegisterSchemaResponse) MarshalJSON() ([]byte, error)

func (*RegisterSchemaResponse) Redact

func (o *RegisterSchemaResponse) Redact()

Redact resets all sensitive fields to their zero value.

func (*RegisterSchemaResponse) SetId

func (o *RegisterSchemaResponse) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

type Rule added in v0.4.0

type Rule struct {
	// Rule name
	Name *string `json:"name,omitempty"`
	// Rule doc
	Doc *string `json:"doc,omitempty"`
	// Rule kind
	Kind *string `json:"kind,omitempty"`
	// Rule mode
	Mode *string `json:"mode,omitempty"`
	// Rule type
	Type *string `json:"type,omitempty"`
	// The tags to which this rule applies
	Tags *[]string `json:"tags,omitempty"`
	// Optional params for the rule
	Params *map[string]string `json:"params,omitempty"`
	// Rule expression
	Expr *string `json:"expr,omitempty"`
	// Rule action on success
	OnSuccess *string `json:"onSuccess,omitempty"`
	// Rule action on failure
	OnFailure *string `json:"onFailure,omitempty"`
	// Whether the rule is disabled
	Disabled *bool `json:"disabled,omitempty"`
}

Rule Rule

func NewRule added in v0.4.0

func NewRule() *Rule

NewRule instantiates a new Rule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRuleWithDefaults added in v0.4.0

func NewRuleWithDefaults() *Rule

NewRuleWithDefaults instantiates a new Rule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Rule) GetDisabled added in v0.4.0

func (o *Rule) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*Rule) GetDisabledOk added in v0.4.0

func (o *Rule) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetDoc added in v0.4.0

func (o *Rule) GetDoc() string

GetDoc returns the Doc field value if set, zero value otherwise.

func (*Rule) GetDocOk added in v0.4.0

func (o *Rule) GetDocOk() (*string, bool)

GetDocOk returns a tuple with the Doc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetExpr added in v0.4.0

func (o *Rule) GetExpr() string

GetExpr returns the Expr field value if set, zero value otherwise.

func (*Rule) GetExprOk added in v0.4.0

func (o *Rule) GetExprOk() (*string, bool)

GetExprOk returns a tuple with the Expr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetKind added in v0.4.0

func (o *Rule) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Rule) GetKindOk added in v0.4.0

func (o *Rule) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetMode added in v0.4.0

func (o *Rule) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*Rule) GetModeOk added in v0.4.0

func (o *Rule) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetName added in v0.4.0

func (o *Rule) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Rule) GetNameOk added in v0.4.0

func (o *Rule) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetOnFailure added in v0.4.0

func (o *Rule) GetOnFailure() string

GetOnFailure returns the OnFailure field value if set, zero value otherwise.

func (*Rule) GetOnFailureOk added in v0.4.0

func (o *Rule) GetOnFailureOk() (*string, bool)

GetOnFailureOk returns a tuple with the OnFailure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetOnSuccess added in v0.4.0

func (o *Rule) GetOnSuccess() string

GetOnSuccess returns the OnSuccess field value if set, zero value otherwise.

func (*Rule) GetOnSuccessOk added in v0.4.0

func (o *Rule) GetOnSuccessOk() (*string, bool)

GetOnSuccessOk returns a tuple with the OnSuccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetParams added in v0.4.0

func (o *Rule) GetParams() map[string]string

GetParams returns the Params field value if set, zero value otherwise.

func (*Rule) GetParamsOk added in v0.4.0

func (o *Rule) GetParamsOk() (*map[string]string, bool)

GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetTags added in v0.4.0

func (o *Rule) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Rule) GetTagsOk added in v0.4.0

func (o *Rule) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) GetType added in v0.4.0

func (o *Rule) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Rule) GetTypeOk added in v0.4.0

func (o *Rule) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Rule) HasDisabled added in v0.4.0

func (o *Rule) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*Rule) HasDoc added in v0.4.0

func (o *Rule) HasDoc() bool

HasDoc returns a boolean if a field has been set.

func (*Rule) HasExpr added in v0.4.0

func (o *Rule) HasExpr() bool

HasExpr returns a boolean if a field has been set.

func (*Rule) HasKind added in v0.4.0

func (o *Rule) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Rule) HasMode added in v0.4.0

func (o *Rule) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*Rule) HasName added in v0.4.0

func (o *Rule) HasName() bool

HasName returns a boolean if a field has been set.

func (*Rule) HasOnFailure added in v0.4.0

func (o *Rule) HasOnFailure() bool

HasOnFailure returns a boolean if a field has been set.

func (*Rule) HasOnSuccess added in v0.4.0

func (o *Rule) HasOnSuccess() bool

HasOnSuccess returns a boolean if a field has been set.

func (*Rule) HasParams added in v0.4.0

func (o *Rule) HasParams() bool

HasParams returns a boolean if a field has been set.

func (*Rule) HasTags added in v0.4.0

func (o *Rule) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Rule) HasType added in v0.4.0

func (o *Rule) HasType() bool

HasType returns a boolean if a field has been set.

func (Rule) MarshalJSON added in v0.4.0

func (o Rule) MarshalJSON() ([]byte, error)

func (*Rule) Redact added in v0.4.0

func (o *Rule) Redact()

Redact resets all sensitive fields to their zero value.

func (*Rule) SetDisabled added in v0.4.0

func (o *Rule) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*Rule) SetDoc added in v0.4.0

func (o *Rule) SetDoc(v string)

SetDoc gets a reference to the given string and assigns it to the Doc field.

func (*Rule) SetExpr added in v0.4.0

func (o *Rule) SetExpr(v string)

SetExpr gets a reference to the given string and assigns it to the Expr field.

func (*Rule) SetKind added in v0.4.0

func (o *Rule) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Rule) SetMode added in v0.4.0

func (o *Rule) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*Rule) SetName added in v0.4.0

func (o *Rule) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Rule) SetOnFailure added in v0.4.0

func (o *Rule) SetOnFailure(v string)

SetOnFailure gets a reference to the given string and assigns it to the OnFailure field.

func (*Rule) SetOnSuccess added in v0.4.0

func (o *Rule) SetOnSuccess(v string)

SetOnSuccess gets a reference to the given string and assigns it to the OnSuccess field.

func (*Rule) SetParams added in v0.4.0

func (o *Rule) SetParams(v map[string]string)

SetParams gets a reference to the given map[string]string and assigns it to the Params field.

func (*Rule) SetTags added in v0.4.0

func (o *Rule) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Rule) SetType added in v0.4.0

func (o *Rule) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type RuleSet added in v0.4.0

type RuleSet struct {
	MigrationRules *[]Rule `json:"migrationRules,omitempty"`
	DomainRules    *[]Rule `json:"domainRules,omitempty"`
}

RuleSet Schema rule set

func NewRuleSet added in v0.4.0

func NewRuleSet() *RuleSet

NewRuleSet instantiates a new RuleSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRuleSetWithDefaults added in v0.4.0

func NewRuleSetWithDefaults() *RuleSet

NewRuleSetWithDefaults instantiates a new RuleSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RuleSet) GetDomainRules added in v0.4.0

func (o *RuleSet) GetDomainRules() []Rule

GetDomainRules returns the DomainRules field value if set, zero value otherwise.

func (*RuleSet) GetDomainRulesOk added in v0.4.0

func (o *RuleSet) GetDomainRulesOk() (*[]Rule, bool)

GetDomainRulesOk returns a tuple with the DomainRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleSet) GetMigrationRules added in v0.4.0

func (o *RuleSet) GetMigrationRules() []Rule

GetMigrationRules returns the MigrationRules field value if set, zero value otherwise.

func (*RuleSet) GetMigrationRulesOk added in v0.4.0

func (o *RuleSet) GetMigrationRulesOk() (*[]Rule, bool)

GetMigrationRulesOk returns a tuple with the MigrationRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleSet) HasDomainRules added in v0.4.0

func (o *RuleSet) HasDomainRules() bool

HasDomainRules returns a boolean if a field has been set.

func (*RuleSet) HasMigrationRules added in v0.4.0

func (o *RuleSet) HasMigrationRules() bool

HasMigrationRules returns a boolean if a field has been set.

func (RuleSet) MarshalJSON added in v0.4.0

func (o RuleSet) MarshalJSON() ([]byte, error)

func (*RuleSet) Redact added in v0.4.0

func (o *RuleSet) Redact()

Redact resets all sensitive fields to their zero value.

func (*RuleSet) SetDomainRules added in v0.4.0

func (o *RuleSet) SetDomainRules(v []Rule)

SetDomainRules gets a reference to the given []Rule and assigns it to the DomainRules field.

func (*RuleSet) SetMigrationRules added in v0.4.0

func (o *RuleSet) SetMigrationRules(v []Rule)

SetMigrationRules gets a reference to the given []Rule and assigns it to the MigrationRules field.

type Schema

type Schema struct {
	// Name of the subject
	Subject *string `json:"subject,omitempty"`
	// Version number
	Version *int32 `json:"version,omitempty"`
	// Globally unique identifier of the schema
	Id *int32 `json:"id,omitempty"`
	// Schema type
	SchemaType *string `json:"schemaType,omitempty"`
	// References to other schemas
	References *[]SchemaReference `json:"references,omitempty"`
	// Schema definition string
	Schema   *string          `json:"schema,omitempty"`
	Metadata NullableMetadata `json:"metadata,omitempty"`
	RuleSet  NullableRuleSet  `json:"ruleSet,omitempty"`
}

Schema Schema

func NewSchema

func NewSchema() *Schema

NewSchema instantiates a new Schema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSchemaWithDefaults

func NewSchemaWithDefaults() *Schema

NewSchemaWithDefaults instantiates a new Schema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Schema) GetId

func (o *Schema) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Schema) GetIdOk

func (o *Schema) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Schema) GetMetadata added in v0.4.0

func (o *Schema) GetMetadata() Metadata

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Schema) GetMetadataOk added in v0.4.0

func (o *Schema) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Schema) GetReferences

func (o *Schema) GetReferences() []SchemaReference

GetReferences returns the References field value if set, zero value otherwise.

func (*Schema) GetReferencesOk

func (o *Schema) GetReferencesOk() (*[]SchemaReference, bool)

GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Schema) GetRuleSet added in v0.4.0

func (o *Schema) GetRuleSet() RuleSet

GetRuleSet returns the RuleSet field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Schema) GetRuleSetOk added in v0.4.0

func (o *Schema) GetRuleSetOk() (*RuleSet, bool)

GetRuleSetOk returns a tuple with the RuleSet field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Schema) GetSchema

func (o *Schema) GetSchema() string

GetSchema returns the Schema field value if set, zero value otherwise.

func (*Schema) GetSchemaOk

func (o *Schema) GetSchemaOk() (*string, bool)

GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Schema) GetSchemaType

func (o *Schema) GetSchemaType() string

GetSchemaType returns the SchemaType field value if set, zero value otherwise.

func (*Schema) GetSchemaTypeOk

func (o *Schema) GetSchemaTypeOk() (*string, bool)

GetSchemaTypeOk returns a tuple with the SchemaType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Schema) GetSubject

func (o *Schema) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*Schema) GetSubjectOk

func (o *Schema) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Schema) GetVersion

func (o *Schema) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*Schema) GetVersionOk

func (o *Schema) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Schema) HasId

func (o *Schema) HasId() bool

HasId returns a boolean if a field has been set.

func (*Schema) HasMetadata added in v0.4.0

func (o *Schema) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Schema) HasReferences

func (o *Schema) HasReferences() bool

HasReferences returns a boolean if a field has been set.

func (*Schema) HasRuleSet added in v0.4.0

func (o *Schema) HasRuleSet() bool

HasRuleSet returns a boolean if a field has been set.

func (*Schema) HasSchema

func (o *Schema) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (*Schema) HasSchemaType

func (o *Schema) HasSchemaType() bool

HasSchemaType returns a boolean if a field has been set.

func (*Schema) HasSubject

func (o *Schema) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*Schema) HasVersion

func (o *Schema) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Schema) MarshalJSON

func (o Schema) MarshalJSON() ([]byte, error)

func (*Schema) Redact

func (o *Schema) Redact()

Redact resets all sensitive fields to their zero value.

func (*Schema) SetId

func (o *Schema) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*Schema) SetMetadata added in v0.4.0

func (o *Schema) SetMetadata(v Metadata)

SetMetadata gets a reference to the given NullableMetadata and assigns it to the Metadata field.

func (*Schema) SetMetadataNil added in v0.4.0

func (o *Schema) SetMetadataNil()

SetMetadataNil sets the value for Metadata to be an explicit nil

func (*Schema) SetReferences

func (o *Schema) SetReferences(v []SchemaReference)

SetReferences gets a reference to the given []SchemaReference and assigns it to the References field.

func (*Schema) SetRuleSet added in v0.4.0

func (o *Schema) SetRuleSet(v RuleSet)

SetRuleSet gets a reference to the given NullableRuleSet and assigns it to the RuleSet field.

func (*Schema) SetRuleSetNil added in v0.4.0

func (o *Schema) SetRuleSetNil()

SetRuleSetNil sets the value for RuleSet to be an explicit nil

func (*Schema) SetSchema

func (o *Schema) SetSchema(v string)

SetSchema gets a reference to the given string and assigns it to the Schema field.

func (*Schema) SetSchemaType

func (o *Schema) SetSchemaType(v string)

SetSchemaType gets a reference to the given string and assigns it to the SchemaType field.

func (*Schema) SetSubject

func (o *Schema) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*Schema) SetVersion

func (o *Schema) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*Schema) UnsetMetadata added in v0.4.0

func (o *Schema) UnsetMetadata()

UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil

func (*Schema) UnsetRuleSet added in v0.4.0

func (o *Schema) UnsetRuleSet()

UnsetRuleSet ensures that no value is present for RuleSet, not even an explicit nil

type SchemaReference

type SchemaReference struct {
	// Reference name
	Name *string `json:"name,omitempty"`
	// Name of the referenced subject
	Subject *string `json:"subject,omitempty"`
	// Version number of the referenced subject
	Version *int32 `json:"version,omitempty"`
}

SchemaReference Schema reference

func NewSchemaReference

func NewSchemaReference() *SchemaReference

NewSchemaReference instantiates a new SchemaReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSchemaReferenceWithDefaults

func NewSchemaReferenceWithDefaults() *SchemaReference

NewSchemaReferenceWithDefaults instantiates a new SchemaReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SchemaReference) GetName

func (o *SchemaReference) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SchemaReference) GetNameOk

func (o *SchemaReference) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SchemaReference) GetSubject

func (o *SchemaReference) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*SchemaReference) GetSubjectOk

func (o *SchemaReference) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SchemaReference) GetVersion

func (o *SchemaReference) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*SchemaReference) GetVersionOk

func (o *SchemaReference) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SchemaReference) HasName

func (o *SchemaReference) HasName() bool

HasName returns a boolean if a field has been set.

func (*SchemaReference) HasSubject

func (o *SchemaReference) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*SchemaReference) HasVersion

func (o *SchemaReference) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SchemaReference) MarshalJSON

func (o SchemaReference) MarshalJSON() ([]byte, error)

func (*SchemaReference) Redact

func (o *SchemaReference) Redact()

Redact resets all sensitive fields to their zero value.

func (*SchemaReference) SetName

func (o *SchemaReference) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SchemaReference) SetSubject

func (o *SchemaReference) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*SchemaReference) SetVersion

func (o *SchemaReference) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type SchemaString

type SchemaString struct {
	// Schema type
	SchemaType *string `json:"schemaType,omitempty"`
	// Schema string identified by the ID
	Schema *string `json:"schema,omitempty"`
	// References to other schemas
	References *[]SchemaReference `json:"references,omitempty"`
	// Maximum ID
	MaxId *int32 `json:"maxId,omitempty"`
}

SchemaString Schema definition

func NewSchemaString

func NewSchemaString() *SchemaString

NewSchemaString instantiates a new SchemaString object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSchemaStringWithDefaults

func NewSchemaStringWithDefaults() *SchemaString

NewSchemaStringWithDefaults instantiates a new SchemaString object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SchemaString) GetMaxId

func (o *SchemaString) GetMaxId() int32

GetMaxId returns the MaxId field value if set, zero value otherwise.

func (*SchemaString) GetMaxIdOk

func (o *SchemaString) GetMaxIdOk() (*int32, bool)

GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SchemaString) GetReferences

func (o *SchemaString) GetReferences() []SchemaReference

GetReferences returns the References field value if set, zero value otherwise.

func (*SchemaString) GetReferencesOk

func (o *SchemaString) GetReferencesOk() (*[]SchemaReference, bool)

GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SchemaString) GetSchema

func (o *SchemaString) GetSchema() string

GetSchema returns the Schema field value if set, zero value otherwise.

func (*SchemaString) GetSchemaOk

func (o *SchemaString) GetSchemaOk() (*string, bool)

GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SchemaString) GetSchemaType

func (o *SchemaString) GetSchemaType() string

GetSchemaType returns the SchemaType field value if set, zero value otherwise.

func (*SchemaString) GetSchemaTypeOk

func (o *SchemaString) GetSchemaTypeOk() (*string, bool)

GetSchemaTypeOk returns a tuple with the SchemaType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SchemaString) HasMaxId

func (o *SchemaString) HasMaxId() bool

HasMaxId returns a boolean if a field has been set.

func (*SchemaString) HasReferences

func (o *SchemaString) HasReferences() bool

HasReferences returns a boolean if a field has been set.

func (*SchemaString) HasSchema

func (o *SchemaString) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (*SchemaString) HasSchemaType

func (o *SchemaString) HasSchemaType() bool

HasSchemaType returns a boolean if a field has been set.

func (SchemaString) MarshalJSON

func (o SchemaString) MarshalJSON() ([]byte, error)

func (*SchemaString) Redact

func (o *SchemaString) Redact()

Redact resets all sensitive fields to their zero value.

func (*SchemaString) SetMaxId

func (o *SchemaString) SetMaxId(v int32)

SetMaxId gets a reference to the given int32 and assigns it to the MaxId field.

func (*SchemaString) SetReferences

func (o *SchemaString) SetReferences(v []SchemaReference)

SetReferences gets a reference to the given []SchemaReference and assigns it to the References field.

func (*SchemaString) SetSchema

func (o *SchemaString) SetSchema(v string)

SetSchema gets a reference to the given string and assigns it to the Schema field.

func (*SchemaString) SetSchemaType

func (o *SchemaString) SetSchemaType(v string)

SetSchemaType gets a reference to the given string and assigns it to the SchemaType field.

type SchemasV1Api

type SchemasV1Api interface {

	/*
		GetSchema Get schema string by ID

		Retrieves the schema string identified by the input ID.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param id Globally unique identifier of the schema
		 @return ApiGetSchemaRequest
	*/
	GetSchema(ctx _context.Context, id int32) ApiGetSchemaRequest

	// GetSchemaExecute executes the request
	//  @return SchemaString
	GetSchemaExecute(r ApiGetSchemaRequest) (SchemaString, *_nethttp.Response, error)

	/*
		GetSchemaOnly Get schema by ID

		Retrieves the schema identified by the input ID.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param id Globally unique identifier of the schema
		 @return ApiGetSchemaOnlyRequest
	*/
	GetSchemaOnly(ctx _context.Context, id int32) ApiGetSchemaOnlyRequest

	// GetSchemaOnlyExecute executes the request
	//  @return string
	GetSchemaOnlyExecute(r ApiGetSchemaOnlyRequest) (string, *_nethttp.Response, error)

	/*
		GetSchemaTypes List supported schema types

		Retrieve the schema types supported by this registry.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetSchemaTypesRequest
	*/
	GetSchemaTypes(ctx _context.Context) ApiGetSchemaTypesRequest

	// GetSchemaTypesExecute executes the request
	//  @return []string
	GetSchemaTypesExecute(r ApiGetSchemaTypesRequest) ([]string, *_nethttp.Response, error)

	/*
		GetSchemas List schemas

		Get the schemas matching the specified parameters.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetSchemasRequest
	*/
	GetSchemas(ctx _context.Context) ApiGetSchemasRequest

	// GetSchemasExecute executes the request
	//  @return []Schema
	GetSchemasExecute(r ApiGetSchemasRequest) ([]Schema, *_nethttp.Response, error)

	/*
		GetSubjects List subjects associated to schema ID

		Retrieves all the subjects associated with a particular schema ID.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param id Globally unique identifier of the schema
		 @return ApiGetSubjectsRequest
	*/
	GetSubjects(ctx _context.Context, id int32) ApiGetSubjectsRequest

	// GetSubjectsExecute executes the request
	//  @return []string
	GetSubjectsExecute(r ApiGetSubjectsRequest) ([]string, *_nethttp.Response, error)

	/*
		GetVersions List subject-versions associated to schema ID

		Get all the subject-version pairs associated with the input ID.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param id Globally unique identifier of the schema
		 @return ApiGetVersionsRequest
	*/
	GetVersions(ctx _context.Context, id int32) ApiGetVersionsRequest

	// GetVersionsExecute executes the request
	//  @return []SubjectVersion
	GetVersionsExecute(r ApiGetVersionsRequest) ([]SubjectVersion, *_nethttp.Response, error)
}

type SchemasV1ApiService

type SchemasV1ApiService service

SchemasV1ApiService SchemasV1Api service

func (*SchemasV1ApiService) GetSchema

GetSchema Get schema string by ID

Retrieves the schema string identified by the input ID.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Globally unique identifier of the schema
@return ApiGetSchemaRequest

func (*SchemasV1ApiService) GetSchemaExecute

Execute executes the request

@return SchemaString

func (*SchemasV1ApiService) GetSchemaOnly

GetSchemaOnly Get schema by ID

Retrieves the schema identified by the input ID.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Globally unique identifier of the schema
@return ApiGetSchemaOnlyRequest

func (*SchemasV1ApiService) GetSchemaOnlyExecute

func (a *SchemasV1ApiService) GetSchemaOnlyExecute(r ApiGetSchemaOnlyRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

func (*SchemasV1ApiService) GetSchemaTypes

GetSchemaTypes List supported schema types

Retrieve the schema types supported by this registry.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSchemaTypesRequest

func (*SchemasV1ApiService) GetSchemaTypesExecute

func (a *SchemasV1ApiService) GetSchemaTypesExecute(r ApiGetSchemaTypesRequest) ([]string, *_nethttp.Response, error)

Execute executes the request

@return []string

func (*SchemasV1ApiService) GetSchemas

GetSchemas List schemas

Get the schemas matching the specified parameters.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSchemasRequest

func (*SchemasV1ApiService) GetSchemasExecute

func (a *SchemasV1ApiService) GetSchemasExecute(r ApiGetSchemasRequest) ([]Schema, *_nethttp.Response, error)

Execute executes the request

@return []Schema

func (*SchemasV1ApiService) GetSubjects

GetSubjects List subjects associated to schema ID

Retrieves all the subjects associated with a particular schema ID.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Globally unique identifier of the schema
@return ApiGetSubjectsRequest

func (*SchemasV1ApiService) GetSubjectsExecute

func (a *SchemasV1ApiService) GetSubjectsExecute(r ApiGetSubjectsRequest) ([]string, *_nethttp.Response, error)

Execute executes the request

@return []string

func (*SchemasV1ApiService) GetVersions

GetVersions List subject-versions associated to schema ID

Get all the subject-version pairs associated with the input ID.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Globally unique identifier of the schema
@return ApiGetVersionsRequest

func (*SchemasV1ApiService) GetVersionsExecute

Execute executes the request

@return []SubjectVersion

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SubjectVersion

type SubjectVersion struct {
	// Name of the subject
	Subject *string `json:"subject,omitempty"`
	// Version number
	Version *int32 `json:"version,omitempty"`
}

SubjectVersion Subject version pair

func NewSubjectVersion

func NewSubjectVersion() *SubjectVersion

NewSubjectVersion instantiates a new SubjectVersion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubjectVersionWithDefaults

func NewSubjectVersionWithDefaults() *SubjectVersion

NewSubjectVersionWithDefaults instantiates a new SubjectVersion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubjectVersion) GetSubject

func (o *SubjectVersion) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*SubjectVersion) GetSubjectOk

func (o *SubjectVersion) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubjectVersion) GetVersion

func (o *SubjectVersion) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*SubjectVersion) GetVersionOk

func (o *SubjectVersion) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubjectVersion) HasSubject

func (o *SubjectVersion) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*SubjectVersion) HasVersion

func (o *SubjectVersion) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SubjectVersion) MarshalJSON

func (o SubjectVersion) MarshalJSON() ([]byte, error)

func (*SubjectVersion) Redact

func (o *SubjectVersion) Redact()

Redact resets all sensitive fields to their zero value.

func (*SubjectVersion) SetSubject

func (o *SubjectVersion) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*SubjectVersion) SetVersion

func (o *SubjectVersion) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

type SubjectsV1Api

type SubjectsV1Api interface {

	/*
		DeleteSchemaVersion Delete schema version

		Deletes a specific version of the schema registered under this subject. This only deletes the version and the schema ID remains intact making it still possible to decode data using the schema ID. This API is recommended to be used only in development environments or under extreme circumstances where-in, its required to delete a previously registered schema for compatibility purposes or re-register previously registered schema.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @param version Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string \"latest\". \"latest\" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served.
		 @return ApiDeleteSchemaVersionRequest
	*/
	DeleteSchemaVersion(ctx _context.Context, subject string, version string) ApiDeleteSchemaVersionRequest

	// DeleteSchemaVersionExecute executes the request
	//  @return int32
	DeleteSchemaVersionExecute(r ApiDeleteSchemaVersionRequest) (int32, *_nethttp.Response, error)

	/*
		DeleteSubject Delete subject

		Deletes the specified subject and its associated compatibility level if registered. It is recommended to use this API only when a topic needs to be recycled or in development environment.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @return ApiDeleteSubjectRequest
	*/
	DeleteSubject(ctx _context.Context, subject string) ApiDeleteSubjectRequest

	// DeleteSubjectExecute executes the request
	//  @return []int32
	DeleteSubjectExecute(r ApiDeleteSubjectRequest) ([]int32, *_nethttp.Response, error)

	/*
		GetReferencedBy List schemas referencing a schema

		Retrieves the IDs of schemas that reference the specified schema.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @param version Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string \"latest\". \"latest\" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served.
		 @return ApiGetReferencedByRequest
	*/
	GetReferencedBy(ctx _context.Context, subject string, version string) ApiGetReferencedByRequest

	// GetReferencedByExecute executes the request
	//  @return []int32
	GetReferencedByExecute(r ApiGetReferencedByRequest) ([]int32, *_nethttp.Response, error)

	/*
		GetSchemaByVersion Get schema by version

		Retrieves a specific version of the schema registered under this subject.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @param version Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string \"latest\". \"latest\" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served.
		 @return ApiGetSchemaByVersionRequest
	*/
	GetSchemaByVersion(ctx _context.Context, subject string, version string) ApiGetSchemaByVersionRequest

	// GetSchemaByVersionExecute executes the request
	//  @return Schema
	GetSchemaByVersionExecute(r ApiGetSchemaByVersionRequest) (Schema, *_nethttp.Response, error)

	/*
		GetSchemaOnly1 Get schema string by version

		Retrieves the schema for the specified version of this subject. Only the unescaped schema string is returned.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @param version Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string \"latest\". \"latest\" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served.
		 @return ApiGetSchemaOnly1Request
	*/
	GetSchemaOnly1(ctx _context.Context, subject string, version string) ApiGetSchemaOnly1Request

	// GetSchemaOnly1Execute executes the request
	//  @return string
	GetSchemaOnly1Execute(r ApiGetSchemaOnly1Request) (string, *_nethttp.Response, error)

	/*
		List List subjects

		Retrieves a list of registered subjects matching specified parameters.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiListRequest
	*/
	List(ctx _context.Context) ApiListRequest

	// ListExecute executes the request
	//  @return []string
	ListExecute(r ApiListRequest) ([]string, *_nethttp.Response, error)

	/*
		ListVersions List versions under subject

		Retrieves a list of versions registered under the specified subject.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Name of the subject
		 @return ApiListVersionsRequest
	*/
	ListVersions(ctx _context.Context, subject string) ApiListVersionsRequest

	// ListVersionsExecute executes the request
	//  @return []int32
	ListVersionsExecute(r ApiListVersionsRequest) ([]int32, *_nethttp.Response, error)

	/*
		LookUpSchemaUnderSubject Lookup schema under subject

		Check if a schema has already been registered under the specified subject. If so, this returns the schema string along with its globally unique identifier, its version under this subject and the subject name.

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param subject Subject under which the schema will be registered
		 @return ApiLookUpSchemaUnderSubjectRequest
	*/
	LookUpSchemaUnderSubject(ctx _context.Context, subject string) ApiLookUpSchemaUnderSubjectRequest

	// LookUpSchemaUnderSubjectExecute executes the request
	//  @return Schema
	LookUpSchemaUnderSubjectExecute(r ApiLookUpSchemaUnderSubjectRequest) (Schema, *_nethttp.Response, error)

	/*
			Register Register schema under a subject

			Register a new schema under the specified subject. If successfully registered, this returns the unique identifier of this schema in the registry. The returned identifier should be used to retrieve this schema from the schemas resource and is different from the schema's version which is associated with the subject. If the same schema is registered under a different subject, the same identifier will be returned. However, the version of the schema may be different under different subjects.
		A schema should be compatible with the previously registered schema or schemas (if there are any) as per the configured compatibility level. The configured compatibility level can be obtained by issuing a GET http:get:: /config/(string: subject). If that returns null, then GET http:get:: /config
		When there are multiple instances of Schema Registry running in the same cluster, the schema registration request will be forwarded to one of the instances designated as the primary. If the primary is not available, the client will get an error code indicating that the forwarding has failed.

			 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			 @param subject Name of the subject
			 @return ApiRegisterRequest
	*/
	Register(ctx _context.Context, subject string) ApiRegisterRequest

	// RegisterExecute executes the request
	//  @return RegisterSchemaResponse
	RegisterExecute(r ApiRegisterRequest) (RegisterSchemaResponse, *_nethttp.Response, error)
}

type SubjectsV1ApiService

type SubjectsV1ApiService service

SubjectsV1ApiService SubjectsV1Api service

func (*SubjectsV1ApiService) DeleteSchemaVersion added in v0.2.0

func (a *SubjectsV1ApiService) DeleteSchemaVersion(ctx _context.Context, subject string, version string) ApiDeleteSchemaVersionRequest

DeleteSchemaVersion Delete schema version

Deletes a specific version of the schema registered under this subject. This only deletes the version and the schema ID remains intact making it still possible to decode data using the schema ID. This API is recommended to be used only in development environments or under extreme circumstances where-in, its required to delete a previously registered schema for compatibility purposes or re-register previously registered schema.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@param version Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string \"latest\". \"latest\" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served.
@return ApiDeleteSchemaVersionRequest

func (*SubjectsV1ApiService) DeleteSchemaVersionExecute added in v0.2.0

func (a *SubjectsV1ApiService) DeleteSchemaVersionExecute(r ApiDeleteSchemaVersionRequest) (int32, *_nethttp.Response, error)

Execute executes the request

@return int32

func (*SubjectsV1ApiService) DeleteSubject

func (a *SubjectsV1ApiService) DeleteSubject(ctx _context.Context, subject string) ApiDeleteSubjectRequest

DeleteSubject Delete subject

Deletes the specified subject and its associated compatibility level if registered. It is recommended to use this API only when a topic needs to be recycled or in development environment.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@return ApiDeleteSubjectRequest

func (*SubjectsV1ApiService) DeleteSubjectExecute

func (a *SubjectsV1ApiService) DeleteSubjectExecute(r ApiDeleteSubjectRequest) ([]int32, *_nethttp.Response, error)

Execute executes the request

@return []int32

func (*SubjectsV1ApiService) GetReferencedBy added in v0.2.0

func (a *SubjectsV1ApiService) GetReferencedBy(ctx _context.Context, subject string, version string) ApiGetReferencedByRequest

GetReferencedBy List schemas referencing a schema

Retrieves the IDs of schemas that reference the specified schema.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@param version Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string \"latest\". \"latest\" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served.
@return ApiGetReferencedByRequest

func (*SubjectsV1ApiService) GetReferencedByExecute added in v0.2.0

func (a *SubjectsV1ApiService) GetReferencedByExecute(r ApiGetReferencedByRequest) ([]int32, *_nethttp.Response, error)

Execute executes the request

@return []int32

func (*SubjectsV1ApiService) GetSchemaByVersion added in v0.2.0

func (a *SubjectsV1ApiService) GetSchemaByVersion(ctx _context.Context, subject string, version string) ApiGetSchemaByVersionRequest

GetSchemaByVersion Get schema by version

Retrieves a specific version of the schema registered under this subject.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@param version Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string \"latest\". \"latest\" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served.
@return ApiGetSchemaByVersionRequest

func (*SubjectsV1ApiService) GetSchemaByVersionExecute added in v0.2.0

func (a *SubjectsV1ApiService) GetSchemaByVersionExecute(r ApiGetSchemaByVersionRequest) (Schema, *_nethttp.Response, error)

Execute executes the request

@return Schema

func (*SubjectsV1ApiService) GetSchemaOnly1 added in v0.2.0

func (a *SubjectsV1ApiService) GetSchemaOnly1(ctx _context.Context, subject string, version string) ApiGetSchemaOnly1Request

GetSchemaOnly1 Get schema string by version

Retrieves the schema for the specified version of this subject. Only the unescaped schema string is returned.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@param version Version of the schema to be returned. Valid values for versionId are between [1,2^31-1] or the string \"latest\". \"latest\" returns the last registered schema under the specified subject. Note that there may be a new latest schema that gets registered right after this request is served.
@return ApiGetSchemaOnly1Request

func (*SubjectsV1ApiService) GetSchemaOnly1Execute added in v0.2.0

Execute executes the request

@return string

func (*SubjectsV1ApiService) List

List List subjects

Retrieves a list of registered subjects matching specified parameters.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListRequest

func (*SubjectsV1ApiService) ListExecute

Execute executes the request

@return []string

func (*SubjectsV1ApiService) ListVersions added in v0.2.0

func (a *SubjectsV1ApiService) ListVersions(ctx _context.Context, subject string) ApiListVersionsRequest

ListVersions List versions under subject

Retrieves a list of versions registered under the specified subject.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@return ApiListVersionsRequest

func (*SubjectsV1ApiService) ListVersionsExecute added in v0.2.0

func (a *SubjectsV1ApiService) ListVersionsExecute(r ApiListVersionsRequest) ([]int32, *_nethttp.Response, error)

Execute executes the request

@return []int32

func (*SubjectsV1ApiService) LookUpSchemaUnderSubject

func (a *SubjectsV1ApiService) LookUpSchemaUnderSubject(ctx _context.Context, subject string) ApiLookUpSchemaUnderSubjectRequest

LookUpSchemaUnderSubject Lookup schema under subject

Check if a schema has already been registered under the specified subject. If so, this returns the schema string along with its globally unique identifier, its version under this subject and the subject name.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Subject under which the schema will be registered
@return ApiLookUpSchemaUnderSubjectRequest

func (*SubjectsV1ApiService) LookUpSchemaUnderSubjectExecute

func (a *SubjectsV1ApiService) LookUpSchemaUnderSubjectExecute(r ApiLookUpSchemaUnderSubjectRequest) (Schema, *_nethttp.Response, error)

Execute executes the request

@return Schema

func (*SubjectsV1ApiService) Register added in v0.2.0

Register Register schema under a subject

Register a new schema under the specified subject. If successfully registered, this returns the unique identifier of this schema in the registry. The returned identifier should be used to retrieve this schema from the schemas resource and is different from the schema's version which is associated with the subject. If the same schema is registered under a different subject, the same identifier will be returned. However, the version of the schema may be different under different subjects. A schema should be compatible with the previously registered schema or schemas (if there are any) as per the configured compatibility level. The configured compatibility level can be obtained by issuing a GET http:get:: /config/(string: subject). If that returns null, then GET http:get:: /config When there are multiple instances of Schema Registry running in the same cluster, the schema registration request will be forwarded to one of the instances designated as the primary. If the primary is not available, the client will get an error code indicating that the forwarding has failed.

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subject Name of the subject
@return ApiRegisterRequest

func (*SubjectsV1ApiService) RegisterExecute added in v0.2.0

Execute executes the request

@return RegisterSchemaResponse

type UpdateKekRequest added in v0.4.0

type UpdateKekRequest struct {
	KmsProps *map[string]string `json:"kmsProps,omitempty"`
	Doc      *string            `json:"doc,omitempty"`
	Shared   *bool              `json:"shared,omitempty"`
}

UpdateKekRequest struct for UpdateKekRequest

func NewUpdateKekRequest added in v0.4.0

func NewUpdateKekRequest() *UpdateKekRequest

NewUpdateKekRequest instantiates a new UpdateKekRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateKekRequestWithDefaults added in v0.4.0

func NewUpdateKekRequestWithDefaults() *UpdateKekRequest

NewUpdateKekRequestWithDefaults instantiates a new UpdateKekRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateKekRequest) GetDoc added in v0.4.0

func (o *UpdateKekRequest) GetDoc() string

GetDoc returns the Doc field value if set, zero value otherwise.

func (*UpdateKekRequest) GetDocOk added in v0.4.0

func (o *UpdateKekRequest) GetDocOk() (*string, bool)

GetDocOk returns a tuple with the Doc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateKekRequest) GetKmsProps added in v0.4.0

func (o *UpdateKekRequest) GetKmsProps() map[string]string

GetKmsProps returns the KmsProps field value if set, zero value otherwise.

func (*UpdateKekRequest) GetKmsPropsOk added in v0.4.0

func (o *UpdateKekRequest) GetKmsPropsOk() (*map[string]string, bool)

GetKmsPropsOk returns a tuple with the KmsProps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateKekRequest) GetShared added in v0.4.0

func (o *UpdateKekRequest) GetShared() bool

GetShared returns the Shared field value if set, zero value otherwise.

func (*UpdateKekRequest) GetSharedOk added in v0.4.0

func (o *UpdateKekRequest) GetSharedOk() (*bool, bool)

GetSharedOk returns a tuple with the Shared field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateKekRequest) HasDoc added in v0.4.0

func (o *UpdateKekRequest) HasDoc() bool

HasDoc returns a boolean if a field has been set.

func (*UpdateKekRequest) HasKmsProps added in v0.4.0

func (o *UpdateKekRequest) HasKmsProps() bool

HasKmsProps returns a boolean if a field has been set.

func (*UpdateKekRequest) HasShared added in v0.4.0

func (o *UpdateKekRequest) HasShared() bool

HasShared returns a boolean if a field has been set.

func (UpdateKekRequest) MarshalJSON added in v0.4.0

func (o UpdateKekRequest) MarshalJSON() ([]byte, error)

func (*UpdateKekRequest) Redact added in v0.4.0

func (o *UpdateKekRequest) Redact()

Redact resets all sensitive fields to their zero value.

func (*UpdateKekRequest) SetDoc added in v0.4.0

func (o *UpdateKekRequest) SetDoc(v string)

SetDoc gets a reference to the given string and assigns it to the Doc field.

func (*UpdateKekRequest) SetKmsProps added in v0.4.0

func (o *UpdateKekRequest) SetKmsProps(v map[string]string)

SetKmsProps gets a reference to the given map[string]string and assigns it to the KmsProps field.

func (*UpdateKekRequest) SetShared added in v0.4.0

func (o *UpdateKekRequest) SetShared(v bool)

SetShared gets a reference to the given bool and assigns it to the Shared field.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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