registryclient

package module
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 22 Imported by: 1

README

Apicurio Registry Client SDK for Go

Apicurio Registry is a datastore for standard event schemas and API designs. Apicurio Registry enables developers to manage and share the structure of their data using a REST interface. For example, client applications can dynamically push or pull the latest updates to or from the registry without needing to redeploy. Apicurio Registry also enables developers to create rules that govern how registry content can evolve over time. For example, this includes rules for content validation and version compatibility.

The Apicurio Registry REST API enables client applications to manage the artifacts in the registry. This API provides create, read, update, and delete operations for schema and API artifacts, rules, versions, and metadata.

The supported artifact types include:

  • Apache Avro schema
  • AsyncAPI specification
  • Google protocol buffers
  • GraphQL schema
  • JSON Schema
  • Kafka Connect schema
  • OpenAPI specification
  • Web Services Description Language
  • XML Schema Definition

Important: The Apicurio Registry REST API is available from https://MY-REGISTRY-URL/apis/registry/v2 by default. Therefore you must prefix all API operation paths with ../apis/registry/v2 in this case. For example: ../apis/registry/v2/ids/globalIds/{globalId}.

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 client SDK library to your Go project:

go get github.com/Apicurio/apicurio-registry-client-sdk-go

Add the following import to use it:

import "github.com/Apicurio/apicurio-registry-client-sdk-go"

To use a proxy, set the environment variable HTTP_PROXY:

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

Creating an API client

To create an API client using the default configuration options:

cfg := registryclient.NewConfiguration()
registryClient := registryclient.NewAPIClient(&cfg)

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(), registryclient.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(), registryclient.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(), registryclient.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), registryclient.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AdminApi CreateGlobalRule Post /admin/rules Create global rule
AdminApi CreateRoleMapping Post /admin/roleMappings Create a new role mapping
AdminApi DeleteAllGlobalRules Delete /admin/rules Delete all global rules
AdminApi DeleteGlobalRule Delete /admin/rules/{rule} Delete global rule
AdminApi DeleteRoleMapping Delete /admin/roleMappings/{principalId} Delete a role mapping
AdminApi ExportData Get /admin/export Export registry data
AdminApi GetConfigProperty Get /admin/config/properties/{propertyName} Get the value of a configuration property
AdminApi GetGlobalRuleConfig Get /admin/rules/{rule} Get global rule configuration
AdminApi GetLogConfiguration Get /admin/loggers/{logger} Get a single logger configuration
AdminApi GetRoleMapping Get /admin/roleMappings/{principalId} Return a single role mapping
AdminApi ImportData Post /admin/import Import registry data
AdminApi ListConfigProperties Get /admin/config/properties List all configuration properties
AdminApi ListGlobalRules Get /admin/rules List global rules
AdminApi ListLogConfigurations Get /admin/loggers List logging configurations
AdminApi ListRoleMappings Get /admin/roleMappings List all role mappings
AdminApi RemoveLogConfiguration Delete /admin/loggers/{logger} Removes logger configuration
AdminApi ResetConfigProperty Delete /admin/config/properties/{propertyName} Reset a configuration property
AdminApi SetLogConfiguration Put /admin/loggers/{logger} Set a logger's configuration
AdminApi UpdateConfigProperty Put /admin/config/properties/{propertyName} Update a configuration property
AdminApi UpdateGlobalRuleConfig Put /admin/rules/{rule} Update global rule configuration
AdminApi UpdateRoleMapping Put /admin/roleMappings/{principalId} Update a role mapping
ArtifactRulesApi CreateArtifactRule Post /groups/{groupId}/artifacts/{artifactId}/rules Create artifact rule
ArtifactRulesApi DeleteArtifactRule Delete /groups/{groupId}/artifacts/{artifactId}/rules/{rule} Delete artifact rule
ArtifactRulesApi DeleteArtifactRules Delete /groups/{groupId}/artifacts/{artifactId}/rules Delete artifact rules
ArtifactRulesApi GetArtifactRuleConfig Get /groups/{groupId}/artifacts/{artifactId}/rules/{rule} Get artifact rule configuration
ArtifactRulesApi ListArtifactRules Get /groups/{groupId}/artifacts/{artifactId}/rules List artifact rules
ArtifactRulesApi TestUpdateArtifact Put /groups/{groupId}/artifacts/{artifactId}/test Test update artifact
ArtifactRulesApi UpdateArtifactRuleConfig Put /groups/{groupId}/artifacts/{artifactId}/rules/{rule} Update artifact rule configuration
ArtifactsApi CreateArtifact Post /groups/{groupId}/artifacts Create artifact
ArtifactsApi DeleteArtifact Delete /groups/{groupId}/artifacts/{artifactId} Delete artifact
ArtifactsApi DeleteArtifactsInGroup Delete /groups/{groupId}/artifacts Deletes all artifacts in a group
ArtifactsApi GetContentByGlobalId Get /ids/globalIds/{globalId} Get artifact by global ID
ArtifactsApi GetContentByHash Get /ids/contentHashes/{contentHash}/ Get artifact content by SHA-256 hash
ArtifactsApi GetContentById Get /ids/contentIds/{contentId}/ Get artifact content by ID
ArtifactsApi GetLatestArtifact Get /groups/{groupId}/artifacts/{artifactId} Get latest artifact
ArtifactsApi ListArtifactsInGroup Get /groups/{groupId}/artifacts List artifacts in group
ArtifactsApi ReferencesByContentHash Get /ids/contentHashes/{contentHash}/references Returns a list with all the references for the artifact with the given hash
ArtifactsApi ReferencesByContentId Get /ids/contentIds/{contentId}/references Returns a list with all the references for the artifact with the given content id.
ArtifactsApi ReferencesByGlobalId Get /ids/globalIds/{globalId}/references Returns a list with all the references for the artifact with the given global id.
ArtifactsApi SearchArtifacts Get /search/artifacts Search for artifacts
ArtifactsApi SearchArtifactsByContent Post /search/artifacts Search for artifacts by content
ArtifactsApi UpdateArtifact Put /groups/{groupId}/artifacts/{artifactId} Update artifact
ArtifactsApi UpdateArtifactState Put /groups/{groupId}/artifacts/{artifactId}/state Update artifact state
MetadataApi DeleteArtifactVersionMetaData Delete /groups/{groupId}/artifacts/{artifactId}/versions/{version}/meta Delete artifact version metadata
MetadataApi GetArtifactMetaData Get /groups/{groupId}/artifacts/{artifactId}/meta Get artifact metadata
MetadataApi GetArtifactVersionMetaData Get /groups/{groupId}/artifacts/{artifactId}/versions/{version}/meta Get artifact version metadata
MetadataApi GetArtifactVersionMetaDataByContent Post /groups/{groupId}/artifacts/{artifactId}/meta Get artifact version metadata by content
MetadataApi UpdateArtifactMetaData Put /groups/{groupId}/artifacts/{artifactId}/meta Update artifact metadata
MetadataApi UpdateArtifactVersionMetaData Put /groups/{groupId}/artifacts/{artifactId}/versions/{version}/meta Update artifact version metadata
SystemApi GetResourceLimits Get /system/limits Get resource limits information
SystemApi GetSystemInfo Get /system/info Get system information
UsersApi GetCurrentUserInfo Get /users/me Get current user
VersionsApi CreateArtifactVersion Post /groups/{groupId}/artifacts/{artifactId}/versions Create artifact version
VersionsApi GetArtifactVersion Get /groups/{groupId}/artifacts/{artifactId}/versions/{version} Get artifact version
VersionsApi GetArtifactVersionReferences Get /groups/{groupId}/artifacts/{artifactId}/versions/{version}/references Get artifact version
VersionsApi ListArtifactVersions Get /groups/{groupId}/artifacts/{artifactId}/versions List artifact versions
VersionsApi UpdateArtifactVersionState Put /groups/{groupId}/artifacts/{artifactId}/versions/{version}/state Update artifact version state

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

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

apicurio@lists.jboss.org

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")
)
View Source
var AllowedArtifactStateEnumValues = []ArtifactState{
	"ENABLED",
	"DISABLED",
	"DEPRECATED",
}

All allowed values of ArtifactState enum

View Source
var AllowedArtifactTypeEnumValues = []ArtifactType{
	"AVRO",
	"PROTOBUF",
	"JSON",
	"OPENAPI",
	"ASYNCAPI",
	"GRAPHQL",
	"KCONNECT",
	"WSDL",
	"XSD",
	"XML",
}

All allowed values of ArtifactType enum

View Source
var AllowedIfExistsEnumValues = []IfExists{
	"FAIL",
	"UPDATE",
	"RETURN",
	"RETURN_OR_UPDATE",
}

All allowed values of IfExists enum

View Source
var AllowedLogLevelEnumValues = []LogLevel{
	"DEBUG",
	"TRACE",
	"WARN",
	"ERROR",
	"SEVERE",
	"WARNING",
	"INFO",
	"CONFIG",
	"FINE",
	"FINER",
	"FINEST",
}

All allowed values of LogLevel enum

View Source
var AllowedRoleTypeEnumValues = []RoleType{
	"READ_ONLY",
	"DEVELOPER",
	"ADMIN",
}

All allowed values of RoleType enum

View Source
var AllowedRuleTypeEnumValues = []RuleType{
	"VALIDITY",
	"COMPATIBILITY",
}

All allowed values of RuleType enum

View Source
var AllowedSortByEnumValues = []SortBy{
	"name",
	"createdOn",
}

All allowed values of SortBy enum

View Source
var AllowedSortOrderEnumValues = []SortOrder{
	"asc",
	"desc",
}

All allowed values of SortOrder enum

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 {
	AdminApi *AdminApiService

	ArtifactRulesApi *ArtifactRulesApiService

	ArtifactsApi *ArtifactsApiService

	MetadataApi *MetadataApiService

	SystemApi *SystemApiService

	UsersApi *UsersApiService

	VersionsApi *VersionsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Apicurio Registry API [v2] API v2.2.4-SNAPSHOT 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 AdminApiService

type AdminApiService service

AdminApiService AdminApi service

func (*AdminApiService) CreateGlobalRule

func (a *AdminApiService) CreateGlobalRule(ctx context.Context) ApiCreateGlobalRuleRequest

CreateGlobalRule Create global rule

Adds a rule to the list of globally configured rules.

This operation can fail for the following reasons:

* The rule type is unknown (HTTP error `400`) * The rule already exists (HTTP error `409`) * A server error occurred (HTTP error `500`)

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

func (*AdminApiService) CreateGlobalRuleExecute

func (a *AdminApiService) CreateGlobalRuleExecute(r ApiCreateGlobalRuleRequest) (*http.Response, error)

Execute executes the request

func (*AdminApiService) CreateRoleMapping

func (a *AdminApiService) CreateRoleMapping(ctx context.Context) ApiCreateRoleMappingRequest

CreateRoleMapping Create a new role mapping

Creates a new mapping between a user/principal and a role.

This operation can fail for the following reasons:

* A server error occurred (HTTP error `500`)

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

func (*AdminApiService) CreateRoleMappingExecute

func (a *AdminApiService) CreateRoleMappingExecute(r ApiCreateRoleMappingRequest) (*http.Response, error)

Execute executes the request

func (*AdminApiService) DeleteAllGlobalRules

func (a *AdminApiService) DeleteAllGlobalRules(ctx context.Context) ApiDeleteAllGlobalRulesRequest

DeleteAllGlobalRules Delete all global rules

Deletes all globally configured rules.

This operation can fail for the following reasons:

* A server error occurred (HTTP error `500`)

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

func (*AdminApiService) DeleteAllGlobalRulesExecute

func (a *AdminApiService) DeleteAllGlobalRulesExecute(r ApiDeleteAllGlobalRulesRequest) (*http.Response, error)

Execute executes the request

func (*AdminApiService) DeleteGlobalRule

func (a *AdminApiService) DeleteGlobalRule(ctx context.Context, rule RuleType) ApiDeleteGlobalRuleRequest

DeleteGlobalRule Delete global rule

Deletes a single global rule. If this is the only rule configured, this is the same as deleting **all** rules.

This operation can fail for the following reasons:

* Invalid rule name/type (HTTP error `400`) * No rule with name/type `rule` exists (HTTP error `404`) * Rule cannot be deleted (HTTP error `409`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param rule The unique name/type of a rule.
@return ApiDeleteGlobalRuleRequest

func (*AdminApiService) DeleteGlobalRuleExecute

func (a *AdminApiService) DeleteGlobalRuleExecute(r ApiDeleteGlobalRuleRequest) (*http.Response, error)

Execute executes the request

func (*AdminApiService) DeleteRoleMapping

func (a *AdminApiService) DeleteRoleMapping(ctx context.Context, principalId string) ApiDeleteRoleMappingRequest

DeleteRoleMapping Delete a role mapping

Deletes a single role mapping, effectively denying access to a user/principal.

This operation can fail for the following reasons:

* No role mapping for the principalId exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param principalId Unique id of a principal (typically either a user or service account).
@return ApiDeleteRoleMappingRequest

func (*AdminApiService) DeleteRoleMappingExecute

func (a *AdminApiService) DeleteRoleMappingExecute(r ApiDeleteRoleMappingRequest) (*http.Response, error)

Execute executes the request

func (*AdminApiService) ExportData

ExportData Export registry data

Exports registry data as a ZIP archive.

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

func (*AdminApiService) ExportDataExecute

func (a *AdminApiService) ExportDataExecute(r ApiExportDataRequest) (**os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*AdminApiService) GetConfigProperty added in v0.4.0

func (a *AdminApiService) GetConfigProperty(ctx context.Context, propertyName string) ApiGetConfigPropertyRequest

GetConfigProperty Get the value of a configuration property

Returns the value of a single configuration property.

This operation may fail for one of the following reasons:

* Property not found or not configured (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param propertyName The name of a configuration property.
@return ApiGetConfigPropertyRequest

func (*AdminApiService) GetConfigPropertyExecute added in v0.4.0

Execute executes the request

@return ConfigurationProperty

func (*AdminApiService) GetGlobalRuleConfig

func (a *AdminApiService) GetGlobalRuleConfig(ctx context.Context, rule RuleType) ApiGetGlobalRuleConfigRequest

GetGlobalRuleConfig Get global rule configuration

Returns information about the named globally configured rule.

This operation can fail for the following reasons:

* Invalid rule name/type (HTTP error `400`) * No rule with name/type `rule` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param rule The unique name/type of a rule.
@return ApiGetGlobalRuleConfigRequest

func (*AdminApiService) GetGlobalRuleConfigExecute

func (a *AdminApiService) GetGlobalRuleConfigExecute(r ApiGetGlobalRuleConfigRequest) (*Rule, *http.Response, error)

Execute executes the request

@return Rule

func (*AdminApiService) GetLogConfiguration

func (a *AdminApiService) GetLogConfiguration(ctx context.Context, logger string) ApiGetLogConfigurationRequest

GetLogConfiguration Get a single logger configuration

Returns the configured logger configuration for the provided logger name, if no logger configuration is persisted it will return the current default log configuration in the system.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param logger The name of a single logger.
@return ApiGetLogConfigurationRequest

func (*AdminApiService) GetLogConfigurationExecute

Execute executes the request

@return NamedLogConfiguration

func (*AdminApiService) GetRoleMapping

func (a *AdminApiService) GetRoleMapping(ctx context.Context, principalId string) ApiGetRoleMappingRequest

GetRoleMapping Return a single role mapping

Gets the details of a single role mapping (by principalId).

This operation can fail for the following reasons:

* No role mapping for the principalId exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param principalId Unique id of a principal (typically either a user or service account).
@return ApiGetRoleMappingRequest

func (*AdminApiService) GetRoleMappingExecute

func (a *AdminApiService) GetRoleMappingExecute(r ApiGetRoleMappingRequest) (*RoleMapping, *http.Response, error)

Execute executes the request

@return RoleMapping

func (*AdminApiService) ImportData

ImportData Import registry data

Imports registry data that was previously exported using the `/admin/export` operation.

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

func (*AdminApiService) ImportDataExecute

func (a *AdminApiService) ImportDataExecute(r ApiImportDataRequest) (*http.Response, error)

Execute executes the request

func (*AdminApiService) ListConfigProperties added in v0.4.0

func (a *AdminApiService) ListConfigProperties(ctx context.Context) ApiListConfigPropertiesRequest

ListConfigProperties List all configuration properties

Returns a list of all configuration properties that have been set. The list is not paged.

This operation may fail for one of the following reasons:

* A server error occurred (HTTP error `500`)

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

func (*AdminApiService) ListConfigPropertiesExecute added in v0.4.0

Execute executes the request

@return []ConfigurationProperty

func (*AdminApiService) ListGlobalRules

func (a *AdminApiService) ListGlobalRules(ctx context.Context) ApiListGlobalRulesRequest

ListGlobalRules List global rules

Gets a list of all the currently configured global rules (if any).

This operation can fail for the following reasons:

* A server error occurred (HTTP error `500`)

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

func (*AdminApiService) ListGlobalRulesExecute

func (a *AdminApiService) ListGlobalRulesExecute(r ApiListGlobalRulesRequest) ([]RuleType, *http.Response, error)

Execute executes the request

@return []RuleType

func (*AdminApiService) ListLogConfigurations

func (a *AdminApiService) ListLogConfigurations(ctx context.Context) ApiListLogConfigurationsRequest

ListLogConfigurations List logging configurations

List all of the configured logging levels. These override the default logging configuration.

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

func (*AdminApiService) ListLogConfigurationsExecute

func (a *AdminApiService) ListLogConfigurationsExecute(r ApiListLogConfigurationsRequest) ([]NamedLogConfiguration, *http.Response, error)

Execute executes the request

@return []NamedLogConfiguration

func (*AdminApiService) ListRoleMappings

func (a *AdminApiService) ListRoleMappings(ctx context.Context) ApiListRoleMappingsRequest

ListRoleMappings List all role mappings

Gets a list of all role mappings configured in the registry (if any).

This operation can fail for the following reasons:

* A server error occurred (HTTP error `500`)

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

func (*AdminApiService) ListRoleMappingsExecute

func (a *AdminApiService) ListRoleMappingsExecute(r ApiListRoleMappingsRequest) ([]RoleMapping, *http.Response, error)

Execute executes the request

@return []RoleMapping

func (*AdminApiService) RemoveLogConfiguration

func (a *AdminApiService) RemoveLogConfiguration(ctx context.Context, logger string) ApiRemoveLogConfigurationRequest

RemoveLogConfiguration Removes logger configuration

Removes the configured logger configuration (if any) for the given logger.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param logger The name of a single logger.
@return ApiRemoveLogConfigurationRequest

func (*AdminApiService) RemoveLogConfigurationExecute

Execute executes the request

@return NamedLogConfiguration

func (*AdminApiService) ResetConfigProperty added in v0.4.0

func (a *AdminApiService) ResetConfigProperty(ctx context.Context, propertyName string) ApiResetConfigPropertyRequest

ResetConfigProperty Reset a configuration property

Resets the value of a single configuration property. This will return the property to its default value (see external documentation for supported properties and their default values).

This operation may fail for one of the following reasons:

* Property not found or not configured (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param propertyName The name of a configuration property.
@return ApiResetConfigPropertyRequest

func (*AdminApiService) ResetConfigPropertyExecute added in v0.4.0

func (a *AdminApiService) ResetConfigPropertyExecute(r ApiResetConfigPropertyRequest) (*http.Response, error)

Execute executes the request

func (*AdminApiService) SetLogConfiguration

func (a *AdminApiService) SetLogConfiguration(ctx context.Context, logger string) ApiSetLogConfigurationRequest

SetLogConfiguration Set a logger's configuration

Configures the logger referenced by the provided logger name with the given configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param logger The name of a single logger.
@return ApiSetLogConfigurationRequest

func (*AdminApiService) SetLogConfigurationExecute

Execute executes the request

@return NamedLogConfiguration

func (*AdminApiService) UpdateConfigProperty added in v0.4.0

func (a *AdminApiService) UpdateConfigProperty(ctx context.Context, propertyName string) ApiUpdateConfigPropertyRequest

UpdateConfigProperty Update a configuration property

Updates the value of a single configuration property.

This operation may fail for one of the following reasons:

* Property not found or not configured (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param propertyName The name of a configuration property.
@return ApiUpdateConfigPropertyRequest

func (*AdminApiService) UpdateConfigPropertyExecute added in v0.4.0

func (a *AdminApiService) UpdateConfigPropertyExecute(r ApiUpdateConfigPropertyRequest) (*http.Response, error)

Execute executes the request

func (*AdminApiService) UpdateGlobalRuleConfig

func (a *AdminApiService) UpdateGlobalRuleConfig(ctx context.Context, rule RuleType) ApiUpdateGlobalRuleConfigRequest

UpdateGlobalRuleConfig Update global rule configuration

Updates the configuration for a globally configured rule.

This operation can fail for the following reasons:

* Invalid rule name/type (HTTP error `400`) * No rule with name/type `rule` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param rule The unique name/type of a rule.
@return ApiUpdateGlobalRuleConfigRequest

func (*AdminApiService) UpdateGlobalRuleConfigExecute

func (a *AdminApiService) UpdateGlobalRuleConfigExecute(r ApiUpdateGlobalRuleConfigRequest) (*Rule, *http.Response, error)

Execute executes the request

@return Rule

func (*AdminApiService) UpdateRoleMapping

func (a *AdminApiService) UpdateRoleMapping(ctx context.Context, principalId string) ApiUpdateRoleMappingRequest

UpdateRoleMapping Update a role mapping

Updates a single role mapping for one user/principal.

This operation can fail for the following reasons:

* No role mapping for the principalId exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param principalId Unique id of a principal (typically either a user or service account).
@return ApiUpdateRoleMappingRequest

func (*AdminApiService) UpdateRoleMappingExecute

func (a *AdminApiService) UpdateRoleMappingExecute(r ApiUpdateRoleMappingRequest) (*http.Response, error)

Execute executes the request

type ApiCreateArtifactRequest

type ApiCreateArtifactRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiCreateArtifactRequest) Body

func (r ApiCreateArtifactRequest) Body(body interface{}) ApiCreateArtifactRequest

The content of the artifact being created. This is often, but not always, JSON data representing one of the supported artifact types: * Avro (`AVRO`) * Protobuf (`PROTOBUF`) * JSON Schema (`JSON`) * Kafka Connect (`KCONNECT`) * OpenAPI (`OPENAPI`) * AsyncAPI (`ASYNCAPI`) * GraphQL (`GRAPHQL`) * Web Services Description Language (`WSDL`) * XML Schema (`XSD`)

func (ApiCreateArtifactRequest) Canonical

Used only when the `ifExists` query parameter is set to `RETURN_OR_UPDATE`, this parameter can be set to `true` to indicate that the server should \"canonicalize\" the content when searching for a matching version. The canonicalization algorithm is unique to each artifact type, but typically involves removing extra whitespace and formatting the content in a consistent manner.

func (ApiCreateArtifactRequest) Execute

func (ApiCreateArtifactRequest) IfExists

Set this option to instruct the server on what to do if the artifact already exists.

func (ApiCreateArtifactRequest) XRegistryArtifactId

func (r ApiCreateArtifactRequest) XRegistryArtifactId(xRegistryArtifactId string) ApiCreateArtifactRequest

A client-provided, globally unique identifier for the new artifact.

func (ApiCreateArtifactRequest) XRegistryArtifactType

func (r ApiCreateArtifactRequest) XRegistryArtifactType(xRegistryArtifactType ArtifactType) ApiCreateArtifactRequest

Specifies the type of the artifact being added. Possible values include: * Avro (`AVRO`) * Protobuf (`PROTOBUF`) * JSON Schema (`JSON`) * Kafka Connect (`KCONNECT`) * OpenAPI (`OPENAPI`) * AsyncAPI (`ASYNCAPI`) * GraphQL (`GRAPHQL`) * Web Services Description Language (`WSDL`) * XML Schema (`XSD`)

func (ApiCreateArtifactRequest) XRegistryDescription

func (r ApiCreateArtifactRequest) XRegistryDescription(xRegistryDescription string) ApiCreateArtifactRequest

Specifies the description of artifact being added. Description must be ASCII-only string. If this is not provided, the server will extract the description from the artifact content.

func (ApiCreateArtifactRequest) XRegistryDescriptionEncoded

func (r ApiCreateArtifactRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiCreateArtifactRequest

Specifies the description of artifact being added. Value of this must be Base64 encoded string. If this is not provided, the server will extract the description from the artifact content.

func (ApiCreateArtifactRequest) XRegistryName

func (r ApiCreateArtifactRequest) XRegistryName(xRegistryName string) ApiCreateArtifactRequest

Specifies the name of artifact being added. Name must be ASCII-only string. If this is not provided, the server will extract the name from the artifact content.

func (ApiCreateArtifactRequest) XRegistryNameEncoded

func (r ApiCreateArtifactRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiCreateArtifactRequest

Specifies the name of artifact being added. Value of this must be Base64 encoded string. If this is not provided, the server will extract the name from the artifact content.

func (ApiCreateArtifactRequest) XRegistryVersion

func (r ApiCreateArtifactRequest) XRegistryVersion(xRegistryVersion string) ApiCreateArtifactRequest

Specifies the version number of this initial version of the artifact content. This would typically be a simple integer or a SemVer value. If not provided, the server will assign a version number automatically (starting with version `1`).

type ApiCreateArtifactRuleRequest

type ApiCreateArtifactRuleRequest struct {
	ApiService *ArtifactRulesApiService
	// contains filtered or unexported fields
}

func (ApiCreateArtifactRuleRequest) Execute

func (ApiCreateArtifactRuleRequest) Rule

type ApiCreateArtifactVersionRequest

type ApiCreateArtifactVersionRequest struct {
	ApiService *VersionsApiService
	// contains filtered or unexported fields
}

func (ApiCreateArtifactVersionRequest) Body

The content of the artifact version being created or the content and a set of references to other artifacts. This is often, but not always, JSON data representing one of the supported artifact types: * Avro (`AVRO`) * Protobuf (`PROTOBUF`) * JSON Schema (`JSON`) * Kafka Connect (`KCONNECT`) * OpenAPI (`OPENAPI`) * AsyncAPI (`ASYNCAPI`) * GraphQL (`GRAPHQL`) * Web Services Description Language (`WSDL`) * XML Schema (`XSD`)

func (ApiCreateArtifactVersionRequest) Execute

func (ApiCreateArtifactVersionRequest) XRegistryDescription

func (r ApiCreateArtifactVersionRequest) XRegistryDescription(xRegistryDescription string) ApiCreateArtifactVersionRequest

Specifies the artifact description of this new version of the artifact content. Description must be ASCII-only string. If this is not provided, the server will extract the description from the artifact content.

func (ApiCreateArtifactVersionRequest) XRegistryDescriptionEncoded

func (r ApiCreateArtifactVersionRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiCreateArtifactVersionRequest

Specifies the artifact description of this new version of the artifact content. Value of this must be Base64 encoded string. If this is not provided, the server will extract the description from the artifact content.

func (ApiCreateArtifactVersionRequest) XRegistryName

Specifies the artifact name of this new version of the artifact content. Name must be ASCII-only string. If this is not provided, the server will extract the name from the artifact content.

func (ApiCreateArtifactVersionRequest) XRegistryNameEncoded

func (r ApiCreateArtifactVersionRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiCreateArtifactVersionRequest

Specifies the artifact name of this new version of the artifact content. Value of this must be Base64 encoded string. If this is not provided, the server will extract the name from the artifact content.

func (ApiCreateArtifactVersionRequest) XRegistryVersion

func (r ApiCreateArtifactVersionRequest) XRegistryVersion(xRegistryVersion string) ApiCreateArtifactVersionRequest

Specifies the version number of this new version of the artifact content. This would typically be a simple integer or a SemVer value. It must be unique within the artifact. If this is not provided, the server will generate a new, unique version number for this new updated content.

type ApiCreateGlobalRuleRequest

type ApiCreateGlobalRuleRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiCreateGlobalRuleRequest) Execute

func (ApiCreateGlobalRuleRequest) Rule

type ApiCreateRoleMappingRequest

type ApiCreateRoleMappingRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiCreateRoleMappingRequest) Execute

func (ApiCreateRoleMappingRequest) RoleMapping

type ApiDeleteAllGlobalRulesRequest

type ApiDeleteAllGlobalRulesRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiDeleteAllGlobalRulesRequest) Execute

type ApiDeleteArtifactRequest

type ApiDeleteArtifactRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteArtifactRequest) Execute

func (r ApiDeleteArtifactRequest) Execute() (*http.Response, error)

type ApiDeleteArtifactRuleRequest

type ApiDeleteArtifactRuleRequest struct {
	ApiService *ArtifactRulesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteArtifactRuleRequest) Execute

type ApiDeleteArtifactRulesRequest

type ApiDeleteArtifactRulesRequest struct {
	ApiService *ArtifactRulesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteArtifactRulesRequest) Execute

type ApiDeleteArtifactVersionMetaDataRequest

type ApiDeleteArtifactVersionMetaDataRequest struct {
	ApiService *MetadataApiService
	// contains filtered or unexported fields
}

func (ApiDeleteArtifactVersionMetaDataRequest) Execute

type ApiDeleteArtifactsInGroupRequest

type ApiDeleteArtifactsInGroupRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteArtifactsInGroupRequest) Execute

type ApiDeleteGlobalRuleRequest

type ApiDeleteGlobalRuleRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiDeleteGlobalRuleRequest) Execute

type ApiDeleteRoleMappingRequest

type ApiDeleteRoleMappingRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRoleMappingRequest) Execute

type ApiExportDataRequest

type ApiExportDataRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiExportDataRequest) Execute

func (r ApiExportDataRequest) Execute() (**os.File, *http.Response, error)

func (ApiExportDataRequest) ForBrowser added in v0.4.0

func (r ApiExportDataRequest) ForBrowser(forBrowser bool) ApiExportDataRequest

Indicates if the operation is done for a browser. If true, the response will be a JSON payload with a property called `href`. This `href` will be a single-use, naked download link suitable for use by a web browser to download the content.

type ApiGetArtifactMetaDataRequest

type ApiGetArtifactMetaDataRequest struct {
	ApiService *MetadataApiService
	// contains filtered or unexported fields
}

func (ApiGetArtifactMetaDataRequest) Execute

type ApiGetArtifactRuleConfigRequest

type ApiGetArtifactRuleConfigRequest struct {
	ApiService *ArtifactRulesApiService
	// contains filtered or unexported fields
}

func (ApiGetArtifactRuleConfigRequest) Execute

type ApiGetArtifactVersionMetaDataByContentRequest

type ApiGetArtifactVersionMetaDataByContentRequest struct {
	ApiService *MetadataApiService
	// contains filtered or unexported fields
}

func (ApiGetArtifactVersionMetaDataByContentRequest) Body

The content of an artifact version.

func (ApiGetArtifactVersionMetaDataByContentRequest) Canonical

Parameter that can be set to `true` to indicate that the server should \"canonicalize\" the content when searching for a matching version. Canonicalization is unique to each artifact type, but typically involves removing any extra whitespace and formatting the content in a consistent manner.

func (ApiGetArtifactVersionMetaDataByContentRequest) Execute

type ApiGetArtifactVersionMetaDataRequest

type ApiGetArtifactVersionMetaDataRequest struct {
	ApiService *MetadataApiService
	// contains filtered or unexported fields
}

func (ApiGetArtifactVersionMetaDataRequest) Execute

type ApiGetArtifactVersionReferencesRequest added in v0.4.0

type ApiGetArtifactVersionReferencesRequest struct {
	ApiService *VersionsApiService
	// contains filtered or unexported fields
}

func (ApiGetArtifactVersionReferencesRequest) Execute added in v0.4.0

type ApiGetArtifactVersionRequest

type ApiGetArtifactVersionRequest struct {
	ApiService *VersionsApiService
	// contains filtered or unexported fields
}

func (ApiGetArtifactVersionRequest) Dereference added in v0.4.0

Allows the user to specify if the content should be dereferenced when being returned

func (ApiGetArtifactVersionRequest) Execute

type ApiGetConfigPropertyRequest added in v0.4.0

type ApiGetConfigPropertyRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiGetConfigPropertyRequest) Execute added in v0.4.0

type ApiGetContentByGlobalIdRequest

type ApiGetContentByGlobalIdRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiGetContentByGlobalIdRequest) Dereference added in v0.4.0

Allows the user to specify if the content should be dereferenced when being returned

func (ApiGetContentByGlobalIdRequest) Execute

type ApiGetContentByHashRequest

type ApiGetContentByHashRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiGetContentByHashRequest) Execute

func (r ApiGetContentByHashRequest) Execute() (**os.File, *http.Response, error)

type ApiGetContentByIdRequest

type ApiGetContentByIdRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiGetContentByIdRequest) Execute

func (r ApiGetContentByIdRequest) Execute() (**os.File, *http.Response, error)

type ApiGetCurrentUserInfoRequest

type ApiGetCurrentUserInfoRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiGetCurrentUserInfoRequest) Execute

type ApiGetGlobalRuleConfigRequest

type ApiGetGlobalRuleConfigRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiGetGlobalRuleConfigRequest) Execute

type ApiGetLatestArtifactRequest

type ApiGetLatestArtifactRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiGetLatestArtifactRequest) Dereference added in v0.4.0

Allows the user to specify if the content should be dereferenced when being returned

func (ApiGetLatestArtifactRequest) Execute

type ApiGetLogConfigurationRequest

type ApiGetLogConfigurationRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiGetLogConfigurationRequest) Execute

type ApiGetResourceLimitsRequest added in v0.4.0

type ApiGetResourceLimitsRequest struct {
	ApiService *SystemApiService
	// contains filtered or unexported fields
}

func (ApiGetResourceLimitsRequest) Execute added in v0.4.0

type ApiGetRoleMappingRequest

type ApiGetRoleMappingRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiGetRoleMappingRequest) Execute

type ApiGetSystemInfoRequest

type ApiGetSystemInfoRequest struct {
	ApiService *SystemApiService
	// contains filtered or unexported fields
}

func (ApiGetSystemInfoRequest) Execute

type ApiImportDataRequest

type ApiImportDataRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiImportDataRequest) Body

The ZIP file representing the previously exported registry data.

func (ApiImportDataRequest) Execute

func (r ApiImportDataRequest) Execute() (*http.Response, error)

func (ApiImportDataRequest) XRegistryPreserveContentId added in v0.4.0

func (r ApiImportDataRequest) XRegistryPreserveContentId(xRegistryPreserveContentId bool) ApiImportDataRequest

If this header is set to false, content ids of imported data will be ignored and replaced by next id in content id sequence. The mapping between content and artifacts will be preserved. This allows to import any data even thought the content ids would cause a conflict.

func (ApiImportDataRequest) XRegistryPreserveGlobalId added in v0.4.0

func (r ApiImportDataRequest) XRegistryPreserveGlobalId(xRegistryPreserveGlobalId bool) ApiImportDataRequest

If this header is set to false, global ids of imported data will be ignored and replaced by next id in global id sequence. This allows to import any data even thought the global ids would cause a conflict.

type ApiListArtifactRulesRequest

type ApiListArtifactRulesRequest struct {
	ApiService *ArtifactRulesApiService
	// contains filtered or unexported fields
}

func (ApiListArtifactRulesRequest) Execute

type ApiListArtifactVersionsRequest

type ApiListArtifactVersionsRequest struct {
	ApiService *VersionsApiService
	// contains filtered or unexported fields
}

func (ApiListArtifactVersionsRequest) Execute

func (ApiListArtifactVersionsRequest) Limit

The number of versions to return. Defaults to 20.

func (ApiListArtifactVersionsRequest) Offset

The number of versions to skip before starting to collect the result set. Defaults to 0.

type ApiListArtifactsInGroupRequest

type ApiListArtifactsInGroupRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiListArtifactsInGroupRequest) Execute

func (ApiListArtifactsInGroupRequest) Limit

The number of artifacts to return. Defaults to 20.

func (ApiListArtifactsInGroupRequest) Offset

The number of artifacts to skip before starting the result set. Defaults to 0.

func (ApiListArtifactsInGroupRequest) Order

Sort order, ascending (`asc`) or descending (`desc`).

func (ApiListArtifactsInGroupRequest) Orderby

The field to sort by. Can be one of: * `name` * `createdOn`

type ApiListConfigPropertiesRequest added in v0.4.0

type ApiListConfigPropertiesRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiListConfigPropertiesRequest) Execute added in v0.4.0

type ApiListGlobalRulesRequest

type ApiListGlobalRulesRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiListGlobalRulesRequest) Execute

type ApiListLogConfigurationsRequest

type ApiListLogConfigurationsRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiListLogConfigurationsRequest) Execute

type ApiListRoleMappingsRequest

type ApiListRoleMappingsRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiListRoleMappingsRequest) Execute

type ApiReferencesByContentHashRequest added in v0.4.0

type ApiReferencesByContentHashRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiReferencesByContentHashRequest) Execute added in v0.4.0

type ApiReferencesByContentIdRequest added in v0.4.0

type ApiReferencesByContentIdRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiReferencesByContentIdRequest) Execute added in v0.4.0

type ApiReferencesByGlobalIdRequest added in v0.4.0

type ApiReferencesByGlobalIdRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiReferencesByGlobalIdRequest) Execute added in v0.4.0

type ApiRemoveLogConfigurationRequest

type ApiRemoveLogConfigurationRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiRemoveLogConfigurationRequest) Execute

type ApiResetConfigPropertyRequest added in v0.4.0

type ApiResetConfigPropertyRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiResetConfigPropertyRequest) Execute added in v0.4.0

type ApiSearchArtifactsByContentRequest

type ApiSearchArtifactsByContentRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiSearchArtifactsByContentRequest) ArtifactType

Indicates the type of artifact represented by the content being used for the search. This is only needed when using the `canonical` query parameter, so that the server knows how to canonicalize the content prior to searching for matching artifacts.

func (ApiSearchArtifactsByContentRequest) Body

The content to search for.

func (ApiSearchArtifactsByContentRequest) Canonical

Parameter that can be set to `true` to indicate that the server should \"canonicalize\" the content when searching for matching artifacts. Canonicalization is unique to each artifact type, but typically involves removing any extra whitespace and formatting the content in a consistent manner. Must be used along with the `artifactType` query parameter.

func (ApiSearchArtifactsByContentRequest) Execute

func (ApiSearchArtifactsByContentRequest) Limit

The number of artifacts to return. Defaults to 20.

func (ApiSearchArtifactsByContentRequest) Offset

The number of artifacts to skip before starting to collect the result set. Defaults to 0.

func (ApiSearchArtifactsByContentRequest) Order

Sort order, ascending (`asc`) or descending (`desc`).

func (ApiSearchArtifactsByContentRequest) Orderby

The field to sort by. Can be one of: * `name` * `createdOn`

type ApiSearchArtifactsRequest

type ApiSearchArtifactsRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiSearchArtifactsRequest) ContentId added in v0.4.0

Filter by contentId.

func (ApiSearchArtifactsRequest) Description

func (r ApiSearchArtifactsRequest) Description(description string) ApiSearchArtifactsRequest

Filter by description.

func (ApiSearchArtifactsRequest) Execute

func (ApiSearchArtifactsRequest) GlobalId added in v0.4.0

Filter by globalId.

func (ApiSearchArtifactsRequest) Group

Filter by artifact group.

func (ApiSearchArtifactsRequest) Labels

Filter by label. Include one or more label to only return artifacts containing all of the specified labels.

func (ApiSearchArtifactsRequest) Limit

The number of artifacts to return. Defaults to 20.

func (ApiSearchArtifactsRequest) Name

Filter by artifact name.

func (ApiSearchArtifactsRequest) Offset

The number of artifacts to skip before starting to collect the result set. Defaults to 0.

func (ApiSearchArtifactsRequest) Order

Sort order, ascending (`asc`) or descending (`desc`).

func (ApiSearchArtifactsRequest) Orderby

The field to sort by. Can be one of: * `name` * `createdOn`

func (ApiSearchArtifactsRequest) Properties

func (r ApiSearchArtifactsRequest) Properties(properties []string) ApiSearchArtifactsRequest

Filter by one or more name/value property. Separate each name/value pair using a colon. For example `properties=foo:bar` will return only artifacts with a custom property named `foo` and value `bar`.

type ApiSetLogConfigurationRequest

type ApiSetLogConfigurationRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiSetLogConfigurationRequest) Execute

func (ApiSetLogConfigurationRequest) LogConfiguration

The new logger configuration.

type ApiTestUpdateArtifactRequest

type ApiTestUpdateArtifactRequest struct {
	ApiService *ArtifactRulesApiService
	// contains filtered or unexported fields
}

func (ApiTestUpdateArtifactRequest) Body

The content of the artifact being tested. This is often, but not always, JSON data representing one of the supported artifact types: * Avro (`AVRO`) * Protobuf (`PROTOBUF`) * JSON Schema (`JSON`) * Kafka Connect (`KCONNECT`) * OpenAPI (`OPENAPI`) * AsyncAPI (`ASYNCAPI`) * GraphQL (`GRAPHQL`) * Web Services Description Language (`WSDL`) * XML Schema (`XSD`)

func (ApiTestUpdateArtifactRequest) Execute

type ApiUpdateArtifactMetaDataRequest

type ApiUpdateArtifactMetaDataRequest struct {
	ApiService *MetadataApiService
	// contains filtered or unexported fields
}

func (ApiUpdateArtifactMetaDataRequest) EditableMetaData

Updated artifact metadata.

func (ApiUpdateArtifactMetaDataRequest) Execute

type ApiUpdateArtifactRequest

type ApiUpdateArtifactRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateArtifactRequest) Body

func (r ApiUpdateArtifactRequest) Body(body interface{}) ApiUpdateArtifactRequest

The new content of the artifact being updated. This is often, but not always, JSON data representing one of the supported artifact types: * Avro (`AVRO`) * Protobuf (`PROTOBUF`) * JSON Schema (`JSON`) * Kafka Connect (`KCONNECT`) * OpenAPI (`OPENAPI`) * AsyncAPI (`ASYNCAPI`) * GraphQL (`GRAPHQL`) * Web Services Description Language (`WSDL`) * XML Schema (`XSD`)

func (ApiUpdateArtifactRequest) Execute

func (ApiUpdateArtifactRequest) XRegistryDescription

func (r ApiUpdateArtifactRequest) XRegistryDescription(xRegistryDescription string) ApiUpdateArtifactRequest

Specifies the artifact description of this new version of the artifact content. Description must be ASCII-only string. If this is not provided, the server will extract the description from the artifact content.

func (ApiUpdateArtifactRequest) XRegistryDescriptionEncoded

func (r ApiUpdateArtifactRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiUpdateArtifactRequest

Specifies the artifact description of this new version of the artifact content. Value of this must be Base64 encoded string. If this is not provided, the server will extract the description from the artifact content.

func (ApiUpdateArtifactRequest) XRegistryName

func (r ApiUpdateArtifactRequest) XRegistryName(xRegistryName string) ApiUpdateArtifactRequest

Specifies the artifact name of this new version of the artifact content. Name must be ASCII-only string. If this is not provided, the server will extract the name from the artifact content.

func (ApiUpdateArtifactRequest) XRegistryNameEncoded

func (r ApiUpdateArtifactRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiUpdateArtifactRequest

Specifies the artifact name of this new version of the artifact content. Value of this must be Base64 encoded string. If this is not provided, the server will extract the name from the artifact content.

func (ApiUpdateArtifactRequest) XRegistryVersion

func (r ApiUpdateArtifactRequest) XRegistryVersion(xRegistryVersion string) ApiUpdateArtifactRequest

Specifies the version number of this new version of the artifact content. This would typically be a simple integer or a SemVer value. If not provided, the server will assign a version number automatically.

type ApiUpdateArtifactRuleConfigRequest

type ApiUpdateArtifactRuleConfigRequest struct {
	ApiService *ArtifactRulesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateArtifactRuleConfigRequest) Execute

func (ApiUpdateArtifactRuleConfigRequest) Rule2

type ApiUpdateArtifactStateRequest

type ApiUpdateArtifactStateRequest struct {
	ApiService *ArtifactsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateArtifactStateRequest) Execute

func (ApiUpdateArtifactStateRequest) UpdateState

type ApiUpdateArtifactVersionMetaDataRequest

type ApiUpdateArtifactVersionMetaDataRequest struct {
	ApiService *MetadataApiService
	// contains filtered or unexported fields
}

func (ApiUpdateArtifactVersionMetaDataRequest) EditableMetaData

func (ApiUpdateArtifactVersionMetaDataRequest) Execute

type ApiUpdateArtifactVersionStateRequest

type ApiUpdateArtifactVersionStateRequest struct {
	ApiService *VersionsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateArtifactVersionStateRequest) Execute

func (ApiUpdateArtifactVersionStateRequest) UpdateState

type ApiUpdateConfigPropertyRequest added in v0.4.0

type ApiUpdateConfigPropertyRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiUpdateConfigPropertyRequest) Execute added in v0.4.0

func (ApiUpdateConfigPropertyRequest) UpdateConfigurationProperty added in v0.4.0

func (r ApiUpdateConfigPropertyRequest) UpdateConfigurationProperty(updateConfigurationProperty UpdateConfigurationProperty) ApiUpdateConfigPropertyRequest

type ApiUpdateGlobalRuleConfigRequest

type ApiUpdateGlobalRuleConfigRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiUpdateGlobalRuleConfigRequest) Execute

func (ApiUpdateGlobalRuleConfigRequest) Rule2

type ApiUpdateRoleMappingRequest

type ApiUpdateRoleMappingRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (ApiUpdateRoleMappingRequest) Execute

func (ApiUpdateRoleMappingRequest) UpdateRole

type ArtifactMetaData

type ArtifactMetaData struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	CreatedBy   string  `json:"createdBy"`
	CreatedOn   string  `json:"createdOn"`
	ModifiedBy  string  `json:"modifiedBy"`
	ModifiedOn  string  `json:"modifiedOn"`
	// The ID of a single artifact.
	Id       string        `json:"id"`
	Version  string        `json:"version"`
	Type     ArtifactType  `json:"type"`
	GlobalId int64         `json:"globalId"`
	State    ArtifactState `json:"state"`
	Labels   []string      `json:"labels,omitempty"`
	// User-defined name-value pairs. Name and value must be strings.
	Properties *map[string]string `json:"properties,omitempty"`
	// An ID of a single artifact group.
	GroupId    *string             `json:"groupId,omitempty"`
	ContentId  int64               `json:"contentId"`
	References []ArtifactReference `json:"references,omitempty"`
}

ArtifactMetaData struct for ArtifactMetaData

func NewArtifactMetaData

func NewArtifactMetaData(createdBy string, createdOn string, modifiedBy string, modifiedOn string, id string, version string, type_ ArtifactType, globalId int64, state ArtifactState, contentId int64) *ArtifactMetaData

NewArtifactMetaData instantiates a new ArtifactMetaData 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 NewArtifactMetaDataWithDefaults

func NewArtifactMetaDataWithDefaults() *ArtifactMetaData

NewArtifactMetaDataWithDefaults instantiates a new ArtifactMetaData 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 (*ArtifactMetaData) GetContentId

func (o *ArtifactMetaData) GetContentId() int64

GetContentId returns the ContentId field value

func (*ArtifactMetaData) GetContentIdOk

func (o *ArtifactMetaData) GetContentIdOk() (*int64, bool)

GetContentIdOk returns a tuple with the ContentId field value and a boolean to check if the value has been set.

func (*ArtifactMetaData) GetCreatedBy

func (o *ArtifactMetaData) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*ArtifactMetaData) GetCreatedByOk

func (o *ArtifactMetaData) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*ArtifactMetaData) GetCreatedOn

func (o *ArtifactMetaData) GetCreatedOn() string

GetCreatedOn returns the CreatedOn field value

func (*ArtifactMetaData) GetCreatedOnOk

func (o *ArtifactMetaData) GetCreatedOnOk() (*string, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.

func (*ArtifactMetaData) GetDescription

func (o *ArtifactMetaData) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ArtifactMetaData) GetDescriptionOk

func (o *ArtifactMetaData) GetDescriptionOk() (*string, bool)

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

func (*ArtifactMetaData) GetGlobalId

func (o *ArtifactMetaData) GetGlobalId() int64

GetGlobalId returns the GlobalId field value

func (*ArtifactMetaData) GetGlobalIdOk

func (o *ArtifactMetaData) GetGlobalIdOk() (*int64, bool)

GetGlobalIdOk returns a tuple with the GlobalId field value and a boolean to check if the value has been set.

func (*ArtifactMetaData) GetGroupId

func (o *ArtifactMetaData) GetGroupId() string

GetGroupId returns the GroupId field value if set, zero value otherwise.

func (*ArtifactMetaData) GetGroupIdOk

func (o *ArtifactMetaData) GetGroupIdOk() (*string, bool)

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

func (*ArtifactMetaData) GetId

func (o *ArtifactMetaData) GetId() string

GetId returns the Id field value

func (*ArtifactMetaData) GetIdOk

func (o *ArtifactMetaData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ArtifactMetaData) GetLabels

func (o *ArtifactMetaData) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ArtifactMetaData) GetLabelsOk

func (o *ArtifactMetaData) GetLabelsOk() ([]string, bool)

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

func (*ArtifactMetaData) GetModifiedBy

func (o *ArtifactMetaData) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*ArtifactMetaData) GetModifiedByOk

func (o *ArtifactMetaData) GetModifiedByOk() (*string, bool)

GetModifiedByOk returns a tuple with the ModifiedBy field value and a boolean to check if the value has been set.

func (*ArtifactMetaData) GetModifiedOn

func (o *ArtifactMetaData) GetModifiedOn() string

GetModifiedOn returns the ModifiedOn field value

func (*ArtifactMetaData) GetModifiedOnOk

func (o *ArtifactMetaData) GetModifiedOnOk() (*string, bool)

GetModifiedOnOk returns a tuple with the ModifiedOn field value and a boolean to check if the value has been set.

func (*ArtifactMetaData) GetName

func (o *ArtifactMetaData) GetName() string

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

func (*ArtifactMetaData) GetNameOk

func (o *ArtifactMetaData) 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 (*ArtifactMetaData) GetProperties

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

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

func (*ArtifactMetaData) GetPropertiesOk

func (o *ArtifactMetaData) 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 (*ArtifactMetaData) GetReferences added in v0.4.0

func (o *ArtifactMetaData) GetReferences() []ArtifactReference

GetReferences returns the References field value if set, zero value otherwise.

func (*ArtifactMetaData) GetReferencesOk added in v0.4.0

func (o *ArtifactMetaData) GetReferencesOk() ([]ArtifactReference, 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 (*ArtifactMetaData) GetState

func (o *ArtifactMetaData) GetState() ArtifactState

GetState returns the State field value

func (*ArtifactMetaData) GetStateOk

func (o *ArtifactMetaData) GetStateOk() (*ArtifactState, bool)

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

func (*ArtifactMetaData) GetType

func (o *ArtifactMetaData) GetType() ArtifactType

GetType returns the Type field value

func (*ArtifactMetaData) GetTypeOk

func (o *ArtifactMetaData) GetTypeOk() (*ArtifactType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ArtifactMetaData) GetVersion

func (o *ArtifactMetaData) GetVersion() string

GetVersion returns the Version field value

func (*ArtifactMetaData) GetVersionOk

func (o *ArtifactMetaData) GetVersionOk() (*string, bool)

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

func (*ArtifactMetaData) HasDescription

func (o *ArtifactMetaData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ArtifactMetaData) HasGroupId

func (o *ArtifactMetaData) HasGroupId() bool

HasGroupId returns a boolean if a field has been set.

func (*ArtifactMetaData) HasLabels

func (o *ArtifactMetaData) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ArtifactMetaData) HasName

func (o *ArtifactMetaData) HasName() bool

HasName returns a boolean if a field has been set.

func (*ArtifactMetaData) HasProperties

func (o *ArtifactMetaData) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ArtifactMetaData) HasReferences added in v0.4.0

func (o *ArtifactMetaData) HasReferences() bool

HasReferences returns a boolean if a field has been set.

func (ArtifactMetaData) MarshalJSON

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

func (*ArtifactMetaData) SetContentId

func (o *ArtifactMetaData) SetContentId(v int64)

SetContentId sets field value

func (*ArtifactMetaData) SetCreatedBy

func (o *ArtifactMetaData) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*ArtifactMetaData) SetCreatedOn

func (o *ArtifactMetaData) SetCreatedOn(v string)

SetCreatedOn sets field value

func (*ArtifactMetaData) SetDescription

func (o *ArtifactMetaData) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ArtifactMetaData) SetGlobalId

func (o *ArtifactMetaData) SetGlobalId(v int64)

SetGlobalId sets field value

func (*ArtifactMetaData) SetGroupId

func (o *ArtifactMetaData) SetGroupId(v string)

SetGroupId gets a reference to the given string and assigns it to the GroupId field.

func (*ArtifactMetaData) SetId

func (o *ArtifactMetaData) SetId(v string)

SetId sets field value

func (*ArtifactMetaData) SetLabels

func (o *ArtifactMetaData) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*ArtifactMetaData) SetModifiedBy

func (o *ArtifactMetaData) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*ArtifactMetaData) SetModifiedOn

func (o *ArtifactMetaData) SetModifiedOn(v string)

SetModifiedOn sets field value

func (*ArtifactMetaData) SetName

func (o *ArtifactMetaData) SetName(v string)

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

func (*ArtifactMetaData) SetProperties

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

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

func (*ArtifactMetaData) SetReferences added in v0.4.0

func (o *ArtifactMetaData) SetReferences(v []ArtifactReference)

SetReferences gets a reference to the given []ArtifactReference and assigns it to the References field.

func (*ArtifactMetaData) SetState

func (o *ArtifactMetaData) SetState(v ArtifactState)

SetState sets field value

func (*ArtifactMetaData) SetType

func (o *ArtifactMetaData) SetType(v ArtifactType)

SetType sets field value

func (*ArtifactMetaData) SetVersion

func (o *ArtifactMetaData) SetVersion(v string)

SetVersion sets field value

type ArtifactReference added in v0.4.0

type ArtifactReference struct {
	GroupId    string  `json:"groupId"`
	ArtifactId string  `json:"artifactId"`
	Version    *string `json:"version,omitempty"`
	Name       string  `json:"name"`
}

ArtifactReference A reference to a different artifact. Typically used with artifact types that can have dependencies like Protobuf.

func NewArtifactReference added in v0.4.0

func NewArtifactReference(groupId string, artifactId string, name string) *ArtifactReference

NewArtifactReference instantiates a new ArtifactReference 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 NewArtifactReferenceWithDefaults added in v0.4.0

func NewArtifactReferenceWithDefaults() *ArtifactReference

NewArtifactReferenceWithDefaults instantiates a new ArtifactReference 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 (*ArtifactReference) GetArtifactId added in v0.4.0

func (o *ArtifactReference) GetArtifactId() string

GetArtifactId returns the ArtifactId field value

func (*ArtifactReference) GetArtifactIdOk added in v0.4.0

func (o *ArtifactReference) GetArtifactIdOk() (*string, bool)

GetArtifactIdOk returns a tuple with the ArtifactId field value and a boolean to check if the value has been set.

func (*ArtifactReference) GetGroupId added in v0.4.0

func (o *ArtifactReference) GetGroupId() string

GetGroupId returns the GroupId field value

func (*ArtifactReference) GetGroupIdOk added in v0.4.0

func (o *ArtifactReference) GetGroupIdOk() (*string, bool)

GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.

func (*ArtifactReference) GetName added in v0.4.0

func (o *ArtifactReference) GetName() string

GetName returns the Name field value

func (*ArtifactReference) GetNameOk added in v0.4.0

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

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

func (*ArtifactReference) GetVersion added in v0.4.0

func (o *ArtifactReference) GetVersion() string

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

func (*ArtifactReference) GetVersionOk added in v0.4.0

func (o *ArtifactReference) GetVersionOk() (*string, 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 (*ArtifactReference) HasVersion added in v0.4.0

func (o *ArtifactReference) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ArtifactReference) MarshalJSON added in v0.4.0

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

func (*ArtifactReference) SetArtifactId added in v0.4.0

func (o *ArtifactReference) SetArtifactId(v string)

SetArtifactId sets field value

func (*ArtifactReference) SetGroupId added in v0.4.0

func (o *ArtifactReference) SetGroupId(v string)

SetGroupId sets field value

func (*ArtifactReference) SetName added in v0.4.0

func (o *ArtifactReference) SetName(v string)

SetName sets field value

func (*ArtifactReference) SetVersion added in v0.4.0

func (o *ArtifactReference) SetVersion(v string)

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

type ArtifactRulesApiService

type ArtifactRulesApiService service

ArtifactRulesApiService ArtifactRulesApi service

func (*ArtifactRulesApiService) CreateArtifactRule

func (a *ArtifactRulesApiService) CreateArtifactRule(ctx context.Context, groupId string, artifactId string) ApiCreateArtifactRuleRequest

CreateArtifactRule Create artifact rule

Adds a rule to the list of rules that get applied to the artifact when adding new versions. All configured rules must pass to successfully add a new artifact version.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * Rule (named in the request body) is unknown (HTTP error `400`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiCreateArtifactRuleRequest

func (*ArtifactRulesApiService) CreateArtifactRuleExecute

func (a *ArtifactRulesApiService) CreateArtifactRuleExecute(r ApiCreateArtifactRuleRequest) (*http.Response, error)

Execute executes the request

func (*ArtifactRulesApiService) DeleteArtifactRule

func (a *ArtifactRulesApiService) DeleteArtifactRule(ctx context.Context, groupId string, artifactId string, rule string) ApiDeleteArtifactRuleRequest

DeleteArtifactRule Delete artifact rule

Deletes a rule from the artifact. This results in the rule no longer applying for this artifact. If this is the only rule configured for the artifact, this is the same as deleting **all** rules, and the globally configured rules now apply to this artifact.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * No rule with this name/type is configured for this artifact (HTTP error `404`) * Invalid rule type (HTTP error `400`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@param rule The unique name/type of a rule.
@return ApiDeleteArtifactRuleRequest

func (*ArtifactRulesApiService) DeleteArtifactRuleExecute

func (a *ArtifactRulesApiService) DeleteArtifactRuleExecute(r ApiDeleteArtifactRuleRequest) (*http.Response, error)

Execute executes the request

func (*ArtifactRulesApiService) DeleteArtifactRules

func (a *ArtifactRulesApiService) DeleteArtifactRules(ctx context.Context, groupId string, artifactId string) ApiDeleteArtifactRulesRequest

DeleteArtifactRules Delete artifact rules

Deletes all of the rules configured for the artifact. After this is done, the global rules apply to the artifact again.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiDeleteArtifactRulesRequest

func (*ArtifactRulesApiService) DeleteArtifactRulesExecute

func (a *ArtifactRulesApiService) DeleteArtifactRulesExecute(r ApiDeleteArtifactRulesRequest) (*http.Response, error)

Execute executes the request

func (*ArtifactRulesApiService) GetArtifactRuleConfig

func (a *ArtifactRulesApiService) GetArtifactRuleConfig(ctx context.Context, groupId string, artifactId string, rule string) ApiGetArtifactRuleConfigRequest

GetArtifactRuleConfig Get artifact rule configuration

Returns information about a single rule configured for an artifact. This is useful when you want to know what the current configuration settings are for a specific rule.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * No rule with this name/type is configured for this artifact (HTTP error `404`) * Invalid rule type (HTTP error `400`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@param rule The unique name/type of a rule.
@return ApiGetArtifactRuleConfigRequest

func (*ArtifactRulesApiService) GetArtifactRuleConfigExecute

func (a *ArtifactRulesApiService) GetArtifactRuleConfigExecute(r ApiGetArtifactRuleConfigRequest) (*Rule, *http.Response, error)

Execute executes the request

@return Rule

func (*ArtifactRulesApiService) ListArtifactRules

func (a *ArtifactRulesApiService) ListArtifactRules(ctx context.Context, groupId string, artifactId string) ApiListArtifactRulesRequest

ListArtifactRules List artifact rules

Returns a list of all rules configured for the artifact. The set of rules determines how the content of an artifact can evolve over time. If no rules are configured for an artifact, the set of globally configured rules are used. If no global rules are defined, there are no restrictions on content evolution.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiListArtifactRulesRequest

func (*ArtifactRulesApiService) ListArtifactRulesExecute

func (a *ArtifactRulesApiService) ListArtifactRulesExecute(r ApiListArtifactRulesRequest) ([]RuleType, *http.Response, error)

Execute executes the request

@return []RuleType

func (*ArtifactRulesApiService) TestUpdateArtifact

func (a *ArtifactRulesApiService) TestUpdateArtifact(ctx context.Context, groupId string, artifactId string) ApiTestUpdateArtifactRequest

TestUpdateArtifact Test update artifact

Tests whether an update to the artifact's content *would* succeed for the provided content. Ultimately, this applies any rules configured for the artifact against the given content to determine whether the rules would pass or fail, but without actually updating the artifact content.

The body of the request should be the raw content of the artifact. This is typically in JSON format for *most* of the supported types, but may be in another format for a few (for example, `PROTOBUF`).

The update could fail for a number of reasons including:

* Provided content (request body) was empty (HTTP error `400`) * No artifact with the `artifactId` exists (HTTP error `404`) * The new content violates one of the rules configured for the artifact (HTTP error `409`) * The provided artifact type is not recognized (HTTP error `404`) * A server error occurred (HTTP error `500`)

When successful, this operation simply returns a *No Content* response. This response indicates that the content is valid against the configured content rules for the artifact (or the global rules if no artifact rules are enabled).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiTestUpdateArtifactRequest

func (*ArtifactRulesApiService) TestUpdateArtifactExecute

func (a *ArtifactRulesApiService) TestUpdateArtifactExecute(r ApiTestUpdateArtifactRequest) (*http.Response, error)

Execute executes the request

func (*ArtifactRulesApiService) UpdateArtifactRuleConfig

func (a *ArtifactRulesApiService) UpdateArtifactRuleConfig(ctx context.Context, groupId string, artifactId string, rule string) ApiUpdateArtifactRuleConfigRequest

UpdateArtifactRuleConfig Update artifact rule configuration

Updates the configuration of a single rule for the artifact. The configuration data is specific to each rule type, so the configuration of the `COMPATIBILITY` rule is in a different format from the configuration of the `VALIDITY` rule.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * No rule with this name/type is configured for this artifact (HTTP error `404`) * Invalid rule type (HTTP error `400`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@param rule The unique name/type of a rule.
@return ApiUpdateArtifactRuleConfigRequest

func (*ArtifactRulesApiService) UpdateArtifactRuleConfigExecute

func (a *ArtifactRulesApiService) UpdateArtifactRuleConfigExecute(r ApiUpdateArtifactRuleConfigRequest) (*Rule, *http.Response, error)

Execute executes the request

@return Rule

type ArtifactSearchResults

type ArtifactSearchResults struct {
	// The artifacts returned in the result set.
	Artifacts []SearchedArtifact `json:"artifacts"`
	// The total number of artifacts that matched the query that produced the result set (may be  more than the number of artifacts in the result set).
	Count int32 `json:"count"`
}

ArtifactSearchResults Describes the response received when searching for artifacts.

func NewArtifactSearchResults

func NewArtifactSearchResults(artifacts []SearchedArtifact, count int32) *ArtifactSearchResults

NewArtifactSearchResults instantiates a new ArtifactSearchResults 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 NewArtifactSearchResultsWithDefaults

func NewArtifactSearchResultsWithDefaults() *ArtifactSearchResults

NewArtifactSearchResultsWithDefaults instantiates a new ArtifactSearchResults 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 (*ArtifactSearchResults) GetArtifacts

func (o *ArtifactSearchResults) GetArtifacts() []SearchedArtifact

GetArtifacts returns the Artifacts field value

func (*ArtifactSearchResults) GetArtifactsOk

func (o *ArtifactSearchResults) GetArtifactsOk() ([]SearchedArtifact, bool)

GetArtifactsOk returns a tuple with the Artifacts field value and a boolean to check if the value has been set.

func (*ArtifactSearchResults) GetCount

func (o *ArtifactSearchResults) GetCount() int32

GetCount returns the Count field value

func (*ArtifactSearchResults) GetCountOk

func (o *ArtifactSearchResults) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.

func (ArtifactSearchResults) MarshalJSON

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

func (*ArtifactSearchResults) SetArtifacts

func (o *ArtifactSearchResults) SetArtifacts(v []SearchedArtifact)

SetArtifacts sets field value

func (*ArtifactSearchResults) SetCount

func (o *ArtifactSearchResults) SetCount(v int32)

SetCount sets field value

type ArtifactState

type ArtifactState string

ArtifactState Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED

const (
	ENABLED    ArtifactState = "ENABLED"
	DISABLED   ArtifactState = "DISABLED"
	DEPRECATED ArtifactState = "DEPRECATED"
)

List of ArtifactState

func NewArtifactStateFromValue

func NewArtifactStateFromValue(v string) (*ArtifactState, error)

NewArtifactStateFromValue returns a pointer to a valid ArtifactState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ArtifactState) IsValid

func (v ArtifactState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ArtifactState) Ptr

func (v ArtifactState) Ptr() *ArtifactState

Ptr returns reference to ArtifactState value

func (*ArtifactState) UnmarshalJSON

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

type ArtifactType

type ArtifactType string

ArtifactType the model 'ArtifactType'

const (
	AVRO     ArtifactType = "AVRO"
	PROTOBUF ArtifactType = "PROTOBUF"
	JSON     ArtifactType = "JSON"
	OPENAPI  ArtifactType = "OPENAPI"
	ASYNCAPI ArtifactType = "ASYNCAPI"
	GRAPHQL  ArtifactType = "GRAPHQL"
	KCONNECT ArtifactType = "KCONNECT"
	WSDL     ArtifactType = "WSDL"
	XSD      ArtifactType = "XSD"
	XML      ArtifactType = "XML"
)

List of ArtifactType

func NewArtifactTypeFromValue

func NewArtifactTypeFromValue(v string) (*ArtifactType, error)

NewArtifactTypeFromValue returns a pointer to a valid ArtifactType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ArtifactType) IsValid

func (v ArtifactType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ArtifactType) Ptr

func (v ArtifactType) Ptr() *ArtifactType

Ptr returns reference to ArtifactType value

func (*ArtifactType) UnmarshalJSON

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

type ArtifactsApiService

type ArtifactsApiService service

ArtifactsApiService ArtifactsApi service

func (*ArtifactsApiService) CreateArtifact

func (a *ArtifactsApiService) CreateArtifact(ctx context.Context, groupId string) ApiCreateArtifactRequest

CreateArtifact Create artifact

Creates a new artifact by posting the artifact content. The body of the request should be the raw content of the artifact. This is typically in JSON format for *most* of the supported types, but may be in another format for a few (for example, `PROTOBUF`).

The registry attempts to figure out what kind of artifact is being added from the following supported list:

* Avro (`AVRO`) * Protobuf (`PROTOBUF`) * JSON Schema (`JSON`) * Kafka Connect (`KCONNECT`) * OpenAPI (`OPENAPI`) * AsyncAPI (`ASYNCAPI`) * GraphQL (`GRAPHQL`) * Web Services Description Language (`WSDL`) * XML Schema (`XSD`)

Alternatively, you can specify the artifact type using the `X-Registry-ArtifactType` HTTP request header, or include a hint in the request's `Content-Type`. For example:

``` Content-Type: application/json; artifactType=AVRO ```

An artifact is created using the content provided in the body of the request. This content is created under a unique artifact ID that can be provided in the request using the `X-Registry-ArtifactId` request header. If not provided in the request, the server generates a unique ID for the artifact. It is typically recommended that callers provide the ID, because this is typically a meaningful identifier, and for most use cases should be supplied by the caller.

If an artifact with the provided artifact ID already exists, the default behavior is for the server to reject the content with a 409 error. However, the caller can supply the `ifExists` query parameter to alter this default behavior. The `ifExists` query parameter can have one of the following values:

* `FAIL` (*default*) - server rejects the content with a 409 error * `UPDATE` - server updates the existing artifact and returns the new metadata * `RETURN` - server does not create or add content to the server, but instead returns the metadata for the existing artifact * `RETURN_OR_UPDATE` - server returns an existing **version** that matches the provided content if such a version exists, otherwise a new version is created

This operation may fail for one of the following reasons:

* An invalid `ArtifactType` was indicated (HTTP error `400`) * No `ArtifactType` was indicated and the server could not determine one from the content (HTTP error `400`) * Provided content (request body) was empty (HTTP error `400`) * An artifact with the provided ID already exists (HTTP error `409`) * The content violates one of the configured global rules (HTTP error `409`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId Unique ID of an artifact group.
@return ApiCreateArtifactRequest

func (*ArtifactsApiService) CreateArtifactExecute

Execute executes the request

@return ArtifactMetaData

func (*ArtifactsApiService) DeleteArtifact

func (a *ArtifactsApiService) DeleteArtifact(ctx context.Context, groupId string, artifactId string) ApiDeleteArtifactRequest

DeleteArtifact Delete artifact

Deletes an artifact completely, resulting in all versions of the artifact also being deleted. This may fail for one of the following reasons:

* No artifact with the `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiDeleteArtifactRequest

func (*ArtifactsApiService) DeleteArtifactExecute

func (a *ArtifactsApiService) DeleteArtifactExecute(r ApiDeleteArtifactRequest) (*http.Response, error)

Execute executes the request

func (*ArtifactsApiService) DeleteArtifactsInGroup

func (a *ArtifactsApiService) DeleteArtifactsInGroup(ctx context.Context, groupId string) ApiDeleteArtifactsInGroupRequest

DeleteArtifactsInGroup Deletes all artifacts in a group

Deletes all of the artifacts that exist in a given group.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId Unique ID of an artifact group.
@return ApiDeleteArtifactsInGroupRequest

func (*ArtifactsApiService) DeleteArtifactsInGroupExecute

func (a *ArtifactsApiService) DeleteArtifactsInGroupExecute(r ApiDeleteArtifactsInGroupRequest) (*http.Response, error)

Execute executes the request

func (*ArtifactsApiService) GetContentByGlobalId

func (a *ArtifactsApiService) GetContentByGlobalId(ctx context.Context, globalId int64) ApiGetContentByGlobalIdRequest

GetContentByGlobalId Get artifact by global ID

Gets the content for an artifact version in the registry using its globally unique identifier.

This operation may fail for one of the following reasons:

* No artifact version with this `globalId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param globalId Global identifier for an artifact version.
@return ApiGetContentByGlobalIdRequest

func (*ArtifactsApiService) GetContentByGlobalIdExecute

func (a *ArtifactsApiService) GetContentByGlobalIdExecute(r ApiGetContentByGlobalIdRequest) (**os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*ArtifactsApiService) GetContentByHash

func (a *ArtifactsApiService) GetContentByHash(ctx context.Context, contentHash string) ApiGetContentByHashRequest

GetContentByHash Get artifact content by SHA-256 hash

Gets the content for an artifact version in the registry using the SHA-256 hash of the content. This content hash may be shared by multiple artifact versions in the case where the artifact versions have identical content.

This operation may fail for one of the following reasons:

* No content with this `contentHash` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param contentHash SHA-256 content hash for a single artifact content.
@return ApiGetContentByHashRequest

func (*ArtifactsApiService) GetContentByHashExecute

func (a *ArtifactsApiService) GetContentByHashExecute(r ApiGetContentByHashRequest) (**os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*ArtifactsApiService) GetContentById

func (a *ArtifactsApiService) GetContentById(ctx context.Context, contentId int64) ApiGetContentByIdRequest

GetContentById Get artifact content by ID

Gets the content for an artifact version in the registry using the unique content identifier for that content. This content ID may be shared by multiple artifact versions in the case where the artifact versions are identical.

This operation may fail for one of the following reasons:

* No content with this `contentId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param contentId Global identifier for a single artifact content.
@return ApiGetContentByIdRequest

func (*ArtifactsApiService) GetContentByIdExecute

func (a *ArtifactsApiService) GetContentByIdExecute(r ApiGetContentByIdRequest) (**os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*ArtifactsApiService) GetLatestArtifact

func (a *ArtifactsApiService) GetLatestArtifact(ctx context.Context, groupId string, artifactId string) ApiGetLatestArtifactRequest

GetLatestArtifact Get latest artifact

Returns the latest version of the artifact in its raw form. The `Content-Type` of the response depends on the artifact type. In most cases, this is `application/json`, but for some types it may be different (for example, `PROTOBUF`).

This operation may fail for one of the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiGetLatestArtifactRequest

func (*ArtifactsApiService) GetLatestArtifactExecute

func (a *ArtifactsApiService) GetLatestArtifactExecute(r ApiGetLatestArtifactRequest) (**os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*ArtifactsApiService) ListArtifactsInGroup

func (a *ArtifactsApiService) ListArtifactsInGroup(ctx context.Context, groupId string) ApiListArtifactsInGroupRequest

ListArtifactsInGroup List artifacts in group

Returns a list of all artifacts in the group. This list is paged.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId Unique ID of an artifact group.
@return ApiListArtifactsInGroupRequest

func (*ArtifactsApiService) ListArtifactsInGroupExecute

Execute executes the request

@return ArtifactSearchResults

func (*ArtifactsApiService) ReferencesByContentHash added in v0.4.0

func (a *ArtifactsApiService) ReferencesByContentHash(ctx context.Context, contentHash string) ApiReferencesByContentHashRequest

ReferencesByContentHash Returns a list with all the references for the artifact with the given hash

Returns a list containing all the artifact references using the artifact content hash.

This operation may fail for one of the following reasons:

* A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param contentHash SHA-256 content hash for a single artifact content.
@return ApiReferencesByContentHashRequest

func (*ArtifactsApiService) ReferencesByContentHashExecute added in v0.4.0

func (a *ArtifactsApiService) ReferencesByContentHashExecute(r ApiReferencesByContentHashRequest) ([]ArtifactReference, *http.Response, error)

Execute executes the request

@return []ArtifactReference

func (*ArtifactsApiService) ReferencesByContentId added in v0.4.0

func (a *ArtifactsApiService) ReferencesByContentId(ctx context.Context, contentId int64) ApiReferencesByContentIdRequest

ReferencesByContentId Returns a list with all the references for the artifact with the given content id.

Returns a list containing all the artifact references using the artifact contentId.

This operation may fail for one of the following reasons:

* A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param contentId Global identifier for a single artifact content.
@return ApiReferencesByContentIdRequest

func (*ArtifactsApiService) ReferencesByContentIdExecute added in v0.4.0

func (a *ArtifactsApiService) ReferencesByContentIdExecute(r ApiReferencesByContentIdRequest) ([]ArtifactReference, *http.Response, error)

Execute executes the request

@return []ArtifactReference

func (*ArtifactsApiService) ReferencesByGlobalId added in v0.4.0

func (a *ArtifactsApiService) ReferencesByGlobalId(ctx context.Context, globalId int64) ApiReferencesByGlobalIdRequest

ReferencesByGlobalId Returns a list with all the references for the artifact with the given global id.

Returns a list containing all the artifact references using the artifact global id.

This operation may fail for one of the following reasons:

* A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param globalId Global identifier for an artifact version.
@return ApiReferencesByGlobalIdRequest

func (*ArtifactsApiService) ReferencesByGlobalIdExecute added in v0.4.0

Execute executes the request

@return []ArtifactReference

func (*ArtifactsApiService) SearchArtifacts

SearchArtifacts Search for artifacts

Returns a paginated list of all artifacts that match the provided filter criteria.

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

func (*ArtifactsApiService) SearchArtifactsByContent

func (a *ArtifactsApiService) SearchArtifactsByContent(ctx context.Context) ApiSearchArtifactsByContentRequest

SearchArtifactsByContent Search for artifacts by content

Returns a paginated list of all artifacts with at least one version that matches the posted content.

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

func (*ArtifactsApiService) SearchArtifactsByContentExecute

Execute executes the request

@return ArtifactSearchResults

func (*ArtifactsApiService) SearchArtifactsExecute

Execute executes the request

@return ArtifactSearchResults

func (*ArtifactsApiService) UpdateArtifact

func (a *ArtifactsApiService) UpdateArtifact(ctx context.Context, groupId string, artifactId string) ApiUpdateArtifactRequest

UpdateArtifact Update artifact

Updates an artifact by uploading new content. The body of the request can be the raw content of the artifact or a JSON object containing both the raw content and a set of references to other artifacts.. This is typically in JSON format for *most* of the supported types, but may be in another format for a few (for example, `PROTOBUF`). The type of the content should be compatible with the artifact's type (it would be an error to update an `AVRO` artifact with new `OPENAPI` content, for example).

The update could fail for a number of reasons including:

* Provided content (request body) was empty (HTTP error `400`) * No artifact with the `artifactId` exists (HTTP error `404`) * The new content violates one of the rules configured for the artifact (HTTP error `409`) * A server error occurred (HTTP error `500`)

When successful, this creates a new version of the artifact, making it the most recent (and therefore official) version of the artifact.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiUpdateArtifactRequest

func (*ArtifactsApiService) UpdateArtifactExecute

Execute executes the request

@return ArtifactMetaData

func (*ArtifactsApiService) UpdateArtifactState

func (a *ArtifactsApiService) UpdateArtifactState(ctx context.Context, groupId string, artifactId string) ApiUpdateArtifactStateRequest

UpdateArtifactState Update artifact state

Updates the state of the artifact. For example, you can use this to mark the latest version of an artifact as `DEPRECATED`. The operation changes the state of the latest version of the artifact. If multiple versions exist, only the most recent is changed.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiUpdateArtifactStateRequest

func (*ArtifactsApiService) UpdateArtifactStateExecute

func (a *ArtifactsApiService) UpdateArtifactStateExecute(r ApiUpdateArtifactStateRequest) (*http.Response, error)

Execute executes the 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 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 ConfigurationProperty added in v0.4.0

type ConfigurationProperty struct {
	Name        string `json:"name"`
	Value       string `json:"value"`
	Type        string `json:"type"`
	Label       string `json:"label"`
	Description string `json:"description"`
}

ConfigurationProperty struct for ConfigurationProperty

func NewConfigurationProperty added in v0.4.0

func NewConfigurationProperty(name string, value string, type_ string, label string, description string) *ConfigurationProperty

NewConfigurationProperty instantiates a new ConfigurationProperty 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 NewConfigurationPropertyWithDefaults added in v0.4.0

func NewConfigurationPropertyWithDefaults() *ConfigurationProperty

NewConfigurationPropertyWithDefaults instantiates a new ConfigurationProperty 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 (*ConfigurationProperty) GetDescription added in v0.4.0

func (o *ConfigurationProperty) GetDescription() string

GetDescription returns the Description field value

func (*ConfigurationProperty) GetDescriptionOk added in v0.4.0

func (o *ConfigurationProperty) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*ConfigurationProperty) GetLabel added in v0.4.0

func (o *ConfigurationProperty) GetLabel() string

GetLabel returns the Label field value

func (*ConfigurationProperty) GetLabelOk added in v0.4.0

func (o *ConfigurationProperty) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*ConfigurationProperty) GetName added in v0.4.0

func (o *ConfigurationProperty) GetName() string

GetName returns the Name field value

func (*ConfigurationProperty) GetNameOk added in v0.4.0

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

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

func (*ConfigurationProperty) GetType added in v0.4.0

func (o *ConfigurationProperty) GetType() string

GetType returns the Type field value

func (*ConfigurationProperty) GetTypeOk added in v0.4.0

func (o *ConfigurationProperty) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ConfigurationProperty) GetValue added in v0.4.0

func (o *ConfigurationProperty) GetValue() string

GetValue returns the Value field value

func (*ConfigurationProperty) GetValueOk added in v0.4.0

func (o *ConfigurationProperty) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (ConfigurationProperty) MarshalJSON added in v0.4.0

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

func (*ConfigurationProperty) SetDescription added in v0.4.0

func (o *ConfigurationProperty) SetDescription(v string)

SetDescription sets field value

func (*ConfigurationProperty) SetLabel added in v0.4.0

func (o *ConfigurationProperty) SetLabel(v string)

SetLabel sets field value

func (*ConfigurationProperty) SetName added in v0.4.0

func (o *ConfigurationProperty) SetName(v string)

SetName sets field value

func (*ConfigurationProperty) SetType added in v0.4.0

func (o *ConfigurationProperty) SetType(v string)

SetType sets field value

func (*ConfigurationProperty) SetValue added in v0.4.0

func (o *ConfigurationProperty) SetValue(v string)

SetValue sets field value

type ContentCreateRequest added in v0.4.0

type ContentCreateRequest struct {
	// Raw content of the artifact.
	Content string `json:"content"`
	// Collection of references to other artifacts.
	References []ArtifactReference `json:"references"`
}

ContentCreateRequest struct for ContentCreateRequest

func NewContentCreateRequest added in v0.4.0

func NewContentCreateRequest(content string, references []ArtifactReference) *ContentCreateRequest

NewContentCreateRequest instantiates a new ContentCreateRequest 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 NewContentCreateRequestWithDefaults added in v0.4.0

func NewContentCreateRequestWithDefaults() *ContentCreateRequest

NewContentCreateRequestWithDefaults instantiates a new ContentCreateRequest 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 (*ContentCreateRequest) GetContent added in v0.4.0

func (o *ContentCreateRequest) GetContent() string

GetContent returns the Content field value

func (*ContentCreateRequest) GetContentOk added in v0.4.0

func (o *ContentCreateRequest) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*ContentCreateRequest) GetReferences added in v0.4.0

func (o *ContentCreateRequest) GetReferences() []ArtifactReference

GetReferences returns the References field value

func (*ContentCreateRequest) GetReferencesOk added in v0.4.0

func (o *ContentCreateRequest) GetReferencesOk() ([]ArtifactReference, bool)

GetReferencesOk returns a tuple with the References field value and a boolean to check if the value has been set.

func (ContentCreateRequest) MarshalJSON added in v0.4.0

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

func (*ContentCreateRequest) SetContent added in v0.4.0

func (o *ContentCreateRequest) SetContent(v string)

SetContent sets field value

func (*ContentCreateRequest) SetReferences added in v0.4.0

func (o *ContentCreateRequest) SetReferences(v []ArtifactReference)

SetReferences sets field value

type DownloadRef added in v0.4.0

type DownloadRef struct {
	DownloadId string  `json:"downloadId"`
	Href       *string `json:"href,omitempty"`
}

DownloadRef Models a download \"link\". Useful for browser use-cases.

func NewDownloadRef added in v0.4.0

func NewDownloadRef(downloadId string) *DownloadRef

NewDownloadRef instantiates a new DownloadRef 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 NewDownloadRefWithDefaults added in v0.4.0

func NewDownloadRefWithDefaults() *DownloadRef

NewDownloadRefWithDefaults instantiates a new DownloadRef 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 (*DownloadRef) GetDownloadId added in v0.4.0

func (o *DownloadRef) GetDownloadId() string

GetDownloadId returns the DownloadId field value

func (*DownloadRef) GetDownloadIdOk added in v0.4.0

func (o *DownloadRef) GetDownloadIdOk() (*string, bool)

GetDownloadIdOk returns a tuple with the DownloadId field value and a boolean to check if the value has been set.

func (*DownloadRef) GetHref added in v0.4.0

func (o *DownloadRef) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*DownloadRef) GetHrefOk added in v0.4.0

func (o *DownloadRef) GetHrefOk() (*string, bool)

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

func (*DownloadRef) HasHref added in v0.4.0

func (o *DownloadRef) HasHref() bool

HasHref returns a boolean if a field has been set.

func (DownloadRef) MarshalJSON added in v0.4.0

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

func (*DownloadRef) SetDownloadId added in v0.4.0

func (o *DownloadRef) SetDownloadId(v string)

SetDownloadId sets field value

func (*DownloadRef) SetHref added in v0.4.0

func (o *DownloadRef) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

type EditableMetaData

type EditableMetaData struct {
	Name        *string  `json:"name,omitempty"`
	Description *string  `json:"description,omitempty"`
	Labels      []string `json:"labels,omitempty"`
	// User-defined name-value pairs. Name and value must be strings.
	Properties *map[string]string `json:"properties,omitempty"`
}

EditableMetaData struct for EditableMetaData

func NewEditableMetaData

func NewEditableMetaData() *EditableMetaData

NewEditableMetaData instantiates a new EditableMetaData 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 NewEditableMetaDataWithDefaults

func NewEditableMetaDataWithDefaults() *EditableMetaData

NewEditableMetaDataWithDefaults instantiates a new EditableMetaData 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 (*EditableMetaData) GetDescription

func (o *EditableMetaData) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*EditableMetaData) GetDescriptionOk

func (o *EditableMetaData) GetDescriptionOk() (*string, bool)

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

func (*EditableMetaData) GetLabels

func (o *EditableMetaData) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*EditableMetaData) GetLabelsOk

func (o *EditableMetaData) GetLabelsOk() ([]string, bool)

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

func (*EditableMetaData) GetName

func (o *EditableMetaData) GetName() string

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

func (*EditableMetaData) GetNameOk

func (o *EditableMetaData) 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 (*EditableMetaData) GetProperties

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

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

func (*EditableMetaData) GetPropertiesOk

func (o *EditableMetaData) 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 (*EditableMetaData) HasDescription

func (o *EditableMetaData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*EditableMetaData) HasLabels

func (o *EditableMetaData) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*EditableMetaData) HasName

func (o *EditableMetaData) HasName() bool

HasName returns a boolean if a field has been set.

func (*EditableMetaData) HasProperties

func (o *EditableMetaData) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (EditableMetaData) MarshalJSON

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

func (*EditableMetaData) SetDescription

func (o *EditableMetaData) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*EditableMetaData) SetLabels

func (o *EditableMetaData) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*EditableMetaData) SetName

func (o *EditableMetaData) SetName(v string)

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

func (*EditableMetaData) SetProperties

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

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

type Error

type Error struct {
	// The short error message.
	Message *string `json:"message,omitempty"`
	// The server-side error code.
	ErrorCode *int32 `json:"error_code,omitempty"`
	// Full details about the error.  This might contain a server stack trace, for example.
	Detail *string `json:"detail,omitempty"`
	// The error name - typically the classname of the exception thrown by the server.
	Name *string `json:"name,omitempty"`
}

Error All error responses, whether `4xx` or `5xx` will include one of these as the response body.

func NewError

func NewError() *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetDetail

func (o *Error) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*Error) GetDetailOk

func (o *Error) GetDetailOk() (*string, bool)

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

func (*Error) GetErrorCode

func (o *Error) GetErrorCode() int32

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

func (*Error) GetErrorCodeOk

func (o *Error) 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 (*Error) GetMessage

func (o *Error) GetMessage() string

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

func (*Error) GetMessageOk

func (o *Error) 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 (*Error) GetName

func (o *Error) GetName() string

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

func (*Error) GetNameOk

func (o *Error) 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 (*Error) HasDetail

func (o *Error) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*Error) HasErrorCode

func (o *Error) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*Error) HasMessage

func (o *Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Error) HasName

func (o *Error) HasName() bool

HasName returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetDetail

func (o *Error) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*Error) SetErrorCode

func (o *Error) SetErrorCode(v int32)

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

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

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

func (*Error) SetName

func (o *Error) SetName(v string)

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

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 IfExists

type IfExists string

IfExists the model 'IfExists'

const (
	FAIL             IfExists = "FAIL"
	UPDATE           IfExists = "UPDATE"
	RETURN           IfExists = "RETURN"
	RETURN_OR_UPDATE IfExists = "RETURN_OR_UPDATE"
)

List of IfExists

func NewIfExistsFromValue

func NewIfExistsFromValue(v string) (*IfExists, error)

NewIfExistsFromValue returns a pointer to a valid IfExists for the value passed as argument, or an error if the value passed is not allowed by the enum

func (IfExists) IsValid

func (v IfExists) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (IfExists) Ptr

func (v IfExists) Ptr() *IfExists

Ptr returns reference to IfExists value

func (*IfExists) UnmarshalJSON

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

type Limits added in v0.4.0

type Limits struct {
	MaxTotalSchemasCount              *int64 `json:"maxTotalSchemasCount,omitempty"`
	MaxSchemaSizeBytes                *int64 `json:"maxSchemaSizeBytes,omitempty"`
	MaxArtifactsCount                 *int64 `json:"maxArtifactsCount,omitempty"`
	MaxVersionsPerArtifactCount       *int64 `json:"maxVersionsPerArtifactCount,omitempty"`
	MaxArtifactPropertiesCount        *int64 `json:"maxArtifactPropertiesCount,omitempty"`
	MaxPropertyKeySizeBytes           *int64 `json:"maxPropertyKeySizeBytes,omitempty"`
	MaxPropertyValueSizeBytes         *int64 `json:"maxPropertyValueSizeBytes,omitempty"`
	MaxArtifactLabelsCount            *int64 `json:"maxArtifactLabelsCount,omitempty"`
	MaxLabelSizeBytes                 *int64 `json:"maxLabelSizeBytes,omitempty"`
	MaxArtifactNameLengthChars        *int64 `json:"maxArtifactNameLengthChars,omitempty"`
	MaxArtifactDescriptionLengthChars *int64 `json:"maxArtifactDescriptionLengthChars,omitempty"`
	MaxRequestsPerSecondCount         *int64 `json:"maxRequestsPerSecondCount,omitempty"`
}

Limits List of limitations on used resources, that are applied on the current instance of Registry. Keys represent the resource type and are suffixed by the corresponding unit. Values are integers. Only non-negative values are allowed, with the exception of -1, which means that the limit is not applied.

func NewLimits added in v0.4.0

func NewLimits() *Limits

NewLimits instantiates a new Limits 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 NewLimitsWithDefaults added in v0.4.0

func NewLimitsWithDefaults() *Limits

NewLimitsWithDefaults instantiates a new Limits 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 (*Limits) GetMaxArtifactDescriptionLengthChars added in v0.4.0

func (o *Limits) GetMaxArtifactDescriptionLengthChars() int64

GetMaxArtifactDescriptionLengthChars returns the MaxArtifactDescriptionLengthChars field value if set, zero value otherwise.

func (*Limits) GetMaxArtifactDescriptionLengthCharsOk added in v0.4.0

func (o *Limits) GetMaxArtifactDescriptionLengthCharsOk() (*int64, bool)

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

func (*Limits) GetMaxArtifactLabelsCount added in v0.4.0

func (o *Limits) GetMaxArtifactLabelsCount() int64

GetMaxArtifactLabelsCount returns the MaxArtifactLabelsCount field value if set, zero value otherwise.

func (*Limits) GetMaxArtifactLabelsCountOk added in v0.4.0

func (o *Limits) GetMaxArtifactLabelsCountOk() (*int64, bool)

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

func (*Limits) GetMaxArtifactNameLengthChars added in v0.4.0

func (o *Limits) GetMaxArtifactNameLengthChars() int64

GetMaxArtifactNameLengthChars returns the MaxArtifactNameLengthChars field value if set, zero value otherwise.

func (*Limits) GetMaxArtifactNameLengthCharsOk added in v0.4.0

func (o *Limits) GetMaxArtifactNameLengthCharsOk() (*int64, bool)

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

func (*Limits) GetMaxArtifactPropertiesCount added in v0.4.0

func (o *Limits) GetMaxArtifactPropertiesCount() int64

GetMaxArtifactPropertiesCount returns the MaxArtifactPropertiesCount field value if set, zero value otherwise.

func (*Limits) GetMaxArtifactPropertiesCountOk added in v0.4.0

func (o *Limits) GetMaxArtifactPropertiesCountOk() (*int64, bool)

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

func (*Limits) GetMaxArtifactsCount added in v0.4.0

func (o *Limits) GetMaxArtifactsCount() int64

GetMaxArtifactsCount returns the MaxArtifactsCount field value if set, zero value otherwise.

func (*Limits) GetMaxArtifactsCountOk added in v0.4.0

func (o *Limits) GetMaxArtifactsCountOk() (*int64, bool)

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

func (*Limits) GetMaxLabelSizeBytes added in v0.4.0

func (o *Limits) GetMaxLabelSizeBytes() int64

GetMaxLabelSizeBytes returns the MaxLabelSizeBytes field value if set, zero value otherwise.

func (*Limits) GetMaxLabelSizeBytesOk added in v0.4.0

func (o *Limits) GetMaxLabelSizeBytesOk() (*int64, bool)

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

func (*Limits) GetMaxPropertyKeySizeBytes added in v0.4.0

func (o *Limits) GetMaxPropertyKeySizeBytes() int64

GetMaxPropertyKeySizeBytes returns the MaxPropertyKeySizeBytes field value if set, zero value otherwise.

func (*Limits) GetMaxPropertyKeySizeBytesOk added in v0.4.0

func (o *Limits) GetMaxPropertyKeySizeBytesOk() (*int64, bool)

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

func (*Limits) GetMaxPropertyValueSizeBytes added in v0.4.0

func (o *Limits) GetMaxPropertyValueSizeBytes() int64

GetMaxPropertyValueSizeBytes returns the MaxPropertyValueSizeBytes field value if set, zero value otherwise.

func (*Limits) GetMaxPropertyValueSizeBytesOk added in v0.4.0

func (o *Limits) GetMaxPropertyValueSizeBytesOk() (*int64, bool)

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

func (*Limits) GetMaxRequestsPerSecondCount added in v0.4.0

func (o *Limits) GetMaxRequestsPerSecondCount() int64

GetMaxRequestsPerSecondCount returns the MaxRequestsPerSecondCount field value if set, zero value otherwise.

func (*Limits) GetMaxRequestsPerSecondCountOk added in v0.4.0

func (o *Limits) GetMaxRequestsPerSecondCountOk() (*int64, bool)

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

func (*Limits) GetMaxSchemaSizeBytes added in v0.4.0

func (o *Limits) GetMaxSchemaSizeBytes() int64

GetMaxSchemaSizeBytes returns the MaxSchemaSizeBytes field value if set, zero value otherwise.

func (*Limits) GetMaxSchemaSizeBytesOk added in v0.4.0

func (o *Limits) GetMaxSchemaSizeBytesOk() (*int64, bool)

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

func (*Limits) GetMaxTotalSchemasCount added in v0.4.0

func (o *Limits) GetMaxTotalSchemasCount() int64

GetMaxTotalSchemasCount returns the MaxTotalSchemasCount field value if set, zero value otherwise.

func (*Limits) GetMaxTotalSchemasCountOk added in v0.4.0

func (o *Limits) GetMaxTotalSchemasCountOk() (*int64, bool)

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

func (*Limits) GetMaxVersionsPerArtifactCount added in v0.4.0

func (o *Limits) GetMaxVersionsPerArtifactCount() int64

GetMaxVersionsPerArtifactCount returns the MaxVersionsPerArtifactCount field value if set, zero value otherwise.

func (*Limits) GetMaxVersionsPerArtifactCountOk added in v0.4.0

func (o *Limits) GetMaxVersionsPerArtifactCountOk() (*int64, bool)

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

func (*Limits) HasMaxArtifactDescriptionLengthChars added in v0.4.0

func (o *Limits) HasMaxArtifactDescriptionLengthChars() bool

HasMaxArtifactDescriptionLengthChars returns a boolean if a field has been set.

func (*Limits) HasMaxArtifactLabelsCount added in v0.4.0

func (o *Limits) HasMaxArtifactLabelsCount() bool

HasMaxArtifactLabelsCount returns a boolean if a field has been set.

func (*Limits) HasMaxArtifactNameLengthChars added in v0.4.0

func (o *Limits) HasMaxArtifactNameLengthChars() bool

HasMaxArtifactNameLengthChars returns a boolean if a field has been set.

func (*Limits) HasMaxArtifactPropertiesCount added in v0.4.0

func (o *Limits) HasMaxArtifactPropertiesCount() bool

HasMaxArtifactPropertiesCount returns a boolean if a field has been set.

func (*Limits) HasMaxArtifactsCount added in v0.4.0

func (o *Limits) HasMaxArtifactsCount() bool

HasMaxArtifactsCount returns a boolean if a field has been set.

func (*Limits) HasMaxLabelSizeBytes added in v0.4.0

func (o *Limits) HasMaxLabelSizeBytes() bool

HasMaxLabelSizeBytes returns a boolean if a field has been set.

func (*Limits) HasMaxPropertyKeySizeBytes added in v0.4.0

func (o *Limits) HasMaxPropertyKeySizeBytes() bool

HasMaxPropertyKeySizeBytes returns a boolean if a field has been set.

func (*Limits) HasMaxPropertyValueSizeBytes added in v0.4.0

func (o *Limits) HasMaxPropertyValueSizeBytes() bool

HasMaxPropertyValueSizeBytes returns a boolean if a field has been set.

func (*Limits) HasMaxRequestsPerSecondCount added in v0.4.0

func (o *Limits) HasMaxRequestsPerSecondCount() bool

HasMaxRequestsPerSecondCount returns a boolean if a field has been set.

func (*Limits) HasMaxSchemaSizeBytes added in v0.4.0

func (o *Limits) HasMaxSchemaSizeBytes() bool

HasMaxSchemaSizeBytes returns a boolean if a field has been set.

func (*Limits) HasMaxTotalSchemasCount added in v0.4.0

func (o *Limits) HasMaxTotalSchemasCount() bool

HasMaxTotalSchemasCount returns a boolean if a field has been set.

func (*Limits) HasMaxVersionsPerArtifactCount added in v0.4.0

func (o *Limits) HasMaxVersionsPerArtifactCount() bool

HasMaxVersionsPerArtifactCount returns a boolean if a field has been set.

func (Limits) MarshalJSON added in v0.4.0

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

func (*Limits) SetMaxArtifactDescriptionLengthChars added in v0.4.0

func (o *Limits) SetMaxArtifactDescriptionLengthChars(v int64)

SetMaxArtifactDescriptionLengthChars gets a reference to the given int64 and assigns it to the MaxArtifactDescriptionLengthChars field.

func (*Limits) SetMaxArtifactLabelsCount added in v0.4.0

func (o *Limits) SetMaxArtifactLabelsCount(v int64)

SetMaxArtifactLabelsCount gets a reference to the given int64 and assigns it to the MaxArtifactLabelsCount field.

func (*Limits) SetMaxArtifactNameLengthChars added in v0.4.0

func (o *Limits) SetMaxArtifactNameLengthChars(v int64)

SetMaxArtifactNameLengthChars gets a reference to the given int64 and assigns it to the MaxArtifactNameLengthChars field.

func (*Limits) SetMaxArtifactPropertiesCount added in v0.4.0

func (o *Limits) SetMaxArtifactPropertiesCount(v int64)

SetMaxArtifactPropertiesCount gets a reference to the given int64 and assigns it to the MaxArtifactPropertiesCount field.

func (*Limits) SetMaxArtifactsCount added in v0.4.0

func (o *Limits) SetMaxArtifactsCount(v int64)

SetMaxArtifactsCount gets a reference to the given int64 and assigns it to the MaxArtifactsCount field.

func (*Limits) SetMaxLabelSizeBytes added in v0.4.0

func (o *Limits) SetMaxLabelSizeBytes(v int64)

SetMaxLabelSizeBytes gets a reference to the given int64 and assigns it to the MaxLabelSizeBytes field.

func (*Limits) SetMaxPropertyKeySizeBytes added in v0.4.0

func (o *Limits) SetMaxPropertyKeySizeBytes(v int64)

SetMaxPropertyKeySizeBytes gets a reference to the given int64 and assigns it to the MaxPropertyKeySizeBytes field.

func (*Limits) SetMaxPropertyValueSizeBytes added in v0.4.0

func (o *Limits) SetMaxPropertyValueSizeBytes(v int64)

SetMaxPropertyValueSizeBytes gets a reference to the given int64 and assigns it to the MaxPropertyValueSizeBytes field.

func (*Limits) SetMaxRequestsPerSecondCount added in v0.4.0

func (o *Limits) SetMaxRequestsPerSecondCount(v int64)

SetMaxRequestsPerSecondCount gets a reference to the given int64 and assigns it to the MaxRequestsPerSecondCount field.

func (*Limits) SetMaxSchemaSizeBytes added in v0.4.0

func (o *Limits) SetMaxSchemaSizeBytes(v int64)

SetMaxSchemaSizeBytes gets a reference to the given int64 and assigns it to the MaxSchemaSizeBytes field.

func (*Limits) SetMaxTotalSchemasCount added in v0.4.0

func (o *Limits) SetMaxTotalSchemasCount(v int64)

SetMaxTotalSchemasCount gets a reference to the given int64 and assigns it to the MaxTotalSchemasCount field.

func (*Limits) SetMaxVersionsPerArtifactCount added in v0.4.0

func (o *Limits) SetMaxVersionsPerArtifactCount(v int64)

SetMaxVersionsPerArtifactCount gets a reference to the given int64 and assigns it to the MaxVersionsPerArtifactCount field.

type LogConfiguration

type LogConfiguration struct {
	Level LogLevel `json:"level"`
}

LogConfiguration struct for LogConfiguration

func NewLogConfiguration

func NewLogConfiguration(level LogLevel) *LogConfiguration

NewLogConfiguration instantiates a new LogConfiguration 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 NewLogConfigurationWithDefaults

func NewLogConfigurationWithDefaults() *LogConfiguration

NewLogConfigurationWithDefaults instantiates a new LogConfiguration 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 (*LogConfiguration) GetLevel

func (o *LogConfiguration) GetLevel() LogLevel

GetLevel returns the Level field value

func (*LogConfiguration) GetLevelOk

func (o *LogConfiguration) GetLevelOk() (*LogLevel, bool)

GetLevelOk returns a tuple with the Level field value and a boolean to check if the value has been set.

func (LogConfiguration) MarshalJSON

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

func (*LogConfiguration) SetLevel

func (o *LogConfiguration) SetLevel(v LogLevel)

SetLevel sets field value

type LogLevel

type LogLevel string

LogLevel the model 'LogLevel'

const (
	DEBUG   LogLevel = "DEBUG"
	TRACE   LogLevel = "TRACE"
	WARN    LogLevel = "WARN"
	ERROR   LogLevel = "ERROR"
	SEVERE  LogLevel = "SEVERE"
	WARNING LogLevel = "WARNING"
	INFO    LogLevel = "INFO"
	CONFIG  LogLevel = "CONFIG"
	FINE    LogLevel = "FINE"
	FINER   LogLevel = "FINER"
	FINEST  LogLevel = "FINEST"
)

List of LogLevel

func NewLogLevelFromValue

func NewLogLevelFromValue(v string) (*LogLevel, error)

NewLogLevelFromValue returns a pointer to a valid LogLevel for the value passed as argument, or an error if the value passed is not allowed by the enum

func (LogLevel) IsValid

func (v LogLevel) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (LogLevel) Ptr

func (v LogLevel) Ptr() *LogLevel

Ptr returns reference to LogLevel value

func (*LogLevel) UnmarshalJSON

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

type MetadataApiService

type MetadataApiService service

MetadataApiService MetadataApi service

func (*MetadataApiService) DeleteArtifactVersionMetaData

func (a *MetadataApiService) DeleteArtifactVersionMetaData(ctx context.Context, groupId string, artifactId string, version string) ApiDeleteArtifactVersionMetaDataRequest

DeleteArtifactVersionMetaData Delete artifact version metadata

Deletes the user-editable metadata properties of the artifact version. Any properties that are not user-editable are preserved.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@param version The unique identifier of a specific version of the artifact content.
@return ApiDeleteArtifactVersionMetaDataRequest

func (*MetadataApiService) DeleteArtifactVersionMetaDataExecute

func (a *MetadataApiService) DeleteArtifactVersionMetaDataExecute(r ApiDeleteArtifactVersionMetaDataRequest) (*http.Response, error)

Execute executes the request

func (*MetadataApiService) GetArtifactMetaData

func (a *MetadataApiService) GetArtifactMetaData(ctx context.Context, groupId string, artifactId string) ApiGetArtifactMetaDataRequest

GetArtifactMetaData Get artifact metadata

Gets the metadata for an artifact in the registry. The returned metadata includes both generated (read-only) and editable metadata (such as name and description).

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiGetArtifactMetaDataRequest

func (*MetadataApiService) GetArtifactMetaDataExecute

Execute executes the request

@return ArtifactMetaData

func (*MetadataApiService) GetArtifactVersionMetaData

func (a *MetadataApiService) GetArtifactVersionMetaData(ctx context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionMetaDataRequest

GetArtifactVersionMetaData Get artifact version metadata

Retrieves the metadata for a single version of the artifact. The version metadata is a subset of the artifact metadata and only includes the metadata that is specific to the version (for example, this doesn't include `modifiedOn`).

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@param version The unique identifier of a specific version of the artifact content.
@return ApiGetArtifactVersionMetaDataRequest

func (*MetadataApiService) GetArtifactVersionMetaDataByContent

func (a *MetadataApiService) GetArtifactVersionMetaDataByContent(ctx context.Context, groupId string, artifactId string) ApiGetArtifactVersionMetaDataByContentRequest

GetArtifactVersionMetaDataByContent Get artifact version metadata by content

Gets the metadata for an artifact that matches the raw content. Searches the registry for a version of the given artifact matching the content provided in the body of the POST.

This operation can fail for the following reasons:

* Provided content (request body) was empty (HTTP error `400`) * No artifact with the `artifactId` exists (HTTP error `404`) * No artifact version matching the provided content exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiGetArtifactVersionMetaDataByContentRequest

func (*MetadataApiService) GetArtifactVersionMetaDataByContentExecute

func (a *MetadataApiService) GetArtifactVersionMetaDataByContentExecute(r ApiGetArtifactVersionMetaDataByContentRequest) (*VersionMetaData, *http.Response, error)

Execute executes the request

@return VersionMetaData

func (*MetadataApiService) GetArtifactVersionMetaDataExecute

func (a *MetadataApiService) GetArtifactVersionMetaDataExecute(r ApiGetArtifactVersionMetaDataRequest) (*VersionMetaData, *http.Response, error)

Execute executes the request

@return VersionMetaData

func (*MetadataApiService) UpdateArtifactMetaData

func (a *MetadataApiService) UpdateArtifactMetaData(ctx context.Context, groupId string, artifactId string) ApiUpdateArtifactMetaDataRequest

UpdateArtifactMetaData Update artifact metadata

Updates the editable parts of the artifact's metadata. Not all metadata fields can be updated. For example, `createdOn` and `createdBy` are both read-only properties.

This operation can fail for the following reasons:

* No artifact with the `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiUpdateArtifactMetaDataRequest

func (*MetadataApiService) UpdateArtifactMetaDataExecute

func (a *MetadataApiService) UpdateArtifactMetaDataExecute(r ApiUpdateArtifactMetaDataRequest) (*http.Response, error)

Execute executes the request

func (*MetadataApiService) UpdateArtifactVersionMetaData

func (a *MetadataApiService) UpdateArtifactVersionMetaData(ctx context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionMetaDataRequest

UpdateArtifactVersionMetaData Update artifact version metadata

Updates the user-editable portion of the artifact version's metadata. Only some of the metadata fields are editable by the user. For example, `description` is editable, but `createdOn` is not.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@param version The unique identifier of a specific version of the artifact content.
@return ApiUpdateArtifactVersionMetaDataRequest

func (*MetadataApiService) UpdateArtifactVersionMetaDataExecute

func (a *MetadataApiService) UpdateArtifactVersionMetaDataExecute(r ApiUpdateArtifactVersionMetaDataRequest) (*http.Response, error)

Execute executes the request

type NamedLogConfiguration

type NamedLogConfiguration struct {
	Name  string   `json:"name"`
	Level LogLevel `json:"level"`
}

NamedLogConfiguration struct for NamedLogConfiguration

func NewNamedLogConfiguration

func NewNamedLogConfiguration(name string, level LogLevel) *NamedLogConfiguration

NewNamedLogConfiguration instantiates a new NamedLogConfiguration 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 NewNamedLogConfigurationWithDefaults

func NewNamedLogConfigurationWithDefaults() *NamedLogConfiguration

NewNamedLogConfigurationWithDefaults instantiates a new NamedLogConfiguration 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 (*NamedLogConfiguration) GetLevel

func (o *NamedLogConfiguration) GetLevel() LogLevel

GetLevel returns the Level field value

func (*NamedLogConfiguration) GetLevelOk

func (o *NamedLogConfiguration) GetLevelOk() (*LogLevel, bool)

GetLevelOk returns a tuple with the Level field value and a boolean to check if the value has been set.

func (*NamedLogConfiguration) GetName

func (o *NamedLogConfiguration) GetName() string

GetName returns the Name field value

func (*NamedLogConfiguration) GetNameOk

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

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

func (NamedLogConfiguration) MarshalJSON

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

func (*NamedLogConfiguration) SetLevel

func (o *NamedLogConfiguration) SetLevel(v LogLevel)

SetLevel sets field value

func (*NamedLogConfiguration) SetName

func (o *NamedLogConfiguration) SetName(v string)

SetName sets field value

type NamedLogConfigurationAllOf

type NamedLogConfigurationAllOf struct {
	Name string `json:"name"`
}

NamedLogConfigurationAllOf struct for NamedLogConfigurationAllOf

func NewNamedLogConfigurationAllOf

func NewNamedLogConfigurationAllOf(name string) *NamedLogConfigurationAllOf

NewNamedLogConfigurationAllOf instantiates a new NamedLogConfigurationAllOf 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 NewNamedLogConfigurationAllOfWithDefaults

func NewNamedLogConfigurationAllOfWithDefaults() *NamedLogConfigurationAllOf

NewNamedLogConfigurationAllOfWithDefaults instantiates a new NamedLogConfigurationAllOf 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 (*NamedLogConfigurationAllOf) GetName

func (o *NamedLogConfigurationAllOf) GetName() string

GetName returns the Name field value

func (*NamedLogConfigurationAllOf) GetNameOk

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

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

func (NamedLogConfigurationAllOf) MarshalJSON

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

func (*NamedLogConfigurationAllOf) SetName

func (o *NamedLogConfigurationAllOf) SetName(v string)

SetName sets field value

type NullableArtifactMetaData

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

func NewNullableArtifactMetaData

func NewNullableArtifactMetaData(val *ArtifactMetaData) *NullableArtifactMetaData

func (NullableArtifactMetaData) Get

func (NullableArtifactMetaData) IsSet

func (v NullableArtifactMetaData) IsSet() bool

func (NullableArtifactMetaData) MarshalJSON

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

func (*NullableArtifactMetaData) Set

func (*NullableArtifactMetaData) UnmarshalJSON

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

func (*NullableArtifactMetaData) Unset

func (v *NullableArtifactMetaData) Unset()

type NullableArtifactReference added in v0.4.0

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

func NewNullableArtifactReference added in v0.4.0

func NewNullableArtifactReference(val *ArtifactReference) *NullableArtifactReference

func (NullableArtifactReference) Get added in v0.4.0

func (NullableArtifactReference) IsSet added in v0.4.0

func (v NullableArtifactReference) IsSet() bool

func (NullableArtifactReference) MarshalJSON added in v0.4.0

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

func (*NullableArtifactReference) Set added in v0.4.0

func (*NullableArtifactReference) UnmarshalJSON added in v0.4.0

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

func (*NullableArtifactReference) Unset added in v0.4.0

func (v *NullableArtifactReference) Unset()

type NullableArtifactSearchResults

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

func (NullableArtifactSearchResults) Get

func (NullableArtifactSearchResults) IsSet

func (NullableArtifactSearchResults) MarshalJSON

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

func (*NullableArtifactSearchResults) Set

func (*NullableArtifactSearchResults) UnmarshalJSON

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

func (*NullableArtifactSearchResults) Unset

func (v *NullableArtifactSearchResults) Unset()

type NullableArtifactState

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

func NewNullableArtifactState

func NewNullableArtifactState(val *ArtifactState) *NullableArtifactState

func (NullableArtifactState) Get

func (NullableArtifactState) IsSet

func (v NullableArtifactState) IsSet() bool

func (NullableArtifactState) MarshalJSON

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

func (*NullableArtifactState) Set

func (v *NullableArtifactState) Set(val *ArtifactState)

func (*NullableArtifactState) UnmarshalJSON

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

func (*NullableArtifactState) Unset

func (v *NullableArtifactState) Unset()

type NullableArtifactType

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

func NewNullableArtifactType

func NewNullableArtifactType(val *ArtifactType) *NullableArtifactType

func (NullableArtifactType) Get

func (NullableArtifactType) IsSet

func (v NullableArtifactType) IsSet() bool

func (NullableArtifactType) MarshalJSON

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

func (*NullableArtifactType) Set

func (v *NullableArtifactType) Set(val *ArtifactType)

func (*NullableArtifactType) UnmarshalJSON

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

func (*NullableArtifactType) Unset

func (v *NullableArtifactType) Unset()

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 NullableConfigurationProperty added in v0.4.0

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

func NewNullableConfigurationProperty added in v0.4.0

func NewNullableConfigurationProperty(val *ConfigurationProperty) *NullableConfigurationProperty

func (NullableConfigurationProperty) Get added in v0.4.0

func (NullableConfigurationProperty) IsSet added in v0.4.0

func (NullableConfigurationProperty) MarshalJSON added in v0.4.0

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

func (*NullableConfigurationProperty) Set added in v0.4.0

func (*NullableConfigurationProperty) UnmarshalJSON added in v0.4.0

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

func (*NullableConfigurationProperty) Unset added in v0.4.0

func (v *NullableConfigurationProperty) Unset()

type NullableContentCreateRequest added in v0.4.0

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

func NewNullableContentCreateRequest added in v0.4.0

func NewNullableContentCreateRequest(val *ContentCreateRequest) *NullableContentCreateRequest

func (NullableContentCreateRequest) Get added in v0.4.0

func (NullableContentCreateRequest) IsSet added in v0.4.0

func (NullableContentCreateRequest) MarshalJSON added in v0.4.0

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

func (*NullableContentCreateRequest) Set added in v0.4.0

func (*NullableContentCreateRequest) UnmarshalJSON added in v0.4.0

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

func (*NullableContentCreateRequest) Unset added in v0.4.0

func (v *NullableContentCreateRequest) Unset()

type NullableDownloadRef added in v0.4.0

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

func NewNullableDownloadRef added in v0.4.0

func NewNullableDownloadRef(val *DownloadRef) *NullableDownloadRef

func (NullableDownloadRef) Get added in v0.4.0

func (NullableDownloadRef) IsSet added in v0.4.0

func (v NullableDownloadRef) IsSet() bool

func (NullableDownloadRef) MarshalJSON added in v0.4.0

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

func (*NullableDownloadRef) Set added in v0.4.0

func (v *NullableDownloadRef) Set(val *DownloadRef)

func (*NullableDownloadRef) UnmarshalJSON added in v0.4.0

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

func (*NullableDownloadRef) Unset added in v0.4.0

func (v *NullableDownloadRef) Unset()

type NullableEditableMetaData

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

func NewNullableEditableMetaData

func NewNullableEditableMetaData(val *EditableMetaData) *NullableEditableMetaData

func (NullableEditableMetaData) Get

func (NullableEditableMetaData) IsSet

func (v NullableEditableMetaData) IsSet() bool

func (NullableEditableMetaData) MarshalJSON

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

func (*NullableEditableMetaData) Set

func (*NullableEditableMetaData) UnmarshalJSON

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

func (*NullableEditableMetaData) Unset

func (v *NullableEditableMetaData) Unset()

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) 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 NullableIfExists

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

func NewNullableIfExists

func NewNullableIfExists(val *IfExists) *NullableIfExists

func (NullableIfExists) Get

func (v NullableIfExists) Get() *IfExists

func (NullableIfExists) IsSet

func (v NullableIfExists) IsSet() bool

func (NullableIfExists) MarshalJSON

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

func (*NullableIfExists) Set

func (v *NullableIfExists) Set(val *IfExists)

func (*NullableIfExists) UnmarshalJSON

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

func (*NullableIfExists) Unset

func (v *NullableIfExists) 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 NullableLimits added in v0.4.0

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

func NewNullableLimits added in v0.4.0

func NewNullableLimits(val *Limits) *NullableLimits

func (NullableLimits) Get added in v0.4.0

func (v NullableLimits) Get() *Limits

func (NullableLimits) IsSet added in v0.4.0

func (v NullableLimits) IsSet() bool

func (NullableLimits) MarshalJSON added in v0.4.0

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

func (*NullableLimits) Set added in v0.4.0

func (v *NullableLimits) Set(val *Limits)

func (*NullableLimits) UnmarshalJSON added in v0.4.0

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

func (*NullableLimits) Unset added in v0.4.0

func (v *NullableLimits) Unset()

type NullableLogConfiguration

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

func NewNullableLogConfiguration

func NewNullableLogConfiguration(val *LogConfiguration) *NullableLogConfiguration

func (NullableLogConfiguration) Get

func (NullableLogConfiguration) IsSet

func (v NullableLogConfiguration) IsSet() bool

func (NullableLogConfiguration) MarshalJSON

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

func (*NullableLogConfiguration) Set

func (*NullableLogConfiguration) UnmarshalJSON

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

func (*NullableLogConfiguration) Unset

func (v *NullableLogConfiguration) Unset()

type NullableLogLevel

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

func NewNullableLogLevel

func NewNullableLogLevel(val *LogLevel) *NullableLogLevel

func (NullableLogLevel) Get

func (v NullableLogLevel) Get() *LogLevel

func (NullableLogLevel) IsSet

func (v NullableLogLevel) IsSet() bool

func (NullableLogLevel) MarshalJSON

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

func (*NullableLogLevel) Set

func (v *NullableLogLevel) Set(val *LogLevel)

func (*NullableLogLevel) UnmarshalJSON

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

func (*NullableLogLevel) Unset

func (v *NullableLogLevel) Unset()

type NullableNamedLogConfiguration

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

func (NullableNamedLogConfiguration) Get

func (NullableNamedLogConfiguration) IsSet

func (NullableNamedLogConfiguration) MarshalJSON

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

func (*NullableNamedLogConfiguration) Set

func (*NullableNamedLogConfiguration) UnmarshalJSON

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

func (*NullableNamedLogConfiguration) Unset

func (v *NullableNamedLogConfiguration) Unset()

type NullableNamedLogConfigurationAllOf

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

func (NullableNamedLogConfigurationAllOf) Get

func (NullableNamedLogConfigurationAllOf) IsSet

func (NullableNamedLogConfigurationAllOf) MarshalJSON

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

func (*NullableNamedLogConfigurationAllOf) Set

func (*NullableNamedLogConfigurationAllOf) UnmarshalJSON

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

func (*NullableNamedLogConfigurationAllOf) Unset

type NullableRoleMapping

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

func NewNullableRoleMapping

func NewNullableRoleMapping(val *RoleMapping) *NullableRoleMapping

func (NullableRoleMapping) Get

func (NullableRoleMapping) IsSet

func (v NullableRoleMapping) IsSet() bool

func (NullableRoleMapping) MarshalJSON

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

func (*NullableRoleMapping) Set

func (v *NullableRoleMapping) Set(val *RoleMapping)

func (*NullableRoleMapping) UnmarshalJSON

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

func (*NullableRoleMapping) Unset

func (v *NullableRoleMapping) Unset()

type NullableRoleType

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

func NewNullableRoleType

func NewNullableRoleType(val *RoleType) *NullableRoleType

func (NullableRoleType) Get

func (v NullableRoleType) Get() *RoleType

func (NullableRoleType) IsSet

func (v NullableRoleType) IsSet() bool

func (NullableRoleType) MarshalJSON

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

func (*NullableRoleType) Set

func (v *NullableRoleType) Set(val *RoleType)

func (*NullableRoleType) UnmarshalJSON

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

func (*NullableRoleType) Unset

func (v *NullableRoleType) Unset()

type NullableRule

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

func NewNullableRule

func NewNullableRule(val *Rule) *NullableRule

func (NullableRule) Get

func (v NullableRule) Get() *Rule

func (NullableRule) IsSet

func (v NullableRule) IsSet() bool

func (NullableRule) MarshalJSON

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

func (*NullableRule) Set

func (v *NullableRule) Set(val *Rule)

func (*NullableRule) UnmarshalJSON

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

func (*NullableRule) Unset

func (v *NullableRule) Unset()

type NullableRuleType

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

func NewNullableRuleType

func NewNullableRuleType(val *RuleType) *NullableRuleType

func (NullableRuleType) Get

func (v NullableRuleType) Get() *RuleType

func (NullableRuleType) IsSet

func (v NullableRuleType) IsSet() bool

func (NullableRuleType) MarshalJSON

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

func (*NullableRuleType) Set

func (v *NullableRuleType) Set(val *RuleType)

func (*NullableRuleType) UnmarshalJSON

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

func (*NullableRuleType) Unset

func (v *NullableRuleType) Unset()

type NullableRuleViolationCause

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

func NewNullableRuleViolationCause

func NewNullableRuleViolationCause(val *RuleViolationCause) *NullableRuleViolationCause

func (NullableRuleViolationCause) Get

func (NullableRuleViolationCause) IsSet

func (v NullableRuleViolationCause) IsSet() bool

func (NullableRuleViolationCause) MarshalJSON

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

func (*NullableRuleViolationCause) Set

func (*NullableRuleViolationCause) UnmarshalJSON

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

func (*NullableRuleViolationCause) Unset

func (v *NullableRuleViolationCause) Unset()

type NullableRuleViolationError

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

func NewNullableRuleViolationError

func NewNullableRuleViolationError(val *RuleViolationError) *NullableRuleViolationError

func (NullableRuleViolationError) Get

func (NullableRuleViolationError) IsSet

func (v NullableRuleViolationError) IsSet() bool

func (NullableRuleViolationError) MarshalJSON

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

func (*NullableRuleViolationError) Set

func (*NullableRuleViolationError) UnmarshalJSON

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

func (*NullableRuleViolationError) Unset

func (v *NullableRuleViolationError) Unset()

type NullableRuleViolationErrorAllOf

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

func (NullableRuleViolationErrorAllOf) Get

func (NullableRuleViolationErrorAllOf) IsSet

func (NullableRuleViolationErrorAllOf) MarshalJSON

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

func (*NullableRuleViolationErrorAllOf) Set

func (*NullableRuleViolationErrorAllOf) UnmarshalJSON

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

func (*NullableRuleViolationErrorAllOf) Unset

type NullableSearchedArtifact

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

func NewNullableSearchedArtifact

func NewNullableSearchedArtifact(val *SearchedArtifact) *NullableSearchedArtifact

func (NullableSearchedArtifact) Get

func (NullableSearchedArtifact) IsSet

func (v NullableSearchedArtifact) IsSet() bool

func (NullableSearchedArtifact) MarshalJSON

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

func (*NullableSearchedArtifact) Set

func (*NullableSearchedArtifact) UnmarshalJSON

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

func (*NullableSearchedArtifact) Unset

func (v *NullableSearchedArtifact) Unset()

type NullableSearchedVersion

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

func NewNullableSearchedVersion

func NewNullableSearchedVersion(val *SearchedVersion) *NullableSearchedVersion

func (NullableSearchedVersion) Get

func (NullableSearchedVersion) IsSet

func (v NullableSearchedVersion) IsSet() bool

func (NullableSearchedVersion) MarshalJSON

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

func (*NullableSearchedVersion) Set

func (*NullableSearchedVersion) UnmarshalJSON

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

func (*NullableSearchedVersion) Unset

func (v *NullableSearchedVersion) Unset()

type NullableSortBy

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

func NewNullableSortBy

func NewNullableSortBy(val *SortBy) *NullableSortBy

func (NullableSortBy) Get

func (v NullableSortBy) Get() *SortBy

func (NullableSortBy) IsSet

func (v NullableSortBy) IsSet() bool

func (NullableSortBy) MarshalJSON

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

func (*NullableSortBy) Set

func (v *NullableSortBy) Set(val *SortBy)

func (*NullableSortBy) UnmarshalJSON

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

func (*NullableSortBy) Unset

func (v *NullableSortBy) Unset()

type NullableSortOrder

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

func NewNullableSortOrder

func NewNullableSortOrder(val *SortOrder) *NullableSortOrder

func (NullableSortOrder) Get

func (v NullableSortOrder) Get() *SortOrder

func (NullableSortOrder) IsSet

func (v NullableSortOrder) IsSet() bool

func (NullableSortOrder) MarshalJSON

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

func (*NullableSortOrder) Set

func (v *NullableSortOrder) Set(val *SortOrder)

func (*NullableSortOrder) UnmarshalJSON

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

func (*NullableSortOrder) Unset

func (v *NullableSortOrder) 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 NullableSystemInfo

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

func NewNullableSystemInfo

func NewNullableSystemInfo(val *SystemInfo) *NullableSystemInfo

func (NullableSystemInfo) Get

func (v NullableSystemInfo) Get() *SystemInfo

func (NullableSystemInfo) IsSet

func (v NullableSystemInfo) IsSet() bool

func (NullableSystemInfo) MarshalJSON

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

func (*NullableSystemInfo) Set

func (v *NullableSystemInfo) Set(val *SystemInfo)

func (*NullableSystemInfo) UnmarshalJSON

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

func (*NullableSystemInfo) Unset

func (v *NullableSystemInfo) 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 NullableUpdateConfigurationProperty added in v0.4.0

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

func NewNullableUpdateConfigurationProperty added in v0.4.0

func NewNullableUpdateConfigurationProperty(val *UpdateConfigurationProperty) *NullableUpdateConfigurationProperty

func (NullableUpdateConfigurationProperty) Get added in v0.4.0

func (NullableUpdateConfigurationProperty) IsSet added in v0.4.0

func (NullableUpdateConfigurationProperty) MarshalJSON added in v0.4.0

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

func (*NullableUpdateConfigurationProperty) Set added in v0.4.0

func (*NullableUpdateConfigurationProperty) UnmarshalJSON added in v0.4.0

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

func (*NullableUpdateConfigurationProperty) Unset added in v0.4.0

type NullableUpdateRole

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

func NewNullableUpdateRole

func NewNullableUpdateRole(val *UpdateRole) *NullableUpdateRole

func (NullableUpdateRole) Get

func (v NullableUpdateRole) Get() *UpdateRole

func (NullableUpdateRole) IsSet

func (v NullableUpdateRole) IsSet() bool

func (NullableUpdateRole) MarshalJSON

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

func (*NullableUpdateRole) Set

func (v *NullableUpdateRole) Set(val *UpdateRole)

func (*NullableUpdateRole) UnmarshalJSON

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

func (*NullableUpdateRole) Unset

func (v *NullableUpdateRole) Unset()

type NullableUpdateState

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

func NewNullableUpdateState

func NewNullableUpdateState(val *UpdateState) *NullableUpdateState

func (NullableUpdateState) Get

func (NullableUpdateState) IsSet

func (v NullableUpdateState) IsSet() bool

func (NullableUpdateState) MarshalJSON

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

func (*NullableUpdateState) Set

func (v *NullableUpdateState) Set(val *UpdateState)

func (*NullableUpdateState) UnmarshalJSON

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

func (*NullableUpdateState) Unset

func (v *NullableUpdateState) Unset()

type NullableUserInfo

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

func NewNullableUserInfo

func NewNullableUserInfo(val *UserInfo) *NullableUserInfo

func (NullableUserInfo) Get

func (v NullableUserInfo) Get() *UserInfo

func (NullableUserInfo) IsSet

func (v NullableUserInfo) IsSet() bool

func (NullableUserInfo) MarshalJSON

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

func (*NullableUserInfo) Set

func (v *NullableUserInfo) Set(val *UserInfo)

func (*NullableUserInfo) UnmarshalJSON

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

func (*NullableUserInfo) Unset

func (v *NullableUserInfo) Unset()

type NullableVersionMetaData

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

func NewNullableVersionMetaData

func NewNullableVersionMetaData(val *VersionMetaData) *NullableVersionMetaData

func (NullableVersionMetaData) Get

func (NullableVersionMetaData) IsSet

func (v NullableVersionMetaData) IsSet() bool

func (NullableVersionMetaData) MarshalJSON

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

func (*NullableVersionMetaData) Set

func (*NullableVersionMetaData) UnmarshalJSON

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

func (*NullableVersionMetaData) Unset

func (v *NullableVersionMetaData) Unset()

type NullableVersionSearchResults

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

func NewNullableVersionSearchResults

func NewNullableVersionSearchResults(val *VersionSearchResults) *NullableVersionSearchResults

func (NullableVersionSearchResults) Get

func (NullableVersionSearchResults) IsSet

func (NullableVersionSearchResults) MarshalJSON

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

func (*NullableVersionSearchResults) Set

func (*NullableVersionSearchResults) UnmarshalJSON

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

func (*NullableVersionSearchResults) Unset

func (v *NullableVersionSearchResults) Unset()

type RoleMapping

type RoleMapping struct {
	PrincipalId string   `json:"principalId"`
	Role        RoleType `json:"role"`
	// A friendly name for the principal.
	PrincipalName *string `json:"principalName,omitempty"`
}

RoleMapping The mapping between a user/principal and their role.

func NewRoleMapping

func NewRoleMapping(principalId string, role RoleType) *RoleMapping

NewRoleMapping instantiates a new RoleMapping 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 NewRoleMappingWithDefaults

func NewRoleMappingWithDefaults() *RoleMapping

NewRoleMappingWithDefaults instantiates a new RoleMapping 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 (*RoleMapping) GetPrincipalId

func (o *RoleMapping) GetPrincipalId() string

GetPrincipalId returns the PrincipalId field value

func (*RoleMapping) GetPrincipalIdOk

func (o *RoleMapping) GetPrincipalIdOk() (*string, bool)

GetPrincipalIdOk returns a tuple with the PrincipalId field value and a boolean to check if the value has been set.

func (*RoleMapping) GetPrincipalName

func (o *RoleMapping) GetPrincipalName() string

GetPrincipalName returns the PrincipalName field value if set, zero value otherwise.

func (*RoleMapping) GetPrincipalNameOk

func (o *RoleMapping) GetPrincipalNameOk() (*string, bool)

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

func (*RoleMapping) GetRole

func (o *RoleMapping) GetRole() RoleType

GetRole returns the Role field value

func (*RoleMapping) GetRoleOk

func (o *RoleMapping) GetRoleOk() (*RoleType, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*RoleMapping) HasPrincipalName

func (o *RoleMapping) HasPrincipalName() bool

HasPrincipalName returns a boolean if a field has been set.

func (RoleMapping) MarshalJSON

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

func (*RoleMapping) SetPrincipalId

func (o *RoleMapping) SetPrincipalId(v string)

SetPrincipalId sets field value

func (*RoleMapping) SetPrincipalName

func (o *RoleMapping) SetPrincipalName(v string)

SetPrincipalName gets a reference to the given string and assigns it to the PrincipalName field.

func (*RoleMapping) SetRole

func (o *RoleMapping) SetRole(v RoleType)

SetRole sets field value

type RoleType

type RoleType string

RoleType the model 'RoleType'

const (
	READ_ONLY RoleType = "READ_ONLY"
	DEVELOPER RoleType = "DEVELOPER"
	ADMIN     RoleType = "ADMIN"
)

List of RoleType

func NewRoleTypeFromValue

func NewRoleTypeFromValue(v string) (*RoleType, error)

NewRoleTypeFromValue returns a pointer to a valid RoleType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RoleType) IsValid

func (v RoleType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RoleType) Ptr

func (v RoleType) Ptr() *RoleType

Ptr returns reference to RoleType value

func (*RoleType) UnmarshalJSON

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

type Rule

type Rule struct {
	Config string    `json:"config"`
	Type   *RuleType `json:"type,omitempty"`
}

Rule struct for Rule

func NewRule

func NewRule(config string) *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

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

func (o *Rule) GetConfig() string

GetConfig returns the Config field value

func (*Rule) GetConfigOk

func (o *Rule) GetConfigOk() (*string, bool)

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

func (*Rule) GetType

func (o *Rule) GetType() RuleType

GetType returns the Type field value if set, zero value otherwise.

func (*Rule) GetTypeOk

func (o *Rule) GetTypeOk() (*RuleType, 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) HasType

func (o *Rule) HasType() bool

HasType returns a boolean if a field has been set.

func (Rule) MarshalJSON

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

func (*Rule) SetConfig

func (o *Rule) SetConfig(v string)

SetConfig sets field value

func (*Rule) SetType

func (o *Rule) SetType(v RuleType)

SetType gets a reference to the given RuleType and assigns it to the Type field.

type RuleType

type RuleType string

RuleType the model 'RuleType'

const (
	VALIDITY      RuleType = "VALIDITY"
	COMPATIBILITY RuleType = "COMPATIBILITY"
)

List of RuleType

func NewRuleTypeFromValue

func NewRuleTypeFromValue(v string) (*RuleType, error)

NewRuleTypeFromValue returns a pointer to a valid RuleType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RuleType) IsValid

func (v RuleType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RuleType) Ptr

func (v RuleType) Ptr() *RuleType

Ptr returns reference to RuleType value

func (*RuleType) UnmarshalJSON

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

type RuleViolationCause

type RuleViolationCause struct {
	Description *string `json:"description,omitempty"`
	Context     *string `json:"context,omitempty"`
}

RuleViolationCause struct for RuleViolationCause

func NewRuleViolationCause

func NewRuleViolationCause() *RuleViolationCause

NewRuleViolationCause instantiates a new RuleViolationCause 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 NewRuleViolationCauseWithDefaults

func NewRuleViolationCauseWithDefaults() *RuleViolationCause

NewRuleViolationCauseWithDefaults instantiates a new RuleViolationCause 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 (*RuleViolationCause) GetContext

func (o *RuleViolationCause) GetContext() string

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

func (*RuleViolationCause) GetContextOk

func (o *RuleViolationCause) 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 (*RuleViolationCause) GetDescription

func (o *RuleViolationCause) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RuleViolationCause) GetDescriptionOk

func (o *RuleViolationCause) GetDescriptionOk() (*string, bool)

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

func (*RuleViolationCause) HasContext

func (o *RuleViolationCause) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*RuleViolationCause) HasDescription

func (o *RuleViolationCause) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RuleViolationCause) MarshalJSON

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

func (*RuleViolationCause) SetContext

func (o *RuleViolationCause) SetContext(v string)

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

func (*RuleViolationCause) SetDescription

func (o *RuleViolationCause) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

type RuleViolationError

type RuleViolationError struct {
	// List of rule violation causes.
	Causes []RuleViolationCause `json:"causes"`
	// The short error message.
	Message *string `json:"message,omitempty"`
	// The server-side error code.
	ErrorCode *int32 `json:"error_code,omitempty"`
	// Full details about the error.  This might contain a server stack trace, for example.
	Detail *string `json:"detail,omitempty"`
	// The error name - typically the classname of the exception thrown by the server.
	Name *string `json:"name,omitempty"`
}

RuleViolationError All error responses, whether `4xx` or `5xx` will include one of these as the response body.

func NewRuleViolationError

func NewRuleViolationError(causes []RuleViolationCause) *RuleViolationError

NewRuleViolationError instantiates a new RuleViolationError 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 NewRuleViolationErrorWithDefaults

func NewRuleViolationErrorWithDefaults() *RuleViolationError

NewRuleViolationErrorWithDefaults instantiates a new RuleViolationError 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 (*RuleViolationError) GetCauses

func (o *RuleViolationError) GetCauses() []RuleViolationCause

GetCauses returns the Causes field value

func (*RuleViolationError) GetCausesOk

func (o *RuleViolationError) GetCausesOk() ([]RuleViolationCause, bool)

GetCausesOk returns a tuple with the Causes field value and a boolean to check if the value has been set.

func (*RuleViolationError) GetDetail

func (o *RuleViolationError) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*RuleViolationError) GetDetailOk

func (o *RuleViolationError) GetDetailOk() (*string, bool)

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

func (*RuleViolationError) GetErrorCode

func (o *RuleViolationError) GetErrorCode() int32

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

func (*RuleViolationError) GetErrorCodeOk

func (o *RuleViolationError) 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 (*RuleViolationError) GetMessage

func (o *RuleViolationError) GetMessage() string

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

func (*RuleViolationError) GetMessageOk

func (o *RuleViolationError) 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 (*RuleViolationError) GetName

func (o *RuleViolationError) GetName() string

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

func (*RuleViolationError) GetNameOk

func (o *RuleViolationError) 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 (*RuleViolationError) HasDetail

func (o *RuleViolationError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*RuleViolationError) HasErrorCode

func (o *RuleViolationError) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*RuleViolationError) HasMessage

func (o *RuleViolationError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*RuleViolationError) HasName

func (o *RuleViolationError) HasName() bool

HasName returns a boolean if a field has been set.

func (RuleViolationError) MarshalJSON

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

func (*RuleViolationError) SetCauses

func (o *RuleViolationError) SetCauses(v []RuleViolationCause)

SetCauses sets field value

func (*RuleViolationError) SetDetail

func (o *RuleViolationError) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*RuleViolationError) SetErrorCode

func (o *RuleViolationError) SetErrorCode(v int32)

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

func (*RuleViolationError) SetMessage

func (o *RuleViolationError) SetMessage(v string)

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

func (*RuleViolationError) SetName

func (o *RuleViolationError) SetName(v string)

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

type RuleViolationErrorAllOf

type RuleViolationErrorAllOf struct {
	// List of rule violation causes.
	Causes []RuleViolationCause `json:"causes"`
}

RuleViolationErrorAllOf struct for RuleViolationErrorAllOf

func NewRuleViolationErrorAllOf

func NewRuleViolationErrorAllOf(causes []RuleViolationCause) *RuleViolationErrorAllOf

NewRuleViolationErrorAllOf instantiates a new RuleViolationErrorAllOf 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 NewRuleViolationErrorAllOfWithDefaults

func NewRuleViolationErrorAllOfWithDefaults() *RuleViolationErrorAllOf

NewRuleViolationErrorAllOfWithDefaults instantiates a new RuleViolationErrorAllOf 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 (*RuleViolationErrorAllOf) GetCauses

GetCauses returns the Causes field value

func (*RuleViolationErrorAllOf) GetCausesOk

func (o *RuleViolationErrorAllOf) GetCausesOk() ([]RuleViolationCause, bool)

GetCausesOk returns a tuple with the Causes field value and a boolean to check if the value has been set.

func (RuleViolationErrorAllOf) MarshalJSON

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

func (*RuleViolationErrorAllOf) SetCauses

func (o *RuleViolationErrorAllOf) SetCauses(v []RuleViolationCause)

SetCauses sets field value

type SearchedArtifact

type SearchedArtifact struct {
	// The ID of a single artifact.
	Id          string        `json:"id"`
	Name        *string       `json:"name,omitempty"`
	Description *string       `json:"description,omitempty"`
	CreatedOn   string        `json:"createdOn"`
	CreatedBy   string        `json:"createdBy"`
	Type        ArtifactType  `json:"type"`
	Labels      []string      `json:"labels,omitempty"`
	State       ArtifactState `json:"state"`
	ModifiedOn  *string       `json:"modifiedOn,omitempty"`
	ModifiedBy  *string       `json:"modifiedBy,omitempty"`
	// An ID of a single artifact group.
	GroupId *string `json:"groupId,omitempty"`
}

SearchedArtifact Models a single artifact from the result set returned when searching for artifacts.

func NewSearchedArtifact

func NewSearchedArtifact(id string, createdOn string, createdBy string, type_ ArtifactType, state ArtifactState) *SearchedArtifact

NewSearchedArtifact instantiates a new SearchedArtifact 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 NewSearchedArtifactWithDefaults

func NewSearchedArtifactWithDefaults() *SearchedArtifact

NewSearchedArtifactWithDefaults instantiates a new SearchedArtifact 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 (*SearchedArtifact) GetCreatedBy

func (o *SearchedArtifact) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*SearchedArtifact) GetCreatedByOk

func (o *SearchedArtifact) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*SearchedArtifact) GetCreatedOn

func (o *SearchedArtifact) GetCreatedOn() string

GetCreatedOn returns the CreatedOn field value

func (*SearchedArtifact) GetCreatedOnOk

func (o *SearchedArtifact) GetCreatedOnOk() (*string, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.

func (*SearchedArtifact) GetDescription

func (o *SearchedArtifact) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SearchedArtifact) GetDescriptionOk

func (o *SearchedArtifact) GetDescriptionOk() (*string, bool)

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

func (*SearchedArtifact) GetGroupId

func (o *SearchedArtifact) GetGroupId() string

GetGroupId returns the GroupId field value if set, zero value otherwise.

func (*SearchedArtifact) GetGroupIdOk

func (o *SearchedArtifact) GetGroupIdOk() (*string, bool)

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

func (*SearchedArtifact) GetId

func (o *SearchedArtifact) GetId() string

GetId returns the Id field value

func (*SearchedArtifact) GetIdOk

func (o *SearchedArtifact) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SearchedArtifact) GetLabels

func (o *SearchedArtifact) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*SearchedArtifact) GetLabelsOk

func (o *SearchedArtifact) GetLabelsOk() ([]string, bool)

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

func (*SearchedArtifact) GetModifiedBy

func (o *SearchedArtifact) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value if set, zero value otherwise.

func (*SearchedArtifact) GetModifiedByOk

func (o *SearchedArtifact) GetModifiedByOk() (*string, bool)

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

func (*SearchedArtifact) GetModifiedOn

func (o *SearchedArtifact) GetModifiedOn() string

GetModifiedOn returns the ModifiedOn field value if set, zero value otherwise.

func (*SearchedArtifact) GetModifiedOnOk

func (o *SearchedArtifact) GetModifiedOnOk() (*string, bool)

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

func (*SearchedArtifact) GetName

func (o *SearchedArtifact) GetName() string

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

func (*SearchedArtifact) GetNameOk

func (o *SearchedArtifact) 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 (*SearchedArtifact) GetState

func (o *SearchedArtifact) GetState() ArtifactState

GetState returns the State field value

func (*SearchedArtifact) GetStateOk

func (o *SearchedArtifact) GetStateOk() (*ArtifactState, bool)

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

func (*SearchedArtifact) GetType

func (o *SearchedArtifact) GetType() ArtifactType

GetType returns the Type field value

func (*SearchedArtifact) GetTypeOk

func (o *SearchedArtifact) GetTypeOk() (*ArtifactType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SearchedArtifact) HasDescription

func (o *SearchedArtifact) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SearchedArtifact) HasGroupId

func (o *SearchedArtifact) HasGroupId() bool

HasGroupId returns a boolean if a field has been set.

func (*SearchedArtifact) HasLabels

func (o *SearchedArtifact) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*SearchedArtifact) HasModifiedBy

func (o *SearchedArtifact) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

func (*SearchedArtifact) HasModifiedOn

func (o *SearchedArtifact) HasModifiedOn() bool

HasModifiedOn returns a boolean if a field has been set.

func (*SearchedArtifact) HasName

func (o *SearchedArtifact) HasName() bool

HasName returns a boolean if a field has been set.

func (SearchedArtifact) MarshalJSON

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

func (*SearchedArtifact) SetCreatedBy

func (o *SearchedArtifact) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*SearchedArtifact) SetCreatedOn

func (o *SearchedArtifact) SetCreatedOn(v string)

SetCreatedOn sets field value

func (*SearchedArtifact) SetDescription

func (o *SearchedArtifact) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SearchedArtifact) SetGroupId

func (o *SearchedArtifact) SetGroupId(v string)

SetGroupId gets a reference to the given string and assigns it to the GroupId field.

func (*SearchedArtifact) SetId

func (o *SearchedArtifact) SetId(v string)

SetId sets field value

func (*SearchedArtifact) SetLabels

func (o *SearchedArtifact) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*SearchedArtifact) SetModifiedBy

func (o *SearchedArtifact) SetModifiedBy(v string)

SetModifiedBy gets a reference to the given string and assigns it to the ModifiedBy field.

func (*SearchedArtifact) SetModifiedOn

func (o *SearchedArtifact) SetModifiedOn(v string)

SetModifiedOn gets a reference to the given string and assigns it to the ModifiedOn field.

func (*SearchedArtifact) SetName

func (o *SearchedArtifact) SetName(v string)

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

func (*SearchedArtifact) SetState

func (o *SearchedArtifact) SetState(v ArtifactState)

SetState sets field value

func (*SearchedArtifact) SetType

func (o *SearchedArtifact) SetType(v ArtifactType)

SetType sets field value

type SearchedVersion

type SearchedVersion struct {
	Name        *string       `json:"name,omitempty"`
	Description *string       `json:"description,omitempty"`
	CreatedOn   string        `json:"createdOn"`
	CreatedBy   string        `json:"createdBy"`
	Type        ArtifactType  `json:"type"`
	Labels      []string      `json:"labels,omitempty"`
	State       ArtifactState `json:"state"`
	GlobalId    int64         `json:"globalId"`
	Version     string        `json:"version"`
	// User-defined name-value pairs. Name and value must be strings.
	Properties *map[string]string  `json:"properties,omitempty"`
	ContentId  int64               `json:"contentId"`
	References []ArtifactReference `json:"references"`
}

SearchedVersion Models a single artifact from the result set returned when searching for artifacts.

func NewSearchedVersion

func NewSearchedVersion(createdOn string, createdBy string, type_ ArtifactType, state ArtifactState, globalId int64, version string, contentId int64, references []ArtifactReference) *SearchedVersion

NewSearchedVersion instantiates a new SearchedVersion 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 NewSearchedVersionWithDefaults

func NewSearchedVersionWithDefaults() *SearchedVersion

NewSearchedVersionWithDefaults instantiates a new SearchedVersion 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 (*SearchedVersion) GetContentId

func (o *SearchedVersion) GetContentId() int64

GetContentId returns the ContentId field value

func (*SearchedVersion) GetContentIdOk

func (o *SearchedVersion) GetContentIdOk() (*int64, bool)

GetContentIdOk returns a tuple with the ContentId field value and a boolean to check if the value has been set.

func (*SearchedVersion) GetCreatedBy

func (o *SearchedVersion) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*SearchedVersion) GetCreatedByOk

func (o *SearchedVersion) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*SearchedVersion) GetCreatedOn

func (o *SearchedVersion) GetCreatedOn() string

GetCreatedOn returns the CreatedOn field value

func (*SearchedVersion) GetCreatedOnOk

func (o *SearchedVersion) GetCreatedOnOk() (*string, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.

func (*SearchedVersion) GetDescription

func (o *SearchedVersion) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SearchedVersion) GetDescriptionOk

func (o *SearchedVersion) GetDescriptionOk() (*string, bool)

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

func (*SearchedVersion) GetGlobalId

func (o *SearchedVersion) GetGlobalId() int64

GetGlobalId returns the GlobalId field value

func (*SearchedVersion) GetGlobalIdOk

func (o *SearchedVersion) GetGlobalIdOk() (*int64, bool)

GetGlobalIdOk returns a tuple with the GlobalId field value and a boolean to check if the value has been set.

func (*SearchedVersion) GetLabels

func (o *SearchedVersion) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*SearchedVersion) GetLabelsOk

func (o *SearchedVersion) GetLabelsOk() ([]string, bool)

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

func (*SearchedVersion) GetName

func (o *SearchedVersion) GetName() string

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

func (*SearchedVersion) GetNameOk

func (o *SearchedVersion) 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 (*SearchedVersion) GetProperties

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

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

func (*SearchedVersion) GetPropertiesOk

func (o *SearchedVersion) 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 (*SearchedVersion) GetReferences added in v0.4.0

func (o *SearchedVersion) GetReferences() []ArtifactReference

GetReferences returns the References field value

func (*SearchedVersion) GetReferencesOk added in v0.4.0

func (o *SearchedVersion) GetReferencesOk() ([]ArtifactReference, bool)

GetReferencesOk returns a tuple with the References field value and a boolean to check if the value has been set.

func (*SearchedVersion) GetState

func (o *SearchedVersion) GetState() ArtifactState

GetState returns the State field value

func (*SearchedVersion) GetStateOk

func (o *SearchedVersion) GetStateOk() (*ArtifactState, bool)

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

func (*SearchedVersion) GetType

func (o *SearchedVersion) GetType() ArtifactType

GetType returns the Type field value

func (*SearchedVersion) GetTypeOk

func (o *SearchedVersion) GetTypeOk() (*ArtifactType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SearchedVersion) GetVersion

func (o *SearchedVersion) GetVersion() string

GetVersion returns the Version field value

func (*SearchedVersion) GetVersionOk

func (o *SearchedVersion) GetVersionOk() (*string, bool)

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

func (*SearchedVersion) HasDescription

func (o *SearchedVersion) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SearchedVersion) HasLabels

func (o *SearchedVersion) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*SearchedVersion) HasName

func (o *SearchedVersion) HasName() bool

HasName returns a boolean if a field has been set.

func (*SearchedVersion) HasProperties

func (o *SearchedVersion) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (SearchedVersion) MarshalJSON

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

func (*SearchedVersion) SetContentId

func (o *SearchedVersion) SetContentId(v int64)

SetContentId sets field value

func (*SearchedVersion) SetCreatedBy

func (o *SearchedVersion) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*SearchedVersion) SetCreatedOn

func (o *SearchedVersion) SetCreatedOn(v string)

SetCreatedOn sets field value

func (*SearchedVersion) SetDescription

func (o *SearchedVersion) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SearchedVersion) SetGlobalId

func (o *SearchedVersion) SetGlobalId(v int64)

SetGlobalId sets field value

func (*SearchedVersion) SetLabels

func (o *SearchedVersion) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*SearchedVersion) SetName

func (o *SearchedVersion) SetName(v string)

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

func (*SearchedVersion) SetProperties

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

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

func (*SearchedVersion) SetReferences added in v0.4.0

func (o *SearchedVersion) SetReferences(v []ArtifactReference)

SetReferences sets field value

func (*SearchedVersion) SetState

func (o *SearchedVersion) SetState(v ArtifactState)

SetState sets field value

func (*SearchedVersion) SetType

func (o *SearchedVersion) SetType(v ArtifactType)

SetType sets field value

func (*SearchedVersion) SetVersion

func (o *SearchedVersion) SetVersion(v string)

SetVersion sets field value

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 SortBy

type SortBy string

SortBy the model 'SortBy'

const (
	NAME       SortBy = "name"
	CREATED_ON SortBy = "createdOn"
)

List of SortBy

func NewSortByFromValue

func NewSortByFromValue(v string) (*SortBy, error)

NewSortByFromValue returns a pointer to a valid SortBy for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SortBy) IsValid

func (v SortBy) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SortBy) Ptr

func (v SortBy) Ptr() *SortBy

Ptr returns reference to SortBy value

func (*SortBy) UnmarshalJSON

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

type SortOrder

type SortOrder string

SortOrder the model 'SortOrder'

const (
	ASC  SortOrder = "asc"
	DESC SortOrder = "desc"
)

List of SortOrder

func NewSortOrderFromValue

func NewSortOrderFromValue(v string) (*SortOrder, error)

NewSortOrderFromValue returns a pointer to a valid SortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SortOrder) IsValid

func (v SortOrder) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SortOrder) Ptr

func (v SortOrder) Ptr() *SortOrder

Ptr returns reference to SortOrder value

func (*SortOrder) UnmarshalJSON

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

type SystemApiService

type SystemApiService service

SystemApiService SystemApi service

func (*SystemApiService) GetResourceLimits added in v0.4.0

func (a *SystemApiService) GetResourceLimits(ctx context.Context) ApiGetResourceLimitsRequest

GetResourceLimits Get resource limits information

This operation retrieves the list of limitations on used resources, that are applied on the current instance of Registry.

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

func (*SystemApiService) GetResourceLimitsExecute added in v0.4.0

func (a *SystemApiService) GetResourceLimitsExecute(r ApiGetResourceLimitsRequest) (*Limits, *http.Response, error)

Execute executes the request

@return Limits

func (*SystemApiService) GetSystemInfo

GetSystemInfo Get system information

This operation retrieves information about the running registry system, such as the version of the software and when it was built.

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

func (*SystemApiService) GetSystemInfoExecute

func (a *SystemApiService) GetSystemInfoExecute(r ApiGetSystemInfoRequest) (*SystemInfo, *http.Response, error)

Execute executes the request

@return SystemInfo

type SystemInfo

type SystemInfo struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	Version     *string `json:"version,omitempty"`
	BuiltOn     *string `json:"builtOn,omitempty"`
}

SystemInfo struct for SystemInfo

func NewSystemInfo

func NewSystemInfo() *SystemInfo

NewSystemInfo instantiates a new SystemInfo 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 NewSystemInfoWithDefaults

func NewSystemInfoWithDefaults() *SystemInfo

NewSystemInfoWithDefaults instantiates a new SystemInfo 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 (*SystemInfo) GetBuiltOn

func (o *SystemInfo) GetBuiltOn() string

GetBuiltOn returns the BuiltOn field value if set, zero value otherwise.

func (*SystemInfo) GetBuiltOnOk

func (o *SystemInfo) GetBuiltOnOk() (*string, bool)

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

func (*SystemInfo) GetDescription

func (o *SystemInfo) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SystemInfo) GetDescriptionOk

func (o *SystemInfo) GetDescriptionOk() (*string, bool)

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

func (*SystemInfo) GetName

func (o *SystemInfo) GetName() string

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

func (*SystemInfo) GetNameOk

func (o *SystemInfo) 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 (*SystemInfo) GetVersion

func (o *SystemInfo) GetVersion() string

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

func (*SystemInfo) GetVersionOk

func (o *SystemInfo) GetVersionOk() (*string, 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 (*SystemInfo) HasBuiltOn

func (o *SystemInfo) HasBuiltOn() bool

HasBuiltOn returns a boolean if a field has been set.

func (*SystemInfo) HasDescription

func (o *SystemInfo) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SystemInfo) HasName

func (o *SystemInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*SystemInfo) HasVersion

func (o *SystemInfo) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SystemInfo) MarshalJSON

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

func (*SystemInfo) SetBuiltOn

func (o *SystemInfo) SetBuiltOn(v string)

SetBuiltOn gets a reference to the given string and assigns it to the BuiltOn field.

func (*SystemInfo) SetDescription

func (o *SystemInfo) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SystemInfo) SetName

func (o *SystemInfo) SetName(v string)

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

func (*SystemInfo) SetVersion

func (o *SystemInfo) SetVersion(v string)

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

type UpdateConfigurationProperty added in v0.4.0

type UpdateConfigurationProperty struct {
	Value string `json:"value"`
}

UpdateConfigurationProperty struct for UpdateConfigurationProperty

func NewUpdateConfigurationProperty added in v0.4.0

func NewUpdateConfigurationProperty(value string) *UpdateConfigurationProperty

NewUpdateConfigurationProperty instantiates a new UpdateConfigurationProperty 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 NewUpdateConfigurationPropertyWithDefaults added in v0.4.0

func NewUpdateConfigurationPropertyWithDefaults() *UpdateConfigurationProperty

NewUpdateConfigurationPropertyWithDefaults instantiates a new UpdateConfigurationProperty 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 (*UpdateConfigurationProperty) GetValue added in v0.4.0

func (o *UpdateConfigurationProperty) GetValue() string

GetValue returns the Value field value

func (*UpdateConfigurationProperty) GetValueOk added in v0.4.0

func (o *UpdateConfigurationProperty) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (UpdateConfigurationProperty) MarshalJSON added in v0.4.0

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

func (*UpdateConfigurationProperty) SetValue added in v0.4.0

func (o *UpdateConfigurationProperty) SetValue(v string)

SetValue sets field value

type UpdateRole

type UpdateRole struct {
	Role RoleType `json:"role"`
}

UpdateRole struct for UpdateRole

func NewUpdateRole

func NewUpdateRole(role RoleType) *UpdateRole

NewUpdateRole instantiates a new UpdateRole 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 NewUpdateRoleWithDefaults

func NewUpdateRoleWithDefaults() *UpdateRole

NewUpdateRoleWithDefaults instantiates a new UpdateRole 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 (*UpdateRole) GetRole

func (o *UpdateRole) GetRole() RoleType

GetRole returns the Role field value

func (*UpdateRole) GetRoleOk

func (o *UpdateRole) GetRoleOk() (*RoleType, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (UpdateRole) MarshalJSON

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

func (*UpdateRole) SetRole

func (o *UpdateRole) SetRole(v RoleType)

SetRole sets field value

type UpdateState

type UpdateState struct {
	State ArtifactState `json:"state"`
}

UpdateState struct for UpdateState

func NewUpdateState

func NewUpdateState(state ArtifactState) *UpdateState

NewUpdateState instantiates a new UpdateState 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 NewUpdateStateWithDefaults

func NewUpdateStateWithDefaults() *UpdateState

NewUpdateStateWithDefaults instantiates a new UpdateState 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 (*UpdateState) GetState

func (o *UpdateState) GetState() ArtifactState

GetState returns the State field value

func (*UpdateState) GetStateOk

func (o *UpdateState) GetStateOk() (*ArtifactState, bool)

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

func (UpdateState) MarshalJSON

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

func (*UpdateState) SetState

func (o *UpdateState) SetState(v ArtifactState)

SetState sets field value

type UserInfo

type UserInfo struct {
	Username    *string `json:"username,omitempty"`
	DisplayName *string `json:"displayName,omitempty"`
	Admin       *bool   `json:"admin,omitempty"`
	Developer   *bool   `json:"developer,omitempty"`
	Viewer      *bool   `json:"viewer,omitempty"`
}

UserInfo Information about a single user.

func NewUserInfo

func NewUserInfo() *UserInfo

NewUserInfo instantiates a new UserInfo 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 NewUserInfoWithDefaults

func NewUserInfoWithDefaults() *UserInfo

NewUserInfoWithDefaults instantiates a new UserInfo 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 (*UserInfo) GetAdmin

func (o *UserInfo) GetAdmin() bool

GetAdmin returns the Admin field value if set, zero value otherwise.

func (*UserInfo) GetAdminOk

func (o *UserInfo) GetAdminOk() (*bool, bool)

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

func (*UserInfo) GetDeveloper

func (o *UserInfo) GetDeveloper() bool

GetDeveloper returns the Developer field value if set, zero value otherwise.

func (*UserInfo) GetDeveloperOk

func (o *UserInfo) GetDeveloperOk() (*bool, bool)

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

func (*UserInfo) GetDisplayName

func (o *UserInfo) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*UserInfo) GetDisplayNameOk

func (o *UserInfo) GetDisplayNameOk() (*string, bool)

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

func (*UserInfo) GetUsername

func (o *UserInfo) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*UserInfo) GetUsernameOk

func (o *UserInfo) GetUsernameOk() (*string, bool)

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

func (*UserInfo) GetViewer

func (o *UserInfo) GetViewer() bool

GetViewer returns the Viewer field value if set, zero value otherwise.

func (*UserInfo) GetViewerOk

func (o *UserInfo) GetViewerOk() (*bool, bool)

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

func (*UserInfo) HasAdmin

func (o *UserInfo) HasAdmin() bool

HasAdmin returns a boolean if a field has been set.

func (*UserInfo) HasDeveloper

func (o *UserInfo) HasDeveloper() bool

HasDeveloper returns a boolean if a field has been set.

func (*UserInfo) HasDisplayName

func (o *UserInfo) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*UserInfo) HasUsername

func (o *UserInfo) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (*UserInfo) HasViewer

func (o *UserInfo) HasViewer() bool

HasViewer returns a boolean if a field has been set.

func (UserInfo) MarshalJSON

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

func (*UserInfo) SetAdmin

func (o *UserInfo) SetAdmin(v bool)

SetAdmin gets a reference to the given bool and assigns it to the Admin field.

func (*UserInfo) SetDeveloper

func (o *UserInfo) SetDeveloper(v bool)

SetDeveloper gets a reference to the given bool and assigns it to the Developer field.

func (*UserInfo) SetDisplayName

func (o *UserInfo) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*UserInfo) SetUsername

func (o *UserInfo) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (*UserInfo) SetViewer

func (o *UserInfo) SetViewer(v bool)

SetViewer gets a reference to the given bool and assigns it to the Viewer field.

type UsersApiService

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) GetCurrentUserInfo

func (a *UsersApiService) GetCurrentUserInfo(ctx context.Context) ApiGetCurrentUserInfoRequest

GetCurrentUserInfo Get current user

Returns information about the currently authenticated user.

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

func (*UsersApiService) GetCurrentUserInfoExecute

func (a *UsersApiService) GetCurrentUserInfoExecute(r ApiGetCurrentUserInfoRequest) (*UserInfo, *http.Response, error)

Execute executes the request

@return UserInfo

type VersionMetaData

type VersionMetaData struct {
	Version     string         `json:"version"`
	Name        *string        `json:"name,omitempty"`
	Description *string        `json:"description,omitempty"`
	CreatedBy   string         `json:"createdBy"`
	CreatedOn   string         `json:"createdOn"`
	Type        ArtifactType   `json:"type"`
	GlobalId    int64          `json:"globalId"`
	State       *ArtifactState `json:"state,omitempty"`
	// The ID of a single artifact.
	Id     string   `json:"id"`
	Labels []string `json:"labels,omitempty"`
	// User-defined name-value pairs. Name and value must be strings.
	Properties *map[string]string `json:"properties,omitempty"`
	// An ID of a single artifact group.
	GroupId   *string `json:"groupId,omitempty"`
	ContentId int64   `json:"contentId"`
}

VersionMetaData struct for VersionMetaData

func NewVersionMetaData

func NewVersionMetaData(version string, createdBy string, createdOn string, type_ ArtifactType, globalId int64, id string, contentId int64) *VersionMetaData

NewVersionMetaData instantiates a new VersionMetaData 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 NewVersionMetaDataWithDefaults

func NewVersionMetaDataWithDefaults() *VersionMetaData

NewVersionMetaDataWithDefaults instantiates a new VersionMetaData 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 (*VersionMetaData) GetContentId

func (o *VersionMetaData) GetContentId() int64

GetContentId returns the ContentId field value

func (*VersionMetaData) GetContentIdOk

func (o *VersionMetaData) GetContentIdOk() (*int64, bool)

GetContentIdOk returns a tuple with the ContentId field value and a boolean to check if the value has been set.

func (*VersionMetaData) GetCreatedBy

func (o *VersionMetaData) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*VersionMetaData) GetCreatedByOk

func (o *VersionMetaData) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*VersionMetaData) GetCreatedOn

func (o *VersionMetaData) GetCreatedOn() string

GetCreatedOn returns the CreatedOn field value

func (*VersionMetaData) GetCreatedOnOk

func (o *VersionMetaData) GetCreatedOnOk() (*string, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.

func (*VersionMetaData) GetDescription

func (o *VersionMetaData) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VersionMetaData) GetDescriptionOk

func (o *VersionMetaData) GetDescriptionOk() (*string, bool)

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

func (*VersionMetaData) GetGlobalId

func (o *VersionMetaData) GetGlobalId() int64

GetGlobalId returns the GlobalId field value

func (*VersionMetaData) GetGlobalIdOk

func (o *VersionMetaData) GetGlobalIdOk() (*int64, bool)

GetGlobalIdOk returns a tuple with the GlobalId field value and a boolean to check if the value has been set.

func (*VersionMetaData) GetGroupId

func (o *VersionMetaData) GetGroupId() string

GetGroupId returns the GroupId field value if set, zero value otherwise.

func (*VersionMetaData) GetGroupIdOk

func (o *VersionMetaData) GetGroupIdOk() (*string, bool)

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

func (*VersionMetaData) GetId

func (o *VersionMetaData) GetId() string

GetId returns the Id field value

func (*VersionMetaData) GetIdOk

func (o *VersionMetaData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*VersionMetaData) GetLabels

func (o *VersionMetaData) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*VersionMetaData) GetLabelsOk

func (o *VersionMetaData) GetLabelsOk() ([]string, bool)

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

func (*VersionMetaData) GetName

func (o *VersionMetaData) GetName() string

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

func (*VersionMetaData) GetNameOk

func (o *VersionMetaData) 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 (*VersionMetaData) GetProperties

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

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

func (*VersionMetaData) GetPropertiesOk

func (o *VersionMetaData) 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 (*VersionMetaData) GetState

func (o *VersionMetaData) GetState() ArtifactState

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

func (*VersionMetaData) GetStateOk

func (o *VersionMetaData) GetStateOk() (*ArtifactState, 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 (*VersionMetaData) GetType

func (o *VersionMetaData) GetType() ArtifactType

GetType returns the Type field value

func (*VersionMetaData) GetTypeOk

func (o *VersionMetaData) GetTypeOk() (*ArtifactType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*VersionMetaData) GetVersion

func (o *VersionMetaData) GetVersion() string

GetVersion returns the Version field value

func (*VersionMetaData) GetVersionOk

func (o *VersionMetaData) GetVersionOk() (*string, bool)

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

func (*VersionMetaData) HasDescription

func (o *VersionMetaData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VersionMetaData) HasGroupId

func (o *VersionMetaData) HasGroupId() bool

HasGroupId returns a boolean if a field has been set.

func (*VersionMetaData) HasLabels

func (o *VersionMetaData) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*VersionMetaData) HasName

func (o *VersionMetaData) HasName() bool

HasName returns a boolean if a field has been set.

func (*VersionMetaData) HasProperties

func (o *VersionMetaData) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*VersionMetaData) HasState

func (o *VersionMetaData) HasState() bool

HasState returns a boolean if a field has been set.

func (VersionMetaData) MarshalJSON

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

func (*VersionMetaData) SetContentId

func (o *VersionMetaData) SetContentId(v int64)

SetContentId sets field value

func (*VersionMetaData) SetCreatedBy

func (o *VersionMetaData) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*VersionMetaData) SetCreatedOn

func (o *VersionMetaData) SetCreatedOn(v string)

SetCreatedOn sets field value

func (*VersionMetaData) SetDescription

func (o *VersionMetaData) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VersionMetaData) SetGlobalId

func (o *VersionMetaData) SetGlobalId(v int64)

SetGlobalId sets field value

func (*VersionMetaData) SetGroupId

func (o *VersionMetaData) SetGroupId(v string)

SetGroupId gets a reference to the given string and assigns it to the GroupId field.

func (*VersionMetaData) SetId

func (o *VersionMetaData) SetId(v string)

SetId sets field value

func (*VersionMetaData) SetLabels

func (o *VersionMetaData) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*VersionMetaData) SetName

func (o *VersionMetaData) SetName(v string)

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

func (*VersionMetaData) SetProperties

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

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

func (*VersionMetaData) SetState

func (o *VersionMetaData) SetState(v ArtifactState)

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

func (*VersionMetaData) SetType

func (o *VersionMetaData) SetType(v ArtifactType)

SetType sets field value

func (*VersionMetaData) SetVersion

func (o *VersionMetaData) SetVersion(v string)

SetVersion sets field value

type VersionSearchResults

type VersionSearchResults struct {
	// The total number of versions that matched the query (may be more than the number of versions returned in the result set).
	Count int32 `json:"count"`
	// The collection of artifact versions returned in the result set.
	Versions []SearchedVersion `json:"versions"`
}

VersionSearchResults Describes the response received when searching for artifacts.

func NewVersionSearchResults

func NewVersionSearchResults(count int32, versions []SearchedVersion) *VersionSearchResults

NewVersionSearchResults instantiates a new VersionSearchResults 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 NewVersionSearchResultsWithDefaults

func NewVersionSearchResultsWithDefaults() *VersionSearchResults

NewVersionSearchResultsWithDefaults instantiates a new VersionSearchResults 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 (*VersionSearchResults) GetCount

func (o *VersionSearchResults) GetCount() int32

GetCount returns the Count field value

func (*VersionSearchResults) GetCountOk

func (o *VersionSearchResults) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.

func (*VersionSearchResults) GetVersions

func (o *VersionSearchResults) GetVersions() []SearchedVersion

GetVersions returns the Versions field value

func (*VersionSearchResults) GetVersionsOk

func (o *VersionSearchResults) GetVersionsOk() ([]SearchedVersion, bool)

GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set.

func (VersionSearchResults) MarshalJSON

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

func (*VersionSearchResults) SetCount

func (o *VersionSearchResults) SetCount(v int32)

SetCount sets field value

func (*VersionSearchResults) SetVersions

func (o *VersionSearchResults) SetVersions(v []SearchedVersion)

SetVersions sets field value

type VersionsApiService

type VersionsApiService service

VersionsApiService VersionsApi service

func (*VersionsApiService) CreateArtifactVersion

func (a *VersionsApiService) CreateArtifactVersion(ctx context.Context, groupId string, artifactId string) ApiCreateArtifactVersionRequest

CreateArtifactVersion Create artifact version

Creates a new version of the artifact by uploading new content. The configured rules for the artifact are applied, and if they all pass, the new content is added as the most recent version of the artifact. If any of the rules fail, an error is returned.

The body of the request can be the raw content of the new artifact version, or the raw content and a set of references pointing to other artifacts, and the type of that content should match the artifact's type (for example if the artifact type is `AVRO` then the content of the request should be an Apache Avro document).

This operation can fail for the following reasons:

* Provided content (request body) was empty (HTTP error `400`) * No artifact with this `artifactId` exists (HTTP error `404`) * The new content violates one of the rules configured for the artifact (HTTP error `409`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiCreateArtifactVersionRequest

func (*VersionsApiService) CreateArtifactVersionExecute

func (a *VersionsApiService) CreateArtifactVersionExecute(r ApiCreateArtifactVersionRequest) (*VersionMetaData, *http.Response, error)

Execute executes the request

@return VersionMetaData

func (*VersionsApiService) GetArtifactVersion

func (a *VersionsApiService) GetArtifactVersion(ctx context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionRequest

GetArtifactVersion Get artifact version

Retrieves a single version of the artifact content. Both the `artifactId` and the unique `version` number must be provided. The `Content-Type` of the response depends on the artifact type. In most cases, this is `application/json`, but for some types it may be different (for example, `PROTOBUF`).

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@param version The unique identifier of a specific version of the artifact content.
@return ApiGetArtifactVersionRequest

func (*VersionsApiService) GetArtifactVersionExecute

func (a *VersionsApiService) GetArtifactVersionExecute(r ApiGetArtifactVersionRequest) (**os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*VersionsApiService) GetArtifactVersionReferences added in v0.4.0

func (a *VersionsApiService) GetArtifactVersionReferences(ctx context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionReferencesRequest

GetArtifactVersionReferences Get artifact version

Retrieves a single version of the artifact content. Both the `artifactId` and the unique `version` number must be provided. The `Content-Type` of the response depends on the artifact type. In most cases, this is `application/json`, but for some types it may be different (for example, `PROTOBUF`).

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@param version The unique identifier of a specific version of the artifact content.
@return ApiGetArtifactVersionReferencesRequest

func (*VersionsApiService) GetArtifactVersionReferencesExecute added in v0.4.0

func (a *VersionsApiService) GetArtifactVersionReferencesExecute(r ApiGetArtifactVersionReferencesRequest) ([]ArtifactReference, *http.Response, error)

Execute executes the request

@return []ArtifactReference

func (*VersionsApiService) ListArtifactVersions

func (a *VersionsApiService) ListArtifactVersions(ctx context.Context, groupId string, artifactId string) ApiListArtifactVersionsRequest

ListArtifactVersions List artifact versions

Returns a list of all versions of the artifact. The result set is paged.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@return ApiListArtifactVersionsRequest

func (*VersionsApiService) ListArtifactVersionsExecute

Execute executes the request

@return VersionSearchResults

func (*VersionsApiService) UpdateArtifactVersionState

func (a *VersionsApiService) UpdateArtifactVersionState(ctx context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionStateRequest

UpdateArtifactVersionState Update artifact version state

Updates the state of a specific version of an artifact. For example, you can use this operation to disable a specific version.

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
@param artifactId The artifact ID.  Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
@param version The unique identifier of a specific version of the artifact content.
@return ApiUpdateArtifactVersionStateRequest

func (*VersionsApiService) UpdateArtifactVersionStateExecute

func (a *VersionsApiService) UpdateArtifactVersionStateExecute(r ApiUpdateArtifactVersionStateRequest) (*http.Response, error)

Execute executes the request

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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