registryinstanceclient

package
v0.0.0-...-26f9c4c Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 22 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

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

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

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

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	AdminApi AdminApi

	ArtifactRulesApi ArtifactRulesApi

	ArtifactsApi ArtifactsApi

	GroupsApi GroupsApi

	MetadataApi MetadataApi

	SearchApi SearchApi

	SystemApi SystemApi

	UsersApi UsersApi

	VersionsApi VersionsApi
	// contains filtered or unexported fields
}

APIClient manages communication with the Apicurio Registry API [v2] API v2.4.x 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 AdminApi

type AdminApi interface {

	/*
		 * 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
	*/
	CreateGlobalRule(ctx _context.Context) ApiCreateGlobalRuleRequest

	/*
	 * CreateGlobalRuleExecute executes the request
	 */
	CreateGlobalRuleExecute(r ApiCreateGlobalRuleRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	CreateRoleMapping(ctx _context.Context) ApiCreateRoleMappingRequest

	/*
	 * CreateRoleMappingExecute executes the request
	 */
	CreateRoleMappingExecute(r ApiCreateRoleMappingRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	DeleteAllGlobalRules(ctx _context.Context) ApiDeleteAllGlobalRulesRequest

	/*
	 * DeleteAllGlobalRulesExecute executes the request
	 */
	DeleteAllGlobalRulesExecute(r ApiDeleteAllGlobalRulesRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	DeleteGlobalRule(ctx _context.Context, rule RuleType) ApiDeleteGlobalRuleRequest

	/*
	 * DeleteGlobalRuleExecute executes the request
	 */
	DeleteGlobalRuleExecute(r ApiDeleteGlobalRuleRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	DeleteRoleMapping(ctx _context.Context, principalId string) ApiDeleteRoleMappingRequest

	/*
	 * DeleteRoleMappingExecute executes the request
	 */
	DeleteRoleMappingExecute(r ApiDeleteRoleMappingRequest) (*_nethttp.Response, error)

	/*
	 * 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
	 */
	ExportData(ctx _context.Context) ApiExportDataRequest

	/*
	 * ExportDataExecute executes the request
	 * @return *os.File
	 */
	ExportDataExecute(r ApiExportDataRequest) (*os.File, *_nethttp.Response, error)

	/*
		 * GetConfigProperty Get configuration property value
		 * 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
	*/
	GetConfigProperty(ctx _context.Context, propertyName string) ApiGetConfigPropertyRequest

	/*
	 * GetConfigPropertyExecute executes the request
	 * @return ConfigurationProperty
	 */
	GetConfigPropertyExecute(r ApiGetConfigPropertyRequest) (ConfigurationProperty, *_nethttp.Response, error)

	/*
		 * 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
	*/
	GetGlobalRuleConfig(ctx _context.Context, rule RuleType) ApiGetGlobalRuleConfigRequest

	/*
	 * GetGlobalRuleConfigExecute executes the request
	 * @return Rule
	 */
	GetGlobalRuleConfigExecute(r ApiGetGlobalRuleConfigRequest) (Rule, *_nethttp.Response, error)

	/*
	 * 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
	 */
	GetLogConfiguration(ctx _context.Context, logger string) ApiGetLogConfigurationRequest

	/*
	 * GetLogConfigurationExecute executes the request
	 * @return NamedLogConfiguration
	 */
	GetLogConfigurationExecute(r ApiGetLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)

	/*
		 * 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
	*/
	GetRoleMapping(ctx _context.Context, principalId string) ApiGetRoleMappingRequest

	/*
	 * GetRoleMappingExecute executes the request
	 * @return RoleMapping
	 */
	GetRoleMappingExecute(r ApiGetRoleMappingRequest) (RoleMapping, *_nethttp.Response, error)

	/*
	 * 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
	 */
	ImportData(ctx _context.Context) ApiImportDataRequest

	/*
	 * ImportDataExecute executes the request
	 */
	ImportDataExecute(r ApiImportDataRequest) (*_nethttp.Response, error)

	/*
		 * ListArtifactTypes List artifact types
		 * Gets a list of all the configured artifact types.

	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 ApiListArtifactTypesRequest
	*/
	ListArtifactTypes(ctx _context.Context) ApiListArtifactTypesRequest

	/*
	 * ListArtifactTypesExecute executes the request
	 * @return []ArtifactTypeInfo
	 */
	ListArtifactTypesExecute(r ApiListArtifactTypesRequest) ([]ArtifactTypeInfo, *_nethttp.Response, error)

	/*
		 * 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
	*/
	ListConfigProperties(ctx _context.Context) ApiListConfigPropertiesRequest

	/*
	 * ListConfigPropertiesExecute executes the request
	 * @return []ConfigurationProperty
	 */
	ListConfigPropertiesExecute(r ApiListConfigPropertiesRequest) ([]ConfigurationProperty, *_nethttp.Response, error)

	/*
		 * 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
	*/
	ListGlobalRules(ctx _context.Context) ApiListGlobalRulesRequest

	/*
	 * ListGlobalRulesExecute executes the request
	 * @return []RuleType
	 */
	ListGlobalRulesExecute(r ApiListGlobalRulesRequest) ([]RuleType, *_nethttp.Response, error)

	/*
		 * 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
	*/
	ListLogConfigurations(ctx _context.Context) ApiListLogConfigurationsRequest

	/*
	 * ListLogConfigurationsExecute executes the request
	 * @return []NamedLogConfiguration
	 */
	ListLogConfigurationsExecute(r ApiListLogConfigurationsRequest) ([]NamedLogConfiguration, *_nethttp.Response, error)

	/*
		 * 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
	*/
	ListRoleMappings(ctx _context.Context) ApiListRoleMappingsRequest

	/*
	 * ListRoleMappingsExecute executes the request
	 * @return []RoleMapping
	 */
	ListRoleMappingsExecute(r ApiListRoleMappingsRequest) ([]RoleMapping, *_nethttp.Response, error)

	/*
	 * 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
	 */
	RemoveLogConfiguration(ctx _context.Context, logger string) ApiRemoveLogConfigurationRequest

	/*
	 * RemoveLogConfigurationExecute executes the request
	 * @return NamedLogConfiguration
	 */
	RemoveLogConfigurationExecute(r ApiRemoveLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)

	/*
		 * 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
	*/
	ResetConfigProperty(ctx _context.Context, propertyName string) ApiResetConfigPropertyRequest

	/*
	 * ResetConfigPropertyExecute executes the request
	 */
	ResetConfigPropertyExecute(r ApiResetConfigPropertyRequest) (*_nethttp.Response, error)

	/*
	 * 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
	 */
	SetLogConfiguration(ctx _context.Context, logger string) ApiSetLogConfigurationRequest

	/*
	 * SetLogConfigurationExecute executes the request
	 * @return NamedLogConfiguration
	 */
	SetLogConfigurationExecute(r ApiSetLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)

	/*
		 * 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
	*/
	UpdateConfigProperty(ctx _context.Context, propertyName string) ApiUpdateConfigPropertyRequest

	/*
	 * UpdateConfigPropertyExecute executes the request
	 */
	UpdateConfigPropertyExecute(r ApiUpdateConfigPropertyRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	UpdateGlobalRuleConfig(ctx _context.Context, rule RuleType) ApiUpdateGlobalRuleConfigRequest

	/*
	 * UpdateGlobalRuleConfigExecute executes the request
	 * @return Rule
	 */
	UpdateGlobalRuleConfigExecute(r ApiUpdateGlobalRuleConfigRequest) (Rule, *_nethttp.Response, error)

	/*
		 * 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
	*/
	UpdateRoleMapping(ctx _context.Context, principalId string) ApiUpdateRoleMappingRequest

	/*
	 * UpdateRoleMappingExecute executes the request
	 */
	UpdateRoleMappingExecute(r ApiUpdateRoleMappingRequest) (*_nethttp.Response, error)
}

type AdminApiService

type AdminApiService service

AdminApiService AdminApi service

func (*AdminApiService) CreateGlobalRule

  • 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) (*_nethttp.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) (*_nethttp.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) (*_nethttp.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) (*_nethttp.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) (*_nethttp.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, *_nethttp.Response, error)

* Execute executes the request * @return *os.File

func (*AdminApiService) GetConfigProperty

func (a *AdminApiService) GetConfigProperty(ctx _context.Context, propertyName string) ApiGetConfigPropertyRequest
  • GetConfigProperty Get configuration property value
  • 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

* 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, *_nethttp.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

* 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) (*_nethttp.Response, error)

* Execute executes the request

func (*AdminApiService) ListArtifactTypes

func (a *AdminApiService) ListArtifactTypes(ctx _context.Context) ApiListArtifactTypesRequest
  • ListArtifactTypes List artifact types
  • Gets a list of all the configured artifact types.

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 ApiListArtifactTypesRequest

func (*AdminApiService) ListArtifactTypesExecute

* Execute executes the request * @return []ArtifactTypeInfo

func (*AdminApiService) ListConfigProperties

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

* Execute executes the request * @return []ConfigurationProperty

func (*AdminApiService) ListGlobalRules

  • 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, *_nethttp.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

* Execute executes the request * @return []NamedLogConfiguration

func (*AdminApiService) ListRoleMappings

  • 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, *_nethttp.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

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

func (a *AdminApiService) ResetConfigPropertyExecute(r ApiResetConfigPropertyRequest) (*_nethttp.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

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

func (a *AdminApiService) UpdateConfigPropertyExecute(r ApiUpdateConfigPropertyRequest) (*_nethttp.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, *_nethttp.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) (*_nethttp.Response, error)

* Execute executes the request

type ApiAddArtifactVersionCommentRequest

type ApiAddArtifactVersionCommentRequest struct {
	ApiService VersionsApi
	// contains filtered or unexported fields
}

func (ApiAddArtifactVersionCommentRequest) Execute

func (ApiAddArtifactVersionCommentRequest) NewComment

type ApiCreateArtifactRequest

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

func (ApiCreateArtifactRequest) Body

func (ApiCreateArtifactRequest) Canonical

func (ApiCreateArtifactRequest) ContentType

func (r ApiCreateArtifactRequest) ContentType(contentType string) ApiCreateArtifactRequest

func (ApiCreateArtifactRequest) Execute

func (ApiCreateArtifactRequest) IfExists

func (ApiCreateArtifactRequest) XRegistryArtifactId

func (r ApiCreateArtifactRequest) XRegistryArtifactId(xRegistryArtifactId string) ApiCreateArtifactRequest

func (ApiCreateArtifactRequest) XRegistryArtifactType

func (r ApiCreateArtifactRequest) XRegistryArtifactType(xRegistryArtifactType string) ApiCreateArtifactRequest

func (ApiCreateArtifactRequest) XRegistryContentHash

func (r ApiCreateArtifactRequest) XRegistryContentHash(xRegistryContentHash string) ApiCreateArtifactRequest

func (ApiCreateArtifactRequest) XRegistryDescription

func (r ApiCreateArtifactRequest) XRegistryDescription(xRegistryDescription string) ApiCreateArtifactRequest

func (ApiCreateArtifactRequest) XRegistryDescriptionEncoded

func (r ApiCreateArtifactRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiCreateArtifactRequest

func (ApiCreateArtifactRequest) XRegistryHashAlgorithm

func (r ApiCreateArtifactRequest) XRegistryHashAlgorithm(xRegistryHashAlgorithm string) ApiCreateArtifactRequest

func (ApiCreateArtifactRequest) XRegistryName

func (r ApiCreateArtifactRequest) XRegistryName(xRegistryName string) ApiCreateArtifactRequest

func (ApiCreateArtifactRequest) XRegistryNameEncoded

func (r ApiCreateArtifactRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiCreateArtifactRequest

func (ApiCreateArtifactRequest) XRegistryVersion

func (r ApiCreateArtifactRequest) XRegistryVersion(xRegistryVersion string) ApiCreateArtifactRequest

type ApiCreateArtifactRuleRequest

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

func (ApiCreateArtifactRuleRequest) Execute

func (ApiCreateArtifactRuleRequest) Rule

type ApiCreateArtifactVersionRequest

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

func (ApiCreateArtifactVersionRequest) Body

func (ApiCreateArtifactVersionRequest) ContentType

func (ApiCreateArtifactVersionRequest) Execute

func (ApiCreateArtifactVersionRequest) XRegistryDescription

func (r ApiCreateArtifactVersionRequest) XRegistryDescription(xRegistryDescription string) ApiCreateArtifactVersionRequest

func (ApiCreateArtifactVersionRequest) XRegistryDescriptionEncoded

func (r ApiCreateArtifactVersionRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiCreateArtifactVersionRequest

func (ApiCreateArtifactVersionRequest) XRegistryName

func (ApiCreateArtifactVersionRequest) XRegistryNameEncoded

func (r ApiCreateArtifactVersionRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiCreateArtifactVersionRequest

func (ApiCreateArtifactVersionRequest) XRegistryVersion

func (r ApiCreateArtifactVersionRequest) XRegistryVersion(xRegistryVersion string) ApiCreateArtifactVersionRequest

type ApiCreateGlobalRuleRequest

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

func (ApiCreateGlobalRuleRequest) Execute

func (ApiCreateGlobalRuleRequest) Rule

type ApiCreateGroupRequest

type ApiCreateGroupRequest struct {
	ApiService GroupsApi
	// contains filtered or unexported fields
}

func (ApiCreateGroupRequest) CreateGroupMetaData

func (r ApiCreateGroupRequest) CreateGroupMetaData(createGroupMetaData CreateGroupMetaData) ApiCreateGroupRequest

func (ApiCreateGroupRequest) Execute

type ApiCreateRoleMappingRequest

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

func (ApiCreateRoleMappingRequest) Execute

func (ApiCreateRoleMappingRequest) RoleMapping

type ApiDeleteAllGlobalRulesRequest

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

func (ApiDeleteAllGlobalRulesRequest) Execute

type ApiDeleteArtifactRequest

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

func (ApiDeleteArtifactRequest) Execute

type ApiDeleteArtifactRuleRequest

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

func (ApiDeleteArtifactRuleRequest) Execute

type ApiDeleteArtifactRulesRequest

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

func (ApiDeleteArtifactRulesRequest) Execute

type ApiDeleteArtifactVersionCommentRequest

type ApiDeleteArtifactVersionCommentRequest struct {
	ApiService VersionsApi
	// contains filtered or unexported fields
}

func (ApiDeleteArtifactVersionCommentRequest) Execute

type ApiDeleteArtifactVersionMetaDataRequest

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

func (ApiDeleteArtifactVersionMetaDataRequest) Execute

type ApiDeleteArtifactVersionRequest

type ApiDeleteArtifactVersionRequest struct {
	ApiService VersionsApi
	// contains filtered or unexported fields
}

func (ApiDeleteArtifactVersionRequest) Execute

type ApiDeleteArtifactsInGroupRequest

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

func (ApiDeleteArtifactsInGroupRequest) Execute

type ApiDeleteGlobalRuleRequest

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

func (ApiDeleteGlobalRuleRequest) Execute

type ApiDeleteGroupByIdRequest

type ApiDeleteGroupByIdRequest struct {
	ApiService GroupsApi
	// contains filtered or unexported fields
}

func (ApiDeleteGroupByIdRequest) Execute

type ApiDeleteRoleMappingRequest

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

func (ApiDeleteRoleMappingRequest) Execute

type ApiExportDataRequest

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

func (ApiExportDataRequest) Execute

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

func (ApiExportDataRequest) ForBrowser

func (r ApiExportDataRequest) ForBrowser(forBrowser bool) ApiExportDataRequest

type ApiGetArtifactMetaDataRequest

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

func (ApiGetArtifactMetaDataRequest) Execute

type ApiGetArtifactOwnerRequest

type ApiGetArtifactOwnerRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (ApiGetArtifactOwnerRequest) Execute

type ApiGetArtifactRuleConfigRequest

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

func (ApiGetArtifactRuleConfigRequest) Execute

type ApiGetArtifactVersionCommentsRequest

type ApiGetArtifactVersionCommentsRequest struct {
	ApiService VersionsApi
	// contains filtered or unexported fields
}

func (ApiGetArtifactVersionCommentsRequest) Execute

type ApiGetArtifactVersionMetaDataByContentRequest

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

func (ApiGetArtifactVersionMetaDataByContentRequest) Body

func (ApiGetArtifactVersionMetaDataByContentRequest) Canonical

func (ApiGetArtifactVersionMetaDataByContentRequest) Execute

type ApiGetArtifactVersionMetaDataRequest

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

func (ApiGetArtifactVersionMetaDataRequest) Execute

type ApiGetArtifactVersionReferencesRequest

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

func (ApiGetArtifactVersionReferencesRequest) Execute

func (ApiGetArtifactVersionReferencesRequest) RefType

type ApiGetArtifactVersionRequest

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

func (ApiGetArtifactVersionRequest) Dereference

func (ApiGetArtifactVersionRequest) Execute

type ApiGetConfigPropertyRequest

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

func (ApiGetConfigPropertyRequest) Execute

type ApiGetContentByGlobalIdRequest

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

func (ApiGetContentByGlobalIdRequest) Dereference

func (ApiGetContentByGlobalIdRequest) Execute

type ApiGetContentByHashRequest

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

func (ApiGetContentByHashRequest) Execute

type ApiGetContentByIdRequest

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

func (ApiGetContentByIdRequest) Execute

type ApiGetCurrentUserInfoRequest

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

func (ApiGetCurrentUserInfoRequest) Execute

type ApiGetGlobalRuleConfigRequest

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

func (ApiGetGlobalRuleConfigRequest) Execute

type ApiGetGroupByIdRequest

type ApiGetGroupByIdRequest struct {
	ApiService GroupsApi
	// contains filtered or unexported fields
}

func (ApiGetGroupByIdRequest) Execute

type ApiGetLatestArtifactRequest

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

func (ApiGetLatestArtifactRequest) Dereference

func (ApiGetLatestArtifactRequest) Execute

type ApiGetLogConfigurationRequest

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

func (ApiGetLogConfigurationRequest) Execute

type ApiGetResourceLimitsRequest

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

func (ApiGetResourceLimitsRequest) Execute

type ApiGetRoleMappingRequest

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

func (ApiGetRoleMappingRequest) Execute

type ApiGetSystemInfoRequest

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

func (ApiGetSystemInfoRequest) Execute

type ApiImportDataRequest

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

func (ApiImportDataRequest) Body

func (ApiImportDataRequest) Execute

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

func (ApiImportDataRequest) XRegistryPreserveContentId

func (r ApiImportDataRequest) XRegistryPreserveContentId(xRegistryPreserveContentId bool) ApiImportDataRequest

func (ApiImportDataRequest) XRegistryPreserveGlobalId

func (r ApiImportDataRequest) XRegistryPreserveGlobalId(xRegistryPreserveGlobalId bool) ApiImportDataRequest

type ApiListArtifactRulesRequest

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

func (ApiListArtifactRulesRequest) Execute

type ApiListArtifactTypesRequest

type ApiListArtifactTypesRequest struct {
	ApiService AdminApi
	// contains filtered or unexported fields
}

func (ApiListArtifactTypesRequest) Execute

type ApiListArtifactVersionsRequest

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

func (ApiListArtifactVersionsRequest) Execute

func (ApiListArtifactVersionsRequest) Limit

func (ApiListArtifactVersionsRequest) Offset

type ApiListArtifactsInGroupRequest

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

func (ApiListArtifactsInGroupRequest) Execute

func (ApiListArtifactsInGroupRequest) Limit

func (ApiListArtifactsInGroupRequest) Offset

func (ApiListArtifactsInGroupRequest) Order

func (ApiListArtifactsInGroupRequest) Orderby

type ApiListConfigPropertiesRequest

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

func (ApiListConfigPropertiesRequest) Execute

type ApiListGlobalRulesRequest

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

func (ApiListGlobalRulesRequest) Execute

type ApiListGroupsRequest

type ApiListGroupsRequest struct {
	ApiService GroupsApi
	// contains filtered or unexported fields
}

func (ApiListGroupsRequest) Execute

func (ApiListGroupsRequest) Limit

func (ApiListGroupsRequest) Offset

func (ApiListGroupsRequest) Order

func (ApiListGroupsRequest) Orderby

type ApiListLogConfigurationsRequest

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

func (ApiListLogConfigurationsRequest) Execute

type ApiListRoleMappingsRequest

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

func (ApiListRoleMappingsRequest) Execute

type ApiReferencesByContentHashRequest

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

func (ApiReferencesByContentHashRequest) Execute

type ApiReferencesByContentIdRequest

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

func (ApiReferencesByContentIdRequest) Execute

type ApiReferencesByGlobalIdRequest

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

func (ApiReferencesByGlobalIdRequest) Execute

func (ApiReferencesByGlobalIdRequest) RefType

type ApiRemoveLogConfigurationRequest

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

func (ApiRemoveLogConfigurationRequest) Execute

type ApiResetConfigPropertyRequest

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

func (ApiResetConfigPropertyRequest) Execute

type ApiSearchArtifactsByContentRequest

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

func (ApiSearchArtifactsByContentRequest) ArtifactType

func (ApiSearchArtifactsByContentRequest) Body

func (ApiSearchArtifactsByContentRequest) Canonical

func (ApiSearchArtifactsByContentRequest) Execute

func (ApiSearchArtifactsByContentRequest) Limit

func (ApiSearchArtifactsByContentRequest) Offset

func (ApiSearchArtifactsByContentRequest) Order

func (ApiSearchArtifactsByContentRequest) Orderby

type ApiSearchArtifactsRequest

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

func (ApiSearchArtifactsRequest) ContentId

func (ApiSearchArtifactsRequest) Description

func (r ApiSearchArtifactsRequest) Description(description string) ApiSearchArtifactsRequest

func (ApiSearchArtifactsRequest) Execute

func (ApiSearchArtifactsRequest) GlobalId

func (ApiSearchArtifactsRequest) Group

func (ApiSearchArtifactsRequest) Labels

func (ApiSearchArtifactsRequest) Limit

func (ApiSearchArtifactsRequest) Name

func (ApiSearchArtifactsRequest) Offset

func (ApiSearchArtifactsRequest) Order

func (ApiSearchArtifactsRequest) Orderby

func (ApiSearchArtifactsRequest) Properties

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

type ApiSetLogConfigurationRequest

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

func (ApiSetLogConfigurationRequest) Execute

func (ApiSetLogConfigurationRequest) LogConfiguration

type ApiTestUpdateArtifactRequest

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

func (ApiTestUpdateArtifactRequest) Body

func (ApiTestUpdateArtifactRequest) Execute

type ApiUpdateArtifactMetaDataRequest

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

func (ApiUpdateArtifactMetaDataRequest) EditableMetaData

func (ApiUpdateArtifactMetaDataRequest) Execute

type ApiUpdateArtifactOwnerRequest

type ApiUpdateArtifactOwnerRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (ApiUpdateArtifactOwnerRequest) ArtifactOwner

func (ApiUpdateArtifactOwnerRequest) Execute

type ApiUpdateArtifactRequest

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

func (ApiUpdateArtifactRequest) Body

func (ApiUpdateArtifactRequest) ContentType

func (r ApiUpdateArtifactRequest) ContentType(contentType string) ApiUpdateArtifactRequest

func (ApiUpdateArtifactRequest) Execute

func (ApiUpdateArtifactRequest) XRegistryDescription

func (r ApiUpdateArtifactRequest) XRegistryDescription(xRegistryDescription string) ApiUpdateArtifactRequest

func (ApiUpdateArtifactRequest) XRegistryDescriptionEncoded

func (r ApiUpdateArtifactRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiUpdateArtifactRequest

func (ApiUpdateArtifactRequest) XRegistryName

func (r ApiUpdateArtifactRequest) XRegistryName(xRegistryName string) ApiUpdateArtifactRequest

func (ApiUpdateArtifactRequest) XRegistryNameEncoded

func (r ApiUpdateArtifactRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiUpdateArtifactRequest

func (ApiUpdateArtifactRequest) XRegistryVersion

func (r ApiUpdateArtifactRequest) XRegistryVersion(xRegistryVersion string) ApiUpdateArtifactRequest

type ApiUpdateArtifactRuleConfigRequest

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

func (ApiUpdateArtifactRuleConfigRequest) Execute

func (ApiUpdateArtifactRuleConfigRequest) Rule2

type ApiUpdateArtifactStateRequest

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

func (ApiUpdateArtifactStateRequest) Execute

func (ApiUpdateArtifactStateRequest) UpdateState

type ApiUpdateArtifactVersionCommentRequest

type ApiUpdateArtifactVersionCommentRequest struct {
	ApiService VersionsApi
	// contains filtered or unexported fields
}

func (ApiUpdateArtifactVersionCommentRequest) Execute

func (ApiUpdateArtifactVersionCommentRequest) NewComment

type ApiUpdateArtifactVersionMetaDataRequest

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

func (ApiUpdateArtifactVersionMetaDataRequest) EditableMetaData

func (ApiUpdateArtifactVersionMetaDataRequest) Execute

type ApiUpdateArtifactVersionStateRequest

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

func (ApiUpdateArtifactVersionStateRequest) Execute

func (ApiUpdateArtifactVersionStateRequest) UpdateState

type ApiUpdateConfigPropertyRequest

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

func (ApiUpdateConfigPropertyRequest) Execute

func (ApiUpdateConfigPropertyRequest) UpdateConfigurationProperty

func (r ApiUpdateConfigPropertyRequest) UpdateConfigurationProperty(updateConfigurationProperty UpdateConfigurationProperty) ApiUpdateConfigPropertyRequest

type ApiUpdateGlobalRuleConfigRequest

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

func (ApiUpdateGlobalRuleConfigRequest) Execute

func (ApiUpdateGlobalRuleConfigRequest) Rule2

type ApiUpdateRoleMappingRequest

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

func (ApiUpdateRoleMappingRequest) Execute

func (ApiUpdateRoleMappingRequest) UpdateRole

type ArtifactContent

type ArtifactContent struct {
	// Raw content of the artifact or a valid (and accessible) URL where the content can be found.
	Content string `json:"content"`
	// Collection of references to other artifacts.
	References []ArtifactReference `json:"references"`
}

ArtifactContent struct for ArtifactContent

func NewArtifactContent

func NewArtifactContent(content string, references []ArtifactReference) *ArtifactContent

NewArtifactContent instantiates a new ArtifactContent 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 NewArtifactContentWithDefaults

func NewArtifactContentWithDefaults() *ArtifactContent

NewArtifactContentWithDefaults instantiates a new ArtifactContent 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 (*ArtifactContent) GetContent

func (o *ArtifactContent) GetContent() string

GetContent returns the Content field value

func (*ArtifactContent) GetContentOk

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

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

func (*ArtifactContent) GetReferences

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

GetReferences returns the References field value

func (*ArtifactContent) GetReferencesOk

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

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

func (ArtifactContent) MarshalJSON

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

func (*ArtifactContent) SetContent

func (o *ArtifactContent) SetContent(v string)

SetContent sets field value

func (*ArtifactContent) SetReferences

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

SetReferences sets field value

type ArtifactMetaData

type ArtifactMetaData struct {
	Name        *string   `json:"name,omitempty"`
	Description *string   `json:"description,omitempty"`
	CreatedBy   string    `json:"createdBy"`
	CreatedOn   time.Time `json:"createdOn"`
	ModifiedBy  string    `json:"modifiedBy"`
	ModifiedOn  time.Time `json:"modifiedOn"`
	// The ID of a single artifact.
	Id       string        `json:"id"`
	Version  string        `json:"version"`
	Type     string        `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 time.Time, modifiedBy string, modifiedOn time.Time, id string, version string, type_ string, 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() time.Time

GetCreatedOn returns the CreatedOn field value

func (*ArtifactMetaData) GetCreatedOnOk

func (o *ArtifactMetaData) GetCreatedOnOk() (*time.Time, 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() time.Time

GetModifiedOn returns the ModifiedOn field value

func (*ArtifactMetaData) GetModifiedOnOk

func (o *ArtifactMetaData) GetModifiedOnOk() (*time.Time, 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

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

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

func (*ArtifactMetaData) GetReferencesOk

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() string

GetType returns the Type field value

func (*ArtifactMetaData) GetTypeOk

func (o *ArtifactMetaData) GetTypeOk() (*string, 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

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 time.Time)

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 time.Time)

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

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

SetType sets field value

func (*ArtifactMetaData) SetVersion

func (o *ArtifactMetaData) SetVersion(v string)

SetVersion sets field value

type ArtifactOwner

type ArtifactOwner struct {
	Owner *string `json:"owner,omitempty"`
}

ArtifactOwner Describes the ownership of an artifact.

func NewArtifactOwner

func NewArtifactOwner() *ArtifactOwner

NewArtifactOwner instantiates a new ArtifactOwner 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 NewArtifactOwnerWithDefaults

func NewArtifactOwnerWithDefaults() *ArtifactOwner

NewArtifactOwnerWithDefaults instantiates a new ArtifactOwner 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 (*ArtifactOwner) GetOwner

func (o *ArtifactOwner) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*ArtifactOwner) GetOwnerOk

func (o *ArtifactOwner) GetOwnerOk() (*string, bool)

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

func (*ArtifactOwner) HasOwner

func (o *ArtifactOwner) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (ArtifactOwner) MarshalJSON

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

func (*ArtifactOwner) SetOwner

func (o *ArtifactOwner) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

type ArtifactReference

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

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

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

func (o *ArtifactReference) GetArtifactId() string

GetArtifactId returns the ArtifactId field value

func (*ArtifactReference) GetArtifactIdOk

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

func (o *ArtifactReference) GetGroupId() string

GetGroupId returns the GroupId field value

func (*ArtifactReference) GetGroupIdOk

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

func (o *ArtifactReference) GetName() string

GetName returns the Name field value

func (*ArtifactReference) GetNameOk

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

func (o *ArtifactReference) GetVersion() string

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

func (*ArtifactReference) GetVersionOk

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

func (o *ArtifactReference) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ArtifactReference) MarshalJSON

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

func (*ArtifactReference) SetArtifactId

func (o *ArtifactReference) SetArtifactId(v string)

SetArtifactId sets field value

func (*ArtifactReference) SetGroupId

func (o *ArtifactReference) SetGroupId(v string)

SetGroupId sets field value

func (*ArtifactReference) SetName

func (o *ArtifactReference) SetName(v string)

SetName sets field value

func (*ArtifactReference) SetVersion

func (o *ArtifactReference) SetVersion(v string)

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

type ArtifactRulesApi

type ArtifactRulesApi interface {

	/*
		 * 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
	*/
	CreateArtifactRule(ctx _context.Context, groupId string, artifactId string) ApiCreateArtifactRuleRequest

	/*
	 * CreateArtifactRuleExecute executes the request
	 */
	CreateArtifactRuleExecute(r ApiCreateArtifactRuleRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	DeleteArtifactRule(ctx _context.Context, groupId string, artifactId string, rule string) ApiDeleteArtifactRuleRequest

	/*
	 * DeleteArtifactRuleExecute executes the request
	 */
	DeleteArtifactRuleExecute(r ApiDeleteArtifactRuleRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	DeleteArtifactRules(ctx _context.Context, groupId string, artifactId string) ApiDeleteArtifactRulesRequest

	/*
	 * DeleteArtifactRulesExecute executes the request
	 */
	DeleteArtifactRulesExecute(r ApiDeleteArtifactRulesRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	GetArtifactRuleConfig(ctx _context.Context, groupId string, artifactId string, rule string) ApiGetArtifactRuleConfigRequest

	/*
	 * GetArtifactRuleConfigExecute executes the request
	 * @return Rule
	 */
	GetArtifactRuleConfigExecute(r ApiGetArtifactRuleConfigRequest) (Rule, *_nethttp.Response, error)

	/*
		 * 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
	*/
	ListArtifactRules(ctx _context.Context, groupId string, artifactId string) ApiListArtifactRulesRequest

	/*
	 * ListArtifactRulesExecute executes the request
	 * @return []RuleType
	 */
	ListArtifactRulesExecute(r ApiListArtifactRulesRequest) ([]RuleType, *_nethttp.Response, error)

	/*
		 * 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
	*/
	TestUpdateArtifact(ctx _context.Context, groupId string, artifactId string) ApiTestUpdateArtifactRequest

	/*
	 * TestUpdateArtifactExecute executes the request
	 */
	TestUpdateArtifactExecute(r ApiTestUpdateArtifactRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	UpdateArtifactRuleConfig(ctx _context.Context, groupId string, artifactId string, rule string) ApiUpdateArtifactRuleConfigRequest

	/*
	 * UpdateArtifactRuleConfigExecute executes the request
	 * @return Rule
	 */
	UpdateArtifactRuleConfigExecute(r ApiUpdateArtifactRuleConfigRequest) (Rule, *_nethttp.Response, error)
}

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) (*_nethttp.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) (*_nethttp.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) (*_nethttp.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, *_nethttp.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

* 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) (*_nethttp.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, *_nethttp.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 (
	ARTIFACTSTATE_ENABLED    ArtifactState = "ENABLED"
	ARTIFACTSTATE_DISABLED   ArtifactState = "DISABLED"
	ARTIFACTSTATE_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 ArtifactTypeInfo

type ArtifactTypeInfo struct {
	Name *string `json:"name,omitempty"`
}

ArtifactTypeInfo struct for ArtifactTypeInfo

func NewArtifactTypeInfo

func NewArtifactTypeInfo() *ArtifactTypeInfo

NewArtifactTypeInfo instantiates a new ArtifactTypeInfo 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 NewArtifactTypeInfoWithDefaults

func NewArtifactTypeInfoWithDefaults() *ArtifactTypeInfo

NewArtifactTypeInfoWithDefaults instantiates a new ArtifactTypeInfo 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 (*ArtifactTypeInfo) GetName

func (o *ArtifactTypeInfo) GetName() string

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

func (*ArtifactTypeInfo) GetNameOk

func (o *ArtifactTypeInfo) 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 (*ArtifactTypeInfo) HasName

func (o *ArtifactTypeInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (ArtifactTypeInfo) MarshalJSON

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

func (*ArtifactTypeInfo) SetName

func (o *ArtifactTypeInfo) SetName(v string)

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

type ArtifactsApi

type ArtifactsApi interface {

	/*
		 * 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 The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
		 * @return ApiCreateArtifactRequest
	*/
	CreateArtifact(ctx _context.Context, groupId string) ApiCreateArtifactRequest

	/*
	 * CreateArtifactExecute executes the request
	 * @return ArtifactMetaData
	 */
	CreateArtifactExecute(r ApiCreateArtifactRequest) (ArtifactMetaData, *_nethttp.Response, error)

	/*
		 * 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
	*/
	DeleteArtifact(ctx _context.Context, groupId string, artifactId string) ApiDeleteArtifactRequest

	/*
	 * DeleteArtifactExecute executes the request
	 */
	DeleteArtifactExecute(r ApiDeleteArtifactRequest) (*_nethttp.Response, error)

	/*
	 * DeleteArtifactsInGroup Delete artifacts in 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 The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
	 * @return ApiDeleteArtifactsInGroupRequest
	 */
	DeleteArtifactsInGroup(ctx _context.Context, groupId string) ApiDeleteArtifactsInGroupRequest

	/*
	 * DeleteArtifactsInGroupExecute executes the request
	 */
	DeleteArtifactsInGroupExecute(r ApiDeleteArtifactsInGroupRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	GetContentByGlobalId(ctx _context.Context, globalId int64) ApiGetContentByGlobalIdRequest

	/*
	 * GetContentByGlobalIdExecute executes the request
	 * @return *os.File
	 */
	GetContentByGlobalIdExecute(r ApiGetContentByGlobalIdRequest) (*os.File, *_nethttp.Response, error)

	/*
		 * 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
	*/
	GetContentByHash(ctx _context.Context, contentHash string) ApiGetContentByHashRequest

	/*
	 * GetContentByHashExecute executes the request
	 * @return *os.File
	 */
	GetContentByHashExecute(r ApiGetContentByHashRequest) (*os.File, *_nethttp.Response, error)

	/*
		 * 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
	*/
	GetContentById(ctx _context.Context, contentId int64) ApiGetContentByIdRequest

	/*
	 * GetContentByIdExecute executes the request
	 * @return *os.File
	 */
	GetContentByIdExecute(r ApiGetContentByIdRequest) (*os.File, *_nethttp.Response, error)

	/*
		 * 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`).
	If the latest version of the artifact is marked as `DISABLED`, the next available non-disabled version will be used.

	This operation may fail for one of the following reasons:

	* No artifact with this `artifactId` exists or all versions are `DISABLED` (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
	*/
	GetLatestArtifact(ctx _context.Context, groupId string, artifactId string) ApiGetLatestArtifactRequest

	/*
	 * GetLatestArtifactExecute executes the request
	 * @return *os.File
	 */
	GetLatestArtifactExecute(r ApiGetLatestArtifactRequest) (*os.File, *_nethttp.Response, error)

	/*
	 * 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 The artifact group ID.  Must be a string provided by the client, representing the name of the grouping of artifacts.
	 * @return ApiListArtifactsInGroupRequest
	 */
	ListArtifactsInGroup(ctx _context.Context, groupId string) ApiListArtifactsInGroupRequest

	/*
	 * ListArtifactsInGroupExecute executes the request
	 * @return ArtifactSearchResults
	 */
	ListArtifactsInGroupExecute(r ApiListArtifactsInGroupRequest) (ArtifactSearchResults, *_nethttp.Response, error)

	/*
		 * ReferencesByContentHash List artifact references by 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
	*/
	ReferencesByContentHash(ctx _context.Context, contentHash string) ApiReferencesByContentHashRequest

	/*
	 * ReferencesByContentHashExecute executes the request
	 * @return []ArtifactReference
	 */
	ReferencesByContentHashExecute(r ApiReferencesByContentHashRequest) ([]ArtifactReference, *_nethttp.Response, error)

	/*
		 * ReferencesByContentId List artifact references by content ID
		 * Returns a list containing all the artifact references using the artifact content 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 contentId Global identifier for a single artifact content.
		 * @return ApiReferencesByContentIdRequest
	*/
	ReferencesByContentId(ctx _context.Context, contentId int64) ApiReferencesByContentIdRequest

	/*
	 * ReferencesByContentIdExecute executes the request
	 * @return []ArtifactReference
	 */
	ReferencesByContentIdExecute(r ApiReferencesByContentIdRequest) ([]ArtifactReference, *_nethttp.Response, error)

	/*
		 * ReferencesByGlobalId List artifact references by 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
	*/
	ReferencesByGlobalId(ctx _context.Context, globalId int64) ApiReferencesByGlobalIdRequest

	/*
	 * ReferencesByGlobalIdExecute executes the request
	 * @return []ArtifactReference
	 */
	ReferencesByGlobalIdExecute(r ApiReferencesByGlobalIdRequest) ([]ArtifactReference, *_nethttp.Response, error)

	/*
		 * 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
	*/
	UpdateArtifact(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactRequest

	/*
	 * UpdateArtifactExecute executes the request
	 * @return ArtifactMetaData
	 */
	UpdateArtifactExecute(r ApiUpdateArtifactRequest) (ArtifactMetaData, *_nethttp.Response, error)

	/*
		 * 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, even if this version is `DISABLED`. 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
	*/
	UpdateArtifactState(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactStateRequest

	/*
	 * UpdateArtifactStateExecute executes the request
	 */
	UpdateArtifactStateExecute(r ApiUpdateArtifactStateRequest) (*_nethttp.Response, 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 The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
  • @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) (*_nethttp.Response, error)

* Execute executes the request

func (*ArtifactsApiService) DeleteArtifactsInGroup

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

* DeleteArtifactsInGroup Delete artifacts in 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 The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts. * @return ApiDeleteArtifactsInGroupRequest

func (*ArtifactsApiService) DeleteArtifactsInGroupExecute

func (a *ArtifactsApiService) DeleteArtifactsInGroupExecute(r ApiDeleteArtifactsInGroupRequest) (*_nethttp.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, *_nethttp.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, *_nethttp.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, *_nethttp.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`). If the latest version of the artifact is marked as `DISABLED`, the next available non-disabled version will be used.

This operation may fail for one of the following reasons:

* No artifact with this `artifactId` exists or all versions are `DISABLED` (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, *_nethttp.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 The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts. * @return ApiListArtifactsInGroupRequest

func (*ArtifactsApiService) ListArtifactsInGroupExecute

* Execute executes the request * @return ArtifactSearchResults

func (*ArtifactsApiService) ReferencesByContentHash

func (a *ArtifactsApiService) ReferencesByContentHash(ctx _context.Context, contentHash string) ApiReferencesByContentHashRequest
  • ReferencesByContentHash List artifact references by 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

* Execute executes the request * @return []ArtifactReference

func (*ArtifactsApiService) ReferencesByContentId

func (a *ArtifactsApiService) ReferencesByContentId(ctx _context.Context, contentId int64) ApiReferencesByContentIdRequest
  • ReferencesByContentId List artifact references by content ID
  • Returns a list containing all the artifact references using the artifact content 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 contentId Global identifier for a single artifact content.
  • @return ApiReferencesByContentIdRequest

func (*ArtifactsApiService) ReferencesByContentIdExecute

* Execute executes the request * @return []ArtifactReference

func (*ArtifactsApiService) ReferencesByGlobalId

func (a *ArtifactsApiService) ReferencesByGlobalId(ctx _context.Context, globalId int64) ApiReferencesByGlobalIdRequest
  • ReferencesByGlobalId List artifact references by 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

* Execute executes the request * @return []ArtifactReference

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, even if this version is `DISABLED`. 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) (*_nethttp.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 Comment

type Comment struct {
	Value     string    `json:"value"`
	CreatedOn time.Time `json:"createdOn"`
	CreatedBy string    `json:"createdBy"`
	CommentId string    `json:"commentId"`
}

Comment struct for Comment

func NewComment

func NewComment(value string, createdOn time.Time, createdBy string, commentId string) *Comment

NewComment instantiates a new Comment 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 NewCommentWithDefaults

func NewCommentWithDefaults() *Comment

NewCommentWithDefaults instantiates a new Comment 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 (*Comment) GetCommentId

func (o *Comment) GetCommentId() string

GetCommentId returns the CommentId field value

func (*Comment) GetCommentIdOk

func (o *Comment) GetCommentIdOk() (*string, bool)

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

func (*Comment) GetCreatedBy

func (o *Comment) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Comment) GetCreatedByOk

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

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

func (*Comment) GetCreatedOn

func (o *Comment) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value

func (*Comment) GetCreatedOnOk

func (o *Comment) GetCreatedOnOk() (*time.Time, bool)

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

func (*Comment) GetValue

func (o *Comment) GetValue() string

GetValue returns the Value field value

func (*Comment) GetValueOk

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

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

func (Comment) MarshalJSON

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

func (*Comment) SetCommentId

func (o *Comment) SetCommentId(v string)

SetCommentId sets field value

func (*Comment) SetCreatedBy

func (o *Comment) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Comment) SetCreatedOn

func (o *Comment) SetCreatedOn(v time.Time)

SetCreatedOn sets field value

func (*Comment) SetValue

func (o *Comment) SetValue(v string)

SetValue sets field value

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

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

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

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

func (o *ConfigurationProperty) GetDescription() string

GetDescription returns the Description field value

func (*ConfigurationProperty) GetDescriptionOk

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

func (o *ConfigurationProperty) GetLabel() string

GetLabel returns the Label field value

func (*ConfigurationProperty) GetLabelOk

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

func (o *ConfigurationProperty) GetName() string

GetName returns the Name field value

func (*ConfigurationProperty) GetNameOk

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

func (o *ConfigurationProperty) GetType() string

GetType returns the Type field value

func (*ConfigurationProperty) GetTypeOk

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

func (o *ConfigurationProperty) GetValue() string

GetValue returns the Value field value

func (*ConfigurationProperty) GetValueOk

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

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

func (*ConfigurationProperty) SetDescription

func (o *ConfigurationProperty) SetDescription(v string)

SetDescription sets field value

func (*ConfigurationProperty) SetLabel

func (o *ConfigurationProperty) SetLabel(v string)

SetLabel sets field value

func (*ConfigurationProperty) SetName

func (o *ConfigurationProperty) SetName(v string)

SetName sets field value

func (*ConfigurationProperty) SetType

func (o *ConfigurationProperty) SetType(v string)

SetType sets field value

func (*ConfigurationProperty) SetValue

func (o *ConfigurationProperty) SetValue(v string)

SetValue sets field value

type CreateGroupMetaData

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

CreateGroupMetaData struct for CreateGroupMetaData

func NewCreateGroupMetaData

func NewCreateGroupMetaData(id string) *CreateGroupMetaData

NewCreateGroupMetaData instantiates a new CreateGroupMetaData 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 NewCreateGroupMetaDataWithDefaults

func NewCreateGroupMetaDataWithDefaults() *CreateGroupMetaData

NewCreateGroupMetaDataWithDefaults instantiates a new CreateGroupMetaData 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 (*CreateGroupMetaData) GetDescription

func (o *CreateGroupMetaData) GetDescription() string

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

func (*CreateGroupMetaData) GetDescriptionOk

func (o *CreateGroupMetaData) 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 (*CreateGroupMetaData) GetId

func (o *CreateGroupMetaData) GetId() string

GetId returns the Id field value

func (*CreateGroupMetaData) GetIdOk

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

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

func (*CreateGroupMetaData) GetProperties

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

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

func (*CreateGroupMetaData) GetPropertiesOk

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

func (o *CreateGroupMetaData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateGroupMetaData) HasProperties

func (o *CreateGroupMetaData) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (CreateGroupMetaData) MarshalJSON

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

func (*CreateGroupMetaData) SetDescription

func (o *CreateGroupMetaData) SetDescription(v string)

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

func (*CreateGroupMetaData) SetId

func (o *CreateGroupMetaData) SetId(v string)

SetId sets field value

func (*CreateGroupMetaData) SetProperties

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

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

type DownloadRef

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

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

func NewDownloadRef

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

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

func (o *DownloadRef) GetDownloadId() string

GetDownloadId returns the DownloadId field value

func (*DownloadRef) GetDownloadIdOk

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

func (o *DownloadRef) GetHref() string

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

func (*DownloadRef) GetHrefOk

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

func (o *DownloadRef) HasHref() bool

HasHref returns a boolean if a field has been set.

func (DownloadRef) MarshalJSON

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

func (*DownloadRef) SetDownloadId

func (o *DownloadRef) SetDownloadId(v string)

SetDownloadId sets field value

func (*DownloadRef) SetHref

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 GroupMetaData

type GroupMetaData struct {
	// An ID of a single artifact group.
	Id          string    `json:"id"`
	Description string    `json:"description"`
	CreatedBy   string    `json:"createdBy"`
	CreatedOn   time.Time `json:"createdOn"`
	ModifiedBy  string    `json:"modifiedBy"`
	ModifiedOn  time.Time `json:"modifiedOn"`
	// User-defined name-value pairs. Name and value must be strings.
	Properties map[string]string `json:"properties"`
}

GroupMetaData struct for GroupMetaData

func NewGroupMetaData

func NewGroupMetaData(id string, description string, createdBy string, createdOn time.Time, modifiedBy string, modifiedOn time.Time, properties map[string]string) *GroupMetaData

NewGroupMetaData instantiates a new GroupMetaData 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 NewGroupMetaDataWithDefaults

func NewGroupMetaDataWithDefaults() *GroupMetaData

NewGroupMetaDataWithDefaults instantiates a new GroupMetaData 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 (*GroupMetaData) GetCreatedBy

func (o *GroupMetaData) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*GroupMetaData) GetCreatedByOk

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

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

func (*GroupMetaData) GetCreatedOn

func (o *GroupMetaData) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value

func (*GroupMetaData) GetCreatedOnOk

func (o *GroupMetaData) GetCreatedOnOk() (*time.Time, bool)

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

func (*GroupMetaData) GetDescription

func (o *GroupMetaData) GetDescription() string

GetDescription returns the Description field value

func (*GroupMetaData) GetDescriptionOk

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

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

func (*GroupMetaData) GetId

func (o *GroupMetaData) GetId() string

GetId returns the Id field value

func (*GroupMetaData) GetIdOk

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

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

func (*GroupMetaData) GetModifiedBy

func (o *GroupMetaData) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*GroupMetaData) GetModifiedByOk

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

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

func (*GroupMetaData) GetModifiedOn

func (o *GroupMetaData) GetModifiedOn() time.Time

GetModifiedOn returns the ModifiedOn field value

func (*GroupMetaData) GetModifiedOnOk

func (o *GroupMetaData) GetModifiedOnOk() (*time.Time, bool)

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

func (*GroupMetaData) GetProperties

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

GetProperties returns the Properties field value

func (*GroupMetaData) GetPropertiesOk

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

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

func (GroupMetaData) MarshalJSON

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

func (*GroupMetaData) SetCreatedBy

func (o *GroupMetaData) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*GroupMetaData) SetCreatedOn

func (o *GroupMetaData) SetCreatedOn(v time.Time)

SetCreatedOn sets field value

func (*GroupMetaData) SetDescription

func (o *GroupMetaData) SetDescription(v string)

SetDescription sets field value

func (*GroupMetaData) SetId

func (o *GroupMetaData) SetId(v string)

SetId sets field value

func (*GroupMetaData) SetModifiedBy

func (o *GroupMetaData) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*GroupMetaData) SetModifiedOn

func (o *GroupMetaData) SetModifiedOn(v time.Time)

SetModifiedOn sets field value

func (*GroupMetaData) SetProperties

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

SetProperties sets field value

type GroupSearchResults

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

GroupSearchResults Describes the response received when searching for groups.

func NewGroupSearchResults

func NewGroupSearchResults(groups []SearchedGroup, count int32) *GroupSearchResults

NewGroupSearchResults instantiates a new GroupSearchResults 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 NewGroupSearchResultsWithDefaults

func NewGroupSearchResultsWithDefaults() *GroupSearchResults

NewGroupSearchResultsWithDefaults instantiates a new GroupSearchResults 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 (*GroupSearchResults) GetCount

func (o *GroupSearchResults) GetCount() int32

GetCount returns the Count field value

func (*GroupSearchResults) GetCountOk

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

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

func (*GroupSearchResults) GetGroups

func (o *GroupSearchResults) GetGroups() []SearchedGroup

GetGroups returns the Groups field value

func (*GroupSearchResults) GetGroupsOk

func (o *GroupSearchResults) GetGroupsOk() (*[]SearchedGroup, bool)

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

func (GroupSearchResults) MarshalJSON

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

func (*GroupSearchResults) SetCount

func (o *GroupSearchResults) SetCount(v int32)

SetCount sets field value

func (*GroupSearchResults) SetGroups

func (o *GroupSearchResults) SetGroups(v []SearchedGroup)

SetGroups sets field value

type GroupsApi

type GroupsApi interface {

	/*
		 * CreateGroup Create a new group
		 * Creates a new group.

	This operation can fail for the following reasons:

	* A server error occurred (HTTP error `500`)
	* The group already exist (HTTP error `409`)

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

	/*
	 * CreateGroupExecute executes the request
	 * @return GroupMetaData
	 */
	CreateGroupExecute(r ApiCreateGroupRequest) (GroupMetaData, *_nethttp.Response, error)

	/*
		 * DeleteGroupById Delete a group by the specified ID.
		 * Deletes a group by identifier.

	This operation can fail for the following reasons:

	* A server error occurred (HTTP error `500`)
	* The group does not exist (HTTP error `404`)

		 * @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.
		 * @return ApiDeleteGroupByIdRequest
	*/
	DeleteGroupById(ctx _context.Context, groupId string) ApiDeleteGroupByIdRequest

	/*
	 * DeleteGroupByIdExecute executes the request
	 */
	DeleteGroupByIdExecute(r ApiDeleteGroupByIdRequest) (*_nethttp.Response, error)

	/*
		 * GetGroupById Get a group by the specified ID.
		 * Returns a group using the specified id.

	This operation can fail for the following reasons:

	* No group exists with the specified ID (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.
		 * @return ApiGetGroupByIdRequest
	*/
	GetGroupById(ctx _context.Context, groupId string) ApiGetGroupByIdRequest

	/*
	 * GetGroupByIdExecute executes the request
	 * @return GroupMetaData
	 */
	GetGroupByIdExecute(r ApiGetGroupByIdRequest) (GroupMetaData, *_nethttp.Response, error)

	/*
	 * ListGroups List groups
	 * Returns a list of all groups.  This list is paged.
	 * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @return ApiListGroupsRequest
	 */
	ListGroups(ctx _context.Context) ApiListGroupsRequest

	/*
	 * ListGroupsExecute executes the request
	 * @return GroupSearchResults
	 */
	ListGroupsExecute(r ApiListGroupsRequest) (GroupSearchResults, *_nethttp.Response, error)
}

type GroupsApiService

type GroupsApiService service

GroupsApiService GroupsApi service

func (*GroupsApiService) CreateGroup

  • CreateGroup Create a new group
  • Creates a new group.

This operation can fail for the following reasons:

* A server error occurred (HTTP error `500`) * The group already exist (HTTP error `409`)

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

func (*GroupsApiService) CreateGroupExecute

* Execute executes the request * @return GroupMetaData

func (*GroupsApiService) DeleteGroupById

func (a *GroupsApiService) DeleteGroupById(ctx _context.Context, groupId string) ApiDeleteGroupByIdRequest
  • DeleteGroupById Delete a group by the specified ID.
  • Deletes a group by identifier.

This operation can fail for the following reasons:

* A server error occurred (HTTP error `500`) * The group does not exist (HTTP error `404`)

  • @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.
  • @return ApiDeleteGroupByIdRequest

func (*GroupsApiService) DeleteGroupByIdExecute

func (a *GroupsApiService) DeleteGroupByIdExecute(r ApiDeleteGroupByIdRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*GroupsApiService) GetGroupById

func (a *GroupsApiService) GetGroupById(ctx _context.Context, groupId string) ApiGetGroupByIdRequest
  • GetGroupById Get a group by the specified ID.
  • Returns a group using the specified id.

This operation can fail for the following reasons:

* No group exists with the specified ID (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.
  • @return ApiGetGroupByIdRequest

func (*GroupsApiService) GetGroupByIdExecute

* Execute executes the request * @return GroupMetaData

func (*GroupsApiService) ListGroups

* ListGroups List groups * Returns a list of all groups. This list is paged. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListGroupsRequest

func (*GroupsApiService) ListGroupsExecute

* Execute executes the request * @return GroupSearchResults

type IfExists

type IfExists string

IfExists the model 'IfExists'

const (
	IFEXISTS_FAIL             IfExists = "FAIL"
	IFEXISTS_UPDATE           IfExists = "UPDATE"
	IFEXISTS_RETURN           IfExists = "RETURN"
	IFEXISTS_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

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

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

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

func (o *Limits) GetMaxArtifactDescriptionLengthChars() int64

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

func (*Limits) GetMaxArtifactDescriptionLengthCharsOk

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

func (o *Limits) GetMaxArtifactLabelsCount() int64

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

func (*Limits) GetMaxArtifactLabelsCountOk

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

func (o *Limits) GetMaxArtifactNameLengthChars() int64

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

func (*Limits) GetMaxArtifactNameLengthCharsOk

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

func (o *Limits) GetMaxArtifactPropertiesCount() int64

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

func (*Limits) GetMaxArtifactPropertiesCountOk

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

func (o *Limits) GetMaxArtifactsCount() int64

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

func (*Limits) GetMaxArtifactsCountOk

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

func (o *Limits) GetMaxLabelSizeBytes() int64

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

func (*Limits) GetMaxLabelSizeBytesOk

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

func (o *Limits) GetMaxPropertyKeySizeBytes() int64

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

func (*Limits) GetMaxPropertyKeySizeBytesOk

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

func (o *Limits) GetMaxPropertyValueSizeBytes() int64

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

func (*Limits) GetMaxPropertyValueSizeBytesOk

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

func (o *Limits) GetMaxRequestsPerSecondCount() int64

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

func (*Limits) GetMaxRequestsPerSecondCountOk

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

func (o *Limits) GetMaxSchemaSizeBytes() int64

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

func (*Limits) GetMaxSchemaSizeBytesOk

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

func (o *Limits) GetMaxTotalSchemasCount() int64

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

func (*Limits) GetMaxTotalSchemasCountOk

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

func (o *Limits) GetMaxVersionsPerArtifactCount() int64

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

func (*Limits) GetMaxVersionsPerArtifactCountOk

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

func (o *Limits) HasMaxArtifactDescriptionLengthChars() bool

HasMaxArtifactDescriptionLengthChars returns a boolean if a field has been set.

func (*Limits) HasMaxArtifactLabelsCount

func (o *Limits) HasMaxArtifactLabelsCount() bool

HasMaxArtifactLabelsCount returns a boolean if a field has been set.

func (*Limits) HasMaxArtifactNameLengthChars

func (o *Limits) HasMaxArtifactNameLengthChars() bool

HasMaxArtifactNameLengthChars returns a boolean if a field has been set.

func (*Limits) HasMaxArtifactPropertiesCount

func (o *Limits) HasMaxArtifactPropertiesCount() bool

HasMaxArtifactPropertiesCount returns a boolean if a field has been set.

func (*Limits) HasMaxArtifactsCount

func (o *Limits) HasMaxArtifactsCount() bool

HasMaxArtifactsCount returns a boolean if a field has been set.

func (*Limits) HasMaxLabelSizeBytes

func (o *Limits) HasMaxLabelSizeBytes() bool

HasMaxLabelSizeBytes returns a boolean if a field has been set.

func (*Limits) HasMaxPropertyKeySizeBytes

func (o *Limits) HasMaxPropertyKeySizeBytes() bool

HasMaxPropertyKeySizeBytes returns a boolean if a field has been set.

func (*Limits) HasMaxPropertyValueSizeBytes

func (o *Limits) HasMaxPropertyValueSizeBytes() bool

HasMaxPropertyValueSizeBytes returns a boolean if a field has been set.

func (*Limits) HasMaxRequestsPerSecondCount

func (o *Limits) HasMaxRequestsPerSecondCount() bool

HasMaxRequestsPerSecondCount returns a boolean if a field has been set.

func (*Limits) HasMaxSchemaSizeBytes

func (o *Limits) HasMaxSchemaSizeBytes() bool

HasMaxSchemaSizeBytes returns a boolean if a field has been set.

func (*Limits) HasMaxTotalSchemasCount

func (o *Limits) HasMaxTotalSchemasCount() bool

HasMaxTotalSchemasCount returns a boolean if a field has been set.

func (*Limits) HasMaxVersionsPerArtifactCount

func (o *Limits) HasMaxVersionsPerArtifactCount() bool

HasMaxVersionsPerArtifactCount returns a boolean if a field has been set.

func (Limits) MarshalJSON

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

func (*Limits) SetMaxArtifactDescriptionLengthChars

func (o *Limits) SetMaxArtifactDescriptionLengthChars(v int64)

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

func (*Limits) SetMaxArtifactLabelsCount

func (o *Limits) SetMaxArtifactLabelsCount(v int64)

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

func (*Limits) SetMaxArtifactNameLengthChars

func (o *Limits) SetMaxArtifactNameLengthChars(v int64)

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

func (*Limits) SetMaxArtifactPropertiesCount

func (o *Limits) SetMaxArtifactPropertiesCount(v int64)

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

func (*Limits) SetMaxArtifactsCount

func (o *Limits) SetMaxArtifactsCount(v int64)

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

func (*Limits) SetMaxLabelSizeBytes

func (o *Limits) SetMaxLabelSizeBytes(v int64)

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

func (*Limits) SetMaxPropertyKeySizeBytes

func (o *Limits) SetMaxPropertyKeySizeBytes(v int64)

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

func (*Limits) SetMaxPropertyValueSizeBytes

func (o *Limits) SetMaxPropertyValueSizeBytes(v int64)

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

func (*Limits) SetMaxRequestsPerSecondCount

func (o *Limits) SetMaxRequestsPerSecondCount(v int64)

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

func (*Limits) SetMaxSchemaSizeBytes

func (o *Limits) SetMaxSchemaSizeBytes(v int64)

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

func (*Limits) SetMaxTotalSchemasCount

func (o *Limits) SetMaxTotalSchemasCount(v int64)

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

func (*Limits) SetMaxVersionsPerArtifactCount

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 (
	LOGLEVEL_DEBUG   LogLevel = "DEBUG"
	LOGLEVEL_TRACE   LogLevel = "TRACE"
	LOGLEVEL_WARN    LogLevel = "WARN"
	LOGLEVEL_ERROR   LogLevel = "ERROR"
	LOGLEVEL_SEVERE  LogLevel = "SEVERE"
	LOGLEVEL_WARNING LogLevel = "WARNING"
	LOGLEVEL_INFO    LogLevel = "INFO"
	LOGLEVEL_CONFIG  LogLevel = "CONFIG"
	LOGLEVEL_FINE    LogLevel = "FINE"
	LOGLEVEL_FINER   LogLevel = "FINER"
	LOGLEVEL_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 MetadataApi

type MetadataApi interface {

	/*
		 * 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
	*/
	DeleteArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiDeleteArtifactVersionMetaDataRequest

	/*
	 * DeleteArtifactVersionMetaDataExecute executes the request
	 */
	DeleteArtifactVersionMetaDataExecute(r ApiDeleteArtifactVersionMetaDataRequest) (*_nethttp.Response, error)

	/*
		 * GetArtifactMetaData Get artifact metadata
		 * Gets the metadata for an artifact in the registry, based on the latest version. If the latest version of the artifact is marked as `DISABLED`, the next available non-disabled version will be used. 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  or all versions are `DISABLED` (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
	*/
	GetArtifactMetaData(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactMetaDataRequest

	/*
	 * GetArtifactMetaDataExecute executes the request
	 * @return ArtifactMetaData
	 */
	GetArtifactMetaDataExecute(r ApiGetArtifactMetaDataRequest) (ArtifactMetaData, *_nethttp.Response, error)

	/*
		 * GetArtifactOwner Get artifact owner
		 * Gets the owner of an artifact in the registry.

	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 ApiGetArtifactOwnerRequest
	*/
	GetArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactOwnerRequest

	/*
	 * GetArtifactOwnerExecute executes the request
	 * @return ArtifactOwner
	 */
	GetArtifactOwnerExecute(r ApiGetArtifactOwnerRequest) (ArtifactOwner, *_nethttp.Response, error)

	/*
		 * 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
	*/
	GetArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionMetaDataRequest

	/*
	 * GetArtifactVersionMetaDataExecute executes the request
	 * @return VersionMetaData
	 */
	GetArtifactVersionMetaDataExecute(r ApiGetArtifactVersionMetaDataRequest) (VersionMetaData, *_nethttp.Response, error)

	/*
		 * 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
	*/
	GetArtifactVersionMetaDataByContent(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactVersionMetaDataByContentRequest

	/*
	 * GetArtifactVersionMetaDataByContentExecute executes the request
	 * @return VersionMetaData
	 */
	GetArtifactVersionMetaDataByContentExecute(r ApiGetArtifactVersionMetaDataByContentRequest) (VersionMetaData, *_nethttp.Response, error)

	/*
		 * 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
	*/
	UpdateArtifactMetaData(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactMetaDataRequest

	/*
	 * UpdateArtifactMetaDataExecute executes the request
	 */
	UpdateArtifactMetaDataExecute(r ApiUpdateArtifactMetaDataRequest) (*_nethttp.Response, error)

	/*
		 * UpdateArtifactOwner Update artifact owner
		 * Changes the ownership of an artifact.

	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 ApiUpdateArtifactOwnerRequest
	*/
	UpdateArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactOwnerRequest

	/*
	 * UpdateArtifactOwnerExecute executes the request
	 */
	UpdateArtifactOwnerExecute(r ApiUpdateArtifactOwnerRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	UpdateArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionMetaDataRequest

	/*
	 * UpdateArtifactVersionMetaDataExecute executes the request
	 */
	UpdateArtifactVersionMetaDataExecute(r ApiUpdateArtifactVersionMetaDataRequest) (*_nethttp.Response, 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) (*_nethttp.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, based on the latest version. If the latest version of the artifact is marked as `DISABLED`, the next available non-disabled version will be used. 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 or all versions are `DISABLED` (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) GetArtifactOwner

func (a *MetadataApiService) GetArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactOwnerRequest
  • GetArtifactOwner Get artifact owner
  • Gets the owner of an artifact in the registry.

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 ApiGetArtifactOwnerRequest

func (*MetadataApiService) GetArtifactOwnerExecute

* Execute executes the request * @return ArtifactOwner

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, *_nethttp.Response, error)

* Execute executes the request * @return VersionMetaData

func (*MetadataApiService) GetArtifactVersionMetaDataExecute

* 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) (*_nethttp.Response, error)

* Execute executes the request

func (*MetadataApiService) UpdateArtifactOwner

func (a *MetadataApiService) UpdateArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactOwnerRequest
  • UpdateArtifactOwner Update artifact owner
  • Changes the ownership of an artifact.

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 ApiUpdateArtifactOwnerRequest

func (*MetadataApiService) UpdateArtifactOwnerExecute

func (a *MetadataApiService) UpdateArtifactOwnerExecute(r ApiUpdateArtifactOwnerRequest) (*_nethttp.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) (*_nethttp.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 NewComment

type NewComment struct {
	Value string `json:"value"`
}

NewComment struct for NewComment

func NewNewComment

func NewNewComment(value string) *NewComment

NewNewComment instantiates a new NewComment 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 NewNewCommentWithDefaults

func NewNewCommentWithDefaults() *NewComment

NewNewCommentWithDefaults instantiates a new NewComment 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 (*NewComment) GetValue

func (o *NewComment) GetValue() string

GetValue returns the Value field value

func (*NewComment) GetValueOk

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

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

func (NewComment) MarshalJSON

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

func (*NewComment) SetValue

func (o *NewComment) SetValue(v string)

SetValue sets field value

type NullableArtifactContent

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

func NewNullableArtifactContent

func NewNullableArtifactContent(val *ArtifactContent) *NullableArtifactContent

func (NullableArtifactContent) Get

func (NullableArtifactContent) IsSet

func (v NullableArtifactContent) IsSet() bool

func (NullableArtifactContent) MarshalJSON

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

func (*NullableArtifactContent) Set

func (*NullableArtifactContent) UnmarshalJSON

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

func (*NullableArtifactContent) Unset

func (v *NullableArtifactContent) Unset()

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 NullableArtifactOwner

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

func NewNullableArtifactOwner

func NewNullableArtifactOwner(val *ArtifactOwner) *NullableArtifactOwner

func (NullableArtifactOwner) Get

func (NullableArtifactOwner) IsSet

func (v NullableArtifactOwner) IsSet() bool

func (NullableArtifactOwner) MarshalJSON

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

func (*NullableArtifactOwner) Set

func (v *NullableArtifactOwner) Set(val *ArtifactOwner)

func (*NullableArtifactOwner) UnmarshalJSON

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

func (*NullableArtifactOwner) Unset

func (v *NullableArtifactOwner) Unset()

type NullableArtifactReference

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

func NewNullableArtifactReference

func NewNullableArtifactReference(val *ArtifactReference) *NullableArtifactReference

func (NullableArtifactReference) Get

func (NullableArtifactReference) IsSet

func (v NullableArtifactReference) IsSet() bool

func (NullableArtifactReference) MarshalJSON

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

func (*NullableArtifactReference) Set

func (*NullableArtifactReference) UnmarshalJSON

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

func (*NullableArtifactReference) Unset

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 NullableArtifactTypeInfo

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

func NewNullableArtifactTypeInfo

func NewNullableArtifactTypeInfo(val *ArtifactTypeInfo) *NullableArtifactTypeInfo

func (NullableArtifactTypeInfo) Get

func (NullableArtifactTypeInfo) IsSet

func (v NullableArtifactTypeInfo) IsSet() bool

func (NullableArtifactTypeInfo) MarshalJSON

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

func (*NullableArtifactTypeInfo) Set

func (*NullableArtifactTypeInfo) UnmarshalJSON

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

func (*NullableArtifactTypeInfo) Unset

func (v *NullableArtifactTypeInfo) 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 NullableComment

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

func NewNullableComment

func NewNullableComment(val *Comment) *NullableComment

func (NullableComment) Get

func (v NullableComment) Get() *Comment

func (NullableComment) IsSet

func (v NullableComment) IsSet() bool

func (NullableComment) MarshalJSON

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

func (*NullableComment) Set

func (v *NullableComment) Set(val *Comment)

func (*NullableComment) UnmarshalJSON

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

func (*NullableComment) Unset

func (v *NullableComment) Unset()

type NullableConfigurationProperty

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

func (NullableConfigurationProperty) Get

func (NullableConfigurationProperty) IsSet

func (NullableConfigurationProperty) MarshalJSON

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

func (*NullableConfigurationProperty) Set

func (*NullableConfigurationProperty) UnmarshalJSON

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

func (*NullableConfigurationProperty) Unset

func (v *NullableConfigurationProperty) Unset()

type NullableCreateGroupMetaData

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

func NewNullableCreateGroupMetaData

func NewNullableCreateGroupMetaData(val *CreateGroupMetaData) *NullableCreateGroupMetaData

func (NullableCreateGroupMetaData) Get

func (NullableCreateGroupMetaData) IsSet

func (NullableCreateGroupMetaData) MarshalJSON

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

func (*NullableCreateGroupMetaData) Set

func (*NullableCreateGroupMetaData) UnmarshalJSON

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

func (*NullableCreateGroupMetaData) Unset

func (v *NullableCreateGroupMetaData) Unset()

type NullableDownloadRef

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

func NewNullableDownloadRef

func NewNullableDownloadRef(val *DownloadRef) *NullableDownloadRef

func (NullableDownloadRef) Get

func (NullableDownloadRef) IsSet

func (v NullableDownloadRef) IsSet() bool

func (NullableDownloadRef) MarshalJSON

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

func (*NullableDownloadRef) Set

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

func (*NullableDownloadRef) UnmarshalJSON

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

func (*NullableDownloadRef) Unset

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 NullableGroupMetaData

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

func NewNullableGroupMetaData

func NewNullableGroupMetaData(val *GroupMetaData) *NullableGroupMetaData

func (NullableGroupMetaData) Get

func (NullableGroupMetaData) IsSet

func (v NullableGroupMetaData) IsSet() bool

func (NullableGroupMetaData) MarshalJSON

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

func (*NullableGroupMetaData) Set

func (v *NullableGroupMetaData) Set(val *GroupMetaData)

func (*NullableGroupMetaData) UnmarshalJSON

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

func (*NullableGroupMetaData) Unset

func (v *NullableGroupMetaData) Unset()

type NullableGroupSearchResults

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

func NewNullableGroupSearchResults

func NewNullableGroupSearchResults(val *GroupSearchResults) *NullableGroupSearchResults

func (NullableGroupSearchResults) Get

func (NullableGroupSearchResults) IsSet

func (v NullableGroupSearchResults) IsSet() bool

func (NullableGroupSearchResults) MarshalJSON

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

func (*NullableGroupSearchResults) Set

func (*NullableGroupSearchResults) UnmarshalJSON

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

func (*NullableGroupSearchResults) Unset

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

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

func NewNullableLimits

func NewNullableLimits(val *Limits) *NullableLimits

func (NullableLimits) Get

func (v NullableLimits) Get() *Limits

func (NullableLimits) IsSet

func (v NullableLimits) IsSet() bool

func (NullableLimits) MarshalJSON

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

func (*NullableLimits) Set

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

func (*NullableLimits) UnmarshalJSON

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

func (*NullableLimits) Unset

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 NullableNewComment

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

func NewNullableNewComment

func NewNullableNewComment(val *NewComment) *NullableNewComment

func (NullableNewComment) Get

func (v NullableNewComment) Get() *NewComment

func (NullableNewComment) IsSet

func (v NullableNewComment) IsSet() bool

func (NullableNewComment) MarshalJSON

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

func (*NullableNewComment) Set

func (v *NullableNewComment) Set(val *NewComment)

func (*NullableNewComment) UnmarshalJSON

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

func (*NullableNewComment) Unset

func (v *NullableNewComment) Unset()

type NullableReferenceType

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

func NewNullableReferenceType

func NewNullableReferenceType(val *ReferenceType) *NullableReferenceType

func (NullableReferenceType) Get

func (NullableReferenceType) IsSet

func (v NullableReferenceType) IsSet() bool

func (NullableReferenceType) MarshalJSON

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

func (*NullableReferenceType) Set

func (v *NullableReferenceType) Set(val *ReferenceType)

func (*NullableReferenceType) UnmarshalJSON

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

func (*NullableReferenceType) Unset

func (v *NullableReferenceType) 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 NullableSearchedGroup

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

func NewNullableSearchedGroup

func NewNullableSearchedGroup(val *SearchedGroup) *NullableSearchedGroup

func (NullableSearchedGroup) Get

func (NullableSearchedGroup) IsSet

func (v NullableSearchedGroup) IsSet() bool

func (NullableSearchedGroup) MarshalJSON

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

func (*NullableSearchedGroup) Set

func (v *NullableSearchedGroup) Set(val *SearchedGroup)

func (*NullableSearchedGroup) UnmarshalJSON

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

func (*NullableSearchedGroup) Unset

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

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

func (NullableUpdateConfigurationProperty) Get

func (NullableUpdateConfigurationProperty) IsSet

func (NullableUpdateConfigurationProperty) MarshalJSON

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

func (*NullableUpdateConfigurationProperty) Set

func (*NullableUpdateConfigurationProperty) UnmarshalJSON

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

func (*NullableUpdateConfigurationProperty) Unset

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 ReferenceType

type ReferenceType string

ReferenceType the model 'ReferenceType'

const (
	REFERENCETYPE_OUTBOUND ReferenceType = "OUTBOUND"
	REFERENCETYPE_INBOUND  ReferenceType = "INBOUND"
)

List of ReferenceType

func NewReferenceTypeFromValue

func NewReferenceTypeFromValue(v string) (*ReferenceType, error)

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

func (ReferenceType) IsValid

func (v ReferenceType) IsValid() bool

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

func (ReferenceType) Ptr

func (v ReferenceType) Ptr() *ReferenceType

Ptr returns reference to ReferenceType value

func (*ReferenceType) UnmarshalJSON

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

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 (
	ROLETYPE_READ_ONLY RoleType = "READ_ONLY"
	ROLETYPE_DEVELOPER RoleType = "DEVELOPER"
	ROLETYPE_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 (
	RULETYPE_VALIDITY      RuleType = "VALIDITY"
	RULETYPE_COMPATIBILITY RuleType = "COMPATIBILITY"
	RULETYPE_INTEGRITY     RuleType = "INTEGRITY"
)

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 SearchApi

type SearchApi interface {

	/*
	 * 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
	 */
	SearchArtifacts(ctx _context.Context) ApiSearchArtifactsRequest

	/*
	 * SearchArtifactsExecute executes the request
	 * @return ArtifactSearchResults
	 */
	SearchArtifactsExecute(r ApiSearchArtifactsRequest) (ArtifactSearchResults, *_nethttp.Response, error)

	/*
		 * 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
	*/
	SearchArtifactsByContent(ctx _context.Context) ApiSearchArtifactsByContentRequest

	/*
	 * SearchArtifactsByContentExecute executes the request
	 * @return ArtifactSearchResults
	 */
	SearchArtifactsByContentExecute(r ApiSearchArtifactsByContentRequest) (ArtifactSearchResults, *_nethttp.Response, error)
}

type SearchApiService

type SearchApiService service

SearchApiService SearchApi service

func (*SearchApiService) 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 (*SearchApiService) SearchArtifactsByContent

func (a *SearchApiService) 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 (*SearchApiService) SearchArtifactsByContentExecute

* Execute executes the request * @return ArtifactSearchResults

func (*SearchApiService) SearchArtifactsExecute

* Execute executes the request * @return ArtifactSearchResults

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   time.Time     `json:"createdOn"`
	CreatedBy   string        `json:"createdBy"`
	Type        string        `json:"type"`
	Labels      *[]string     `json:"labels,omitempty"`
	State       ArtifactState `json:"state"`
	ModifiedOn  *time.Time    `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 time.Time, createdBy string, type_ string, 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() time.Time

GetCreatedOn returns the CreatedOn field value

func (*SearchedArtifact) GetCreatedOnOk

func (o *SearchedArtifact) GetCreatedOnOk() (*time.Time, 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() time.Time

GetModifiedOn returns the ModifiedOn field value if set, zero value otherwise.

func (*SearchedArtifact) GetModifiedOnOk

func (o *SearchedArtifact) GetModifiedOnOk() (*time.Time, 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() string

GetType returns the Type field value

func (*SearchedArtifact) GetTypeOk

func (o *SearchedArtifact) GetTypeOk() (*string, 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 time.Time)

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 time.Time)

SetModifiedOn gets a reference to the given time.Time 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 string)

SetType sets field value

type SearchedGroup

type SearchedGroup struct {
	// An ID of a single artifact group.
	Id          string    `json:"id"`
	Description string    `json:"description"`
	CreatedOn   time.Time `json:"createdOn"`
	CreatedBy   string    `json:"createdBy"`
	ModifiedOn  time.Time `json:"modifiedOn"`
	ModifiedBy  string    `json:"modifiedBy"`
}

SearchedGroup Models a single group from the result set returned when searching for groups.

func NewSearchedGroup

func NewSearchedGroup(id string, description string, createdOn time.Time, createdBy string, modifiedOn time.Time, modifiedBy string) *SearchedGroup

NewSearchedGroup instantiates a new SearchedGroup 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 NewSearchedGroupWithDefaults

func NewSearchedGroupWithDefaults() *SearchedGroup

NewSearchedGroupWithDefaults instantiates a new SearchedGroup 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 (*SearchedGroup) GetCreatedBy

func (o *SearchedGroup) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*SearchedGroup) GetCreatedByOk

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

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

func (*SearchedGroup) GetCreatedOn

func (o *SearchedGroup) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value

func (*SearchedGroup) GetCreatedOnOk

func (o *SearchedGroup) GetCreatedOnOk() (*time.Time, bool)

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

func (*SearchedGroup) GetDescription

func (o *SearchedGroup) GetDescription() string

GetDescription returns the Description field value

func (*SearchedGroup) GetDescriptionOk

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

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

func (*SearchedGroup) GetId

func (o *SearchedGroup) GetId() string

GetId returns the Id field value

func (*SearchedGroup) GetIdOk

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

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

func (*SearchedGroup) GetModifiedBy

func (o *SearchedGroup) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*SearchedGroup) GetModifiedByOk

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

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

func (*SearchedGroup) GetModifiedOn

func (o *SearchedGroup) GetModifiedOn() time.Time

GetModifiedOn returns the ModifiedOn field value

func (*SearchedGroup) GetModifiedOnOk

func (o *SearchedGroup) GetModifiedOnOk() (*time.Time, bool)

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

func (SearchedGroup) MarshalJSON

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

func (*SearchedGroup) SetCreatedBy

func (o *SearchedGroup) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*SearchedGroup) SetCreatedOn

func (o *SearchedGroup) SetCreatedOn(v time.Time)

SetCreatedOn sets field value

func (*SearchedGroup) SetDescription

func (o *SearchedGroup) SetDescription(v string)

SetDescription sets field value

func (*SearchedGroup) SetId

func (o *SearchedGroup) SetId(v string)

SetId sets field value

func (*SearchedGroup) SetModifiedBy

func (o *SearchedGroup) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*SearchedGroup) SetModifiedOn

func (o *SearchedGroup) SetModifiedOn(v time.Time)

SetModifiedOn sets field value

type SearchedVersion

type SearchedVersion struct {
	Name        *string       `json:"name,omitempty"`
	Description *string       `json:"description,omitempty"`
	CreatedOn   time.Time     `json:"createdOn"`
	CreatedBy   string        `json:"createdBy"`
	Type        string        `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 time.Time, createdBy string, type_ string, 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() time.Time

GetCreatedOn returns the CreatedOn field value

func (*SearchedVersion) GetCreatedOnOk

func (o *SearchedVersion) GetCreatedOnOk() (*time.Time, 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

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

GetReferences returns the References field value

func (*SearchedVersion) GetReferencesOk

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() string

GetType returns the Type field value

func (*SearchedVersion) GetTypeOk

func (o *SearchedVersion) GetTypeOk() (*string, 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 time.Time)

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

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

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 (
	SORTBY_NAME       SortBy = "name"
	SORTBY_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 (
	SORTORDER_ASC  SortOrder = "asc"
	SORTORDER_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 SystemApi

type SystemApi interface {

	/*
	 * 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
	 */
	GetResourceLimits(ctx _context.Context) ApiGetResourceLimitsRequest

	/*
	 * GetResourceLimitsExecute executes the request
	 * @return Limits
	 */
	GetResourceLimitsExecute(r ApiGetResourceLimitsRequest) (Limits, *_nethttp.Response, error)

	/*
		 * 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
	*/
	GetSystemInfo(ctx _context.Context) ApiGetSystemInfoRequest

	/*
	 * GetSystemInfoExecute executes the request
	 * @return SystemInfo
	 */
	GetSystemInfoExecute(r ApiGetSystemInfoRequest) (SystemInfo, *_nethttp.Response, error)
}

type SystemApiService

type SystemApiService service

SystemApiService SystemApi service

func (*SystemApiService) GetResourceLimits

* 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

func (a *SystemApiService) GetResourceLimitsExecute(r ApiGetResourceLimitsRequest) (Limits, *_nethttp.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

* 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     *time.Time `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() time.Time

GetBuiltOn returns the BuiltOn field value if set, zero value otherwise.

func (*SystemInfo) GetBuiltOnOk

func (o *SystemInfo) GetBuiltOnOk() (*time.Time, 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 time.Time)

SetBuiltOn gets a reference to the given time.Time 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

type UpdateConfigurationProperty struct {
	Value string `json:"value"`
}

UpdateConfigurationProperty struct for UpdateConfigurationProperty

func NewUpdateConfigurationProperty

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

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

func (o *UpdateConfigurationProperty) GetValue() string

GetValue returns the Value field value

func (*UpdateConfigurationProperty) GetValueOk

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

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

func (*UpdateConfigurationProperty) SetValue

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 UsersApi

type UsersApi interface {

	/*
	 * 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
	 */
	GetCurrentUserInfo(ctx _context.Context) ApiGetCurrentUserInfoRequest

	/*
	 * GetCurrentUserInfoExecute executes the request
	 * @return UserInfo
	 */
	GetCurrentUserInfoExecute(r ApiGetCurrentUserInfoRequest) (UserInfo, *_nethttp.Response, error)
}

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, *_nethttp.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   time.Time      `json:"createdOn"`
	Type        string         `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 time.Time, type_ string, 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() time.Time

GetCreatedOn returns the CreatedOn field value

func (*VersionMetaData) GetCreatedOnOk

func (o *VersionMetaData) GetCreatedOnOk() (*time.Time, 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() string

GetType returns the Type field value

func (*VersionMetaData) GetTypeOk

func (o *VersionMetaData) GetTypeOk() (*string, 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 time.Time)

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

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 VersionsApi

type VersionsApi interface {

	/*
		 * AddArtifactVersionComment Add new comment
		 * Adds a new comment to the artifact version.  Both the `artifactId` and the
	unique `version` number must be provided.

	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 ApiAddArtifactVersionCommentRequest
	*/
	AddArtifactVersionComment(ctx _context.Context, groupId string, artifactId string, version string) ApiAddArtifactVersionCommentRequest

	/*
	 * AddArtifactVersionCommentExecute executes the request
	 * @return Comment
	 */
	AddArtifactVersionCommentExecute(r ApiAddArtifactVersionCommentRequest) (Comment, *_nethttp.Response, error)

	/*
		 * 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
	*/
	CreateArtifactVersion(ctx _context.Context, groupId string, artifactId string) ApiCreateArtifactVersionRequest

	/*
	 * CreateArtifactVersionExecute executes the request
	 * @return VersionMetaData
	 */
	CreateArtifactVersionExecute(r ApiCreateArtifactVersionRequest) (VersionMetaData, *_nethttp.Response, error)

	/*
		 * DeleteArtifactVersion Delete artifact version
		 * Deletes a single version of the artifact. Parameters `groupId`, `artifactId` and the unique `version`
	are needed. If this is the only version of the artifact, this operation is the same as
	deleting the entire artifact.

	This feature is disabled by default and it's discouraged for normal usage. To enable it, set the `registry.rest.artifact.deletion.enabled` property to true. 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`)
	 * Feature is disabled (HTTP error `405`)
	 * 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 ApiDeleteArtifactVersionRequest
	*/
	DeleteArtifactVersion(ctx _context.Context, groupId string, artifactId string, version string) ApiDeleteArtifactVersionRequest

	/*
	 * DeleteArtifactVersionExecute executes the request
	 */
	DeleteArtifactVersionExecute(r ApiDeleteArtifactVersionRequest) (*_nethttp.Response, error)

	/*
		 * DeleteArtifactVersionComment Delete a single comment
		 * Deletes a single comment in an artifact version.  Only the owner of the
	comment can delete it.  The `artifactId`, unique `version` number, and `commentId`
	must be provided.

	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`)
	* No comment with this `commentId` 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.
		 * @param commentId The unique identifier of a single comment.
		 * @return ApiDeleteArtifactVersionCommentRequest
	*/
	DeleteArtifactVersionComment(ctx _context.Context, groupId string, artifactId string, version string, commentId string) ApiDeleteArtifactVersionCommentRequest

	/*
	 * DeleteArtifactVersionCommentExecute executes the request
	 */
	DeleteArtifactVersionCommentExecute(r ApiDeleteArtifactVersionCommentRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	GetArtifactVersion(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionRequest

	/*
	 * GetArtifactVersionExecute executes the request
	 * @return *os.File
	 */
	GetArtifactVersionExecute(r ApiGetArtifactVersionRequest) (*os.File, *_nethttp.Response, error)

	/*
		 * GetArtifactVersionComments Get artifact version comments
		 * Retrieves all comments for a version of an artifact.  Both the `artifactId` and the
	unique `version` number must be provided.

	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 ApiGetArtifactVersionCommentsRequest
	*/
	GetArtifactVersionComments(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionCommentsRequest

	/*
	 * GetArtifactVersionCommentsExecute executes the request
	 * @return []Comment
	 */
	GetArtifactVersionCommentsExecute(r ApiGetArtifactVersionCommentsRequest) ([]Comment, *_nethttp.Response, error)

	/*
		 * GetArtifactVersionReferences Get artifact version references
		 * Retrieves all references for a single version of an artifact.  Both the `artifactId` and the
	unique `version` number must be provided.  Using the `refType` query parameter, it is possible
	to retrieve an array of either the inbound or outbound references.

	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
	*/
	GetArtifactVersionReferences(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionReferencesRequest

	/*
	 * GetArtifactVersionReferencesExecute executes the request
	 * @return []ArtifactReference
	 */
	GetArtifactVersionReferencesExecute(r ApiGetArtifactVersionReferencesRequest) ([]ArtifactReference, *_nethttp.Response, error)

	/*
		 * 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
	*/
	ListArtifactVersions(ctx _context.Context, groupId string, artifactId string) ApiListArtifactVersionsRequest

	/*
	 * ListArtifactVersionsExecute executes the request
	 * @return VersionSearchResults
	 */
	ListArtifactVersionsExecute(r ApiListArtifactVersionsRequest) (VersionSearchResults, *_nethttp.Response, error)

	/*
		 * UpdateArtifactVersionComment Update a comment
		 * Updates the value of a single comment in an artifact version.  Only the owner of the
	comment can modify it.  The `artifactId`, unique `version` number, and `commentId`
	must be provided.

	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`)
	* No comment with this `commentId` 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.
		 * @param commentId The unique identifier of a single comment.
		 * @return ApiUpdateArtifactVersionCommentRequest
	*/
	UpdateArtifactVersionComment(ctx _context.Context, groupId string, artifactId string, version string, commentId string) ApiUpdateArtifactVersionCommentRequest

	/*
	 * UpdateArtifactVersionCommentExecute executes the request
	 */
	UpdateArtifactVersionCommentExecute(r ApiUpdateArtifactVersionCommentRequest) (*_nethttp.Response, error)

	/*
		 * 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
	*/
	UpdateArtifactVersionState(ctx _context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionStateRequest

	/*
	 * UpdateArtifactVersionStateExecute executes the request
	 */
	UpdateArtifactVersionStateExecute(r ApiUpdateArtifactVersionStateRequest) (*_nethttp.Response, error)
}

type VersionsApiService

type VersionsApiService service

VersionsApiService VersionsApi service

func (*VersionsApiService) AddArtifactVersionComment

func (a *VersionsApiService) AddArtifactVersionComment(ctx _context.Context, groupId string, artifactId string, version string) ApiAddArtifactVersionCommentRequest
  • AddArtifactVersionComment Add new comment
  • Adds a new comment to the artifact version. Both the `artifactId` and the

unique `version` number must be provided.

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 ApiAddArtifactVersionCommentRequest

func (*VersionsApiService) AddArtifactVersionCommentExecute

func (a *VersionsApiService) AddArtifactVersionCommentExecute(r ApiAddArtifactVersionCommentRequest) (Comment, *_nethttp.Response, error)

* Execute executes the request * @return Comment

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

* Execute executes the request * @return VersionMetaData

func (*VersionsApiService) DeleteArtifactVersion

func (a *VersionsApiService) DeleteArtifactVersion(ctx _context.Context, groupId string, artifactId string, version string) ApiDeleteArtifactVersionRequest
  • DeleteArtifactVersion Delete artifact version
  • Deletes a single version of the artifact. Parameters `groupId`, `artifactId` and the unique `version`

are needed. If this is the only version of the artifact, this operation is the same as deleting the entire artifact.

This feature is disabled by default and it's discouraged for normal usage. To enable it, set the `registry.rest.artifact.deletion.enabled` property to true. 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`)

  • Feature is disabled (HTTP error `405`)

  • 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 ApiDeleteArtifactVersionRequest

func (*VersionsApiService) DeleteArtifactVersionComment

func (a *VersionsApiService) DeleteArtifactVersionComment(ctx _context.Context, groupId string, artifactId string, version string, commentId string) ApiDeleteArtifactVersionCommentRequest
  • DeleteArtifactVersionComment Delete a single comment
  • Deletes a single comment in an artifact version. Only the owner of the

comment can delete it. The `artifactId`, unique `version` number, and `commentId` must be provided.

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`) * No comment with this `commentId` 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.
  • @param commentId The unique identifier of a single comment.
  • @return ApiDeleteArtifactVersionCommentRequest

func (*VersionsApiService) DeleteArtifactVersionCommentExecute

func (a *VersionsApiService) DeleteArtifactVersionCommentExecute(r ApiDeleteArtifactVersionCommentRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*VersionsApiService) DeleteArtifactVersionExecute

func (a *VersionsApiService) DeleteArtifactVersionExecute(r ApiDeleteArtifactVersionRequest) (*_nethttp.Response, error)

* Execute executes the request

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

func (a *VersionsApiService) GetArtifactVersionComments(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionCommentsRequest
  • GetArtifactVersionComments Get artifact version comments
  • Retrieves all comments for a version of an artifact. Both the `artifactId` and the

unique `version` number must be provided.

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 ApiGetArtifactVersionCommentsRequest

func (*VersionsApiService) GetArtifactVersionCommentsExecute

func (a *VersionsApiService) GetArtifactVersionCommentsExecute(r ApiGetArtifactVersionCommentsRequest) ([]Comment, *_nethttp.Response, error)

* Execute executes the request * @return []Comment

func (*VersionsApiService) GetArtifactVersionExecute

func (a *VersionsApiService) GetArtifactVersionExecute(r ApiGetArtifactVersionRequest) (*os.File, *_nethttp.Response, error)

* Execute executes the request * @return *os.File

func (*VersionsApiService) GetArtifactVersionReferences

func (a *VersionsApiService) GetArtifactVersionReferences(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionReferencesRequest
  • GetArtifactVersionReferences Get artifact version references
  • Retrieves all references for a single version of an artifact. Both the `artifactId` and the

unique `version` number must be provided. Using the `refType` query parameter, it is possible to retrieve an array of either the inbound or outbound references.

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

func (a *VersionsApiService) GetArtifactVersionReferencesExecute(r ApiGetArtifactVersionReferencesRequest) ([]ArtifactReference, *_nethttp.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) UpdateArtifactVersionComment

func (a *VersionsApiService) UpdateArtifactVersionComment(ctx _context.Context, groupId string, artifactId string, version string, commentId string) ApiUpdateArtifactVersionCommentRequest
  • UpdateArtifactVersionComment Update a comment
  • Updates the value of a single comment in an artifact version. Only the owner of the

comment can modify it. The `artifactId`, unique `version` number, and `commentId` must be provided.

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`) * No comment with this `commentId` 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.
  • @param commentId The unique identifier of a single comment.
  • @return ApiUpdateArtifactVersionCommentRequest

func (*VersionsApiService) UpdateArtifactVersionCommentExecute

func (a *VersionsApiService) UpdateArtifactVersionCommentExecute(r ApiUpdateArtifactVersionCommentRequest) (*_nethttp.Response, error)

* Execute executes the request

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) (*_nethttp.Response, error)

* Execute executes the request

Jump to

Keyboard shortcuts

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