registrymgmtclient

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 22 Imported by: 12

README

Go API client for registrymgmtclient

Service Registry Management API is a REST API for managing Service Registry instances. Service Registry is a datastore for event schemas and API designs, which is based on the open source Apicurio Registry project.

Overview

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

Installation

Install the following dependencies:

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

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

import sw "./registrymgmtclient"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://api.openshift.com

Class Method HTTP request Description
DefaultApi GetServiceStatus Get /api/serviceregistry_mgmt/v1/status
ErrorsApi GetError Get /api/serviceregistry_mgmt/v1/errors/{id}
ErrorsApi GetErrors Get /api/serviceregistry_mgmt/v1/errors
RegistriesApi CreateRegistry Post /api/serviceregistry_mgmt/v1/registries
RegistriesApi DeleteRegistry Delete /api/serviceregistry_mgmt/v1/registries/{id} Delete a Registry instance
RegistriesApi GetRegistries Get /api/serviceregistry_mgmt/v1/registries
RegistriesApi GetRegistry Get /api/serviceregistry_mgmt/v1/registries/{id} Get a Registry instance

Documentation For Models

Documentation For Authorization

Bearer
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARERTOKENSTRING")
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

rhosak-eval-support@redhat.com

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

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

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

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

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	DefaultApi DefaultApi

	ErrorsApi ErrorsApi

	RegistriesApi RegistriesApi
	// contains filtered or unexported fields
}

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

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AbstractList added in v0.11.2

type AbstractList struct {
	Kind  string `json:"kind"`
	Page  int32  `json:"page"`
	Size  int32  `json:"size"`
	Total int32  `json:"total"`
}

AbstractList struct for AbstractList

func NewAbstractList added in v0.11.2

func NewAbstractList(kind string, page int32, size int32, total int32) *AbstractList

NewAbstractList instantiates a new AbstractList 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 NewAbstractListWithDefaults added in v0.11.2

func NewAbstractListWithDefaults() *AbstractList

NewAbstractListWithDefaults instantiates a new AbstractList 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 (*AbstractList) GetKind added in v0.11.2

func (o *AbstractList) GetKind() string

GetKind returns the Kind field value

func (*AbstractList) GetKindOk added in v0.11.2

func (o *AbstractList) GetKindOk() (*string, bool)

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

func (*AbstractList) GetPage added in v0.11.2

func (o *AbstractList) GetPage() int32

GetPage returns the Page field value

func (*AbstractList) GetPageOk added in v0.11.2

func (o *AbstractList) GetPageOk() (*int32, bool)

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

func (*AbstractList) GetSize added in v0.11.2

func (o *AbstractList) GetSize() int32

GetSize returns the Size field value

func (*AbstractList) GetSizeOk added in v0.11.2

func (o *AbstractList) GetSizeOk() (*int32, bool)

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

func (*AbstractList) GetTotal added in v0.11.2

func (o *AbstractList) GetTotal() int32

GetTotal returns the Total field value

func (*AbstractList) GetTotalOk added in v0.11.2

func (o *AbstractList) GetTotalOk() (*int32, bool)

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

func (AbstractList) MarshalJSON added in v0.11.2

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

func (*AbstractList) SetKind added in v0.11.2

func (o *AbstractList) SetKind(v string)

SetKind sets field value

func (*AbstractList) SetPage added in v0.11.2

func (o *AbstractList) SetPage(v int32)

SetPage sets field value

func (*AbstractList) SetSize added in v0.11.2

func (o *AbstractList) SetSize(v int32)

SetSize sets field value

func (*AbstractList) SetTotal added in v0.11.2

func (o *AbstractList) SetTotal(v int32)

SetTotal sets field value

type ApiCreateRegistryRequest

type ApiCreateRegistryRequest struct {
	ApiService RegistriesApi
	// contains filtered or unexported fields
}

func (ApiCreateRegistryRequest) Execute

func (ApiCreateRegistryRequest) RegistryCreate added in v0.2.0

func (r ApiCreateRegistryRequest) RegistryCreate(registryCreate RegistryCreate) ApiCreateRegistryRequest

type ApiDeleteRegistryRequest

type ApiDeleteRegistryRequest struct {
	ApiService RegistriesApi
	// contains filtered or unexported fields
}

func (ApiDeleteRegistryRequest) Execute

type ApiGetErrorRequest added in v0.2.0

type ApiGetErrorRequest struct {
	ApiService ErrorsApi
	// contains filtered or unexported fields
}

func (ApiGetErrorRequest) Execute added in v0.2.0

func (r ApiGetErrorRequest) Execute() (Error, *_nethttp.Response, error)

type ApiGetErrorsRequest added in v0.2.0

type ApiGetErrorsRequest struct {
	ApiService ErrorsApi
	// contains filtered or unexported fields
}

func (ApiGetErrorsRequest) Execute added in v0.2.0

func (ApiGetErrorsRequest) Page added in v0.2.0

func (ApiGetErrorsRequest) Size added in v0.2.0

type ApiGetRegistriesRequest

type ApiGetRegistriesRequest struct {
	ApiService RegistriesApi
	// contains filtered or unexported fields
}

func (ApiGetRegistriesRequest) Execute

func (ApiGetRegistriesRequest) OrderBy

func (ApiGetRegistriesRequest) Page

func (ApiGetRegistriesRequest) Search

func (ApiGetRegistriesRequest) Size

type ApiGetRegistryRequest

type ApiGetRegistryRequest struct {
	ApiService RegistriesApi
	// contains filtered or unexported fields
}

func (ApiGetRegistryRequest) Execute

type ApiGetServiceStatusRequest added in v0.3.0

type ApiGetServiceStatusRequest struct {
	ApiService DefaultApi
	// contains filtered or unexported fields
}

func (ApiGetServiceStatusRequest) Execute added in v0.3.0

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type DefaultApi added in v0.3.0

type DefaultApi interface {

	/*
	 * GetServiceStatus Method for GetServiceStatus
	 * Get the service status
	 * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @return ApiGetServiceStatusRequest
	 */
	GetServiceStatus(ctx _context.Context) ApiGetServiceStatusRequest

	/*
	 * GetServiceStatusExecute executes the request
	 * @return ServiceStatus
	 */
	GetServiceStatusExecute(r ApiGetServiceStatusRequest) (ServiceStatus, *_nethttp.Response, error)
}

type DefaultApiService added in v0.3.0

type DefaultApiService service

DefaultApiService DefaultApi service

func (*DefaultApiService) GetServiceStatus added in v0.3.0

* GetServiceStatus Method for GetServiceStatus * Get the service status * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetServiceStatusRequest

func (*DefaultApiService) GetServiceStatusExecute added in v0.3.0

* Execute executes the request * @return ServiceStatus

type Empty added in v0.11.2

type Empty string

Empty Represents an empty response

const (
	EMPTY_EMPTY Empty = ""
)

List of Empty

func NewEmptyFromValue added in v0.11.2

func NewEmptyFromValue(v string) (*Empty, error)

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

func (Empty) IsValid added in v0.11.2

func (v Empty) IsValid() bool

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

func (Empty) Ptr added in v0.11.2

func (v Empty) Ptr() *Empty

Ptr returns reference to Empty value

func (*Empty) UnmarshalJSON added in v0.11.2

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

type Error added in v0.2.0

type Error struct {
	Id          string  `json:"id"`
	Kind        string  `json:"kind"`
	Href        string  `json:"href"`
	Reason      string  `json:"reason"`
	OperationId *string `json:"operation_id,omitempty"`
	Code        string  `json:"code"`
}

Error struct for Error

func NewError added in v0.2.0

func NewError(id string, kind string, href string, reason string, code string) *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 v0.2.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) GetCode added in v0.2.0

func (o *Error) GetCode() string

GetCode returns the Code field value

func (*Error) GetCodeOk added in v0.2.0

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

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

func (*Error) GetHref added in v0.2.0

func (o *Error) GetHref() string

GetHref returns the Href field value

func (*Error) GetHrefOk added in v0.2.0

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

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

func (*Error) GetId added in v0.2.0

func (o *Error) GetId() string

GetId returns the Id field value

func (*Error) GetIdOk added in v0.2.0

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

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

func (*Error) GetKind added in v0.2.0

func (o *Error) GetKind() string

GetKind returns the Kind field value

func (*Error) GetKindOk added in v0.2.0

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

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

func (*Error) GetOperationId added in v0.2.0

func (o *Error) GetOperationId() string

GetOperationId returns the OperationId field value if set, zero value otherwise.

func (*Error) GetOperationIdOk added in v0.2.0

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

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

func (*Error) GetReason added in v0.2.0

func (o *Error) GetReason() string

GetReason returns the Reason field value

func (*Error) GetReasonOk added in v0.2.0

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

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

func (*Error) HasOperationId added in v0.2.0

func (o *Error) HasOperationId() bool

HasOperationId returns a boolean if a field has been set.

func (Error) MarshalJSON added in v0.2.0

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

func (*Error) SetCode added in v0.2.0

func (o *Error) SetCode(v string)

SetCode sets field value

func (*Error) SetHref added in v0.2.0

func (o *Error) SetHref(v string)

SetHref sets field value

func (*Error) SetId added in v0.2.0

func (o *Error) SetId(v string)

SetId sets field value

func (*Error) SetKind added in v0.2.0

func (o *Error) SetKind(v string)

SetKind sets field value

func (*Error) SetOperationId added in v0.2.0

func (o *Error) SetOperationId(v string)

SetOperationId gets a reference to the given string and assigns it to the OperationId field.

func (*Error) SetReason added in v0.2.0

func (o *Error) SetReason(v string)

SetReason sets field value

type ErrorAllOf added in v0.2.0

type ErrorAllOf struct {
	Reason      string  `json:"reason"`
	OperationId *string `json:"operation_id,omitempty"`
	Code        string  `json:"code"`
}

ErrorAllOf struct for ErrorAllOf

func NewErrorAllOf added in v0.2.0

func NewErrorAllOf(reason string, code string) *ErrorAllOf

NewErrorAllOf instantiates a new ErrorAllOf 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 NewErrorAllOfWithDefaults added in v0.2.0

func NewErrorAllOfWithDefaults() *ErrorAllOf

NewErrorAllOfWithDefaults instantiates a new ErrorAllOf 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 (*ErrorAllOf) GetCode added in v0.2.0

func (o *ErrorAllOf) GetCode() string

GetCode returns the Code field value

func (*ErrorAllOf) GetCodeOk added in v0.2.0

func (o *ErrorAllOf) GetCodeOk() (*string, bool)

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

func (*ErrorAllOf) GetOperationId added in v0.2.0

func (o *ErrorAllOf) GetOperationId() string

GetOperationId returns the OperationId field value if set, zero value otherwise.

func (*ErrorAllOf) GetOperationIdOk added in v0.2.0

func (o *ErrorAllOf) GetOperationIdOk() (*string, bool)

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

func (*ErrorAllOf) GetReason added in v0.2.0

func (o *ErrorAllOf) GetReason() string

GetReason returns the Reason field value

func (*ErrorAllOf) GetReasonOk added in v0.2.0

func (o *ErrorAllOf) GetReasonOk() (*string, bool)

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

func (*ErrorAllOf) HasOperationId added in v0.2.0

func (o *ErrorAllOf) HasOperationId() bool

HasOperationId returns a boolean if a field has been set.

func (ErrorAllOf) MarshalJSON added in v0.2.0

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

func (*ErrorAllOf) SetCode added in v0.2.0

func (o *ErrorAllOf) SetCode(v string)

SetCode sets field value

func (*ErrorAllOf) SetOperationId added in v0.2.0

func (o *ErrorAllOf) SetOperationId(v string)

SetOperationId gets a reference to the given string and assigns it to the OperationId field.

func (*ErrorAllOf) SetReason added in v0.2.0

func (o *ErrorAllOf) SetReason(v string)

SetReason sets field value

type ErrorList added in v0.2.0

type ErrorList struct {
	Kind  string  `json:"kind"`
	Page  int32   `json:"page"`
	Size  int32   `json:"size"`
	Total int32   `json:"total"`
	Items []Error `json:"items"`
}

ErrorList struct for ErrorList

func NewErrorList added in v0.2.0

func NewErrorList(kind string, page int32, size int32, total int32, items []Error) *ErrorList

NewErrorList instantiates a new ErrorList 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 NewErrorListWithDefaults added in v0.2.0

func NewErrorListWithDefaults() *ErrorList

NewErrorListWithDefaults instantiates a new ErrorList 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 (*ErrorList) GetItems added in v0.2.0

func (o *ErrorList) GetItems() []Error

GetItems returns the Items field value

func (*ErrorList) GetItemsOk added in v0.2.0

func (o *ErrorList) GetItemsOk() (*[]Error, bool)

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

func (*ErrorList) GetKind added in v0.2.0

func (o *ErrorList) GetKind() string

GetKind returns the Kind field value

func (*ErrorList) GetKindOk added in v0.2.0

func (o *ErrorList) GetKindOk() (*string, bool)

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

func (*ErrorList) GetPage added in v0.2.0

func (o *ErrorList) GetPage() int32

GetPage returns the Page field value

func (*ErrorList) GetPageOk added in v0.2.0

func (o *ErrorList) GetPageOk() (*int32, bool)

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

func (*ErrorList) GetSize added in v0.2.0

func (o *ErrorList) GetSize() int32

GetSize returns the Size field value

func (*ErrorList) GetSizeOk added in v0.2.0

func (o *ErrorList) GetSizeOk() (*int32, bool)

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

func (*ErrorList) GetTotal added in v0.2.0

func (o *ErrorList) GetTotal() int32

GetTotal returns the Total field value

func (*ErrorList) GetTotalOk added in v0.2.0

func (o *ErrorList) GetTotalOk() (*int32, bool)

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

func (ErrorList) MarshalJSON added in v0.2.0

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

func (*ErrorList) SetItems added in v0.2.0

func (o *ErrorList) SetItems(v []Error)

SetItems sets field value

func (*ErrorList) SetKind added in v0.2.0

func (o *ErrorList) SetKind(v string)

SetKind sets field value

func (*ErrorList) SetPage added in v0.2.0

func (o *ErrorList) SetPage(v int32)

SetPage sets field value

func (*ErrorList) SetSize added in v0.2.0

func (o *ErrorList) SetSize(v int32)

SetSize sets field value

func (*ErrorList) SetTotal added in v0.2.0

func (o *ErrorList) SetTotal(v int32)

SetTotal sets field value

type ErrorListAllOf added in v0.2.0

type ErrorListAllOf struct {
	Items []Error `json:"items"`
}

ErrorListAllOf struct for ErrorListAllOf

func NewErrorListAllOf added in v0.2.0

func NewErrorListAllOf(items []Error) *ErrorListAllOf

NewErrorListAllOf instantiates a new ErrorListAllOf 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 NewErrorListAllOfWithDefaults added in v0.2.0

func NewErrorListAllOfWithDefaults() *ErrorListAllOf

NewErrorListAllOfWithDefaults instantiates a new ErrorListAllOf 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 (*ErrorListAllOf) GetItems added in v0.2.0

func (o *ErrorListAllOf) GetItems() []Error

GetItems returns the Items field value

func (*ErrorListAllOf) GetItemsOk added in v0.2.0

func (o *ErrorListAllOf) GetItemsOk() (*[]Error, bool)

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

func (ErrorListAllOf) MarshalJSON added in v0.2.0

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

func (*ErrorListAllOf) SetItems added in v0.2.0

func (o *ErrorListAllOf) SetItems(v []Error)

SetItems sets field value

type ErrorsApi added in v0.2.0

type ErrorsApi interface {

	/*
	 * GetError Method for GetError
	 * Get information about a specific error type
	 * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id The id of the object you wish to interact with.
	 * @return ApiGetErrorRequest
	 */
	GetError(ctx _context.Context, id string) ApiGetErrorRequest

	/*
	 * GetErrorExecute executes the request
	 * @return Error
	 */
	GetErrorExecute(r ApiGetErrorRequest) (Error, *_nethttp.Response, error)

	/*
	 * GetErrors Method for GetErrors
	 * Get the list of all errors
	 * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @return ApiGetErrorsRequest
	 */
	GetErrors(ctx _context.Context) ApiGetErrorsRequest

	/*
	 * GetErrorsExecute executes the request
	 * @return ErrorList
	 */
	GetErrorsExecute(r ApiGetErrorsRequest) (ErrorList, *_nethttp.Response, error)
}

type ErrorsApiService added in v0.2.0

type ErrorsApiService service

ErrorsApiService ErrorsApi service

func (*ErrorsApiService) GetError added in v0.2.0

* GetError Method for GetError * Get information about a specific error type * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id The id of the object you wish to interact with. * @return ApiGetErrorRequest

func (*ErrorsApiService) GetErrorExecute added in v0.2.0

func (a *ErrorsApiService) GetErrorExecute(r ApiGetErrorRequest) (Error, *_nethttp.Response, error)

* Execute executes the request * @return Error

func (*ErrorsApiService) GetErrors added in v0.2.0

* GetErrors Method for GetErrors * Get the list of all errors * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetErrorsRequest

func (*ErrorsApiService) GetErrorsExecute added in v0.2.0

* Execute executes the request * @return ErrorList

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type List added in v0.2.0

type List struct {
	Kind  string            `json:"kind"`
	Page  int32             `json:"page"`
	Size  int32             `json:"size"`
	Total int32             `json:"total"`
	Items []ObjectReference `json:"items"`
}

List struct for List

func NewList added in v0.2.0

func NewList(kind string, page int32, size int32, total int32, items []ObjectReference) *List

NewList instantiates a new List 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 NewListWithDefaults added in v0.2.0

func NewListWithDefaults() *List

NewListWithDefaults instantiates a new List 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 (*List) GetItems added in v0.7.0

func (o *List) GetItems() []ObjectReference

GetItems returns the Items field value

func (*List) GetItemsOk added in v0.7.0

func (o *List) GetItemsOk() (*[]ObjectReference, bool)

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

func (*List) GetKind added in v0.2.0

func (o *List) GetKind() string

GetKind returns the Kind field value

func (*List) GetKindOk added in v0.2.0

func (o *List) GetKindOk() (*string, bool)

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

func (*List) GetPage added in v0.2.0

func (o *List) GetPage() int32

GetPage returns the Page field value

func (*List) GetPageOk added in v0.2.0

func (o *List) GetPageOk() (*int32, bool)

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

func (*List) GetSize added in v0.2.0

func (o *List) GetSize() int32

GetSize returns the Size field value

func (*List) GetSizeOk added in v0.2.0

func (o *List) GetSizeOk() (*int32, bool)

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

func (*List) GetTotal added in v0.2.0

func (o *List) GetTotal() int32

GetTotal returns the Total field value

func (*List) GetTotalOk added in v0.2.0

func (o *List) GetTotalOk() (*int32, bool)

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

func (List) MarshalJSON added in v0.2.0

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

func (*List) SetItems added in v0.7.0

func (o *List) SetItems(v []ObjectReference)

SetItems sets field value

func (*List) SetKind added in v0.2.0

func (o *List) SetKind(v string)

SetKind sets field value

func (*List) SetPage added in v0.2.0

func (o *List) SetPage(v int32)

SetPage sets field value

func (*List) SetSize added in v0.2.0

func (o *List) SetSize(v int32)

SetSize sets field value

func (*List) SetTotal added in v0.2.0

func (o *List) SetTotal(v int32)

SetTotal sets field value

type ListAllOf added in v0.11.2

type ListAllOf struct {
	Items []ObjectReference `json:"items"`
}

ListAllOf struct for ListAllOf

func NewListAllOf added in v0.11.2

func NewListAllOf(items []ObjectReference) *ListAllOf

NewListAllOf instantiates a new ListAllOf 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 NewListAllOfWithDefaults added in v0.11.2

func NewListAllOfWithDefaults() *ListAllOf

NewListAllOfWithDefaults instantiates a new ListAllOf 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 (*ListAllOf) GetItems added in v0.11.2

func (o *ListAllOf) GetItems() []ObjectReference

GetItems returns the Items field value

func (*ListAllOf) GetItemsOk added in v0.11.2

func (o *ListAllOf) GetItemsOk() (*[]ObjectReference, bool)

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

func (ListAllOf) MarshalJSON added in v0.11.2

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

func (*ListAllOf) SetItems added in v0.11.2

func (o *ListAllOf) SetItems(v []ObjectReference)

SetItems sets field value

type NullableAbstractList added in v0.11.2

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

func NewNullableAbstractList added in v0.11.2

func NewNullableAbstractList(val *AbstractList) *NullableAbstractList

func (NullableAbstractList) Get added in v0.11.2

func (NullableAbstractList) IsSet added in v0.11.2

func (v NullableAbstractList) IsSet() bool

func (NullableAbstractList) MarshalJSON added in v0.11.2

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

func (*NullableAbstractList) Set added in v0.11.2

func (v *NullableAbstractList) Set(val *AbstractList)

func (*NullableAbstractList) UnmarshalJSON added in v0.11.2

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

func (*NullableAbstractList) Unset added in v0.11.2

func (v *NullableAbstractList) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableEmpty added in v0.11.2

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

func NewNullableEmpty added in v0.11.2

func NewNullableEmpty(val *Empty) *NullableEmpty

func (NullableEmpty) Get added in v0.11.2

func (v NullableEmpty) Get() *Empty

func (NullableEmpty) IsSet added in v0.11.2

func (v NullableEmpty) IsSet() bool

func (NullableEmpty) MarshalJSON added in v0.11.2

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

func (*NullableEmpty) Set added in v0.11.2

func (v *NullableEmpty) Set(val *Empty)

func (*NullableEmpty) UnmarshalJSON added in v0.11.2

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

func (*NullableEmpty) Unset added in v0.11.2

func (v *NullableEmpty) Unset()

type NullableError added in v0.2.0

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

func NewNullableError added in v0.2.0

func NewNullableError(val *Error) *NullableError

func (NullableError) Get added in v0.2.0

func (v NullableError) Get() *Error

func (NullableError) IsSet added in v0.2.0

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON added in v0.2.0

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

func (*NullableError) Set added in v0.2.0

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

func (*NullableError) UnmarshalJSON added in v0.2.0

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

func (*NullableError) Unset added in v0.2.0

func (v *NullableError) Unset()

type NullableErrorAllOf added in v0.2.0

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

func NewNullableErrorAllOf added in v0.2.0

func NewNullableErrorAllOf(val *ErrorAllOf) *NullableErrorAllOf

func (NullableErrorAllOf) Get added in v0.2.0

func (v NullableErrorAllOf) Get() *ErrorAllOf

func (NullableErrorAllOf) IsSet added in v0.2.0

func (v NullableErrorAllOf) IsSet() bool

func (NullableErrorAllOf) MarshalJSON added in v0.2.0

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

func (*NullableErrorAllOf) Set added in v0.2.0

func (v *NullableErrorAllOf) Set(val *ErrorAllOf)

func (*NullableErrorAllOf) UnmarshalJSON added in v0.2.0

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

func (*NullableErrorAllOf) Unset added in v0.2.0

func (v *NullableErrorAllOf) Unset()

type NullableErrorList added in v0.2.0

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

func NewNullableErrorList added in v0.2.0

func NewNullableErrorList(val *ErrorList) *NullableErrorList

func (NullableErrorList) Get added in v0.2.0

func (v NullableErrorList) Get() *ErrorList

func (NullableErrorList) IsSet added in v0.2.0

func (v NullableErrorList) IsSet() bool

func (NullableErrorList) MarshalJSON added in v0.2.0

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

func (*NullableErrorList) Set added in v0.2.0

func (v *NullableErrorList) Set(val *ErrorList)

func (*NullableErrorList) UnmarshalJSON added in v0.2.0

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

func (*NullableErrorList) Unset added in v0.2.0

func (v *NullableErrorList) Unset()

type NullableErrorListAllOf added in v0.2.0

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

func NewNullableErrorListAllOf added in v0.2.0

func NewNullableErrorListAllOf(val *ErrorListAllOf) *NullableErrorListAllOf

func (NullableErrorListAllOf) Get added in v0.2.0

func (NullableErrorListAllOf) IsSet added in v0.2.0

func (v NullableErrorListAllOf) IsSet() bool

func (NullableErrorListAllOf) MarshalJSON added in v0.2.0

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

func (*NullableErrorListAllOf) Set added in v0.2.0

func (*NullableErrorListAllOf) UnmarshalJSON added in v0.2.0

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

func (*NullableErrorListAllOf) Unset added in v0.2.0

func (v *NullableErrorListAllOf) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

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

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

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

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

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

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableList added in v0.2.0

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

func NewNullableList added in v0.2.0

func NewNullableList(val *List) *NullableList

func (NullableList) Get added in v0.2.0

func (v NullableList) Get() *List

func (NullableList) IsSet added in v0.2.0

func (v NullableList) IsSet() bool

func (NullableList) MarshalJSON added in v0.2.0

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

func (*NullableList) Set added in v0.2.0

func (v *NullableList) Set(val *List)

func (*NullableList) UnmarshalJSON added in v0.2.0

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

func (*NullableList) Unset added in v0.2.0

func (v *NullableList) Unset()

type NullableListAllOf added in v0.11.2

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

func NewNullableListAllOf added in v0.11.2

func NewNullableListAllOf(val *ListAllOf) *NullableListAllOf

func (NullableListAllOf) Get added in v0.11.2

func (v NullableListAllOf) Get() *ListAllOf

func (NullableListAllOf) IsSet added in v0.11.2

func (v NullableListAllOf) IsSet() bool

func (NullableListAllOf) MarshalJSON added in v0.11.2

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

func (*NullableListAllOf) Set added in v0.11.2

func (v *NullableListAllOf) Set(val *ListAllOf)

func (*NullableListAllOf) UnmarshalJSON added in v0.11.2

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

func (*NullableListAllOf) Unset added in v0.11.2

func (v *NullableListAllOf) Unset()

type NullableObjectReference added in v0.2.0

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

func NewNullableObjectReference added in v0.2.0

func NewNullableObjectReference(val *ObjectReference) *NullableObjectReference

func (NullableObjectReference) Get added in v0.2.0

func (NullableObjectReference) IsSet added in v0.2.0

func (v NullableObjectReference) IsSet() bool

func (NullableObjectReference) MarshalJSON added in v0.2.0

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

func (*NullableObjectReference) Set added in v0.2.0

func (*NullableObjectReference) UnmarshalJSON added in v0.2.0

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

func (*NullableObjectReference) Unset added in v0.2.0

func (v *NullableObjectReference) Unset()

type NullableRegistry added in v0.2.0

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

func NewNullableRegistry added in v0.2.0

func NewNullableRegistry(val *Registry) *NullableRegistry

func (NullableRegistry) Get added in v0.2.0

func (v NullableRegistry) Get() *Registry

func (NullableRegistry) IsSet added in v0.2.0

func (v NullableRegistry) IsSet() bool

func (NullableRegistry) MarshalJSON added in v0.2.0

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

func (*NullableRegistry) Set added in v0.2.0

func (v *NullableRegistry) Set(val *Registry)

func (*NullableRegistry) UnmarshalJSON added in v0.2.0

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

func (*NullableRegistry) Unset added in v0.2.0

func (v *NullableRegistry) Unset()

type NullableRegistryCreate added in v0.2.0

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

func NewNullableRegistryCreate added in v0.2.0

func NewNullableRegistryCreate(val *RegistryCreate) *NullableRegistryCreate

func (NullableRegistryCreate) Get added in v0.2.0

func (NullableRegistryCreate) IsSet added in v0.2.0

func (v NullableRegistryCreate) IsSet() bool

func (NullableRegistryCreate) MarshalJSON added in v0.2.0

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

func (*NullableRegistryCreate) Set added in v0.2.0

func (*NullableRegistryCreate) UnmarshalJSON added in v0.2.0

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

func (*NullableRegistryCreate) Unset added in v0.2.0

func (v *NullableRegistryCreate) Unset()

type NullableRegistryInstanceTypeValue added in v0.3.0

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

func NewNullableRegistryInstanceTypeValue added in v0.3.0

func NewNullableRegistryInstanceTypeValue(val *RegistryInstanceTypeValue) *NullableRegistryInstanceTypeValue

func (NullableRegistryInstanceTypeValue) Get added in v0.3.0

func (NullableRegistryInstanceTypeValue) IsSet added in v0.3.0

func (NullableRegistryInstanceTypeValue) MarshalJSON added in v0.3.0

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

func (*NullableRegistryInstanceTypeValue) Set added in v0.3.0

func (*NullableRegistryInstanceTypeValue) UnmarshalJSON added in v0.3.0

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

func (*NullableRegistryInstanceTypeValue) Unset added in v0.3.0

type NullableRegistryList added in v0.2.0

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

func NewNullableRegistryList added in v0.2.0

func NewNullableRegistryList(val *RegistryList) *NullableRegistryList

func (NullableRegistryList) Get added in v0.2.0

func (NullableRegistryList) IsSet added in v0.2.0

func (v NullableRegistryList) IsSet() bool

func (NullableRegistryList) MarshalJSON added in v0.2.0

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

func (*NullableRegistryList) Set added in v0.2.0

func (v *NullableRegistryList) Set(val *RegistryList)

func (*NullableRegistryList) UnmarshalJSON added in v0.2.0

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

func (*NullableRegistryList) Unset added in v0.2.0

func (v *NullableRegistryList) Unset()

type NullableRegistryListAllOf added in v0.2.0

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

func NewNullableRegistryListAllOf added in v0.2.0

func NewNullableRegistryListAllOf(val *RegistryListAllOf) *NullableRegistryListAllOf

func (NullableRegistryListAllOf) Get added in v0.2.0

func (NullableRegistryListAllOf) IsSet added in v0.2.0

func (v NullableRegistryListAllOf) IsSet() bool

func (NullableRegistryListAllOf) MarshalJSON added in v0.2.0

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

func (*NullableRegistryListAllOf) Set added in v0.2.0

func (*NullableRegistryListAllOf) UnmarshalJSON added in v0.2.0

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

func (*NullableRegistryListAllOf) Unset added in v0.2.0

func (v *NullableRegistryListAllOf) Unset()

type NullableRegistryStatusValue added in v0.2.0

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

func NewNullableRegistryStatusValue added in v0.2.0

func NewNullableRegistryStatusValue(val *RegistryStatusValue) *NullableRegistryStatusValue

func (NullableRegistryStatusValue) Get added in v0.2.0

func (NullableRegistryStatusValue) IsSet added in v0.2.0

func (NullableRegistryStatusValue) MarshalJSON added in v0.2.0

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

func (*NullableRegistryStatusValue) Set added in v0.2.0

func (*NullableRegistryStatusValue) UnmarshalJSON added in v0.2.0

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

func (*NullableRegistryStatusValue) Unset added in v0.2.0

func (v *NullableRegistryStatusValue) Unset()

type NullableRootTypeForRegistry

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

func NewNullableRootTypeForRegistry

func NewNullableRootTypeForRegistry(val *RootTypeForRegistry) *NullableRootTypeForRegistry

func (NullableRootTypeForRegistry) Get

func (NullableRootTypeForRegistry) IsSet

func (NullableRootTypeForRegistry) MarshalJSON

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

func (*NullableRootTypeForRegistry) Set

func (*NullableRootTypeForRegistry) UnmarshalJSON

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

func (*NullableRootTypeForRegistry) Unset

func (v *NullableRootTypeForRegistry) Unset()

type NullableServiceStatus added in v0.3.0

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

func NewNullableServiceStatus added in v0.3.0

func NewNullableServiceStatus(val *ServiceStatus) *NullableServiceStatus

func (NullableServiceStatus) Get added in v0.3.0

func (NullableServiceStatus) IsSet added in v0.3.0

func (v NullableServiceStatus) IsSet() bool

func (NullableServiceStatus) MarshalJSON added in v0.3.0

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

func (*NullableServiceStatus) Set added in v0.3.0

func (v *NullableServiceStatus) Set(val *ServiceStatus)

func (*NullableServiceStatus) UnmarshalJSON added in v0.3.0

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

func (*NullableServiceStatus) Unset added in v0.3.0

func (v *NullableServiceStatus) 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 ObjectReference added in v0.2.0

type ObjectReference struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Href string `json:"href"`
}

ObjectReference struct for ObjectReference

func NewObjectReference added in v0.2.0

func NewObjectReference(id string, kind string, href string) *ObjectReference

NewObjectReference instantiates a new ObjectReference 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 NewObjectReferenceWithDefaults added in v0.2.0

func NewObjectReferenceWithDefaults() *ObjectReference

NewObjectReferenceWithDefaults instantiates a new ObjectReference 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 (*ObjectReference) GetHref added in v0.2.0

func (o *ObjectReference) GetHref() string

GetHref returns the Href field value

func (*ObjectReference) GetHrefOk added in v0.2.0

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

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

func (*ObjectReference) GetId added in v0.2.0

func (o *ObjectReference) GetId() string

GetId returns the Id field value

func (*ObjectReference) GetIdOk added in v0.2.0

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

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

func (*ObjectReference) GetKind added in v0.2.0

func (o *ObjectReference) GetKind() string

GetKind returns the Kind field value

func (*ObjectReference) GetKindOk added in v0.2.0

func (o *ObjectReference) GetKindOk() (*string, bool)

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

func (ObjectReference) MarshalJSON added in v0.2.0

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

func (*ObjectReference) SetHref added in v0.2.0

func (o *ObjectReference) SetHref(v string)

SetHref sets field value

func (*ObjectReference) SetId added in v0.2.0

func (o *ObjectReference) SetId(v string)

SetId sets field value

func (*ObjectReference) SetKind added in v0.2.0

func (o *ObjectReference) SetKind(v string)

SetKind sets field value

type RegistriesApi

type RegistriesApi interface {

	/*
	 * CreateRegistry Method for CreateRegistry
	 * Create a new Registry instance
	 * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @return ApiCreateRegistryRequest
	 */
	CreateRegistry(ctx _context.Context) ApiCreateRegistryRequest

	/*
	 * CreateRegistryExecute executes the request
	 * @return Registry
	 */
	CreateRegistryExecute(r ApiCreateRegistryRequest) (Registry, *_nethttp.Response, error)

	/*
	 * DeleteRegistry Delete a Registry instance
	 * Deletes an existing `Registry` instance and all of the data that it stores. Important: Users should export the registry data before deleting the instance, e.g., using the Service Registry web console, core REST API, or `rhoas` CLI.
	 * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id The id of the object you wish to interact with.
	 * @return ApiDeleteRegistryRequest
	 */
	DeleteRegistry(ctx _context.Context, id string) ApiDeleteRegistryRequest

	/*
	 * DeleteRegistryExecute executes the request
	 */
	DeleteRegistryExecute(r ApiDeleteRegistryRequest) (*_nethttp.Response, error)

	/*
	 * GetRegistries Method for GetRegistries
	 * Get the list of all Registry instances
	 * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @return ApiGetRegistriesRequest
	 */
	GetRegistries(ctx _context.Context) ApiGetRegistriesRequest

	/*
	 * GetRegistriesExecute executes the request
	 * @return RegistryList
	 */
	GetRegistriesExecute(r ApiGetRegistriesRequest) (RegistryList, *_nethttp.Response, error)

	/*
	 * GetRegistry Get a Registry instance
	 * Gets the details of a single instance of a `Registry`.
	 * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id The id of the object you wish to interact with.
	 * @return ApiGetRegistryRequest
	 */
	GetRegistry(ctx _context.Context, id string) ApiGetRegistryRequest

	/*
	 * GetRegistryExecute executes the request
	 * @return Registry
	 */
	GetRegistryExecute(r ApiGetRegistryRequest) (Registry, *_nethttp.Response, error)
}

type RegistriesApiService

type RegistriesApiService service

RegistriesApiService RegistriesApi service

func (*RegistriesApiService) CreateRegistry

* CreateRegistry Method for CreateRegistry * Create a new Registry instance * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiCreateRegistryRequest

func (*RegistriesApiService) CreateRegistryExecute

* Execute executes the request * @return Registry

func (*RegistriesApiService) DeleteRegistry

* DeleteRegistry Delete a Registry instance * Deletes an existing `Registry` instance and all of the data that it stores. Important: Users should export the registry data before deleting the instance, e.g., using the Service Registry web console, core REST API, or `rhoas` CLI. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id The id of the object you wish to interact with. * @return ApiDeleteRegistryRequest

func (*RegistriesApiService) DeleteRegistryExecute

func (a *RegistriesApiService) DeleteRegistryExecute(r ApiDeleteRegistryRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*RegistriesApiService) GetRegistries

* GetRegistries Method for GetRegistries * Get the list of all Registry instances * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetRegistriesRequest

func (*RegistriesApiService) GetRegistriesExecute

* Execute executes the request * @return RegistryList

func (*RegistriesApiService) GetRegistry

* GetRegistry Get a Registry instance * Gets the details of a single instance of a `Registry`. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id The id of the object you wish to interact with. * @return ApiGetRegistryRequest

func (*RegistriesApiService) GetRegistryExecute

* Execute executes the request * @return Registry

type Registry added in v0.2.0

type Registry struct {
	Id          string              `json:"id"`
	Kind        string              `json:"kind"`
	Href        string              `json:"href"`
	Status      RegistryStatusValue `json:"status"`
	RegistryUrl *string             `json:"registryUrl,omitempty"`
	BrowserUrl  *string             `json:"browserUrl,omitempty"`
	// User-defined Registry instance name. Does not have to be unique.
	Name string `json:"name"`
	// Identifier of a multi-tenant deployment, where this Service Registry instance resides.
	RegistryDeploymentId *int32 `json:"registryDeploymentId,omitempty"`
	// Registry instance owner.
	Owner string `json:"owner"`
	// Description of the Registry instance.
	Description *string `json:"description,omitempty"`
	// ISO 8601 UTC timestamp.
	CreatedAt time.Time `json:"created_at"`
	// ISO 8601 UTC timestamp.
	UpdatedAt    time.Time                 `json:"updated_at"`
	InstanceType RegistryInstanceTypeValue `json:"instance_type"`
}

Registry struct for Registry

func NewRegistry added in v0.2.0

func NewRegistry(id string, kind string, href string, status RegistryStatusValue, name string, owner string, createdAt time.Time, updatedAt time.Time, instanceType RegistryInstanceTypeValue) *Registry

NewRegistry instantiates a new Registry 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 NewRegistryWithDefaults added in v0.2.0

func NewRegistryWithDefaults() *Registry

NewRegistryWithDefaults instantiates a new Registry 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 (*Registry) GetBrowserUrl added in v0.3.0

func (o *Registry) GetBrowserUrl() string

GetBrowserUrl returns the BrowserUrl field value if set, zero value otherwise.

func (*Registry) GetBrowserUrlOk added in v0.3.0

func (o *Registry) GetBrowserUrlOk() (*string, bool)

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

func (*Registry) GetCreatedAt added in v0.2.0

func (o *Registry) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Registry) GetCreatedAtOk added in v0.2.0

func (o *Registry) GetCreatedAtOk() (*time.Time, bool)

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

func (*Registry) GetDescription added in v0.2.0

func (o *Registry) GetDescription() string

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

func (*Registry) GetDescriptionOk added in v0.2.0

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

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

func (*Registry) GetHref added in v0.2.0

func (o *Registry) GetHref() string

GetHref returns the Href field value

func (*Registry) GetHrefOk added in v0.2.0

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

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

func (*Registry) GetId added in v0.2.0

func (o *Registry) GetId() string

GetId returns the Id field value

func (*Registry) GetIdOk added in v0.2.0

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

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

func (*Registry) GetInstanceType added in v0.3.0

func (o *Registry) GetInstanceType() RegistryInstanceTypeValue

GetInstanceType returns the InstanceType field value

func (*Registry) GetInstanceTypeOk added in v0.3.0

func (o *Registry) GetInstanceTypeOk() (*RegistryInstanceTypeValue, bool)

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

func (*Registry) GetKind added in v0.2.0

func (o *Registry) GetKind() string

GetKind returns the Kind field value

func (*Registry) GetKindOk added in v0.2.0

func (o *Registry) GetKindOk() (*string, bool)

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

func (*Registry) GetName added in v0.2.0

func (o *Registry) GetName() string

GetName returns the Name field value

func (*Registry) GetNameOk added in v0.2.0

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

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

func (*Registry) GetOwner added in v0.2.0

func (o *Registry) GetOwner() string

GetOwner returns the Owner field value

func (*Registry) GetOwnerOk added in v0.2.0

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

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

func (*Registry) GetRegistryDeploymentId added in v0.2.0

func (o *Registry) GetRegistryDeploymentId() int32

GetRegistryDeploymentId returns the RegistryDeploymentId field value if set, zero value otherwise.

func (*Registry) GetRegistryDeploymentIdOk added in v0.2.0

func (o *Registry) GetRegistryDeploymentIdOk() (*int32, bool)

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

func (*Registry) GetRegistryUrl added in v0.2.0

func (o *Registry) GetRegistryUrl() string

GetRegistryUrl returns the RegistryUrl field value if set, zero value otherwise.

func (*Registry) GetRegistryUrlOk added in v0.2.0

func (o *Registry) GetRegistryUrlOk() (*string, bool)

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

func (*Registry) GetStatus added in v0.2.0

func (o *Registry) GetStatus() RegistryStatusValue

GetStatus returns the Status field value

func (*Registry) GetStatusOk added in v0.2.0

func (o *Registry) GetStatusOk() (*RegistryStatusValue, bool)

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

func (*Registry) GetUpdatedAt added in v0.2.0

func (o *Registry) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*Registry) GetUpdatedAtOk added in v0.2.0

func (o *Registry) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Registry) HasBrowserUrl added in v0.3.0

func (o *Registry) HasBrowserUrl() bool

HasBrowserUrl returns a boolean if a field has been set.

func (*Registry) HasDescription added in v0.2.0

func (o *Registry) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Registry) HasRegistryDeploymentId added in v0.2.0

func (o *Registry) HasRegistryDeploymentId() bool

HasRegistryDeploymentId returns a boolean if a field has been set.

func (*Registry) HasRegistryUrl added in v0.2.0

func (o *Registry) HasRegistryUrl() bool

HasRegistryUrl returns a boolean if a field has been set.

func (Registry) MarshalJSON added in v0.2.0

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

func (*Registry) SetBrowserUrl added in v0.3.0

func (o *Registry) SetBrowserUrl(v string)

SetBrowserUrl gets a reference to the given string and assigns it to the BrowserUrl field.

func (*Registry) SetCreatedAt added in v0.2.0

func (o *Registry) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Registry) SetDescription added in v0.2.0

func (o *Registry) SetDescription(v string)

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

func (*Registry) SetHref added in v0.2.0

func (o *Registry) SetHref(v string)

SetHref sets field value

func (*Registry) SetId added in v0.2.0

func (o *Registry) SetId(v string)

SetId sets field value

func (*Registry) SetInstanceType added in v0.3.0

func (o *Registry) SetInstanceType(v RegistryInstanceTypeValue)

SetInstanceType sets field value

func (*Registry) SetKind added in v0.2.0

func (o *Registry) SetKind(v string)

SetKind sets field value

func (*Registry) SetName added in v0.2.0

func (o *Registry) SetName(v string)

SetName sets field value

func (*Registry) SetOwner added in v0.2.0

func (o *Registry) SetOwner(v string)

SetOwner sets field value

func (*Registry) SetRegistryDeploymentId added in v0.2.0

func (o *Registry) SetRegistryDeploymentId(v int32)

SetRegistryDeploymentId gets a reference to the given int32 and assigns it to the RegistryDeploymentId field.

func (*Registry) SetRegistryUrl added in v0.2.0

func (o *Registry) SetRegistryUrl(v string)

SetRegistryUrl gets a reference to the given string and assigns it to the RegistryUrl field.

func (*Registry) SetStatus added in v0.2.0

func (o *Registry) SetStatus(v RegistryStatusValue)

SetStatus sets field value

func (*Registry) SetUpdatedAt added in v0.2.0

func (o *Registry) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

type RegistryCreate added in v0.2.0

type RegistryCreate struct {
	// User-defined Registry instance name. Required. Must be unique within a given organization.
	Name string `json:"name"`
	// User-provided description of the new Service Registry instance. Not required.
	Description *string `json:"description,omitempty"`
}

RegistryCreate Information used to create a new Service Registry instance in a multi-tenant deployment.

func NewRegistryCreate added in v0.2.0

func NewRegistryCreate(name string) *RegistryCreate

NewRegistryCreate instantiates a new RegistryCreate 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 NewRegistryCreateWithDefaults added in v0.2.0

func NewRegistryCreateWithDefaults() *RegistryCreate

NewRegistryCreateWithDefaults instantiates a new RegistryCreate 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 (*RegistryCreate) GetDescription added in v0.2.0

func (o *RegistryCreate) GetDescription() string

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

func (*RegistryCreate) GetDescriptionOk added in v0.2.0

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

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

func (*RegistryCreate) GetName added in v0.2.0

func (o *RegistryCreate) GetName() string

GetName returns the Name field value

func (*RegistryCreate) GetNameOk added in v0.2.0

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

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

func (*RegistryCreate) HasDescription added in v0.2.0

func (o *RegistryCreate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RegistryCreate) MarshalJSON added in v0.2.0

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

func (*RegistryCreate) SetDescription added in v0.2.0

func (o *RegistryCreate) SetDescription(v string)

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

func (*RegistryCreate) SetName added in v0.2.0

func (o *RegistryCreate) SetName(v string)

SetName sets field value

type RegistryInstanceTypeValue added in v0.3.0

type RegistryInstanceTypeValue string

RegistryInstanceTypeValue Type of the Registry instance. This will determine functional and/or non-functional features provided by the instance. \"standard\": Standard, full-featured Registry instance \"eval\": Evaluation (Trial) instance, provided for a limited time

const (
	REGISTRYINSTANCETYPEVALUE_STANDARD RegistryInstanceTypeValue = "standard"
	REGISTRYINSTANCETYPEVALUE_EVAL     RegistryInstanceTypeValue = "eval"
)

List of RegistryInstanceTypeValue

func NewRegistryInstanceTypeValueFromValue added in v0.3.0

func NewRegistryInstanceTypeValueFromValue(v string) (*RegistryInstanceTypeValue, error)

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

func (RegistryInstanceTypeValue) IsValid added in v0.3.0

func (v RegistryInstanceTypeValue) IsValid() bool

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

func (RegistryInstanceTypeValue) Ptr added in v0.3.0

Ptr returns reference to RegistryInstanceTypeValue value

func (*RegistryInstanceTypeValue) UnmarshalJSON added in v0.3.0

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

type RegistryList added in v0.2.0

type RegistryList struct {
	Kind  string     `json:"kind"`
	Page  int32      `json:"page"`
	Size  int32      `json:"size"`
	Total int32      `json:"total"`
	Items []Registry `json:"items"`
}

RegistryList struct for RegistryList

func NewRegistryList added in v0.2.0

func NewRegistryList(kind string, page int32, size int32, total int32, items []Registry) *RegistryList

NewRegistryList instantiates a new RegistryList 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 NewRegistryListWithDefaults added in v0.2.0

func NewRegistryListWithDefaults() *RegistryList

NewRegistryListWithDefaults instantiates a new RegistryList 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 (*RegistryList) GetItems added in v0.2.0

func (o *RegistryList) GetItems() []Registry

GetItems returns the Items field value

func (*RegistryList) GetItemsOk added in v0.2.0

func (o *RegistryList) GetItemsOk() (*[]Registry, bool)

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

func (*RegistryList) GetKind added in v0.2.0

func (o *RegistryList) GetKind() string

GetKind returns the Kind field value

func (*RegistryList) GetKindOk added in v0.2.0

func (o *RegistryList) GetKindOk() (*string, bool)

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

func (*RegistryList) GetPage added in v0.2.0

func (o *RegistryList) GetPage() int32

GetPage returns the Page field value

func (*RegistryList) GetPageOk added in v0.2.0

func (o *RegistryList) GetPageOk() (*int32, bool)

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

func (*RegistryList) GetSize added in v0.2.0

func (o *RegistryList) GetSize() int32

GetSize returns the Size field value

func (*RegistryList) GetSizeOk added in v0.2.0

func (o *RegistryList) GetSizeOk() (*int32, bool)

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

func (*RegistryList) GetTotal added in v0.2.0

func (o *RegistryList) GetTotal() int32

GetTotal returns the Total field value

func (*RegistryList) GetTotalOk added in v0.2.0

func (o *RegistryList) GetTotalOk() (*int32, bool)

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

func (RegistryList) MarshalJSON added in v0.2.0

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

func (*RegistryList) SetItems added in v0.2.0

func (o *RegistryList) SetItems(v []Registry)

SetItems sets field value

func (*RegistryList) SetKind added in v0.2.0

func (o *RegistryList) SetKind(v string)

SetKind sets field value

func (*RegistryList) SetPage added in v0.2.0

func (o *RegistryList) SetPage(v int32)

SetPage sets field value

func (*RegistryList) SetSize added in v0.2.0

func (o *RegistryList) SetSize(v int32)

SetSize sets field value

func (*RegistryList) SetTotal added in v0.2.0

func (o *RegistryList) SetTotal(v int32)

SetTotal sets field value

type RegistryListAllOf added in v0.2.0

type RegistryListAllOf struct {
	Items []Registry `json:"items"`
}

RegistryListAllOf struct for RegistryListAllOf

func NewRegistryListAllOf added in v0.2.0

func NewRegistryListAllOf(items []Registry) *RegistryListAllOf

NewRegistryListAllOf instantiates a new RegistryListAllOf 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 NewRegistryListAllOfWithDefaults added in v0.2.0

func NewRegistryListAllOfWithDefaults() *RegistryListAllOf

NewRegistryListAllOfWithDefaults instantiates a new RegistryListAllOf 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 (*RegistryListAllOf) GetItems added in v0.2.0

func (o *RegistryListAllOf) GetItems() []Registry

GetItems returns the Items field value

func (*RegistryListAllOf) GetItemsOk added in v0.2.0

func (o *RegistryListAllOf) GetItemsOk() (*[]Registry, bool)

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

func (RegistryListAllOf) MarshalJSON added in v0.2.0

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

func (*RegistryListAllOf) SetItems added in v0.2.0

func (o *RegistryListAllOf) SetItems(v []Registry)

SetItems sets field value

type RegistryStatusValue added in v0.2.0

type RegistryStatusValue string

RegistryStatusValue \"accepted\": Registry status when accepted for processing. \"provisioning\": Registry status when provisioning a new instance. \"ready\": Registry status when ready for use. \"failed\": Registry status when the provisioning failed. When removing a Registry instance in this state, the status transitions directly to \"deleting\". \"deprovision\": Registry status when accepted for deprovisioning. \"deleting\": Registry status when deprovisioning.

const (
	REGISTRYSTATUSVALUE_ACCEPTED     RegistryStatusValue = "accepted"
	REGISTRYSTATUSVALUE_PROVISIONING RegistryStatusValue = "provisioning"
	REGISTRYSTATUSVALUE_READY        RegistryStatusValue = "ready"
	REGISTRYSTATUSVALUE_FAILED       RegistryStatusValue = "failed"
	REGISTRYSTATUSVALUE_DEPROVISION  RegistryStatusValue = "deprovision"
	REGISTRYSTATUSVALUE_DELETING     RegistryStatusValue = "deleting"
)

List of RegistryStatusValue

func NewRegistryStatusValueFromValue added in v0.2.0

func NewRegistryStatusValueFromValue(v string) (*RegistryStatusValue, error)

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

func (RegistryStatusValue) IsValid added in v0.2.0

func (v RegistryStatusValue) IsValid() bool

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

func (RegistryStatusValue) Ptr added in v0.2.0

Ptr returns reference to RegistryStatusValue value

func (*RegistryStatusValue) UnmarshalJSON added in v0.2.0

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

type RootTypeForRegistry

type RootTypeForRegistry struct {
	Status      RegistryStatusValue `json:"status"`
	RegistryUrl *string             `json:"registryUrl,omitempty"`
	BrowserUrl  *string             `json:"browserUrl,omitempty"`
	// User-defined Registry instance name. Does not have to be unique.
	Name string `json:"name"`
	// Identifier of a multi-tenant deployment, where this Service Registry instance resides.
	RegistryDeploymentId *int32 `json:"registryDeploymentId,omitempty"`
	// Registry instance owner.
	Owner string `json:"owner"`
	// Description of the Registry instance.
	Description *string `json:"description,omitempty"`
	// ISO 8601 UTC timestamp.
	CreatedAt time.Time `json:"created_at"`
	// ISO 8601 UTC timestamp.
	UpdatedAt    time.Time                 `json:"updated_at"`
	InstanceType RegistryInstanceTypeValue `json:"instance_type"`
}

RootTypeForRegistry Service Registry instance in a multi-tenant deployment.

func NewRootTypeForRegistry

func NewRootTypeForRegistry(status RegistryStatusValue, name string, owner string, createdAt time.Time, updatedAt time.Time, instanceType RegistryInstanceTypeValue) *RootTypeForRegistry

NewRootTypeForRegistry instantiates a new RootTypeForRegistry 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 NewRootTypeForRegistryWithDefaults

func NewRootTypeForRegistryWithDefaults() *RootTypeForRegistry

NewRootTypeForRegistryWithDefaults instantiates a new RootTypeForRegistry 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 (*RootTypeForRegistry) GetBrowserUrl added in v0.3.0

func (o *RootTypeForRegistry) GetBrowserUrl() string

GetBrowserUrl returns the BrowserUrl field value if set, zero value otherwise.

func (*RootTypeForRegistry) GetBrowserUrlOk added in v0.3.0

func (o *RootTypeForRegistry) GetBrowserUrlOk() (*string, bool)

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

func (*RootTypeForRegistry) GetCreatedAt

func (o *RootTypeForRegistry) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*RootTypeForRegistry) GetCreatedAtOk

func (o *RootTypeForRegistry) GetCreatedAtOk() (*time.Time, bool)

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

func (*RootTypeForRegistry) GetDescription

func (o *RootTypeForRegistry) GetDescription() string

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

func (*RootTypeForRegistry) GetDescriptionOk

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

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

func (*RootTypeForRegistry) GetInstanceType added in v0.3.0

func (o *RootTypeForRegistry) GetInstanceType() RegistryInstanceTypeValue

GetInstanceType returns the InstanceType field value

func (*RootTypeForRegistry) GetInstanceTypeOk added in v0.3.0

func (o *RootTypeForRegistry) GetInstanceTypeOk() (*RegistryInstanceTypeValue, bool)

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

func (*RootTypeForRegistry) GetName

func (o *RootTypeForRegistry) GetName() string

GetName returns the Name field value

func (*RootTypeForRegistry) GetNameOk

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

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

func (*RootTypeForRegistry) GetOwner

func (o *RootTypeForRegistry) GetOwner() string

GetOwner returns the Owner field value

func (*RootTypeForRegistry) GetOwnerOk

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

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

func (*RootTypeForRegistry) GetRegistryDeploymentId

func (o *RootTypeForRegistry) GetRegistryDeploymentId() int32

GetRegistryDeploymentId returns the RegistryDeploymentId field value if set, zero value otherwise.

func (*RootTypeForRegistry) GetRegistryDeploymentIdOk

func (o *RootTypeForRegistry) GetRegistryDeploymentIdOk() (*int32, bool)

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

func (*RootTypeForRegistry) GetRegistryUrl

func (o *RootTypeForRegistry) GetRegistryUrl() string

GetRegistryUrl returns the RegistryUrl field value if set, zero value otherwise.

func (*RootTypeForRegistry) GetRegistryUrlOk

func (o *RootTypeForRegistry) GetRegistryUrlOk() (*string, bool)

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

func (*RootTypeForRegistry) GetStatus

GetStatus returns the Status field value

func (*RootTypeForRegistry) GetStatusOk

func (o *RootTypeForRegistry) GetStatusOk() (*RegistryStatusValue, bool)

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

func (*RootTypeForRegistry) GetUpdatedAt

func (o *RootTypeForRegistry) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*RootTypeForRegistry) GetUpdatedAtOk

func (o *RootTypeForRegistry) GetUpdatedAtOk() (*time.Time, bool)

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

func (*RootTypeForRegistry) HasBrowserUrl added in v0.3.0

func (o *RootTypeForRegistry) HasBrowserUrl() bool

HasBrowserUrl returns a boolean if a field has been set.

func (*RootTypeForRegistry) HasDescription

func (o *RootTypeForRegistry) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RootTypeForRegistry) HasRegistryDeploymentId

func (o *RootTypeForRegistry) HasRegistryDeploymentId() bool

HasRegistryDeploymentId returns a boolean if a field has been set.

func (*RootTypeForRegistry) HasRegistryUrl

func (o *RootTypeForRegistry) HasRegistryUrl() bool

HasRegistryUrl returns a boolean if a field has been set.

func (RootTypeForRegistry) MarshalJSON

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

func (*RootTypeForRegistry) SetBrowserUrl added in v0.3.0

func (o *RootTypeForRegistry) SetBrowserUrl(v string)

SetBrowserUrl gets a reference to the given string and assigns it to the BrowserUrl field.

func (*RootTypeForRegistry) SetCreatedAt

func (o *RootTypeForRegistry) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*RootTypeForRegistry) SetDescription

func (o *RootTypeForRegistry) SetDescription(v string)

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

func (*RootTypeForRegistry) SetInstanceType added in v0.3.0

func (o *RootTypeForRegistry) SetInstanceType(v RegistryInstanceTypeValue)

SetInstanceType sets field value

func (*RootTypeForRegistry) SetName

func (o *RootTypeForRegistry) SetName(v string)

SetName sets field value

func (*RootTypeForRegistry) SetOwner

func (o *RootTypeForRegistry) SetOwner(v string)

SetOwner sets field value

func (*RootTypeForRegistry) SetRegistryDeploymentId

func (o *RootTypeForRegistry) SetRegistryDeploymentId(v int32)

SetRegistryDeploymentId gets a reference to the given int32 and assigns it to the RegistryDeploymentId field.

func (*RootTypeForRegistry) SetRegistryUrl

func (o *RootTypeForRegistry) SetRegistryUrl(v string)

SetRegistryUrl gets a reference to the given string and assigns it to the RegistryUrl field.

func (*RootTypeForRegistry) SetStatus

func (o *RootTypeForRegistry) SetStatus(v RegistryStatusValue)

SetStatus sets field value

func (*RootTypeForRegistry) SetUpdatedAt

func (o *RootTypeForRegistry) SetUpdatedAt(v time.Time)

SetUpdatedAt 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 ServiceStatus added in v0.3.0

type ServiceStatus struct {
	// Boolean property indicating if the maximum number of total Registry instances have been reached, therefore creation of more instances should not be allowed.
	MaxInstancesReached *bool `json:"max_instances_reached,omitempty"`
}

ServiceStatus Schema for the service status response body

func NewServiceStatus added in v0.3.0

func NewServiceStatus() *ServiceStatus

NewServiceStatus instantiates a new ServiceStatus 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 NewServiceStatusWithDefaults added in v0.3.0

func NewServiceStatusWithDefaults() *ServiceStatus

NewServiceStatusWithDefaults instantiates a new ServiceStatus 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 (*ServiceStatus) GetMaxInstancesReached added in v0.3.0

func (o *ServiceStatus) GetMaxInstancesReached() bool

GetMaxInstancesReached returns the MaxInstancesReached field value if set, zero value otherwise.

func (*ServiceStatus) GetMaxInstancesReachedOk added in v0.3.0

func (o *ServiceStatus) GetMaxInstancesReachedOk() (*bool, bool)

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

func (*ServiceStatus) HasMaxInstancesReached added in v0.3.0

func (o *ServiceStatus) HasMaxInstancesReached() bool

HasMaxInstancesReached returns a boolean if a field has been set.

func (ServiceStatus) MarshalJSON added in v0.3.0

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

func (*ServiceStatus) SetMaxInstancesReached added in v0.3.0

func (o *ServiceStatus) SetMaxInstancesReached(v bool)

SetMaxInstancesReached gets a reference to the given bool and assigns it to the MaxInstancesReached field.

Jump to

Keyboard shortcuts

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