ionoscloud

package module
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 26 Imported by: 2

README

Gitter

Go API client for ionoscloud

The Logging Service offers a centralized platform to collect and store logs from various systems and applications. It includes tools to search, filter, visualize, and create alerts based on your log data. This API provides programmatic control over logging pipelines, enabling you to create new pipelines or modify existing ones. It mirrors the functionality of the DCD visual tool, ensuring a consistent experience regardless of your chosen interface.

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: 0.0.1
  • Package version: 1.3.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/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

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

import "./ionoscloud"

Authentication

All available server URLs are:

By default, https://logging.de-fra.ionos.com is used, however this can be overriden at authentication, either by setting the IONOS_API_URL environment variable or by specifying the hostUrl parameter when initializing the sdk client.

NOTE: We recommend passing the URL without the https:// or http:// prefix. The SDK checks and adds it if necessary when configurations are created using NewConfiguration or NewConfigurationFromEnv. This is to avoid issues caused by typos in the prefix that cannot be easily detected and debugged.

The username and password or the authentication token can be manually specified when initializing the sdk client:


client := ionoscloud.NewAPIClient(ionoscloud.NewConfiguration(username, password, token, hostUrl))

Environment variables can also be used. The sdk uses the following variables:

  • IONOS_TOKEN - login via token. This is the recommended way to authenticate.
  • IONOS_USERNAME - to specify the username used to login
  • IONOS_PASSWORD - to specify the password
  • IONOS_API_URL - to specify the API server URL

In this case, the client configuration needs to be initialized using NewConfigurationFromEnv().


client := ionoscloud.NewAPIClient(ionoscloud.NewConfigurationFromEnv())

Documentation for API Endpoints

All URIs are relative to https://logging.de-fra.ionos.com

API Endpoints table
Class Method HTTP request Description
CentralApi CentralFindById Get /central/{centralId} Retrieve CentralLogging
CentralApi CentralGet Get /central Retrieve all CentralLogging
CentralApi CentralPut Put /central/{centralId} Ensure CentralLogging
KeyApi PipelinesKeyPost Post /pipelines/{pipelineId}/key Create Key
PipelinesApi PipelinesDelete Delete /pipelines/{pipelineId} Delete Pipeline
PipelinesApi PipelinesFindById Get /pipelines/{pipelineId} Retrieve Pipeline
PipelinesApi PipelinesGet Get /pipelines Retrieve all Pipelines
PipelinesApi PipelinesPatch Patch /pipelines/{pipelineId} Updates Pipeline
PipelinesApi PipelinesPost Post /pipelines Create Pipeline

Documentation For Models

All URIs are relative to https://logging.de-fra.ionos.com

API models list

[Back to API list] [Back to Model list]

Documentation

Index

Constants

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

	Version = "1.3.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://logging.de-fra.ionos.com"
	DefaultIonosBasePath  = ""
)

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 (
	IonosServerUrls = []string{
		"https://logging.de-fra.ionos.com",
		"https://logging.de-txl.ionos.com",
		"https://logging.es-vit.ionos.com",
		"https://logging.gb-bhx.ionos.com",
		"https://logging.gb-lhr.ionos.com",
		"https://logging.fr-par.ionos.com",
		"https://logging.us-mci.ionos.com",
	}
)
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 EnsureURLFormat added in v1.3.0

func EnsureURLFormat(url string) string

EnsureURLFormat checks that the URL has the correct format (no trailing slash, has http/https scheme prefix) and updates it if necessary

func IsNil

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

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

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

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

ToValue - returns the value of the pointer passed in

func ToValueDefault

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 {
	CentralApi *CentralApiService

	KeyApi *KeyApiService

	PipelinesApi *PipelinesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS Logging Service REST API API v0.0.1 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 ApiCentralFindByIdRequest added in v1.3.0

type ApiCentralFindByIdRequest struct {
	ApiService *CentralApiService
	// contains filtered or unexported fields
}

func (ApiCentralFindByIdRequest) Execute added in v1.3.0

type ApiCentralGetRequest added in v1.3.0

type ApiCentralGetRequest struct {
	ApiService *CentralApiService
	// contains filtered or unexported fields
}

func (ApiCentralGetRequest) Execute added in v1.3.0

type ApiCentralPutRequest added in v1.3.0

type ApiCentralPutRequest struct {
	ApiService *CentralApiService
	// contains filtered or unexported fields
}

func (ApiCentralPutRequest) CentralLoggingEnsure added in v1.3.0

func (r ApiCentralPutRequest) CentralLoggingEnsure(centralLoggingEnsure CentralLoggingEnsure) ApiCentralPutRequest

func (ApiCentralPutRequest) Execute added in v1.3.0

type ApiPipelinesDeleteRequest

type ApiPipelinesDeleteRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesDeleteRequest) Execute

type ApiPipelinesFindByIdRequest

type ApiPipelinesFindByIdRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesFindByIdRequest) Execute

type ApiPipelinesGetRequest

type ApiPipelinesGetRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesGetRequest) Execute

func (ApiPipelinesGetRequest) Limit

func (ApiPipelinesGetRequest) Offset

func (ApiPipelinesGetRequest) OrderBy

type ApiPipelinesKeyPostRequest added in v1.0.1

type ApiPipelinesKeyPostRequest struct {
	ApiService *KeyApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesKeyPostRequest) Body added in v1.3.0

func (r ApiPipelinesKeyPostRequest) Body(body map[string]interface{}) ApiPipelinesKeyPostRequest

func (ApiPipelinesKeyPostRequest) Execute added in v1.0.1

type ApiPipelinesPatchRequest

type ApiPipelinesPatchRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesPatchRequest) Execute

func (ApiPipelinesPatchRequest) PipelinePatch added in v1.3.0

func (r ApiPipelinesPatchRequest) PipelinePatch(pipelinePatch PipelinePatch) ApiPipelinesPatchRequest

type ApiPipelinesPostRequest

type ApiPipelinesPostRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesPostRequest) Execute

func (ApiPipelinesPostRequest) PipelineCreate added in v1.3.0

func (r ApiPipelinesPostRequest) PipelineCreate(pipelineCreate PipelineCreate) ApiPipelinesPostRequest

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 CentralApiService added in v1.1.0

type CentralApiService service

CentralApiService CentralApi service

func (*CentralApiService) CentralFindById added in v1.3.0

func (a *CentralApiService) CentralFindById(ctx _context.Context, centralId string) ApiCentralFindByIdRequest

* CentralFindById Retrieve CentralLogging * Returns the CentralLogging by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param centralId The ID (UUID) of the CentralLogging. * @return ApiCentralFindByIdRequest

func (*CentralApiService) CentralFindByIdExecute added in v1.3.0

* Execute executes the request * @return CentralLoggingRead

func (*CentralApiService) CentralGet added in v1.3.0

  • CentralGet Retrieve all CentralLogging
  • This endpoint enables retrieving all CentralLogging using

pagination and optional filters.

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

func (*CentralApiService) CentralGetExecute added in v1.3.0

* Execute executes the request * @return CentralLoggingReadList

func (*CentralApiService) CentralPut added in v1.3.0

func (a *CentralApiService) CentralPut(ctx _context.Context, centralId string) ApiCentralPutRequest
  • CentralPut Ensure CentralLogging
  • Ensures that the CentralLogging with the provided ID is created or modified.

The full CentralLogging needs to be provided to ensure (either update or create) the CentralLogging. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.

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

func (*CentralApiService) CentralPutExecute added in v1.3.0

* Execute executes the request * @return CentralLoggingRead

type CentralLogging added in v1.3.0

type CentralLogging struct {
	// The status of the central logging. If `true`, the central logging is enabled. If `false`, the central logging is disabled.
	Enabled *bool `json:"enabled"`
}

CentralLogging Central logging is a feature that allows you to use other products to send logs to a central location. This is useful for logging and analyzing logs from multiple sources.

func NewCentralLogging added in v1.3.0

func NewCentralLogging(enabled bool) *CentralLogging

NewCentralLogging instantiates a new CentralLogging 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 NewCentralLoggingWithDefaults added in v1.3.0

func NewCentralLoggingWithDefaults() *CentralLogging

NewCentralLoggingWithDefaults instantiates a new CentralLogging 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 (*CentralLogging) GetEnabled added in v1.3.0

func (o *CentralLogging) GetEnabled() *bool

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

func (*CentralLogging) GetEnabledOk added in v1.3.0

func (o *CentralLogging) 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 (*CentralLogging) HasEnabled added in v1.3.0

func (o *CentralLogging) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (CentralLogging) MarshalJSON added in v1.3.0

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

func (*CentralLogging) SetEnabled added in v1.3.0

func (o *CentralLogging) SetEnabled(v bool)

SetEnabled sets field value

type CentralLoggingCreate added in v1.3.0

type CentralLoggingCreate struct {
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *CentralLogging         `json:"properties"`
}

CentralLoggingCreate struct for CentralLoggingCreate

func NewCentralLoggingCreate added in v1.3.0

func NewCentralLoggingCreate(properties CentralLogging) *CentralLoggingCreate

NewCentralLoggingCreate instantiates a new CentralLoggingCreate 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 NewCentralLoggingCreateWithDefaults added in v1.3.0

func NewCentralLoggingCreateWithDefaults() *CentralLoggingCreate

NewCentralLoggingCreateWithDefaults instantiates a new CentralLoggingCreate 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 (*CentralLoggingCreate) GetMetadata added in v1.3.0

func (o *CentralLoggingCreate) GetMetadata() *map[string]interface{}

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

func (*CentralLoggingCreate) GetMetadataOk added in v1.3.0

func (o *CentralLoggingCreate) GetMetadataOk() (*map[string]interface{}, 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 (*CentralLoggingCreate) GetProperties added in v1.3.0

func (o *CentralLoggingCreate) GetProperties() *CentralLogging

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

func (*CentralLoggingCreate) GetPropertiesOk added in v1.3.0

func (o *CentralLoggingCreate) GetPropertiesOk() (*CentralLogging, 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 (*CentralLoggingCreate) HasMetadata added in v1.3.0

func (o *CentralLoggingCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CentralLoggingCreate) HasProperties added in v1.3.0

func (o *CentralLoggingCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (CentralLoggingCreate) MarshalJSON added in v1.3.0

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

func (*CentralLoggingCreate) SetMetadata added in v1.3.0

func (o *CentralLoggingCreate) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*CentralLoggingCreate) SetProperties added in v1.3.0

func (o *CentralLoggingCreate) SetProperties(v CentralLogging)

SetProperties sets field value

type CentralLoggingEnsure added in v1.3.0

type CentralLoggingEnsure struct {
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *CentralLogging         `json:"properties"`
}

CentralLoggingEnsure struct for CentralLoggingEnsure

func NewCentralLoggingEnsure added in v1.3.0

func NewCentralLoggingEnsure(properties CentralLogging) *CentralLoggingEnsure

NewCentralLoggingEnsure instantiates a new CentralLoggingEnsure 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 NewCentralLoggingEnsureWithDefaults added in v1.3.0

func NewCentralLoggingEnsureWithDefaults() *CentralLoggingEnsure

NewCentralLoggingEnsureWithDefaults instantiates a new CentralLoggingEnsure 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 (*CentralLoggingEnsure) GetMetadata added in v1.3.0

func (o *CentralLoggingEnsure) GetMetadata() *map[string]interface{}

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

func (*CentralLoggingEnsure) GetMetadataOk added in v1.3.0

func (o *CentralLoggingEnsure) GetMetadataOk() (*map[string]interface{}, 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 (*CentralLoggingEnsure) GetProperties added in v1.3.0

func (o *CentralLoggingEnsure) GetProperties() *CentralLogging

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

func (*CentralLoggingEnsure) GetPropertiesOk added in v1.3.0

func (o *CentralLoggingEnsure) GetPropertiesOk() (*CentralLogging, 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 (*CentralLoggingEnsure) HasMetadata added in v1.3.0

func (o *CentralLoggingEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CentralLoggingEnsure) HasProperties added in v1.3.0

func (o *CentralLoggingEnsure) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (CentralLoggingEnsure) MarshalJSON added in v1.3.0

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

func (*CentralLoggingEnsure) SetMetadata added in v1.3.0

func (o *CentralLoggingEnsure) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*CentralLoggingEnsure) SetProperties added in v1.3.0

func (o *CentralLoggingEnsure) SetProperties(v CentralLogging)

SetProperties sets field value

type CentralLoggingRead added in v1.3.0

type CentralLoggingRead struct {
	// The ID (UUID) of the CentralLogging.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the CentralLogging.
	Href       *string                    `json:"href"`
	Metadata   *MetadataForCentralLogging `json:"metadata"`
	Properties *CentralLogging            `json:"properties"`
}

CentralLoggingRead struct for CentralLoggingRead

func NewCentralLoggingRead added in v1.3.0

func NewCentralLoggingRead(id string, type_ string, href string, metadata MetadataForCentralLogging, properties CentralLogging) *CentralLoggingRead

NewCentralLoggingRead instantiates a new CentralLoggingRead 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 NewCentralLoggingReadWithDefaults added in v1.3.0

func NewCentralLoggingReadWithDefaults() *CentralLoggingRead

NewCentralLoggingReadWithDefaults instantiates a new CentralLoggingRead 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 (*CentralLoggingRead) GetHref added in v1.3.0

func (o *CentralLoggingRead) GetHref() *string

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

func (*CentralLoggingRead) GetHrefOk added in v1.3.0

func (o *CentralLoggingRead) 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 (*CentralLoggingRead) GetId added in v1.3.0

func (o *CentralLoggingRead) GetId() *string

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

func (*CentralLoggingRead) GetIdOk added in v1.3.0

func (o *CentralLoggingRead) 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 (*CentralLoggingRead) GetMetadata added in v1.3.0

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

func (*CentralLoggingRead) GetMetadataOk added in v1.3.0

func (o *CentralLoggingRead) GetMetadataOk() (*MetadataForCentralLogging, 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 (*CentralLoggingRead) GetProperties added in v1.3.0

func (o *CentralLoggingRead) GetProperties() *CentralLogging

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

func (*CentralLoggingRead) GetPropertiesOk added in v1.3.0

func (o *CentralLoggingRead) GetPropertiesOk() (*CentralLogging, 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 (*CentralLoggingRead) GetType added in v1.3.0

func (o *CentralLoggingRead) GetType() *string

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

func (*CentralLoggingRead) GetTypeOk added in v1.3.0

func (o *CentralLoggingRead) 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 (*CentralLoggingRead) HasHref added in v1.3.0

func (o *CentralLoggingRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*CentralLoggingRead) HasId added in v1.3.0

func (o *CentralLoggingRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*CentralLoggingRead) HasMetadata added in v1.3.0

func (o *CentralLoggingRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CentralLoggingRead) HasProperties added in v1.3.0

func (o *CentralLoggingRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*CentralLoggingRead) HasType added in v1.3.0

func (o *CentralLoggingRead) HasType() bool

HasType returns a boolean if a field has been set.

func (CentralLoggingRead) MarshalJSON added in v1.3.0

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

func (*CentralLoggingRead) SetHref added in v1.3.0

func (o *CentralLoggingRead) SetHref(v string)

SetHref sets field value

func (*CentralLoggingRead) SetId added in v1.3.0

func (o *CentralLoggingRead) SetId(v string)

SetId sets field value

func (*CentralLoggingRead) SetMetadata added in v1.3.0

SetMetadata sets field value

func (*CentralLoggingRead) SetProperties added in v1.3.0

func (o *CentralLoggingRead) SetProperties(v CentralLogging)

SetProperties sets field value

func (*CentralLoggingRead) SetType added in v1.3.0

func (o *CentralLoggingRead) SetType(v string)

SetType sets field value

type CentralLoggingReadList added in v1.3.0

type CentralLoggingReadList struct {
	// ID of the list of CentralLogging resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of CentralLogging resources.
	Href *string `json:"href"`
	// The list of CentralLogging resources.
	Items *[]CentralLoggingRead `json:"items,omitempty"`
}

CentralLoggingReadList struct for CentralLoggingReadList

func NewCentralLoggingReadList added in v1.3.0

func NewCentralLoggingReadList(id string, type_ string, href string) *CentralLoggingReadList

NewCentralLoggingReadList instantiates a new CentralLoggingReadList 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 NewCentralLoggingReadListWithDefaults added in v1.3.0

func NewCentralLoggingReadListWithDefaults() *CentralLoggingReadList

NewCentralLoggingReadListWithDefaults instantiates a new CentralLoggingReadList 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 (*CentralLoggingReadList) GetHref added in v1.3.0

func (o *CentralLoggingReadList) GetHref() *string

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

func (*CentralLoggingReadList) GetHrefOk added in v1.3.0

func (o *CentralLoggingReadList) 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 (*CentralLoggingReadList) GetId added in v1.3.0

func (o *CentralLoggingReadList) GetId() *string

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

func (*CentralLoggingReadList) GetIdOk added in v1.3.0

func (o *CentralLoggingReadList) 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 (*CentralLoggingReadList) GetItems added in v1.3.0

func (o *CentralLoggingReadList) GetItems() *[]CentralLoggingRead

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

func (*CentralLoggingReadList) GetItemsOk added in v1.3.0

func (o *CentralLoggingReadList) GetItemsOk() (*[]CentralLoggingRead, 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 (*CentralLoggingReadList) GetType added in v1.3.0

func (o *CentralLoggingReadList) GetType() *string

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

func (*CentralLoggingReadList) GetTypeOk added in v1.3.0

func (o *CentralLoggingReadList) 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 (*CentralLoggingReadList) HasHref added in v1.3.0

func (o *CentralLoggingReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*CentralLoggingReadList) HasId added in v1.3.0

func (o *CentralLoggingReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*CentralLoggingReadList) HasItems added in v1.3.0

func (o *CentralLoggingReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*CentralLoggingReadList) HasType added in v1.3.0

func (o *CentralLoggingReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (CentralLoggingReadList) MarshalJSON added in v1.3.0

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

func (*CentralLoggingReadList) SetHref added in v1.3.0

func (o *CentralLoggingReadList) SetHref(v string)

SetHref sets field value

func (*CentralLoggingReadList) SetId added in v1.3.0

func (o *CentralLoggingReadList) SetId(v string)

SetId sets field value

func (*CentralLoggingReadList) SetItems added in v1.3.0

func (o *CentralLoggingReadList) SetItems(v []CentralLoggingRead)

SetItems sets field value

func (*CentralLoggingReadList) SetType added in v1.3.0

func (o *CentralLoggingReadList) SetType(v string)

SetType sets field value

type CentralLoggingReadListAllOf added in v1.3.0

type CentralLoggingReadListAllOf struct {
	// ID of the list of CentralLogging resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of CentralLogging resources.
	Href *string `json:"href"`
	// The list of CentralLogging resources.
	Items *[]CentralLoggingRead `json:"items,omitempty"`
}

CentralLoggingReadListAllOf struct for CentralLoggingReadListAllOf

func NewCentralLoggingReadListAllOf added in v1.3.0

func NewCentralLoggingReadListAllOf(id string, type_ string, href string) *CentralLoggingReadListAllOf

NewCentralLoggingReadListAllOf instantiates a new CentralLoggingReadListAllOf 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 NewCentralLoggingReadListAllOfWithDefaults added in v1.3.0

func NewCentralLoggingReadListAllOfWithDefaults() *CentralLoggingReadListAllOf

NewCentralLoggingReadListAllOfWithDefaults instantiates a new CentralLoggingReadListAllOf 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 (*CentralLoggingReadListAllOf) GetHref added in v1.3.0

func (o *CentralLoggingReadListAllOf) GetHref() *string

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

func (*CentralLoggingReadListAllOf) GetHrefOk added in v1.3.0

func (o *CentralLoggingReadListAllOf) 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 (*CentralLoggingReadListAllOf) GetId added in v1.3.0

func (o *CentralLoggingReadListAllOf) GetId() *string

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

func (*CentralLoggingReadListAllOf) GetIdOk added in v1.3.0

func (o *CentralLoggingReadListAllOf) 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 (*CentralLoggingReadListAllOf) GetItems added in v1.3.0

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

func (*CentralLoggingReadListAllOf) GetItemsOk added in v1.3.0

func (o *CentralLoggingReadListAllOf) GetItemsOk() (*[]CentralLoggingRead, 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 (*CentralLoggingReadListAllOf) GetType added in v1.3.0

func (o *CentralLoggingReadListAllOf) GetType() *string

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

func (*CentralLoggingReadListAllOf) GetTypeOk added in v1.3.0

func (o *CentralLoggingReadListAllOf) 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 (*CentralLoggingReadListAllOf) HasHref added in v1.3.0

func (o *CentralLoggingReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*CentralLoggingReadListAllOf) HasId added in v1.3.0

func (o *CentralLoggingReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*CentralLoggingReadListAllOf) HasItems added in v1.3.0

func (o *CentralLoggingReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*CentralLoggingReadListAllOf) HasType added in v1.3.0

func (o *CentralLoggingReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (CentralLoggingReadListAllOf) MarshalJSON added in v1.3.0

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

func (*CentralLoggingReadListAllOf) SetHref added in v1.3.0

func (o *CentralLoggingReadListAllOf) SetHref(v string)

SetHref sets field value

func (*CentralLoggingReadListAllOf) SetId added in v1.3.0

func (o *CentralLoggingReadListAllOf) SetId(v string)

SetId sets field value

func (*CentralLoggingReadListAllOf) SetItems added in v1.3.0

SetItems sets field value

func (*CentralLoggingReadListAllOf) SetType added in v1.3.0

func (o *CentralLoggingReadListAllOf) SetType(v string)

SetType sets field value

type Configuration

type Configuration struct {
	Host               string            `json:"host,omitempty"`
	Scheme             string            `json:"scheme,omitempty"`
	DefaultHeader      map[string]string `json:"defaultHeader,omitempty"`
	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 Error added in v1.3.0

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

Error The Error object is used to represent an error response from the API.

func NewError added in v1.3.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.3.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.3.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.3.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.3.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.3.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.3.0

func (o *Error) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*Error) HasMessages added in v1.3.0

func (o *Error) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (Error) MarshalJSON added in v1.3.0

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

func (*Error) SetHttpStatus added in v1.3.0

func (o *Error) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*Error) SetMessages added in v1.3.0

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

SetMessages sets field value

type ErrorMessages added in v1.3.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.3.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.3.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.3.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.3.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.3.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.3.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.3.0

func (o *ErrorMessages) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessages) HasMessage added in v1.3.0

func (o *ErrorMessages) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorMessages) MarshalJSON added in v1.3.0

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

func (*ErrorMessages) SetErrorCode added in v1.3.0

func (o *ErrorMessages) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorMessages) SetMessage added in v1.3.0

func (o *ErrorMessages) SetMessage(v string)

SetMessage 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 KeyApiService added in v1.3.0

type KeyApiService service

KeyApiService KeyApi service

func (*KeyApiService) PipelinesKeyPost added in v1.3.0

func (a *KeyApiService) PipelinesKeyPost(ctx _context.Context, pipelineId string) ApiPipelinesKeyPostRequest
  • PipelinesKeyPost Create Key
  • Creates a new Key.

The full Key needs to be provided to create the object. Optional data will be filled with defaults or left empty.

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

func (*KeyApiService) PipelinesKeyPostExecute added in v1.3.0

func (a *KeyApiService) PipelinesKeyPostExecute(r ApiPipelinesKeyPostRequest) (KeyRead, *APIResponse, error)

* Execute executes the request * @return KeyRead

type KeyRead added in v1.3.0

type KeyRead struct {
	// The key is shared once and is used to authenticate the logs sent to the pipeline.
	Key *string `json:"key"`
}

KeyRead Generates a new key for a pipeline invalidating the old one. The key is used for authentication when sending logs.

func NewKeyRead added in v1.3.0

func NewKeyRead(key string) *KeyRead

NewKeyRead instantiates a new KeyRead 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 NewKeyReadWithDefaults added in v1.3.0

func NewKeyReadWithDefaults() *KeyRead

NewKeyReadWithDefaults instantiates a new KeyRead 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 (*KeyRead) GetKey added in v1.3.0

func (o *KeyRead) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*KeyRead) GetKeyOk added in v1.3.0

func (o *KeyRead) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key 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 (*KeyRead) HasKey added in v1.3.0

func (o *KeyRead) HasKey() bool

HasKey returns a boolean if a field has been set.

func (KeyRead) MarshalJSON added in v1.3.0

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

func (*KeyRead) SetKey added in v1.3.0

func (o *KeyRead) SetKey(v string)

SetKey sets field value

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.3.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.3.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.3.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.3.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.3.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.3.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.3.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.3.0

func (o *Links) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Links) HasPrev added in v1.3.0

func (o *Links) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (*Links) HasSelf added in v1.3.0

func (o *Links) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (Links) MarshalJSON added in v1.3.0

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

func (*Links) SetNext added in v1.3.0

func (o *Links) SetNext(v string)

SetNext sets field value

func (*Links) SetPrev added in v1.3.0

func (o *Links) SetPrev(v string)

SetPrev sets field value

func (*Links) SetSelf added in v1.3.0

func (o *Links) SetSelf(v string)

SetSelf 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

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"`
	// Unique id of the identity that created the resource.
	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"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
}

Metadata Metadata of the resource.

func NewMetadata

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

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

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

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

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

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

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

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

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

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

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

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

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

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.3.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.3.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

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) HasResourceURN added in v1.3.0

func (o *Metadata) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (Metadata) MarshalJSON

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

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*Metadata) SetCreatedDate

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

SetCreatedDate sets field value

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*Metadata) SetLastModifiedDate

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

SetLastModifiedDate sets field value

func (*Metadata) SetResourceURN added in v1.3.0

func (o *Metadata) SetResourceURN(v string)

SetResourceURN sets field value

type MetadataForCentralLogging added in v1.3.0

type MetadataForCentralLogging 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"`
	// Unique id of the identity that created the resource.
	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"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
	// The endpoint of the Grafana instance.
	GrafanaEndpoint *string `json:"grafanaEndpoint"`
}

MetadataForCentralLogging struct for MetadataForCentralLogging

func NewMetadataForCentralLogging added in v1.3.0

func NewMetadataForCentralLogging(grafanaEndpoint string) *MetadataForCentralLogging

NewMetadataForCentralLogging instantiates a new MetadataForCentralLogging 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 NewMetadataForCentralLoggingWithDefaults added in v1.3.0

func NewMetadataForCentralLoggingWithDefaults() *MetadataForCentralLogging

NewMetadataForCentralLoggingWithDefaults instantiates a new MetadataForCentralLogging 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 (*MetadataForCentralLogging) GetCreatedBy added in v1.3.0

func (o *MetadataForCentralLogging) GetCreatedBy() *string

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

func (*MetadataForCentralLogging) GetCreatedByOk added in v1.3.0

func (o *MetadataForCentralLogging) 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 (*MetadataForCentralLogging) GetCreatedByUserId added in v1.3.0

func (o *MetadataForCentralLogging) GetCreatedByUserId() *string

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

func (*MetadataForCentralLogging) GetCreatedByUserIdOk added in v1.3.0

func (o *MetadataForCentralLogging) 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 (*MetadataForCentralLogging) GetCreatedDate added in v1.3.0

func (o *MetadataForCentralLogging) 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 (*MetadataForCentralLogging) GetCreatedDateOk added in v1.3.0

func (o *MetadataForCentralLogging) 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 (*MetadataForCentralLogging) GetGrafanaEndpoint added in v1.3.0

func (o *MetadataForCentralLogging) GetGrafanaEndpoint() *string

GetGrafanaEndpoint returns the GrafanaEndpoint field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataForCentralLogging) GetGrafanaEndpointOk added in v1.3.0

func (o *MetadataForCentralLogging) GetGrafanaEndpointOk() (*string, bool)

GetGrafanaEndpointOk returns a tuple with the GrafanaEndpoint 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 (*MetadataForCentralLogging) GetLastModifiedBy added in v1.3.0

func (o *MetadataForCentralLogging) GetLastModifiedBy() *string

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

func (*MetadataForCentralLogging) GetLastModifiedByOk added in v1.3.0

func (o *MetadataForCentralLogging) 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 (*MetadataForCentralLogging) GetLastModifiedByUserId added in v1.3.0

func (o *MetadataForCentralLogging) GetLastModifiedByUserId() *string

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

func (*MetadataForCentralLogging) GetLastModifiedByUserIdOk added in v1.3.0

func (o *MetadataForCentralLogging) 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 (*MetadataForCentralLogging) GetLastModifiedDate added in v1.3.0

func (o *MetadataForCentralLogging) 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 (*MetadataForCentralLogging) GetLastModifiedDateOk added in v1.3.0

func (o *MetadataForCentralLogging) 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 (*MetadataForCentralLogging) GetResourceURN added in v1.3.0

func (o *MetadataForCentralLogging) GetResourceURN() *string

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

func (*MetadataForCentralLogging) GetResourceURNOk added in v1.3.0

func (o *MetadataForCentralLogging) 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 (*MetadataForCentralLogging) HasCreatedBy added in v1.3.0

func (o *MetadataForCentralLogging) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataForCentralLogging) HasCreatedByUserId added in v1.3.0

func (o *MetadataForCentralLogging) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataForCentralLogging) HasCreatedDate added in v1.3.0

func (o *MetadataForCentralLogging) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataForCentralLogging) HasGrafanaEndpoint added in v1.3.0

func (o *MetadataForCentralLogging) HasGrafanaEndpoint() bool

HasGrafanaEndpoint returns a boolean if a field has been set.

func (*MetadataForCentralLogging) HasLastModifiedBy added in v1.3.0

func (o *MetadataForCentralLogging) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataForCentralLogging) HasLastModifiedByUserId added in v1.3.0

func (o *MetadataForCentralLogging) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataForCentralLogging) HasLastModifiedDate added in v1.3.0

func (o *MetadataForCentralLogging) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataForCentralLogging) HasResourceURN added in v1.3.0

func (o *MetadataForCentralLogging) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (MetadataForCentralLogging) MarshalJSON added in v1.3.0

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

func (*MetadataForCentralLogging) SetCreatedBy added in v1.3.0

func (o *MetadataForCentralLogging) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*MetadataForCentralLogging) SetCreatedByUserId added in v1.3.0

func (o *MetadataForCentralLogging) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*MetadataForCentralLogging) SetCreatedDate added in v1.3.0

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

SetCreatedDate sets field value

func (*MetadataForCentralLogging) SetGrafanaEndpoint added in v1.3.0

func (o *MetadataForCentralLogging) SetGrafanaEndpoint(v string)

SetGrafanaEndpoint sets field value

func (*MetadataForCentralLogging) SetLastModifiedBy added in v1.3.0

func (o *MetadataForCentralLogging) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*MetadataForCentralLogging) SetLastModifiedByUserId added in v1.3.0

func (o *MetadataForCentralLogging) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*MetadataForCentralLogging) SetLastModifiedDate added in v1.3.0

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

SetLastModifiedDate sets field value

func (*MetadataForCentralLogging) SetResourceURN added in v1.3.0

func (o *MetadataForCentralLogging) SetResourceURN(v string)

SetResourceURN sets field value

type MetadataForCentralLoggingAllOf added in v1.3.0

type MetadataForCentralLoggingAllOf struct {
	// The endpoint of the Grafana instance.
	GrafanaEndpoint *string `json:"grafanaEndpoint"`
}

MetadataForCentralLoggingAllOf struct for MetadataForCentralLoggingAllOf

func NewMetadataForCentralLoggingAllOf added in v1.3.0

func NewMetadataForCentralLoggingAllOf(grafanaEndpoint string) *MetadataForCentralLoggingAllOf

NewMetadataForCentralLoggingAllOf instantiates a new MetadataForCentralLoggingAllOf 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 NewMetadataForCentralLoggingAllOfWithDefaults added in v1.3.0

func NewMetadataForCentralLoggingAllOfWithDefaults() *MetadataForCentralLoggingAllOf

NewMetadataForCentralLoggingAllOfWithDefaults instantiates a new MetadataForCentralLoggingAllOf 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 (*MetadataForCentralLoggingAllOf) GetGrafanaEndpoint added in v1.3.0

func (o *MetadataForCentralLoggingAllOf) GetGrafanaEndpoint() *string

GetGrafanaEndpoint returns the GrafanaEndpoint field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataForCentralLoggingAllOf) GetGrafanaEndpointOk added in v1.3.0

func (o *MetadataForCentralLoggingAllOf) GetGrafanaEndpointOk() (*string, bool)

GetGrafanaEndpointOk returns a tuple with the GrafanaEndpoint 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 (*MetadataForCentralLoggingAllOf) HasGrafanaEndpoint added in v1.3.0

func (o *MetadataForCentralLoggingAllOf) HasGrafanaEndpoint() bool

HasGrafanaEndpoint returns a boolean if a field has been set.

func (MetadataForCentralLoggingAllOf) MarshalJSON added in v1.3.0

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

func (*MetadataForCentralLoggingAllOf) SetGrafanaEndpoint added in v1.3.0

func (o *MetadataForCentralLoggingAllOf) SetGrafanaEndpoint(v string)

SetGrafanaEndpoint sets field value

type MetadataWithStatus added in v1.3.0

type MetadataWithStatus 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"`
	// Unique id of the identity that created the resource.
	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"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
	// The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`.
	State *string `json:"state"`
}

MetadataWithStatus struct for MetadataWithStatus

func NewMetadataWithStatus added in v1.3.0

func NewMetadataWithStatus(state string) *MetadataWithStatus

NewMetadataWithStatus instantiates a new MetadataWithStatus 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 NewMetadataWithStatusWithDefaults added in v1.3.0

func NewMetadataWithStatusWithDefaults() *MetadataWithStatus

NewMetadataWithStatusWithDefaults instantiates a new MetadataWithStatus 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 (*MetadataWithStatus) GetCreatedBy added in v1.3.0

func (o *MetadataWithStatus) GetCreatedBy() *string

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

func (*MetadataWithStatus) GetCreatedByOk added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetCreatedByUserId added in v1.3.0

func (o *MetadataWithStatus) GetCreatedByUserId() *string

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

func (*MetadataWithStatus) GetCreatedByUserIdOk added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetCreatedDate added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetCreatedDateOk added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetLastModifiedBy added in v1.3.0

func (o *MetadataWithStatus) GetLastModifiedBy() *string

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

func (*MetadataWithStatus) GetLastModifiedByOk added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetLastModifiedByUserId added in v1.3.0

func (o *MetadataWithStatus) GetLastModifiedByUserId() *string

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

func (*MetadataWithStatus) GetLastModifiedByUserIdOk added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetLastModifiedDate added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetLastModifiedDateOk added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetResourceURN added in v1.3.0

func (o *MetadataWithStatus) GetResourceURN() *string

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

func (*MetadataWithStatus) GetResourceURNOk added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) GetState added in v1.3.0

func (o *MetadataWithStatus) GetState() *string

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

func (*MetadataWithStatus) GetStateOk added in v1.3.0

func (o *MetadataWithStatus) 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 (*MetadataWithStatus) HasCreatedBy added in v1.3.0

func (o *MetadataWithStatus) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithStatus) HasCreatedByUserId added in v1.3.0

func (o *MetadataWithStatus) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithStatus) HasCreatedDate added in v1.3.0

func (o *MetadataWithStatus) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedBy added in v1.3.0

func (o *MetadataWithStatus) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedByUserId added in v1.3.0

func (o *MetadataWithStatus) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedDate added in v1.3.0

func (o *MetadataWithStatus) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithStatus) HasResourceURN added in v1.3.0

func (o *MetadataWithStatus) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*MetadataWithStatus) HasState added in v1.3.0

func (o *MetadataWithStatus) HasState() bool

HasState returns a boolean if a field has been set.

func (MetadataWithStatus) MarshalJSON added in v1.3.0

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

func (*MetadataWithStatus) SetCreatedBy added in v1.3.0

func (o *MetadataWithStatus) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*MetadataWithStatus) SetCreatedByUserId added in v1.3.0

func (o *MetadataWithStatus) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*MetadataWithStatus) SetCreatedDate added in v1.3.0

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

SetCreatedDate sets field value

func (*MetadataWithStatus) SetLastModifiedBy added in v1.3.0

func (o *MetadataWithStatus) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*MetadataWithStatus) SetLastModifiedByUserId added in v1.3.0

func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*MetadataWithStatus) SetLastModifiedDate added in v1.3.0

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

SetLastModifiedDate sets field value

func (*MetadataWithStatus) SetResourceURN added in v1.3.0

func (o *MetadataWithStatus) SetResourceURN(v string)

SetResourceURN sets field value

func (*MetadataWithStatus) SetState added in v1.3.0

func (o *MetadataWithStatus) SetState(v string)

SetState sets field value

type MetadataWithStatusAllOf added in v1.3.0

type MetadataWithStatusAllOf struct {
	// The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`.
	State *string `json:"state"`
}

MetadataWithStatusAllOf struct for MetadataWithStatusAllOf

func NewMetadataWithStatusAllOf added in v1.3.0

func NewMetadataWithStatusAllOf(state string) *MetadataWithStatusAllOf

NewMetadataWithStatusAllOf instantiates a new MetadataWithStatusAllOf 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 NewMetadataWithStatusAllOfWithDefaults added in v1.3.0

func NewMetadataWithStatusAllOfWithDefaults() *MetadataWithStatusAllOf

NewMetadataWithStatusAllOfWithDefaults instantiates a new MetadataWithStatusAllOf 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 (*MetadataWithStatusAllOf) GetState added in v1.3.0

func (o *MetadataWithStatusAllOf) GetState() *string

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

func (*MetadataWithStatusAllOf) GetStateOk added in v1.3.0

func (o *MetadataWithStatusAllOf) 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 (*MetadataWithStatusAllOf) HasState added in v1.3.0

func (o *MetadataWithStatusAllOf) HasState() bool

HasState returns a boolean if a field has been set.

func (MetadataWithStatusAllOf) MarshalJSON added in v1.3.0

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

func (*MetadataWithStatusAllOf) SetState added in v1.3.0

func (o *MetadataWithStatusAllOf) SetState(v string)

SetState sets field value

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 NullableCentralLogging added in v1.3.0

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

func NewNullableCentralLogging added in v1.3.0

func NewNullableCentralLogging(val *CentralLogging) *NullableCentralLogging

func (NullableCentralLogging) Get added in v1.3.0

func (NullableCentralLogging) IsSet added in v1.3.0

func (v NullableCentralLogging) IsSet() bool

func (NullableCentralLogging) MarshalJSON added in v1.3.0

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

func (*NullableCentralLogging) Set added in v1.3.0

func (*NullableCentralLogging) UnmarshalJSON added in v1.3.0

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

func (*NullableCentralLogging) Unset added in v1.3.0

func (v *NullableCentralLogging) Unset()

type NullableCentralLoggingCreate added in v1.3.0

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

func NewNullableCentralLoggingCreate added in v1.3.0

func NewNullableCentralLoggingCreate(val *CentralLoggingCreate) *NullableCentralLoggingCreate

func (NullableCentralLoggingCreate) Get added in v1.3.0

func (NullableCentralLoggingCreate) IsSet added in v1.3.0

func (NullableCentralLoggingCreate) MarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingCreate) Set added in v1.3.0

func (*NullableCentralLoggingCreate) UnmarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingCreate) Unset added in v1.3.0

func (v *NullableCentralLoggingCreate) Unset()

type NullableCentralLoggingEnsure added in v1.3.0

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

func NewNullableCentralLoggingEnsure added in v1.3.0

func NewNullableCentralLoggingEnsure(val *CentralLoggingEnsure) *NullableCentralLoggingEnsure

func (NullableCentralLoggingEnsure) Get added in v1.3.0

func (NullableCentralLoggingEnsure) IsSet added in v1.3.0

func (NullableCentralLoggingEnsure) MarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingEnsure) Set added in v1.3.0

func (*NullableCentralLoggingEnsure) UnmarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingEnsure) Unset added in v1.3.0

func (v *NullableCentralLoggingEnsure) Unset()

type NullableCentralLoggingRead added in v1.3.0

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

func NewNullableCentralLoggingRead added in v1.3.0

func NewNullableCentralLoggingRead(val *CentralLoggingRead) *NullableCentralLoggingRead

func (NullableCentralLoggingRead) Get added in v1.3.0

func (NullableCentralLoggingRead) IsSet added in v1.3.0

func (v NullableCentralLoggingRead) IsSet() bool

func (NullableCentralLoggingRead) MarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingRead) Set added in v1.3.0

func (*NullableCentralLoggingRead) UnmarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingRead) Unset added in v1.3.0

func (v *NullableCentralLoggingRead) Unset()

type NullableCentralLoggingReadList added in v1.3.0

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

func NewNullableCentralLoggingReadList added in v1.3.0

func NewNullableCentralLoggingReadList(val *CentralLoggingReadList) *NullableCentralLoggingReadList

func (NullableCentralLoggingReadList) Get added in v1.3.0

func (NullableCentralLoggingReadList) IsSet added in v1.3.0

func (NullableCentralLoggingReadList) MarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingReadList) Set added in v1.3.0

func (*NullableCentralLoggingReadList) UnmarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingReadList) Unset added in v1.3.0

func (v *NullableCentralLoggingReadList) Unset()

type NullableCentralLoggingReadListAllOf added in v1.3.0

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

func NewNullableCentralLoggingReadListAllOf added in v1.3.0

func NewNullableCentralLoggingReadListAllOf(val *CentralLoggingReadListAllOf) *NullableCentralLoggingReadListAllOf

func (NullableCentralLoggingReadListAllOf) Get added in v1.3.0

func (NullableCentralLoggingReadListAllOf) IsSet added in v1.3.0

func (NullableCentralLoggingReadListAllOf) MarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingReadListAllOf) Set added in v1.3.0

func (*NullableCentralLoggingReadListAllOf) UnmarshalJSON added in v1.3.0

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

func (*NullableCentralLoggingReadListAllOf) Unset added in v1.3.0

type NullableError added in v1.3.0

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

func NewNullableError added in v1.3.0

func NewNullableError(val *Error) *NullableError

func (NullableError) Get added in v1.3.0

func (v NullableError) Get() *Error

func (NullableError) IsSet added in v1.3.0

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON added in v1.3.0

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

func (*NullableError) Set added in v1.3.0

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

func (*NullableError) UnmarshalJSON added in v1.3.0

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

func (*NullableError) Unset added in v1.3.0

func (v *NullableError) Unset()

type NullableErrorMessages added in v1.3.0

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

func NewNullableErrorMessages added in v1.3.0

func NewNullableErrorMessages(val *ErrorMessages) *NullableErrorMessages

func (NullableErrorMessages) Get added in v1.3.0

func (NullableErrorMessages) IsSet added in v1.3.0

func (v NullableErrorMessages) IsSet() bool

func (NullableErrorMessages) MarshalJSON added in v1.3.0

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

func (*NullableErrorMessages) Set added in v1.3.0

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

func (*NullableErrorMessages) UnmarshalJSON added in v1.3.0

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

func (*NullableErrorMessages) Unset added in v1.3.0

func (v *NullableErrorMessages) 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 NullableKeyRead added in v1.3.0

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

func NewNullableKeyRead added in v1.3.0

func NewNullableKeyRead(val *KeyRead) *NullableKeyRead

func (NullableKeyRead) Get added in v1.3.0

func (v NullableKeyRead) Get() *KeyRead

func (NullableKeyRead) IsSet added in v1.3.0

func (v NullableKeyRead) IsSet() bool

func (NullableKeyRead) MarshalJSON added in v1.3.0

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

func (*NullableKeyRead) Set added in v1.3.0

func (v *NullableKeyRead) Set(val *KeyRead)

func (*NullableKeyRead) UnmarshalJSON added in v1.3.0

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

func (*NullableKeyRead) Unset added in v1.3.0

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

func (NullableLinks) Get added in v1.3.0

func (v NullableLinks) Get() *Links

func (NullableLinks) IsSet added in v1.3.0

func (v NullableLinks) IsSet() bool

func (NullableLinks) MarshalJSON added in v1.3.0

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

func (*NullableLinks) Set added in v1.3.0

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

func (*NullableLinks) UnmarshalJSON added in v1.3.0

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

func (*NullableLinks) Unset added in v1.3.0

func (v *NullableLinks) Unset()

type NullableMetadata

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

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

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

func (*NullableMetadata) Set

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

func (*NullableMetadata) UnmarshalJSON

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

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullableMetadataForCentralLogging added in v1.3.0

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

func NewNullableMetadataForCentralLogging added in v1.3.0

func NewNullableMetadataForCentralLogging(val *MetadataForCentralLogging) *NullableMetadataForCentralLogging

func (NullableMetadataForCentralLogging) Get added in v1.3.0

func (NullableMetadataForCentralLogging) IsSet added in v1.3.0

func (NullableMetadataForCentralLogging) MarshalJSON added in v1.3.0

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

func (*NullableMetadataForCentralLogging) Set added in v1.3.0

func (*NullableMetadataForCentralLogging) UnmarshalJSON added in v1.3.0

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

func (*NullableMetadataForCentralLogging) Unset added in v1.3.0

type NullableMetadataForCentralLoggingAllOf added in v1.3.0

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

func NewNullableMetadataForCentralLoggingAllOf added in v1.3.0

func NewNullableMetadataForCentralLoggingAllOf(val *MetadataForCentralLoggingAllOf) *NullableMetadataForCentralLoggingAllOf

func (NullableMetadataForCentralLoggingAllOf) Get added in v1.3.0

func (NullableMetadataForCentralLoggingAllOf) IsSet added in v1.3.0

func (NullableMetadataForCentralLoggingAllOf) MarshalJSON added in v1.3.0

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

func (*NullableMetadataForCentralLoggingAllOf) Set added in v1.3.0

func (*NullableMetadataForCentralLoggingAllOf) UnmarshalJSON added in v1.3.0

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

func (*NullableMetadataForCentralLoggingAllOf) Unset added in v1.3.0

type NullableMetadataWithStatus added in v1.3.0

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

func NewNullableMetadataWithStatus added in v1.3.0

func NewNullableMetadataWithStatus(val *MetadataWithStatus) *NullableMetadataWithStatus

func (NullableMetadataWithStatus) Get added in v1.3.0

func (NullableMetadataWithStatus) IsSet added in v1.3.0

func (v NullableMetadataWithStatus) IsSet() bool

func (NullableMetadataWithStatus) MarshalJSON added in v1.3.0

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

func (*NullableMetadataWithStatus) Set added in v1.3.0

func (*NullableMetadataWithStatus) UnmarshalJSON added in v1.3.0

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

func (*NullableMetadataWithStatus) Unset added in v1.3.0

func (v *NullableMetadataWithStatus) Unset()

type NullableMetadataWithStatusAllOf added in v1.3.0

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

func NewNullableMetadataWithStatusAllOf added in v1.3.0

func NewNullableMetadataWithStatusAllOf(val *MetadataWithStatusAllOf) *NullableMetadataWithStatusAllOf

func (NullableMetadataWithStatusAllOf) Get added in v1.3.0

func (NullableMetadataWithStatusAllOf) IsSet added in v1.3.0

func (NullableMetadataWithStatusAllOf) MarshalJSON added in v1.3.0

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

func (*NullableMetadataWithStatusAllOf) Set added in v1.3.0

func (*NullableMetadataWithStatusAllOf) UnmarshalJSON added in v1.3.0

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

func (*NullableMetadataWithStatusAllOf) Unset added in v1.3.0

type NullablePagination added in v1.3.0

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

func NewNullablePagination added in v1.3.0

func NewNullablePagination(val *Pagination) *NullablePagination

func (NullablePagination) Get added in v1.3.0

func (v NullablePagination) Get() *Pagination

func (NullablePagination) IsSet added in v1.3.0

func (v NullablePagination) IsSet() bool

func (NullablePagination) MarshalJSON added in v1.3.0

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

func (*NullablePagination) Set added in v1.3.0

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

func (*NullablePagination) UnmarshalJSON added in v1.3.0

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

func (*NullablePagination) Unset added in v1.3.0

func (v *NullablePagination) Unset()

type NullablePipeline

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

func NewNullablePipeline

func NewNullablePipeline(val *Pipeline) *NullablePipeline

func (NullablePipeline) Get

func (v NullablePipeline) Get() *Pipeline

func (NullablePipeline) IsSet

func (v NullablePipeline) IsSet() bool

func (NullablePipeline) MarshalJSON

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

func (*NullablePipeline) Set

func (v *NullablePipeline) Set(val *Pipeline)

func (*NullablePipeline) UnmarshalJSON

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

func (*NullablePipeline) Unset

func (v *NullablePipeline) Unset()

type NullablePipelineAllOf added in v1.3.0

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

func NewNullablePipelineAllOf added in v1.3.0

func NewNullablePipelineAllOf(val *PipelineAllOf) *NullablePipelineAllOf

func (NullablePipelineAllOf) Get added in v1.3.0

func (NullablePipelineAllOf) IsSet added in v1.3.0

func (v NullablePipelineAllOf) IsSet() bool

func (NullablePipelineAllOf) MarshalJSON added in v1.3.0

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

func (*NullablePipelineAllOf) Set added in v1.3.0

func (v *NullablePipelineAllOf) Set(val *PipelineAllOf)

func (*NullablePipelineAllOf) UnmarshalJSON added in v1.3.0

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

func (*NullablePipelineAllOf) Unset added in v1.3.0

func (v *NullablePipelineAllOf) Unset()

type NullablePipelineCreate added in v1.0.1

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

func NewNullablePipelineCreate added in v1.0.1

func NewNullablePipelineCreate(val *PipelineCreate) *NullablePipelineCreate

func (NullablePipelineCreate) Get added in v1.0.1

func (NullablePipelineCreate) IsSet added in v1.0.1

func (v NullablePipelineCreate) IsSet() bool

func (NullablePipelineCreate) MarshalJSON added in v1.0.1

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

func (*NullablePipelineCreate) Set added in v1.0.1

func (*NullablePipelineCreate) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelineCreate) Unset added in v1.0.1

func (v *NullablePipelineCreate) Unset()

type NullablePipelineNoAddr added in v1.3.0

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

func NewNullablePipelineNoAddr added in v1.3.0

func NewNullablePipelineNoAddr(val *PipelineNoAddr) *NullablePipelineNoAddr

func (NullablePipelineNoAddr) Get added in v1.3.0

func (NullablePipelineNoAddr) IsSet added in v1.3.0

func (v NullablePipelineNoAddr) IsSet() bool

func (NullablePipelineNoAddr) MarshalJSON added in v1.3.0

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

func (*NullablePipelineNoAddr) Set added in v1.3.0

func (*NullablePipelineNoAddr) UnmarshalJSON added in v1.3.0

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

func (*NullablePipelineNoAddr) Unset added in v1.3.0

func (v *NullablePipelineNoAddr) Unset()

type NullablePipelineNoAddrLogs added in v1.3.0

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

func NewNullablePipelineNoAddrLogs added in v1.3.0

func NewNullablePipelineNoAddrLogs(val *PipelineNoAddrLogs) *NullablePipelineNoAddrLogs

func (NullablePipelineNoAddrLogs) Get added in v1.3.0

func (NullablePipelineNoAddrLogs) IsSet added in v1.3.0

func (v NullablePipelineNoAddrLogs) IsSet() bool

func (NullablePipelineNoAddrLogs) MarshalJSON added in v1.3.0

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

func (*NullablePipelineNoAddrLogs) Set added in v1.3.0

func (*NullablePipelineNoAddrLogs) UnmarshalJSON added in v1.3.0

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

func (*NullablePipelineNoAddrLogs) Unset added in v1.3.0

func (v *NullablePipelineNoAddrLogs) Unset()

type NullablePipelineNoAddrLogsDestinations added in v1.3.0

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

func NewNullablePipelineNoAddrLogsDestinations added in v1.3.0

func NewNullablePipelineNoAddrLogsDestinations(val *PipelineNoAddrLogsDestinations) *NullablePipelineNoAddrLogsDestinations

func (NullablePipelineNoAddrLogsDestinations) Get added in v1.3.0

func (NullablePipelineNoAddrLogsDestinations) IsSet added in v1.3.0

func (NullablePipelineNoAddrLogsDestinations) MarshalJSON added in v1.3.0

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

func (*NullablePipelineNoAddrLogsDestinations) Set added in v1.3.0

func (*NullablePipelineNoAddrLogsDestinations) UnmarshalJSON added in v1.3.0

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

func (*NullablePipelineNoAddrLogsDestinations) Unset added in v1.3.0

type NullablePipelinePatch added in v1.0.1

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

func NewNullablePipelinePatch added in v1.0.1

func NewNullablePipelinePatch(val *PipelinePatch) *NullablePipelinePatch

func (NullablePipelinePatch) Get added in v1.0.1

func (NullablePipelinePatch) IsSet added in v1.0.1

func (v NullablePipelinePatch) IsSet() bool

func (NullablePipelinePatch) MarshalJSON added in v1.0.1

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

func (*NullablePipelinePatch) Set added in v1.0.1

func (v *NullablePipelinePatch) Set(val *PipelinePatch)

func (*NullablePipelinePatch) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelinePatch) Unset added in v1.0.1

func (v *NullablePipelinePatch) Unset()

type NullablePipelineRead added in v1.3.0

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

func NewNullablePipelineRead added in v1.3.0

func NewNullablePipelineRead(val *PipelineRead) *NullablePipelineRead

func (NullablePipelineRead) Get added in v1.3.0

func (NullablePipelineRead) IsSet added in v1.3.0

func (v NullablePipelineRead) IsSet() bool

func (NullablePipelineRead) MarshalJSON added in v1.3.0

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

func (*NullablePipelineRead) Set added in v1.3.0

func (v *NullablePipelineRead) Set(val *PipelineRead)

func (*NullablePipelineRead) UnmarshalJSON added in v1.3.0

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

func (*NullablePipelineRead) Unset added in v1.3.0

func (v *NullablePipelineRead) Unset()

type NullablePipelineReadList added in v1.3.0

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

func NewNullablePipelineReadList added in v1.3.0

func NewNullablePipelineReadList(val *PipelineReadList) *NullablePipelineReadList

func (NullablePipelineReadList) Get added in v1.3.0

func (NullablePipelineReadList) IsSet added in v1.3.0

func (v NullablePipelineReadList) IsSet() bool

func (NullablePipelineReadList) MarshalJSON added in v1.3.0

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

func (*NullablePipelineReadList) Set added in v1.3.0

func (*NullablePipelineReadList) UnmarshalJSON added in v1.3.0

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

func (*NullablePipelineReadList) Unset added in v1.3.0

func (v *NullablePipelineReadList) Unset()

type NullablePipelineReadListAllOf added in v1.3.0

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

func NewNullablePipelineReadListAllOf added in v1.3.0

func NewNullablePipelineReadListAllOf(val *PipelineReadListAllOf) *NullablePipelineReadListAllOf

func (NullablePipelineReadListAllOf) Get added in v1.3.0

func (NullablePipelineReadListAllOf) IsSet added in v1.3.0

func (NullablePipelineReadListAllOf) MarshalJSON added in v1.3.0

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

func (*NullablePipelineReadListAllOf) Set added in v1.3.0

func (*NullablePipelineReadListAllOf) UnmarshalJSON added in v1.3.0

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

func (*NullablePipelineReadListAllOf) Unset added in v1.3.0

func (v *NullablePipelineReadListAllOf) 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 Pagination added in v1.3.0

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

Pagination Pagination information. The offset and limit parameters are used to navigate the list of elements. The _links object contains URLs to navigate the different pages.

func NewPagination added in v1.3.0

func NewPagination(offset int32, limit int32, links Links) *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.3.0

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.3.0

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.3.0

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.3.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.3.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.3.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.3.0

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.3.0

func (o *Pagination) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (Pagination) MarshalJSON added in v1.3.0

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

func (*Pagination) SetLimit added in v1.3.0

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.3.0

func (o *Pagination) SetOffset(v int32)

SetOffset sets field value

type Pipeline

type Pipeline struct {
	// The name of the pipeline. Must be not more that 20 characters long.
	Name *string               `json:"name"`
	Logs *[]PipelineNoAddrLogs `json:"logs,omitempty"`
	// The TCP address of the pipeline. This is the address to which logs are sent using the TCP protocol.
	TcpAddress *string `json:"tcpAddress,omitempty"`
	// The HTTP address of the pipeline. This is the address to which logs are sent using the HTTP protocol.
	HttpAddress *string `json:"httpAddress,omitempty"`
	// The Grafana address is where user can access their logs, create dashboards, and set up alerts.
	GrafanaAddress *string `json:"grafanaAddress,omitempty"`
	ResourceTier   *string `json:"resourceTier,omitempty"`
	// The key is shared once and is used to authenticate the logs sent to the pipeline.
	Key *string `json:"key,omitempty"`
}

Pipeline struct for Pipeline

func NewPipeline

func NewPipeline(name string) *Pipeline

NewPipeline instantiates a new Pipeline 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 NewPipelineWithDefaults

func NewPipelineWithDefaults() *Pipeline

NewPipelineWithDefaults instantiates a new Pipeline 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 (*Pipeline) GetGrafanaAddress added in v1.3.0

func (o *Pipeline) GetGrafanaAddress() *string

GetGrafanaAddress returns the GrafanaAddress field value If the value is explicit nil, the zero value for string will be returned

func (*Pipeline) GetGrafanaAddressOk added in v1.3.0

func (o *Pipeline) GetGrafanaAddressOk() (*string, bool)

GetGrafanaAddressOk returns a tuple with the GrafanaAddress 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 (*Pipeline) GetHttpAddress added in v1.3.0

func (o *Pipeline) GetHttpAddress() *string

GetHttpAddress returns the HttpAddress field value If the value is explicit nil, the zero value for string will be returned

func (*Pipeline) GetHttpAddressOk added in v1.3.0

func (o *Pipeline) GetHttpAddressOk() (*string, bool)

GetHttpAddressOk returns a tuple with the HttpAddress 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 (*Pipeline) GetKey added in v1.3.0

func (o *Pipeline) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*Pipeline) GetKeyOk added in v1.3.0

func (o *Pipeline) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key 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 (*Pipeline) GetLogs added in v1.3.0

func (o *Pipeline) GetLogs() *[]PipelineNoAddrLogs

GetLogs returns the Logs field value If the value is explicit nil, the zero value for []PipelineNoAddrLogs will be returned

func (*Pipeline) GetLogsOk added in v1.3.0

func (o *Pipeline) GetLogsOk() (*[]PipelineNoAddrLogs, bool)

GetLogsOk returns a tuple with the Logs 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 (*Pipeline) GetName added in v1.3.0

func (o *Pipeline) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Pipeline) GetNameOk added in v1.3.0

func (o *Pipeline) 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 (*Pipeline) GetResourceTier added in v1.3.0

func (o *Pipeline) GetResourceTier() *string

GetResourceTier returns the ResourceTier field value If the value is explicit nil, the zero value for string will be returned

func (*Pipeline) GetResourceTierOk added in v1.3.0

func (o *Pipeline) GetResourceTierOk() (*string, bool)

GetResourceTierOk returns a tuple with the ResourceTier 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 (*Pipeline) GetTcpAddress added in v1.3.0

func (o *Pipeline) GetTcpAddress() *string

GetTcpAddress returns the TcpAddress field value If the value is explicit nil, the zero value for string will be returned

func (*Pipeline) GetTcpAddressOk added in v1.3.0

func (o *Pipeline) GetTcpAddressOk() (*string, bool)

GetTcpAddressOk returns a tuple with the TcpAddress 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 (*Pipeline) HasGrafanaAddress added in v1.3.0

func (o *Pipeline) HasGrafanaAddress() bool

HasGrafanaAddress returns a boolean if a field has been set.

func (*Pipeline) HasHttpAddress added in v1.3.0

func (o *Pipeline) HasHttpAddress() bool

HasHttpAddress returns a boolean if a field has been set.

func (*Pipeline) HasKey added in v1.3.0

func (o *Pipeline) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Pipeline) HasLogs added in v1.3.0

func (o *Pipeline) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*Pipeline) HasName added in v1.3.0

func (o *Pipeline) HasName() bool

HasName returns a boolean if a field has been set.

func (*Pipeline) HasResourceTier added in v1.3.0

func (o *Pipeline) HasResourceTier() bool

HasResourceTier returns a boolean if a field has been set.

func (*Pipeline) HasTcpAddress added in v1.3.0

func (o *Pipeline) HasTcpAddress() bool

HasTcpAddress returns a boolean if a field has been set.

func (Pipeline) MarshalJSON

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

func (*Pipeline) SetGrafanaAddress added in v1.3.0

func (o *Pipeline) SetGrafanaAddress(v string)

SetGrafanaAddress sets field value

func (*Pipeline) SetHttpAddress added in v1.3.0

func (o *Pipeline) SetHttpAddress(v string)

SetHttpAddress sets field value

func (*Pipeline) SetKey added in v1.3.0

func (o *Pipeline) SetKey(v string)

SetKey sets field value

func (*Pipeline) SetLogs added in v1.3.0

func (o *Pipeline) SetLogs(v []PipelineNoAddrLogs)

SetLogs sets field value

func (*Pipeline) SetName added in v1.3.0

func (o *Pipeline) SetName(v string)

SetName sets field value

func (*Pipeline) SetResourceTier added in v1.3.0

func (o *Pipeline) SetResourceTier(v string)

SetResourceTier sets field value

func (*Pipeline) SetTcpAddress added in v1.3.0

func (o *Pipeline) SetTcpAddress(v string)

SetTcpAddress sets field value

type PipelineAllOf added in v1.3.0

type PipelineAllOf struct {
	// The TCP address of the pipeline. This is the address to which logs are sent using the TCP protocol.
	TcpAddress *string `json:"tcpAddress,omitempty"`
	// The HTTP address of the pipeline. This is the address to which logs are sent using the HTTP protocol.
	HttpAddress *string `json:"httpAddress,omitempty"`
	// The Grafana address is where user can access their logs, create dashboards, and set up alerts.
	GrafanaAddress *string `json:"grafanaAddress,omitempty"`
	ResourceTier   *string `json:"resourceTier,omitempty"`
	// The key is shared once and is used to authenticate the logs sent to the pipeline.
	Key *string `json:"key,omitempty"`
}

PipelineAllOf struct for PipelineAllOf

func NewPipelineAllOf added in v1.3.0

func NewPipelineAllOf() *PipelineAllOf

NewPipelineAllOf instantiates a new PipelineAllOf 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 NewPipelineAllOfWithDefaults added in v1.3.0

func NewPipelineAllOfWithDefaults() *PipelineAllOf

NewPipelineAllOfWithDefaults instantiates a new PipelineAllOf 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 (*PipelineAllOf) GetGrafanaAddress added in v1.3.0

func (o *PipelineAllOf) GetGrafanaAddress() *string

GetGrafanaAddress returns the GrafanaAddress field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineAllOf) GetGrafanaAddressOk added in v1.3.0

func (o *PipelineAllOf) GetGrafanaAddressOk() (*string, bool)

GetGrafanaAddressOk returns a tuple with the GrafanaAddress 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 (*PipelineAllOf) GetHttpAddress added in v1.3.0

func (o *PipelineAllOf) GetHttpAddress() *string

GetHttpAddress returns the HttpAddress field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineAllOf) GetHttpAddressOk added in v1.3.0

func (o *PipelineAllOf) GetHttpAddressOk() (*string, bool)

GetHttpAddressOk returns a tuple with the HttpAddress 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 (*PipelineAllOf) GetKey added in v1.3.0

func (o *PipelineAllOf) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineAllOf) GetKeyOk added in v1.3.0

func (o *PipelineAllOf) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key 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 (*PipelineAllOf) GetResourceTier added in v1.3.0

func (o *PipelineAllOf) GetResourceTier() *string

GetResourceTier returns the ResourceTier field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineAllOf) GetResourceTierOk added in v1.3.0

func (o *PipelineAllOf) GetResourceTierOk() (*string, bool)

GetResourceTierOk returns a tuple with the ResourceTier 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 (*PipelineAllOf) GetTcpAddress added in v1.3.0

func (o *PipelineAllOf) GetTcpAddress() *string

GetTcpAddress returns the TcpAddress field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineAllOf) GetTcpAddressOk added in v1.3.0

func (o *PipelineAllOf) GetTcpAddressOk() (*string, bool)

GetTcpAddressOk returns a tuple with the TcpAddress 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 (*PipelineAllOf) HasGrafanaAddress added in v1.3.0

func (o *PipelineAllOf) HasGrafanaAddress() bool

HasGrafanaAddress returns a boolean if a field has been set.

func (*PipelineAllOf) HasHttpAddress added in v1.3.0

func (o *PipelineAllOf) HasHttpAddress() bool

HasHttpAddress returns a boolean if a field has been set.

func (*PipelineAllOf) HasKey added in v1.3.0

func (o *PipelineAllOf) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*PipelineAllOf) HasResourceTier added in v1.3.0

func (o *PipelineAllOf) HasResourceTier() bool

HasResourceTier returns a boolean if a field has been set.

func (*PipelineAllOf) HasTcpAddress added in v1.3.0

func (o *PipelineAllOf) HasTcpAddress() bool

HasTcpAddress returns a boolean if a field has been set.

func (PipelineAllOf) MarshalJSON added in v1.3.0

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

func (*PipelineAllOf) SetGrafanaAddress added in v1.3.0

func (o *PipelineAllOf) SetGrafanaAddress(v string)

SetGrafanaAddress sets field value

func (*PipelineAllOf) SetHttpAddress added in v1.3.0

func (o *PipelineAllOf) SetHttpAddress(v string)

SetHttpAddress sets field value

func (*PipelineAllOf) SetKey added in v1.3.0

func (o *PipelineAllOf) SetKey(v string)

SetKey sets field value

func (*PipelineAllOf) SetResourceTier added in v1.3.0

func (o *PipelineAllOf) SetResourceTier(v string)

SetResourceTier sets field value

func (*PipelineAllOf) SetTcpAddress added in v1.3.0

func (o *PipelineAllOf) SetTcpAddress(v string)

SetTcpAddress sets field value

type PipelineCreate added in v1.0.1

type PipelineCreate struct {
	Properties *PipelineNoAddr `json:"properties"`
}

PipelineCreate A pipeline consists of the building blocks of a centralized logging system including supported log agents and log sources and also public endpoints to push and access logs.

func NewPipelineCreate added in v1.0.1

func NewPipelineCreate(properties PipelineNoAddr) *PipelineCreate

NewPipelineCreate instantiates a new PipelineCreate 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 NewPipelineCreateWithDefaults added in v1.0.1

func NewPipelineCreateWithDefaults() *PipelineCreate

NewPipelineCreateWithDefaults instantiates a new PipelineCreate 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 (*PipelineCreate) GetProperties added in v1.0.1

func (o *PipelineCreate) GetProperties() *PipelineNoAddr

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

func (*PipelineCreate) GetPropertiesOk added in v1.0.1

func (o *PipelineCreate) GetPropertiesOk() (*PipelineNoAddr, 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 (*PipelineCreate) HasProperties added in v1.0.1

func (o *PipelineCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PipelineCreate) MarshalJSON added in v1.0.1

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

func (*PipelineCreate) SetProperties added in v1.0.1

func (o *PipelineCreate) SetProperties(v PipelineNoAddr)

SetProperties sets field value

type PipelineNoAddr added in v1.3.0

type PipelineNoAddr struct {
	// The name of the pipeline. Must be not more that 20 characters long.
	Name *string               `json:"name"`
	Logs *[]PipelineNoAddrLogs `json:"logs,omitempty"`
}

PipelineNoAddr A pipeline consists of the building blocks of a centralized logging system including supported log agents and log sources and also public endpoints to push and access logs.

func NewPipelineNoAddr added in v1.3.0

func NewPipelineNoAddr(name string) *PipelineNoAddr

NewPipelineNoAddr instantiates a new PipelineNoAddr 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 NewPipelineNoAddrWithDefaults added in v1.3.0

func NewPipelineNoAddrWithDefaults() *PipelineNoAddr

NewPipelineNoAddrWithDefaults instantiates a new PipelineNoAddr 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 (*PipelineNoAddr) GetLogs added in v1.3.0

func (o *PipelineNoAddr) GetLogs() *[]PipelineNoAddrLogs

GetLogs returns the Logs field value If the value is explicit nil, the zero value for []PipelineNoAddrLogs will be returned

func (*PipelineNoAddr) GetLogsOk added in v1.3.0

func (o *PipelineNoAddr) GetLogsOk() (*[]PipelineNoAddrLogs, bool)

GetLogsOk returns a tuple with the Logs 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 (*PipelineNoAddr) GetName added in v1.3.0

func (o *PipelineNoAddr) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineNoAddr) GetNameOk added in v1.3.0

func (o *PipelineNoAddr) 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 (*PipelineNoAddr) HasLogs added in v1.3.0

func (o *PipelineNoAddr) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*PipelineNoAddr) HasName added in v1.3.0

func (o *PipelineNoAddr) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineNoAddr) MarshalJSON added in v1.3.0

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

func (*PipelineNoAddr) SetLogs added in v1.3.0

func (o *PipelineNoAddr) SetLogs(v []PipelineNoAddrLogs)

SetLogs sets field value

func (*PipelineNoAddr) SetName added in v1.3.0

func (o *PipelineNoAddr) SetName(v string)

SetName sets field value

type PipelineNoAddrLogs added in v1.3.0

type PipelineNoAddrLogs struct {
	// The source of the logs. Could be one of the following: `generic`, `kubernetes`, `docker`, `systemd`.
	Source *string `json:"source"`
	// The tag of the logs. Tag represents a short alphanumeric badge (3–20 characters). It must contain only letters and digits, with no special characters or spaces.
	Tag *string `json:"tag"`
	// The protocol used to send logs. Could be one of the following: `http`, `tcp`.
	Protocol     *string                           `json:"protocol"`
	Destinations *[]PipelineNoAddrLogsDestinations `json:"destinations"`
}

PipelineNoAddrLogs struct for PipelineNoAddrLogs

func NewPipelineNoAddrLogs added in v1.3.0

func NewPipelineNoAddrLogs(source string, tag string, protocol string, destinations []PipelineNoAddrLogsDestinations) *PipelineNoAddrLogs

NewPipelineNoAddrLogs instantiates a new PipelineNoAddrLogs 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 NewPipelineNoAddrLogsWithDefaults added in v1.3.0

func NewPipelineNoAddrLogsWithDefaults() *PipelineNoAddrLogs

NewPipelineNoAddrLogsWithDefaults instantiates a new PipelineNoAddrLogs 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 (*PipelineNoAddrLogs) GetDestinations added in v1.3.0

func (o *PipelineNoAddrLogs) GetDestinations() *[]PipelineNoAddrLogsDestinations

GetDestinations returns the Destinations field value If the value is explicit nil, the zero value for []PipelineNoAddrLogsDestinations will be returned

func (*PipelineNoAddrLogs) GetDestinationsOk added in v1.3.0

func (o *PipelineNoAddrLogs) GetDestinationsOk() (*[]PipelineNoAddrLogsDestinations, bool)

GetDestinationsOk returns a tuple with the Destinations 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 (*PipelineNoAddrLogs) GetProtocol added in v1.3.0

func (o *PipelineNoAddrLogs) GetProtocol() *string

GetProtocol returns the Protocol field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineNoAddrLogs) GetProtocolOk added in v1.3.0

func (o *PipelineNoAddrLogs) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol 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 (*PipelineNoAddrLogs) GetSource added in v1.3.0

func (o *PipelineNoAddrLogs) GetSource() *string

GetSource returns the Source field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineNoAddrLogs) GetSourceOk added in v1.3.0

func (o *PipelineNoAddrLogs) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source 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 (*PipelineNoAddrLogs) GetTag added in v1.3.0

func (o *PipelineNoAddrLogs) GetTag() *string

GetTag returns the Tag field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineNoAddrLogs) GetTagOk added in v1.3.0

func (o *PipelineNoAddrLogs) GetTagOk() (*string, bool)

GetTagOk returns a tuple with the Tag 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 (*PipelineNoAddrLogs) HasDestinations added in v1.3.0

func (o *PipelineNoAddrLogs) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*PipelineNoAddrLogs) HasProtocol added in v1.3.0

func (o *PipelineNoAddrLogs) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*PipelineNoAddrLogs) HasSource added in v1.3.0

func (o *PipelineNoAddrLogs) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*PipelineNoAddrLogs) HasTag added in v1.3.0

func (o *PipelineNoAddrLogs) HasTag() bool

HasTag returns a boolean if a field has been set.

func (PipelineNoAddrLogs) MarshalJSON added in v1.3.0

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

func (*PipelineNoAddrLogs) SetDestinations added in v1.3.0

func (o *PipelineNoAddrLogs) SetDestinations(v []PipelineNoAddrLogsDestinations)

SetDestinations sets field value

func (*PipelineNoAddrLogs) SetProtocol added in v1.3.0

func (o *PipelineNoAddrLogs) SetProtocol(v string)

SetProtocol sets field value

func (*PipelineNoAddrLogs) SetSource added in v1.3.0

func (o *PipelineNoAddrLogs) SetSource(v string)

SetSource sets field value

func (*PipelineNoAddrLogs) SetTag added in v1.3.0

func (o *PipelineNoAddrLogs) SetTag(v string)

SetTag sets field value

type PipelineNoAddrLogsDestinations added in v1.3.0

type PipelineNoAddrLogsDestinations struct {
	// The type of the destination. Could be one of the following: `loki`.
	Type *string `json:"type"`
	// The retention period of the logs in days. Could be one of the following: 0, 7, 14, 30.
	RetentionInDays *int32 `json:"retentionInDays"`
}

PipelineNoAddrLogsDestinations struct for PipelineNoAddrLogsDestinations

func NewPipelineNoAddrLogsDestinations added in v1.3.0

func NewPipelineNoAddrLogsDestinations(type_ string, retentionInDays int32) *PipelineNoAddrLogsDestinations

NewPipelineNoAddrLogsDestinations instantiates a new PipelineNoAddrLogsDestinations 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 NewPipelineNoAddrLogsDestinationsWithDefaults added in v1.3.0

func NewPipelineNoAddrLogsDestinationsWithDefaults() *PipelineNoAddrLogsDestinations

NewPipelineNoAddrLogsDestinationsWithDefaults instantiates a new PipelineNoAddrLogsDestinations 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 (*PipelineNoAddrLogsDestinations) GetRetentionInDays added in v1.3.0

func (o *PipelineNoAddrLogsDestinations) GetRetentionInDays() *int32

GetRetentionInDays returns the RetentionInDays field value If the value is explicit nil, the zero value for int32 will be returned

func (*PipelineNoAddrLogsDestinations) GetRetentionInDaysOk added in v1.3.0

func (o *PipelineNoAddrLogsDestinations) GetRetentionInDaysOk() (*int32, bool)

GetRetentionInDaysOk returns a tuple with the RetentionInDays 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 (*PipelineNoAddrLogsDestinations) GetType added in v1.3.0

func (o *PipelineNoAddrLogsDestinations) GetType() *string

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

func (*PipelineNoAddrLogsDestinations) GetTypeOk added in v1.3.0

func (o *PipelineNoAddrLogsDestinations) 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 (*PipelineNoAddrLogsDestinations) HasRetentionInDays added in v1.3.0

func (o *PipelineNoAddrLogsDestinations) HasRetentionInDays() bool

HasRetentionInDays returns a boolean if a field has been set.

func (*PipelineNoAddrLogsDestinations) HasType added in v1.3.0

func (o *PipelineNoAddrLogsDestinations) HasType() bool

HasType returns a boolean if a field has been set.

func (PipelineNoAddrLogsDestinations) MarshalJSON added in v1.3.0

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

func (*PipelineNoAddrLogsDestinations) SetRetentionInDays added in v1.3.0

func (o *PipelineNoAddrLogsDestinations) SetRetentionInDays(v int32)

SetRetentionInDays sets field value

func (*PipelineNoAddrLogsDestinations) SetType added in v1.3.0

func (o *PipelineNoAddrLogsDestinations) SetType(v string)

SetType sets field value

type PipelinePatch added in v1.0.1

type PipelinePatch struct {
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *PipelineNoAddr         `json:"properties"`
}

PipelinePatch struct for PipelinePatch

func NewPipelinePatch added in v1.0.1

func NewPipelinePatch(properties PipelineNoAddr) *PipelinePatch

NewPipelinePatch instantiates a new PipelinePatch 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 NewPipelinePatchWithDefaults added in v1.0.1

func NewPipelinePatchWithDefaults() *PipelinePatch

NewPipelinePatchWithDefaults instantiates a new PipelinePatch 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 (*PipelinePatch) GetMetadata added in v1.3.0

func (o *PipelinePatch) GetMetadata() *map[string]interface{}

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

func (*PipelinePatch) GetMetadataOk added in v1.3.0

func (o *PipelinePatch) GetMetadataOk() (*map[string]interface{}, 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 (*PipelinePatch) GetProperties added in v1.0.1

func (o *PipelinePatch) GetProperties() *PipelineNoAddr

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

func (*PipelinePatch) GetPropertiesOk added in v1.0.1

func (o *PipelinePatch) GetPropertiesOk() (*PipelineNoAddr, 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 (*PipelinePatch) HasMetadata added in v1.3.0

func (o *PipelinePatch) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PipelinePatch) HasProperties added in v1.0.1

func (o *PipelinePatch) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PipelinePatch) MarshalJSON added in v1.0.1

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

func (*PipelinePatch) SetMetadata added in v1.3.0

func (o *PipelinePatch) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*PipelinePatch) SetProperties added in v1.0.1

func (o *PipelinePatch) SetProperties(v PipelineNoAddr)

SetProperties sets field value

type PipelineRead added in v1.3.0

type PipelineRead struct {
	// The ID (UUID) of the Pipeline.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the Pipeline.
	Href       *string             `json:"href"`
	Metadata   *MetadataWithStatus `json:"metadata"`
	Properties *Pipeline           `json:"properties"`
}

PipelineRead struct for PipelineRead

func NewPipelineRead added in v1.3.0

func NewPipelineRead(id string, type_ string, href string, metadata MetadataWithStatus, properties Pipeline) *PipelineRead

NewPipelineRead instantiates a new PipelineRead 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 NewPipelineReadWithDefaults added in v1.3.0

func NewPipelineReadWithDefaults() *PipelineRead

NewPipelineReadWithDefaults instantiates a new PipelineRead 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 (*PipelineRead) GetHref added in v1.3.0

func (o *PipelineRead) GetHref() *string

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

func (*PipelineRead) GetHrefOk added in v1.3.0

func (o *PipelineRead) 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 (*PipelineRead) GetId added in v1.3.0

func (o *PipelineRead) GetId() *string

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

func (*PipelineRead) GetIdOk added in v1.3.0

func (o *PipelineRead) 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 (*PipelineRead) GetMetadata added in v1.3.0

func (o *PipelineRead) GetMetadata() *MetadataWithStatus

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

func (*PipelineRead) GetMetadataOk added in v1.3.0

func (o *PipelineRead) GetMetadataOk() (*MetadataWithStatus, 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 (*PipelineRead) GetProperties added in v1.3.0

func (o *PipelineRead) GetProperties() *Pipeline

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

func (*PipelineRead) GetPropertiesOk added in v1.3.0

func (o *PipelineRead) GetPropertiesOk() (*Pipeline, 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 (*PipelineRead) GetType added in v1.3.0

func (o *PipelineRead) GetType() *string

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

func (*PipelineRead) GetTypeOk added in v1.3.0

func (o *PipelineRead) 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 (*PipelineRead) HasHref added in v1.3.0

func (o *PipelineRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*PipelineRead) HasId added in v1.3.0

func (o *PipelineRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*PipelineRead) HasMetadata added in v1.3.0

func (o *PipelineRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PipelineRead) HasProperties added in v1.3.0

func (o *PipelineRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*PipelineRead) HasType added in v1.3.0

func (o *PipelineRead) HasType() bool

HasType returns a boolean if a field has been set.

func (PipelineRead) MarshalJSON added in v1.3.0

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

func (*PipelineRead) SetHref added in v1.3.0

func (o *PipelineRead) SetHref(v string)

SetHref sets field value

func (*PipelineRead) SetId added in v1.3.0

func (o *PipelineRead) SetId(v string)

SetId sets field value

func (*PipelineRead) SetMetadata added in v1.3.0

func (o *PipelineRead) SetMetadata(v MetadataWithStatus)

SetMetadata sets field value

func (*PipelineRead) SetProperties added in v1.3.0

func (o *PipelineRead) SetProperties(v Pipeline)

SetProperties sets field value

func (*PipelineRead) SetType added in v1.3.0

func (o *PipelineRead) SetType(v string)

SetType sets field value

type PipelineReadList added in v1.3.0

type PipelineReadList struct {
	// ID of the list of Pipeline resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of Pipeline resources.
	Href *string `json:"href"`
	// The list of Pipeline resources.
	Items *[]PipelineRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0).
	Offset *int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit).
	Limit *int32 `json:"limit"`
	Links *Links `json:"_links"`
}

PipelineReadList struct for PipelineReadList

func NewPipelineReadList added in v1.3.0

func NewPipelineReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *PipelineReadList

NewPipelineReadList instantiates a new PipelineReadList 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 NewPipelineReadListWithDefaults added in v1.3.0

func NewPipelineReadListWithDefaults() *PipelineReadList

NewPipelineReadListWithDefaults instantiates a new PipelineReadList 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 (*PipelineReadList) GetHref added in v1.3.0

func (o *PipelineReadList) GetHref() *string

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

func (*PipelineReadList) GetHrefOk added in v1.3.0

func (o *PipelineReadList) 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 (*PipelineReadList) GetId added in v1.3.0

func (o *PipelineReadList) GetId() *string

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

func (*PipelineReadList) GetIdOk added in v1.3.0

func (o *PipelineReadList) 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 (*PipelineReadList) GetItems added in v1.3.0

func (o *PipelineReadList) GetItems() *[]PipelineRead

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

func (*PipelineReadList) GetItemsOk added in v1.3.0

func (o *PipelineReadList) GetItemsOk() (*[]PipelineRead, 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 (*PipelineReadList) GetLimit added in v1.3.0

func (o *PipelineReadList) GetLimit() *int32

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

func (*PipelineReadList) GetLimitOk added in v1.3.0

func (o *PipelineReadList) 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 *PipelineReadList) GetLinks() *Links

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

func (*PipelineReadList) GetLinksOk added in v1.3.0

func (o *PipelineReadList) 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 (*PipelineReadList) GetOffset added in v1.3.0

func (o *PipelineReadList) GetOffset() *int32

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

func (*PipelineReadList) GetOffsetOk added in v1.3.0

func (o *PipelineReadList) 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 (*PipelineReadList) GetType added in v1.3.0

func (o *PipelineReadList) GetType() *string

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

func (*PipelineReadList) GetTypeOk added in v1.3.0

func (o *PipelineReadList) 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 (*PipelineReadList) HasHref added in v1.3.0

func (o *PipelineReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*PipelineReadList) HasId added in v1.3.0

func (o *PipelineReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*PipelineReadList) HasItems added in v1.3.0

func (o *PipelineReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PipelineReadList) HasLimit added in v1.3.0

func (o *PipelineReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *PipelineReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*PipelineReadList) HasOffset added in v1.3.0

func (o *PipelineReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*PipelineReadList) HasType added in v1.3.0

func (o *PipelineReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (PipelineReadList) MarshalJSON added in v1.3.0

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

func (*PipelineReadList) SetHref added in v1.3.0

func (o *PipelineReadList) SetHref(v string)

SetHref sets field value

func (*PipelineReadList) SetId added in v1.3.0

func (o *PipelineReadList) SetId(v string)

SetId sets field value

func (*PipelineReadList) SetItems added in v1.3.0

func (o *PipelineReadList) SetItems(v []PipelineRead)

SetItems sets field value

func (*PipelineReadList) SetLimit added in v1.3.0

func (o *PipelineReadList) SetLimit(v int32)

SetLimit sets field value

func (o *PipelineReadList) SetLinks(v Links)

SetLinks sets field value

func (*PipelineReadList) SetOffset added in v1.3.0

func (o *PipelineReadList) SetOffset(v int32)

SetOffset sets field value

func (*PipelineReadList) SetType added in v1.3.0

func (o *PipelineReadList) SetType(v string)

SetType sets field value

type PipelineReadListAllOf added in v1.3.0

type PipelineReadListAllOf struct {
	// ID of the list of Pipeline resources.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the list of Pipeline resources.
	Href *string `json:"href"`
	// The list of Pipeline resources.
	Items *[]PipelineRead `json:"items,omitempty"`
}

PipelineReadListAllOf struct for PipelineReadListAllOf

func NewPipelineReadListAllOf added in v1.3.0

func NewPipelineReadListAllOf(id string, type_ string, href string) *PipelineReadListAllOf

NewPipelineReadListAllOf instantiates a new PipelineReadListAllOf 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 NewPipelineReadListAllOfWithDefaults added in v1.3.0

func NewPipelineReadListAllOfWithDefaults() *PipelineReadListAllOf

NewPipelineReadListAllOfWithDefaults instantiates a new PipelineReadListAllOf 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 (*PipelineReadListAllOf) GetHref added in v1.3.0

func (o *PipelineReadListAllOf) GetHref() *string

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

func (*PipelineReadListAllOf) GetHrefOk added in v1.3.0

func (o *PipelineReadListAllOf) 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 (*PipelineReadListAllOf) GetId added in v1.3.0

func (o *PipelineReadListAllOf) GetId() *string

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

func (*PipelineReadListAllOf) GetIdOk added in v1.3.0

func (o *PipelineReadListAllOf) 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 (*PipelineReadListAllOf) GetItems added in v1.3.0

func (o *PipelineReadListAllOf) GetItems() *[]PipelineRead

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

func (*PipelineReadListAllOf) GetItemsOk added in v1.3.0

func (o *PipelineReadListAllOf) GetItemsOk() (*[]PipelineRead, 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 (*PipelineReadListAllOf) GetType added in v1.3.0

func (o *PipelineReadListAllOf) GetType() *string

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

func (*PipelineReadListAllOf) GetTypeOk added in v1.3.0

func (o *PipelineReadListAllOf) 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 (*PipelineReadListAllOf) HasHref added in v1.3.0

func (o *PipelineReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*PipelineReadListAllOf) HasId added in v1.3.0

func (o *PipelineReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*PipelineReadListAllOf) HasItems added in v1.3.0

func (o *PipelineReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PipelineReadListAllOf) HasType added in v1.3.0

func (o *PipelineReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (PipelineReadListAllOf) MarshalJSON added in v1.3.0

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

func (*PipelineReadListAllOf) SetHref added in v1.3.0

func (o *PipelineReadListAllOf) SetHref(v string)

SetHref sets field value

func (*PipelineReadListAllOf) SetId added in v1.3.0

func (o *PipelineReadListAllOf) SetId(v string)

SetId sets field value

func (*PipelineReadListAllOf) SetItems added in v1.3.0

func (o *PipelineReadListAllOf) SetItems(v []PipelineRead)

SetItems sets field value

func (*PipelineReadListAllOf) SetType added in v1.3.0

func (o *PipelineReadListAllOf) SetType(v string)

SetType sets field value

type PipelinesApiService

type PipelinesApiService service

PipelinesApiService PipelinesApi service

func (*PipelinesApiService) PipelinesDelete

func (a *PipelinesApiService) PipelinesDelete(ctx _context.Context, pipelineId string) ApiPipelinesDeleteRequest

* PipelinesDelete Delete Pipeline * Deletes the specified Pipeline. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pipelineId The ID (UUID) of the Pipeline. * @return ApiPipelinesDeleteRequest

func (*PipelinesApiService) PipelinesDeleteExecute

func (a *PipelinesApiService) PipelinesDeleteExecute(r ApiPipelinesDeleteRequest) (*APIResponse, error)

* Execute executes the request

func (*PipelinesApiService) PipelinesFindById

func (a *PipelinesApiService) PipelinesFindById(ctx _context.Context, pipelineId string) ApiPipelinesFindByIdRequest

* PipelinesFindById Retrieve Pipeline * Returns the Pipeline by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pipelineId The ID (UUID) of the Pipeline. * @return ApiPipelinesFindByIdRequest

func (*PipelinesApiService) PipelinesFindByIdExecute

* Execute executes the request * @return PipelineRead

func (*PipelinesApiService) PipelinesGet

  • PipelinesGet Retrieve all Pipelines
  • This endpoint enables retrieving all Pipelines using

pagination and optional filters.

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

func (*PipelinesApiService) PipelinesGetExecute

* Execute executes the request * @return PipelineReadList

func (*PipelinesApiService) PipelinesPatch

func (a *PipelinesApiService) PipelinesPatch(ctx _context.Context, pipelineId string) ApiPipelinesPatchRequest
  • PipelinesPatch Updates Pipeline
  • Changes Pipeline with the provided ID.

Values provides will replace the existing data.

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

func (*PipelinesApiService) PipelinesPatchExecute

* Execute executes the request * @return PipelineRead

func (*PipelinesApiService) PipelinesPost

  • PipelinesPost Create Pipeline
  • Creates a new Pipeline.

The full Pipeline needs to be provided to create the object. Optional data will be filled with defaults or left empty.

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

func (*PipelinesApiService) PipelinesPostExecute

* Execute executes the request * @return PipelineRead

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 TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

Jump to

Keyboard shortcuts

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