Help us shape the future of Go! Take the 2026 Go Developer Survey

v1api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedArtifactoryStateEnumValues = []ArtifactoryState{
	"Reconciling",
	"Active",
	"Deleted",
	"Error",
	"unknown_default_open_api",
}

All allowed values of ArtifactoryState enum

View Source
var AllowedReplicationAdapterCredentialTypeEnumValues = []ReplicationAdapterCredentialType{
	"basic",
	"oauth",
	"secret",
	"unknown_default_open_api",
}

All allowed values of ReplicationAdapterCredentialType enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

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 {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

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

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

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() *config.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 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 ApiCreateArtifactoryRequest

type ApiCreateArtifactoryRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateArtifactoryRequest) Claim

If true, claims ownership of an existing Harbor project instead of creating a new one.

func (ApiCreateArtifactoryRequest) CreateArtifactoryPayload

func (r ApiCreateArtifactoryRequest) CreateArtifactoryPayload(createArtifactoryPayload CreateArtifactoryPayload) ApiCreateArtifactoryRequest

CreateArtifactory request data

func (ApiCreateArtifactoryRequest) Execute

type ApiDeleteArtifactoryRequest

type ApiDeleteArtifactoryRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteArtifactoryRequest) Execute

func (r ApiDeleteArtifactoryRequest) Execute() error

type ApiGetArtifactoryRequest

type ApiGetArtifactoryRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetArtifactoryRequest) Execute

func (r ApiGetArtifactoryRequest) Execute() (*Artifactory, error)

type ApiListArtifactoriesRequest

type ApiListArtifactoriesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListArtifactoriesRequest) Execute

func (ApiListArtifactoriesRequest) NextPageToken

func (r ApiListArtifactoriesRequest) NextPageToken(nextPageToken string) ApiListArtifactoriesRequest

A page token, received from a previous `ListArtifactories` call. Provide this to retrieve the subsequent page.

func (ApiListArtifactoriesRequest) PageSize

The maximum number of artifactories to return. The service may return fewer than this value.

type ApiListReplicationAdaptersRequest

type ApiListReplicationAdaptersRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListReplicationAdaptersRequest) Execute

type ApiPatchArtifactoryRequest

type ApiPatchArtifactoryRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiPatchArtifactoryRequest) Execute

func (ApiPatchArtifactoryRequest) PatchArtifactoryPayload

func (r ApiPatchArtifactoryRequest) PatchArtifactoryPayload(patchArtifactoryPayload PatchArtifactoryPayload) ApiPatchArtifactoryRequest

Patch artifactory request

type Artifactory

type Artifactory struct {
	// How many bytes of quota is consumed. Read Only.
	ConsumedQuotaBytes int64 `json:"consumed_quota_bytes"`
	// The date and time the creation of the STACKIT Artifactory was triggered.
	CreateTime time.Time `json:"create_time"`
	// A auto generated unique id which identifies the STACKIT Artifactory.
	Id string `json:"id"`
	// A user chosen name to distinguish multiple STACKIT Artifactories.
	Name  string           `json:"name"`
	Proxy *Proxy           `json:"proxy,omitempty"`
	State ArtifactoryState `json:"state"`
	// The base URL of the STACKIT Artifactory.
	Url                  string `json:"url"`
	AdditionalProperties map[string]interface{}
}

Artifactory Artifactory Information.

func NewArtifactory

func NewArtifactory(consumedQuotaBytes int64, createTime time.Time, id string, name string, state ArtifactoryState, url string) *Artifactory

NewArtifactory instantiates a new Artifactory 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 NewArtifactoryWithDefaults

func NewArtifactoryWithDefaults() *Artifactory

NewArtifactoryWithDefaults instantiates a new Artifactory 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 (*Artifactory) GetConsumedQuotaBytes

func (o *Artifactory) GetConsumedQuotaBytes() int64

GetConsumedQuotaBytes returns the ConsumedQuotaBytes field value

func (*Artifactory) GetConsumedQuotaBytesOk

func (o *Artifactory) GetConsumedQuotaBytesOk() (*int64, bool)

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

func (*Artifactory) GetCreateTime

func (o *Artifactory) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field value

func (*Artifactory) GetCreateTimeOk

func (o *Artifactory) GetCreateTimeOk() (*time.Time, bool)

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

func (*Artifactory) GetId

func (o *Artifactory) GetId() string

GetId returns the Id field value

func (*Artifactory) GetIdOk

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

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

func (*Artifactory) GetName

func (o *Artifactory) GetName() string

GetName returns the Name field value

func (*Artifactory) GetNameOk

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

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

func (*Artifactory) GetProxy

func (o *Artifactory) GetProxy() Proxy

GetProxy returns the Proxy field value if set, zero value otherwise.

func (*Artifactory) GetProxyOk

func (o *Artifactory) GetProxyOk() (*Proxy, bool)

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

func (*Artifactory) GetState

func (o *Artifactory) GetState() ArtifactoryState

GetState returns the State field value

func (*Artifactory) GetStateOk

func (o *Artifactory) GetStateOk() (*ArtifactoryState, bool)

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

func (*Artifactory) GetUrl

func (o *Artifactory) GetUrl() string

GetUrl returns the Url field value

func (*Artifactory) GetUrlOk

func (o *Artifactory) GetUrlOk() (*string, bool)

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

func (*Artifactory) HasProxy

func (o *Artifactory) HasProxy() bool

HasProxy returns a boolean if a field has been set.

func (Artifactory) MarshalJSON

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

func (*Artifactory) SetConsumedQuotaBytes

func (o *Artifactory) SetConsumedQuotaBytes(v int64)

SetConsumedQuotaBytes sets field value

func (*Artifactory) SetCreateTime

func (o *Artifactory) SetCreateTime(v time.Time)

SetCreateTime sets field value

func (*Artifactory) SetId

func (o *Artifactory) SetId(v string)

SetId sets field value

func (*Artifactory) SetName

func (o *Artifactory) SetName(v string)

SetName sets field value

func (*Artifactory) SetProxy

func (o *Artifactory) SetProxy(v Proxy)

SetProxy gets a reference to the given Proxy and assigns it to the Proxy field.

func (*Artifactory) SetState

func (o *Artifactory) SetState(v ArtifactoryState)

SetState sets field value

func (*Artifactory) SetUrl

func (o *Artifactory) SetUrl(v string)

SetUrl sets field value

func (Artifactory) ToMap

func (o Artifactory) ToMap() (map[string]interface{}, error)

func (*Artifactory) UnmarshalJSON

func (o *Artifactory) UnmarshalJSON(data []byte) (err error)

type ArtifactoryList

type ArtifactoryList struct {
	Artifactories []Artifactory `json:"artifactories"`
	// A token to retrieve the next page of results. Pass this value as `page_token` in the subsequent request. If empty, there are no more pages.
	NextPageToken        *string `json:"next_page_token,omitempty"`
	AdditionalProperties map[string]interface{}
}

ArtifactoryList A list of artifactories inside a STACKIT project.

func NewArtifactoryList

func NewArtifactoryList(artifactories []Artifactory) *ArtifactoryList

NewArtifactoryList instantiates a new ArtifactoryList 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 NewArtifactoryListWithDefaults

func NewArtifactoryListWithDefaults() *ArtifactoryList

NewArtifactoryListWithDefaults instantiates a new ArtifactoryList 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 (*ArtifactoryList) GetArtifactories

func (o *ArtifactoryList) GetArtifactories() []Artifactory

GetArtifactories returns the Artifactories field value

func (*ArtifactoryList) GetArtifactoriesOk

func (o *ArtifactoryList) GetArtifactoriesOk() ([]Artifactory, bool)

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

func (*ArtifactoryList) GetNextPageToken

func (o *ArtifactoryList) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ArtifactoryList) GetNextPageTokenOk

func (o *ArtifactoryList) GetNextPageTokenOk() (*string, bool)

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

func (*ArtifactoryList) HasNextPageToken

func (o *ArtifactoryList) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (ArtifactoryList) MarshalJSON

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

func (*ArtifactoryList) SetArtifactories

func (o *ArtifactoryList) SetArtifactories(v []Artifactory)

SetArtifactories sets field value

func (*ArtifactoryList) SetNextPageToken

func (o *ArtifactoryList) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

func (ArtifactoryList) ToMap

func (o ArtifactoryList) ToMap() (map[string]interface{}, error)

func (*ArtifactoryList) UnmarshalJSON

func (o *ArtifactoryList) UnmarshalJSON(data []byte) (err error)

type ArtifactoryState

type ArtifactoryState string

ArtifactoryState The current state of the STACKIT Artifactory.

const (
	ARTIFACTORYSTATE_RECONCILING              ArtifactoryState = "Reconciling"
	ARTIFACTORYSTATE_ACTIVE                   ArtifactoryState = "Active"
	ARTIFACTORYSTATE_DELETED                  ArtifactoryState = "Deleted"
	ARTIFACTORYSTATE_ERROR                    ArtifactoryState = "Error"
	ARTIFACTORYSTATE_UNKNOWN_DEFAULT_OPEN_API ArtifactoryState = "unknown_default_open_api"
)

List of Artifactory_state

func NewArtifactoryStateFromValue

func NewArtifactoryStateFromValue(v string) (*ArtifactoryState, error)

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

func (ArtifactoryState) IsValid

func (v ArtifactoryState) IsValid() bool

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

func (ArtifactoryState) Ptr

Ptr returns reference to Artifactory_state value

func (*ArtifactoryState) UnmarshalJSON

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

type BadRequestErrorResponse

type BadRequestErrorResponse struct {
	Error                *string `json:"error,omitempty"`
	Message              string  `json:"message"`
	AdditionalProperties map[string]interface{}
}

BadRequestErrorResponse 400 Error Response.

func NewBadRequestErrorResponse

func NewBadRequestErrorResponse(message string) *BadRequestErrorResponse

NewBadRequestErrorResponse instantiates a new BadRequestErrorResponse 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 NewBadRequestErrorResponseWithDefaults

func NewBadRequestErrorResponseWithDefaults() *BadRequestErrorResponse

NewBadRequestErrorResponseWithDefaults instantiates a new BadRequestErrorResponse 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 (*BadRequestErrorResponse) GetError

func (o *BadRequestErrorResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*BadRequestErrorResponse) GetErrorOk

func (o *BadRequestErrorResponse) GetErrorOk() (*string, bool)

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

func (*BadRequestErrorResponse) GetMessage

func (o *BadRequestErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*BadRequestErrorResponse) GetMessageOk

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

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

func (*BadRequestErrorResponse) HasError

func (o *BadRequestErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (BadRequestErrorResponse) MarshalJSON

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

func (*BadRequestErrorResponse) SetError

func (o *BadRequestErrorResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*BadRequestErrorResponse) SetMessage

func (o *BadRequestErrorResponse) SetMessage(v string)

SetMessage sets field value

func (BadRequestErrorResponse) ToMap

func (o BadRequestErrorResponse) ToMap() (map[string]interface{}, error)

func (*BadRequestErrorResponse) UnmarshalJSON

func (o *BadRequestErrorResponse) UnmarshalJSON(data []byte) (err error)

type ConflictErrorResponse

type ConflictErrorResponse struct {
	Error                *string `json:"error,omitempty"`
	Message              string  `json:"message"`
	AdditionalProperties map[string]interface{}
}

ConflictErrorResponse 409 Error Response.

func NewConflictErrorResponse

func NewConflictErrorResponse(message string) *ConflictErrorResponse

NewConflictErrorResponse instantiates a new ConflictErrorResponse 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 NewConflictErrorResponseWithDefaults

func NewConflictErrorResponseWithDefaults() *ConflictErrorResponse

NewConflictErrorResponseWithDefaults instantiates a new ConflictErrorResponse 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 (*ConflictErrorResponse) GetError

func (o *ConflictErrorResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ConflictErrorResponse) GetErrorOk

func (o *ConflictErrorResponse) GetErrorOk() (*string, bool)

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

func (*ConflictErrorResponse) GetMessage

func (o *ConflictErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*ConflictErrorResponse) GetMessageOk

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

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

func (*ConflictErrorResponse) HasError

func (o *ConflictErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (ConflictErrorResponse) MarshalJSON

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

func (*ConflictErrorResponse) SetError

func (o *ConflictErrorResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ConflictErrorResponse) SetMessage

func (o *ConflictErrorResponse) SetMessage(v string)

SetMessage sets field value

func (ConflictErrorResponse) ToMap

func (o ConflictErrorResponse) ToMap() (map[string]interface{}, error)

func (*ConflictErrorResponse) UnmarshalJSON

func (o *ConflictErrorResponse) UnmarshalJSON(data []byte) (err error)

type CreateArtifactoryPayload

type CreateArtifactoryPayload struct {
	// A user chosen name to distinguish multiple STACKIT Artifactories.
	Name string `json:"name" validate:"regexp=^[a-z0-9]+(?:[._-][a-z0-9]+)*$"`
	// If proxy configuration is provided, this project will be created as a proxy-cache for the upstream registry.
	Proxy                *CreateProxyRequest `json:"proxy,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateArtifactoryPayload CreateArtifactory request data.

func NewCreateArtifactoryPayload

func NewCreateArtifactoryPayload(name string) *CreateArtifactoryPayload

NewCreateArtifactoryPayload instantiates a new CreateArtifactoryPayload 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 NewCreateArtifactoryPayloadWithDefaults

func NewCreateArtifactoryPayloadWithDefaults() *CreateArtifactoryPayload

NewCreateArtifactoryPayloadWithDefaults instantiates a new CreateArtifactoryPayload 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 (*CreateArtifactoryPayload) GetName

func (o *CreateArtifactoryPayload) GetName() string

GetName returns the Name field value

func (*CreateArtifactoryPayload) GetNameOk

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

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

func (*CreateArtifactoryPayload) GetProxy

GetProxy returns the Proxy field value if set, zero value otherwise.

func (*CreateArtifactoryPayload) GetProxyOk

func (o *CreateArtifactoryPayload) GetProxyOk() (*CreateProxyRequest, bool)

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

func (*CreateArtifactoryPayload) HasProxy

func (o *CreateArtifactoryPayload) HasProxy() bool

HasProxy returns a boolean if a field has been set.

func (CreateArtifactoryPayload) MarshalJSON

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

func (*CreateArtifactoryPayload) SetName

func (o *CreateArtifactoryPayload) SetName(v string)

SetName sets field value

func (*CreateArtifactoryPayload) SetProxy

SetProxy gets a reference to the given CreateProxyRequest and assigns it to the Proxy field.

func (CreateArtifactoryPayload) ToMap

func (o CreateArtifactoryPayload) ToMap() (map[string]interface{}, error)

func (*CreateArtifactoryPayload) UnmarshalJSON

func (o *CreateArtifactoryPayload) UnmarshalJSON(data []byte) (err error)

type CreateProxyRequest

type CreateProxyRequest struct {
	Credentials *Credentials `json:"credentials,omitempty"`
	// Description of the registry.
	Description *string `json:"description,omitempty"`
	// Which replication adapter to use for this registry. Discover the list of supported replication adapters, and therefore supported registry types, by calling GET /v1/projects/{projectId}/regions/{regionId}/replication/adapters
	RegistryType string `json:"registry_type"`
	// Upstream registry url to proxy
	Url                  string `json:"url"`
	AdditionalProperties map[string]interface{}
}

CreateProxyRequest Provide an upstream repository this project is a proxy for

func NewCreateProxyRequest

func NewCreateProxyRequest(registryType string, url string) *CreateProxyRequest

NewCreateProxyRequest instantiates a new CreateProxyRequest 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 NewCreateProxyRequestWithDefaults

func NewCreateProxyRequestWithDefaults() *CreateProxyRequest

NewCreateProxyRequestWithDefaults instantiates a new CreateProxyRequest 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 (*CreateProxyRequest) GetCredentials

func (o *CreateProxyRequest) GetCredentials() Credentials

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*CreateProxyRequest) GetCredentialsOk

func (o *CreateProxyRequest) GetCredentialsOk() (*Credentials, bool)

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

func (*CreateProxyRequest) GetDescription

func (o *CreateProxyRequest) GetDescription() string

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

func (*CreateProxyRequest) GetDescriptionOk

func (o *CreateProxyRequest) 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 (*CreateProxyRequest) GetRegistryType

func (o *CreateProxyRequest) GetRegistryType() string

GetRegistryType returns the RegistryType field value

func (*CreateProxyRequest) GetRegistryTypeOk

func (o *CreateProxyRequest) GetRegistryTypeOk() (*string, bool)

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

func (*CreateProxyRequest) GetUrl

func (o *CreateProxyRequest) GetUrl() string

GetUrl returns the Url field value

func (*CreateProxyRequest) GetUrlOk

func (o *CreateProxyRequest) GetUrlOk() (*string, bool)

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

func (*CreateProxyRequest) HasCredentials

func (o *CreateProxyRequest) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*CreateProxyRequest) HasDescription

func (o *CreateProxyRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateProxyRequest) MarshalJSON

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

func (*CreateProxyRequest) SetCredentials

func (o *CreateProxyRequest) SetCredentials(v Credentials)

SetCredentials gets a reference to the given Credentials and assigns it to the Credentials field.

func (*CreateProxyRequest) SetDescription

func (o *CreateProxyRequest) SetDescription(v string)

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

func (*CreateProxyRequest) SetRegistryType

func (o *CreateProxyRequest) SetRegistryType(v string)

SetRegistryType sets field value

func (*CreateProxyRequest) SetUrl

func (o *CreateProxyRequest) SetUrl(v string)

SetUrl sets field value

func (CreateProxyRequest) ToMap

func (o CreateProxyRequest) ToMap() (map[string]interface{}, error)

func (*CreateProxyRequest) UnmarshalJSON

func (o *CreateProxyRequest) UnmarshalJSON(data []byte) (err error)

type Credentials

type Credentials struct {
	AccessKey            string `json:"access_key"`
	AccessSecret         string `json:"access_secret"`
	AdditionalProperties map[string]interface{}
}

Credentials Credentials for upstream registry

func NewCredentials

func NewCredentials(accessKey string, accessSecret string) *Credentials

NewCredentials instantiates a new Credentials 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 NewCredentialsWithDefaults

func NewCredentialsWithDefaults() *Credentials

NewCredentialsWithDefaults instantiates a new Credentials 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 (*Credentials) GetAccessKey

func (o *Credentials) GetAccessKey() string

GetAccessKey returns the AccessKey field value

func (*Credentials) GetAccessKeyOk

func (o *Credentials) GetAccessKeyOk() (*string, bool)

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

func (*Credentials) GetAccessSecret

func (o *Credentials) GetAccessSecret() string

GetAccessSecret returns the AccessSecret field value

func (*Credentials) GetAccessSecretOk

func (o *Credentials) GetAccessSecretOk() (*string, bool)

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

func (Credentials) MarshalJSON

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

func (*Credentials) SetAccessKey

func (o *Credentials) SetAccessKey(v string)

SetAccessKey sets field value

func (*Credentials) SetAccessSecret

func (o *Credentials) SetAccessSecret(v string)

SetAccessSecret sets field value

func (Credentials) ToMap

func (o Credentials) ToMap() (map[string]interface{}, error)

func (*Credentials) UnmarshalJSON

func (o *Credentials) UnmarshalJSON(data []byte) (err error)

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateArtifactory Creates an artifactory

		Creates an artifactory associated to the specified project.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@param regionId STACKIT region identification
		@return ApiCreateArtifactoryRequest
	*/
	CreateArtifactory(ctx context.Context, projectId string, regionId string) ApiCreateArtifactoryRequest

	// CreateArtifactoryExecute executes the request
	//  @return Artifactory
	CreateArtifactoryExecute(r ApiCreateArtifactoryRequest) (*Artifactory, error)

	/*
		DeleteArtifactory Delete the artifactory.

		Deletes the artifactory associated to the specified project.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@param regionId STACKIT region identification
		@param artifactoryId Artifactory identifier.
		@return ApiDeleteArtifactoryRequest
	*/
	DeleteArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiDeleteArtifactoryRequest

	// DeleteArtifactoryExecute executes the request
	DeleteArtifactoryExecute(r ApiDeleteArtifactoryRequest) error

	/*
		GetArtifactory Get Artifactory information.

		Retrieves information about a STACKIT Artifactory.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@param regionId STACKIT region identification
		@param artifactoryId Artifactory identifier.
		@return ApiGetArtifactoryRequest
	*/
	GetArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiGetArtifactoryRequest

	// GetArtifactoryExecute executes the request
	//  @return Artifactory
	GetArtifactoryExecute(r ApiGetArtifactoryRequest) (*Artifactory, error)

	/*
		ListArtifactories List artifactories inside a STACKIT project

		Lists all artifactories associated to the specified project.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@param regionId STACKIT region identification
		@return ApiListArtifactoriesRequest
	*/
	ListArtifactories(ctx context.Context, projectId string, regionId string) ApiListArtifactoriesRequest

	// ListArtifactoriesExecute executes the request
	//  @return ArtifactoryList
	ListArtifactoriesExecute(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)

	/*
		ListReplicationAdapters Method for ListReplicationAdapters

		List available adapters for replication to/from other registries


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@param regionId STACKIT region identification
		@return ApiListReplicationAdaptersRequest
	*/
	ListReplicationAdapters(ctx context.Context, projectId string, regionId string) ApiListReplicationAdaptersRequest

	// ListReplicationAdaptersExecute executes the request
	//  @return ReplicationAdapterList
	ListReplicationAdaptersExecute(r ApiListReplicationAdaptersRequest) (*ReplicationAdapterList, error)

	/*
		PatchArtifactory Method for PatchArtifactory

		Update Artifactory

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project identifier.
		@param regionId STACKIT region identification
		@param artifactoryId Artifactory identifier.
		@return ApiPatchArtifactoryRequest
	*/
	PatchArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiPatchArtifactoryRequest

	// PatchArtifactoryExecute executes the request
	//  @return Artifactory
	PatchArtifactoryExecute(r ApiPatchArtifactoryRequest) (*Artifactory, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateArtifactory

func (a *DefaultAPIService) CreateArtifactory(ctx context.Context, projectId string, regionId string) ApiCreateArtifactoryRequest

CreateArtifactory Creates an artifactory

Creates an artifactory associated to the specified project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@return ApiCreateArtifactoryRequest

func (*DefaultAPIService) CreateArtifactoryExecute

func (a *DefaultAPIService) CreateArtifactoryExecute(r ApiCreateArtifactoryRequest) (*Artifactory, error)

Execute executes the request

@return Artifactory

func (*DefaultAPIService) DeleteArtifactory

func (a *DefaultAPIService) DeleteArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiDeleteArtifactoryRequest

DeleteArtifactory Delete the artifactory.

Deletes the artifactory associated to the specified project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@param artifactoryId Artifactory identifier.
@return ApiDeleteArtifactoryRequest

func (*DefaultAPIService) DeleteArtifactoryExecute

func (a *DefaultAPIService) DeleteArtifactoryExecute(r ApiDeleteArtifactoryRequest) error

Execute executes the request

func (*DefaultAPIService) GetArtifactory

func (a *DefaultAPIService) GetArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiGetArtifactoryRequest

GetArtifactory Get Artifactory information.

Retrieves information about a STACKIT Artifactory.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@param artifactoryId Artifactory identifier.
@return ApiGetArtifactoryRequest

func (*DefaultAPIService) GetArtifactoryExecute

func (a *DefaultAPIService) GetArtifactoryExecute(r ApiGetArtifactoryRequest) (*Artifactory, error)

Execute executes the request

@return Artifactory

func (*DefaultAPIService) ListArtifactories

func (a *DefaultAPIService) ListArtifactories(ctx context.Context, projectId string, regionId string) ApiListArtifactoriesRequest

ListArtifactories List artifactories inside a STACKIT project

Lists all artifactories associated to the specified project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@return ApiListArtifactoriesRequest

func (*DefaultAPIService) ListArtifactoriesExecute

func (a *DefaultAPIService) ListArtifactoriesExecute(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)

Execute executes the request

@return ArtifactoryList

func (*DefaultAPIService) ListReplicationAdapters

func (a *DefaultAPIService) ListReplicationAdapters(ctx context.Context, projectId string, regionId string) ApiListReplicationAdaptersRequest

ListReplicationAdapters Method for ListReplicationAdapters

List available adapters for replication to/from other registries

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@return ApiListReplicationAdaptersRequest

func (*DefaultAPIService) ListReplicationAdaptersExecute

func (a *DefaultAPIService) ListReplicationAdaptersExecute(r ApiListReplicationAdaptersRequest) (*ReplicationAdapterList, error)

Execute executes the request

@return ReplicationAdapterList

func (*DefaultAPIService) PatchArtifactory

func (a *DefaultAPIService) PatchArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiPatchArtifactoryRequest

PatchArtifactory Method for PatchArtifactory

Update Artifactory

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param regionId STACKIT region identification
@param artifactoryId Artifactory identifier.
@return ApiPatchArtifactoryRequest

func (*DefaultAPIService) PatchArtifactoryExecute

func (a *DefaultAPIService) PatchArtifactoryExecute(r ApiPatchArtifactoryRequest) (*Artifactory, error)

Execute executes the request

@return Artifactory

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateArtifactoryExecuteMock can be populated to implement the behavior of the CreateArtifactoryExecute function of this mock
	CreateArtifactoryExecuteMock *func(r ApiCreateArtifactoryRequest) (*Artifactory, error)
	// DeleteArtifactoryExecuteMock can be populated to implement the behavior of the DeleteArtifactoryExecute function of this mock
	DeleteArtifactoryExecuteMock *func(r ApiDeleteArtifactoryRequest) error
	// GetArtifactoryExecuteMock can be populated to implement the behavior of the GetArtifactoryExecute function of this mock
	GetArtifactoryExecuteMock *func(r ApiGetArtifactoryRequest) (*Artifactory, error)
	// ListArtifactoriesExecuteMock can be populated to implement the behavior of the ListArtifactoriesExecute function of this mock
	ListArtifactoriesExecuteMock *func(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)
	// ListReplicationAdaptersExecuteMock can be populated to implement the behavior of the ListReplicationAdaptersExecute function of this mock
	ListReplicationAdaptersExecuteMock *func(r ApiListReplicationAdaptersRequest) (*ReplicationAdapterList, error)
	// PatchArtifactoryExecuteMock can be populated to implement the behavior of the PatchArtifactoryExecute function of this mock
	PatchArtifactoryExecuteMock *func(r ApiPatchArtifactoryRequest) (*Artifactory, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateArtifactory

func (a DefaultAPIServiceMock) CreateArtifactory(ctx context.Context, projectId string, regionId string) ApiCreateArtifactoryRequest

func (DefaultAPIServiceMock) CreateArtifactoryExecute

func (a DefaultAPIServiceMock) CreateArtifactoryExecute(r ApiCreateArtifactoryRequest) (*Artifactory, error)

CreateArtifactoryExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateArtifactoryExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteArtifactory

func (a DefaultAPIServiceMock) DeleteArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiDeleteArtifactoryRequest

func (DefaultAPIServiceMock) DeleteArtifactoryExecute

func (a DefaultAPIServiceMock) DeleteArtifactoryExecute(r ApiDeleteArtifactoryRequest) error

DeleteArtifactoryExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteArtifactoryExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetArtifactory

func (a DefaultAPIServiceMock) GetArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiGetArtifactoryRequest

func (DefaultAPIServiceMock) GetArtifactoryExecute

func (a DefaultAPIServiceMock) GetArtifactoryExecute(r ApiGetArtifactoryRequest) (*Artifactory, error)

GetArtifactoryExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetArtifactoryExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListArtifactories

func (a DefaultAPIServiceMock) ListArtifactories(ctx context.Context, projectId string, regionId string) ApiListArtifactoriesRequest

func (DefaultAPIServiceMock) ListArtifactoriesExecute

func (a DefaultAPIServiceMock) ListArtifactoriesExecute(r ApiListArtifactoriesRequest) (*ArtifactoryList, error)

ListArtifactoriesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListArtifactoriesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListReplicationAdapters

func (a DefaultAPIServiceMock) ListReplicationAdapters(ctx context.Context, projectId string, regionId string) ApiListReplicationAdaptersRequest

func (DefaultAPIServiceMock) ListReplicationAdaptersExecute

ListReplicationAdaptersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListReplicationAdaptersExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PatchArtifactory

func (a DefaultAPIServiceMock) PatchArtifactory(ctx context.Context, projectId string, regionId string, artifactoryId string) ApiPatchArtifactoryRequest

func (DefaultAPIServiceMock) PatchArtifactoryExecute

func (a DefaultAPIServiceMock) PatchArtifactoryExecute(r ApiPatchArtifactoryRequest) (*Artifactory, error)

PatchArtifactoryExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PatchArtifactoryExecuteMock field in the DefaultAPIServiceMock struct.

type ForbiddenErrorResponse

type ForbiddenErrorResponse struct {
	Error                *string    `json:"error,omitempty"`
	Message              string     `json:"message"`
	Path                 *string    `json:"path,omitempty"`
	Status               *int64     `json:"status,omitempty"`
	Timestamp            *time.Time `json:"timestamp,omitempty"`
	AdditionalProperties map[string]interface{}
}

ForbiddenErrorResponse Forbidden Error Response.

func NewForbiddenErrorResponse

func NewForbiddenErrorResponse(message string) *ForbiddenErrorResponse

NewForbiddenErrorResponse instantiates a new ForbiddenErrorResponse 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 NewForbiddenErrorResponseWithDefaults

func NewForbiddenErrorResponseWithDefaults() *ForbiddenErrorResponse

NewForbiddenErrorResponseWithDefaults instantiates a new ForbiddenErrorResponse 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 (*ForbiddenErrorResponse) GetError

func (o *ForbiddenErrorResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ForbiddenErrorResponse) GetErrorOk

func (o *ForbiddenErrorResponse) GetErrorOk() (*string, bool)

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

func (*ForbiddenErrorResponse) GetMessage

func (o *ForbiddenErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*ForbiddenErrorResponse) GetMessageOk

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

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

func (*ForbiddenErrorResponse) GetPath

func (o *ForbiddenErrorResponse) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*ForbiddenErrorResponse) GetPathOk

func (o *ForbiddenErrorResponse) GetPathOk() (*string, bool)

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

func (*ForbiddenErrorResponse) GetStatus

func (o *ForbiddenErrorResponse) GetStatus() int64

GetStatus returns the Status field value if set, zero value otherwise.

func (*ForbiddenErrorResponse) GetStatusOk

func (o *ForbiddenErrorResponse) GetStatusOk() (*int64, bool)

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

func (*ForbiddenErrorResponse) GetTimestamp

func (o *ForbiddenErrorResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*ForbiddenErrorResponse) GetTimestampOk

func (o *ForbiddenErrorResponse) GetTimestampOk() (*time.Time, bool)

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

func (*ForbiddenErrorResponse) HasError

func (o *ForbiddenErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*ForbiddenErrorResponse) HasPath

func (o *ForbiddenErrorResponse) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*ForbiddenErrorResponse) HasStatus

func (o *ForbiddenErrorResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ForbiddenErrorResponse) HasTimestamp

func (o *ForbiddenErrorResponse) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (ForbiddenErrorResponse) MarshalJSON

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

func (*ForbiddenErrorResponse) SetError

func (o *ForbiddenErrorResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ForbiddenErrorResponse) SetMessage

func (o *ForbiddenErrorResponse) SetMessage(v string)

SetMessage sets field value

func (*ForbiddenErrorResponse) SetPath

func (o *ForbiddenErrorResponse) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*ForbiddenErrorResponse) SetStatus

func (o *ForbiddenErrorResponse) SetStatus(v int64)

SetStatus gets a reference to the given int64 and assigns it to the Status field.

func (*ForbiddenErrorResponse) SetTimestamp

func (o *ForbiddenErrorResponse) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (ForbiddenErrorResponse) ToMap

func (o ForbiddenErrorResponse) ToMap() (map[string]interface{}, error)

func (*ForbiddenErrorResponse) UnmarshalJSON

func (o *ForbiddenErrorResponse) UnmarshalJSON(data []byte) (err error)

type GenericErrorResponse

type GenericErrorResponse struct {
	Details              []string `json:"details,omitempty"`
	Message              string   `json:"message"`
	AdditionalProperties map[string]interface{}
}

GenericErrorResponse Generic Error Response.

func NewGenericErrorResponse

func NewGenericErrorResponse(message string) *GenericErrorResponse

NewGenericErrorResponse instantiates a new GenericErrorResponse 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 NewGenericErrorResponseWithDefaults

func NewGenericErrorResponseWithDefaults() *GenericErrorResponse

NewGenericErrorResponseWithDefaults instantiates a new GenericErrorResponse 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 (*GenericErrorResponse) GetDetails

func (o *GenericErrorResponse) GetDetails() []string

GetDetails returns the Details field value if set, zero value otherwise.

func (*GenericErrorResponse) GetDetailsOk

func (o *GenericErrorResponse) GetDetailsOk() ([]string, bool)

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

func (*GenericErrorResponse) GetMessage

func (o *GenericErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*GenericErrorResponse) GetMessageOk

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

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

func (*GenericErrorResponse) HasDetails

func (o *GenericErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (GenericErrorResponse) MarshalJSON

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

func (*GenericErrorResponse) SetDetails

func (o *GenericErrorResponse) SetDetails(v []string)

SetDetails gets a reference to the given []string and assigns it to the Details field.

func (*GenericErrorResponse) SetMessage

func (o *GenericErrorResponse) SetMessage(v string)

SetMessage sets field value

func (GenericErrorResponse) ToMap

func (o GenericErrorResponse) ToMap() (map[string]interface{}, error)

func (*GenericErrorResponse) UnmarshalJSON

func (o *GenericErrorResponse) UnmarshalJSON(data []byte) (err error)

type InternalServerErrorResponse

type InternalServerErrorResponse struct {
	Details              *string `json:"details,omitempty"`
	Error                *string `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

InternalServerErrorResponse Internal server error.

func NewInternalServerErrorResponse

func NewInternalServerErrorResponse() *InternalServerErrorResponse

NewInternalServerErrorResponse instantiates a new InternalServerErrorResponse 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 NewInternalServerErrorResponseWithDefaults

func NewInternalServerErrorResponseWithDefaults() *InternalServerErrorResponse

NewInternalServerErrorResponseWithDefaults instantiates a new InternalServerErrorResponse 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 (*InternalServerErrorResponse) GetDetails

func (o *InternalServerErrorResponse) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*InternalServerErrorResponse) GetDetailsOk

func (o *InternalServerErrorResponse) GetDetailsOk() (*string, bool)

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

func (*InternalServerErrorResponse) GetError

func (o *InternalServerErrorResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*InternalServerErrorResponse) GetErrorOk

func (o *InternalServerErrorResponse) GetErrorOk() (*string, bool)

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

func (*InternalServerErrorResponse) HasDetails

func (o *InternalServerErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*InternalServerErrorResponse) HasError

func (o *InternalServerErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (InternalServerErrorResponse) MarshalJSON

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

func (*InternalServerErrorResponse) SetDetails

func (o *InternalServerErrorResponse) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*InternalServerErrorResponse) SetError

func (o *InternalServerErrorResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (InternalServerErrorResponse) ToMap

func (o InternalServerErrorResponse) ToMap() (map[string]interface{}, error)

func (*InternalServerErrorResponse) UnmarshalJSON

func (o *InternalServerErrorResponse) UnmarshalJSON(data []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NotFoundErrorResponse

type NotFoundErrorResponse struct {
	Error                *string `json:"error,omitempty"`
	Message              string  `json:"message"`
	AdditionalProperties map[string]interface{}
}

NotFoundErrorResponse 404 Error Response.

func NewNotFoundErrorResponse

func NewNotFoundErrorResponse(message string) *NotFoundErrorResponse

NewNotFoundErrorResponse instantiates a new NotFoundErrorResponse 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 NewNotFoundErrorResponseWithDefaults

func NewNotFoundErrorResponseWithDefaults() *NotFoundErrorResponse

NewNotFoundErrorResponseWithDefaults instantiates a new NotFoundErrorResponse 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 (*NotFoundErrorResponse) GetError

func (o *NotFoundErrorResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*NotFoundErrorResponse) GetErrorOk

func (o *NotFoundErrorResponse) GetErrorOk() (*string, bool)

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

func (*NotFoundErrorResponse) GetMessage

func (o *NotFoundErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*NotFoundErrorResponse) GetMessageOk

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

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

func (*NotFoundErrorResponse) HasError

func (o *NotFoundErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (NotFoundErrorResponse) MarshalJSON

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

func (*NotFoundErrorResponse) SetError

func (o *NotFoundErrorResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*NotFoundErrorResponse) SetMessage

func (o *NotFoundErrorResponse) SetMessage(v string)

SetMessage sets field value

func (NotFoundErrorResponse) ToMap

func (o NotFoundErrorResponse) ToMap() (map[string]interface{}, error)

func (*NotFoundErrorResponse) UnmarshalJSON

func (o *NotFoundErrorResponse) UnmarshalJSON(data []byte) (err error)

type NullableArtifactory

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

func NewNullableArtifactory

func NewNullableArtifactory(val *Artifactory) *NullableArtifactory

func (NullableArtifactory) Get

func (NullableArtifactory) IsSet

func (v NullableArtifactory) IsSet() bool

func (NullableArtifactory) MarshalJSON

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

func (*NullableArtifactory) Set

func (v *NullableArtifactory) Set(val *Artifactory)

func (*NullableArtifactory) UnmarshalJSON

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

func (*NullableArtifactory) Unset

func (v *NullableArtifactory) Unset()

type NullableArtifactoryList

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

func NewNullableArtifactoryList

func NewNullableArtifactoryList(val *ArtifactoryList) *NullableArtifactoryList

func (NullableArtifactoryList) Get

func (NullableArtifactoryList) IsSet

func (v NullableArtifactoryList) IsSet() bool

func (NullableArtifactoryList) MarshalJSON

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

func (*NullableArtifactoryList) Set

func (*NullableArtifactoryList) UnmarshalJSON

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

func (*NullableArtifactoryList) Unset

func (v *NullableArtifactoryList) Unset()

type NullableArtifactoryState

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

func NewNullableArtifactoryState

func NewNullableArtifactoryState(val *ArtifactoryState) *NullableArtifactoryState

func (NullableArtifactoryState) Get

func (NullableArtifactoryState) IsSet

func (v NullableArtifactoryState) IsSet() bool

func (NullableArtifactoryState) MarshalJSON

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

func (*NullableArtifactoryState) Set

func (*NullableArtifactoryState) UnmarshalJSON

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

func (*NullableArtifactoryState) Unset

func (v *NullableArtifactoryState) Unset()

type NullableBadRequestErrorResponse

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

func (NullableBadRequestErrorResponse) Get

func (NullableBadRequestErrorResponse) IsSet

func (NullableBadRequestErrorResponse) MarshalJSON

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

func (*NullableBadRequestErrorResponse) Set

func (*NullableBadRequestErrorResponse) UnmarshalJSON

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

func (*NullableBadRequestErrorResponse) 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 NullableConflictErrorResponse

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

func (NullableConflictErrorResponse) Get

func (NullableConflictErrorResponse) IsSet

func (NullableConflictErrorResponse) MarshalJSON

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

func (*NullableConflictErrorResponse) Set

func (*NullableConflictErrorResponse) UnmarshalJSON

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

func (*NullableConflictErrorResponse) Unset

func (v *NullableConflictErrorResponse) Unset()

type NullableCreateArtifactoryPayload

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

func (NullableCreateArtifactoryPayload) Get

func (NullableCreateArtifactoryPayload) IsSet

func (NullableCreateArtifactoryPayload) MarshalJSON

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

func (*NullableCreateArtifactoryPayload) Set

func (*NullableCreateArtifactoryPayload) UnmarshalJSON

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

func (*NullableCreateArtifactoryPayload) Unset

type NullableCreateProxyRequest

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

func NewNullableCreateProxyRequest

func NewNullableCreateProxyRequest(val *CreateProxyRequest) *NullableCreateProxyRequest

func (NullableCreateProxyRequest) Get

func (NullableCreateProxyRequest) IsSet

func (v NullableCreateProxyRequest) IsSet() bool

func (NullableCreateProxyRequest) MarshalJSON

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

func (*NullableCreateProxyRequest) Set

func (*NullableCreateProxyRequest) UnmarshalJSON

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

func (*NullableCreateProxyRequest) Unset

func (v *NullableCreateProxyRequest) Unset()

type NullableCredentials

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

func NewNullableCredentials

func NewNullableCredentials(val *Credentials) *NullableCredentials

func (NullableCredentials) Get

func (NullableCredentials) IsSet

func (v NullableCredentials) IsSet() bool

func (NullableCredentials) MarshalJSON

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

func (*NullableCredentials) Set

func (v *NullableCredentials) Set(val *Credentials)

func (*NullableCredentials) UnmarshalJSON

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

func (*NullableCredentials) Unset

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

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

func (NullableForbiddenErrorResponse) Get

func (NullableForbiddenErrorResponse) IsSet

func (NullableForbiddenErrorResponse) MarshalJSON

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

func (*NullableForbiddenErrorResponse) Set

func (*NullableForbiddenErrorResponse) UnmarshalJSON

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

func (*NullableForbiddenErrorResponse) Unset

func (v *NullableForbiddenErrorResponse) Unset()

type NullableGenericErrorResponse

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

func NewNullableGenericErrorResponse

func NewNullableGenericErrorResponse(val *GenericErrorResponse) *NullableGenericErrorResponse

func (NullableGenericErrorResponse) Get

func (NullableGenericErrorResponse) IsSet

func (NullableGenericErrorResponse) MarshalJSON

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

func (*NullableGenericErrorResponse) Set

func (*NullableGenericErrorResponse) UnmarshalJSON

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

func (*NullableGenericErrorResponse) Unset

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

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

func (NullableInternalServerErrorResponse) Get

func (NullableInternalServerErrorResponse) IsSet

func (NullableInternalServerErrorResponse) MarshalJSON

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

func (*NullableInternalServerErrorResponse) Set

func (*NullableInternalServerErrorResponse) UnmarshalJSON

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

func (*NullableInternalServerErrorResponse) Unset

type NullableNotFoundErrorResponse

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

func (NullableNotFoundErrorResponse) Get

func (NullableNotFoundErrorResponse) IsSet

func (NullableNotFoundErrorResponse) MarshalJSON

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

func (*NullableNotFoundErrorResponse) Set

func (*NullableNotFoundErrorResponse) UnmarshalJSON

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

func (*NullableNotFoundErrorResponse) Unset

func (v *NullableNotFoundErrorResponse) Unset()

type NullablePatchArtifactoryPayload

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

func (NullablePatchArtifactoryPayload) Get

func (NullablePatchArtifactoryPayload) IsSet

func (NullablePatchArtifactoryPayload) MarshalJSON

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

func (*NullablePatchArtifactoryPayload) Set

func (*NullablePatchArtifactoryPayload) UnmarshalJSON

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

func (*NullablePatchArtifactoryPayload) Unset

type NullableProxy

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

func NewNullableProxy

func NewNullableProxy(val *Proxy) *NullableProxy

func (NullableProxy) Get

func (v NullableProxy) Get() *Proxy

func (NullableProxy) IsSet

func (v NullableProxy) IsSet() bool

func (NullableProxy) MarshalJSON

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

func (*NullableProxy) Set

func (v *NullableProxy) Set(val *Proxy)

func (*NullableProxy) UnmarshalJSON

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

func (*NullableProxy) Unset

func (v *NullableProxy) Unset()

type NullableRedactedCredentials

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

func NewNullableRedactedCredentials

func NewNullableRedactedCredentials(val *RedactedCredentials) *NullableRedactedCredentials

func (NullableRedactedCredentials) Get

func (NullableRedactedCredentials) IsSet

func (NullableRedactedCredentials) MarshalJSON

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

func (*NullableRedactedCredentials) Set

func (*NullableRedactedCredentials) UnmarshalJSON

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

func (*NullableRedactedCredentials) Unset

func (v *NullableRedactedCredentials) Unset()

type NullableReplicationAdapter

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

func NewNullableReplicationAdapter

func NewNullableReplicationAdapter(val *ReplicationAdapter) *NullableReplicationAdapter

func (NullableReplicationAdapter) Get

func (NullableReplicationAdapter) IsSet

func (v NullableReplicationAdapter) IsSet() bool

func (NullableReplicationAdapter) MarshalJSON

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

func (*NullableReplicationAdapter) Set

func (*NullableReplicationAdapter) UnmarshalJSON

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

func (*NullableReplicationAdapter) Unset

func (v *NullableReplicationAdapter) Unset()

type NullableReplicationAdapterCredentialType

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

func (NullableReplicationAdapterCredentialType) Get

func (NullableReplicationAdapterCredentialType) IsSet

func (NullableReplicationAdapterCredentialType) MarshalJSON

func (*NullableReplicationAdapterCredentialType) Set

func (*NullableReplicationAdapterCredentialType) UnmarshalJSON

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

func (*NullableReplicationAdapterCredentialType) Unset

type NullableReplicationAdapterList

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

func (NullableReplicationAdapterList) Get

func (NullableReplicationAdapterList) IsSet

func (NullableReplicationAdapterList) MarshalJSON

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

func (*NullableReplicationAdapterList) Set

func (*NullableReplicationAdapterList) UnmarshalJSON

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

func (*NullableReplicationAdapterList) Unset

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

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

func (NullableUnauthorizedErrorResponse) Get

func (NullableUnauthorizedErrorResponse) IsSet

func (NullableUnauthorizedErrorResponse) MarshalJSON

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

func (*NullableUnauthorizedErrorResponse) Set

func (*NullableUnauthorizedErrorResponse) UnmarshalJSON

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

func (*NullableUnauthorizedErrorResponse) Unset

type NullableUpdateProxyRequest

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

func NewNullableUpdateProxyRequest

func NewNullableUpdateProxyRequest(val *UpdateProxyRequest) *NullableUpdateProxyRequest

func (NullableUpdateProxyRequest) Get

func (NullableUpdateProxyRequest) IsSet

func (v NullableUpdateProxyRequest) IsSet() bool

func (NullableUpdateProxyRequest) MarshalJSON

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

func (*NullableUpdateProxyRequest) Set

func (*NullableUpdateProxyRequest) UnmarshalJSON

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

func (*NullableUpdateProxyRequest) Unset

func (v *NullableUpdateProxyRequest) Unset()

type PatchArtifactoryPayload

type PatchArtifactoryPayload struct {
	Proxy                *UpdateProxyRequest `json:"proxy,omitempty"`
	AdditionalProperties map[string]interface{}
}

PatchArtifactoryPayload Patch artifactory request

func NewPatchArtifactoryPayload

func NewPatchArtifactoryPayload() *PatchArtifactoryPayload

NewPatchArtifactoryPayload instantiates a new PatchArtifactoryPayload 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 NewPatchArtifactoryPayloadWithDefaults

func NewPatchArtifactoryPayloadWithDefaults() *PatchArtifactoryPayload

NewPatchArtifactoryPayloadWithDefaults instantiates a new PatchArtifactoryPayload 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 (*PatchArtifactoryPayload) GetProxy

GetProxy returns the Proxy field value if set, zero value otherwise.

func (*PatchArtifactoryPayload) GetProxyOk

func (o *PatchArtifactoryPayload) GetProxyOk() (*UpdateProxyRequest, bool)

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

func (*PatchArtifactoryPayload) HasProxy

func (o *PatchArtifactoryPayload) HasProxy() bool

HasProxy returns a boolean if a field has been set.

func (PatchArtifactoryPayload) MarshalJSON

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

func (*PatchArtifactoryPayload) SetProxy

SetProxy gets a reference to the given UpdateProxyRequest and assigns it to the Proxy field.

func (PatchArtifactoryPayload) ToMap

func (o PatchArtifactoryPayload) ToMap() (map[string]interface{}, error)

func (*PatchArtifactoryPayload) UnmarshalJSON

func (o *PatchArtifactoryPayload) UnmarshalJSON(data []byte) (err error)

type Proxy

type Proxy struct {
	Credentials *RedactedCredentials `json:"credentials,omitempty"`
	// Description of the registry.
	Description *string `json:"description,omitempty"`
	// Which replication adapter to use for this registry. Discover the list of supported replication adapters, and therefore supported registry types, by calling GET /v1/projects/{projectId}/regions/{regionId}/replication/adapters
	RegistryType string `json:"registry_type"`
	// Upstream registry url to proxy
	Url                  string `json:"url"`
	AdditionalProperties map[string]interface{}
}

Proxy Replication settings for a proxy-cache artifactory

func NewProxy

func NewProxy(registryType string, url string) *Proxy

NewProxy instantiates a new Proxy 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 NewProxyWithDefaults

func NewProxyWithDefaults() *Proxy

NewProxyWithDefaults instantiates a new Proxy 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 (*Proxy) GetCredentials

func (o *Proxy) GetCredentials() RedactedCredentials

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*Proxy) GetCredentialsOk

func (o *Proxy) GetCredentialsOk() (*RedactedCredentials, bool)

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

func (*Proxy) GetDescription

func (o *Proxy) GetDescription() string

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

func (*Proxy) GetDescriptionOk

func (o *Proxy) 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 (*Proxy) GetRegistryType

func (o *Proxy) GetRegistryType() string

GetRegistryType returns the RegistryType field value

func (*Proxy) GetRegistryTypeOk

func (o *Proxy) GetRegistryTypeOk() (*string, bool)

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

func (*Proxy) GetUrl

func (o *Proxy) GetUrl() string

GetUrl returns the Url field value

func (*Proxy) GetUrlOk

func (o *Proxy) GetUrlOk() (*string, bool)

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

func (*Proxy) HasCredentials

func (o *Proxy) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*Proxy) HasDescription

func (o *Proxy) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (Proxy) MarshalJSON

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

func (*Proxy) SetCredentials

func (o *Proxy) SetCredentials(v RedactedCredentials)

SetCredentials gets a reference to the given RedactedCredentials and assigns it to the Credentials field.

func (*Proxy) SetDescription

func (o *Proxy) SetDescription(v string)

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

func (*Proxy) SetRegistryType

func (o *Proxy) SetRegistryType(v string)

SetRegistryType sets field value

func (*Proxy) SetUrl

func (o *Proxy) SetUrl(v string)

SetUrl sets field value

func (Proxy) ToMap

func (o Proxy) ToMap() (map[string]interface{}, error)

func (*Proxy) UnmarshalJSON

func (o *Proxy) UnmarshalJSON(data []byte) (err error)

type RedactedCredentials

type RedactedCredentials struct {
	AccessKey            string `json:"access_key"`
	AdditionalProperties map[string]interface{}
}

RedactedCredentials Credentials for upstream registry, redacted

func NewRedactedCredentials

func NewRedactedCredentials(accessKey string) *RedactedCredentials

NewRedactedCredentials instantiates a new RedactedCredentials 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 NewRedactedCredentialsWithDefaults

func NewRedactedCredentialsWithDefaults() *RedactedCredentials

NewRedactedCredentialsWithDefaults instantiates a new RedactedCredentials 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 (*RedactedCredentials) GetAccessKey

func (o *RedactedCredentials) GetAccessKey() string

GetAccessKey returns the AccessKey field value

func (*RedactedCredentials) GetAccessKeyOk

func (o *RedactedCredentials) GetAccessKeyOk() (*string, bool)

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

func (RedactedCredentials) MarshalJSON

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

func (*RedactedCredentials) SetAccessKey

func (o *RedactedCredentials) SetAccessKey(v string)

SetAccessKey sets field value

func (RedactedCredentials) ToMap

func (o RedactedCredentials) ToMap() (map[string]interface{}, error)

func (*RedactedCredentials) UnmarshalJSON

func (o *RedactedCredentials) UnmarshalJSON(data []byte) (err error)

type ReplicationAdapter

type ReplicationAdapter struct {
	CredentialType ReplicationAdapterCredentialType `json:"credential_type"`
	// Human-friendly name of the provider the adapter relates to.
	DisplayName string `json:"display_name"`
	// Identifies the replication adapter
	RegistryType         string `json:"registry_type"`
	AdditionalProperties map[string]interface{}
}

ReplicationAdapter struct for ReplicationAdapter

func NewReplicationAdapter

func NewReplicationAdapter(credentialType ReplicationAdapterCredentialType, displayName string, registryType string) *ReplicationAdapter

NewReplicationAdapter instantiates a new ReplicationAdapter 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 NewReplicationAdapterWithDefaults

func NewReplicationAdapterWithDefaults() *ReplicationAdapter

NewReplicationAdapterWithDefaults instantiates a new ReplicationAdapter 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 (*ReplicationAdapter) GetCredentialType

GetCredentialType returns the CredentialType field value

func (*ReplicationAdapter) GetCredentialTypeOk

func (o *ReplicationAdapter) GetCredentialTypeOk() (*ReplicationAdapterCredentialType, bool)

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

func (*ReplicationAdapter) GetDisplayName

func (o *ReplicationAdapter) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*ReplicationAdapter) GetDisplayNameOk

func (o *ReplicationAdapter) GetDisplayNameOk() (*string, bool)

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

func (*ReplicationAdapter) GetRegistryType

func (o *ReplicationAdapter) GetRegistryType() string

GetRegistryType returns the RegistryType field value

func (*ReplicationAdapter) GetRegistryTypeOk

func (o *ReplicationAdapter) GetRegistryTypeOk() (*string, bool)

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

func (ReplicationAdapter) MarshalJSON

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

func (*ReplicationAdapter) SetCredentialType

func (o *ReplicationAdapter) SetCredentialType(v ReplicationAdapterCredentialType)

SetCredentialType sets field value

func (*ReplicationAdapter) SetDisplayName

func (o *ReplicationAdapter) SetDisplayName(v string)

SetDisplayName sets field value

func (*ReplicationAdapter) SetRegistryType

func (o *ReplicationAdapter) SetRegistryType(v string)

SetRegistryType sets field value

func (ReplicationAdapter) ToMap

func (o ReplicationAdapter) ToMap() (map[string]interface{}, error)

func (*ReplicationAdapter) UnmarshalJSON

func (o *ReplicationAdapter) UnmarshalJSON(data []byte) (err error)

type ReplicationAdapterCredentialType

type ReplicationAdapterCredentialType string

ReplicationAdapterCredentialType User-hint for what type of credentials are expected for replication adapter type. Values are one of `basic` for username/password, `oauth` for token based access, and `secret` for json-secret file.

const (
	REPLICATIONADAPTERCREDENTIALTYPE_BASIC                    ReplicationAdapterCredentialType = "basic"
	REPLICATIONADAPTERCREDENTIALTYPE_OAUTH                    ReplicationAdapterCredentialType = "oauth"
	REPLICATIONADAPTERCREDENTIALTYPE_SECRET                   ReplicationAdapterCredentialType = "secret"
	REPLICATIONADAPTERCREDENTIALTYPE_UNKNOWN_DEFAULT_OPEN_API ReplicationAdapterCredentialType = "unknown_default_open_api"
)

List of ReplicationAdapter_credential_type

func NewReplicationAdapterCredentialTypeFromValue

func NewReplicationAdapterCredentialTypeFromValue(v string) (*ReplicationAdapterCredentialType, error)

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

func (ReplicationAdapterCredentialType) IsValid

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

func (ReplicationAdapterCredentialType) Ptr

Ptr returns reference to ReplicationAdapter_credential_type value

func (*ReplicationAdapterCredentialType) UnmarshalJSON

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

type ReplicationAdapterList

type ReplicationAdapterList struct {
	// A token to retrieve the next page of results. Pass this value as `page_token` in the subsequent request. If empty, there are no more pages.
	NextPageToken        *string              `json:"next_page_token,omitempty"`
	ReplicationAdapters  []ReplicationAdapter `json:"replication_adapters"`
	AdditionalProperties map[string]interface{}
}

ReplicationAdapterList A list of replication adapters

func NewReplicationAdapterList

func NewReplicationAdapterList(replicationAdapters []ReplicationAdapter) *ReplicationAdapterList

NewReplicationAdapterList instantiates a new ReplicationAdapterList 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 NewReplicationAdapterListWithDefaults

func NewReplicationAdapterListWithDefaults() *ReplicationAdapterList

NewReplicationAdapterListWithDefaults instantiates a new ReplicationAdapterList 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 (*ReplicationAdapterList) GetNextPageToken

func (o *ReplicationAdapterList) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ReplicationAdapterList) GetNextPageTokenOk

func (o *ReplicationAdapterList) GetNextPageTokenOk() (*string, bool)

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

func (*ReplicationAdapterList) GetReplicationAdapters

func (o *ReplicationAdapterList) GetReplicationAdapters() []ReplicationAdapter

GetReplicationAdapters returns the ReplicationAdapters field value

func (*ReplicationAdapterList) GetReplicationAdaptersOk

func (o *ReplicationAdapterList) GetReplicationAdaptersOk() ([]ReplicationAdapter, bool)

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

func (*ReplicationAdapterList) HasNextPageToken

func (o *ReplicationAdapterList) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (ReplicationAdapterList) MarshalJSON

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

func (*ReplicationAdapterList) SetNextPageToken

func (o *ReplicationAdapterList) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

func (*ReplicationAdapterList) SetReplicationAdapters

func (o *ReplicationAdapterList) SetReplicationAdapters(v []ReplicationAdapter)

SetReplicationAdapters sets field value

func (ReplicationAdapterList) ToMap

func (o ReplicationAdapterList) ToMap() (map[string]interface{}, error)

func (*ReplicationAdapterList) UnmarshalJSON

func (o *ReplicationAdapterList) UnmarshalJSON(data []byte) (err error)

type UnauthorizedErrorResponse

type UnauthorizedErrorResponse struct {
	Error                *string    `json:"error,omitempty"`
	Message              string     `json:"message"`
	Path                 *string    `json:"path,omitempty"`
	Status               *int64     `json:"status,omitempty"`
	Timestamp            *time.Time `json:"timestamp,omitempty"`
	AdditionalProperties map[string]interface{}
}

UnauthorizedErrorResponse Unauthorized Error Response.

func NewUnauthorizedErrorResponse

func NewUnauthorizedErrorResponse(message string) *UnauthorizedErrorResponse

NewUnauthorizedErrorResponse instantiates a new UnauthorizedErrorResponse 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 NewUnauthorizedErrorResponseWithDefaults

func NewUnauthorizedErrorResponseWithDefaults() *UnauthorizedErrorResponse

NewUnauthorizedErrorResponseWithDefaults instantiates a new UnauthorizedErrorResponse 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 (*UnauthorizedErrorResponse) GetError

func (o *UnauthorizedErrorResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*UnauthorizedErrorResponse) GetErrorOk

func (o *UnauthorizedErrorResponse) GetErrorOk() (*string, bool)

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

func (*UnauthorizedErrorResponse) GetMessage

func (o *UnauthorizedErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*UnauthorizedErrorResponse) GetMessageOk

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

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

func (*UnauthorizedErrorResponse) GetPath

func (o *UnauthorizedErrorResponse) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*UnauthorizedErrorResponse) GetPathOk

func (o *UnauthorizedErrorResponse) GetPathOk() (*string, bool)

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

func (*UnauthorizedErrorResponse) GetStatus

func (o *UnauthorizedErrorResponse) GetStatus() int64

GetStatus returns the Status field value if set, zero value otherwise.

func (*UnauthorizedErrorResponse) GetStatusOk

func (o *UnauthorizedErrorResponse) GetStatusOk() (*int64, bool)

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

func (*UnauthorizedErrorResponse) GetTimestamp

func (o *UnauthorizedErrorResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*UnauthorizedErrorResponse) GetTimestampOk

func (o *UnauthorizedErrorResponse) GetTimestampOk() (*time.Time, bool)

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

func (*UnauthorizedErrorResponse) HasError

func (o *UnauthorizedErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*UnauthorizedErrorResponse) HasPath

func (o *UnauthorizedErrorResponse) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*UnauthorizedErrorResponse) HasStatus

func (o *UnauthorizedErrorResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UnauthorizedErrorResponse) HasTimestamp

func (o *UnauthorizedErrorResponse) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (UnauthorizedErrorResponse) MarshalJSON

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

func (*UnauthorizedErrorResponse) SetError

func (o *UnauthorizedErrorResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*UnauthorizedErrorResponse) SetMessage

func (o *UnauthorizedErrorResponse) SetMessage(v string)

SetMessage sets field value

func (*UnauthorizedErrorResponse) SetPath

func (o *UnauthorizedErrorResponse) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*UnauthorizedErrorResponse) SetStatus

func (o *UnauthorizedErrorResponse) SetStatus(v int64)

SetStatus gets a reference to the given int64 and assigns it to the Status field.

func (*UnauthorizedErrorResponse) SetTimestamp

func (o *UnauthorizedErrorResponse) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (UnauthorizedErrorResponse) ToMap

func (o UnauthorizedErrorResponse) ToMap() (map[string]interface{}, error)

func (*UnauthorizedErrorResponse) UnmarshalJSON

func (o *UnauthorizedErrorResponse) UnmarshalJSON(data []byte) (err error)

type UpdateProxyRequest

type UpdateProxyRequest struct {
	Credentials *Credentials `json:"credentials,omitempty"`
	// Description of the registry.
	Description *string `json:"description,omitempty"`
	// Upstream registry url to proxy
	Url                  *string `json:"url,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateProxyRequest Update an upstream repository for a proxy-cache project

func NewUpdateProxyRequest

func NewUpdateProxyRequest() *UpdateProxyRequest

NewUpdateProxyRequest instantiates a new UpdateProxyRequest 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 NewUpdateProxyRequestWithDefaults

func NewUpdateProxyRequestWithDefaults() *UpdateProxyRequest

NewUpdateProxyRequestWithDefaults instantiates a new UpdateProxyRequest 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 (*UpdateProxyRequest) GetCredentials

func (o *UpdateProxyRequest) GetCredentials() Credentials

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*UpdateProxyRequest) GetCredentialsOk

func (o *UpdateProxyRequest) GetCredentialsOk() (*Credentials, bool)

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

func (*UpdateProxyRequest) GetDescription

func (o *UpdateProxyRequest) GetDescription() string

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

func (*UpdateProxyRequest) GetDescriptionOk

func (o *UpdateProxyRequest) 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 (*UpdateProxyRequest) GetUrl

func (o *UpdateProxyRequest) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*UpdateProxyRequest) GetUrlOk

func (o *UpdateProxyRequest) GetUrlOk() (*string, bool)

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

func (*UpdateProxyRequest) HasCredentials

func (o *UpdateProxyRequest) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*UpdateProxyRequest) HasDescription

func (o *UpdateProxyRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateProxyRequest) HasUrl

func (o *UpdateProxyRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (UpdateProxyRequest) MarshalJSON

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

func (*UpdateProxyRequest) SetCredentials

func (o *UpdateProxyRequest) SetCredentials(v Credentials)

SetCredentials gets a reference to the given Credentials and assigns it to the Credentials field.

func (*UpdateProxyRequest) SetDescription

func (o *UpdateProxyRequest) SetDescription(v string)

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

func (*UpdateProxyRequest) SetUrl

func (o *UpdateProxyRequest) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (UpdateProxyRequest) ToMap

func (o UpdateProxyRequest) ToMap() (map[string]interface{}, error)

func (*UpdateProxyRequest) UnmarshalJSON

func (o *UpdateProxyRequest) UnmarshalJSON(data []byte) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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