ionoscloud

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 26 Imported by: 10

README

Go API client for ionoscloud

Overview

Container Registry service enables IONOS clients to manage docker and OCI compliant registries for use by their managed Kubernetes clusters. Use a Container Registry to ensure you have a privately accessed registry to efficiently support image pulls.

Changelog

1.1.0
  • Added new endpoints for Repositories
  • Added new endpoints for Artifacts
  • Added new endpoints for Vulnerabilities
  • Added registry vulnerabilityScanning feature

Overview

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

  • API version: 1.1.0
  • Package version: 1.1.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import ionoscloud "github.com/ionos-cloud/sdk-go-container-registry"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

Documentation for API Endpoints

All URIs are relative to https://api.ionos.com/containerregistries

Class Method HTTP request Description
ArtifactsApi RegistriesArtifactsGet Get /registries/{registryId}/artifacts Retrieve all Artifacts by Registry
ArtifactsApi RegistriesRepositoriesArtifactsFindByDigest Get /registries/{registryId}/repositories/{repositoryName}/artifacts/{digest} Retrieve Artifact
ArtifactsApi RegistriesRepositoriesArtifactsGet Get /registries/{registryId}/repositories/{repositoryName}/artifacts Retrieve all Artifacts by Repository
ArtifactsApi RegistriesRepositoriesArtifactsVulnerabilitiesGet Get /registries/{registryId}/repositories/{repositoryName}/artifacts/{digest}/vulnerabilities Retrieve all Vulnerabilities
LocationsApi LocationsGet Get /locations Get container registry locations
NamesApi NamesCheckUsage Head /names/{name} Get container registry name availability
RegistriesApi RegistriesDelete Delete /registries/{registryId} Delete registry
RegistriesApi RegistriesFindById Get /registries/{registryId} Get a registry
RegistriesApi RegistriesGet Get /registries List all container registries
RegistriesApi RegistriesPatch Patch /registries/{registryId} Update the properties of a registry
RegistriesApi RegistriesPost Post /registries Create container registry
RegistriesApi RegistriesPut Put /registries/{registryId} Create or replace a container registry
RepositoriesApi RegistriesRepositoriesDelete Delete /registries/{registryId}/repositories/{repositoryName} Delete repository
RepositoriesApi RegistriesRepositoriesFindByName Get /registries/{registryId}/repositories/{repositoryName} Retrieve Repository
RepositoriesApi RegistriesRepositoriesGet Get /registries/{registryId}/repositories Retrieve all Repositories
TokensApi RegistriesTokensDelete Delete /registries/{registryId}/tokens/{tokenId} Delete token
TokensApi RegistriesTokensFindById Get /registries/{registryId}/tokens/{tokenId} Get token information
TokensApi RegistriesTokensGet Get /registries/{registryId}/tokens List all tokens for the container registry
TokensApi RegistriesTokensPatch Patch /registries/{registryId}/tokens/{tokenId} Update token
TokensApi RegistriesTokensPost Post /registries/{registryId}/tokens Create token
TokensApi RegistriesTokensPut Put /registries/{registryId}/tokens/{tokenId} Create or replace token
VulnerabilitiesApi VulnerabilitiesFindByID Get /vulnerabilities/{vulnerabilityId} Retrieve Vulnerability

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

basicAuth
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)
tokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

support@cloud.ionos.com

Documentation

Index

Constants

View Source
const (
	RequestStatusQueued  = "QUEUED"
	RequestStatusRunning = "RUNNING"
	RequestStatusFailed  = "FAILED"
	RequestStatusDone    = "DONE"

	Version = "1.1.0"
)
View Source
const (
	IonosUsernameEnvVar   = "IONOS_USERNAME"
	IonosPasswordEnvVar   = "IONOS_PASSWORD"
	IonosTokenEnvVar      = "IONOS_TOKEN"
	IonosApiUrlEnvVar     = "IONOS_API_URL"
	IonosPinnedCertEnvVar = "IONOS_PINNED_CERT"
	IonosLogLevelEnvVar   = "IONOS_LOG_LEVEL"
	DefaultIonosServerUrl = "https://api.ionos.com/containerregistries"
	DefaultIonosBasePath  = "/containerregistries"
)

Variables

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

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

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

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

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

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var LogLevelMap = map[string]LogLevel{
	"off":   Off,
	"debug": Debug,
	"trace": Trace,
}

Functions

func AddPinnedCert

func AddPinnedCert(transport *http.Transport, pkFingerprint string)

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport

func CacheExpires

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

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

func IsNil added in v1.0.1

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool - returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 - returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 - returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt - returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 - returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 - returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString - returns a pointer to given string value.

func PtrTime

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

PtrTime - returns a pointer to given Time value.

func SliceToValueDefault added in v1.0.1

func SliceToValueDefault[T any](ptrSlice *[]T) []T

func ToBool

func ToBool(ptr *bool) bool

ToBool - returns the value of the bool pointer passed in

func ToBoolDefault

func ToBoolDefault(ptr *bool) bool

ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil

func ToBoolSlice

func ToBoolSlice(ptrSlice *[]bool) []bool

ToBoolSlice - returns a bool slice of the pointer passed in

func ToByte

func ToByte(ptr *byte) byte

ToByte - returns the value of the byte pointer passed in

func ToByteDefault

func ToByteDefault(ptr *byte) byte

ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil

func ToByteSlice

func ToByteSlice(ptrSlice *[]byte) []byte

ToByteSlice - returns a byte slice of the pointer passed in

func ToFloat32

func ToFloat32(ptr *float32) float32

ToFloat32 - returns the value of the float32 pointer passed in

func ToFloat32Default

func ToFloat32Default(ptr *float32) float32

ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil

func ToFloat32Slice

func ToFloat32Slice(ptrSlice *[]float32) []float32

ToFloat32Slice - returns a float32 slice of the pointer passed in

func ToFloat64

func ToFloat64(ptr *float64) float64

ToFloat64 - returns the value of the float64 pointer passed in

func ToFloat64Default

func ToFloat64Default(ptr *float64) float64

ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil

func ToFloat64Slice

func ToFloat64Slice(ptrSlice *[]float64) []float64

ToFloat64Slice - returns a float64 slice of the pointer passed in

func ToInt

func ToInt(ptr *int) int

ToInt - returns the value of the int pointer passed in

func ToInt16

func ToInt16(ptr *int16) int16

ToInt16 - returns the value of the int16 pointer passed in

func ToInt16Default

func ToInt16Default(ptr *int16) int16

ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil

func ToInt16Slice

func ToInt16Slice(ptrSlice *[]int16) []int16

ToInt16Slice - returns a int16 slice of the pointer passed in

func ToInt32

func ToInt32(ptr *int32) int32

ToInt32 - returns the value of the int32 pointer passed in

func ToInt32Default

func ToInt32Default(ptr *int32) int32

ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil

func ToInt32Slice

func ToInt32Slice(ptrSlice *[]int32) []int32

ToInt32Slice - returns a int32 slice of the pointer passed in

func ToInt64

func ToInt64(ptr *int64) int64

ToInt64 - returns the value of the int64 pointer passed in

func ToInt64Default

func ToInt64Default(ptr *int64) int64

ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil

func ToInt64Slice

func ToInt64Slice(ptrSlice *[]int64) []int64

ToInt64Slice - returns a int64 slice of the pointer passed in

func ToInt8

func ToInt8(ptr *int8) int8

ToInt8 - returns the value of the int8 pointer passed in

func ToInt8Default

func ToInt8Default(ptr *int8) int8

ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil

func ToInt8Slice

func ToInt8Slice(ptrSlice *[]int8) []int8

ToInt8Slice - returns a int8 slice of the pointer passed in

func ToIntDefault

func ToIntDefault(ptr *int) int

ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil

func ToIntSlice

func ToIntSlice(ptrSlice *[]int) []int

ToIntSlice - returns a int slice of the pointer passed in

func ToPtr added in v1.0.1

func ToPtr[T any](v T) *T

ToPtr - returns a pointer to the given value.

func ToString

func ToString(ptr *string) string

ToString - returns the value of the string pointer passed in

func ToStringDefault

func ToStringDefault(ptr *string) string

ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil

func ToStringSlice

func ToStringSlice(ptrSlice *[]string) []string

ToStringSlice - returns a string slice of the pointer passed in

func ToTime

func ToTime(ptr *time.Time) time.Time

ToTime - returns the value of the Time pointer passed in

func ToTimeDefault

func ToTimeDefault(ptr *time.Time) time.Time

ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil

func ToTimeSlice

func ToTimeSlice(ptrSlice *[]time.Time) []time.Time

ToTimeSlice - returns a Time slice of the pointer passed in

func ToUint

func ToUint(ptr *uint) uint

ToUint - returns the value of the uint pointer passed in

func ToUint16

func ToUint16(ptr *uint16) uint16

ToUint16 - returns the value of the uint16 pointer passed in

func ToUint16Default

func ToUint16Default(ptr *uint16) uint16

ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil

func ToUint16Slice

func ToUint16Slice(ptrSlice *[]uint16) []uint16

ToUint16Slice - returns a uint16 slice of the pointer passed in

func ToUint32

func ToUint32(ptr *uint32) uint32

ToUint32 - returns the value of the uint32 pointer passed in

func ToUint32Default

func ToUint32Default(ptr *uint32) uint32

ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil

func ToUint32Slice

func ToUint32Slice(ptrSlice *[]uint32) []uint32

ToUint32Slice - returns a uint32 slice of the pointer passed in

func ToUint64

func ToUint64(ptr *uint64) uint64

ToUint64 - returns the value of the uint64 pointer passed in

func ToUint64Default

func ToUint64Default(ptr *uint64) uint64

ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil

func ToUint64Slice

func ToUint64Slice(ptrSlice *[]uint64) []uint64

ToUint64Slice - returns a uint63 slice of the pointer passed in

func ToUint8

func ToUint8(ptr *uint8) uint8

ToUint8 -returns the value of the uint8 pointer passed in

func ToUint8Default

func ToUint8Default(ptr *uint8) uint8

ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil

func ToUint8Slice

func ToUint8Slice(ptrSlice *[]uint8) []uint8

ToUint8Slice - returns a uint8 slice of the pointer passed in

func ToUintDefault

func ToUintDefault(ptr *uint) uint

ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil

func ToUintSlice

func ToUintSlice(ptrSlice *[]uint) []uint

ToUintSlice - returns a uint slice of the pointer passed in

func ToValue added in v1.0.1

func ToValue[T any](ptr *T) T

ToValue - returns the value of the pointer passed in

func ToValueDefault added in v1.0.1

func ToValueDefault[T any](ptr *T) T

ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil

Types

type APIClient

type APIClient struct {
	ArtifactsApi *ArtifactsApiService

	LocationsApi *LocationsApiService

	NamesApi *NamesApiService

	RegistriesApi *RegistriesApiService

	RepositoriesApi *RepositoriesApiService

	TokensApi *TokensApiService

	VulnerabilitiesApi *VulnerabilitiesApiService
	// contains filtered or unexported fields
}

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

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// RequestTime is the time duration from the moment the APIClient sends
	// the HTTP request to the moment it receives an HTTP response.
	RequestTime time.Duration `json:"duration,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.

func (*APIResponse) HttpNotFound

func (resp *APIResponse) HttpNotFound() bool

HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values

func (*APIResponse) LogInfo

func (resp *APIResponse) LogInfo()

LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values

type ApiErrorMessage

type ApiErrorMessage struct {
	ErrorCode *string `json:"errorCode"`
	Message   *string `json:"message"`
}

ApiErrorMessage struct for ApiErrorMessage

func NewApiErrorMessage

func NewApiErrorMessage(errorCode string, message string) *ApiErrorMessage

NewApiErrorMessage instantiates a new ApiErrorMessage 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 NewApiErrorMessageWithDefaults

func NewApiErrorMessageWithDefaults() *ApiErrorMessage

NewApiErrorMessageWithDefaults instantiates a new ApiErrorMessage 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 (*ApiErrorMessage) GetErrorCode

func (o *ApiErrorMessage) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ApiErrorMessage) GetErrorCodeOk

func (o *ApiErrorMessage) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiErrorMessage) GetMessage

func (o *ApiErrorMessage) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ApiErrorMessage) GetMessageOk

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

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiErrorMessage) HasErrorCode

func (o *ApiErrorMessage) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ApiErrorMessage) HasMessage

func (o *ApiErrorMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ApiErrorMessage) MarshalJSON

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

func (*ApiErrorMessage) SetErrorCode

func (o *ApiErrorMessage) SetErrorCode(v string)

SetErrorCode sets field value

func (*ApiErrorMessage) SetMessage

func (o *ApiErrorMessage) SetMessage(v string)

SetMessage sets field value

type ApiErrorResponse

type ApiErrorResponse struct {
	HttpStatus *int32             `json:"httpStatus"`
	Messages   *[]ApiErrorMessage `json:"messages"`
}

ApiErrorResponse struct for ApiErrorResponse

func NewApiErrorResponse

func NewApiErrorResponse(httpStatus int32, messages []ApiErrorMessage) *ApiErrorResponse

NewApiErrorResponse instantiates a new ApiErrorResponse 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 NewApiErrorResponseWithDefaults

func NewApiErrorResponseWithDefaults() *ApiErrorResponse

NewApiErrorResponseWithDefaults instantiates a new ApiErrorResponse 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 (*ApiErrorResponse) GetHttpStatus

func (o *ApiErrorResponse) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*ApiErrorResponse) GetHttpStatusOk

func (o *ApiErrorResponse) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiErrorResponse) GetMessages

func (o *ApiErrorResponse) GetMessages() *[]ApiErrorMessage

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ApiErrorMessage will be returned

func (*ApiErrorResponse) GetMessagesOk

func (o *ApiErrorResponse) GetMessagesOk() (*[]ApiErrorMessage, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiErrorResponse) HasHttpStatus

func (o *ApiErrorResponse) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*ApiErrorResponse) HasMessages

func (o *ApiErrorResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ApiErrorResponse) MarshalJSON

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

func (*ApiErrorResponse) SetHttpStatus

func (o *ApiErrorResponse) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*ApiErrorResponse) SetMessages

func (o *ApiErrorResponse) SetMessages(v []ApiErrorMessage)

SetMessages sets field value

type ApiLocationsGetRequest

type ApiLocationsGetRequest struct {
	ApiService *LocationsApiService
	// contains filtered or unexported fields
}

func (ApiLocationsGetRequest) Execute

type ApiNamesCheckUsageRequest

type ApiNamesCheckUsageRequest struct {
	ApiService *NamesApiService
	// contains filtered or unexported fields
}

func (ApiNamesCheckUsageRequest) Execute

type ApiRegistriesArtifactsGetRequest added in v1.1.0

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

func (ApiRegistriesArtifactsGetRequest) Execute added in v1.1.0

func (ApiRegistriesArtifactsGetRequest) FilterVulnerabilityId added in v1.1.0

func (r ApiRegistriesArtifactsGetRequest) FilterVulnerabilityId(filterVulnerabilityId string) ApiRegistriesArtifactsGetRequest

func (ApiRegistriesArtifactsGetRequest) Limit added in v1.1.0

func (ApiRegistriesArtifactsGetRequest) Offset added in v1.1.0

func (ApiRegistriesArtifactsGetRequest) OrderBy added in v1.1.0

type ApiRegistriesDeleteRequest

type ApiRegistriesDeleteRequest struct {
	ApiService *RegistriesApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesDeleteRequest) Execute

type ApiRegistriesFindByIdRequest

type ApiRegistriesFindByIdRequest struct {
	ApiService *RegistriesApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesFindByIdRequest) Execute

type ApiRegistriesGetRequest

type ApiRegistriesGetRequest struct {
	ApiService *RegistriesApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesGetRequest) Execute

func (ApiRegistriesGetRequest) FilterName

func (r ApiRegistriesGetRequest) FilterName(filterName string) ApiRegistriesGetRequest

func (ApiRegistriesGetRequest) Limit

func (ApiRegistriesGetRequest) PaginationToken added in v1.0.1

func (r ApiRegistriesGetRequest) PaginationToken(paginationToken string) ApiRegistriesGetRequest

type ApiRegistriesPatchRequest

type ApiRegistriesPatchRequest struct {
	ApiService *RegistriesApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesPatchRequest) Execute

func (ApiRegistriesPatchRequest) PatchRegistryInput

func (r ApiRegistriesPatchRequest) PatchRegistryInput(patchRegistryInput PatchRegistryInput) ApiRegistriesPatchRequest

type ApiRegistriesPostRequest

type ApiRegistriesPostRequest struct {
	ApiService *RegistriesApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesPostRequest) Execute

func (ApiRegistriesPostRequest) PostRegistryInput

func (r ApiRegistriesPostRequest) PostRegistryInput(postRegistryInput PostRegistryInput) ApiRegistriesPostRequest

type ApiRegistriesPutRequest

type ApiRegistriesPutRequest struct {
	ApiService *RegistriesApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesPutRequest) Execute

func (ApiRegistriesPutRequest) PutRegistryInput

func (r ApiRegistriesPutRequest) PutRegistryInput(putRegistryInput PutRegistryInput) ApiRegistriesPutRequest

type ApiRegistriesRepositoriesArtifactsFindByDigestRequest added in v1.1.0

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

func (ApiRegistriesRepositoriesArtifactsFindByDigestRequest) Execute added in v1.1.0

type ApiRegistriesRepositoriesArtifactsGetRequest added in v1.1.0

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

func (ApiRegistriesRepositoriesArtifactsGetRequest) Execute added in v1.1.0

func (ApiRegistriesRepositoriesArtifactsGetRequest) Limit added in v1.1.0

func (ApiRegistriesRepositoriesArtifactsGetRequest) Offset added in v1.1.0

func (ApiRegistriesRepositoriesArtifactsGetRequest) OrderBy added in v1.1.0

type ApiRegistriesRepositoriesArtifactsVulnerabilitiesGetRequest added in v1.1.0

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

func (ApiRegistriesRepositoriesArtifactsVulnerabilitiesGetRequest) Execute added in v1.1.0

func (ApiRegistriesRepositoriesArtifactsVulnerabilitiesGetRequest) FilterFixable added in v1.1.0

func (ApiRegistriesRepositoriesArtifactsVulnerabilitiesGetRequest) FilterSeverity added in v1.1.0

func (ApiRegistriesRepositoriesArtifactsVulnerabilitiesGetRequest) Limit added in v1.1.0

func (ApiRegistriesRepositoriesArtifactsVulnerabilitiesGetRequest) Offset added in v1.1.0

func (ApiRegistriesRepositoriesArtifactsVulnerabilitiesGetRequest) OrderBy added in v1.1.0

type ApiRegistriesRepositoriesDeleteRequest

type ApiRegistriesRepositoriesDeleteRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesRepositoriesDeleteRequest) Execute

type ApiRegistriesRepositoriesFindByNameRequest added in v1.1.0

type ApiRegistriesRepositoriesFindByNameRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesRepositoriesFindByNameRequest) Execute added in v1.1.0

type ApiRegistriesRepositoriesGetRequest added in v1.1.0

type ApiRegistriesRepositoriesGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesRepositoriesGetRequest) Execute added in v1.1.0

func (ApiRegistriesRepositoriesGetRequest) FilterName added in v1.1.0

func (ApiRegistriesRepositoriesGetRequest) FilterVulnerabilitySeverity added in v1.1.0

func (r ApiRegistriesRepositoriesGetRequest) FilterVulnerabilitySeverity(filterVulnerabilitySeverity string) ApiRegistriesRepositoriesGetRequest

func (ApiRegistriesRepositoriesGetRequest) Limit added in v1.1.0

func (ApiRegistriesRepositoriesGetRequest) Offset added in v1.1.0

func (ApiRegistriesRepositoriesGetRequest) OrderBy added in v1.1.0

type ApiRegistriesTokensDeleteRequest

type ApiRegistriesTokensDeleteRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesTokensDeleteRequest) Execute

type ApiRegistriesTokensFindByIdRequest

type ApiRegistriesTokensFindByIdRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesTokensFindByIdRequest) Execute

type ApiRegistriesTokensGetRequest

type ApiRegistriesTokensGetRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesTokensGetRequest) Execute

func (ApiRegistriesTokensGetRequest) Limit

func (ApiRegistriesTokensGetRequest) Offset

type ApiRegistriesTokensPatchRequest

type ApiRegistriesTokensPatchRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesTokensPatchRequest) Execute

func (ApiRegistriesTokensPatchRequest) PatchTokenInput

type ApiRegistriesTokensPostRequest

type ApiRegistriesTokensPostRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesTokensPostRequest) Execute

func (ApiRegistriesTokensPostRequest) PostTokenInput

type ApiRegistriesTokensPutRequest

type ApiRegistriesTokensPutRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiRegistriesTokensPutRequest) Execute

func (ApiRegistriesTokensPutRequest) PutTokenInput

type ApiResourceMetadata

type ApiResourceMetadata struct {
	CreatedBy            *string    `json:"createdBy"`
	CreatedByUserId      *string    `json:"createdByUserId"`
	CreatedDate          *IonosTime `json:"createdDate"`
	LastModifiedBy       *string    `json:"lastModifiedBy,omitempty"`
	LastModifiedByUserId *string    `json:"lastModifiedByUserId,omitempty"`
	LastModifiedDate     *IonosTime `json:"lastModifiedDate,omitempty"`
	State                *string    `json:"state"`
}

ApiResourceMetadata struct for ApiResourceMetadata

func NewApiResourceMetadata

func NewApiResourceMetadata(createdBy string, createdByUserId string, createdDate time.Time, state string) *ApiResourceMetadata

NewApiResourceMetadata instantiates a new ApiResourceMetadata 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 NewApiResourceMetadataWithDefaults

func NewApiResourceMetadataWithDefaults() *ApiResourceMetadata

NewApiResourceMetadataWithDefaults instantiates a new ApiResourceMetadata 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 (*ApiResourceMetadata) GetCreatedBy

func (o *ApiResourceMetadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*ApiResourceMetadata) GetCreatedByOk

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

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiResourceMetadata) GetCreatedByUserId

func (o *ApiResourceMetadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*ApiResourceMetadata) GetCreatedByUserIdOk

func (o *ApiResourceMetadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiResourceMetadata) GetCreatedDate

func (o *ApiResourceMetadata) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ApiResourceMetadata) GetCreatedDateOk

func (o *ApiResourceMetadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiResourceMetadata) GetLastModifiedBy

func (o *ApiResourceMetadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*ApiResourceMetadata) GetLastModifiedByOk

func (o *ApiResourceMetadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiResourceMetadata) GetLastModifiedByUserId

func (o *ApiResourceMetadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*ApiResourceMetadata) GetLastModifiedByUserIdOk

func (o *ApiResourceMetadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiResourceMetadata) GetLastModifiedDate

func (o *ApiResourceMetadata) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ApiResourceMetadata) GetLastModifiedDateOk

func (o *ApiResourceMetadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiResourceMetadata) GetState

func (o *ApiResourceMetadata) GetState() *string

GetState returns the State field value If the value is explicit nil, the zero value for string will be returned

func (*ApiResourceMetadata) GetStateOk

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

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ApiResourceMetadata) HasCreatedBy

func (o *ApiResourceMetadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*ApiResourceMetadata) HasCreatedByUserId

func (o *ApiResourceMetadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*ApiResourceMetadata) HasCreatedDate

func (o *ApiResourceMetadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*ApiResourceMetadata) HasLastModifiedBy

func (o *ApiResourceMetadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*ApiResourceMetadata) HasLastModifiedByUserId

func (o *ApiResourceMetadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*ApiResourceMetadata) HasLastModifiedDate

func (o *ApiResourceMetadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*ApiResourceMetadata) HasState

func (o *ApiResourceMetadata) HasState() bool

HasState returns a boolean if a field has been set.

func (ApiResourceMetadata) MarshalJSON

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

func (*ApiResourceMetadata) SetCreatedBy

func (o *ApiResourceMetadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*ApiResourceMetadata) SetCreatedByUserId

func (o *ApiResourceMetadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*ApiResourceMetadata) SetCreatedDate

func (o *ApiResourceMetadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*ApiResourceMetadata) SetLastModifiedBy

func (o *ApiResourceMetadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*ApiResourceMetadata) SetLastModifiedByUserId

func (o *ApiResourceMetadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*ApiResourceMetadata) SetLastModifiedDate

func (o *ApiResourceMetadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*ApiResourceMetadata) SetState

func (o *ApiResourceMetadata) SetState(v string)

SetState sets field value

type ApiVulnerabilitiesFindByIDRequest added in v1.1.0

type ApiVulnerabilitiesFindByIDRequest struct {
	ApiService *VulnerabilitiesApiService
	// contains filtered or unexported fields
}

func (ApiVulnerabilitiesFindByIDRequest) Execute added in v1.1.0

type Artifact added in v1.1.0

type Artifact struct {
	RepositoryName *string `json:"repositoryName"`
	// The digest of the artifact
	Digest *string `json:"digest"`
	// The tags of an artifact
	Tags *[]string `json:"tags,omitempty"`
	// The media type of the artifact
	MediaType *string `json:"mediaType"`
}

Artifact struct for Artifact

func NewArtifact added in v1.1.0

func NewArtifact(repositoryName string, digest string, mediaType string) *Artifact

NewArtifact instantiates a new Artifact 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 NewArtifactWithDefaults added in v1.1.0

func NewArtifactWithDefaults() *Artifact

NewArtifactWithDefaults instantiates a new Artifact 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 (*Artifact) GetDigest added in v1.1.0

func (o *Artifact) GetDigest() *string

GetDigest returns the Digest field value If the value is explicit nil, the zero value for string will be returned

func (*Artifact) GetDigestOk added in v1.1.0

func (o *Artifact) GetDigestOk() (*string, bool)

GetDigestOk returns a tuple with the Digest field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Artifact) GetMediaType added in v1.1.0

func (o *Artifact) GetMediaType() *string

GetMediaType returns the MediaType field value If the value is explicit nil, the zero value for string will be returned

func (*Artifact) GetMediaTypeOk added in v1.1.0

func (o *Artifact) GetMediaTypeOk() (*string, bool)

GetMediaTypeOk returns a tuple with the MediaType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Artifact) GetRepositoryName added in v1.1.0

func (o *Artifact) GetRepositoryName() *string

GetRepositoryName returns the RepositoryName field value If the value is explicit nil, the zero value for string will be returned

func (*Artifact) GetRepositoryNameOk added in v1.1.0

func (o *Artifact) GetRepositoryNameOk() (*string, bool)

GetRepositoryNameOk returns a tuple with the RepositoryName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Artifact) GetTags added in v1.1.0

func (o *Artifact) GetTags() *[]string

GetTags returns the Tags field value If the value is explicit nil, the zero value for []string will be returned

func (*Artifact) GetTagsOk added in v1.1.0

func (o *Artifact) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Artifact) HasDigest added in v1.1.0

func (o *Artifact) HasDigest() bool

HasDigest returns a boolean if a field has been set.

func (*Artifact) HasMediaType added in v1.1.0

func (o *Artifact) HasMediaType() bool

HasMediaType returns a boolean if a field has been set.

func (*Artifact) HasRepositoryName added in v1.1.0

func (o *Artifact) HasRepositoryName() bool

HasRepositoryName returns a boolean if a field has been set.

func (*Artifact) HasTags added in v1.1.0

func (o *Artifact) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Artifact) MarshalJSON added in v1.1.0

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

func (*Artifact) SetDigest added in v1.1.0

func (o *Artifact) SetDigest(v string)

SetDigest sets field value

func (*Artifact) SetMediaType added in v1.1.0

func (o *Artifact) SetMediaType(v string)

SetMediaType sets field value

func (*Artifact) SetRepositoryName added in v1.1.0

func (o *Artifact) SetRepositoryName(v string)

SetRepositoryName sets field value

func (*Artifact) SetTags added in v1.1.0

func (o *Artifact) SetTags(v []string)

SetTags sets field value

type ArtifactMetadata added in v1.1.0

type ArtifactMetadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy       *string `json:"createdBy,omitempty"`
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy       *string `json:"lastModifiedBy,omitempty"`
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
	// The date and time the artifact was last pushed
	LastPushedAt *IonosTime `json:"lastPushedAt"`
	// The date and time the artifact was last pulled
	LastPulledAt *IonosTime `json:"lastPulledAt,omitempty"`
	// The date and time the artifact was last scanned
	LastScannedAt *IonosTime `json:"lastScannedAt,omitempty"`
	// The number of times the artifact was pushed
	PushCount *int64 `json:"pushCount"`
	// The number of times the artifact was pulled
	PullCount *int64 `json:"pullCount"`
	// The CVSS vulnerability severity rating
	VulnMaxSeverity *string `json:"vulnMaxSeverity,omitempty"`
	// The total CVSS score of all vulnerabilities of the artifact
	VulnTotalScore *float32 `json:"vulnTotalScore,omitempty"`
	// The total number of vulnerabilities of the artifact
	VulnTotalCount *int64 `json:"vulnTotalCount,omitempty"`
	// The number of fixable vulnerabilities of the artifact
	VulnFixableCount *int64 `json:"vulnFixableCount,omitempty"`
}

ArtifactMetadata struct for ArtifactMetadata

func NewArtifactMetadata added in v1.1.0

func NewArtifactMetadata(lastPushedAt time.Time, pushCount int64, pullCount int64) *ArtifactMetadata

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

func NewArtifactMetadataWithDefaults added in v1.1.0

func NewArtifactMetadataWithDefaults() *ArtifactMetadata

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

func (*ArtifactMetadata) GetCreatedBy added in v1.1.0

func (o *ArtifactMetadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactMetadata) GetCreatedByOk added in v1.1.0

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

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetCreatedByUserId added in v1.1.0

func (o *ArtifactMetadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactMetadata) GetCreatedByUserIdOk added in v1.1.0

func (o *ArtifactMetadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetCreatedDate added in v1.1.0

func (o *ArtifactMetadata) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ArtifactMetadata) GetCreatedDateOk added in v1.1.0

func (o *ArtifactMetadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetLastModifiedBy added in v1.1.0

func (o *ArtifactMetadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactMetadata) GetLastModifiedByOk added in v1.1.0

func (o *ArtifactMetadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetLastModifiedByUserId added in v1.1.0

func (o *ArtifactMetadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactMetadata) GetLastModifiedByUserIdOk added in v1.1.0

func (o *ArtifactMetadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetLastModifiedDate added in v1.1.0

func (o *ArtifactMetadata) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ArtifactMetadata) GetLastModifiedDateOk added in v1.1.0

func (o *ArtifactMetadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetLastPulledAt added in v1.1.0

func (o *ArtifactMetadata) GetLastPulledAt() *time.Time

GetLastPulledAt returns the LastPulledAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ArtifactMetadata) GetLastPulledAtOk added in v1.1.0

func (o *ArtifactMetadata) GetLastPulledAtOk() (*time.Time, bool)

GetLastPulledAtOk returns a tuple with the LastPulledAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetLastPushedAt added in v1.1.0

func (o *ArtifactMetadata) GetLastPushedAt() *time.Time

GetLastPushedAt returns the LastPushedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ArtifactMetadata) GetLastPushedAtOk added in v1.1.0

func (o *ArtifactMetadata) GetLastPushedAtOk() (*time.Time, bool)

GetLastPushedAtOk returns a tuple with the LastPushedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetLastScannedAt added in v1.1.0

func (o *ArtifactMetadata) GetLastScannedAt() *time.Time

GetLastScannedAt returns the LastScannedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ArtifactMetadata) GetLastScannedAtOk added in v1.1.0

func (o *ArtifactMetadata) GetLastScannedAtOk() (*time.Time, bool)

GetLastScannedAtOk returns a tuple with the LastScannedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetPullCount added in v1.1.0

func (o *ArtifactMetadata) GetPullCount() *int64

GetPullCount returns the PullCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*ArtifactMetadata) GetPullCountOk added in v1.1.0

func (o *ArtifactMetadata) GetPullCountOk() (*int64, bool)

GetPullCountOk returns a tuple with the PullCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetPushCount added in v1.1.0

func (o *ArtifactMetadata) GetPushCount() *int64

GetPushCount returns the PushCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*ArtifactMetadata) GetPushCountOk added in v1.1.0

func (o *ArtifactMetadata) GetPushCountOk() (*int64, bool)

GetPushCountOk returns a tuple with the PushCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetResourceURN added in v1.1.0

func (o *ArtifactMetadata) GetResourceURN() *string

GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactMetadata) GetResourceURNOk added in v1.1.0

func (o *ArtifactMetadata) GetResourceURNOk() (*string, bool)

GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetVulnFixableCount added in v1.1.0

func (o *ArtifactMetadata) GetVulnFixableCount() *int64

GetVulnFixableCount returns the VulnFixableCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*ArtifactMetadata) GetVulnFixableCountOk added in v1.1.0

func (o *ArtifactMetadata) GetVulnFixableCountOk() (*int64, bool)

GetVulnFixableCountOk returns a tuple with the VulnFixableCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetVulnMaxSeverity added in v1.1.0

func (o *ArtifactMetadata) GetVulnMaxSeverity() *string

GetVulnMaxSeverity returns the VulnMaxSeverity field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactMetadata) GetVulnMaxSeverityOk added in v1.1.0

func (o *ArtifactMetadata) GetVulnMaxSeverityOk() (*string, bool)

GetVulnMaxSeverityOk returns a tuple with the VulnMaxSeverity field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetVulnTotalCount added in v1.1.0

func (o *ArtifactMetadata) GetVulnTotalCount() *int64

GetVulnTotalCount returns the VulnTotalCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*ArtifactMetadata) GetVulnTotalCountOk added in v1.1.0

func (o *ArtifactMetadata) GetVulnTotalCountOk() (*int64, bool)

GetVulnTotalCountOk returns a tuple with the VulnTotalCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) GetVulnTotalScore added in v1.1.0

func (o *ArtifactMetadata) GetVulnTotalScore() *float32

GetVulnTotalScore returns the VulnTotalScore field value If the value is explicit nil, the zero value for float32 will be returned

func (*ArtifactMetadata) GetVulnTotalScoreOk added in v1.1.0

func (o *ArtifactMetadata) GetVulnTotalScoreOk() (*float32, bool)

GetVulnTotalScoreOk returns a tuple with the VulnTotalScore field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadata) HasCreatedBy added in v1.1.0

func (o *ArtifactMetadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*ArtifactMetadata) HasCreatedByUserId added in v1.1.0

func (o *ArtifactMetadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*ArtifactMetadata) HasCreatedDate added in v1.1.0

func (o *ArtifactMetadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*ArtifactMetadata) HasLastModifiedBy added in v1.1.0

func (o *ArtifactMetadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*ArtifactMetadata) HasLastModifiedByUserId added in v1.1.0

func (o *ArtifactMetadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*ArtifactMetadata) HasLastModifiedDate added in v1.1.0

func (o *ArtifactMetadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*ArtifactMetadata) HasLastPulledAt added in v1.1.0

func (o *ArtifactMetadata) HasLastPulledAt() bool

HasLastPulledAt returns a boolean if a field has been set.

func (*ArtifactMetadata) HasLastPushedAt added in v1.1.0

func (o *ArtifactMetadata) HasLastPushedAt() bool

HasLastPushedAt returns a boolean if a field has been set.

func (*ArtifactMetadata) HasLastScannedAt added in v1.1.0

func (o *ArtifactMetadata) HasLastScannedAt() bool

HasLastScannedAt returns a boolean if a field has been set.

func (*ArtifactMetadata) HasPullCount added in v1.1.0

func (o *ArtifactMetadata) HasPullCount() bool

HasPullCount returns a boolean if a field has been set.

func (*ArtifactMetadata) HasPushCount added in v1.1.0

func (o *ArtifactMetadata) HasPushCount() bool

HasPushCount returns a boolean if a field has been set.

func (*ArtifactMetadata) HasResourceURN added in v1.1.0

func (o *ArtifactMetadata) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*ArtifactMetadata) HasVulnFixableCount added in v1.1.0

func (o *ArtifactMetadata) HasVulnFixableCount() bool

HasVulnFixableCount returns a boolean if a field has been set.

func (*ArtifactMetadata) HasVulnMaxSeverity added in v1.1.0

func (o *ArtifactMetadata) HasVulnMaxSeverity() bool

HasVulnMaxSeverity returns a boolean if a field has been set.

func (*ArtifactMetadata) HasVulnTotalCount added in v1.1.0

func (o *ArtifactMetadata) HasVulnTotalCount() bool

HasVulnTotalCount returns a boolean if a field has been set.

func (*ArtifactMetadata) HasVulnTotalScore added in v1.1.0

func (o *ArtifactMetadata) HasVulnTotalScore() bool

HasVulnTotalScore returns a boolean if a field has been set.

func (ArtifactMetadata) MarshalJSON added in v1.1.0

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

func (*ArtifactMetadata) SetCreatedBy added in v1.1.0

func (o *ArtifactMetadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*ArtifactMetadata) SetCreatedByUserId added in v1.1.0

func (o *ArtifactMetadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*ArtifactMetadata) SetCreatedDate added in v1.1.0

func (o *ArtifactMetadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*ArtifactMetadata) SetLastModifiedBy added in v1.1.0

func (o *ArtifactMetadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*ArtifactMetadata) SetLastModifiedByUserId added in v1.1.0

func (o *ArtifactMetadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*ArtifactMetadata) SetLastModifiedDate added in v1.1.0

func (o *ArtifactMetadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*ArtifactMetadata) SetLastPulledAt added in v1.1.0

func (o *ArtifactMetadata) SetLastPulledAt(v time.Time)

SetLastPulledAt sets field value

func (*ArtifactMetadata) SetLastPushedAt added in v1.1.0

func (o *ArtifactMetadata) SetLastPushedAt(v time.Time)

SetLastPushedAt sets field value

func (*ArtifactMetadata) SetLastScannedAt added in v1.1.0

func (o *ArtifactMetadata) SetLastScannedAt(v time.Time)

SetLastScannedAt sets field value

func (*ArtifactMetadata) SetPullCount added in v1.1.0

func (o *ArtifactMetadata) SetPullCount(v int64)

SetPullCount sets field value

func (*ArtifactMetadata) SetPushCount added in v1.1.0

func (o *ArtifactMetadata) SetPushCount(v int64)

SetPushCount sets field value

func (*ArtifactMetadata) SetResourceURN added in v1.1.0

func (o *ArtifactMetadata) SetResourceURN(v string)

SetResourceURN sets field value

func (*ArtifactMetadata) SetVulnFixableCount added in v1.1.0

func (o *ArtifactMetadata) SetVulnFixableCount(v int64)

SetVulnFixableCount sets field value

func (*ArtifactMetadata) SetVulnMaxSeverity added in v1.1.0

func (o *ArtifactMetadata) SetVulnMaxSeverity(v string)

SetVulnMaxSeverity sets field value

func (*ArtifactMetadata) SetVulnTotalCount added in v1.1.0

func (o *ArtifactMetadata) SetVulnTotalCount(v int64)

SetVulnTotalCount sets field value

func (*ArtifactMetadata) SetVulnTotalScore added in v1.1.0

func (o *ArtifactMetadata) SetVulnTotalScore(v float32)

SetVulnTotalScore sets field value

type ArtifactMetadataAllOf added in v1.1.0

type ArtifactMetadataAllOf struct {
	// The date and time the artifact was last pushed
	LastPushedAt *IonosTime `json:"lastPushedAt"`
	// The date and time the artifact was last pulled
	LastPulledAt *IonosTime `json:"lastPulledAt,omitempty"`
	// The date and time the artifact was last scanned
	LastScannedAt *IonosTime `json:"lastScannedAt,omitempty"`
	// The number of times the artifact was pushed
	PushCount *int64 `json:"pushCount"`
	// The number of times the artifact was pulled
	PullCount *int64 `json:"pullCount"`
	// The CVSS vulnerability severity rating
	VulnMaxSeverity *string `json:"vulnMaxSeverity,omitempty"`
	// The total CVSS score of all vulnerabilities of the artifact
	VulnTotalScore *float32 `json:"vulnTotalScore,omitempty"`
	// The total number of vulnerabilities of the artifact
	VulnTotalCount *int64 `json:"vulnTotalCount,omitempty"`
	// The number of fixable vulnerabilities of the artifact
	VulnFixableCount *int64 `json:"vulnFixableCount,omitempty"`
}

ArtifactMetadataAllOf struct for ArtifactMetadataAllOf

func NewArtifactMetadataAllOf added in v1.1.0

func NewArtifactMetadataAllOf(lastPushedAt time.Time, pushCount int64, pullCount int64) *ArtifactMetadataAllOf

NewArtifactMetadataAllOf instantiates a new ArtifactMetadataAllOf 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 NewArtifactMetadataAllOfWithDefaults added in v1.1.0

func NewArtifactMetadataAllOfWithDefaults() *ArtifactMetadataAllOf

NewArtifactMetadataAllOfWithDefaults instantiates a new ArtifactMetadataAllOf 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 (*ArtifactMetadataAllOf) GetLastPulledAt added in v1.1.0

func (o *ArtifactMetadataAllOf) GetLastPulledAt() *time.Time

GetLastPulledAt returns the LastPulledAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ArtifactMetadataAllOf) GetLastPulledAtOk added in v1.1.0

func (o *ArtifactMetadataAllOf) GetLastPulledAtOk() (*time.Time, bool)

GetLastPulledAtOk returns a tuple with the LastPulledAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadataAllOf) GetLastPushedAt added in v1.1.0

func (o *ArtifactMetadataAllOf) GetLastPushedAt() *time.Time

GetLastPushedAt returns the LastPushedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ArtifactMetadataAllOf) GetLastPushedAtOk added in v1.1.0

func (o *ArtifactMetadataAllOf) GetLastPushedAtOk() (*time.Time, bool)

GetLastPushedAtOk returns a tuple with the LastPushedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadataAllOf) GetLastScannedAt added in v1.1.0

func (o *ArtifactMetadataAllOf) GetLastScannedAt() *time.Time

GetLastScannedAt returns the LastScannedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*ArtifactMetadataAllOf) GetLastScannedAtOk added in v1.1.0

func (o *ArtifactMetadataAllOf) GetLastScannedAtOk() (*time.Time, bool)

GetLastScannedAtOk returns a tuple with the LastScannedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadataAllOf) GetPullCount added in v1.1.0

func (o *ArtifactMetadataAllOf) GetPullCount() *int64

GetPullCount returns the PullCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*ArtifactMetadataAllOf) GetPullCountOk added in v1.1.0

func (o *ArtifactMetadataAllOf) GetPullCountOk() (*int64, bool)

GetPullCountOk returns a tuple with the PullCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadataAllOf) GetPushCount added in v1.1.0

func (o *ArtifactMetadataAllOf) GetPushCount() *int64

GetPushCount returns the PushCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*ArtifactMetadataAllOf) GetPushCountOk added in v1.1.0

func (o *ArtifactMetadataAllOf) GetPushCountOk() (*int64, bool)

GetPushCountOk returns a tuple with the PushCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadataAllOf) GetVulnFixableCount added in v1.1.0

func (o *ArtifactMetadataAllOf) GetVulnFixableCount() *int64

GetVulnFixableCount returns the VulnFixableCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*ArtifactMetadataAllOf) GetVulnFixableCountOk added in v1.1.0

func (o *ArtifactMetadataAllOf) GetVulnFixableCountOk() (*int64, bool)

GetVulnFixableCountOk returns a tuple with the VulnFixableCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadataAllOf) GetVulnMaxSeverity added in v1.1.0

func (o *ArtifactMetadataAllOf) GetVulnMaxSeverity() *string

GetVulnMaxSeverity returns the VulnMaxSeverity field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactMetadataAllOf) GetVulnMaxSeverityOk added in v1.1.0

func (o *ArtifactMetadataAllOf) GetVulnMaxSeverityOk() (*string, bool)

GetVulnMaxSeverityOk returns a tuple with the VulnMaxSeverity field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadataAllOf) GetVulnTotalCount added in v1.1.0

func (o *ArtifactMetadataAllOf) GetVulnTotalCount() *int64

GetVulnTotalCount returns the VulnTotalCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*ArtifactMetadataAllOf) GetVulnTotalCountOk added in v1.1.0

func (o *ArtifactMetadataAllOf) GetVulnTotalCountOk() (*int64, bool)

GetVulnTotalCountOk returns a tuple with the VulnTotalCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadataAllOf) GetVulnTotalScore added in v1.1.0

func (o *ArtifactMetadataAllOf) GetVulnTotalScore() *float32

GetVulnTotalScore returns the VulnTotalScore field value If the value is explicit nil, the zero value for float32 will be returned

func (*ArtifactMetadataAllOf) GetVulnTotalScoreOk added in v1.1.0

func (o *ArtifactMetadataAllOf) GetVulnTotalScoreOk() (*float32, bool)

GetVulnTotalScoreOk returns a tuple with the VulnTotalScore field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactMetadataAllOf) HasLastPulledAt added in v1.1.0

func (o *ArtifactMetadataAllOf) HasLastPulledAt() bool

HasLastPulledAt returns a boolean if a field has been set.

func (*ArtifactMetadataAllOf) HasLastPushedAt added in v1.1.0

func (o *ArtifactMetadataAllOf) HasLastPushedAt() bool

HasLastPushedAt returns a boolean if a field has been set.

func (*ArtifactMetadataAllOf) HasLastScannedAt added in v1.1.0

func (o *ArtifactMetadataAllOf) HasLastScannedAt() bool

HasLastScannedAt returns a boolean if a field has been set.

func (*ArtifactMetadataAllOf) HasPullCount added in v1.1.0

func (o *ArtifactMetadataAllOf) HasPullCount() bool

HasPullCount returns a boolean if a field has been set.

func (*ArtifactMetadataAllOf) HasPushCount added in v1.1.0

func (o *ArtifactMetadataAllOf) HasPushCount() bool

HasPushCount returns a boolean if a field has been set.

func (*ArtifactMetadataAllOf) HasVulnFixableCount added in v1.1.0

func (o *ArtifactMetadataAllOf) HasVulnFixableCount() bool

HasVulnFixableCount returns a boolean if a field has been set.

func (*ArtifactMetadataAllOf) HasVulnMaxSeverity added in v1.1.0

func (o *ArtifactMetadataAllOf) HasVulnMaxSeverity() bool

HasVulnMaxSeverity returns a boolean if a field has been set.

func (*ArtifactMetadataAllOf) HasVulnTotalCount added in v1.1.0

func (o *ArtifactMetadataAllOf) HasVulnTotalCount() bool

HasVulnTotalCount returns a boolean if a field has been set.

func (*ArtifactMetadataAllOf) HasVulnTotalScore added in v1.1.0

func (o *ArtifactMetadataAllOf) HasVulnTotalScore() bool

HasVulnTotalScore returns a boolean if a field has been set.

func (ArtifactMetadataAllOf) MarshalJSON added in v1.1.0

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

func (*ArtifactMetadataAllOf) SetLastPulledAt added in v1.1.0

func (o *ArtifactMetadataAllOf) SetLastPulledAt(v time.Time)

SetLastPulledAt sets field value

func (*ArtifactMetadataAllOf) SetLastPushedAt added in v1.1.0

func (o *ArtifactMetadataAllOf) SetLastPushedAt(v time.Time)

SetLastPushedAt sets field value

func (*ArtifactMetadataAllOf) SetLastScannedAt added in v1.1.0

func (o *ArtifactMetadataAllOf) SetLastScannedAt(v time.Time)

SetLastScannedAt sets field value

func (*ArtifactMetadataAllOf) SetPullCount added in v1.1.0

func (o *ArtifactMetadataAllOf) SetPullCount(v int64)

SetPullCount sets field value

func (*ArtifactMetadataAllOf) SetPushCount added in v1.1.0

func (o *ArtifactMetadataAllOf) SetPushCount(v int64)

SetPushCount sets field value

func (*ArtifactMetadataAllOf) SetVulnFixableCount added in v1.1.0

func (o *ArtifactMetadataAllOf) SetVulnFixableCount(v int64)

SetVulnFixableCount sets field value

func (*ArtifactMetadataAllOf) SetVulnMaxSeverity added in v1.1.0

func (o *ArtifactMetadataAllOf) SetVulnMaxSeverity(v string)

SetVulnMaxSeverity sets field value

func (*ArtifactMetadataAllOf) SetVulnTotalCount added in v1.1.0

func (o *ArtifactMetadataAllOf) SetVulnTotalCount(v int64)

SetVulnTotalCount sets field value

func (*ArtifactMetadataAllOf) SetVulnTotalScore added in v1.1.0

func (o *ArtifactMetadataAllOf) SetVulnTotalScore(v float32)

SetVulnTotalScore sets field value

type ArtifactRead added in v1.1.0

type ArtifactRead struct {
	// The digest of the artifact
	Id         *string           `json:"id"`
	Type       *string           `json:"type"`
	Href       *string           `json:"href"`
	Metadata   *ArtifactMetadata `json:"metadata"`
	Properties *Artifact         `json:"properties"`
}

ArtifactRead struct for ArtifactRead

func NewArtifactRead added in v1.1.0

func NewArtifactRead(id string, type_ string, href string, metadata ArtifactMetadata, properties Artifact) *ArtifactRead

NewArtifactRead instantiates a new ArtifactRead 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 NewArtifactReadWithDefaults added in v1.1.0

func NewArtifactReadWithDefaults() *ArtifactRead

NewArtifactReadWithDefaults instantiates a new ArtifactRead 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 (*ArtifactRead) GetHref added in v1.1.0

func (o *ArtifactRead) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactRead) GetHrefOk added in v1.1.0

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactRead) GetId added in v1.1.0

func (o *ArtifactRead) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactRead) GetIdOk added in v1.1.0

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactRead) GetMetadata added in v1.1.0

func (o *ArtifactRead) GetMetadata() *ArtifactMetadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ArtifactMetadata will be returned

func (*ArtifactRead) GetMetadataOk added in v1.1.0

func (o *ArtifactRead) GetMetadataOk() (*ArtifactMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactRead) GetProperties added in v1.1.0

func (o *ArtifactRead) GetProperties() *Artifact

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Artifact will be returned

func (*ArtifactRead) GetPropertiesOk added in v1.1.0

func (o *ArtifactRead) GetPropertiesOk() (*Artifact, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactRead) GetType added in v1.1.0

func (o *ArtifactRead) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactRead) GetTypeOk added in v1.1.0

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactRead) HasHref added in v1.1.0

func (o *ArtifactRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ArtifactRead) HasId added in v1.1.0

func (o *ArtifactRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*ArtifactRead) HasMetadata added in v1.1.0

func (o *ArtifactRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ArtifactRead) HasProperties added in v1.1.0

func (o *ArtifactRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ArtifactRead) HasType added in v1.1.0

func (o *ArtifactRead) HasType() bool

HasType returns a boolean if a field has been set.

func (ArtifactRead) MarshalJSON added in v1.1.0

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

func (*ArtifactRead) SetHref added in v1.1.0

func (o *ArtifactRead) SetHref(v string)

SetHref sets field value

func (*ArtifactRead) SetId added in v1.1.0

func (o *ArtifactRead) SetId(v string)

SetId sets field value

func (*ArtifactRead) SetMetadata added in v1.1.0

func (o *ArtifactRead) SetMetadata(v ArtifactMetadata)

SetMetadata sets field value

func (*ArtifactRead) SetProperties added in v1.1.0

func (o *ArtifactRead) SetProperties(v Artifact)

SetProperties sets field value

func (*ArtifactRead) SetType added in v1.1.0

func (o *ArtifactRead) SetType(v string)

SetType sets field value

type ArtifactReadList added in v1.1.0

type ArtifactReadList struct {
	Id    *string         `json:"id"`
	Type  *string         `json:"type"`
	Href  *string         `json:"href"`
	Items *[]ArtifactRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet).
	Offset *int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit) (not implemented yet, always return number of items).
	Limit *int32 `json:"limit"`
	Links *Links `json:"_links"`
}

ArtifactReadList struct for ArtifactReadList

func NewArtifactReadList added in v1.1.0

func NewArtifactReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *ArtifactReadList

NewArtifactReadList instantiates a new ArtifactReadList 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 NewArtifactReadListWithDefaults added in v1.1.0

func NewArtifactReadListWithDefaults() *ArtifactReadList

NewArtifactReadListWithDefaults instantiates a new ArtifactReadList 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 (*ArtifactReadList) GetHref added in v1.1.0

func (o *ArtifactReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactReadList) GetHrefOk added in v1.1.0

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactReadList) GetId added in v1.1.0

func (o *ArtifactReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactReadList) GetIdOk added in v1.1.0

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactReadList) GetItems added in v1.1.0

func (o *ArtifactReadList) GetItems() *[]ArtifactRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []ArtifactRead will be returned

func (*ArtifactReadList) GetItemsOk added in v1.1.0

func (o *ArtifactReadList) GetItemsOk() (*[]ArtifactRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactReadList) GetLimit added in v1.1.0

func (o *ArtifactReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*ArtifactReadList) GetLimitOk added in v1.1.0

func (o *ArtifactReadList) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (o *ArtifactReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*ArtifactReadList) GetLinksOk added in v1.1.0

func (o *ArtifactReadList) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactReadList) GetOffset added in v1.1.0

func (o *ArtifactReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*ArtifactReadList) GetOffsetOk added in v1.1.0

func (o *ArtifactReadList) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactReadList) GetType added in v1.1.0

func (o *ArtifactReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactReadList) GetTypeOk added in v1.1.0

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactReadList) HasHref added in v1.1.0

func (o *ArtifactReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ArtifactReadList) HasId added in v1.1.0

func (o *ArtifactReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*ArtifactReadList) HasItems added in v1.1.0

func (o *ArtifactReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ArtifactReadList) HasLimit added in v1.1.0

func (o *ArtifactReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *ArtifactReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ArtifactReadList) HasOffset added in v1.1.0

func (o *ArtifactReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*ArtifactReadList) HasType added in v1.1.0

func (o *ArtifactReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (ArtifactReadList) MarshalJSON added in v1.1.0

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

func (*ArtifactReadList) SetHref added in v1.1.0

func (o *ArtifactReadList) SetHref(v string)

SetHref sets field value

func (*ArtifactReadList) SetId added in v1.1.0

func (o *ArtifactReadList) SetId(v string)

SetId sets field value

func (*ArtifactReadList) SetItems added in v1.1.0

func (o *ArtifactReadList) SetItems(v []ArtifactRead)

SetItems sets field value

func (*ArtifactReadList) SetLimit added in v1.1.0

func (o *ArtifactReadList) SetLimit(v int32)

SetLimit sets field value

func (o *ArtifactReadList) SetLinks(v Links)

SetLinks sets field value

func (*ArtifactReadList) SetOffset added in v1.1.0

func (o *ArtifactReadList) SetOffset(v int32)

SetOffset sets field value

func (*ArtifactReadList) SetType added in v1.1.0

func (o *ArtifactReadList) SetType(v string)

SetType sets field value

type ArtifactVulnerabilityReadList added in v1.1.0

type ArtifactVulnerabilityReadList struct {
	Id    *string              `json:"id"`
	Type  *string              `json:"type"`
	Href  *string              `json:"href"`
	Items *[]VulnerabilityRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet).
	Offset *int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit) (not implemented yet, always return number of items).
	Limit *int32 `json:"limit"`
	Links *Links `json:"_links"`
}

ArtifactVulnerabilityReadList struct for ArtifactVulnerabilityReadList

func NewArtifactVulnerabilityReadList added in v1.1.0

func NewArtifactVulnerabilityReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *ArtifactVulnerabilityReadList

NewArtifactVulnerabilityReadList instantiates a new ArtifactVulnerabilityReadList 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 NewArtifactVulnerabilityReadListWithDefaults added in v1.1.0

func NewArtifactVulnerabilityReadListWithDefaults() *ArtifactVulnerabilityReadList

NewArtifactVulnerabilityReadListWithDefaults instantiates a new ArtifactVulnerabilityReadList 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 (*ArtifactVulnerabilityReadList) GetHref added in v1.1.0

func (o *ArtifactVulnerabilityReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactVulnerabilityReadList) GetHrefOk added in v1.1.0

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactVulnerabilityReadList) GetId added in v1.1.0

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactVulnerabilityReadList) GetIdOk added in v1.1.0

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactVulnerabilityReadList) GetItems added in v1.1.0

GetItems returns the Items field value If the value is explicit nil, the zero value for []VulnerabilityRead will be returned

func (*ArtifactVulnerabilityReadList) GetItemsOk added in v1.1.0

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactVulnerabilityReadList) GetLimit added in v1.1.0

func (o *ArtifactVulnerabilityReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*ArtifactVulnerabilityReadList) GetLimitOk added in v1.1.0

func (o *ArtifactVulnerabilityReadList) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (o *ArtifactVulnerabilityReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*ArtifactVulnerabilityReadList) GetLinksOk added in v1.1.0

func (o *ArtifactVulnerabilityReadList) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactVulnerabilityReadList) GetOffset added in v1.1.0

func (o *ArtifactVulnerabilityReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*ArtifactVulnerabilityReadList) GetOffsetOk added in v1.1.0

func (o *ArtifactVulnerabilityReadList) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactVulnerabilityReadList) GetType added in v1.1.0

func (o *ArtifactVulnerabilityReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ArtifactVulnerabilityReadList) GetTypeOk added in v1.1.0

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ArtifactVulnerabilityReadList) HasHref added in v1.1.0

func (o *ArtifactVulnerabilityReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ArtifactVulnerabilityReadList) HasId added in v1.1.0

HasId returns a boolean if a field has been set.

func (*ArtifactVulnerabilityReadList) HasItems added in v1.1.0

func (o *ArtifactVulnerabilityReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ArtifactVulnerabilityReadList) HasLimit added in v1.1.0

func (o *ArtifactVulnerabilityReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *ArtifactVulnerabilityReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ArtifactVulnerabilityReadList) HasOffset added in v1.1.0

func (o *ArtifactVulnerabilityReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*ArtifactVulnerabilityReadList) HasType added in v1.1.0

func (o *ArtifactVulnerabilityReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (ArtifactVulnerabilityReadList) MarshalJSON added in v1.1.0

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

func (*ArtifactVulnerabilityReadList) SetHref added in v1.1.0

func (o *ArtifactVulnerabilityReadList) SetHref(v string)

SetHref sets field value

func (*ArtifactVulnerabilityReadList) SetId added in v1.1.0

SetId sets field value

func (*ArtifactVulnerabilityReadList) SetItems added in v1.1.0

SetItems sets field value

func (*ArtifactVulnerabilityReadList) SetLimit added in v1.1.0

func (o *ArtifactVulnerabilityReadList) SetLimit(v int32)

SetLimit sets field value

func (o *ArtifactVulnerabilityReadList) SetLinks(v Links)

SetLinks sets field value

func (*ArtifactVulnerabilityReadList) SetOffset added in v1.1.0

func (o *ArtifactVulnerabilityReadList) SetOffset(v int32)

SetOffset sets field value

func (*ArtifactVulnerabilityReadList) SetType added in v1.1.0

func (o *ArtifactVulnerabilityReadList) SetType(v string)

SetType sets field value

type ArtifactsApiService added in v1.1.0

type ArtifactsApiService service

ArtifactsApiService ArtifactsApi service

func (*ArtifactsApiService) RegistriesArtifactsGet added in v1.1.0

func (a *ArtifactsApiService) RegistriesArtifactsGet(ctx _context.Context, registryId string) ApiRegistriesArtifactsGetRequest
  • RegistriesArtifactsGet Retrieve all Artifacts by Registry
  • This endpoint enables retrieving all Artifacts using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param registryId The ID (UUID) of the Registry.
  • @return ApiRegistriesArtifactsGetRequest

func (*ArtifactsApiService) RegistriesArtifactsGetExecute added in v1.1.0

* Execute executes the request * @return RegistryArtifactsReadList

func (*ArtifactsApiService) RegistriesRepositoriesArtifactsFindByDigest added in v1.1.0

func (a *ArtifactsApiService) RegistriesRepositoriesArtifactsFindByDigest(ctx _context.Context, registryId string, repositoryName string, digest string) ApiRegistriesRepositoriesArtifactsFindByDigestRequest

* RegistriesRepositoriesArtifactsFindByDigest Retrieve Artifact * Returns the Artifact by Digest. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param registryId The ID (UUID) of the Registry. * @param repositoryName The Name of the Repository. * @param digest The Digest of the Artifact that should be retrieved. * @return ApiRegistriesRepositoriesArtifactsFindByDigestRequest

func (*ArtifactsApiService) RegistriesRepositoriesArtifactsFindByDigestExecute added in v1.1.0

func (a *ArtifactsApiService) RegistriesRepositoriesArtifactsFindByDigestExecute(r ApiRegistriesRepositoriesArtifactsFindByDigestRequest) (ArtifactRead, *APIResponse, error)

* Execute executes the request * @return ArtifactRead

func (*ArtifactsApiService) RegistriesRepositoriesArtifactsGet added in v1.1.0

func (a *ArtifactsApiService) RegistriesRepositoriesArtifactsGet(ctx _context.Context, registryId string, repositoryName string) ApiRegistriesRepositoriesArtifactsGetRequest
  • RegistriesRepositoriesArtifactsGet Retrieve all Artifacts by Repository
  • This endpoint enables retrieving all Artifacts using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param registryId The ID (UUID) of the Registry.
  • @param repositoryName The Name of the Repository.
  • @return ApiRegistriesRepositoriesArtifactsGetRequest

func (*ArtifactsApiService) RegistriesRepositoriesArtifactsGetExecute added in v1.1.0

func (a *ArtifactsApiService) RegistriesRepositoriesArtifactsGetExecute(r ApiRegistriesRepositoriesArtifactsGetRequest) (ArtifactReadList, *APIResponse, error)

* Execute executes the request * @return ArtifactReadList

func (*ArtifactsApiService) RegistriesRepositoriesArtifactsVulnerabilitiesGet added in v1.1.0

func (a *ArtifactsApiService) RegistriesRepositoriesArtifactsVulnerabilitiesGet(ctx _context.Context, registryId string, repositoryName string, digest string) ApiRegistriesRepositoriesArtifactsVulnerabilitiesGetRequest
  • RegistriesRepositoriesArtifactsVulnerabilitiesGet Retrieve all Vulnerabilities
  • This endpoint enables retrieving all Vulnerabilities using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param registryId The ID (UUID) of the Registry.
  • @param repositoryName The Name of the Repository.
  • @param digest The Digest of the Artifact.
  • @return ApiRegistriesRepositoriesArtifactsVulnerabilitiesGetRequest

func (*ArtifactsApiService) RegistriesRepositoriesArtifactsVulnerabilitiesGetExecute added in v1.1.0

* Execute executes the request * @return ArtifactVulnerabilityReadList

type BasicAuth

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

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

type Configuration

type Configuration struct {
	Host               string            `json:"host,omitempty"`
	Scheme             string            `json:"scheme,omitempty"`
	DefaultHeader      map[string]string `json:"defaultHeader,omitempty"`
	DefaultQueryParams url.Values        `json:"defaultQueryParams,omitempty"`
	UserAgent          string            `json:"userAgent,omitempty"`
	Debug              bool              `json:"debug,omitempty"`
	Servers            ServerConfigurations
	OperationServers   map[string]ServerConfigurations
	HTTPClient         *http.Client
	LogLevel           LogLevel
	Logger             Logger
	Username           string        `json:"username,omitempty"`
	Password           string        `json:"password,omitempty"`
	Token              string        `json:"token,omitempty"`
	MaxRetries         int           `json:"maxRetries,omitempty"`
	WaitTime           time.Duration `json:"waitTime,omitempty"`
	MaxWaitTime        time.Duration `json:"maxWaitTime,omitempty"`
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration(username, password, token, hostUrl string) *Configuration

NewConfiguration returns a new Configuration object

func NewConfigurationFromEnv

func NewConfigurationFromEnv() *Configuration

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) AddDefaultQueryParam

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type Credentials

type Credentials struct {
	Password *string `json:"password"`
	Username *string `json:"username"`
}

Credentials struct for Credentials

func NewCredentials

func NewCredentials(password string, username 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) GetPassword

func (o *Credentials) GetPassword() *string

GetPassword returns the Password field value If the value is explicit nil, the zero value for string will be returned

func (*Credentials) GetPasswordOk

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

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Credentials) GetUsername

func (o *Credentials) GetUsername() *string

GetUsername returns the Username field value If the value is explicit nil, the zero value for string will be returned

func (*Credentials) GetUsernameOk

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

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Credentials) HasPassword

func (o *Credentials) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*Credentials) HasUsername

func (o *Credentials) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (Credentials) MarshalJSON

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

func (*Credentials) SetPassword

func (o *Credentials) SetPassword(v string)

SetPassword sets field value

func (*Credentials) SetUsername

func (o *Credentials) SetUsername(v string)

SetUsername sets field value

type Day

type Day string

Day the model 'Day'

const (
	DAY_MONDAY    Day = "Monday"
	DAY_TUESDAY   Day = "Tuesday"
	DAY_WEDNESDAY Day = "Wednesday"
	DAY_THURSDAY  Day = "Thursday"
	DAY_FRIDAY    Day = "Friday"
	DAY_SATURDAY  Day = "Saturday"
	DAY_SUNDAY    Day = "Sunday"
)

List of Day

func (Day) Ptr

func (v Day) Ptr() *Day

Ptr returns reference to Day value

func (*Day) UnmarshalJSON

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

type Error added in v1.1.0

type Error struct {
	// The HTTP status code of the operation.
	HttpStatus *int32           `json:"httpStatus,omitempty"`
	Messages   *[]ErrorMessages `json:"messages,omitempty"`
}

Error struct for Error

func NewError added in v1.1.0

func NewError() *Error

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

func NewErrorWithDefaults added in v1.1.0

func NewErrorWithDefaults() *Error

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

func (*Error) GetHttpStatus added in v1.1.0

func (o *Error) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*Error) GetHttpStatusOk added in v1.1.0

func (o *Error) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Error) GetMessages added in v1.1.0

func (o *Error) GetMessages() *[]ErrorMessages

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessages will be returned

func (*Error) GetMessagesOk added in v1.1.0

func (o *Error) GetMessagesOk() (*[]ErrorMessages, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Error) HasHttpStatus added in v1.1.0

func (o *Error) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*Error) HasMessages added in v1.1.0

func (o *Error) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (Error) MarshalJSON added in v1.1.0

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

func (*Error) SetHttpStatus added in v1.1.0

func (o *Error) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*Error) SetMessages added in v1.1.0

func (o *Error) SetMessages(v []ErrorMessages)

SetMessages sets field value

type ErrorMessages added in v1.1.0

type ErrorMessages struct {
	// Application internal error code
	ErrorCode *string `json:"errorCode,omitempty"`
	// A human readable explanation specific to this occurrence of the problem.
	Message *string `json:"message,omitempty"`
}

ErrorMessages struct for ErrorMessages

func NewErrorMessages added in v1.1.0

func NewErrorMessages() *ErrorMessages

NewErrorMessages instantiates a new ErrorMessages 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 NewErrorMessagesWithDefaults added in v1.1.0

func NewErrorMessagesWithDefaults() *ErrorMessages

NewErrorMessagesWithDefaults instantiates a new ErrorMessages 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 (*ErrorMessages) GetErrorCode added in v1.1.0

func (o *ErrorMessages) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessages) GetErrorCodeOk added in v1.1.0

func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorMessages) GetMessage added in v1.1.0

func (o *ErrorMessages) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessages) GetMessageOk added in v1.1.0

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

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorMessages) HasErrorCode added in v1.1.0

func (o *ErrorMessages) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessages) HasMessage added in v1.1.0

func (o *ErrorMessages) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorMessages) MarshalJSON added in v1.1.0

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

func (*ErrorMessages) SetErrorCode added in v1.1.0

func (o *ErrorMessages) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorMessages) SetMessage added in v1.1.0

func (o *ErrorMessages) SetMessage(v string)

SetMessage sets field value

type Feature added in v1.1.0

type Feature struct {
	Enabled    *bool                   `json:"enabled"`
	Properties *map[string]interface{} `json:"properties,omitempty"`
}

Feature An optional registry feature

func NewFeature added in v1.1.0

func NewFeature(enabled bool) *Feature

NewFeature instantiates a new Feature 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 NewFeatureWithDefaults added in v1.1.0

func NewFeatureWithDefaults() *Feature

NewFeatureWithDefaults instantiates a new Feature 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 (*Feature) GetEnabled added in v1.1.0

func (o *Feature) GetEnabled() *bool

GetEnabled returns the Enabled field value If the value is explicit nil, the zero value for bool will be returned

func (*Feature) GetEnabledOk added in v1.1.0

func (o *Feature) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Feature) GetProperties added in v1.1.0

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

GetProperties returns the Properties field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*Feature) GetPropertiesOk added in v1.1.0

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

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Feature) HasEnabled added in v1.1.0

func (o *Feature) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*Feature) HasProperties added in v1.1.0

func (o *Feature) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (Feature) MarshalJSON added in v1.1.0

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

func (*Feature) SetEnabled added in v1.1.0

func (o *Feature) SetEnabled(v bool)

SetEnabled sets field value

func (*Feature) SetProperties added in v1.1.0

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

SetProperties sets field value

type FeatureVulnerabilityScanning added in v1.1.0

type FeatureVulnerabilityScanning struct {
	Enabled    *bool                   `json:"enabled"`
	Properties *map[string]interface{} `json:"properties,omitempty"`
}

FeatureVulnerabilityScanning Vulnerability scanning for images. __Note__: this is a paid add-on

func NewFeatureVulnerabilityScanning added in v1.1.0

func NewFeatureVulnerabilityScanning(enabled bool) *FeatureVulnerabilityScanning

NewFeatureVulnerabilityScanning instantiates a new FeatureVulnerabilityScanning 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 NewFeatureVulnerabilityScanningWithDefaults added in v1.1.0

func NewFeatureVulnerabilityScanningWithDefaults() *FeatureVulnerabilityScanning

NewFeatureVulnerabilityScanningWithDefaults instantiates a new FeatureVulnerabilityScanning 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 (*FeatureVulnerabilityScanning) GetEnabled added in v1.1.0

func (o *FeatureVulnerabilityScanning) GetEnabled() *bool

GetEnabled returns the Enabled field value If the value is explicit nil, the zero value for bool will be returned

func (*FeatureVulnerabilityScanning) GetEnabledOk added in v1.1.0

func (o *FeatureVulnerabilityScanning) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FeatureVulnerabilityScanning) GetProperties added in v1.1.0

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

GetProperties returns the Properties field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*FeatureVulnerabilityScanning) GetPropertiesOk added in v1.1.0

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

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FeatureVulnerabilityScanning) HasEnabled added in v1.1.0

func (o *FeatureVulnerabilityScanning) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*FeatureVulnerabilityScanning) HasProperties added in v1.1.0

func (o *FeatureVulnerabilityScanning) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (FeatureVulnerabilityScanning) MarshalJSON added in v1.1.0

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

func (*FeatureVulnerabilityScanning) SetEnabled added in v1.1.0

func (o *FeatureVulnerabilityScanning) SetEnabled(v bool)

SetEnabled sets field value

func (*FeatureVulnerabilityScanning) SetProperties added in v1.1.0

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

SetProperties sets field value

type GenericOpenAPIError

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

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

func NewGenericOpenAPIError

func NewGenericOpenAPIError(message string, body []byte, model interface{}, statusCode int) *GenericOpenAPIError

NewGenericOpenAPIError - constructor for GenericOpenAPIError

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

func (*GenericOpenAPIError) SetBody

func (e *GenericOpenAPIError) SetBody(body []byte)

SetBody sets the raw body of the error

func (*GenericOpenAPIError) SetError

func (e *GenericOpenAPIError) SetError(error string)

SetError sets the error string

func (*GenericOpenAPIError) SetModel

func (e *GenericOpenAPIError) SetModel(model interface{})

SetModel sets the model of the error

func (*GenericOpenAPIError) SetStatusCode

func (e *GenericOpenAPIError) SetStatusCode(statusCode int)

SetStatusCode sets the status code of the error

func (GenericOpenAPIError) StatusCode

func (e GenericOpenAPIError) StatusCode() int

StatusCode returns the status code of the error

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error
type Links struct {
	// URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.
	Prev *string `json:"prev,omitempty"`
	// URL (with offset and limit parameters) of the current page.
	Self *string `json:"self,omitempty"`
	// URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.
	Next *string `json:"next,omitempty"`
}

Links URLs to navigate the different pages. As of now we always only return a single page.

func NewLinks() *Links

NewLinks instantiates a new Links 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 NewLinksWithDefaults added in v1.1.0

func NewLinksWithDefaults() *Links

NewLinksWithDefaults instantiates a new Links 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 (*Links) GetNext added in v1.1.0

func (o *Links) GetNext() *string

GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned

func (*Links) GetNextOk added in v1.1.0

func (o *Links) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Links) GetPrev added in v1.1.0

func (o *Links) GetPrev() *string

GetPrev returns the Prev field value If the value is explicit nil, the zero value for string will be returned

func (*Links) GetPrevOk added in v1.1.0

func (o *Links) GetPrevOk() (*string, bool)

GetPrevOk returns a tuple with the Prev field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Links) GetSelf added in v1.1.0

func (o *Links) GetSelf() *string

GetSelf returns the Self field value If the value is explicit nil, the zero value for string will be returned

func (*Links) GetSelfOk added in v1.1.0

func (o *Links) GetSelfOk() (*string, bool)

GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Links) HasNext added in v1.1.0

func (o *Links) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Links) HasPrev added in v1.1.0

func (o *Links) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (*Links) HasSelf added in v1.1.0

func (o *Links) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (Links) MarshalJSON added in v1.1.0

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

func (*Links) SetNext added in v1.1.0

func (o *Links) SetNext(v string)

SetNext sets field value

func (*Links) SetPrev added in v1.1.0

func (o *Links) SetPrev(v string)

SetPrev sets field value

func (*Links) SetSelf added in v1.1.0

func (o *Links) SetSelf(v string)

SetSelf sets field value

type Location

type Location struct {
	Id *string `json:"id,omitempty"`
}

Location struct for Location

func NewLocation

func NewLocation() *Location

NewLocation instantiates a new Location 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 NewLocationWithDefaults

func NewLocationWithDefaults() *Location

NewLocationWithDefaults instantiates a new Location 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 (*Location) GetId

func (o *Location) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*Location) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Location) HasId

func (o *Location) HasId() bool

HasId returns a boolean if a field has been set.

func (Location) MarshalJSON

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

func (*Location) SetId

func (o *Location) SetId(v string)

SetId sets field value

type LocationsApiService

type LocationsApiService service

LocationsApiService LocationsApi service

func (*LocationsApiService) LocationsGet

* LocationsGet Get container registry locations * * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiLocationsGetRequest

func (*LocationsApiService) LocationsGetExecute

* Execute executes the request * @return LocationsResponse

type LocationsResponse

type LocationsResponse struct {
	Href  *string     `json:"href,omitempty"`
	Id    *string     `json:"id,omitempty"`
	Items *[]Location `json:"items,omitempty"`
	Type  *string     `json:"type,omitempty"`
}

LocationsResponse struct for LocationsResponse

func NewLocationsResponse

func NewLocationsResponse() *LocationsResponse

NewLocationsResponse instantiates a new LocationsResponse 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 NewLocationsResponseWithDefaults

func NewLocationsResponseWithDefaults() *LocationsResponse

NewLocationsResponseWithDefaults instantiates a new LocationsResponse 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 (*LocationsResponse) GetHref

func (o *LocationsResponse) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*LocationsResponse) GetHrefOk

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationsResponse) GetId

func (o *LocationsResponse) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*LocationsResponse) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationsResponse) GetItems

func (o *LocationsResponse) GetItems() *[]Location

GetItems returns the Items field value If the value is explicit nil, the zero value for []Location will be returned

func (*LocationsResponse) GetItemsOk

func (o *LocationsResponse) GetItemsOk() (*[]Location, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationsResponse) GetType

func (o *LocationsResponse) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*LocationsResponse) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationsResponse) HasHref

func (o *LocationsResponse) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*LocationsResponse) HasId

func (o *LocationsResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*LocationsResponse) HasItems

func (o *LocationsResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*LocationsResponse) HasType

func (o *LocationsResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (LocationsResponse) MarshalJSON

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

func (*LocationsResponse) SetHref

func (o *LocationsResponse) SetHref(v string)

SetHref sets field value

func (*LocationsResponse) SetId

func (o *LocationsResponse) SetId(v string)

SetId sets field value

func (*LocationsResponse) SetItems

func (o *LocationsResponse) SetItems(v []Location)

SetItems sets field value

func (*LocationsResponse) SetType

func (o *LocationsResponse) SetType(v string)

SetType sets field value

type LogLevel

type LogLevel uint
const (
	Off LogLevel = 0x100 * iota
	Debug
	// Trace We recommend you only set this field for debugging purposes.
	// Disable it in your production environments because it can log sensitive data.
	// It logs the full request and response without encryption, even for an HTTPS call.
	// Verbose request and response logging can also significantly impact your application's performance.
	Trace
)

func (*LogLevel) Get

func (l *LogLevel) Get() LogLevel

func (*LogLevel) Satisfies

func (l *LogLevel) Satisfies(v LogLevel) bool

Satisfies returns true if this LogLevel is at least high enough for v

type Logger

type Logger interface {
	Printf(format string, args ...interface{})
}

func NewDefaultLogger

func NewDefaultLogger() Logger

type Metadata added in v1.1.0

type Metadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy       *string `json:"createdBy,omitempty"`
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy       *string `json:"lastModifiedBy,omitempty"`
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
}

Metadata Metadata of the resource.

func NewMetadata added in v1.1.0

func NewMetadata() *Metadata

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

func NewMetadataWithDefaults added in v1.1.0

func NewMetadataWithDefaults() *Metadata

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

func (*Metadata) GetCreatedBy added in v1.1.0

func (o *Metadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByOk added in v1.1.0

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

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCreatedByUserId added in v1.1.0

func (o *Metadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByUserIdOk added in v1.1.0

func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCreatedDate added in v1.1.0

func (o *Metadata) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetCreatedDateOk added in v1.1.0

func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedBy added in v1.1.0

func (o *Metadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByOk added in v1.1.0

func (o *Metadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedByUserId added in v1.1.0

func (o *Metadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByUserIdOk added in v1.1.0

func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedDate added in v1.1.0

func (o *Metadata) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetLastModifiedDateOk added in v1.1.0

func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetResourceURN added in v1.1.0

func (o *Metadata) GetResourceURN() *string

GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetResourceURNOk added in v1.1.0

func (o *Metadata) GetResourceURNOk() (*string, bool)

GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) HasCreatedBy added in v1.1.0

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId added in v1.1.0

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate added in v1.1.0

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy added in v1.1.0

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId added in v1.1.0

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate added in v1.1.0

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) HasResourceURN added in v1.1.0

func (o *Metadata) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (Metadata) MarshalJSON added in v1.1.0

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

func (*Metadata) SetCreatedBy added in v1.1.0

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Metadata) SetCreatedByUserId added in v1.1.0

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*Metadata) SetCreatedDate added in v1.1.0

func (o *Metadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*Metadata) SetLastModifiedBy added in v1.1.0

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*Metadata) SetLastModifiedByUserId added in v1.1.0

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*Metadata) SetLastModifiedDate added in v1.1.0

func (o *Metadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*Metadata) SetResourceURN added in v1.1.0

func (o *Metadata) SetResourceURN(v string)

SetResourceURN sets field value

type NamesApiService

type NamesApiService service

NamesApiService NamesApi service

func (*NamesApiService) NamesCheckUsage

func (a *NamesApiService) NamesCheckUsage(ctx _context.Context, name string) ApiNamesCheckUsageRequest
  • NamesCheckUsage Get container registry name availability
  • Validate that the name is suitable to use for a new registry:

- it uses only the characters "a-z", "0-9", or "-" - and starts with a letter and ends with a letter or number - and is between 3 to 63 characters in length - and is available

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

func (*NamesApiService) NamesCheckUsageExecute

func (a *NamesApiService) NamesCheckUsageExecute(r ApiNamesCheckUsageRequest) (*APIResponse, error)

* Execute executes the request

type NullableApiErrorMessage

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

func NewNullableApiErrorMessage

func NewNullableApiErrorMessage(val *ApiErrorMessage) *NullableApiErrorMessage

func (NullableApiErrorMessage) Get

func (NullableApiErrorMessage) IsSet

func (v NullableApiErrorMessage) IsSet() bool

func (NullableApiErrorMessage) MarshalJSON

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

func (*NullableApiErrorMessage) Set

func (*NullableApiErrorMessage) UnmarshalJSON

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

func (*NullableApiErrorMessage) Unset

func (v *NullableApiErrorMessage) Unset()

type NullableApiErrorResponse

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

func NewNullableApiErrorResponse

func NewNullableApiErrorResponse(val *ApiErrorResponse) *NullableApiErrorResponse

func (NullableApiErrorResponse) Get

func (NullableApiErrorResponse) IsSet

func (v NullableApiErrorResponse) IsSet() bool

func (NullableApiErrorResponse) MarshalJSON

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

func (*NullableApiErrorResponse) Set

func (*NullableApiErrorResponse) UnmarshalJSON

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

func (*NullableApiErrorResponse) Unset

func (v *NullableApiErrorResponse) Unset()

type NullableApiResourceMetadata

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

func NewNullableApiResourceMetadata

func NewNullableApiResourceMetadata(val *ApiResourceMetadata) *NullableApiResourceMetadata

func (NullableApiResourceMetadata) Get

func (NullableApiResourceMetadata) IsSet

func (NullableApiResourceMetadata) MarshalJSON

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

func (*NullableApiResourceMetadata) Set

func (*NullableApiResourceMetadata) UnmarshalJSON

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

func (*NullableApiResourceMetadata) Unset

func (v *NullableApiResourceMetadata) Unset()

type NullableArtifact added in v1.1.0

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

func NewNullableArtifact added in v1.1.0

func NewNullableArtifact(val *Artifact) *NullableArtifact

func (NullableArtifact) Get added in v1.1.0

func (v NullableArtifact) Get() *Artifact

func (NullableArtifact) IsSet added in v1.1.0

func (v NullableArtifact) IsSet() bool

func (NullableArtifact) MarshalJSON added in v1.1.0

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

func (*NullableArtifact) Set added in v1.1.0

func (v *NullableArtifact) Set(val *Artifact)

func (*NullableArtifact) UnmarshalJSON added in v1.1.0

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

func (*NullableArtifact) Unset added in v1.1.0

func (v *NullableArtifact) Unset()

type NullableArtifactMetadata added in v1.1.0

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

func NewNullableArtifactMetadata added in v1.1.0

func NewNullableArtifactMetadata(val *ArtifactMetadata) *NullableArtifactMetadata

func (NullableArtifactMetadata) Get added in v1.1.0

func (NullableArtifactMetadata) IsSet added in v1.1.0

func (v NullableArtifactMetadata) IsSet() bool

func (NullableArtifactMetadata) MarshalJSON added in v1.1.0

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

func (*NullableArtifactMetadata) Set added in v1.1.0

func (*NullableArtifactMetadata) UnmarshalJSON added in v1.1.0

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

func (*NullableArtifactMetadata) Unset added in v1.1.0

func (v *NullableArtifactMetadata) Unset()

type NullableArtifactMetadataAllOf added in v1.1.0

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

func NewNullableArtifactMetadataAllOf added in v1.1.0

func NewNullableArtifactMetadataAllOf(val *ArtifactMetadataAllOf) *NullableArtifactMetadataAllOf

func (NullableArtifactMetadataAllOf) Get added in v1.1.0

func (NullableArtifactMetadataAllOf) IsSet added in v1.1.0

func (NullableArtifactMetadataAllOf) MarshalJSON added in v1.1.0

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

func (*NullableArtifactMetadataAllOf) Set added in v1.1.0

func (*NullableArtifactMetadataAllOf) UnmarshalJSON added in v1.1.0

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

func (*NullableArtifactMetadataAllOf) Unset added in v1.1.0

func (v *NullableArtifactMetadataAllOf) Unset()

type NullableArtifactRead added in v1.1.0

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

func NewNullableArtifactRead added in v1.1.0

func NewNullableArtifactRead(val *ArtifactRead) *NullableArtifactRead

func (NullableArtifactRead) Get added in v1.1.0

func (NullableArtifactRead) IsSet added in v1.1.0

func (v NullableArtifactRead) IsSet() bool

func (NullableArtifactRead) MarshalJSON added in v1.1.0

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

func (*NullableArtifactRead) Set added in v1.1.0

func (v *NullableArtifactRead) Set(val *ArtifactRead)

func (*NullableArtifactRead) UnmarshalJSON added in v1.1.0

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

func (*NullableArtifactRead) Unset added in v1.1.0

func (v *NullableArtifactRead) Unset()

type NullableArtifactReadList added in v1.1.0

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

func NewNullableArtifactReadList added in v1.1.0

func NewNullableArtifactReadList(val *ArtifactReadList) *NullableArtifactReadList

func (NullableArtifactReadList) Get added in v1.1.0

func (NullableArtifactReadList) IsSet added in v1.1.0

func (v NullableArtifactReadList) IsSet() bool

func (NullableArtifactReadList) MarshalJSON added in v1.1.0

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

func (*NullableArtifactReadList) Set added in v1.1.0

func (*NullableArtifactReadList) UnmarshalJSON added in v1.1.0

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

func (*NullableArtifactReadList) Unset added in v1.1.0

func (v *NullableArtifactReadList) Unset()

type NullableArtifactVulnerabilityReadList added in v1.1.0

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

func NewNullableArtifactVulnerabilityReadList added in v1.1.0

func NewNullableArtifactVulnerabilityReadList(val *ArtifactVulnerabilityReadList) *NullableArtifactVulnerabilityReadList

func (NullableArtifactVulnerabilityReadList) Get added in v1.1.0

func (NullableArtifactVulnerabilityReadList) IsSet added in v1.1.0

func (NullableArtifactVulnerabilityReadList) MarshalJSON added in v1.1.0

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

func (*NullableArtifactVulnerabilityReadList) Set added in v1.1.0

func (*NullableArtifactVulnerabilityReadList) UnmarshalJSON added in v1.1.0

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

func (*NullableArtifactVulnerabilityReadList) Unset added in v1.1.0

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 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 NullableDay

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

func NewNullableDay

func NewNullableDay(val *Day) *NullableDay

func (NullableDay) Get

func (v NullableDay) Get() *Day

func (NullableDay) IsSet

func (v NullableDay) IsSet() bool

func (NullableDay) MarshalJSON

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

func (*NullableDay) Set

func (v *NullableDay) Set(val *Day)

func (*NullableDay) UnmarshalJSON

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

func (*NullableDay) Unset

func (v *NullableDay) Unset()

type NullableError added in v1.1.0

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

func NewNullableError added in v1.1.0

func NewNullableError(val *Error) *NullableError

func (NullableError) Get added in v1.1.0

func (v NullableError) Get() *Error

func (NullableError) IsSet added in v1.1.0

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON added in v1.1.0

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

func (*NullableError) Set added in v1.1.0

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

func (*NullableError) UnmarshalJSON added in v1.1.0

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

func (*NullableError) Unset added in v1.1.0

func (v *NullableError) Unset()

type NullableErrorMessages added in v1.1.0

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

func NewNullableErrorMessages added in v1.1.0

func NewNullableErrorMessages(val *ErrorMessages) *NullableErrorMessages

func (NullableErrorMessages) Get added in v1.1.0

func (NullableErrorMessages) IsSet added in v1.1.0

func (v NullableErrorMessages) IsSet() bool

func (NullableErrorMessages) MarshalJSON added in v1.1.0

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

func (*NullableErrorMessages) Set added in v1.1.0

func (v *NullableErrorMessages) Set(val *ErrorMessages)

func (*NullableErrorMessages) UnmarshalJSON added in v1.1.0

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

func (*NullableErrorMessages) Unset added in v1.1.0

func (v *NullableErrorMessages) Unset()

type NullableFeature added in v1.1.0

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

func NewNullableFeature added in v1.1.0

func NewNullableFeature(val *Feature) *NullableFeature

func (NullableFeature) Get added in v1.1.0

func (v NullableFeature) Get() *Feature

func (NullableFeature) IsSet added in v1.1.0

func (v NullableFeature) IsSet() bool

func (NullableFeature) MarshalJSON added in v1.1.0

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

func (*NullableFeature) Set added in v1.1.0

func (v *NullableFeature) Set(val *Feature)

func (*NullableFeature) UnmarshalJSON added in v1.1.0

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

func (*NullableFeature) Unset added in v1.1.0

func (v *NullableFeature) Unset()

type NullableFeatureVulnerabilityScanning added in v1.1.0

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

func NewNullableFeatureVulnerabilityScanning added in v1.1.0

func NewNullableFeatureVulnerabilityScanning(val *FeatureVulnerabilityScanning) *NullableFeatureVulnerabilityScanning

func (NullableFeatureVulnerabilityScanning) Get added in v1.1.0

func (NullableFeatureVulnerabilityScanning) IsSet added in v1.1.0

func (NullableFeatureVulnerabilityScanning) MarshalJSON added in v1.1.0

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

func (*NullableFeatureVulnerabilityScanning) Set added in v1.1.0

func (*NullableFeatureVulnerabilityScanning) UnmarshalJSON added in v1.1.0

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

func (*NullableFeatureVulnerabilityScanning) Unset added in v1.1.0

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()
type NullableLinks struct {
	// contains filtered or unexported fields
}
func NewNullableLinks(val *Links) *NullableLinks

func (NullableLinks) Get added in v1.1.0

func (v NullableLinks) Get() *Links

func (NullableLinks) IsSet added in v1.1.0

func (v NullableLinks) IsSet() bool

func (NullableLinks) MarshalJSON added in v1.1.0

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

func (*NullableLinks) Set added in v1.1.0

func (v *NullableLinks) Set(val *Links)

func (*NullableLinks) UnmarshalJSON added in v1.1.0

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

func (*NullableLinks) Unset added in v1.1.0

func (v *NullableLinks) Unset()

type NullableLocation

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

func NewNullableLocation

func NewNullableLocation(val *Location) *NullableLocation

func (NullableLocation) Get

func (v NullableLocation) Get() *Location

func (NullableLocation) IsSet

func (v NullableLocation) IsSet() bool

func (NullableLocation) MarshalJSON

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

func (*NullableLocation) Set

func (v *NullableLocation) Set(val *Location)

func (*NullableLocation) UnmarshalJSON

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

func (*NullableLocation) Unset

func (v *NullableLocation) Unset()

type NullableLocationsResponse

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

func NewNullableLocationsResponse

func NewNullableLocationsResponse(val *LocationsResponse) *NullableLocationsResponse

func (NullableLocationsResponse) Get

func (NullableLocationsResponse) IsSet

func (v NullableLocationsResponse) IsSet() bool

func (NullableLocationsResponse) MarshalJSON

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

func (*NullableLocationsResponse) Set

func (*NullableLocationsResponse) UnmarshalJSON

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

func (*NullableLocationsResponse) Unset

func (v *NullableLocationsResponse) Unset()

type NullableMetadata added in v1.1.0

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

func NewNullableMetadata added in v1.1.0

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get added in v1.1.0

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet added in v1.1.0

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON added in v1.1.0

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

func (*NullableMetadata) Set added in v1.1.0

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON added in v1.1.0

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

func (*NullableMetadata) Unset added in v1.1.0

func (v *NullableMetadata) Unset()

type NullablePagination added in v1.0.1

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

func NewNullablePagination added in v1.0.1

func NewNullablePagination(val *Pagination) *NullablePagination

func (NullablePagination) Get added in v1.0.1

func (v NullablePagination) Get() *Pagination

func (NullablePagination) IsSet added in v1.0.1

func (v NullablePagination) IsSet() bool

func (NullablePagination) MarshalJSON added in v1.0.1

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

func (*NullablePagination) Set added in v1.0.1

func (v *NullablePagination) Set(val *Pagination)

func (*NullablePagination) UnmarshalJSON added in v1.0.1

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

func (*NullablePagination) Unset added in v1.0.1

func (v *NullablePagination) Unset()
type NullablePaginationLinks struct {
	// contains filtered or unexported fields
}
func NewNullablePaginationLinks(val *PaginationLinks) *NullablePaginationLinks

func (NullablePaginationLinks) Get

func (NullablePaginationLinks) IsSet

func (v NullablePaginationLinks) IsSet() bool

func (NullablePaginationLinks) MarshalJSON

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

func (*NullablePaginationLinks) Set

func (*NullablePaginationLinks) UnmarshalJSON

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

func (*NullablePaginationLinks) Unset

func (v *NullablePaginationLinks) Unset()

type NullablePatchRegistryInput

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

func NewNullablePatchRegistryInput

func NewNullablePatchRegistryInput(val *PatchRegistryInput) *NullablePatchRegistryInput

func (NullablePatchRegistryInput) Get

func (NullablePatchRegistryInput) IsSet

func (v NullablePatchRegistryInput) IsSet() bool

func (NullablePatchRegistryInput) MarshalJSON

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

func (*NullablePatchRegistryInput) Set

func (*NullablePatchRegistryInput) UnmarshalJSON

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

func (*NullablePatchRegistryInput) Unset

func (v *NullablePatchRegistryInput) Unset()

type NullablePatchTokenInput

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

func NewNullablePatchTokenInput

func NewNullablePatchTokenInput(val *PatchTokenInput) *NullablePatchTokenInput

func (NullablePatchTokenInput) Get

func (NullablePatchTokenInput) IsSet

func (v NullablePatchTokenInput) IsSet() bool

func (NullablePatchTokenInput) MarshalJSON

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

func (*NullablePatchTokenInput) Set

func (*NullablePatchTokenInput) UnmarshalJSON

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

func (*NullablePatchTokenInput) Unset

func (v *NullablePatchTokenInput) Unset()

type NullablePostRegistryInput

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

func NewNullablePostRegistryInput

func NewNullablePostRegistryInput(val *PostRegistryInput) *NullablePostRegistryInput

func (NullablePostRegistryInput) Get

func (NullablePostRegistryInput) IsSet

func (v NullablePostRegistryInput) IsSet() bool

func (NullablePostRegistryInput) MarshalJSON

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

func (*NullablePostRegistryInput) Set

func (*NullablePostRegistryInput) UnmarshalJSON

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

func (*NullablePostRegistryInput) Unset

func (v *NullablePostRegistryInput) Unset()

type NullablePostRegistryOutput

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

func NewNullablePostRegistryOutput

func NewNullablePostRegistryOutput(val *PostRegistryOutput) *NullablePostRegistryOutput

func (NullablePostRegistryOutput) Get

func (NullablePostRegistryOutput) IsSet

func (v NullablePostRegistryOutput) IsSet() bool

func (NullablePostRegistryOutput) MarshalJSON

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

func (*NullablePostRegistryOutput) Set

func (*NullablePostRegistryOutput) UnmarshalJSON

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

func (*NullablePostRegistryOutput) Unset

func (v *NullablePostRegistryOutput) Unset()

type NullablePostRegistryProperties

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

func (NullablePostRegistryProperties) Get

func (NullablePostRegistryProperties) IsSet

func (NullablePostRegistryProperties) MarshalJSON

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

func (*NullablePostRegistryProperties) Set

func (*NullablePostRegistryProperties) UnmarshalJSON

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

func (*NullablePostRegistryProperties) Unset

func (v *NullablePostRegistryProperties) Unset()

type NullablePostTokenInput

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

func NewNullablePostTokenInput

func NewNullablePostTokenInput(val *PostTokenInput) *NullablePostTokenInput

func (NullablePostTokenInput) Get

func (NullablePostTokenInput) IsSet

func (v NullablePostTokenInput) IsSet() bool

func (NullablePostTokenInput) MarshalJSON

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

func (*NullablePostTokenInput) Set

func (*NullablePostTokenInput) UnmarshalJSON

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

func (*NullablePostTokenInput) Unset

func (v *NullablePostTokenInput) Unset()

type NullablePostTokenOutput

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

func NewNullablePostTokenOutput

func NewNullablePostTokenOutput(val *PostTokenOutput) *NullablePostTokenOutput

func (NullablePostTokenOutput) Get

func (NullablePostTokenOutput) IsSet

func (v NullablePostTokenOutput) IsSet() bool

func (NullablePostTokenOutput) MarshalJSON

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

func (*NullablePostTokenOutput) Set

func (*NullablePostTokenOutput) UnmarshalJSON

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

func (*NullablePostTokenOutput) Unset

func (v *NullablePostTokenOutput) Unset()

type NullablePostTokenProperties

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

func NewNullablePostTokenProperties

func NewNullablePostTokenProperties(val *PostTokenProperties) *NullablePostTokenProperties

func (NullablePostTokenProperties) Get

func (NullablePostTokenProperties) IsSet

func (NullablePostTokenProperties) MarshalJSON

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

func (*NullablePostTokenProperties) Set

func (*NullablePostTokenProperties) UnmarshalJSON

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

func (*NullablePostTokenProperties) Unset

func (v *NullablePostTokenProperties) Unset()

type NullablePurl added in v1.1.0

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

func NewNullablePurl added in v1.1.0

func NewNullablePurl(val *Purl) *NullablePurl

func (NullablePurl) Get added in v1.1.0

func (v NullablePurl) Get() *Purl

func (NullablePurl) IsSet added in v1.1.0

func (v NullablePurl) IsSet() bool

func (NullablePurl) MarshalJSON added in v1.1.0

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

func (*NullablePurl) Set added in v1.1.0

func (v *NullablePurl) Set(val *Purl)

func (*NullablePurl) UnmarshalJSON added in v1.1.0

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

func (*NullablePurl) Unset added in v1.1.0

func (v *NullablePurl) Unset()

type NullablePutRegistryInput

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

func NewNullablePutRegistryInput

func NewNullablePutRegistryInput(val *PutRegistryInput) *NullablePutRegistryInput

func (NullablePutRegistryInput) Get

func (NullablePutRegistryInput) IsSet

func (v NullablePutRegistryInput) IsSet() bool

func (NullablePutRegistryInput) MarshalJSON

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

func (*NullablePutRegistryInput) Set

func (*NullablePutRegistryInput) UnmarshalJSON

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

func (*NullablePutRegistryInput) Unset

func (v *NullablePutRegistryInput) Unset()

type NullablePutRegistryOutput

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

func NewNullablePutRegistryOutput

func NewNullablePutRegistryOutput(val *PutRegistryOutput) *NullablePutRegistryOutput

func (NullablePutRegistryOutput) Get

func (NullablePutRegistryOutput) IsSet

func (v NullablePutRegistryOutput) IsSet() bool

func (NullablePutRegistryOutput) MarshalJSON

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

func (*NullablePutRegistryOutput) Set

func (*NullablePutRegistryOutput) UnmarshalJSON

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

func (*NullablePutRegistryOutput) Unset

func (v *NullablePutRegistryOutput) Unset()

type NullablePutTokenInput

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

func NewNullablePutTokenInput

func NewNullablePutTokenInput(val *PutTokenInput) *NullablePutTokenInput

func (NullablePutTokenInput) Get

func (NullablePutTokenInput) IsSet

func (v NullablePutTokenInput) IsSet() bool

func (NullablePutTokenInput) MarshalJSON

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

func (*NullablePutTokenInput) Set

func (v *NullablePutTokenInput) Set(val *PutTokenInput)

func (*NullablePutTokenInput) UnmarshalJSON

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

func (*NullablePutTokenInput) Unset

func (v *NullablePutTokenInput) Unset()

type NullablePutTokenOutput

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

func NewNullablePutTokenOutput

func NewNullablePutTokenOutput(val *PutTokenOutput) *NullablePutTokenOutput

func (NullablePutTokenOutput) Get

func (NullablePutTokenOutput) IsSet

func (v NullablePutTokenOutput) IsSet() bool

func (NullablePutTokenOutput) MarshalJSON

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

func (*NullablePutTokenOutput) Set

func (*NullablePutTokenOutput) UnmarshalJSON

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

func (*NullablePutTokenOutput) Unset

func (v *NullablePutTokenOutput) Unset()

type NullableRegistriesResponse

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

func NewNullableRegistriesResponse

func NewNullableRegistriesResponse(val *RegistriesResponse) *NullableRegistriesResponse

func (NullableRegistriesResponse) Get

func (NullableRegistriesResponse) IsSet

func (v NullableRegistriesResponse) IsSet() bool

func (NullableRegistriesResponse) MarshalJSON

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

func (*NullableRegistriesResponse) Set

func (*NullableRegistriesResponse) UnmarshalJSON

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

func (*NullableRegistriesResponse) Unset

func (v *NullableRegistriesResponse) Unset()

type NullableRegistryArtifactsReadList added in v1.1.0

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

func NewNullableRegistryArtifactsReadList added in v1.1.0

func NewNullableRegistryArtifactsReadList(val *RegistryArtifactsReadList) *NullableRegistryArtifactsReadList

func (NullableRegistryArtifactsReadList) Get added in v1.1.0

func (NullableRegistryArtifactsReadList) IsSet added in v1.1.0

func (NullableRegistryArtifactsReadList) MarshalJSON added in v1.1.0

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

func (*NullableRegistryArtifactsReadList) Set added in v1.1.0

func (*NullableRegistryArtifactsReadList) UnmarshalJSON added in v1.1.0

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

func (*NullableRegistryArtifactsReadList) Unset added in v1.1.0

type NullableRegistryFeatures added in v1.1.0

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

func NewNullableRegistryFeatures added in v1.1.0

func NewNullableRegistryFeatures(val *RegistryFeatures) *NullableRegistryFeatures

func (NullableRegistryFeatures) Get added in v1.1.0

func (NullableRegistryFeatures) IsSet added in v1.1.0

func (v NullableRegistryFeatures) IsSet() bool

func (NullableRegistryFeatures) MarshalJSON added in v1.1.0

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

func (*NullableRegistryFeatures) Set added in v1.1.0

func (*NullableRegistryFeatures) UnmarshalJSON added in v1.1.0

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

func (*NullableRegistryFeatures) Unset added in v1.1.0

func (v *NullableRegistryFeatures) Unset()

type NullableRegistryPagination added in v1.1.0

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

func NewNullableRegistryPagination added in v1.1.0

func NewNullableRegistryPagination(val *RegistryPagination) *NullableRegistryPagination

func (NullableRegistryPagination) Get added in v1.1.0

func (NullableRegistryPagination) IsSet added in v1.1.0

func (v NullableRegistryPagination) IsSet() bool

func (NullableRegistryPagination) MarshalJSON added in v1.1.0

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

func (*NullableRegistryPagination) Set added in v1.1.0

func (*NullableRegistryPagination) UnmarshalJSON added in v1.1.0

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

func (*NullableRegistryPagination) Unset added in v1.1.0

func (v *NullableRegistryPagination) Unset()

type NullableRegistryProperties

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

func NewNullableRegistryProperties

func NewNullableRegistryProperties(val *RegistryProperties) *NullableRegistryProperties

func (NullableRegistryProperties) Get

func (NullableRegistryProperties) IsSet

func (v NullableRegistryProperties) IsSet() bool

func (NullableRegistryProperties) MarshalJSON

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

func (*NullableRegistryProperties) Set

func (*NullableRegistryProperties) UnmarshalJSON

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

func (*NullableRegistryProperties) Unset

func (v *NullableRegistryProperties) Unset()

type NullableRegistryResponse

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

func NewNullableRegistryResponse

func NewNullableRegistryResponse(val *RegistryResponse) *NullableRegistryResponse

func (NullableRegistryResponse) Get

func (NullableRegistryResponse) IsSet

func (v NullableRegistryResponse) IsSet() bool

func (NullableRegistryResponse) MarshalJSON

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

func (*NullableRegistryResponse) Set

func (*NullableRegistryResponse) UnmarshalJSON

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

func (*NullableRegistryResponse) Unset

func (v *NullableRegistryResponse) Unset()

type NullableRepository added in v1.1.0

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

func NewNullableRepository added in v1.1.0

func NewNullableRepository(val *Repository) *NullableRepository

func (NullableRepository) Get added in v1.1.0

func (v NullableRepository) Get() *Repository

func (NullableRepository) IsSet added in v1.1.0

func (v NullableRepository) IsSet() bool

func (NullableRepository) MarshalJSON added in v1.1.0

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

func (*NullableRepository) Set added in v1.1.0

func (v *NullableRepository) Set(val *Repository)

func (*NullableRepository) UnmarshalJSON added in v1.1.0

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

func (*NullableRepository) Unset added in v1.1.0

func (v *NullableRepository) Unset()

type NullableRepositoryMetadata added in v1.1.0

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

func NewNullableRepositoryMetadata added in v1.1.0

func NewNullableRepositoryMetadata(val *RepositoryMetadata) *NullableRepositoryMetadata

func (NullableRepositoryMetadata) Get added in v1.1.0

func (NullableRepositoryMetadata) IsSet added in v1.1.0

func (v NullableRepositoryMetadata) IsSet() bool

func (NullableRepositoryMetadata) MarshalJSON added in v1.1.0

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

func (*NullableRepositoryMetadata) Set added in v1.1.0

func (*NullableRepositoryMetadata) UnmarshalJSON added in v1.1.0

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

func (*NullableRepositoryMetadata) Unset added in v1.1.0

func (v *NullableRepositoryMetadata) Unset()

type NullableRepositoryMetadataAllOf added in v1.1.0

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

func NewNullableRepositoryMetadataAllOf added in v1.1.0

func NewNullableRepositoryMetadataAllOf(val *RepositoryMetadataAllOf) *NullableRepositoryMetadataAllOf

func (NullableRepositoryMetadataAllOf) Get added in v1.1.0

func (NullableRepositoryMetadataAllOf) IsSet added in v1.1.0

func (NullableRepositoryMetadataAllOf) MarshalJSON added in v1.1.0

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

func (*NullableRepositoryMetadataAllOf) Set added in v1.1.0

func (*NullableRepositoryMetadataAllOf) UnmarshalJSON added in v1.1.0

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

func (*NullableRepositoryMetadataAllOf) Unset added in v1.1.0

type NullableRepositoryRead added in v1.1.0

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

func NewNullableRepositoryRead added in v1.1.0

func NewNullableRepositoryRead(val *RepositoryRead) *NullableRepositoryRead

func (NullableRepositoryRead) Get added in v1.1.0

func (NullableRepositoryRead) IsSet added in v1.1.0

func (v NullableRepositoryRead) IsSet() bool

func (NullableRepositoryRead) MarshalJSON added in v1.1.0

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

func (*NullableRepositoryRead) Set added in v1.1.0

func (*NullableRepositoryRead) UnmarshalJSON added in v1.1.0

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

func (*NullableRepositoryRead) Unset added in v1.1.0

func (v *NullableRepositoryRead) Unset()

type NullableRepositoryReadList added in v1.1.0

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

func NewNullableRepositoryReadList added in v1.1.0

func NewNullableRepositoryReadList(val *RepositoryReadList) *NullableRepositoryReadList

func (NullableRepositoryReadList) Get added in v1.1.0

func (NullableRepositoryReadList) IsSet added in v1.1.0

func (v NullableRepositoryReadList) IsSet() bool

func (NullableRepositoryReadList) MarshalJSON added in v1.1.0

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

func (*NullableRepositoryReadList) Set added in v1.1.0

func (*NullableRepositoryReadList) UnmarshalJSON added in v1.1.0

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

func (*NullableRepositoryReadList) Unset added in v1.1.0

func (v *NullableRepositoryReadList) Unset()

type NullableScope

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

func NewNullableScope

func NewNullableScope(val *Scope) *NullableScope

func (NullableScope) Get

func (v NullableScope) Get() *Scope

func (NullableScope) IsSet

func (v NullableScope) IsSet() bool

func (NullableScope) MarshalJSON

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

func (*NullableScope) Set

func (v *NullableScope) Set(val *Scope)

func (*NullableScope) UnmarshalJSON

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

func (*NullableScope) Unset

func (v *NullableScope) Unset()

type NullableStorageUsage

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

func NewNullableStorageUsage

func NewNullableStorageUsage(val *StorageUsage) *NullableStorageUsage

func (NullableStorageUsage) Get

func (NullableStorageUsage) IsSet

func (v NullableStorageUsage) IsSet() bool

func (NullableStorageUsage) MarshalJSON

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

func (*NullableStorageUsage) Set

func (v *NullableStorageUsage) Set(val *StorageUsage)

func (*NullableStorageUsage) UnmarshalJSON

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

func (*NullableStorageUsage) Unset

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

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

func NewNullableTokenProperties

func NewNullableTokenProperties(val *TokenProperties) *NullableTokenProperties

func (NullableTokenProperties) Get

func (NullableTokenProperties) IsSet

func (v NullableTokenProperties) IsSet() bool

func (NullableTokenProperties) MarshalJSON

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

func (*NullableTokenProperties) Set

func (*NullableTokenProperties) UnmarshalJSON

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

func (*NullableTokenProperties) Unset

func (v *NullableTokenProperties) Unset()

type NullableTokenResponse

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

func NewNullableTokenResponse

func NewNullableTokenResponse(val *TokenResponse) *NullableTokenResponse

func (NullableTokenResponse) Get

func (NullableTokenResponse) IsSet

func (v NullableTokenResponse) IsSet() bool

func (NullableTokenResponse) MarshalJSON

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

func (*NullableTokenResponse) Set

func (v *NullableTokenResponse) Set(val *TokenResponse)

func (*NullableTokenResponse) UnmarshalJSON

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

func (*NullableTokenResponse) Unset

func (v *NullableTokenResponse) Unset()

type NullableTokensResponse

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

func NewNullableTokensResponse

func NewNullableTokensResponse(val *TokensResponse) *NullableTokensResponse

func (NullableTokensResponse) Get

func (NullableTokensResponse) IsSet

func (v NullableTokensResponse) IsSet() bool

func (NullableTokensResponse) MarshalJSON

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

func (*NullableTokensResponse) Set

func (*NullableTokensResponse) UnmarshalJSON

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

func (*NullableTokensResponse) Unset

func (v *NullableTokensResponse) Unset()

type NullableVulnerability added in v1.1.0

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

func NewNullableVulnerability added in v1.1.0

func NewNullableVulnerability(val *Vulnerability) *NullableVulnerability

func (NullableVulnerability) Get added in v1.1.0

func (NullableVulnerability) IsSet added in v1.1.0

func (v NullableVulnerability) IsSet() bool

func (NullableVulnerability) MarshalJSON added in v1.1.0

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

func (*NullableVulnerability) Set added in v1.1.0

func (v *NullableVulnerability) Set(val *Vulnerability)

func (*NullableVulnerability) UnmarshalJSON added in v1.1.0

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

func (*NullableVulnerability) Unset added in v1.1.0

func (v *NullableVulnerability) Unset()

type NullableVulnerabilityDataSource added in v1.1.0

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

func NewNullableVulnerabilityDataSource added in v1.1.0

func NewNullableVulnerabilityDataSource(val *VulnerabilityDataSource) *NullableVulnerabilityDataSource

func (NullableVulnerabilityDataSource) Get added in v1.1.0

func (NullableVulnerabilityDataSource) IsSet added in v1.1.0

func (NullableVulnerabilityDataSource) MarshalJSON added in v1.1.0

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

func (*NullableVulnerabilityDataSource) Set added in v1.1.0

func (*NullableVulnerabilityDataSource) UnmarshalJSON added in v1.1.0

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

func (*NullableVulnerabilityDataSource) Unset added in v1.1.0

type NullableVulnerabilityMetadata added in v1.1.0

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

func NewNullableVulnerabilityMetadata added in v1.1.0

func NewNullableVulnerabilityMetadata(val *VulnerabilityMetadata) *NullableVulnerabilityMetadata

func (NullableVulnerabilityMetadata) Get added in v1.1.0

func (NullableVulnerabilityMetadata) IsSet added in v1.1.0

func (NullableVulnerabilityMetadata) MarshalJSON added in v1.1.0

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

func (*NullableVulnerabilityMetadata) Set added in v1.1.0

func (*NullableVulnerabilityMetadata) UnmarshalJSON added in v1.1.0

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

func (*NullableVulnerabilityMetadata) Unset added in v1.1.0

func (v *NullableVulnerabilityMetadata) Unset()

type NullableVulnerabilityRead added in v1.1.0

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

func NewNullableVulnerabilityRead added in v1.1.0

func NewNullableVulnerabilityRead(val *VulnerabilityRead) *NullableVulnerabilityRead

func (NullableVulnerabilityRead) Get added in v1.1.0

func (NullableVulnerabilityRead) IsSet added in v1.1.0

func (v NullableVulnerabilityRead) IsSet() bool

func (NullableVulnerabilityRead) MarshalJSON added in v1.1.0

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

func (*NullableVulnerabilityRead) Set added in v1.1.0

func (*NullableVulnerabilityRead) UnmarshalJSON added in v1.1.0

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

func (*NullableVulnerabilityRead) Unset added in v1.1.0

func (v *NullableVulnerabilityRead) Unset()

type NullableVulnerabilityReadList added in v1.1.0

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

func NewNullableVulnerabilityReadList added in v1.1.0

func NewNullableVulnerabilityReadList(val *VulnerabilityReadList) *NullableVulnerabilityReadList

func (NullableVulnerabilityReadList) Get added in v1.1.0

func (NullableVulnerabilityReadList) IsSet added in v1.1.0

func (NullableVulnerabilityReadList) MarshalJSON added in v1.1.0

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

func (*NullableVulnerabilityReadList) Set added in v1.1.0

func (*NullableVulnerabilityReadList) UnmarshalJSON added in v1.1.0

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

func (*NullableVulnerabilityReadList) Unset added in v1.1.0

func (v *NullableVulnerabilityReadList) Unset()

type NullableWeeklySchedule

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

func NewNullableWeeklySchedule

func NewNullableWeeklySchedule(val *WeeklySchedule) *NullableWeeklySchedule

func (NullableWeeklySchedule) Get

func (NullableWeeklySchedule) IsSet

func (v NullableWeeklySchedule) IsSet() bool

func (NullableWeeklySchedule) MarshalJSON

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

func (*NullableWeeklySchedule) Set

func (*NullableWeeklySchedule) UnmarshalJSON

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

func (*NullableWeeklySchedule) Unset

func (v *NullableWeeklySchedule) Unset()

type Pagination added in v1.0.1

type Pagination struct {
	// The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet).
	Offset *int32 `json:"offset,omitempty"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit) (not implemented yet, always return number of items).
	Limit *int32 `json:"limit,omitempty"`
	Links *Links `json:"_links,omitempty"`
}

Pagination struct for Pagination

func NewPagination added in v1.0.1

func NewPagination() *Pagination

NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults added in v1.0.1

func NewPaginationWithDefaults() *Pagination

NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetLimit added in v1.0.1

func (o *Pagination) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*Pagination) GetLimitOk added in v1.0.1

func (o *Pagination) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (o *Pagination) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*Pagination) GetLinksOk added in v1.1.0

func (o *Pagination) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Pagination) GetOffset added in v1.1.0

func (o *Pagination) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*Pagination) GetOffsetOk added in v1.1.0

func (o *Pagination) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Pagination) HasLimit added in v1.0.1

func (o *Pagination) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *Pagination) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Pagination) HasOffset added in v1.1.0

func (o *Pagination) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (Pagination) MarshalJSON added in v1.0.1

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

func (*Pagination) SetLimit added in v1.0.1

func (o *Pagination) SetLimit(v int32)

SetLimit sets field value

func (o *Pagination) SetLinks(v Links)

SetLinks sets field value

func (*Pagination) SetOffset added in v1.1.0

func (o *Pagination) SetOffset(v int32)

SetOffset sets field value

type PaginationLinks struct {
	Next     *string `json:"next"`
	Previous *string `json:"previous"`
	Self     *string `json:"self"`
}

PaginationLinks struct for PaginationLinks

func NewPaginationLinks(next string, previous string, self string) *PaginationLinks

NewPaginationLinks instantiates a new PaginationLinks 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 NewPaginationLinksWithDefaults

func NewPaginationLinksWithDefaults() *PaginationLinks

NewPaginationLinksWithDefaults instantiates a new PaginationLinks 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 (*PaginationLinks) GetNext

func (o *PaginationLinks) GetNext() *string

GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned

func (*PaginationLinks) GetNextOk

func (o *PaginationLinks) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginationLinks) GetPrevious

func (o *PaginationLinks) GetPrevious() *string

GetPrevious returns the Previous field value If the value is explicit nil, the zero value for string will be returned

func (*PaginationLinks) GetPreviousOk

func (o *PaginationLinks) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginationLinks) GetSelf

func (o *PaginationLinks) GetSelf() *string

GetSelf returns the Self field value If the value is explicit nil, the zero value for string will be returned

func (*PaginationLinks) GetSelfOk

func (o *PaginationLinks) GetSelfOk() (*string, bool)

GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginationLinks) HasNext

func (o *PaginationLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginationLinks) HasPrevious

func (o *PaginationLinks) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginationLinks) HasSelf

func (o *PaginationLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (PaginationLinks) MarshalJSON

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

func (*PaginationLinks) SetNext

func (o *PaginationLinks) SetNext(v string)

SetNext sets field value

func (*PaginationLinks) SetPrevious

func (o *PaginationLinks) SetPrevious(v string)

SetPrevious sets field value

func (*PaginationLinks) SetSelf

func (o *PaginationLinks) SetSelf(v string)

SetSelf sets field value

type PatchRegistryInput

type PatchRegistryInput struct {
	GarbageCollectionSchedule *WeeklySchedule   `json:"garbageCollectionSchedule,omitempty"`
	Features                  *RegistryFeatures `json:"features,omitempty"`
}

PatchRegistryInput struct for PatchRegistryInput

func NewPatchRegistryInput

func NewPatchRegistryInput() *PatchRegistryInput

NewPatchRegistryInput instantiates a new PatchRegistryInput 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 NewPatchRegistryInputWithDefaults

func NewPatchRegistryInputWithDefaults() *PatchRegistryInput

NewPatchRegistryInputWithDefaults instantiates a new PatchRegistryInput 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 (*PatchRegistryInput) GetFeatures added in v1.1.0

func (o *PatchRegistryInput) GetFeatures() *RegistryFeatures

GetFeatures returns the Features field value If the value is explicit nil, the zero value for RegistryFeatures will be returned

func (*PatchRegistryInput) GetFeaturesOk added in v1.1.0

func (o *PatchRegistryInput) GetFeaturesOk() (*RegistryFeatures, bool)

GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchRegistryInput) GetGarbageCollectionSchedule

func (o *PatchRegistryInput) GetGarbageCollectionSchedule() *WeeklySchedule

GetGarbageCollectionSchedule returns the GarbageCollectionSchedule field value If the value is explicit nil, the zero value for WeeklySchedule will be returned

func (*PatchRegistryInput) GetGarbageCollectionScheduleOk

func (o *PatchRegistryInput) GetGarbageCollectionScheduleOk() (*WeeklySchedule, bool)

GetGarbageCollectionScheduleOk returns a tuple with the GarbageCollectionSchedule field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchRegistryInput) HasFeatures added in v1.1.0

func (o *PatchRegistryInput) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*PatchRegistryInput) HasGarbageCollectionSchedule

func (o *PatchRegistryInput) HasGarbageCollectionSchedule() bool

HasGarbageCollectionSchedule returns a boolean if a field has been set.

func (PatchRegistryInput) MarshalJSON

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

func (*PatchRegistryInput) SetFeatures added in v1.1.0

func (o *PatchRegistryInput) SetFeatures(v RegistryFeatures)

SetFeatures sets field value

func (*PatchRegistryInput) SetGarbageCollectionSchedule

func (o *PatchRegistryInput) SetGarbageCollectionSchedule(v WeeklySchedule)

SetGarbageCollectionSchedule sets field value

type PatchTokenInput

type PatchTokenInput struct {
	ExpiryDate *IonosTime `json:"expiryDate,omitempty"`
	Scopes     *[]Scope   `json:"scopes,omitempty"`
	Status     *string    `json:"status,omitempty"`
}

PatchTokenInput struct for PatchTokenInput

func NewPatchTokenInput

func NewPatchTokenInput() *PatchTokenInput

NewPatchTokenInput instantiates a new PatchTokenInput 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 NewPatchTokenInputWithDefaults

func NewPatchTokenInputWithDefaults() *PatchTokenInput

NewPatchTokenInputWithDefaults instantiates a new PatchTokenInput 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 (*PatchTokenInput) GetExpiryDate

func (o *PatchTokenInput) GetExpiryDate() *time.Time

GetExpiryDate returns the ExpiryDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*PatchTokenInput) GetExpiryDateOk

func (o *PatchTokenInput) GetExpiryDateOk() (*time.Time, bool)

GetExpiryDateOk returns a tuple with the ExpiryDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchTokenInput) GetScopes

func (o *PatchTokenInput) GetScopes() *[]Scope

GetScopes returns the Scopes field value If the value is explicit nil, the zero value for []Scope will be returned

func (*PatchTokenInput) GetScopesOk

func (o *PatchTokenInput) GetScopesOk() (*[]Scope, bool)

GetScopesOk returns a tuple with the Scopes field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchTokenInput) GetStatus

func (o *PatchTokenInput) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*PatchTokenInput) GetStatusOk

func (o *PatchTokenInput) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchTokenInput) HasExpiryDate

func (o *PatchTokenInput) HasExpiryDate() bool

HasExpiryDate returns a boolean if a field has been set.

func (*PatchTokenInput) HasScopes

func (o *PatchTokenInput) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*PatchTokenInput) HasStatus

func (o *PatchTokenInput) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (PatchTokenInput) MarshalJSON

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

func (*PatchTokenInput) SetExpiryDate

func (o *PatchTokenInput) SetExpiryDate(v time.Time)

SetExpiryDate sets field value

func (*PatchTokenInput) SetScopes

func (o *PatchTokenInput) SetScopes(v []Scope)

SetScopes sets field value

func (*PatchTokenInput) SetStatus

func (o *PatchTokenInput) SetStatus(v string)

SetStatus sets field value

type PostRegistryInput

type PostRegistryInput struct {
	Properties *PostRegistryProperties `json:"properties"`
}

PostRegistryInput struct for PostRegistryInput

func NewPostRegistryInput

func NewPostRegistryInput(properties PostRegistryProperties) *PostRegistryInput

NewPostRegistryInput instantiates a new PostRegistryInput 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 NewPostRegistryInputWithDefaults

func NewPostRegistryInputWithDefaults() *PostRegistryInput

NewPostRegistryInputWithDefaults instantiates a new PostRegistryInput 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 (*PostRegistryInput) GetProperties

func (o *PostRegistryInput) GetProperties() *PostRegistryProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PostRegistryProperties will be returned

func (*PostRegistryInput) GetPropertiesOk

func (o *PostRegistryInput) GetPropertiesOk() (*PostRegistryProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryInput) HasProperties

func (o *PostRegistryInput) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PostRegistryInput) MarshalJSON

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

func (*PostRegistryInput) SetProperties

func (o *PostRegistryInput) SetProperties(v PostRegistryProperties)

SetProperties sets field value

type PostRegistryOutput

type PostRegistryOutput struct {
	Href       *string              `json:"href,omitempty"`
	Id         *string              `json:"id,omitempty"`
	Metadata   *ApiResourceMetadata `json:"metadata"`
	Properties *RegistryProperties  `json:"properties"`
	Type       *string              `json:"type,omitempty"`
}

PostRegistryOutput struct for PostRegistryOutput

func NewPostRegistryOutput

func NewPostRegistryOutput(metadata NullableApiResourceMetadata, properties NullableRegistryProperties) *PostRegistryOutput

NewPostRegistryOutput instantiates a new PostRegistryOutput 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 NewPostRegistryOutputWithDefaults

func NewPostRegistryOutputWithDefaults() *PostRegistryOutput

NewPostRegistryOutputWithDefaults instantiates a new PostRegistryOutput 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 (*PostRegistryOutput) GetHref

func (o *PostRegistryOutput) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*PostRegistryOutput) GetHrefOk

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryOutput) GetId

func (o *PostRegistryOutput) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*PostRegistryOutput) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryOutput) GetMetadata

func (o *PostRegistryOutput) GetMetadata() *ApiResourceMetadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ApiResourceMetadata will be returned

func (*PostRegistryOutput) GetMetadataOk

func (o *PostRegistryOutput) GetMetadataOk() (*ApiResourceMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryOutput) GetProperties

func (o *PostRegistryOutput) GetProperties() *RegistryProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for RegistryProperties will be returned

func (*PostRegistryOutput) GetPropertiesOk

func (o *PostRegistryOutput) GetPropertiesOk() (*RegistryProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryOutput) GetType

func (o *PostRegistryOutput) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*PostRegistryOutput) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryOutput) HasHref

func (o *PostRegistryOutput) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*PostRegistryOutput) HasId

func (o *PostRegistryOutput) HasId() bool

HasId returns a boolean if a field has been set.

func (*PostRegistryOutput) HasMetadata

func (o *PostRegistryOutput) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PostRegistryOutput) HasProperties

func (o *PostRegistryOutput) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*PostRegistryOutput) HasType

func (o *PostRegistryOutput) HasType() bool

HasType returns a boolean if a field has been set.

func (PostRegistryOutput) MarshalJSON

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

func (*PostRegistryOutput) SetHref

func (o *PostRegistryOutput) SetHref(v string)

SetHref sets field value

func (*PostRegistryOutput) SetId

func (o *PostRegistryOutput) SetId(v string)

SetId sets field value

func (*PostRegistryOutput) SetMetadata

func (o *PostRegistryOutput) SetMetadata(v ApiResourceMetadata)

SetMetadata sets field value

func (*PostRegistryOutput) SetProperties

func (o *PostRegistryOutput) SetProperties(v RegistryProperties)

SetProperties sets field value

func (*PostRegistryOutput) SetType

func (o *PostRegistryOutput) SetType(v string)

SetType sets field value

type PostRegistryProperties

type PostRegistryProperties struct {
	GarbageCollectionSchedule *WeeklySchedule   `json:"garbageCollectionSchedule,omitempty"`
	Location                  *string           `json:"location"`
	Name                      *string           `json:"name"`
	Features                  *RegistryFeatures `json:"features,omitempty"`
}

PostRegistryProperties struct for PostRegistryProperties

func NewPostRegistryProperties

func NewPostRegistryProperties(location string, name string) *PostRegistryProperties

NewPostRegistryProperties instantiates a new PostRegistryProperties 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 NewPostRegistryPropertiesWithDefaults

func NewPostRegistryPropertiesWithDefaults() *PostRegistryProperties

NewPostRegistryPropertiesWithDefaults instantiates a new PostRegistryProperties 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 (*PostRegistryProperties) GetFeatures added in v1.1.0

func (o *PostRegistryProperties) GetFeatures() *RegistryFeatures

GetFeatures returns the Features field value If the value is explicit nil, the zero value for RegistryFeatures will be returned

func (*PostRegistryProperties) GetFeaturesOk added in v1.1.0

func (o *PostRegistryProperties) GetFeaturesOk() (*RegistryFeatures, bool)

GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryProperties) GetGarbageCollectionSchedule

func (o *PostRegistryProperties) GetGarbageCollectionSchedule() *WeeklySchedule

GetGarbageCollectionSchedule returns the GarbageCollectionSchedule field value If the value is explicit nil, the zero value for WeeklySchedule will be returned

func (*PostRegistryProperties) GetGarbageCollectionScheduleOk

func (o *PostRegistryProperties) GetGarbageCollectionScheduleOk() (*WeeklySchedule, bool)

GetGarbageCollectionScheduleOk returns a tuple with the GarbageCollectionSchedule field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryProperties) GetLocation

func (o *PostRegistryProperties) GetLocation() *string

GetLocation returns the Location field value If the value is explicit nil, the zero value for string will be returned

func (*PostRegistryProperties) GetLocationOk

func (o *PostRegistryProperties) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryProperties) GetName

func (o *PostRegistryProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*PostRegistryProperties) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostRegistryProperties) HasFeatures added in v1.1.0

func (o *PostRegistryProperties) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*PostRegistryProperties) HasGarbageCollectionSchedule

func (o *PostRegistryProperties) HasGarbageCollectionSchedule() bool

HasGarbageCollectionSchedule returns a boolean if a field has been set.

func (*PostRegistryProperties) HasLocation

func (o *PostRegistryProperties) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*PostRegistryProperties) HasName

func (o *PostRegistryProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (PostRegistryProperties) MarshalJSON

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

func (*PostRegistryProperties) SetFeatures added in v1.1.0

func (o *PostRegistryProperties) SetFeatures(v RegistryFeatures)

SetFeatures sets field value

func (*PostRegistryProperties) SetGarbageCollectionSchedule

func (o *PostRegistryProperties) SetGarbageCollectionSchedule(v WeeklySchedule)

SetGarbageCollectionSchedule sets field value

func (*PostRegistryProperties) SetLocation

func (o *PostRegistryProperties) SetLocation(v string)

SetLocation sets field value

func (*PostRegistryProperties) SetName

func (o *PostRegistryProperties) SetName(v string)

SetName sets field value

type PostTokenInput

type PostTokenInput struct {
	Properties *PostTokenProperties `json:"properties"`
}

PostTokenInput struct for PostTokenInput

func NewPostTokenInput

func NewPostTokenInput(properties PostTokenProperties) *PostTokenInput

NewPostTokenInput instantiates a new PostTokenInput 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 NewPostTokenInputWithDefaults

func NewPostTokenInputWithDefaults() *PostTokenInput

NewPostTokenInputWithDefaults instantiates a new PostTokenInput 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 (*PostTokenInput) GetProperties

func (o *PostTokenInput) GetProperties() *PostTokenProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PostTokenProperties will be returned

func (*PostTokenInput) GetPropertiesOk

func (o *PostTokenInput) GetPropertiesOk() (*PostTokenProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenInput) HasProperties

func (o *PostTokenInput) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PostTokenInput) MarshalJSON

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

func (*PostTokenInput) SetProperties

func (o *PostTokenInput) SetProperties(v PostTokenProperties)

SetProperties sets field value

type PostTokenOutput

type PostTokenOutput struct {
	Href       *string              `json:"href,omitempty"`
	Id         *string              `json:"id,omitempty"`
	Metadata   *ApiResourceMetadata `json:"metadata"`
	Properties *TokenProperties     `json:"properties"`
	Type       *string              `json:"type,omitempty"`
}

PostTokenOutput struct for PostTokenOutput

func NewPostTokenOutput

func NewPostTokenOutput(metadata NullableApiResourceMetadata, properties NullableTokenProperties) *PostTokenOutput

NewPostTokenOutput instantiates a new PostTokenOutput 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 NewPostTokenOutputWithDefaults

func NewPostTokenOutputWithDefaults() *PostTokenOutput

NewPostTokenOutputWithDefaults instantiates a new PostTokenOutput 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 (*PostTokenOutput) GetHref

func (o *PostTokenOutput) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*PostTokenOutput) GetHrefOk

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenOutput) GetId

func (o *PostTokenOutput) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*PostTokenOutput) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenOutput) GetMetadata

func (o *PostTokenOutput) GetMetadata() *ApiResourceMetadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ApiResourceMetadata will be returned

func (*PostTokenOutput) GetMetadataOk

func (o *PostTokenOutput) GetMetadataOk() (*ApiResourceMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenOutput) GetProperties

func (o *PostTokenOutput) GetProperties() *TokenProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for TokenProperties will be returned

func (*PostTokenOutput) GetPropertiesOk

func (o *PostTokenOutput) GetPropertiesOk() (*TokenProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenOutput) GetType

func (o *PostTokenOutput) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*PostTokenOutput) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenOutput) HasHref

func (o *PostTokenOutput) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*PostTokenOutput) HasId

func (o *PostTokenOutput) HasId() bool

HasId returns a boolean if a field has been set.

func (*PostTokenOutput) HasMetadata

func (o *PostTokenOutput) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PostTokenOutput) HasProperties

func (o *PostTokenOutput) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*PostTokenOutput) HasType

func (o *PostTokenOutput) HasType() bool

HasType returns a boolean if a field has been set.

func (PostTokenOutput) MarshalJSON

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

func (*PostTokenOutput) SetHref

func (o *PostTokenOutput) SetHref(v string)

SetHref sets field value

func (*PostTokenOutput) SetId

func (o *PostTokenOutput) SetId(v string)

SetId sets field value

func (*PostTokenOutput) SetMetadata

func (o *PostTokenOutput) SetMetadata(v ApiResourceMetadata)

SetMetadata sets field value

func (*PostTokenOutput) SetProperties

func (o *PostTokenOutput) SetProperties(v TokenProperties)

SetProperties sets field value

func (*PostTokenOutput) SetType

func (o *PostTokenOutput) SetType(v string)

SetType sets field value

type PostTokenProperties

type PostTokenProperties struct {
	ExpiryDate *IonosTime `json:"expiryDate,omitempty"`
	Name       *string    `json:"name"`
	Scopes     *[]Scope   `json:"scopes,omitempty"`
	Status     *string    `json:"status,omitempty"`
}

PostTokenProperties struct for PostTokenProperties

func NewPostTokenProperties

func NewPostTokenProperties(name string) *PostTokenProperties

NewPostTokenProperties instantiates a new PostTokenProperties 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 NewPostTokenPropertiesWithDefaults

func NewPostTokenPropertiesWithDefaults() *PostTokenProperties

NewPostTokenPropertiesWithDefaults instantiates a new PostTokenProperties 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 (*PostTokenProperties) GetExpiryDate

func (o *PostTokenProperties) GetExpiryDate() *time.Time

GetExpiryDate returns the ExpiryDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*PostTokenProperties) GetExpiryDateOk

func (o *PostTokenProperties) GetExpiryDateOk() (*time.Time, bool)

GetExpiryDateOk returns a tuple with the ExpiryDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenProperties) GetName

func (o *PostTokenProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*PostTokenProperties) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenProperties) GetScopes

func (o *PostTokenProperties) GetScopes() *[]Scope

GetScopes returns the Scopes field value If the value is explicit nil, the zero value for []Scope will be returned

func (*PostTokenProperties) GetScopesOk

func (o *PostTokenProperties) GetScopesOk() (*[]Scope, bool)

GetScopesOk returns a tuple with the Scopes field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenProperties) GetStatus

func (o *PostTokenProperties) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*PostTokenProperties) GetStatusOk

func (o *PostTokenProperties) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PostTokenProperties) HasExpiryDate

func (o *PostTokenProperties) HasExpiryDate() bool

HasExpiryDate returns a boolean if a field has been set.

func (*PostTokenProperties) HasName

func (o *PostTokenProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*PostTokenProperties) HasScopes

func (o *PostTokenProperties) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*PostTokenProperties) HasStatus

func (o *PostTokenProperties) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (PostTokenProperties) MarshalJSON

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

func (*PostTokenProperties) SetExpiryDate

func (o *PostTokenProperties) SetExpiryDate(v time.Time)

SetExpiryDate sets field value

func (*PostTokenProperties) SetName

func (o *PostTokenProperties) SetName(v string)

SetName sets field value

func (*PostTokenProperties) SetScopes

func (o *PostTokenProperties) SetScopes(v []Scope)

SetScopes sets field value

func (*PostTokenProperties) SetStatus

func (o *PostTokenProperties) SetStatus(v string)

SetStatus sets field value

type Purl added in v1.1.0

type Purl struct {
	// The affected package type
	Type *string `json:"type"`
	// The affected package name
	Name *string `json:"name"`
	// The affected package version
	Version *string `json:"version"`
}

Purl struct for Purl

func NewPurl added in v1.1.0

func NewPurl(type_ string, name string, version string) *Purl

NewPurl instantiates a new Purl 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 NewPurlWithDefaults added in v1.1.0

func NewPurlWithDefaults() *Purl

NewPurlWithDefaults instantiates a new Purl 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 (*Purl) GetName added in v1.1.0

func (o *Purl) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Purl) GetNameOk added in v1.1.0

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Purl) GetType added in v1.1.0

func (o *Purl) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*Purl) GetTypeOk added in v1.1.0

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Purl) GetVersion added in v1.1.0

func (o *Purl) GetVersion() *string

GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned

func (*Purl) GetVersionOk added in v1.1.0

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

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Purl) HasName added in v1.1.0

func (o *Purl) HasName() bool

HasName returns a boolean if a field has been set.

func (*Purl) HasType added in v1.1.0

func (o *Purl) HasType() bool

HasType returns a boolean if a field has been set.

func (*Purl) HasVersion added in v1.1.0

func (o *Purl) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Purl) MarshalJSON added in v1.1.0

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

func (*Purl) SetName added in v1.1.0

func (o *Purl) SetName(v string)

SetName sets field value

func (*Purl) SetType added in v1.1.0

func (o *Purl) SetType(v string)

SetType sets field value

func (*Purl) SetVersion added in v1.1.0

func (o *Purl) SetVersion(v string)

SetVersion sets field value

type PutRegistryInput

type PutRegistryInput struct {
	Properties *PostRegistryProperties `json:"properties"`
}

PutRegistryInput struct for PutRegistryInput

func NewPutRegistryInput

func NewPutRegistryInput(properties PostRegistryProperties) *PutRegistryInput

NewPutRegistryInput instantiates a new PutRegistryInput 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 NewPutRegistryInputWithDefaults

func NewPutRegistryInputWithDefaults() *PutRegistryInput

NewPutRegistryInputWithDefaults instantiates a new PutRegistryInput 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 (*PutRegistryInput) GetProperties

func (o *PutRegistryInput) GetProperties() *PostRegistryProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PostRegistryProperties will be returned

func (*PutRegistryInput) GetPropertiesOk

func (o *PutRegistryInput) GetPropertiesOk() (*PostRegistryProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutRegistryInput) HasProperties

func (o *PutRegistryInput) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PutRegistryInput) MarshalJSON

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

func (*PutRegistryInput) SetProperties

func (o *PutRegistryInput) SetProperties(v PostRegistryProperties)

SetProperties sets field value

type PutRegistryOutput

type PutRegistryOutput struct {
	Href       *string              `json:"href,omitempty"`
	Id         *string              `json:"id,omitempty"`
	Metadata   *ApiResourceMetadata `json:"metadata"`
	Properties *RegistryProperties  `json:"properties"`
	Type       *string              `json:"type,omitempty"`
}

PutRegistryOutput struct for PutRegistryOutput

func NewPutRegistryOutput

func NewPutRegistryOutput(metadata NullableApiResourceMetadata, properties NullableRegistryProperties) *PutRegistryOutput

NewPutRegistryOutput instantiates a new PutRegistryOutput 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 NewPutRegistryOutputWithDefaults

func NewPutRegistryOutputWithDefaults() *PutRegistryOutput

NewPutRegistryOutputWithDefaults instantiates a new PutRegistryOutput 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 (*PutRegistryOutput) GetHref

func (o *PutRegistryOutput) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*PutRegistryOutput) GetHrefOk

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutRegistryOutput) GetId

func (o *PutRegistryOutput) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*PutRegistryOutput) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutRegistryOutput) GetMetadata

func (o *PutRegistryOutput) GetMetadata() *ApiResourceMetadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ApiResourceMetadata will be returned

func (*PutRegistryOutput) GetMetadataOk

func (o *PutRegistryOutput) GetMetadataOk() (*ApiResourceMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutRegistryOutput) GetProperties

func (o *PutRegistryOutput) GetProperties() *RegistryProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for RegistryProperties will be returned

func (*PutRegistryOutput) GetPropertiesOk

func (o *PutRegistryOutput) GetPropertiesOk() (*RegistryProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutRegistryOutput) GetType

func (o *PutRegistryOutput) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*PutRegistryOutput) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutRegistryOutput) HasHref

func (o *PutRegistryOutput) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*PutRegistryOutput) HasId

func (o *PutRegistryOutput) HasId() bool

HasId returns a boolean if a field has been set.

func (*PutRegistryOutput) HasMetadata

func (o *PutRegistryOutput) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PutRegistryOutput) HasProperties

func (o *PutRegistryOutput) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*PutRegistryOutput) HasType

func (o *PutRegistryOutput) HasType() bool

HasType returns a boolean if a field has been set.

func (PutRegistryOutput) MarshalJSON

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

func (*PutRegistryOutput) SetHref

func (o *PutRegistryOutput) SetHref(v string)

SetHref sets field value

func (*PutRegistryOutput) SetId

func (o *PutRegistryOutput) SetId(v string)

SetId sets field value

func (*PutRegistryOutput) SetMetadata

func (o *PutRegistryOutput) SetMetadata(v ApiResourceMetadata)

SetMetadata sets field value

func (*PutRegistryOutput) SetProperties

func (o *PutRegistryOutput) SetProperties(v RegistryProperties)

SetProperties sets field value

func (*PutRegistryOutput) SetType

func (o *PutRegistryOutput) SetType(v string)

SetType sets field value

type PutTokenInput

type PutTokenInput struct {
	Properties *PostTokenProperties `json:"properties"`
}

PutTokenInput struct for PutTokenInput

func NewPutTokenInput

func NewPutTokenInput(properties PostTokenProperties) *PutTokenInput

NewPutTokenInput instantiates a new PutTokenInput 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 NewPutTokenInputWithDefaults

func NewPutTokenInputWithDefaults() *PutTokenInput

NewPutTokenInputWithDefaults instantiates a new PutTokenInput 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 (*PutTokenInput) GetProperties

func (o *PutTokenInput) GetProperties() *PostTokenProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PostTokenProperties will be returned

func (*PutTokenInput) GetPropertiesOk

func (o *PutTokenInput) GetPropertiesOk() (*PostTokenProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutTokenInput) HasProperties

func (o *PutTokenInput) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PutTokenInput) MarshalJSON

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

func (*PutTokenInput) SetProperties

func (o *PutTokenInput) SetProperties(v PostTokenProperties)

SetProperties sets field value

type PutTokenOutput

type PutTokenOutput struct {
	Href       *string              `json:"href,omitempty"`
	Id         *string              `json:"id,omitempty"`
	Metadata   *ApiResourceMetadata `json:"metadata"`
	Properties *TokenProperties     `json:"properties"`
	Type       *string              `json:"type,omitempty"`
}

PutTokenOutput struct for PutTokenOutput

func NewPutTokenOutput

func NewPutTokenOutput(metadata NullableApiResourceMetadata, properties NullableTokenProperties) *PutTokenOutput

NewPutTokenOutput instantiates a new PutTokenOutput 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 NewPutTokenOutputWithDefaults

func NewPutTokenOutputWithDefaults() *PutTokenOutput

NewPutTokenOutputWithDefaults instantiates a new PutTokenOutput 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 (*PutTokenOutput) GetHref

func (o *PutTokenOutput) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*PutTokenOutput) GetHrefOk

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutTokenOutput) GetId

func (o *PutTokenOutput) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*PutTokenOutput) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutTokenOutput) GetMetadata

func (o *PutTokenOutput) GetMetadata() *ApiResourceMetadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ApiResourceMetadata will be returned

func (*PutTokenOutput) GetMetadataOk

func (o *PutTokenOutput) GetMetadataOk() (*ApiResourceMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutTokenOutput) GetProperties

func (o *PutTokenOutput) GetProperties() *TokenProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for TokenProperties will be returned

func (*PutTokenOutput) GetPropertiesOk

func (o *PutTokenOutput) GetPropertiesOk() (*TokenProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutTokenOutput) GetType

func (o *PutTokenOutput) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*PutTokenOutput) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutTokenOutput) HasHref

func (o *PutTokenOutput) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*PutTokenOutput) HasId

func (o *PutTokenOutput) HasId() bool

HasId returns a boolean if a field has been set.

func (*PutTokenOutput) HasMetadata

func (o *PutTokenOutput) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PutTokenOutput) HasProperties

func (o *PutTokenOutput) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*PutTokenOutput) HasType

func (o *PutTokenOutput) HasType() bool

HasType returns a boolean if a field has been set.

func (PutTokenOutput) MarshalJSON

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

func (*PutTokenOutput) SetHref

func (o *PutTokenOutput) SetHref(v string)

SetHref sets field value

func (*PutTokenOutput) SetId

func (o *PutTokenOutput) SetId(v string)

SetId sets field value

func (*PutTokenOutput) SetMetadata

func (o *PutTokenOutput) SetMetadata(v ApiResourceMetadata)

SetMetadata sets field value

func (*PutTokenOutput) SetProperties

func (o *PutTokenOutput) SetProperties(v TokenProperties)

SetProperties sets field value

func (*PutTokenOutput) SetType

func (o *PutTokenOutput) SetType(v string)

SetType sets field value

type RegistriesApiService

type RegistriesApiService service

RegistriesApiService RegistriesApi service

func (*RegistriesApiService) RegistriesDelete

func (a *RegistriesApiService) RegistriesDelete(ctx _context.Context, registryId string) ApiRegistriesDeleteRequest

* RegistriesDelete Delete registry * * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param registryId The unique ID of the registry * @return ApiRegistriesDeleteRequest

func (*RegistriesApiService) RegistriesDeleteExecute

func (a *RegistriesApiService) RegistriesDeleteExecute(r ApiRegistriesDeleteRequest) (*APIResponse, error)

* Execute executes the request

func (*RegistriesApiService) RegistriesFindById

func (a *RegistriesApiService) RegistriesFindById(ctx _context.Context, registryId string) ApiRegistriesFindByIdRequest

* RegistriesFindById Get a registry * Get all information for a specific container registry * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param registryId The unique ID of the registry * @return ApiRegistriesFindByIdRequest

func (*RegistriesApiService) RegistriesFindByIdExecute

* Execute executes the request * @return RegistryResponse

func (*RegistriesApiService) RegistriesGet

* RegistriesGet List all container registries * List all managed container registries for your account * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiRegistriesGetRequest

func (*RegistriesApiService) RegistriesGetExecute

* Execute executes the request * @return RegistriesResponse

func (*RegistriesApiService) RegistriesPatch

func (a *RegistriesApiService) RegistriesPatch(ctx _context.Context, registryId string) ApiRegistriesPatchRequest
  • RegistriesPatch Update the properties of a registry
  • Update the properties of a registry

- "garbageCollectionSchedule" time and days of the week for runs

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param registryId The unique ID of the registry
  • @return ApiRegistriesPatchRequest

func (*RegistriesApiService) RegistriesPatchExecute

* Execute executes the request * @return RegistryResponse

func (*RegistriesApiService) RegistriesPost

  • RegistriesPost Create container registry
  • Create a registry to hold container images or OCI compliant artifacts

- "name" must have passed validation - "location" must be one of the available location IDs - "garbageCollectionSchedule" time and days of the week for runs - "features": "vulnerabilityScanning" default is enabled

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

func (*RegistriesApiService) RegistriesPostExecute

* Execute executes the request * @return PostRegistryOutput

func (*RegistriesApiService) RegistriesPut

func (a *RegistriesApiService) RegistriesPut(ctx _context.Context, registryId string) ApiRegistriesPutRequest
  • RegistriesPut Create or replace a container registry
  • Create/replace a registry to hold container images or OCI compliant

artifacts **On create** - "name" must have passed validation - "location" must be one of the available location IDs **On update** - "name" cannot be changed - "location" cannot be changed **On create or update** - "garbageCollectionSchedule": time and days of the week for runs

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param registryId The unique ID of the registry
  • @return ApiRegistriesPutRequest

func (*RegistriesApiService) RegistriesPutExecute

* Execute executes the request * @return PutRegistryOutput

type RegistriesResponse

type RegistriesResponse struct {
	Links      *PaginationLinks    `json:"_links"`
	Href       *string             `json:"href,omitempty"`
	Id         *string             `json:"id,omitempty"`
	Items      *[]RegistryResponse `json:"items,omitempty"`
	Pagination *RegistryPagination `json:"pagination"`
	Type       *string             `json:"type,omitempty"`
}

RegistriesResponse struct for RegistriesResponse

func NewRegistriesResponse

func NewRegistriesResponse(links PaginationLinks, pagination RegistryPagination) *RegistriesResponse

NewRegistriesResponse instantiates a new RegistriesResponse 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 NewRegistriesResponseWithDefaults

func NewRegistriesResponseWithDefaults() *RegistriesResponse

NewRegistriesResponseWithDefaults instantiates a new RegistriesResponse 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 (*RegistriesResponse) GetHref

func (o *RegistriesResponse) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RegistriesResponse) GetHrefOk

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistriesResponse) GetId

func (o *RegistriesResponse) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RegistriesResponse) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistriesResponse) GetItems

func (o *RegistriesResponse) GetItems() *[]RegistryResponse

GetItems returns the Items field value If the value is explicit nil, the zero value for []RegistryResponse will be returned

func (*RegistriesResponse) GetItemsOk

func (o *RegistriesResponse) GetItemsOk() (*[]RegistryResponse, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (o *RegistriesResponse) GetLinks() *PaginationLinks

GetLinks returns the Links field value If the value is explicit nil, the zero value for PaginationLinks will be returned

func (*RegistriesResponse) GetLinksOk

func (o *RegistriesResponse) GetLinksOk() (*PaginationLinks, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistriesResponse) GetPagination added in v1.0.1

func (o *RegistriesResponse) GetPagination() *RegistryPagination

GetPagination returns the Pagination field value If the value is explicit nil, the zero value for RegistryPagination will be returned

func (*RegistriesResponse) GetPaginationOk added in v1.0.1

func (o *RegistriesResponse) GetPaginationOk() (*RegistryPagination, bool)

GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistriesResponse) GetType

func (o *RegistriesResponse) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RegistriesResponse) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistriesResponse) HasHref

func (o *RegistriesResponse) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RegistriesResponse) HasId

func (o *RegistriesResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*RegistriesResponse) HasItems

func (o *RegistriesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (o *RegistriesResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RegistriesResponse) HasPagination added in v1.0.1

func (o *RegistriesResponse) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (*RegistriesResponse) HasType

func (o *RegistriesResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (RegistriesResponse) MarshalJSON

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

func (*RegistriesResponse) SetHref

func (o *RegistriesResponse) SetHref(v string)

SetHref sets field value

func (*RegistriesResponse) SetId

func (o *RegistriesResponse) SetId(v string)

SetId sets field value

func (*RegistriesResponse) SetItems

func (o *RegistriesResponse) SetItems(v []RegistryResponse)

SetItems sets field value

func (o *RegistriesResponse) SetLinks(v PaginationLinks)

SetLinks sets field value

func (*RegistriesResponse) SetPagination added in v1.0.1

func (o *RegistriesResponse) SetPagination(v RegistryPagination)

SetPagination sets field value

func (*RegistriesResponse) SetType

func (o *RegistriesResponse) SetType(v string)

SetType sets field value

type RegistryArtifactsReadList added in v1.1.0

type RegistryArtifactsReadList struct {
	Id    *string         `json:"id"`
	Type  *string         `json:"type"`
	Href  *string         `json:"href"`
	Items *[]ArtifactRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet).
	Offset *int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit) (not implemented yet, always return number of items).
	Limit *int32 `json:"limit"`
	Links *Links `json:"_links"`
}

RegistryArtifactsReadList struct for RegistryArtifactsReadList

func NewRegistryArtifactsReadList added in v1.1.0

func NewRegistryArtifactsReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *RegistryArtifactsReadList

NewRegistryArtifactsReadList instantiates a new RegistryArtifactsReadList 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 NewRegistryArtifactsReadListWithDefaults added in v1.1.0

func NewRegistryArtifactsReadListWithDefaults() *RegistryArtifactsReadList

NewRegistryArtifactsReadListWithDefaults instantiates a new RegistryArtifactsReadList 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 (*RegistryArtifactsReadList) GetHref added in v1.1.0

func (o *RegistryArtifactsReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryArtifactsReadList) GetHrefOk added in v1.1.0

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryArtifactsReadList) GetId added in v1.1.0

func (o *RegistryArtifactsReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryArtifactsReadList) GetIdOk added in v1.1.0

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryArtifactsReadList) GetItems added in v1.1.0

func (o *RegistryArtifactsReadList) GetItems() *[]ArtifactRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []ArtifactRead will be returned

func (*RegistryArtifactsReadList) GetItemsOk added in v1.1.0

func (o *RegistryArtifactsReadList) GetItemsOk() (*[]ArtifactRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryArtifactsReadList) GetLimit added in v1.1.0

func (o *RegistryArtifactsReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*RegistryArtifactsReadList) GetLimitOk added in v1.1.0

func (o *RegistryArtifactsReadList) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (o *RegistryArtifactsReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*RegistryArtifactsReadList) GetLinksOk added in v1.1.0

func (o *RegistryArtifactsReadList) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryArtifactsReadList) GetOffset added in v1.1.0

func (o *RegistryArtifactsReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*RegistryArtifactsReadList) GetOffsetOk added in v1.1.0

func (o *RegistryArtifactsReadList) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryArtifactsReadList) GetType added in v1.1.0

func (o *RegistryArtifactsReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryArtifactsReadList) GetTypeOk added in v1.1.0

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryArtifactsReadList) HasHref added in v1.1.0

func (o *RegistryArtifactsReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RegistryArtifactsReadList) HasId added in v1.1.0

func (o *RegistryArtifactsReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*RegistryArtifactsReadList) HasItems added in v1.1.0

func (o *RegistryArtifactsReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*RegistryArtifactsReadList) HasLimit added in v1.1.0

func (o *RegistryArtifactsReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *RegistryArtifactsReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RegistryArtifactsReadList) HasOffset added in v1.1.0

func (o *RegistryArtifactsReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*RegistryArtifactsReadList) HasType added in v1.1.0

func (o *RegistryArtifactsReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (RegistryArtifactsReadList) MarshalJSON added in v1.1.0

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

func (*RegistryArtifactsReadList) SetHref added in v1.1.0

func (o *RegistryArtifactsReadList) SetHref(v string)

SetHref sets field value

func (*RegistryArtifactsReadList) SetId added in v1.1.0

func (o *RegistryArtifactsReadList) SetId(v string)

SetId sets field value

func (*RegistryArtifactsReadList) SetItems added in v1.1.0

func (o *RegistryArtifactsReadList) SetItems(v []ArtifactRead)

SetItems sets field value

func (*RegistryArtifactsReadList) SetLimit added in v1.1.0

func (o *RegistryArtifactsReadList) SetLimit(v int32)

SetLimit sets field value

func (o *RegistryArtifactsReadList) SetLinks(v Links)

SetLinks sets field value

func (*RegistryArtifactsReadList) SetOffset added in v1.1.0

func (o *RegistryArtifactsReadList) SetOffset(v int32)

SetOffset sets field value

func (*RegistryArtifactsReadList) SetType added in v1.1.0

func (o *RegistryArtifactsReadList) SetType(v string)

SetType sets field value

type RegistryFeatures added in v1.1.0

type RegistryFeatures struct {
	VulnerabilityScanning *FeatureVulnerabilityScanning `json:"vulnerabilityScanning,omitempty"`
}

RegistryFeatures Optional registry features. __Note__: some may incur additional charges - see individual feature descriptions for details

func NewRegistryFeatures added in v1.1.0

func NewRegistryFeatures() *RegistryFeatures

NewRegistryFeatures instantiates a new RegistryFeatures 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 NewRegistryFeaturesWithDefaults added in v1.1.0

func NewRegistryFeaturesWithDefaults() *RegistryFeatures

NewRegistryFeaturesWithDefaults instantiates a new RegistryFeatures 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 (*RegistryFeatures) GetVulnerabilityScanning added in v1.1.0

func (o *RegistryFeatures) GetVulnerabilityScanning() *FeatureVulnerabilityScanning

GetVulnerabilityScanning returns the VulnerabilityScanning field value If the value is explicit nil, the zero value for FeatureVulnerabilityScanning will be returned

func (*RegistryFeatures) GetVulnerabilityScanningOk added in v1.1.0

func (o *RegistryFeatures) GetVulnerabilityScanningOk() (*FeatureVulnerabilityScanning, bool)

GetVulnerabilityScanningOk returns a tuple with the VulnerabilityScanning field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryFeatures) HasVulnerabilityScanning added in v1.1.0

func (o *RegistryFeatures) HasVulnerabilityScanning() bool

HasVulnerabilityScanning returns a boolean if a field has been set.

func (RegistryFeatures) MarshalJSON added in v1.1.0

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

func (*RegistryFeatures) SetVulnerabilityScanning added in v1.1.0

func (o *RegistryFeatures) SetVulnerabilityScanning(v FeatureVulnerabilityScanning)

SetVulnerabilityScanning sets field value

type RegistryPagination added in v1.1.0

type RegistryPagination struct {
	// The maximum number of elements to return (used together with pagination.token for pagination)
	Limit *int32 `json:"limit"`
	// An opaque token used to iterate the set of results (used together with limit for pagination)
	Token *string `json:"token"`
}

RegistryPagination struct for RegistryPagination

func NewRegistryPagination added in v1.1.0

func NewRegistryPagination(limit int32, token string) *RegistryPagination

NewRegistryPagination instantiates a new RegistryPagination 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 NewRegistryPaginationWithDefaults added in v1.1.0

func NewRegistryPaginationWithDefaults() *RegistryPagination

NewRegistryPaginationWithDefaults instantiates a new RegistryPagination 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 (*RegistryPagination) GetLimit added in v1.1.0

func (o *RegistryPagination) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*RegistryPagination) GetLimitOk added in v1.1.0

func (o *RegistryPagination) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryPagination) GetToken added in v1.1.0

func (o *RegistryPagination) GetToken() *string

GetToken returns the Token field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryPagination) GetTokenOk added in v1.1.0

func (o *RegistryPagination) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryPagination) HasLimit added in v1.1.0

func (o *RegistryPagination) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*RegistryPagination) HasToken added in v1.1.0

func (o *RegistryPagination) HasToken() bool

HasToken returns a boolean if a field has been set.

func (RegistryPagination) MarshalJSON added in v1.1.0

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

func (*RegistryPagination) SetLimit added in v1.1.0

func (o *RegistryPagination) SetLimit(v int32)

SetLimit sets field value

func (*RegistryPagination) SetToken added in v1.1.0

func (o *RegistryPagination) SetToken(v string)

SetToken sets field value

type RegistryProperties

type RegistryProperties struct {
	GarbageCollectionSchedule *WeeklySchedule   `json:"garbageCollectionSchedule,omitempty"`
	Hostname                  *string           `json:"hostname,omitempty"`
	Location                  *string           `json:"location"`
	Name                      *string           `json:"name"`
	StorageUsage              *StorageUsage     `json:"storageUsage,omitempty"`
	Features                  *RegistryFeatures `json:"features,omitempty"`
}

RegistryProperties struct for RegistryProperties

func NewRegistryProperties

func NewRegistryProperties(location string, name string) *RegistryProperties

NewRegistryProperties instantiates a new RegistryProperties 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 NewRegistryPropertiesWithDefaults

func NewRegistryPropertiesWithDefaults() *RegistryProperties

NewRegistryPropertiesWithDefaults instantiates a new RegistryProperties 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 (*RegistryProperties) GetFeatures added in v1.1.0

func (o *RegistryProperties) GetFeatures() *RegistryFeatures

GetFeatures returns the Features field value If the value is explicit nil, the zero value for RegistryFeatures will be returned

func (*RegistryProperties) GetFeaturesOk added in v1.1.0

func (o *RegistryProperties) GetFeaturesOk() (*RegistryFeatures, bool)

GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryProperties) GetGarbageCollectionSchedule

func (o *RegistryProperties) GetGarbageCollectionSchedule() *WeeklySchedule

GetGarbageCollectionSchedule returns the GarbageCollectionSchedule field value If the value is explicit nil, the zero value for WeeklySchedule will be returned

func (*RegistryProperties) GetGarbageCollectionScheduleOk

func (o *RegistryProperties) GetGarbageCollectionScheduleOk() (*WeeklySchedule, bool)

GetGarbageCollectionScheduleOk returns a tuple with the GarbageCollectionSchedule field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryProperties) GetHostname

func (o *RegistryProperties) GetHostname() *string

GetHostname returns the Hostname field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryProperties) GetHostnameOk

func (o *RegistryProperties) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryProperties) GetLocation

func (o *RegistryProperties) GetLocation() *string

GetLocation returns the Location field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryProperties) GetLocationOk

func (o *RegistryProperties) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryProperties) GetName

func (o *RegistryProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryProperties) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryProperties) GetStorageUsage

func (o *RegistryProperties) GetStorageUsage() *StorageUsage

GetStorageUsage returns the StorageUsage field value If the value is explicit nil, the zero value for StorageUsage will be returned

func (*RegistryProperties) GetStorageUsageOk

func (o *RegistryProperties) GetStorageUsageOk() (*StorageUsage, bool)

GetStorageUsageOk returns a tuple with the StorageUsage field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryProperties) HasFeatures added in v1.1.0

func (o *RegistryProperties) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*RegistryProperties) HasGarbageCollectionSchedule

func (o *RegistryProperties) HasGarbageCollectionSchedule() bool

HasGarbageCollectionSchedule returns a boolean if a field has been set.

func (*RegistryProperties) HasHostname

func (o *RegistryProperties) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*RegistryProperties) HasLocation

func (o *RegistryProperties) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*RegistryProperties) HasName

func (o *RegistryProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*RegistryProperties) HasStorageUsage

func (o *RegistryProperties) HasStorageUsage() bool

HasStorageUsage returns a boolean if a field has been set.

func (RegistryProperties) MarshalJSON

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

func (*RegistryProperties) SetFeatures added in v1.1.0

func (o *RegistryProperties) SetFeatures(v RegistryFeatures)

SetFeatures sets field value

func (*RegistryProperties) SetGarbageCollectionSchedule

func (o *RegistryProperties) SetGarbageCollectionSchedule(v WeeklySchedule)

SetGarbageCollectionSchedule sets field value

func (*RegistryProperties) SetHostname

func (o *RegistryProperties) SetHostname(v string)

SetHostname sets field value

func (*RegistryProperties) SetLocation

func (o *RegistryProperties) SetLocation(v string)

SetLocation sets field value

func (*RegistryProperties) SetName

func (o *RegistryProperties) SetName(v string)

SetName sets field value

func (*RegistryProperties) SetStorageUsage

func (o *RegistryProperties) SetStorageUsage(v StorageUsage)

SetStorageUsage sets field value

type RegistryResponse

type RegistryResponse struct {
	Href       *string              `json:"href,omitempty"`
	Id         *string              `json:"id,omitempty"`
	Metadata   *ApiResourceMetadata `json:"metadata"`
	Properties *RegistryProperties  `json:"properties"`
	Type       *string              `json:"type,omitempty"`
}

RegistryResponse struct for RegistryResponse

func NewRegistryResponse

func NewRegistryResponse(metadata NullableApiResourceMetadata, properties NullableRegistryProperties) *RegistryResponse

NewRegistryResponse instantiates a new RegistryResponse 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 NewRegistryResponseWithDefaults

func NewRegistryResponseWithDefaults() *RegistryResponse

NewRegistryResponseWithDefaults instantiates a new RegistryResponse 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 (*RegistryResponse) GetHref

func (o *RegistryResponse) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryResponse) GetHrefOk

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryResponse) GetId

func (o *RegistryResponse) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryResponse) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryResponse) GetMetadata

func (o *RegistryResponse) GetMetadata() *ApiResourceMetadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ApiResourceMetadata will be returned

func (*RegistryResponse) GetMetadataOk

func (o *RegistryResponse) GetMetadataOk() (*ApiResourceMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryResponse) GetProperties

func (o *RegistryResponse) GetProperties() *RegistryProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for RegistryProperties will be returned

func (*RegistryResponse) GetPropertiesOk

func (o *RegistryResponse) GetPropertiesOk() (*RegistryProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryResponse) GetType

func (o *RegistryResponse) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RegistryResponse) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegistryResponse) HasHref

func (o *RegistryResponse) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RegistryResponse) HasId

func (o *RegistryResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*RegistryResponse) HasMetadata

func (o *RegistryResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RegistryResponse) HasProperties

func (o *RegistryResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*RegistryResponse) HasType

func (o *RegistryResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (RegistryResponse) MarshalJSON

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

func (*RegistryResponse) SetHref

func (o *RegistryResponse) SetHref(v string)

SetHref sets field value

func (*RegistryResponse) SetId

func (o *RegistryResponse) SetId(v string)

SetId sets field value

func (*RegistryResponse) SetMetadata

func (o *RegistryResponse) SetMetadata(v ApiResourceMetadata)

SetMetadata sets field value

func (*RegistryResponse) SetProperties

func (o *RegistryResponse) SetProperties(v RegistryProperties)

SetProperties sets field value

func (*RegistryResponse) SetType

func (o *RegistryResponse) SetType(v string)

SetType sets field value

type RepositoriesApiService

type RepositoriesApiService service

RepositoriesApiService RepositoriesApi service

func (*RepositoriesApiService) RegistriesRepositoriesDelete

func (a *RepositoriesApiService) RegistriesRepositoriesDelete(ctx _context.Context, registryId string, repositoryName string) ApiRegistriesRepositoriesDeleteRequest

- RegistriesRepositoriesDelete Delete repository

- Delete all repository contents

The registry V2 API allows manifests and blobs to be deleted individually but it is not possible to remove an entire repository.
This operation is provided for convenience

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

- @param registryId The unique ID of the registry

- @param repositoryName The name of the repository

- @return ApiRegistriesRepositoriesDeleteRequest

func (*RepositoriesApiService) RegistriesRepositoriesDeleteExecute

func (a *RepositoriesApiService) RegistriesRepositoriesDeleteExecute(r ApiRegistriesRepositoriesDeleteRequest) (*APIResponse, error)

* Execute executes the request

func (*RepositoriesApiService) RegistriesRepositoriesFindByName added in v1.1.0

func (a *RepositoriesApiService) RegistriesRepositoriesFindByName(ctx _context.Context, registryId string, repositoryName string) ApiRegistriesRepositoriesFindByNameRequest

* RegistriesRepositoriesFindByName Retrieve Repository * Returns the Repository by Name. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param registryId The ID (UUID) of the Registry. * @param repositoryName The Name of the Repository that should be retrieved. * @return ApiRegistriesRepositoriesFindByNameRequest

func (*RepositoriesApiService) RegistriesRepositoriesFindByNameExecute added in v1.1.0

func (a *RepositoriesApiService) RegistriesRepositoriesFindByNameExecute(r ApiRegistriesRepositoriesFindByNameRequest) (RepositoryRead, *APIResponse, error)

* Execute executes the request * @return RepositoryRead

func (*RepositoriesApiService) RegistriesRepositoriesGet added in v1.1.0

func (a *RepositoriesApiService) RegistriesRepositoriesGet(ctx _context.Context, registryId string) ApiRegistriesRepositoriesGetRequest
  • RegistriesRepositoriesGet Retrieve all Repositories
  • This endpoint enables retrieving all Repositories using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param registryId The ID (UUID) of the Registry.
  • @return ApiRegistriesRepositoriesGetRequest

func (*RepositoriesApiService) RegistriesRepositoriesGetExecute added in v1.1.0

* Execute executes the request * @return RepositoryReadList

type Repository added in v1.1.0

type Repository struct {
	Name *string `json:"name"`
}

Repository struct for Repository

func NewRepository added in v1.1.0

func NewRepository(name string) *Repository

NewRepository instantiates a new Repository 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 NewRepositoryWithDefaults added in v1.1.0

func NewRepositoryWithDefaults() *Repository

NewRepositoryWithDefaults instantiates a new Repository 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 (*Repository) GetName added in v1.1.0

func (o *Repository) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Repository) GetNameOk added in v1.1.0

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Repository) HasName added in v1.1.0

func (o *Repository) HasName() bool

HasName returns a boolean if a field has been set.

func (Repository) MarshalJSON added in v1.1.0

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

func (*Repository) SetName added in v1.1.0

func (o *Repository) SetName(v string)

SetName sets field value

type RepositoryMetadata added in v1.1.0

type RepositoryMetadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy       *string `json:"createdBy,omitempty"`
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy       *string `json:"lastModifiedBy,omitempty"`
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN   *string    `json:"resourceURN,omitempty"`
	ArtifactCount *int64     `json:"artifactCount"`
	PullCount     *int64     `json:"pullCount"`
	PushCount     *int64     `json:"pushCount"`
	LastPulledAt  *IonosTime `json:"lastPulledAt,omitempty"`
	LastPushedAt  *IonosTime `json:"lastPushedAt,omitempty"`
	// The CVSS vulnerability severity rating
	LastSeverity *string `json:"lastSeverity,omitempty"`
}

RepositoryMetadata struct for RepositoryMetadata

func NewRepositoryMetadata added in v1.1.0

func NewRepositoryMetadata(artifactCount int64, pullCount int64, pushCount int64) *RepositoryMetadata

NewRepositoryMetadata instantiates a new RepositoryMetadata 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 NewRepositoryMetadataWithDefaults added in v1.1.0

func NewRepositoryMetadataWithDefaults() *RepositoryMetadata

NewRepositoryMetadataWithDefaults instantiates a new RepositoryMetadata 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 (*RepositoryMetadata) GetArtifactCount added in v1.1.0

func (o *RepositoryMetadata) GetArtifactCount() *int64

GetArtifactCount returns the ArtifactCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*RepositoryMetadata) GetArtifactCountOk added in v1.1.0

func (o *RepositoryMetadata) GetArtifactCountOk() (*int64, bool)

GetArtifactCountOk returns a tuple with the ArtifactCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetCreatedBy added in v1.1.0

func (o *RepositoryMetadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryMetadata) GetCreatedByOk added in v1.1.0

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

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetCreatedByUserId added in v1.1.0

func (o *RepositoryMetadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryMetadata) GetCreatedByUserIdOk added in v1.1.0

func (o *RepositoryMetadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetCreatedDate added in v1.1.0

func (o *RepositoryMetadata) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*RepositoryMetadata) GetCreatedDateOk added in v1.1.0

func (o *RepositoryMetadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetLastModifiedBy added in v1.1.0

func (o *RepositoryMetadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryMetadata) GetLastModifiedByOk added in v1.1.0

func (o *RepositoryMetadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetLastModifiedByUserId added in v1.1.0

func (o *RepositoryMetadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryMetadata) GetLastModifiedByUserIdOk added in v1.1.0

func (o *RepositoryMetadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetLastModifiedDate added in v1.1.0

func (o *RepositoryMetadata) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*RepositoryMetadata) GetLastModifiedDateOk added in v1.1.0

func (o *RepositoryMetadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetLastPulledAt added in v1.1.0

func (o *RepositoryMetadata) GetLastPulledAt() *time.Time

GetLastPulledAt returns the LastPulledAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*RepositoryMetadata) GetLastPulledAtOk added in v1.1.0

func (o *RepositoryMetadata) GetLastPulledAtOk() (*time.Time, bool)

GetLastPulledAtOk returns a tuple with the LastPulledAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetLastPushedAt added in v1.1.0

func (o *RepositoryMetadata) GetLastPushedAt() *time.Time

GetLastPushedAt returns the LastPushedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*RepositoryMetadata) GetLastPushedAtOk added in v1.1.0

func (o *RepositoryMetadata) GetLastPushedAtOk() (*time.Time, bool)

GetLastPushedAtOk returns a tuple with the LastPushedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetLastSeverity added in v1.1.0

func (o *RepositoryMetadata) GetLastSeverity() *string

GetLastSeverity returns the LastSeverity field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryMetadata) GetLastSeverityOk added in v1.1.0

func (o *RepositoryMetadata) GetLastSeverityOk() (*string, bool)

GetLastSeverityOk returns a tuple with the LastSeverity field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetPullCount added in v1.1.0

func (o *RepositoryMetadata) GetPullCount() *int64

GetPullCount returns the PullCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*RepositoryMetadata) GetPullCountOk added in v1.1.0

func (o *RepositoryMetadata) GetPullCountOk() (*int64, bool)

GetPullCountOk returns a tuple with the PullCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetPushCount added in v1.1.0

func (o *RepositoryMetadata) GetPushCount() *int64

GetPushCount returns the PushCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*RepositoryMetadata) GetPushCountOk added in v1.1.0

func (o *RepositoryMetadata) GetPushCountOk() (*int64, bool)

GetPushCountOk returns a tuple with the PushCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) GetResourceURN added in v1.1.0

func (o *RepositoryMetadata) GetResourceURN() *string

GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryMetadata) GetResourceURNOk added in v1.1.0

func (o *RepositoryMetadata) GetResourceURNOk() (*string, bool)

GetResourceURNOk returns a tuple with the ResourceURN field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadata) HasArtifactCount added in v1.1.0

func (o *RepositoryMetadata) HasArtifactCount() bool

HasArtifactCount returns a boolean if a field has been set.

func (*RepositoryMetadata) HasCreatedBy added in v1.1.0

func (o *RepositoryMetadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*RepositoryMetadata) HasCreatedByUserId added in v1.1.0

func (o *RepositoryMetadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*RepositoryMetadata) HasCreatedDate added in v1.1.0

func (o *RepositoryMetadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*RepositoryMetadata) HasLastModifiedBy added in v1.1.0

func (o *RepositoryMetadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*RepositoryMetadata) HasLastModifiedByUserId added in v1.1.0

func (o *RepositoryMetadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*RepositoryMetadata) HasLastModifiedDate added in v1.1.0

func (o *RepositoryMetadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*RepositoryMetadata) HasLastPulledAt added in v1.1.0

func (o *RepositoryMetadata) HasLastPulledAt() bool

HasLastPulledAt returns a boolean if a field has been set.

func (*RepositoryMetadata) HasLastPushedAt added in v1.1.0

func (o *RepositoryMetadata) HasLastPushedAt() bool

HasLastPushedAt returns a boolean if a field has been set.

func (*RepositoryMetadata) HasLastSeverity added in v1.1.0

func (o *RepositoryMetadata) HasLastSeverity() bool

HasLastSeverity returns a boolean if a field has been set.

func (*RepositoryMetadata) HasPullCount added in v1.1.0

func (o *RepositoryMetadata) HasPullCount() bool

HasPullCount returns a boolean if a field has been set.

func (*RepositoryMetadata) HasPushCount added in v1.1.0

func (o *RepositoryMetadata) HasPushCount() bool

HasPushCount returns a boolean if a field has been set.

func (*RepositoryMetadata) HasResourceURN added in v1.1.0

func (o *RepositoryMetadata) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (RepositoryMetadata) MarshalJSON added in v1.1.0

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

func (*RepositoryMetadata) SetArtifactCount added in v1.1.0

func (o *RepositoryMetadata) SetArtifactCount(v int64)

SetArtifactCount sets field value

func (*RepositoryMetadata) SetCreatedBy added in v1.1.0

func (o *RepositoryMetadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*RepositoryMetadata) SetCreatedByUserId added in v1.1.0

func (o *RepositoryMetadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*RepositoryMetadata) SetCreatedDate added in v1.1.0

func (o *RepositoryMetadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*RepositoryMetadata) SetLastModifiedBy added in v1.1.0

func (o *RepositoryMetadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*RepositoryMetadata) SetLastModifiedByUserId added in v1.1.0

func (o *RepositoryMetadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*RepositoryMetadata) SetLastModifiedDate added in v1.1.0

func (o *RepositoryMetadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*RepositoryMetadata) SetLastPulledAt added in v1.1.0

func (o *RepositoryMetadata) SetLastPulledAt(v time.Time)

SetLastPulledAt sets field value

func (*RepositoryMetadata) SetLastPushedAt added in v1.1.0

func (o *RepositoryMetadata) SetLastPushedAt(v time.Time)

SetLastPushedAt sets field value

func (*RepositoryMetadata) SetLastSeverity added in v1.1.0

func (o *RepositoryMetadata) SetLastSeverity(v string)

SetLastSeverity sets field value

func (*RepositoryMetadata) SetPullCount added in v1.1.0

func (o *RepositoryMetadata) SetPullCount(v int64)

SetPullCount sets field value

func (*RepositoryMetadata) SetPushCount added in v1.1.0

func (o *RepositoryMetadata) SetPushCount(v int64)

SetPushCount sets field value

func (*RepositoryMetadata) SetResourceURN added in v1.1.0

func (o *RepositoryMetadata) SetResourceURN(v string)

SetResourceURN sets field value

type RepositoryMetadataAllOf added in v1.1.0

type RepositoryMetadataAllOf struct {
	ArtifactCount *int64     `json:"artifactCount"`
	PullCount     *int64     `json:"pullCount"`
	PushCount     *int64     `json:"pushCount"`
	LastPulledAt  *IonosTime `json:"lastPulledAt,omitempty"`
	LastPushedAt  *IonosTime `json:"lastPushedAt,omitempty"`
	// The CVSS vulnerability severity rating
	LastSeverity *string `json:"lastSeverity,omitempty"`
}

RepositoryMetadataAllOf struct for RepositoryMetadataAllOf

func NewRepositoryMetadataAllOf added in v1.1.0

func NewRepositoryMetadataAllOf(artifactCount int64, pullCount int64, pushCount int64) *RepositoryMetadataAllOf

NewRepositoryMetadataAllOf instantiates a new RepositoryMetadataAllOf 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 NewRepositoryMetadataAllOfWithDefaults added in v1.1.0

func NewRepositoryMetadataAllOfWithDefaults() *RepositoryMetadataAllOf

NewRepositoryMetadataAllOfWithDefaults instantiates a new RepositoryMetadataAllOf 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 (*RepositoryMetadataAllOf) GetArtifactCount added in v1.1.0

func (o *RepositoryMetadataAllOf) GetArtifactCount() *int64

GetArtifactCount returns the ArtifactCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*RepositoryMetadataAllOf) GetArtifactCountOk added in v1.1.0

func (o *RepositoryMetadataAllOf) GetArtifactCountOk() (*int64, bool)

GetArtifactCountOk returns a tuple with the ArtifactCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadataAllOf) GetLastPulledAt added in v1.1.0

func (o *RepositoryMetadataAllOf) GetLastPulledAt() *time.Time

GetLastPulledAt returns the LastPulledAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*RepositoryMetadataAllOf) GetLastPulledAtOk added in v1.1.0

func (o *RepositoryMetadataAllOf) GetLastPulledAtOk() (*time.Time, bool)

GetLastPulledAtOk returns a tuple with the LastPulledAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadataAllOf) GetLastPushedAt added in v1.1.0

func (o *RepositoryMetadataAllOf) GetLastPushedAt() *time.Time

GetLastPushedAt returns the LastPushedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*RepositoryMetadataAllOf) GetLastPushedAtOk added in v1.1.0

func (o *RepositoryMetadataAllOf) GetLastPushedAtOk() (*time.Time, bool)

GetLastPushedAtOk returns a tuple with the LastPushedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadataAllOf) GetLastSeverity added in v1.1.0

func (o *RepositoryMetadataAllOf) GetLastSeverity() *string

GetLastSeverity returns the LastSeverity field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryMetadataAllOf) GetLastSeverityOk added in v1.1.0

func (o *RepositoryMetadataAllOf) GetLastSeverityOk() (*string, bool)

GetLastSeverityOk returns a tuple with the LastSeverity field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadataAllOf) GetPullCount added in v1.1.0

func (o *RepositoryMetadataAllOf) GetPullCount() *int64

GetPullCount returns the PullCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*RepositoryMetadataAllOf) GetPullCountOk added in v1.1.0

func (o *RepositoryMetadataAllOf) GetPullCountOk() (*int64, bool)

GetPullCountOk returns a tuple with the PullCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadataAllOf) GetPushCount added in v1.1.0

func (o *RepositoryMetadataAllOf) GetPushCount() *int64

GetPushCount returns the PushCount field value If the value is explicit nil, the zero value for int64 will be returned

func (*RepositoryMetadataAllOf) GetPushCountOk added in v1.1.0

func (o *RepositoryMetadataAllOf) GetPushCountOk() (*int64, bool)

GetPushCountOk returns a tuple with the PushCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryMetadataAllOf) HasArtifactCount added in v1.1.0

func (o *RepositoryMetadataAllOf) HasArtifactCount() bool

HasArtifactCount returns a boolean if a field has been set.

func (*RepositoryMetadataAllOf) HasLastPulledAt added in v1.1.0

func (o *RepositoryMetadataAllOf) HasLastPulledAt() bool

HasLastPulledAt returns a boolean if a field has been set.

func (*RepositoryMetadataAllOf) HasLastPushedAt added in v1.1.0

func (o *RepositoryMetadataAllOf) HasLastPushedAt() bool

HasLastPushedAt returns a boolean if a field has been set.

func (*RepositoryMetadataAllOf) HasLastSeverity added in v1.1.0

func (o *RepositoryMetadataAllOf) HasLastSeverity() bool

HasLastSeverity returns a boolean if a field has been set.

func (*RepositoryMetadataAllOf) HasPullCount added in v1.1.0

func (o *RepositoryMetadataAllOf) HasPullCount() bool

HasPullCount returns a boolean if a field has been set.

func (*RepositoryMetadataAllOf) HasPushCount added in v1.1.0

func (o *RepositoryMetadataAllOf) HasPushCount() bool

HasPushCount returns a boolean if a field has been set.

func (RepositoryMetadataAllOf) MarshalJSON added in v1.1.0

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

func (*RepositoryMetadataAllOf) SetArtifactCount added in v1.1.0

func (o *RepositoryMetadataAllOf) SetArtifactCount(v int64)

SetArtifactCount sets field value

func (*RepositoryMetadataAllOf) SetLastPulledAt added in v1.1.0

func (o *RepositoryMetadataAllOf) SetLastPulledAt(v time.Time)

SetLastPulledAt sets field value

func (*RepositoryMetadataAllOf) SetLastPushedAt added in v1.1.0

func (o *RepositoryMetadataAllOf) SetLastPushedAt(v time.Time)

SetLastPushedAt sets field value

func (*RepositoryMetadataAllOf) SetLastSeverity added in v1.1.0

func (o *RepositoryMetadataAllOf) SetLastSeverity(v string)

SetLastSeverity sets field value

func (*RepositoryMetadataAllOf) SetPullCount added in v1.1.0

func (o *RepositoryMetadataAllOf) SetPullCount(v int64)

SetPullCount sets field value

func (*RepositoryMetadataAllOf) SetPushCount added in v1.1.0

func (o *RepositoryMetadataAllOf) SetPushCount(v int64)

SetPushCount sets field value

type RepositoryRead added in v1.1.0

type RepositoryRead struct {
	Id         *string             `json:"id"`
	Type       *string             `json:"type"`
	Href       *string             `json:"href"`
	Metadata   *RepositoryMetadata `json:"metadata"`
	Properties *Repository         `json:"properties"`
}

RepositoryRead struct for RepositoryRead

func NewRepositoryRead added in v1.1.0

func NewRepositoryRead(id string, type_ string, href string, metadata RepositoryMetadata, properties Repository) *RepositoryRead

NewRepositoryRead instantiates a new RepositoryRead 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 NewRepositoryReadWithDefaults added in v1.1.0

func NewRepositoryReadWithDefaults() *RepositoryRead

NewRepositoryReadWithDefaults instantiates a new RepositoryRead 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 (*RepositoryRead) GetHref added in v1.1.0

func (o *RepositoryRead) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryRead) GetHrefOk added in v1.1.0

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryRead) GetId added in v1.1.0

func (o *RepositoryRead) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryRead) GetIdOk added in v1.1.0

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryRead) GetMetadata added in v1.1.0

func (o *RepositoryRead) GetMetadata() *RepositoryMetadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for RepositoryMetadata will be returned

func (*RepositoryRead) GetMetadataOk added in v1.1.0

func (o *RepositoryRead) GetMetadataOk() (*RepositoryMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryRead) GetProperties added in v1.1.0

func (o *RepositoryRead) GetProperties() *Repository

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Repository will be returned

func (*RepositoryRead) GetPropertiesOk added in v1.1.0

func (o *RepositoryRead) GetPropertiesOk() (*Repository, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryRead) GetType added in v1.1.0

func (o *RepositoryRead) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryRead) GetTypeOk added in v1.1.0

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryRead) HasHref added in v1.1.0

func (o *RepositoryRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RepositoryRead) HasId added in v1.1.0

func (o *RepositoryRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*RepositoryRead) HasMetadata added in v1.1.0

func (o *RepositoryRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RepositoryRead) HasProperties added in v1.1.0

func (o *RepositoryRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*RepositoryRead) HasType added in v1.1.0

func (o *RepositoryRead) HasType() bool

HasType returns a boolean if a field has been set.

func (RepositoryRead) MarshalJSON added in v1.1.0

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

func (*RepositoryRead) SetHref added in v1.1.0

func (o *RepositoryRead) SetHref(v string)

SetHref sets field value

func (*RepositoryRead) SetId added in v1.1.0

func (o *RepositoryRead) SetId(v string)

SetId sets field value

func (*RepositoryRead) SetMetadata added in v1.1.0

func (o *RepositoryRead) SetMetadata(v RepositoryMetadata)

SetMetadata sets field value

func (*RepositoryRead) SetProperties added in v1.1.0

func (o *RepositoryRead) SetProperties(v Repository)

SetProperties sets field value

func (*RepositoryRead) SetType added in v1.1.0

func (o *RepositoryRead) SetType(v string)

SetType sets field value

type RepositoryReadList added in v1.1.0

type RepositoryReadList struct {
	Id    *string           `json:"id"`
	Type  *string           `json:"type"`
	Href  *string           `json:"href"`
	Items *[]RepositoryRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet).
	Offset *int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit) (not implemented yet, always return number of items).
	Limit *int32 `json:"limit"`
	Links *Links `json:"_links"`
}

RepositoryReadList struct for RepositoryReadList

func NewRepositoryReadList added in v1.1.0

func NewRepositoryReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *RepositoryReadList

NewRepositoryReadList instantiates a new RepositoryReadList 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 NewRepositoryReadListWithDefaults added in v1.1.0

func NewRepositoryReadListWithDefaults() *RepositoryReadList

NewRepositoryReadListWithDefaults instantiates a new RepositoryReadList 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 (*RepositoryReadList) GetHref added in v1.1.0

func (o *RepositoryReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryReadList) GetHrefOk added in v1.1.0

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryReadList) GetId added in v1.1.0

func (o *RepositoryReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryReadList) GetIdOk added in v1.1.0

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryReadList) GetItems added in v1.1.0

func (o *RepositoryReadList) GetItems() *[]RepositoryRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []RepositoryRead will be returned

func (*RepositoryReadList) GetItemsOk added in v1.1.0

func (o *RepositoryReadList) GetItemsOk() (*[]RepositoryRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryReadList) GetLimit added in v1.1.0

func (o *RepositoryReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*RepositoryReadList) GetLimitOk added in v1.1.0

func (o *RepositoryReadList) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (o *RepositoryReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*RepositoryReadList) GetLinksOk added in v1.1.0

func (o *RepositoryReadList) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryReadList) GetOffset added in v1.1.0

func (o *RepositoryReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*RepositoryReadList) GetOffsetOk added in v1.1.0

func (o *RepositoryReadList) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryReadList) GetType added in v1.1.0

func (o *RepositoryReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RepositoryReadList) GetTypeOk added in v1.1.0

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RepositoryReadList) HasHref added in v1.1.0

func (o *RepositoryReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RepositoryReadList) HasId added in v1.1.0

func (o *RepositoryReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*RepositoryReadList) HasItems added in v1.1.0

func (o *RepositoryReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*RepositoryReadList) HasLimit added in v1.1.0

func (o *RepositoryReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *RepositoryReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RepositoryReadList) HasOffset added in v1.1.0

func (o *RepositoryReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*RepositoryReadList) HasType added in v1.1.0

func (o *RepositoryReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (RepositoryReadList) MarshalJSON added in v1.1.0

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

func (*RepositoryReadList) SetHref added in v1.1.0

func (o *RepositoryReadList) SetHref(v string)

SetHref sets field value

func (*RepositoryReadList) SetId added in v1.1.0

func (o *RepositoryReadList) SetId(v string)

SetId sets field value

func (*RepositoryReadList) SetItems added in v1.1.0

func (o *RepositoryReadList) SetItems(v []RepositoryRead)

SetItems sets field value

func (*RepositoryReadList) SetLimit added in v1.1.0

func (o *RepositoryReadList) SetLimit(v int32)

SetLimit sets field value

func (o *RepositoryReadList) SetLinks(v Links)

SetLinks sets field value

func (*RepositoryReadList) SetOffset added in v1.1.0

func (o *RepositoryReadList) SetOffset(v int32)

SetOffset sets field value

func (*RepositoryReadList) SetType added in v1.1.0

func (o *RepositoryReadList) SetType(v string)

SetType sets field value

type Scope

type Scope struct {
	Actions *[]string `json:"actions"`
	Name    *string   `json:"name"`
	Type    *string   `json:"type"`
}

Scope struct for Scope

func NewScope

func NewScope(actions []string, name string, type_ string) *Scope

NewScope instantiates a new Scope 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 NewScopeWithDefaults

func NewScopeWithDefaults() *Scope

NewScopeWithDefaults instantiates a new Scope 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 (*Scope) GetActions

func (o *Scope) GetActions() *[]string

GetActions returns the Actions field value If the value is explicit nil, the zero value for []string will be returned

func (*Scope) GetActionsOk

func (o *Scope) GetActionsOk() (*[]string, bool)

GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Scope) GetName

func (o *Scope) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Scope) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Scope) GetType

func (o *Scope) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*Scope) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Scope) HasActions

func (o *Scope) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*Scope) HasName

func (o *Scope) HasName() bool

HasName returns a boolean if a field has been set.

func (*Scope) HasType

func (o *Scope) HasType() bool

HasType returns a boolean if a field has been set.

func (Scope) MarshalJSON

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

func (*Scope) SetActions

func (o *Scope) SetActions(v []string)

SetActions sets field value

func (*Scope) SetName

func (o *Scope) SetName(v string)

SetName sets field value

func (*Scope) SetType

func (o *Scope) SetType(v string)

SetType sets field value

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type StorageUsage

type StorageUsage struct {
	Bytes     *int64     `json:"bytes"`
	UpdatedAt *IonosTime `json:"updatedAt,omitempty"`
}

StorageUsage struct for StorageUsage

func NewStorageUsage

func NewStorageUsage(bytes NullableInt64) *StorageUsage

NewStorageUsage instantiates a new StorageUsage 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 NewStorageUsageWithDefaults

func NewStorageUsageWithDefaults() *StorageUsage

NewStorageUsageWithDefaults instantiates a new StorageUsage 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 (*StorageUsage) GetBytes

func (o *StorageUsage) GetBytes() *int64

GetBytes returns the Bytes field value If the value is explicit nil, the zero value for int64 will be returned

func (*StorageUsage) GetBytesOk

func (o *StorageUsage) GetBytesOk() (*int64, bool)

GetBytesOk returns a tuple with the Bytes field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*StorageUsage) GetUpdatedAt

func (o *StorageUsage) GetUpdatedAt() *time.Time

GetUpdatedAt returns the UpdatedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*StorageUsage) GetUpdatedAtOk

func (o *StorageUsage) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*StorageUsage) HasBytes

func (o *StorageUsage) HasBytes() bool

HasBytes returns a boolean if a field has been set.

func (*StorageUsage) HasUpdatedAt

func (o *StorageUsage) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (StorageUsage) MarshalJSON

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

func (*StorageUsage) SetBytes

func (o *StorageUsage) SetBytes(v int64)

SetBytes sets field value

func (*StorageUsage) SetUpdatedAt

func (o *StorageUsage) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

type TokenProperties

type TokenProperties struct {
	Credentials *Credentials `json:"credentials"`
	ExpiryDate  *IonosTime   `json:"expiryDate,omitempty"`
	Name        *string      `json:"name"`
	Scopes      *[]Scope     `json:"scopes,omitempty"`
	Status      *string      `json:"status,omitempty"`
}

TokenProperties struct for TokenProperties

func NewTokenProperties

func NewTokenProperties(credentials NullableCredentials, name string) *TokenProperties

NewTokenProperties instantiates a new TokenProperties 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 NewTokenPropertiesWithDefaults

func NewTokenPropertiesWithDefaults() *TokenProperties

NewTokenPropertiesWithDefaults instantiates a new TokenProperties 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 (*TokenProperties) GetCredentials

func (o *TokenProperties) GetCredentials() *Credentials

GetCredentials returns the Credentials field value If the value is explicit nil, the zero value for Credentials will be returned

func (*TokenProperties) GetCredentialsOk

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

GetCredentialsOk returns a tuple with the Credentials field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenProperties) GetExpiryDate

func (o *TokenProperties) GetExpiryDate() *time.Time

GetExpiryDate returns the ExpiryDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*TokenProperties) GetExpiryDateOk

func (o *TokenProperties) GetExpiryDateOk() (*time.Time, bool)

GetExpiryDateOk returns a tuple with the ExpiryDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenProperties) GetName

func (o *TokenProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*TokenProperties) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenProperties) GetScopes

func (o *TokenProperties) GetScopes() *[]Scope

GetScopes returns the Scopes field value If the value is explicit nil, the zero value for []Scope will be returned

func (*TokenProperties) GetScopesOk

func (o *TokenProperties) GetScopesOk() (*[]Scope, bool)

GetScopesOk returns a tuple with the Scopes field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenProperties) GetStatus

func (o *TokenProperties) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*TokenProperties) GetStatusOk

func (o *TokenProperties) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenProperties) HasCredentials

func (o *TokenProperties) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*TokenProperties) HasExpiryDate

func (o *TokenProperties) HasExpiryDate() bool

HasExpiryDate returns a boolean if a field has been set.

func (*TokenProperties) HasName

func (o *TokenProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*TokenProperties) HasScopes

func (o *TokenProperties) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*TokenProperties) HasStatus

func (o *TokenProperties) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (TokenProperties) MarshalJSON

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

func (*TokenProperties) SetCredentials

func (o *TokenProperties) SetCredentials(v Credentials)

SetCredentials sets field value

func (*TokenProperties) SetExpiryDate

func (o *TokenProperties) SetExpiryDate(v time.Time)

SetExpiryDate sets field value

func (*TokenProperties) SetName

func (o *TokenProperties) SetName(v string)

SetName sets field value

func (*TokenProperties) SetScopes

func (o *TokenProperties) SetScopes(v []Scope)

SetScopes sets field value

func (*TokenProperties) SetStatus

func (o *TokenProperties) SetStatus(v string)

SetStatus sets field value

type TokenResponse

type TokenResponse struct {
	Href       *string              `json:"href,omitempty"`
	Id         *string              `json:"id,omitempty"`
	Metadata   *ApiResourceMetadata `json:"metadata"`
	Properties *TokenProperties     `json:"properties"`
	Type       *string              `json:"type,omitempty"`
}

TokenResponse struct for TokenResponse

func NewTokenResponse

func NewTokenResponse(metadata NullableApiResourceMetadata, properties NullableTokenProperties) *TokenResponse

NewTokenResponse instantiates a new TokenResponse 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 NewTokenResponseWithDefaults

func NewTokenResponseWithDefaults() *TokenResponse

NewTokenResponseWithDefaults instantiates a new TokenResponse 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 (*TokenResponse) GetHref

func (o *TokenResponse) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*TokenResponse) GetHrefOk

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenResponse) GetId

func (o *TokenResponse) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*TokenResponse) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenResponse) GetMetadata

func (o *TokenResponse) GetMetadata() *ApiResourceMetadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for ApiResourceMetadata will be returned

func (*TokenResponse) GetMetadataOk

func (o *TokenResponse) GetMetadataOk() (*ApiResourceMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenResponse) GetProperties

func (o *TokenResponse) GetProperties() *TokenProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for TokenProperties will be returned

func (*TokenResponse) GetPropertiesOk

func (o *TokenResponse) GetPropertiesOk() (*TokenProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenResponse) GetType

func (o *TokenResponse) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*TokenResponse) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenResponse) HasHref

func (o *TokenResponse) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*TokenResponse) HasId

func (o *TokenResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*TokenResponse) HasMetadata

func (o *TokenResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*TokenResponse) HasProperties

func (o *TokenResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*TokenResponse) HasType

func (o *TokenResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (TokenResponse) MarshalJSON

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

func (*TokenResponse) SetHref

func (o *TokenResponse) SetHref(v string)

SetHref sets field value

func (*TokenResponse) SetId

func (o *TokenResponse) SetId(v string)

SetId sets field value

func (*TokenResponse) SetMetadata

func (o *TokenResponse) SetMetadata(v ApiResourceMetadata)

SetMetadata sets field value

func (*TokenResponse) SetProperties

func (o *TokenResponse) SetProperties(v TokenProperties)

SetProperties sets field value

func (*TokenResponse) SetType

func (o *TokenResponse) SetType(v string)

SetType sets field value

type TokensApiService

type TokensApiService service

TokensApiService TokensApi service

func (*TokensApiService) RegistriesTokensDelete

func (a *TokensApiService) RegistriesTokensDelete(ctx _context.Context, registryId string, tokenId string) ApiRegistriesTokensDeleteRequest

* RegistriesTokensDelete Delete token * * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param registryId The unique ID of the registry * @param tokenId The unique ID of the token * @return ApiRegistriesTokensDeleteRequest

func (*TokensApiService) RegistriesTokensDeleteExecute

func (a *TokensApiService) RegistriesTokensDeleteExecute(r ApiRegistriesTokensDeleteRequest) (*APIResponse, error)

* Execute executes the request

func (*TokensApiService) RegistriesTokensFindById

func (a *TokensApiService) RegistriesTokensFindById(ctx _context.Context, registryId string, tokenId string) ApiRegistriesTokensFindByIdRequest

* RegistriesTokensFindById Get token information * Gets all information for a specific token used to access a container registry * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param registryId The unique ID of the registry * @param tokenId The unique ID of the token * @return ApiRegistriesTokensFindByIdRequest

func (*TokensApiService) RegistriesTokensFindByIdExecute

func (a *TokensApiService) RegistriesTokensFindByIdExecute(r ApiRegistriesTokensFindByIdRequest) (TokenResponse, *APIResponse, error)

* Execute executes the request * @return TokenResponse

func (*TokensApiService) RegistriesTokensGet

func (a *TokensApiService) RegistriesTokensGet(ctx _context.Context, registryId string) ApiRegistriesTokensGetRequest

* RegistriesTokensGet List all tokens for the container registry * * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param registryId The unique ID of the registry * @return ApiRegistriesTokensGetRequest

func (*TokensApiService) RegistriesTokensGetExecute

func (a *TokensApiService) RegistriesTokensGetExecute(r ApiRegistriesTokensGetRequest) (TokensResponse, *APIResponse, error)

* Execute executes the request * @return TokensResponse

func (*TokensApiService) RegistriesTokensPatch

func (a *TokensApiService) RegistriesTokensPatch(ctx _context.Context, registryId string, tokenId string) ApiRegistriesTokensPatchRequest
  • RegistriesTokensPatch Update token
  • Update token properties, for example:

- change status to 'enabled' or 'disabled' - change expiry date

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param registryId The unique ID of the registry
  • @param tokenId The unique ID of the token
  • @return ApiRegistriesTokensPatchRequest

func (*TokensApiService) RegistriesTokensPatchExecute

func (a *TokensApiService) RegistriesTokensPatchExecute(r ApiRegistriesTokensPatchRequest) (TokenResponse, *APIResponse, error)

* Execute executes the request * @return TokenResponse

func (*TokensApiService) RegistriesTokensPost

func (a *TokensApiService) RegistriesTokensPost(ctx _context.Context, registryId string) ApiRegistriesTokensPostRequest
  • RegistriesTokensPost Create token
  • Create a token

- password is only available once in the POST response

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param registryId The unique ID of the registry
  • @return ApiRegistriesTokensPostRequest

func (*TokensApiService) RegistriesTokensPostExecute

func (a *TokensApiService) RegistriesTokensPostExecute(r ApiRegistriesTokensPostRequest) (PostTokenOutput, *APIResponse, error)

* Execute executes the request * @return PostTokenOutput

func (*TokensApiService) RegistriesTokensPut

func (a *TokensApiService) RegistriesTokensPut(ctx _context.Context, registryId string, tokenId string) ApiRegistriesTokensPutRequest
  • RegistriesTokensPut Create or replace token
  • Create/replace a token

- password is only available once in the create response - "name" cannot be changed

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param registryId The unique ID of the registry
  • @param tokenId The unique ID of the token
  • @return ApiRegistriesTokensPutRequest

func (*TokensApiService) RegistriesTokensPutExecute

func (a *TokensApiService) RegistriesTokensPutExecute(r ApiRegistriesTokensPutRequest) (PutTokenOutput, *APIResponse, error)

* Execute executes the request * @return PutTokenOutput

type TokensResponse

type TokensResponse struct {
	Links  *PaginationLinks `json:"_links"`
	Count  *int32           `json:"count"`
	Href   *string          `json:"href,omitempty"`
	Id     *string          `json:"id,omitempty"`
	Items  *[]TokenResponse `json:"items,omitempty"`
	Limit  *int32           `json:"limit"`
	Offset *int32           `json:"offset"`
	Total  *int32           `json:"total"`
	Type   *string          `json:"type,omitempty"`
}

TokensResponse struct for TokensResponse

func NewTokensResponse

func NewTokensResponse(links PaginationLinks, count int32, limit int32, offset int32, total int32) *TokensResponse

NewTokensResponse instantiates a new TokensResponse 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 NewTokensResponseWithDefaults

func NewTokensResponseWithDefaults() *TokensResponse

NewTokensResponseWithDefaults instantiates a new TokensResponse 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 (*TokensResponse) GetCount

func (o *TokensResponse) GetCount() *int32

GetCount returns the Count field value If the value is explicit nil, the zero value for int32 will be returned

func (*TokensResponse) GetCountOk

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

GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokensResponse) GetHref

func (o *TokensResponse) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*TokensResponse) GetHrefOk

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokensResponse) GetId

func (o *TokensResponse) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*TokensResponse) GetIdOk

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokensResponse) GetItems

func (o *TokensResponse) GetItems() *[]TokenResponse

GetItems returns the Items field value If the value is explicit nil, the zero value for []TokenResponse will be returned

func (*TokensResponse) GetItemsOk

func (o *TokensResponse) GetItemsOk() (*[]TokenResponse, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokensResponse) GetLimit

func (o *TokensResponse) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*TokensResponse) GetLimitOk

func (o *TokensResponse) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (o *TokensResponse) GetLinks() *PaginationLinks

GetLinks returns the Links field value If the value is explicit nil, the zero value for PaginationLinks will be returned

func (*TokensResponse) GetLinksOk

func (o *TokensResponse) GetLinksOk() (*PaginationLinks, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokensResponse) GetOffset

func (o *TokensResponse) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*TokensResponse) GetOffsetOk

func (o *TokensResponse) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokensResponse) GetTotal

func (o *TokensResponse) GetTotal() *int32

GetTotal returns the Total field value If the value is explicit nil, the zero value for int32 will be returned

func (*TokensResponse) GetTotalOk

func (o *TokensResponse) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokensResponse) GetType

func (o *TokensResponse) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*TokensResponse) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokensResponse) HasCount

func (o *TokensResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*TokensResponse) HasHref

func (o *TokensResponse) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*TokensResponse) HasId

func (o *TokensResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*TokensResponse) HasItems

func (o *TokensResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*TokensResponse) HasLimit

func (o *TokensResponse) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *TokensResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*TokensResponse) HasOffset

func (o *TokensResponse) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*TokensResponse) HasTotal

func (o *TokensResponse) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*TokensResponse) HasType

func (o *TokensResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (TokensResponse) MarshalJSON

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

func (*TokensResponse) SetCount

func (o *TokensResponse) SetCount(v int32)

SetCount sets field value

func (*TokensResponse) SetHref

func (o *TokensResponse) SetHref(v string)

SetHref sets field value

func (*TokensResponse) SetId

func (o *TokensResponse) SetId(v string)

SetId sets field value

func (*TokensResponse) SetItems

func (o *TokensResponse) SetItems(v []TokenResponse)

SetItems sets field value

func (*TokensResponse) SetLimit

func (o *TokensResponse) SetLimit(v int32)

SetLimit sets field value

func (o *TokensResponse) SetLinks(v PaginationLinks)

SetLinks sets field value

func (*TokensResponse) SetOffset

func (o *TokensResponse) SetOffset(v int32)

SetOffset sets field value

func (*TokensResponse) SetTotal

func (o *TokensResponse) SetTotal(v int32)

SetTotal sets field value

func (*TokensResponse) SetType

func (o *TokensResponse) SetType(v string)

SetType sets field value

type VulnerabilitiesApiService added in v1.1.0

type VulnerabilitiesApiService service

VulnerabilitiesApiService VulnerabilitiesApi service

func (*VulnerabilitiesApiService) VulnerabilitiesFindByID added in v1.1.0

func (a *VulnerabilitiesApiService) VulnerabilitiesFindByID(ctx _context.Context, vulnerabilityId string) ApiVulnerabilitiesFindByIDRequest

* VulnerabilitiesFindByID Retrieve Vulnerability * Returns the Vulnerability by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param vulnerabilityId The ID of the Vulnerability that should be retrieved. * @return ApiVulnerabilitiesFindByIDRequest

func (*VulnerabilitiesApiService) VulnerabilitiesFindByIDExecute added in v1.1.0

* Execute executes the request * @return VulnerabilityRead

type Vulnerability added in v1.1.0

type Vulnerability struct {
	// A description of the vulnerability as provided by the source.
	Description *string `json:"description"`
	// Recommendations for the vulnerability as provided by the source.
	Recommendations *string                  `json:"recommendations,omitempty"`
	DataSource      *VulnerabilityDataSource `json:"dataSource"`
	// Indicates whether the vulnerability can be fixed by updating the affected package.
	Fixable *bool   `json:"fixable"`
	Affects *[]Purl `json:"affects"`
	// Published advisories of the vulnerability if provided.
	References *[]string `json:"references,omitempty"`
	// The CVSS vulnerability severity rating
	Severity *string `json:"severity"`
	// The CVSS score of the vulnerability
	Score *float32 `json:"score"`
}

Vulnerability struct for Vulnerability

func NewVulnerability added in v1.1.0

func NewVulnerability(description string, dataSource VulnerabilityDataSource, fixable bool, affects []Purl, severity string, score float32) *Vulnerability

NewVulnerability instantiates a new Vulnerability 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 NewVulnerabilityWithDefaults added in v1.1.0

func NewVulnerabilityWithDefaults() *Vulnerability

NewVulnerabilityWithDefaults instantiates a new Vulnerability 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 (*Vulnerability) GetAffects added in v1.1.0

func (o *Vulnerability) GetAffects() *[]Purl

GetAffects returns the Affects field value If the value is explicit nil, the zero value for []Purl will be returned

func (*Vulnerability) GetAffectsOk added in v1.1.0

func (o *Vulnerability) GetAffectsOk() (*[]Purl, bool)

GetAffectsOk returns a tuple with the Affects field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Vulnerability) GetDataSource added in v1.1.0

func (o *Vulnerability) GetDataSource() *VulnerabilityDataSource

GetDataSource returns the DataSource field value If the value is explicit nil, the zero value for VulnerabilityDataSource will be returned

func (*Vulnerability) GetDataSourceOk added in v1.1.0

func (o *Vulnerability) GetDataSourceOk() (*VulnerabilityDataSource, bool)

GetDataSourceOk returns a tuple with the DataSource field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Vulnerability) GetDescription added in v1.1.0

func (o *Vulnerability) GetDescription() *string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*Vulnerability) GetDescriptionOk added in v1.1.0

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

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Vulnerability) GetFixable added in v1.1.0

func (o *Vulnerability) GetFixable() *bool

GetFixable returns the Fixable field value If the value is explicit nil, the zero value for bool will be returned

func (*Vulnerability) GetFixableOk added in v1.1.0

func (o *Vulnerability) GetFixableOk() (*bool, bool)

GetFixableOk returns a tuple with the Fixable field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Vulnerability) GetRecommendations added in v1.1.0

func (o *Vulnerability) GetRecommendations() *string

GetRecommendations returns the Recommendations field value If the value is explicit nil, the zero value for string will be returned

func (*Vulnerability) GetRecommendationsOk added in v1.1.0

func (o *Vulnerability) GetRecommendationsOk() (*string, bool)

GetRecommendationsOk returns a tuple with the Recommendations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Vulnerability) GetReferences added in v1.1.0

func (o *Vulnerability) GetReferences() *[]string

GetReferences returns the References field value If the value is explicit nil, the zero value for []string will be returned

func (*Vulnerability) GetReferencesOk added in v1.1.0

func (o *Vulnerability) GetReferencesOk() (*[]string, bool)

GetReferencesOk returns a tuple with the References field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Vulnerability) GetScore added in v1.1.0

func (o *Vulnerability) GetScore() *float32

GetScore returns the Score field value If the value is explicit nil, the zero value for float32 will be returned

func (*Vulnerability) GetScoreOk added in v1.1.0

func (o *Vulnerability) GetScoreOk() (*float32, bool)

GetScoreOk returns a tuple with the Score field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Vulnerability) GetSeverity added in v1.1.0

func (o *Vulnerability) GetSeverity() *string

GetSeverity returns the Severity field value If the value is explicit nil, the zero value for string will be returned

func (*Vulnerability) GetSeverityOk added in v1.1.0

func (o *Vulnerability) GetSeverityOk() (*string, bool)

GetSeverityOk returns a tuple with the Severity field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Vulnerability) HasAffects added in v1.1.0

func (o *Vulnerability) HasAffects() bool

HasAffects returns a boolean if a field has been set.

func (*Vulnerability) HasDataSource added in v1.1.0

func (o *Vulnerability) HasDataSource() bool

HasDataSource returns a boolean if a field has been set.

func (*Vulnerability) HasDescription added in v1.1.0

func (o *Vulnerability) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Vulnerability) HasFixable added in v1.1.0

func (o *Vulnerability) HasFixable() bool

HasFixable returns a boolean if a field has been set.

func (*Vulnerability) HasRecommendations added in v1.1.0

func (o *Vulnerability) HasRecommendations() bool

HasRecommendations returns a boolean if a field has been set.

func (*Vulnerability) HasReferences added in v1.1.0

func (o *Vulnerability) HasReferences() bool

HasReferences returns a boolean if a field has been set.

func (*Vulnerability) HasScore added in v1.1.0

func (o *Vulnerability) HasScore() bool

HasScore returns a boolean if a field has been set.

func (*Vulnerability) HasSeverity added in v1.1.0

func (o *Vulnerability) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (Vulnerability) MarshalJSON added in v1.1.0

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

func (*Vulnerability) SetAffects added in v1.1.0

func (o *Vulnerability) SetAffects(v []Purl)

SetAffects sets field value

func (*Vulnerability) SetDataSource added in v1.1.0

func (o *Vulnerability) SetDataSource(v VulnerabilityDataSource)

SetDataSource sets field value

func (*Vulnerability) SetDescription added in v1.1.0

func (o *Vulnerability) SetDescription(v string)

SetDescription sets field value

func (*Vulnerability) SetFixable added in v1.1.0

func (o *Vulnerability) SetFixable(v bool)

SetFixable sets field value

func (*Vulnerability) SetRecommendations added in v1.1.0

func (o *Vulnerability) SetRecommendations(v string)

SetRecommendations sets field value

func (*Vulnerability) SetReferences added in v1.1.0

func (o *Vulnerability) SetReferences(v []string)

SetReferences sets field value

func (*Vulnerability) SetScore added in v1.1.0

func (o *Vulnerability) SetScore(v float32)

SetScore sets field value

func (*Vulnerability) SetSeverity added in v1.1.0

func (o *Vulnerability) SetSeverity(v string)

SetSeverity sets field value

type VulnerabilityDataSource added in v1.1.0

type VulnerabilityDataSource struct {
	// The id of the source.
	Id *string `json:"id,omitempty"`
	// The URL of the source.
	Url *string `json:"url,omitempty"`
}

VulnerabilityDataSource The source that published the vulnerability.

func NewVulnerabilityDataSource added in v1.1.0

func NewVulnerabilityDataSource() *VulnerabilityDataSource

NewVulnerabilityDataSource instantiates a new VulnerabilityDataSource 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 NewVulnerabilityDataSourceWithDefaults added in v1.1.0

func NewVulnerabilityDataSourceWithDefaults() *VulnerabilityDataSource

NewVulnerabilityDataSourceWithDefaults instantiates a new VulnerabilityDataSource 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 (*VulnerabilityDataSource) GetId added in v1.1.0

func (o *VulnerabilityDataSource) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*VulnerabilityDataSource) GetIdOk added in v1.1.0

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityDataSource) GetUrl added in v1.1.0

func (o *VulnerabilityDataSource) GetUrl() *string

GetUrl returns the Url field value If the value is explicit nil, the zero value for string will be returned

func (*VulnerabilityDataSource) GetUrlOk added in v1.1.0

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

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityDataSource) HasId added in v1.1.0

func (o *VulnerabilityDataSource) HasId() bool

HasId returns a boolean if a field has been set.

func (*VulnerabilityDataSource) HasUrl added in v1.1.0

func (o *VulnerabilityDataSource) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (VulnerabilityDataSource) MarshalJSON added in v1.1.0

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

func (*VulnerabilityDataSource) SetId added in v1.1.0

func (o *VulnerabilityDataSource) SetId(v string)

SetId sets field value

func (*VulnerabilityDataSource) SetUrl added in v1.1.0

func (o *VulnerabilityDataSource) SetUrl(v string)

SetUrl sets field value

type VulnerabilityMetadata added in v1.1.0

type VulnerabilityMetadata struct {
	// The date and time the vulnerability was published
	PublishedAt *IonosTime `json:"publishedAt"`
	// The date and time the vulnerability was last updated
	UpdatedAt *IonosTime `json:"updatedAt,omitempty"`
}

VulnerabilityMetadata struct for VulnerabilityMetadata

func NewVulnerabilityMetadata added in v1.1.0

func NewVulnerabilityMetadata(publishedAt time.Time) *VulnerabilityMetadata

NewVulnerabilityMetadata instantiates a new VulnerabilityMetadata 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 NewVulnerabilityMetadataWithDefaults added in v1.1.0

func NewVulnerabilityMetadataWithDefaults() *VulnerabilityMetadata

NewVulnerabilityMetadataWithDefaults instantiates a new VulnerabilityMetadata 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 (*VulnerabilityMetadata) GetPublishedAt added in v1.1.0

func (o *VulnerabilityMetadata) GetPublishedAt() *time.Time

GetPublishedAt returns the PublishedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*VulnerabilityMetadata) GetPublishedAtOk added in v1.1.0

func (o *VulnerabilityMetadata) GetPublishedAtOk() (*time.Time, bool)

GetPublishedAtOk returns a tuple with the PublishedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityMetadata) GetUpdatedAt added in v1.1.0

func (o *VulnerabilityMetadata) GetUpdatedAt() *time.Time

GetUpdatedAt returns the UpdatedAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*VulnerabilityMetadata) GetUpdatedAtOk added in v1.1.0

func (o *VulnerabilityMetadata) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityMetadata) HasPublishedAt added in v1.1.0

func (o *VulnerabilityMetadata) HasPublishedAt() bool

HasPublishedAt returns a boolean if a field has been set.

func (*VulnerabilityMetadata) HasUpdatedAt added in v1.1.0

func (o *VulnerabilityMetadata) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (VulnerabilityMetadata) MarshalJSON added in v1.1.0

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

func (*VulnerabilityMetadata) SetPublishedAt added in v1.1.0

func (o *VulnerabilityMetadata) SetPublishedAt(v time.Time)

SetPublishedAt sets field value

func (*VulnerabilityMetadata) SetUpdatedAt added in v1.1.0

func (o *VulnerabilityMetadata) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type VulnerabilityRead added in v1.1.0

type VulnerabilityRead struct {
	// The ID of the vulnerability allocated by the advisory database
	Id         *string                `json:"id"`
	Type       *string                `json:"type"`
	Href       *string                `json:"href"`
	Metadata   *VulnerabilityMetadata `json:"metadata"`
	Properties *Vulnerability         `json:"properties"`
}

VulnerabilityRead struct for VulnerabilityRead

func NewVulnerabilityRead added in v1.1.0

func NewVulnerabilityRead(id string, type_ string, href string, metadata VulnerabilityMetadata, properties Vulnerability) *VulnerabilityRead

NewVulnerabilityRead instantiates a new VulnerabilityRead 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 NewVulnerabilityReadWithDefaults added in v1.1.0

func NewVulnerabilityReadWithDefaults() *VulnerabilityRead

NewVulnerabilityReadWithDefaults instantiates a new VulnerabilityRead 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 (*VulnerabilityRead) GetHref added in v1.1.0

func (o *VulnerabilityRead) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*VulnerabilityRead) GetHrefOk added in v1.1.0

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityRead) GetId added in v1.1.0

func (o *VulnerabilityRead) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*VulnerabilityRead) GetIdOk added in v1.1.0

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityRead) GetMetadata added in v1.1.0

func (o *VulnerabilityRead) GetMetadata() *VulnerabilityMetadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for VulnerabilityMetadata will be returned

func (*VulnerabilityRead) GetMetadataOk added in v1.1.0

func (o *VulnerabilityRead) GetMetadataOk() (*VulnerabilityMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityRead) GetProperties added in v1.1.0

func (o *VulnerabilityRead) GetProperties() *Vulnerability

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Vulnerability will be returned

func (*VulnerabilityRead) GetPropertiesOk added in v1.1.0

func (o *VulnerabilityRead) GetPropertiesOk() (*Vulnerability, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityRead) GetType added in v1.1.0

func (o *VulnerabilityRead) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*VulnerabilityRead) GetTypeOk added in v1.1.0

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityRead) HasHref added in v1.1.0

func (o *VulnerabilityRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*VulnerabilityRead) HasId added in v1.1.0

func (o *VulnerabilityRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*VulnerabilityRead) HasMetadata added in v1.1.0

func (o *VulnerabilityRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*VulnerabilityRead) HasProperties added in v1.1.0

func (o *VulnerabilityRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*VulnerabilityRead) HasType added in v1.1.0

func (o *VulnerabilityRead) HasType() bool

HasType returns a boolean if a field has been set.

func (VulnerabilityRead) MarshalJSON added in v1.1.0

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

func (*VulnerabilityRead) SetHref added in v1.1.0

func (o *VulnerabilityRead) SetHref(v string)

SetHref sets field value

func (*VulnerabilityRead) SetId added in v1.1.0

func (o *VulnerabilityRead) SetId(v string)

SetId sets field value

func (*VulnerabilityRead) SetMetadata added in v1.1.0

func (o *VulnerabilityRead) SetMetadata(v VulnerabilityMetadata)

SetMetadata sets field value

func (*VulnerabilityRead) SetProperties added in v1.1.0

func (o *VulnerabilityRead) SetProperties(v Vulnerability)

SetProperties sets field value

func (*VulnerabilityRead) SetType added in v1.1.0

func (o *VulnerabilityRead) SetType(v string)

SetType sets field value

type VulnerabilityReadList added in v1.1.0

type VulnerabilityReadList struct {
	Id    *string              `json:"id"`
	Type  *string              `json:"type"`
	Href  *string              `json:"href"`
	Items *[]VulnerabilityRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet).
	Offset *int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit) (not implemented yet, always return number of items).
	Limit *int32 `json:"limit"`
	Links *Links `json:"_links"`
}

VulnerabilityReadList struct for VulnerabilityReadList

func NewVulnerabilityReadList added in v1.1.0

func NewVulnerabilityReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *VulnerabilityReadList

NewVulnerabilityReadList instantiates a new VulnerabilityReadList 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 NewVulnerabilityReadListWithDefaults added in v1.1.0

func NewVulnerabilityReadListWithDefaults() *VulnerabilityReadList

NewVulnerabilityReadListWithDefaults instantiates a new VulnerabilityReadList 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 (*VulnerabilityReadList) GetHref added in v1.1.0

func (o *VulnerabilityReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*VulnerabilityReadList) GetHrefOk added in v1.1.0

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

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityReadList) GetId added in v1.1.0

func (o *VulnerabilityReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*VulnerabilityReadList) GetIdOk added in v1.1.0

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

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityReadList) GetItems added in v1.1.0

func (o *VulnerabilityReadList) GetItems() *[]VulnerabilityRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []VulnerabilityRead will be returned

func (*VulnerabilityReadList) GetItemsOk added in v1.1.0

func (o *VulnerabilityReadList) GetItemsOk() (*[]VulnerabilityRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityReadList) GetLimit added in v1.1.0

func (o *VulnerabilityReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*VulnerabilityReadList) GetLimitOk added in v1.1.0

func (o *VulnerabilityReadList) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (o *VulnerabilityReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*VulnerabilityReadList) GetLinksOk added in v1.1.0

func (o *VulnerabilityReadList) GetLinksOk() (*Links, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityReadList) GetOffset added in v1.1.0

func (o *VulnerabilityReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*VulnerabilityReadList) GetOffsetOk added in v1.1.0

func (o *VulnerabilityReadList) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityReadList) GetType added in v1.1.0

func (o *VulnerabilityReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*VulnerabilityReadList) GetTypeOk added in v1.1.0

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VulnerabilityReadList) HasHref added in v1.1.0

func (o *VulnerabilityReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*VulnerabilityReadList) HasId added in v1.1.0

func (o *VulnerabilityReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*VulnerabilityReadList) HasItems added in v1.1.0

func (o *VulnerabilityReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*VulnerabilityReadList) HasLimit added in v1.1.0

func (o *VulnerabilityReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *VulnerabilityReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*VulnerabilityReadList) HasOffset added in v1.1.0

func (o *VulnerabilityReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*VulnerabilityReadList) HasType added in v1.1.0

func (o *VulnerabilityReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (VulnerabilityReadList) MarshalJSON added in v1.1.0

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

func (*VulnerabilityReadList) SetHref added in v1.1.0

func (o *VulnerabilityReadList) SetHref(v string)

SetHref sets field value

func (*VulnerabilityReadList) SetId added in v1.1.0

func (o *VulnerabilityReadList) SetId(v string)

SetId sets field value

func (*VulnerabilityReadList) SetItems added in v1.1.0

func (o *VulnerabilityReadList) SetItems(v []VulnerabilityRead)

SetItems sets field value

func (*VulnerabilityReadList) SetLimit added in v1.1.0

func (o *VulnerabilityReadList) SetLimit(v int32)

SetLimit sets field value

func (o *VulnerabilityReadList) SetLinks(v Links)

SetLinks sets field value

func (*VulnerabilityReadList) SetOffset added in v1.1.0

func (o *VulnerabilityReadList) SetOffset(v int32)

SetOffset sets field value

func (*VulnerabilityReadList) SetType added in v1.1.0

func (o *VulnerabilityReadList) SetType(v string)

SetType sets field value

type WeeklySchedule

type WeeklySchedule struct {
	Days *[]Day `json:"days"`
	// UTC time of day e.g. 01:00:00 - as defined by partial-time - RFC3339
	Time *string `json:"time"`
}

WeeklySchedule struct for WeeklySchedule

func NewWeeklySchedule

func NewWeeklySchedule(days []Day, time string) *WeeklySchedule

NewWeeklySchedule instantiates a new WeeklySchedule 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 NewWeeklyScheduleWithDefaults

func NewWeeklyScheduleWithDefaults() *WeeklySchedule

NewWeeklyScheduleWithDefaults instantiates a new WeeklySchedule 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 (*WeeklySchedule) GetDays

func (o *WeeklySchedule) GetDays() *[]Day

GetDays returns the Days field value If the value is explicit nil, the zero value for []Day will be returned

func (*WeeklySchedule) GetDaysOk

func (o *WeeklySchedule) GetDaysOk() (*[]Day, bool)

GetDaysOk returns a tuple with the Days field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WeeklySchedule) GetTime

func (o *WeeklySchedule) GetTime() *string

GetTime returns the Time field value If the value is explicit nil, the zero value for string will be returned

func (*WeeklySchedule) GetTimeOk

func (o *WeeklySchedule) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WeeklySchedule) HasDays

func (o *WeeklySchedule) HasDays() bool

HasDays returns a boolean if a field has been set.

func (*WeeklySchedule) HasTime

func (o *WeeklySchedule) HasTime() bool

HasTime returns a boolean if a field has been set.

func (WeeklySchedule) MarshalJSON

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

func (*WeeklySchedule) SetDays

func (o *WeeklySchedule) SetDays(v []Day)

SetDays sets field value

func (*WeeklySchedule) SetTime

func (o *WeeklySchedule) SetTime(v string)

SetTime sets field value

Source Files

Jump to

Keyboard shortcuts

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