logging

package module
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 26 Imported by: 2

README

Go API client for logging

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

The IONOS Cloud SDK for GO provides you with access to the IONOS Cloud API. The client library supports both simple and complex requests. It is designed for developers who are building applications in GO . The SDK for GO wraps the IONOS Cloud API. All API operations are performed over SSL and authenticated using your IONOS Cloud portal credentials. The API can be accessed within an instance running in IONOS Cloud or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response.

Installing

Use go get to retrieve the SDK to add it to your GOPATH workspace, or project's Go module dependencies.
go get github.com/ionos-cloud/sdk-go-bundle/products/logging.git

To update the SDK use go get -u to retrieve the latest version of the SDK.

go get -u github.com/ionos-cloud/sdk-go-bundle/products/logging.git
Go Modules

If you are using Go modules, your go get will default to the latest tagged release version of the SDK. To get a specific release version of the SDK use @ in your go get command.

To get the latest SDK repository, use @latest.

go get github.com/ionos-cloud/sdk-go-bundle/products/logging@latest

Environment Variables

Environment Variable Description
IONOS_USERNAME Specify the username used to login, to authenticate against the IONOS Cloud API
IONOS_PASSWORD Specify the password used to login, to authenticate against the IONOS Cloud API
IONOS_TOKEN Specify the token used to login, if a token is being used instead of username and password
IONOS_API_URL Specify the API URL. It will overwrite the API endpoint default value api.ionos.com. Note: the host URL does not contain the /cloudapi/v6 path, so it should not be included in the IONOS_API_URL environment variable
IONOS_LOG_LEVEL Specify the Log Level used to log messages. Possible values: Off, Debug, Trace
IONOS_PINNED_CERT Specify the SHA-256 public fingerprint here, enables certificate pinning

⚠️ Note: To overwrite the api endpoint - api.ionos.com, the environment variable IONOS_API_URL can be set, and used with NewConfigurationFromEnv() function.

Examples

Examples for creating resources using the Go SDK can be found here

Authentication

All available server URLs are:

By default, https://logging.de-txl.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.

Basic Authentication
  • Type: HTTP basic authentication

Example

import (
	"context"
	"fmt"
	"github.com/ionos-cloud/sdk-go-bundle/shared"
	logging "github.com/ionos-cloud/sdk-go-bundle/products/logging"
	"log"
)

func basicAuthExample() error {
	cfg := shared.NewConfiguration("username_here", "pwd_here", "", "hostUrl_here")
	cfg.LogLevel = Trace
	apiClient := logging.NewAPIClient(cfg)
	return nil
}
Token Authentication

There are 2 ways to generate your token:

Generate token using sdk for auth:
    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        logging "github.com/ionos-cloud/sdk-go-bundle/products/logging"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_USERNAME and IONOS_PASSWORD as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        jwt, _, err := auth.TokensApi.TokensGenerate(context.Background()).Execute()
        if err != nil {
            return fmt.Errorf("error occurred while generating token (%w)", err)
        }
        if !jwt.HasToken() {
            return fmt.Errorf("could not generate token")
        }
        cfg := shared.NewConfiguration("", "", *jwt.GetToken(), "hostUrl_here")
        cfg.LogLevel = Trace
        apiClient := logging.NewAPIClient(cfg)
        return nil
    }
Generate token using ionosctl:

Install ionosctl as explained here Run commands to login and generate your token.

    ionosctl login
    ionosctl token generate
    export IONOS_TOKEN="insert_here_token_saved_from_generate_command"

Save the generated token and use it to authenticate:

    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
         logging "github.com/ionos-cloud/sdk-go-bundle/products/logging"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_TOKEN as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        cfg.LogLevel = Trace
        apiClient := logging.NewAPIClient(cfg)
        return nil
    }

Certificate pinning:

You can enable certificate pinning if you want to bypass the normal certificate checking procedure, by doing the following:

Set env variable IONOS_PINNED_CERT=<insert_sha256_public_fingerprint_here>

You can get the sha256 fingerprint most easily from the browser by inspecting the certificate.

Depth

Many of the List or Get operations will accept an optional depth argument. Setting this to a value between 0 and 5 affects the amount of data that is returned. The details returned vary depending on the resource being queried, but it generally follows this pattern. By default, the SDK sets the depth argument to the maximum value.

Depth Description
0 Only direct properties are included. Children are not included.
1 Direct properties and children's references are returned.
2 Direct properties and children's properties are returned.
3 Direct properties, children's properties, and descendants' references are returned.
4 Direct properties, children's properties, and descendants' properties are returned.
5 Returns all available properties.
Changing the base URL

Base URL for the HTTP operation can be changed by using the following function:

requestProperties.SetURL("https://api.ionos.com/cloudapi/v6")

Debugging

You can inject any logger that implements Printf as a logger instead of using the default sdk logger. There are log levels that you can set: Off, Debug and Trace. Off - does not show any logs Debug - regular logs, no sensitive information 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.

package main

    import (
        logging "github.com/ionos-cloud/sdk-go-bundle/products/logging"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        "github.com/sirupsen/logrus"
    )

func main() {
    // create your configuration. replace username, password, token and url with correct values, or use NewConfigurationFromEnv()
    // if you have set your env variables as explained above
    cfg := shared.NewConfiguration("username", "password", "token", "hostUrl")
    // enable request and response logging. this is the most verbose loglevel
    shared.SdkLogLevel = Trace
    // inject your own logger that implements Printf
    shared.SdkLogger = logrus.New()
    // create you api client with the configuration
    apiClient := logging.NewAPIClient(cfg)
}

Documentation for API Endpoints

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

API Endpoints table
Class Method HTTP request Description
CentralApi CentralLoggingGet Get /central Gets the central logging properties.
CentralApi CentralLoggingToggle Put /central Toggles the central logging.
PipelinesApi PipelinesDelete Delete /pipelines/{pipelineId} Delete a pipeline
PipelinesApi PipelinesFindById Get /pipelines/{pipelineId} Fetch a pipeline
PipelinesApi PipelinesGet Get /pipelines List pipelines
PipelinesApi PipelinesKeyPost Post /pipelines/{pipelineId}/key Renews the key of a Pipeline
PipelinesApi PipelinesPatch Patch /pipelines/{pipelineId} Patch a pipeline
PipelinesApi PipelinesPost Post /pipelines Create a pipeline

Documentation For Models

All URIs are relative to https://logging.de-txl.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 = "products/logging/v2.1.2"
)

Variables

This section is empty.

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 DeepCopy added in v2.1.2

func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func IsZero

func IsZero(v interface{}) bool

Types

type APIClient

type APIClient struct {
	CentralApi *CentralApiService

	PipelinesApi *PipelinesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS Logging REST API API v0.0.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *shared.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() *shared.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 ApiCentralLoggingGetRequest added in v2.0.1

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

func (ApiCentralLoggingGetRequest) Execute added in v2.0.1

type ApiCentralLoggingToggleRequest added in v2.0.1

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

func (ApiCentralLoggingToggleRequest) CentralLoggingToggle added in v2.0.1

func (r ApiCentralLoggingToggleRequest) CentralLoggingToggle(centralLoggingToggle CentralLoggingToggle) ApiCentralLoggingToggleRequest

func (ApiCentralLoggingToggleRequest) Execute added in v2.0.1

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

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

func (ApiPipelinesKeyPostRequest) Execute

type ApiPipelinesPatchRequest

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

func (ApiPipelinesPatchRequest) Execute

func (ApiPipelinesPatchRequest) Pipeline

type ApiPipelinesPostRequest

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

func (ApiPipelinesPostRequest) Execute

func (ApiPipelinesPostRequest) Pipeline

type CentralApiService added in v2.0.1

type CentralApiService service

CentralApiService CentralApi service

func (*CentralApiService) CentralLoggingGet added in v2.0.1

* CentralLoggingGet Gets the central logging properties. * Gets the central logging properties. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiCentralLoggingGetRequest

func (*CentralApiService) CentralLoggingGetExecute added in v2.0.1

* Execute executes the request * @return CentralLoggingResponse

func (*CentralApiService) CentralLoggingToggle added in v2.0.1

* CentralLoggingToggle Toggles the central logging. * Toggles the central logging. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiCentralLoggingToggleRequest

func (*CentralApiService) CentralLoggingToggleExecute added in v2.0.1

* Execute executes the request * @return CentralLoggingResponse

type CentralLoggingResponse added in v2.0.1

type CentralLoggingResponse struct {
	Metadata   *CentralLoggingResponseMetadata   `json:"metadata,omitempty"`
	Properties *CentralLoggingResponseProperties `json:"properties,omitempty"`
}

CentralLoggingResponse struct for CentralLoggingResponse

func NewCentralLoggingResponse added in v2.0.1

func NewCentralLoggingResponse() *CentralLoggingResponse

NewCentralLoggingResponse instantiates a new CentralLoggingResponse 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 NewCentralLoggingResponseWithDefaults added in v2.0.1

func NewCentralLoggingResponseWithDefaults() *CentralLoggingResponse

NewCentralLoggingResponseWithDefaults instantiates a new CentralLoggingResponse 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 (*CentralLoggingResponse) GetMetadata added in v2.0.1

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*CentralLoggingResponse) GetMetadataOk added in v2.0.1

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

func (*CentralLoggingResponse) GetProperties added in v2.0.1

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

func (*CentralLoggingResponse) GetPropertiesOk added in v2.0.1

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

func (*CentralLoggingResponse) HasMetadata added in v2.0.1

func (o *CentralLoggingResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CentralLoggingResponse) HasProperties added in v2.0.1

func (o *CentralLoggingResponse) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*CentralLoggingResponse) SetMetadata added in v2.0.1

SetMetadata gets a reference to the given CentralLoggingResponseMetadata and assigns it to the Metadata field.

func (*CentralLoggingResponse) SetProperties added in v2.0.1

SetProperties gets a reference to the given CentralLoggingResponseProperties and assigns it to the Properties field.

func (CentralLoggingResponse) ToMap added in v2.0.1

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

type CentralLoggingResponseMetadata added in v2.0.1

type CentralLoggingResponseMetadata struct {
	// The ISO 8601 modified timestamp.
	LastModifiedDate       *IonosTime `json:"lastModifiedDate,omitempty"`
	LastModifiedBy         *string    `json:"lastModifiedBy,omitempty"`
	LastModifiedByUserId   *string    `json:"lastModifiedByUserId,omitempty"`
	LastModifiedByUserUuid *string    `json:"lastModifiedByUserUuid,omitempty"`
	GrafanaEndpoint        *string    `json:"grafanaEndpoint,omitempty"`
}

CentralLoggingResponseMetadata struct for CentralLoggingResponseMetadata

func NewCentralLoggingResponseMetadata added in v2.0.1

func NewCentralLoggingResponseMetadata() *CentralLoggingResponseMetadata

NewCentralLoggingResponseMetadata instantiates a new CentralLoggingResponseMetadata 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 NewCentralLoggingResponseMetadataWithDefaults added in v2.0.1

func NewCentralLoggingResponseMetadataWithDefaults() *CentralLoggingResponseMetadata

NewCentralLoggingResponseMetadataWithDefaults instantiates a new CentralLoggingResponseMetadata 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 (*CentralLoggingResponseMetadata) GetGrafanaEndpoint added in v2.0.1

func (o *CentralLoggingResponseMetadata) GetGrafanaEndpoint() string

GetGrafanaEndpoint returns the GrafanaEndpoint field value if set, zero value otherwise.

func (*CentralLoggingResponseMetadata) GetGrafanaEndpointOk added in v2.0.1

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

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

func (*CentralLoggingResponseMetadata) GetLastModifiedBy added in v2.0.1

func (o *CentralLoggingResponseMetadata) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*CentralLoggingResponseMetadata) GetLastModifiedByOk added in v2.0.1

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

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

func (*CentralLoggingResponseMetadata) GetLastModifiedByUserId added in v2.0.1

func (o *CentralLoggingResponseMetadata) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*CentralLoggingResponseMetadata) GetLastModifiedByUserIdOk added in v2.0.1

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

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

func (*CentralLoggingResponseMetadata) GetLastModifiedByUserUuid added in v2.0.1

func (o *CentralLoggingResponseMetadata) GetLastModifiedByUserUuid() string

GetLastModifiedByUserUuid returns the LastModifiedByUserUuid field value if set, zero value otherwise.

func (*CentralLoggingResponseMetadata) GetLastModifiedByUserUuidOk added in v2.0.1

func (o *CentralLoggingResponseMetadata) GetLastModifiedByUserUuidOk() (*string, bool)

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

func (*CentralLoggingResponseMetadata) GetLastModifiedDate added in v2.0.1

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

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*CentralLoggingResponseMetadata) GetLastModifiedDateOk added in v2.0.1

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

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

func (*CentralLoggingResponseMetadata) HasGrafanaEndpoint added in v2.0.1

func (o *CentralLoggingResponseMetadata) HasGrafanaEndpoint() bool

HasGrafanaEndpoint returns a boolean if a field has been set.

func (*CentralLoggingResponseMetadata) HasLastModifiedBy added in v2.0.1

func (o *CentralLoggingResponseMetadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*CentralLoggingResponseMetadata) HasLastModifiedByUserId added in v2.0.1

func (o *CentralLoggingResponseMetadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*CentralLoggingResponseMetadata) HasLastModifiedByUserUuid added in v2.0.1

func (o *CentralLoggingResponseMetadata) HasLastModifiedByUserUuid() bool

HasLastModifiedByUserUuid returns a boolean if a field has been set.

func (*CentralLoggingResponseMetadata) HasLastModifiedDate added in v2.0.1

func (o *CentralLoggingResponseMetadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*CentralLoggingResponseMetadata) SetGrafanaEndpoint added in v2.0.1

func (o *CentralLoggingResponseMetadata) SetGrafanaEndpoint(v string)

SetGrafanaEndpoint gets a reference to the given string and assigns it to the GrafanaEndpoint field.

func (*CentralLoggingResponseMetadata) SetLastModifiedBy added in v2.0.1

func (o *CentralLoggingResponseMetadata) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*CentralLoggingResponseMetadata) SetLastModifiedByUserId added in v2.0.1

func (o *CentralLoggingResponseMetadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*CentralLoggingResponseMetadata) SetLastModifiedByUserUuid added in v2.0.1

func (o *CentralLoggingResponseMetadata) SetLastModifiedByUserUuid(v string)

SetLastModifiedByUserUuid gets a reference to the given string and assigns it to the LastModifiedByUserUuid field.

func (*CentralLoggingResponseMetadata) SetLastModifiedDate added in v2.0.1

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

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (CentralLoggingResponseMetadata) ToMap added in v2.0.1

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

type CentralLoggingResponseProperties added in v2.0.1

type CentralLoggingResponseProperties struct {
	Enabled *bool `json:"enabled,omitempty"`
}

CentralLoggingResponseProperties struct for CentralLoggingResponseProperties

func NewCentralLoggingResponseProperties added in v2.0.1

func NewCentralLoggingResponseProperties() *CentralLoggingResponseProperties

NewCentralLoggingResponseProperties instantiates a new CentralLoggingResponseProperties 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 NewCentralLoggingResponsePropertiesWithDefaults added in v2.0.1

func NewCentralLoggingResponsePropertiesWithDefaults() *CentralLoggingResponseProperties

NewCentralLoggingResponsePropertiesWithDefaults instantiates a new CentralLoggingResponseProperties 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 (*CentralLoggingResponseProperties) GetEnabled added in v2.0.1

func (o *CentralLoggingResponseProperties) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CentralLoggingResponseProperties) GetEnabledOk added in v2.0.1

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

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

func (*CentralLoggingResponseProperties) HasEnabled added in v2.0.1

func (o *CentralLoggingResponseProperties) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CentralLoggingResponseProperties) SetEnabled added in v2.0.1

func (o *CentralLoggingResponseProperties) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (CentralLoggingResponseProperties) ToMap added in v2.0.1

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

type CentralLoggingToggle added in v2.0.1

type CentralLoggingToggle struct {
	Properties *CentralLoggingToggleProperties `json:"properties,omitempty"`
}

CentralLoggingToggle Request payload to toggle central logging.

func NewCentralLoggingToggle added in v2.0.1

func NewCentralLoggingToggle() *CentralLoggingToggle

NewCentralLoggingToggle instantiates a new CentralLoggingToggle 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 NewCentralLoggingToggleWithDefaults added in v2.0.1

func NewCentralLoggingToggleWithDefaults() *CentralLoggingToggle

NewCentralLoggingToggleWithDefaults instantiates a new CentralLoggingToggle 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 (*CentralLoggingToggle) GetProperties added in v2.0.1

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

func (*CentralLoggingToggle) GetPropertiesOk added in v2.0.1

func (o *CentralLoggingToggle) GetPropertiesOk() (*CentralLoggingToggleProperties, bool)

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

func (*CentralLoggingToggle) HasProperties added in v2.0.1

func (o *CentralLoggingToggle) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*CentralLoggingToggle) SetProperties added in v2.0.1

SetProperties gets a reference to the given CentralLoggingToggleProperties and assigns it to the Properties field.

func (CentralLoggingToggle) ToMap added in v2.0.1

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

type CentralLoggingToggleProperties added in v2.0.1

type CentralLoggingToggleProperties struct {
	Enabled bool `json:"enabled"`
}

CentralLoggingToggleProperties struct for CentralLoggingToggleProperties

func NewCentralLoggingToggleProperties added in v2.0.1

func NewCentralLoggingToggleProperties(enabled bool) *CentralLoggingToggleProperties

NewCentralLoggingToggleProperties instantiates a new CentralLoggingToggleProperties 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 NewCentralLoggingTogglePropertiesWithDefaults added in v2.0.1

func NewCentralLoggingTogglePropertiesWithDefaults() *CentralLoggingToggleProperties

NewCentralLoggingTogglePropertiesWithDefaults instantiates a new CentralLoggingToggleProperties 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 (*CentralLoggingToggleProperties) GetEnabled added in v2.0.1

func (o *CentralLoggingToggleProperties) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*CentralLoggingToggleProperties) GetEnabledOk added in v2.0.1

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

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

func (*CentralLoggingToggleProperties) SetEnabled added in v2.0.1

func (o *CentralLoggingToggleProperties) SetEnabled(v bool)

SetEnabled sets field value

func (CentralLoggingToggleProperties) ToMap added in v2.0.1

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

type DeletedMetadata added in v2.0.1

type DeletedMetadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate       *IonosTime `json:"createdDate,omitempty"`
	CreatedBy         *string    `json:"createdBy,omitempty"`
	CreatedByUserId   *string    `json:"createdByUserId,omitempty"`
	CreatedByUserUuid *string    `json:"createdByUserUuid,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate       *IonosTime `json:"lastModifiedDate,omitempty"`
	LastModifiedBy         *string    `json:"lastModifiedBy,omitempty"`
	LastModifiedByUserId   *string    `json:"lastModifiedByUserId,omitempty"`
	LastModifiedByUserUuid *string    `json:"lastModifiedByUserUuid,omitempty"`
	// The current state reported back by the pipeline.
	State *string `json:"state,omitempty"`
}

DeletedMetadata struct for DeletedMetadata

func NewDeletedMetadata added in v2.0.1

func NewDeletedMetadata() *DeletedMetadata

NewDeletedMetadata instantiates a new DeletedMetadata 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 NewDeletedMetadataWithDefaults added in v2.0.1

func NewDeletedMetadataWithDefaults() *DeletedMetadata

NewDeletedMetadataWithDefaults instantiates a new DeletedMetadata 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 (*DeletedMetadata) GetCreatedBy added in v2.0.1

func (o *DeletedMetadata) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*DeletedMetadata) GetCreatedByOk added in v2.0.1

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

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

func (*DeletedMetadata) GetCreatedByUserId added in v2.0.1

func (o *DeletedMetadata) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*DeletedMetadata) GetCreatedByUserIdOk added in v2.0.1

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

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

func (*DeletedMetadata) GetCreatedByUserUuid added in v2.0.1

func (o *DeletedMetadata) GetCreatedByUserUuid() string

GetCreatedByUserUuid returns the CreatedByUserUuid field value if set, zero value otherwise.

func (*DeletedMetadata) GetCreatedByUserUuidOk added in v2.0.1

func (o *DeletedMetadata) GetCreatedByUserUuidOk() (*string, bool)

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

func (*DeletedMetadata) GetCreatedDate added in v2.0.1

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

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*DeletedMetadata) GetCreatedDateOk added in v2.0.1

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

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

func (*DeletedMetadata) GetLastModifiedBy added in v2.0.1

func (o *DeletedMetadata) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*DeletedMetadata) GetLastModifiedByOk added in v2.0.1

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

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

func (*DeletedMetadata) GetLastModifiedByUserId added in v2.0.1

func (o *DeletedMetadata) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*DeletedMetadata) GetLastModifiedByUserIdOk added in v2.0.1

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

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

func (*DeletedMetadata) GetLastModifiedByUserUuid added in v2.0.1

func (o *DeletedMetadata) GetLastModifiedByUserUuid() string

GetLastModifiedByUserUuid returns the LastModifiedByUserUuid field value if set, zero value otherwise.

func (*DeletedMetadata) GetLastModifiedByUserUuidOk added in v2.0.1

func (o *DeletedMetadata) GetLastModifiedByUserUuidOk() (*string, bool)

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

func (*DeletedMetadata) GetLastModifiedDate added in v2.0.1

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

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*DeletedMetadata) GetLastModifiedDateOk added in v2.0.1

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

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

func (*DeletedMetadata) GetState added in v2.0.1

func (o *DeletedMetadata) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*DeletedMetadata) GetStateOk added in v2.0.1

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

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

func (*DeletedMetadata) HasCreatedBy added in v2.0.1

func (o *DeletedMetadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*DeletedMetadata) HasCreatedByUserId added in v2.0.1

func (o *DeletedMetadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*DeletedMetadata) HasCreatedByUserUuid added in v2.0.1

func (o *DeletedMetadata) HasCreatedByUserUuid() bool

HasCreatedByUserUuid returns a boolean if a field has been set.

func (*DeletedMetadata) HasCreatedDate added in v2.0.1

func (o *DeletedMetadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*DeletedMetadata) HasLastModifiedBy added in v2.0.1

func (o *DeletedMetadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*DeletedMetadata) HasLastModifiedByUserId added in v2.0.1

func (o *DeletedMetadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*DeletedMetadata) HasLastModifiedByUserUuid added in v2.0.1

func (o *DeletedMetadata) HasLastModifiedByUserUuid() bool

HasLastModifiedByUserUuid returns a boolean if a field has been set.

func (*DeletedMetadata) HasLastModifiedDate added in v2.0.1

func (o *DeletedMetadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*DeletedMetadata) HasState added in v2.0.1

func (o *DeletedMetadata) HasState() bool

HasState returns a boolean if a field has been set.

func (*DeletedMetadata) SetCreatedBy added in v2.0.1

func (o *DeletedMetadata) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*DeletedMetadata) SetCreatedByUserId added in v2.0.1

func (o *DeletedMetadata) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*DeletedMetadata) SetCreatedByUserUuid added in v2.0.1

func (o *DeletedMetadata) SetCreatedByUserUuid(v string)

SetCreatedByUserUuid gets a reference to the given string and assigns it to the CreatedByUserUuid field.

func (*DeletedMetadata) SetCreatedDate added in v2.0.1

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

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*DeletedMetadata) SetLastModifiedBy added in v2.0.1

func (o *DeletedMetadata) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*DeletedMetadata) SetLastModifiedByUserId added in v2.0.1

func (o *DeletedMetadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*DeletedMetadata) SetLastModifiedByUserUuid added in v2.0.1

func (o *DeletedMetadata) SetLastModifiedByUserUuid(v string)

SetLastModifiedByUserUuid gets a reference to the given string and assigns it to the LastModifiedByUserUuid field.

func (*DeletedMetadata) SetLastModifiedDate added in v2.0.1

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

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*DeletedMetadata) SetState added in v2.0.1

func (o *DeletedMetadata) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (DeletedMetadata) ToMap added in v2.0.1

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

type DeletedMetadataAllOf added in v2.0.1

type DeletedMetadataAllOf struct {
	// The current state reported back by the pipeline.
	State *string `json:"state,omitempty"`
}

DeletedMetadataAllOf struct for DeletedMetadataAllOf

func NewDeletedMetadataAllOf added in v2.0.1

func NewDeletedMetadataAllOf() *DeletedMetadataAllOf

NewDeletedMetadataAllOf instantiates a new DeletedMetadataAllOf 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 NewDeletedMetadataAllOfWithDefaults added in v2.0.1

func NewDeletedMetadataAllOfWithDefaults() *DeletedMetadataAllOf

NewDeletedMetadataAllOfWithDefaults instantiates a new DeletedMetadataAllOf 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 (*DeletedMetadataAllOf) GetState added in v2.0.1

func (o *DeletedMetadataAllOf) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*DeletedMetadataAllOf) GetStateOk added in v2.0.1

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

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

func (*DeletedMetadataAllOf) HasState added in v2.0.1

func (o *DeletedMetadataAllOf) HasState() bool

HasState returns a boolean if a field has been set.

func (*DeletedMetadataAllOf) SetState added in v2.0.1

func (o *DeletedMetadataAllOf) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (DeletedMetadataAllOf) ToMap added in v2.0.1

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

type DeletedPipeline added in v2.0.1

type DeletedPipeline struct {
	// The unique ID of the resource.
	Id         *string             `json:"id,omitempty"`
	Metadata   *DeletedMetadata    `json:"metadata,omitempty"`
	Properties *PipelineProperties `json:"properties,omitempty"`
}

DeletedPipeline pipeline response

func NewDeletedPipeline added in v2.0.1

func NewDeletedPipeline() *DeletedPipeline

NewDeletedPipeline instantiates a new DeletedPipeline 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 NewDeletedPipelineWithDefaults added in v2.0.1

func NewDeletedPipelineWithDefaults() *DeletedPipeline

NewDeletedPipelineWithDefaults instantiates a new DeletedPipeline 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 (*DeletedPipeline) GetId added in v2.0.1

func (o *DeletedPipeline) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*DeletedPipeline) GetIdOk added in v2.0.1

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

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

func (*DeletedPipeline) GetMetadata added in v2.0.1

func (o *DeletedPipeline) GetMetadata() DeletedMetadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*DeletedPipeline) GetMetadataOk added in v2.0.1

func (o *DeletedPipeline) GetMetadataOk() (*DeletedMetadata, bool)

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

func (*DeletedPipeline) GetProperties added in v2.0.1

func (o *DeletedPipeline) GetProperties() PipelineProperties

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

func (*DeletedPipeline) GetPropertiesOk added in v2.0.1

func (o *DeletedPipeline) GetPropertiesOk() (*PipelineProperties, bool)

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

func (*DeletedPipeline) HasId added in v2.0.1

func (o *DeletedPipeline) HasId() bool

HasId returns a boolean if a field has been set.

func (*DeletedPipeline) HasMetadata added in v2.0.1

func (o *DeletedPipeline) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*DeletedPipeline) HasProperties added in v2.0.1

func (o *DeletedPipeline) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*DeletedPipeline) SetId added in v2.0.1

func (o *DeletedPipeline) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*DeletedPipeline) SetMetadata added in v2.0.1

func (o *DeletedPipeline) SetMetadata(v DeletedMetadata)

SetMetadata gets a reference to the given DeletedMetadata and assigns it to the Metadata field.

func (*DeletedPipeline) SetProperties added in v2.0.1

func (o *DeletedPipeline) SetProperties(v PipelineProperties)

SetProperties gets a reference to the given PipelineProperties and assigns it to the Properties field.

func (DeletedPipeline) ToMap added in v2.0.1

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

type Destination

type Destination struct {
	// The internal output stream to send logs to
	Type *string `json:"type,omitempty"`
	// defines the number of days a log record should be kept in loki. Works with loki destination type only.
	RetentionInDays *int32 `json:"retentionInDays,omitempty"`
}

Destination The information of the logging aggregator storage

func NewDestination

func NewDestination() *Destination

NewDestination instantiates a new Destination 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 NewDestinationWithDefaults

func NewDestinationWithDefaults() *Destination

NewDestinationWithDefaults instantiates a new Destination 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 (*Destination) GetRetentionInDays

func (o *Destination) GetRetentionInDays() int32

GetRetentionInDays returns the RetentionInDays field value if set, zero value otherwise.

func (*Destination) GetRetentionInDaysOk

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

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

func (*Destination) GetType

func (o *Destination) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Destination) GetTypeOk

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

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

func (*Destination) HasRetentionInDays

func (o *Destination) HasRetentionInDays() bool

HasRetentionInDays returns a boolean if a field has been set.

func (*Destination) HasType

func (o *Destination) HasType() bool

HasType returns a boolean if a field has been set.

func (*Destination) SetRetentionInDays

func (o *Destination) SetRetentionInDays(v int32)

SetRetentionInDays gets a reference to the given int32 and assigns it to the RetentionInDays field.

func (*Destination) SetType

func (o *Destination) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Destination) ToMap

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

type ErrorMessage

type ErrorMessage 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"`
}

ErrorMessage struct for ErrorMessage

func NewErrorMessage

func NewErrorMessage() *ErrorMessage

NewErrorMessage instantiates a new ErrorMessage 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 NewErrorMessageWithDefaults

func NewErrorMessageWithDefaults() *ErrorMessage

NewErrorMessageWithDefaults instantiates a new ErrorMessage 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 (*ErrorMessage) GetErrorCode

func (o *ErrorMessage) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ErrorMessage) GetErrorCodeOk

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

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

func (*ErrorMessage) GetMessage

func (o *ErrorMessage) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorMessage) GetMessageOk

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

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

func (*ErrorMessage) HasErrorCode

func (o *ErrorMessage) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessage) HasMessage

func (o *ErrorMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ErrorMessage) SetErrorCode

func (o *ErrorMessage) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ErrorMessage) SetMessage

func (o *ErrorMessage) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ErrorMessage) ToMap

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

type ErrorResponse

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

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetHttpStatus

func (o *ErrorResponse) GetHttpStatus() int32

GetHttpStatus returns the HttpStatus field value if set, zero value otherwise.

func (*ErrorResponse) GetHttpStatusOk

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

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

func (*ErrorResponse) GetMessages

func (o *ErrorResponse) GetMessages() []ErrorMessage

GetMessages returns the Messages field value if set, zero value otherwise.

func (*ErrorResponse) GetMessagesOk

func (o *ErrorResponse) GetMessagesOk() ([]ErrorMessage, bool)

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

func (*ErrorResponse) HasHttpStatus

func (o *ErrorResponse) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*ErrorResponse) HasMessages

func (o *ErrorResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (*ErrorResponse) SetHttpStatus

func (o *ErrorResponse) SetHttpStatus(v int32)

SetHttpStatus gets a reference to the given int32 and assigns it to the HttpStatus field.

func (*ErrorResponse) SetMessages

func (o *ErrorResponse) SetMessages(v []ErrorMessage)

SetMessages gets a reference to the given []ErrorMessage and assigns it to the Messages field.

func (ErrorResponse) ToMap

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

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error

type MappedNullable

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

type Metadata

type Metadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate       *IonosTime `json:"createdDate,omitempty"`
	CreatedBy         *string    `json:"createdBy,omitempty"`
	CreatedByUserId   *string    `json:"createdByUserId,omitempty"`
	CreatedByUserUuid *string    `json:"createdByUserUuid,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate       *IonosTime `json:"lastModifiedDate,omitempty"`
	LastModifiedBy         *string    `json:"lastModifiedBy,omitempty"`
	LastModifiedByUserId   *string    `json:"lastModifiedByUserId,omitempty"`
	LastModifiedByUserUuid *string    `json:"lastModifiedByUserUuid,omitempty"`
	// The current state reported back by the pipeline.
	State *string `json:"state,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 set, zero value otherwise.

func (*Metadata) GetCreatedByOk

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

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

func (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*Metadata) GetCreatedByUserIdOk

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

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

func (*Metadata) GetCreatedByUserUuid

func (o *Metadata) GetCreatedByUserUuid() string

GetCreatedByUserUuid returns the CreatedByUserUuid field value if set, zero value otherwise.

func (*Metadata) GetCreatedByUserUuidOk

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

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

func (*Metadata) GetCreatedDate

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

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*Metadata) GetCreatedDateOk

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

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

func (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByOk

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

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

func (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByUserIdOk

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

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

func (*Metadata) GetLastModifiedByUserUuid

func (o *Metadata) GetLastModifiedByUserUuid() string

GetLastModifiedByUserUuid returns the LastModifiedByUserUuid field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByUserUuidOk

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

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

func (*Metadata) GetLastModifiedDate

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

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedDateOk

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

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

func (*Metadata) GetState

func (o *Metadata) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Metadata) GetStateOk

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

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

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

func (o *Metadata) HasCreatedByUserUuid() bool

HasCreatedByUserUuid 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) HasLastModifiedByUserUuid

func (o *Metadata) HasLastModifiedByUserUuid() bool

HasLastModifiedByUserUuid 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) HasState

func (o *Metadata) HasState() bool

HasState returns a boolean if a field has been set.

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*Metadata) SetCreatedByUserUuid

func (o *Metadata) SetCreatedByUserUuid(v string)

SetCreatedByUserUuid gets a reference to the given string and assigns it to the CreatedByUserUuid field.

func (*Metadata) SetCreatedDate

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

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*Metadata) SetLastModifiedByUserUuid

func (o *Metadata) SetLastModifiedByUserUuid(v string)

SetLastModifiedByUserUuid gets a reference to the given string and assigns it to the LastModifiedByUserUuid field.

func (*Metadata) SetLastModifiedDate

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

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*Metadata) SetState

func (o *Metadata) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (Metadata) ToMap

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

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 NullableCentralLoggingResponse added in v2.0.1

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

func NewNullableCentralLoggingResponse added in v2.0.1

func NewNullableCentralLoggingResponse(val *CentralLoggingResponse) *NullableCentralLoggingResponse

func (NullableCentralLoggingResponse) Get added in v2.0.1

func (NullableCentralLoggingResponse) IsSet added in v2.0.1

func (NullableCentralLoggingResponse) MarshalJSON added in v2.0.1

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

func (*NullableCentralLoggingResponse) Set added in v2.0.1

func (*NullableCentralLoggingResponse) UnmarshalJSON added in v2.0.1

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

func (*NullableCentralLoggingResponse) Unset added in v2.0.1

func (v *NullableCentralLoggingResponse) Unset()

type NullableCentralLoggingResponseMetadata added in v2.0.1

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

func NewNullableCentralLoggingResponseMetadata added in v2.0.1

func NewNullableCentralLoggingResponseMetadata(val *CentralLoggingResponseMetadata) *NullableCentralLoggingResponseMetadata

func (NullableCentralLoggingResponseMetadata) Get added in v2.0.1

func (NullableCentralLoggingResponseMetadata) IsSet added in v2.0.1

func (NullableCentralLoggingResponseMetadata) MarshalJSON added in v2.0.1

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

func (*NullableCentralLoggingResponseMetadata) Set added in v2.0.1

func (*NullableCentralLoggingResponseMetadata) UnmarshalJSON added in v2.0.1

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

func (*NullableCentralLoggingResponseMetadata) Unset added in v2.0.1

type NullableCentralLoggingResponseProperties added in v2.0.1

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

func NewNullableCentralLoggingResponseProperties added in v2.0.1

func NewNullableCentralLoggingResponseProperties(val *CentralLoggingResponseProperties) *NullableCentralLoggingResponseProperties

func (NullableCentralLoggingResponseProperties) Get added in v2.0.1

func (NullableCentralLoggingResponseProperties) IsSet added in v2.0.1

func (NullableCentralLoggingResponseProperties) MarshalJSON added in v2.0.1

func (*NullableCentralLoggingResponseProperties) Set added in v2.0.1

func (*NullableCentralLoggingResponseProperties) UnmarshalJSON added in v2.0.1

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

func (*NullableCentralLoggingResponseProperties) Unset added in v2.0.1

type NullableCentralLoggingToggle added in v2.0.1

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

func NewNullableCentralLoggingToggle added in v2.0.1

func NewNullableCentralLoggingToggle(val *CentralLoggingToggle) *NullableCentralLoggingToggle

func (NullableCentralLoggingToggle) Get added in v2.0.1

func (NullableCentralLoggingToggle) IsSet added in v2.0.1

func (NullableCentralLoggingToggle) MarshalJSON added in v2.0.1

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

func (*NullableCentralLoggingToggle) Set added in v2.0.1

func (*NullableCentralLoggingToggle) UnmarshalJSON added in v2.0.1

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

func (*NullableCentralLoggingToggle) Unset added in v2.0.1

func (v *NullableCentralLoggingToggle) Unset()

type NullableCentralLoggingToggleProperties added in v2.0.1

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

func NewNullableCentralLoggingToggleProperties added in v2.0.1

func NewNullableCentralLoggingToggleProperties(val *CentralLoggingToggleProperties) *NullableCentralLoggingToggleProperties

func (NullableCentralLoggingToggleProperties) Get added in v2.0.1

func (NullableCentralLoggingToggleProperties) IsSet added in v2.0.1

func (NullableCentralLoggingToggleProperties) MarshalJSON added in v2.0.1

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

func (*NullableCentralLoggingToggleProperties) Set added in v2.0.1

func (*NullableCentralLoggingToggleProperties) UnmarshalJSON added in v2.0.1

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

func (*NullableCentralLoggingToggleProperties) Unset added in v2.0.1

type NullableDeletedMetadata added in v2.0.1

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

func NewNullableDeletedMetadata added in v2.0.1

func NewNullableDeletedMetadata(val *DeletedMetadata) *NullableDeletedMetadata

func (NullableDeletedMetadata) Get added in v2.0.1

func (NullableDeletedMetadata) IsSet added in v2.0.1

func (v NullableDeletedMetadata) IsSet() bool

func (NullableDeletedMetadata) MarshalJSON added in v2.0.1

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

func (*NullableDeletedMetadata) Set added in v2.0.1

func (*NullableDeletedMetadata) UnmarshalJSON added in v2.0.1

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

func (*NullableDeletedMetadata) Unset added in v2.0.1

func (v *NullableDeletedMetadata) Unset()

type NullableDeletedMetadataAllOf added in v2.0.1

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

func NewNullableDeletedMetadataAllOf added in v2.0.1

func NewNullableDeletedMetadataAllOf(val *DeletedMetadataAllOf) *NullableDeletedMetadataAllOf

func (NullableDeletedMetadataAllOf) Get added in v2.0.1

func (NullableDeletedMetadataAllOf) IsSet added in v2.0.1

func (NullableDeletedMetadataAllOf) MarshalJSON added in v2.0.1

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

func (*NullableDeletedMetadataAllOf) Set added in v2.0.1

func (*NullableDeletedMetadataAllOf) UnmarshalJSON added in v2.0.1

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

func (*NullableDeletedMetadataAllOf) Unset added in v2.0.1

func (v *NullableDeletedMetadataAllOf) Unset()

type NullableDeletedPipeline added in v2.0.1

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

func NewNullableDeletedPipeline added in v2.0.1

func NewNullableDeletedPipeline(val *DeletedPipeline) *NullableDeletedPipeline

func (NullableDeletedPipeline) Get added in v2.0.1

func (NullableDeletedPipeline) IsSet added in v2.0.1

func (v NullableDeletedPipeline) IsSet() bool

func (NullableDeletedPipeline) MarshalJSON added in v2.0.1

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

func (*NullableDeletedPipeline) Set added in v2.0.1

func (*NullableDeletedPipeline) UnmarshalJSON added in v2.0.1

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

func (*NullableDeletedPipeline) Unset added in v2.0.1

func (v *NullableDeletedPipeline) Unset()

type NullableDestination

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

func NewNullableDestination

func NewNullableDestination(val *Destination) *NullableDestination

func (NullableDestination) Get

func (NullableDestination) IsSet

func (v NullableDestination) IsSet() bool

func (NullableDestination) MarshalJSON

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

func (*NullableDestination) Set

func (v *NullableDestination) Set(val *Destination)

func (*NullableDestination) UnmarshalJSON

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

func (*NullableDestination) Unset

func (v *NullableDestination) Unset()

type NullableErrorMessage

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

func NewNullableErrorMessage

func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage

func (NullableErrorMessage) Get

func (NullableErrorMessage) IsSet

func (v NullableErrorMessage) IsSet() bool

func (NullableErrorMessage) MarshalJSON

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

func (*NullableErrorMessage) Set

func (v *NullableErrorMessage) Set(val *ErrorMessage)

func (*NullableErrorMessage) UnmarshalJSON

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

func (*NullableErrorMessage) Unset

func (v *NullableErrorMessage) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) 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 NullableIonosTime added in v2.1.2

type NullableIonosTime struct {
	NullableTime
}

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

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

func NewNullablePipelineCreate

func NewNullablePipelineCreate(val *PipelineCreate) *NullablePipelineCreate

func (NullablePipelineCreate) Get

func (NullablePipelineCreate) IsSet

func (v NullablePipelineCreate) IsSet() bool

func (NullablePipelineCreate) MarshalJSON

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

func (*NullablePipelineCreate) Set

func (*NullablePipelineCreate) UnmarshalJSON

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

func (*NullablePipelineCreate) Unset

func (v *NullablePipelineCreate) Unset()

type NullablePipelineCreateProperties

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

func (NullablePipelineCreateProperties) Get

func (NullablePipelineCreateProperties) IsSet

func (NullablePipelineCreateProperties) MarshalJSON

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

func (*NullablePipelineCreateProperties) Set

func (*NullablePipelineCreateProperties) UnmarshalJSON

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

func (*NullablePipelineCreateProperties) Unset

type NullablePipelineCreatePropertiesLogs added in v2.0.1

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

func NewNullablePipelineCreatePropertiesLogs added in v2.0.1

func NewNullablePipelineCreatePropertiesLogs(val *PipelineCreatePropertiesLogs) *NullablePipelineCreatePropertiesLogs

func (NullablePipelineCreatePropertiesLogs) Get added in v2.0.1

func (NullablePipelineCreatePropertiesLogs) IsSet added in v2.0.1

func (NullablePipelineCreatePropertiesLogs) MarshalJSON added in v2.0.1

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

func (*NullablePipelineCreatePropertiesLogs) Set added in v2.0.1

func (*NullablePipelineCreatePropertiesLogs) UnmarshalJSON added in v2.0.1

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

func (*NullablePipelineCreatePropertiesLogs) Unset added in v2.0.1

type NullablePipelineListResponse

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

func NewNullablePipelineListResponse

func NewNullablePipelineListResponse(val *PipelineListResponse) *NullablePipelineListResponse

func (NullablePipelineListResponse) Get

func (NullablePipelineListResponse) IsSet

func (NullablePipelineListResponse) MarshalJSON

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

func (*NullablePipelineListResponse) Set

func (*NullablePipelineListResponse) UnmarshalJSON

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

func (*NullablePipelineListResponse) Unset

func (v *NullablePipelineListResponse) Unset()

type NullablePipelinePatch

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

func NewNullablePipelinePatch

func NewNullablePipelinePatch(val *PipelinePatch) *NullablePipelinePatch

func (NullablePipelinePatch) Get

func (NullablePipelinePatch) IsSet

func (v NullablePipelinePatch) IsSet() bool

func (NullablePipelinePatch) MarshalJSON

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

func (*NullablePipelinePatch) Set

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

func (*NullablePipelinePatch) UnmarshalJSON

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

func (*NullablePipelinePatch) Unset

func (v *NullablePipelinePatch) Unset()

type NullablePipelinePatchProperties

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

func (NullablePipelinePatchProperties) Get

func (NullablePipelinePatchProperties) IsSet

func (NullablePipelinePatchProperties) MarshalJSON

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

func (*NullablePipelinePatchProperties) Set

func (*NullablePipelinePatchProperties) UnmarshalJSON

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

func (*NullablePipelinePatchProperties) Unset

type NullablePipelineProperties

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

func NewNullablePipelineProperties

func NewNullablePipelineProperties(val *PipelineProperties) *NullablePipelineProperties

func (NullablePipelineProperties) Get

func (NullablePipelineProperties) IsSet

func (v NullablePipelineProperties) IsSet() bool

func (NullablePipelineProperties) MarshalJSON

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

func (*NullablePipelineProperties) Set

func (*NullablePipelineProperties) UnmarshalJSON

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

func (*NullablePipelineProperties) Unset

func (v *NullablePipelineProperties) Unset()

type NullablePipelineResponse

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

func NewNullablePipelineResponse

func NewNullablePipelineResponse(val *PipelineResponse) *NullablePipelineResponse

func (NullablePipelineResponse) Get

func (NullablePipelineResponse) IsSet

func (v NullablePipelineResponse) IsSet() bool

func (NullablePipelineResponse) MarshalJSON

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

func (*NullablePipelineResponse) Set

func (*NullablePipelineResponse) UnmarshalJSON

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

func (*NullablePipelineResponse) Unset

func (v *NullablePipelineResponse) Unset()

type NullablePipelineResponseAllOf

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

func (NullablePipelineResponseAllOf) Get

func (NullablePipelineResponseAllOf) IsSet

func (NullablePipelineResponseAllOf) MarshalJSON

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

func (*NullablePipelineResponseAllOf) Set

func (*NullablePipelineResponseAllOf) UnmarshalJSON

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

func (*NullablePipelineResponseAllOf) Unset

func (v *NullablePipelineResponseAllOf) Unset()

type NullablePipelineResponseAllOf1

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

func (NullablePipelineResponseAllOf1) Get

func (NullablePipelineResponseAllOf1) IsSet

func (NullablePipelineResponseAllOf1) MarshalJSON

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

func (*NullablePipelineResponseAllOf1) Set

func (*NullablePipelineResponseAllOf1) UnmarshalJSON

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

func (*NullablePipelineResponseAllOf1) Unset

func (v *NullablePipelineResponseAllOf1) Unset()

type NullablePipelinesKeyPost200Response added in v2.0.1

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

func NewNullablePipelinesKeyPost200Response added in v2.0.1

func NewNullablePipelinesKeyPost200Response(val *PipelinesKeyPost200Response) *NullablePipelinesKeyPost200Response

func (NullablePipelinesKeyPost200Response) Get added in v2.0.1

func (NullablePipelinesKeyPost200Response) IsSet added in v2.0.1

func (NullablePipelinesKeyPost200Response) MarshalJSON added in v2.0.1

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

func (*NullablePipelinesKeyPost200Response) Set added in v2.0.1

func (*NullablePipelinesKeyPost200Response) UnmarshalJSON added in v2.0.1

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

func (*NullablePipelinesKeyPost200Response) Unset added in v2.0.1

type NullableProcessor

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

func NewNullableProcessor

func NewNullableProcessor(val *Processor) *NullableProcessor

func (NullableProcessor) Get

func (v NullableProcessor) Get() *Processor

func (NullableProcessor) IsSet

func (v NullableProcessor) IsSet() bool

func (NullableProcessor) MarshalJSON

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

func (*NullableProcessor) Set

func (v *NullableProcessor) Set(val *Processor)

func (*NullableProcessor) UnmarshalJSON

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

func (*NullableProcessor) Unset

func (v *NullableProcessor) Unset()

type NullableProvisioningMetadata added in v2.0.1

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

func NewNullableProvisioningMetadata added in v2.0.1

func NewNullableProvisioningMetadata(val *ProvisioningMetadata) *NullableProvisioningMetadata

func (NullableProvisioningMetadata) Get added in v2.0.1

func (NullableProvisioningMetadata) IsSet added in v2.0.1

func (NullableProvisioningMetadata) MarshalJSON added in v2.0.1

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

func (*NullableProvisioningMetadata) Set added in v2.0.1

func (*NullableProvisioningMetadata) UnmarshalJSON added in v2.0.1

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

func (*NullableProvisioningMetadata) Unset added in v2.0.1

func (v *NullableProvisioningMetadata) Unset()

type NullableProvisioningMetadataAllOf added in v2.0.1

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

func NewNullableProvisioningMetadataAllOf added in v2.0.1

func NewNullableProvisioningMetadataAllOf(val *ProvisioningMetadataAllOf) *NullableProvisioningMetadataAllOf

func (NullableProvisioningMetadataAllOf) Get added in v2.0.1

func (NullableProvisioningMetadataAllOf) IsSet added in v2.0.1

func (NullableProvisioningMetadataAllOf) MarshalJSON added in v2.0.1

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

func (*NullableProvisioningMetadataAllOf) Set added in v2.0.1

func (*NullableProvisioningMetadataAllOf) UnmarshalJSON added in v2.0.1

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

func (*NullableProvisioningMetadataAllOf) Unset added in v2.0.1

type NullableProvisioningPipeline added in v2.0.1

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

func NewNullableProvisioningPipeline added in v2.0.1

func NewNullableProvisioningPipeline(val *ProvisioningPipeline) *NullableProvisioningPipeline

func (NullableProvisioningPipeline) Get added in v2.0.1

func (NullableProvisioningPipeline) IsSet added in v2.0.1

func (NullableProvisioningPipeline) MarshalJSON added in v2.0.1

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

func (*NullableProvisioningPipeline) Set added in v2.0.1

func (*NullableProvisioningPipeline) UnmarshalJSON added in v2.0.1

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

func (*NullableProvisioningPipeline) Unset added in v2.0.1

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

type Pipeline struct {
	// The unique ID of the resource.
	Id         *string             `json:"id,omitempty"`
	Metadata   *Metadata           `json:"metadata,omitempty"`
	Properties *PipelineProperties `json:"properties,omitempty"`
}

Pipeline pipeline response

func NewPipeline

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

func (o *Pipeline) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Pipeline) GetIdOk

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

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

func (*Pipeline) GetMetadata

func (o *Pipeline) GetMetadata() Metadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Pipeline) GetMetadataOk

func (o *Pipeline) GetMetadataOk() (*Metadata, bool)

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

func (*Pipeline) GetProperties

func (o *Pipeline) GetProperties() PipelineProperties

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

func (*Pipeline) GetPropertiesOk

func (o *Pipeline) GetPropertiesOk() (*PipelineProperties, bool)

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

func (*Pipeline) HasId

func (o *Pipeline) HasId() bool

HasId returns a boolean if a field has been set.

func (*Pipeline) HasMetadata

func (o *Pipeline) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Pipeline) HasProperties

func (o *Pipeline) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*Pipeline) SetId

func (o *Pipeline) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Pipeline) SetMetadata

func (o *Pipeline) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*Pipeline) SetProperties

func (o *Pipeline) SetProperties(v PipelineProperties)

SetProperties gets a reference to the given PipelineProperties and assigns it to the Properties field.

func (Pipeline) ToMap

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

type PipelineCreate

type PipelineCreate struct {
	Properties PipelineCreateProperties `json:"properties"`
}

PipelineCreate Request payload with all data needed to create a new logging pipeline

func NewPipelineCreate

func NewPipelineCreate(properties PipelineCreateProperties) *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

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

func (o *PipelineCreate) GetProperties() PipelineCreateProperties

GetProperties returns the Properties field value

func (*PipelineCreate) GetPropertiesOk

func (o *PipelineCreate) GetPropertiesOk() (*PipelineCreateProperties, bool)

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

func (*PipelineCreate) SetProperties

func (o *PipelineCreate) SetProperties(v PipelineCreateProperties)

SetProperties sets field value

func (PipelineCreate) ToMap

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

type PipelineCreateProperties

type PipelineCreateProperties struct {
	// The friendly name of your pipeline.
	Name string `json:"name"`
	// The information of the log pipelines
	Logs []PipelineCreatePropertiesLogs `json:"logs"`
}

PipelineCreateProperties Create pipeline properties

func NewPipelineCreateProperties

func NewPipelineCreateProperties(name string, logs []PipelineCreatePropertiesLogs) *PipelineCreateProperties

NewPipelineCreateProperties instantiates a new PipelineCreateProperties 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 NewPipelineCreatePropertiesWithDefaults

func NewPipelineCreatePropertiesWithDefaults() *PipelineCreateProperties

NewPipelineCreatePropertiesWithDefaults instantiates a new PipelineCreateProperties 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 (*PipelineCreateProperties) GetLogs

GetLogs returns the Logs field value

func (*PipelineCreateProperties) GetLogsOk

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

func (*PipelineCreateProperties) GetName

func (o *PipelineCreateProperties) GetName() string

GetName returns the Name field value

func (*PipelineCreateProperties) GetNameOk

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

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

func (*PipelineCreateProperties) SetLogs

SetLogs sets field value

func (*PipelineCreateProperties) SetName

func (o *PipelineCreateProperties) SetName(v string)

SetName sets field value

func (PipelineCreateProperties) ToMap

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

type PipelineCreatePropertiesLogs added in v2.0.1

type PipelineCreatePropertiesLogs struct {
	// The source parser to be used
	Source *string `json:"source,omitempty"`
	// Tag is to distinguish different pipelines. must be unique amongst the pipeline's array items.
	Tag *string `json:"tag,omitempty"`
	// Protocol to use as intake
	Protocol *string `json:"protocol,omitempty"`
	// Optional custom labels to filter and report logs
	Labels []string `json:"labels,omitempty"`
	// The configuration of the logs datastore
	Destinations []Destination `json:"destinations,omitempty"`
}

PipelineCreatePropertiesLogs struct for PipelineCreatePropertiesLogs

func NewPipelineCreatePropertiesLogs added in v2.0.1

func NewPipelineCreatePropertiesLogs() *PipelineCreatePropertiesLogs

NewPipelineCreatePropertiesLogs instantiates a new PipelineCreatePropertiesLogs 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 NewPipelineCreatePropertiesLogsWithDefaults added in v2.0.1

func NewPipelineCreatePropertiesLogsWithDefaults() *PipelineCreatePropertiesLogs

NewPipelineCreatePropertiesLogsWithDefaults instantiates a new PipelineCreatePropertiesLogs 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 (*PipelineCreatePropertiesLogs) GetDestinations added in v2.0.1

func (o *PipelineCreatePropertiesLogs) GetDestinations() []Destination

GetDestinations returns the Destinations field value if set, zero value otherwise.

func (*PipelineCreatePropertiesLogs) GetDestinationsOk added in v2.0.1

func (o *PipelineCreatePropertiesLogs) GetDestinationsOk() ([]Destination, bool)

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

func (*PipelineCreatePropertiesLogs) GetLabels added in v2.0.1

func (o *PipelineCreatePropertiesLogs) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PipelineCreatePropertiesLogs) GetLabelsOk added in v2.0.1

func (o *PipelineCreatePropertiesLogs) GetLabelsOk() ([]string, bool)

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

func (*PipelineCreatePropertiesLogs) GetProtocol added in v2.0.1

func (o *PipelineCreatePropertiesLogs) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*PipelineCreatePropertiesLogs) GetProtocolOk added in v2.0.1

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

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

func (*PipelineCreatePropertiesLogs) GetSource added in v2.0.1

func (o *PipelineCreatePropertiesLogs) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*PipelineCreatePropertiesLogs) GetSourceOk added in v2.0.1

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

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

func (*PipelineCreatePropertiesLogs) GetTag added in v2.0.1

GetTag returns the Tag field value if set, zero value otherwise.

func (*PipelineCreatePropertiesLogs) GetTagOk added in v2.0.1

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

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

func (*PipelineCreatePropertiesLogs) HasDestinations added in v2.0.1

func (o *PipelineCreatePropertiesLogs) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*PipelineCreatePropertiesLogs) HasLabels added in v2.0.1

func (o *PipelineCreatePropertiesLogs) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PipelineCreatePropertiesLogs) HasProtocol added in v2.0.1

func (o *PipelineCreatePropertiesLogs) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*PipelineCreatePropertiesLogs) HasSource added in v2.0.1

func (o *PipelineCreatePropertiesLogs) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*PipelineCreatePropertiesLogs) HasTag added in v2.0.1

func (o *PipelineCreatePropertiesLogs) HasTag() bool

HasTag returns a boolean if a field has been set.

func (*PipelineCreatePropertiesLogs) SetDestinations added in v2.0.1

func (o *PipelineCreatePropertiesLogs) SetDestinations(v []Destination)

SetDestinations gets a reference to the given []Destination and assigns it to the Destinations field.

func (*PipelineCreatePropertiesLogs) SetLabels added in v2.0.1

func (o *PipelineCreatePropertiesLogs) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*PipelineCreatePropertiesLogs) SetProtocol added in v2.0.1

func (o *PipelineCreatePropertiesLogs) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (*PipelineCreatePropertiesLogs) SetSource added in v2.0.1

func (o *PipelineCreatePropertiesLogs) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (*PipelineCreatePropertiesLogs) SetTag added in v2.0.1

func (o *PipelineCreatePropertiesLogs) SetTag(v string)

SetTag gets a reference to the given string and assigns it to the Tag field.

func (PipelineCreatePropertiesLogs) ToMap added in v2.0.1

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

type PipelineListResponse

type PipelineListResponse struct {
	Id    *string    `json:"id,omitempty"`
	Type  *string    `json:"type,omitempty"`
	Items []Pipeline `json:"items,omitempty"`
}

PipelineListResponse List of pipelines

func NewPipelineListResponse

func NewPipelineListResponse() *PipelineListResponse

NewPipelineListResponse instantiates a new PipelineListResponse 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 NewPipelineListResponseWithDefaults

func NewPipelineListResponseWithDefaults() *PipelineListResponse

NewPipelineListResponseWithDefaults instantiates a new PipelineListResponse 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 (*PipelineListResponse) GetId

func (o *PipelineListResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PipelineListResponse) GetIdOk

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

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

func (*PipelineListResponse) GetItems

func (o *PipelineListResponse) GetItems() []Pipeline

GetItems returns the Items field value if set, zero value otherwise.

func (*PipelineListResponse) GetItemsOk

func (o *PipelineListResponse) GetItemsOk() ([]Pipeline, bool)

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

func (*PipelineListResponse) GetType

func (o *PipelineListResponse) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PipelineListResponse) GetTypeOk

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

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

func (*PipelineListResponse) HasId

func (o *PipelineListResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*PipelineListResponse) HasItems

func (o *PipelineListResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PipelineListResponse) HasType

func (o *PipelineListResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (*PipelineListResponse) SetId

func (o *PipelineListResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PipelineListResponse) SetItems

func (o *PipelineListResponse) SetItems(v []Pipeline)

SetItems gets a reference to the given []Pipeline and assigns it to the Items field.

func (*PipelineListResponse) SetType

func (o *PipelineListResponse) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (PipelineListResponse) ToMap

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

type PipelinePatch

type PipelinePatch struct {
	Properties PipelinePatchProperties `json:"properties"`
}

PipelinePatch Request payload with any data that is possible to patch a logging pipeline

func NewPipelinePatch

func NewPipelinePatch(properties PipelinePatchProperties) *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

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

func (o *PipelinePatch) GetProperties() PipelinePatchProperties

GetProperties returns the Properties field value

func (*PipelinePatch) GetPropertiesOk

func (o *PipelinePatch) GetPropertiesOk() (*PipelinePatchProperties, bool)

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

func (*PipelinePatch) SetProperties

func (o *PipelinePatch) SetProperties(v PipelinePatchProperties)

SetProperties sets field value

func (PipelinePatch) ToMap

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

type PipelinePatchProperties

type PipelinePatchProperties struct {
	// The friendly name of your pipeline.
	Name *string `json:"name,omitempty"`
	// The information of the log pipelines
	Logs []PipelineCreatePropertiesLogs `json:"logs,omitempty"`
}

PipelinePatchProperties Patch pipeline properties

func NewPipelinePatchProperties

func NewPipelinePatchProperties() *PipelinePatchProperties

NewPipelinePatchProperties instantiates a new PipelinePatchProperties 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 NewPipelinePatchPropertiesWithDefaults

func NewPipelinePatchPropertiesWithDefaults() *PipelinePatchProperties

NewPipelinePatchPropertiesWithDefaults instantiates a new PipelinePatchProperties 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 (*PipelinePatchProperties) GetLogs

GetLogs returns the Logs field value if set, zero value otherwise.

func (*PipelinePatchProperties) GetLogsOk

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

func (*PipelinePatchProperties) GetName

func (o *PipelinePatchProperties) GetName() string

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

func (*PipelinePatchProperties) GetNameOk

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

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

func (*PipelinePatchProperties) HasLogs

func (o *PipelinePatchProperties) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*PipelinePatchProperties) HasName

func (o *PipelinePatchProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelinePatchProperties) SetLogs

SetLogs gets a reference to the given []PipelineCreatePropertiesLogs and assigns it to the Logs field.

func (*PipelinePatchProperties) SetName

func (o *PipelinePatchProperties) SetName(v string)

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

func (PipelinePatchProperties) ToMap

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

type PipelineProperties

type PipelineProperties struct {
	// The friendly name of your pipeline.
	Name *string `json:"name,omitempty"`
	// The information of the log aggregator
	Logs []PipelineResponse `json:"logs,omitempty"`
	// The address to connect fluentBit compatible logging agents to
	TcpAddress *string `json:"tcpAddress,omitempty"`
	// The address to post logs to using JSON with basic auth
	HttpAddress *string `json:"httpAddress,omitempty"`
	// The address of the client's grafana instance
	GrafanaAddress *string `json:"grafanaAddress,omitempty"`
}

PipelineProperties A pipeline properties

func NewPipelineProperties

func NewPipelineProperties() *PipelineProperties

NewPipelineProperties instantiates a new PipelineProperties 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 NewPipelinePropertiesWithDefaults

func NewPipelinePropertiesWithDefaults() *PipelineProperties

NewPipelinePropertiesWithDefaults instantiates a new PipelineProperties 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 (*PipelineProperties) GetGrafanaAddress

func (o *PipelineProperties) GetGrafanaAddress() string

GetGrafanaAddress returns the GrafanaAddress field value if set, zero value otherwise.

func (*PipelineProperties) GetGrafanaAddressOk

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

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

func (*PipelineProperties) GetHttpAddress

func (o *PipelineProperties) GetHttpAddress() string

GetHttpAddress returns the HttpAddress field value if set, zero value otherwise.

func (*PipelineProperties) GetHttpAddressOk

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

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

func (*PipelineProperties) GetLogs

func (o *PipelineProperties) GetLogs() []PipelineResponse

GetLogs returns the Logs field value if set, zero value otherwise.

func (*PipelineProperties) GetLogsOk

func (o *PipelineProperties) GetLogsOk() ([]PipelineResponse, bool)

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

func (*PipelineProperties) GetName

func (o *PipelineProperties) GetName() string

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

func (*PipelineProperties) GetNameOk

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

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

func (*PipelineProperties) GetTcpAddress

func (o *PipelineProperties) GetTcpAddress() string

GetTcpAddress returns the TcpAddress field value if set, zero value otherwise.

func (*PipelineProperties) GetTcpAddressOk

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

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

func (*PipelineProperties) HasGrafanaAddress

func (o *PipelineProperties) HasGrafanaAddress() bool

HasGrafanaAddress returns a boolean if a field has been set.

func (*PipelineProperties) HasHttpAddress

func (o *PipelineProperties) HasHttpAddress() bool

HasHttpAddress returns a boolean if a field has been set.

func (*PipelineProperties) HasLogs

func (o *PipelineProperties) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*PipelineProperties) HasName

func (o *PipelineProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelineProperties) HasTcpAddress

func (o *PipelineProperties) HasTcpAddress() bool

HasTcpAddress returns a boolean if a field has been set.

func (*PipelineProperties) SetGrafanaAddress

func (o *PipelineProperties) SetGrafanaAddress(v string)

SetGrafanaAddress gets a reference to the given string and assigns it to the GrafanaAddress field.

func (*PipelineProperties) SetHttpAddress

func (o *PipelineProperties) SetHttpAddress(v string)

SetHttpAddress gets a reference to the given string and assigns it to the HttpAddress field.

func (*PipelineProperties) SetLogs

func (o *PipelineProperties) SetLogs(v []PipelineResponse)

SetLogs gets a reference to the given []PipelineResponse and assigns it to the Logs field.

func (*PipelineProperties) SetName

func (o *PipelineProperties) SetName(v string)

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

func (*PipelineProperties) SetTcpAddress

func (o *PipelineProperties) SetTcpAddress(v string)

SetTcpAddress gets a reference to the given string and assigns it to the TcpAddress field.

func (PipelineProperties) ToMap

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

type PipelineResponse

type PipelineResponse struct {
	Public *bool `json:"public,omitempty"`
	// The source parser to be used
	Source *string `json:"source,omitempty"`
	// Tag is to distinguish different pipelines. must be unique amongst the pipeline's array items.
	Tag *string `json:"tag,omitempty"`
	// Protocol to use as intake
	Protocol *string `json:"protocol,omitempty"`
	// Optional custom labels to filter and report logs
	Labels       []string      `json:"labels,omitempty"`
	Destinations []Destination `json:"destinations,omitempty"`
}

PipelineResponse struct for PipelineResponse

func NewPipelineResponse

func NewPipelineResponse() *PipelineResponse

NewPipelineResponse instantiates a new PipelineResponse 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 NewPipelineResponseWithDefaults

func NewPipelineResponseWithDefaults() *PipelineResponse

NewPipelineResponseWithDefaults instantiates a new PipelineResponse 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 (*PipelineResponse) GetDestinations

func (o *PipelineResponse) GetDestinations() []Destination

GetDestinations returns the Destinations field value if set, zero value otherwise.

func (*PipelineResponse) GetDestinationsOk

func (o *PipelineResponse) GetDestinationsOk() ([]Destination, bool)

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

func (*PipelineResponse) GetLabels

func (o *PipelineResponse) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PipelineResponse) GetLabelsOk

func (o *PipelineResponse) GetLabelsOk() ([]string, bool)

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

func (*PipelineResponse) GetProtocol

func (o *PipelineResponse) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*PipelineResponse) GetProtocolOk

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

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

func (*PipelineResponse) GetPublic

func (o *PipelineResponse) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*PipelineResponse) GetPublicOk

func (o *PipelineResponse) GetPublicOk() (*bool, bool)

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

func (*PipelineResponse) GetSource

func (o *PipelineResponse) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*PipelineResponse) GetSourceOk

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

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

func (*PipelineResponse) GetTag

func (o *PipelineResponse) GetTag() string

GetTag returns the Tag field value if set, zero value otherwise.

func (*PipelineResponse) GetTagOk

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

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

func (*PipelineResponse) HasDestinations

func (o *PipelineResponse) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*PipelineResponse) HasLabels

func (o *PipelineResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PipelineResponse) HasProtocol

func (o *PipelineResponse) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*PipelineResponse) HasPublic

func (o *PipelineResponse) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*PipelineResponse) HasSource

func (o *PipelineResponse) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*PipelineResponse) HasTag

func (o *PipelineResponse) HasTag() bool

HasTag returns a boolean if a field has been set.

func (*PipelineResponse) SetDestinations

func (o *PipelineResponse) SetDestinations(v []Destination)

SetDestinations gets a reference to the given []Destination and assigns it to the Destinations field.

func (*PipelineResponse) SetLabels

func (o *PipelineResponse) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*PipelineResponse) SetProtocol

func (o *PipelineResponse) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (*PipelineResponse) SetPublic

func (o *PipelineResponse) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (*PipelineResponse) SetSource

func (o *PipelineResponse) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (*PipelineResponse) SetTag

func (o *PipelineResponse) SetTag(v string)

SetTag gets a reference to the given string and assigns it to the Tag field.

func (PipelineResponse) ToMap

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

type PipelineResponseAllOf

type PipelineResponseAllOf struct {
	Public *bool `json:"public,omitempty"`
}

PipelineResponseAllOf struct for PipelineResponseAllOf

func NewPipelineResponseAllOf

func NewPipelineResponseAllOf() *PipelineResponseAllOf

NewPipelineResponseAllOf instantiates a new PipelineResponseAllOf 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 NewPipelineResponseAllOfWithDefaults

func NewPipelineResponseAllOfWithDefaults() *PipelineResponseAllOf

NewPipelineResponseAllOfWithDefaults instantiates a new PipelineResponseAllOf 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 (*PipelineResponseAllOf) GetPublic

func (o *PipelineResponseAllOf) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*PipelineResponseAllOf) GetPublicOk

func (o *PipelineResponseAllOf) GetPublicOk() (*bool, bool)

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

func (*PipelineResponseAllOf) HasPublic

func (o *PipelineResponseAllOf) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*PipelineResponseAllOf) SetPublic

func (o *PipelineResponseAllOf) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (PipelineResponseAllOf) ToMap

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

type PipelineResponseAllOf1

type PipelineResponseAllOf1 struct {
	Destinations []Destination `json:"destinations,omitempty"`
}

PipelineResponseAllOf1 struct for PipelineResponseAllOf1

func NewPipelineResponseAllOf1

func NewPipelineResponseAllOf1() *PipelineResponseAllOf1

NewPipelineResponseAllOf1 instantiates a new PipelineResponseAllOf1 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 NewPipelineResponseAllOf1WithDefaults

func NewPipelineResponseAllOf1WithDefaults() *PipelineResponseAllOf1

NewPipelineResponseAllOf1WithDefaults instantiates a new PipelineResponseAllOf1 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 (*PipelineResponseAllOf1) GetDestinations

func (o *PipelineResponseAllOf1) GetDestinations() []Destination

GetDestinations returns the Destinations field value if set, zero value otherwise.

func (*PipelineResponseAllOf1) GetDestinationsOk

func (o *PipelineResponseAllOf1) GetDestinationsOk() ([]Destination, bool)

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

func (*PipelineResponseAllOf1) HasDestinations

func (o *PipelineResponseAllOf1) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*PipelineResponseAllOf1) SetDestinations

func (o *PipelineResponseAllOf1) SetDestinations(v []Destination)

SetDestinations gets a reference to the given []Destination and assigns it to the Destinations field.

func (PipelineResponseAllOf1) ToMap

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

type PipelinesApiService

type PipelinesApiService service

PipelinesApiService PipelinesApi service

func (*PipelinesApiService) PipelinesDelete

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

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

func (*PipelinesApiService) PipelinesDeleteExecute

* Execute executes the request * @return DeletedPipeline

func (*PipelinesApiService) PipelinesFindById

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

* PipelinesFindById Fetch a pipeline * You can retrieve a pipeline by using its ID. This value can be found in the response body when a pipeline is created or when you GET a list of pipelines. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pipelineId The unique ID of the pipeline * @return ApiPipelinesFindByIdRequest

func (*PipelinesApiService) PipelinesFindByIdExecute

* Execute executes the request * @return Pipeline

func (*PipelinesApiService) PipelinesGet

* PipelinesGet List pipelines * Retrieves a list of all logging pipelines. * @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 PipelineListResponse

func (*PipelinesApiService) PipelinesKeyPost

func (a *PipelinesApiService) PipelinesKeyPost(ctx _context.Context, pipelineId string) ApiPipelinesKeyPostRequest

* PipelinesKeyPost Renews the key of a Pipeline * Generates a new key for a pipeline invalidating the old one. The key is used for authentication when sending logs (Shared_Key parameter in the context of fluent-bit). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pipelineId The unique ID of the pipeline * @return ApiPipelinesKeyPostRequest

func (*PipelinesApiService) PipelinesKeyPostExecute

* Execute executes the request * @return PipelinesKeyPost200Response

func (*PipelinesApiService) PipelinesPatch

func (a *PipelinesApiService) PipelinesPatch(ctx _context.Context, pipelineId string) ApiPipelinesPatchRequest

* PipelinesPatch Patch a pipeline * Patch attributes of a logging pipeline. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pipelineId The unique ID of the pipeline * @return ApiPipelinesPatchRequest

func (*PipelinesApiService) PipelinesPatchExecute

* Execute executes the request * @return Pipeline

func (*PipelinesApiService) PipelinesPost

* PipelinesPost Create a pipeline * Creates a new logging pipeline. * @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 ProvisioningPipeline

type PipelinesKeyPost200Response added in v2.0.1

type PipelinesKeyPost200Response struct {
	Key *string `json:"key,omitempty"`
}

PipelinesKeyPost200Response struct for PipelinesKeyPost200Response

func NewPipelinesKeyPost200Response added in v2.0.1

func NewPipelinesKeyPost200Response() *PipelinesKeyPost200Response

NewPipelinesKeyPost200Response instantiates a new PipelinesKeyPost200Response 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 NewPipelinesKeyPost200ResponseWithDefaults added in v2.0.1

func NewPipelinesKeyPost200ResponseWithDefaults() *PipelinesKeyPost200Response

NewPipelinesKeyPost200ResponseWithDefaults instantiates a new PipelinesKeyPost200Response 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 (*PipelinesKeyPost200Response) GetKey added in v2.0.1

func (o *PipelinesKeyPost200Response) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*PipelinesKeyPost200Response) GetKeyOk added in v2.0.1

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

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

func (*PipelinesKeyPost200Response) HasKey added in v2.0.1

func (o *PipelinesKeyPost200Response) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*PipelinesKeyPost200Response) SetKey added in v2.0.1

func (o *PipelinesKeyPost200Response) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (PipelinesKeyPost200Response) ToMap added in v2.0.1

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

type Processor

type Processor struct {
	// The source parser to be used
	Source *string `json:"source,omitempty"`
	// Tag is to distinguish different pipelines. must be unique amongst the pipeline's array items.
	Tag *string `json:"tag,omitempty"`
	// Protocol to use as intake
	Protocol *string `json:"protocol,omitempty"`
	// Optional custom labels to filter and report logs
	Labels []string `json:"labels,omitempty"`
	// The configuration of the logs datastore
	Destinations []Destination `json:"destinations,omitempty"`
}

Processor struct for Processor

func NewProcessor

func NewProcessor() *Processor

NewProcessor instantiates a new Processor 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 NewProcessorWithDefaults

func NewProcessorWithDefaults() *Processor

NewProcessorWithDefaults instantiates a new Processor 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 (*Processor) GetDestinations

func (o *Processor) GetDestinations() []Destination

GetDestinations returns the Destinations field value if set, zero value otherwise.

func (*Processor) GetDestinationsOk

func (o *Processor) GetDestinationsOk() ([]Destination, bool)

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

func (*Processor) GetLabels

func (o *Processor) GetLabels() []string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Processor) GetLabelsOk

func (o *Processor) GetLabelsOk() ([]string, bool)

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

func (*Processor) GetProtocol

func (o *Processor) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*Processor) GetProtocolOk

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

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

func (*Processor) GetSource

func (o *Processor) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*Processor) GetSourceOk

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

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

func (*Processor) GetTag

func (o *Processor) GetTag() string

GetTag returns the Tag field value if set, zero value otherwise.

func (*Processor) GetTagOk

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

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

func (*Processor) HasDestinations

func (o *Processor) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*Processor) HasLabels

func (o *Processor) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Processor) HasProtocol

func (o *Processor) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*Processor) HasSource

func (o *Processor) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*Processor) HasTag

func (o *Processor) HasTag() bool

HasTag returns a boolean if a field has been set.

func (*Processor) SetDestinations

func (o *Processor) SetDestinations(v []Destination)

SetDestinations gets a reference to the given []Destination and assigns it to the Destinations field.

func (*Processor) SetLabels

func (o *Processor) SetLabels(v []string)

SetLabels gets a reference to the given []string and assigns it to the Labels field.

func (*Processor) SetProtocol

func (o *Processor) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (*Processor) SetSource

func (o *Processor) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (*Processor) SetTag

func (o *Processor) SetTag(v string)

SetTag gets a reference to the given string and assigns it to the Tag field.

func (Processor) ToMap

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

type ProvisioningMetadata added in v2.0.1

type ProvisioningMetadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate       *IonosTime `json:"createdDate,omitempty"`
	CreatedBy         *string    `json:"createdBy,omitempty"`
	CreatedByUserId   *string    `json:"createdByUserId,omitempty"`
	CreatedByUserUuid *string    `json:"createdByUserUuid,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate       *IonosTime `json:"lastModifiedDate,omitempty"`
	LastModifiedBy         *string    `json:"lastModifiedBy,omitempty"`
	LastModifiedByUserId   *string    `json:"lastModifiedByUserId,omitempty"`
	LastModifiedByUserUuid *string    `json:"lastModifiedByUserUuid,omitempty"`
	// The current state reported back by the pipeline.
	State *string `json:"state,omitempty"`
}

ProvisioningMetadata struct for ProvisioningMetadata

func NewProvisioningMetadata added in v2.0.1

func NewProvisioningMetadata() *ProvisioningMetadata

NewProvisioningMetadata instantiates a new ProvisioningMetadata 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 NewProvisioningMetadataWithDefaults added in v2.0.1

func NewProvisioningMetadataWithDefaults() *ProvisioningMetadata

NewProvisioningMetadataWithDefaults instantiates a new ProvisioningMetadata 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 (*ProvisioningMetadata) GetCreatedBy added in v2.0.1

func (o *ProvisioningMetadata) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*ProvisioningMetadata) GetCreatedByOk added in v2.0.1

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

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

func (*ProvisioningMetadata) GetCreatedByUserId added in v2.0.1

func (o *ProvisioningMetadata) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*ProvisioningMetadata) GetCreatedByUserIdOk added in v2.0.1

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

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

func (*ProvisioningMetadata) GetCreatedByUserUuid added in v2.0.1

func (o *ProvisioningMetadata) GetCreatedByUserUuid() string

GetCreatedByUserUuid returns the CreatedByUserUuid field value if set, zero value otherwise.

func (*ProvisioningMetadata) GetCreatedByUserUuidOk added in v2.0.1

func (o *ProvisioningMetadata) GetCreatedByUserUuidOk() (*string, bool)

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

func (*ProvisioningMetadata) GetCreatedDate added in v2.0.1

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

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*ProvisioningMetadata) GetCreatedDateOk added in v2.0.1

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

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

func (*ProvisioningMetadata) GetLastModifiedBy added in v2.0.1

func (o *ProvisioningMetadata) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*ProvisioningMetadata) GetLastModifiedByOk added in v2.0.1

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

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

func (*ProvisioningMetadata) GetLastModifiedByUserId added in v2.0.1

func (o *ProvisioningMetadata) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*ProvisioningMetadata) GetLastModifiedByUserIdOk added in v2.0.1

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

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

func (*ProvisioningMetadata) GetLastModifiedByUserUuid added in v2.0.1

func (o *ProvisioningMetadata) GetLastModifiedByUserUuid() string

GetLastModifiedByUserUuid returns the LastModifiedByUserUuid field value if set, zero value otherwise.

func (*ProvisioningMetadata) GetLastModifiedByUserUuidOk added in v2.0.1

func (o *ProvisioningMetadata) GetLastModifiedByUserUuidOk() (*string, bool)

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

func (*ProvisioningMetadata) GetLastModifiedDate added in v2.0.1

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

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*ProvisioningMetadata) GetLastModifiedDateOk added in v2.0.1

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

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

func (*ProvisioningMetadata) GetState added in v2.0.1

func (o *ProvisioningMetadata) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ProvisioningMetadata) GetStateOk added in v2.0.1

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

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

func (*ProvisioningMetadata) HasCreatedBy added in v2.0.1

func (o *ProvisioningMetadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*ProvisioningMetadata) HasCreatedByUserId added in v2.0.1

func (o *ProvisioningMetadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*ProvisioningMetadata) HasCreatedByUserUuid added in v2.0.1

func (o *ProvisioningMetadata) HasCreatedByUserUuid() bool

HasCreatedByUserUuid returns a boolean if a field has been set.

func (*ProvisioningMetadata) HasCreatedDate added in v2.0.1

func (o *ProvisioningMetadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*ProvisioningMetadata) HasLastModifiedBy added in v2.0.1

func (o *ProvisioningMetadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*ProvisioningMetadata) HasLastModifiedByUserId added in v2.0.1

func (o *ProvisioningMetadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*ProvisioningMetadata) HasLastModifiedByUserUuid added in v2.0.1

func (o *ProvisioningMetadata) HasLastModifiedByUserUuid() bool

HasLastModifiedByUserUuid returns a boolean if a field has been set.

func (*ProvisioningMetadata) HasLastModifiedDate added in v2.0.1

func (o *ProvisioningMetadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*ProvisioningMetadata) HasState added in v2.0.1

func (o *ProvisioningMetadata) HasState() bool

HasState returns a boolean if a field has been set.

func (*ProvisioningMetadata) SetCreatedBy added in v2.0.1

func (o *ProvisioningMetadata) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*ProvisioningMetadata) SetCreatedByUserId added in v2.0.1

func (o *ProvisioningMetadata) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*ProvisioningMetadata) SetCreatedByUserUuid added in v2.0.1

func (o *ProvisioningMetadata) SetCreatedByUserUuid(v string)

SetCreatedByUserUuid gets a reference to the given string and assigns it to the CreatedByUserUuid field.

func (*ProvisioningMetadata) SetCreatedDate added in v2.0.1

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

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*ProvisioningMetadata) SetLastModifiedBy added in v2.0.1

func (o *ProvisioningMetadata) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*ProvisioningMetadata) SetLastModifiedByUserId added in v2.0.1

func (o *ProvisioningMetadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*ProvisioningMetadata) SetLastModifiedByUserUuid added in v2.0.1

func (o *ProvisioningMetadata) SetLastModifiedByUserUuid(v string)

SetLastModifiedByUserUuid gets a reference to the given string and assigns it to the LastModifiedByUserUuid field.

func (*ProvisioningMetadata) SetLastModifiedDate added in v2.0.1

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

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*ProvisioningMetadata) SetState added in v2.0.1

func (o *ProvisioningMetadata) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ProvisioningMetadata) ToMap added in v2.0.1

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

type ProvisioningMetadataAllOf added in v2.0.1

type ProvisioningMetadataAllOf struct {
	// The current state reported back by the pipeline.
	State *string `json:"state,omitempty"`
}

ProvisioningMetadataAllOf struct for ProvisioningMetadataAllOf

func NewProvisioningMetadataAllOf added in v2.0.1

func NewProvisioningMetadataAllOf() *ProvisioningMetadataAllOf

NewProvisioningMetadataAllOf instantiates a new ProvisioningMetadataAllOf 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 NewProvisioningMetadataAllOfWithDefaults added in v2.0.1

func NewProvisioningMetadataAllOfWithDefaults() *ProvisioningMetadataAllOf

NewProvisioningMetadataAllOfWithDefaults instantiates a new ProvisioningMetadataAllOf 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 (*ProvisioningMetadataAllOf) GetState added in v2.0.1

func (o *ProvisioningMetadataAllOf) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ProvisioningMetadataAllOf) GetStateOk added in v2.0.1

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

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

func (*ProvisioningMetadataAllOf) HasState added in v2.0.1

func (o *ProvisioningMetadataAllOf) HasState() bool

HasState returns a boolean if a field has been set.

func (*ProvisioningMetadataAllOf) SetState added in v2.0.1

func (o *ProvisioningMetadataAllOf) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ProvisioningMetadataAllOf) ToMap added in v2.0.1

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

type ProvisioningPipeline added in v2.0.1

type ProvisioningPipeline struct {
	// The unique ID of the resource.
	Id         *string               `json:"id,omitempty"`
	Metadata   *ProvisioningMetadata `json:"metadata,omitempty"`
	Properties *PipelineProperties   `json:"properties,omitempty"`
}

ProvisioningPipeline pipeline response

func NewProvisioningPipeline added in v2.0.1

func NewProvisioningPipeline() *ProvisioningPipeline

NewProvisioningPipeline instantiates a new ProvisioningPipeline 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 NewProvisioningPipelineWithDefaults added in v2.0.1

func NewProvisioningPipelineWithDefaults() *ProvisioningPipeline

NewProvisioningPipelineWithDefaults instantiates a new ProvisioningPipeline 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 (*ProvisioningPipeline) GetId added in v2.0.1

func (o *ProvisioningPipeline) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ProvisioningPipeline) GetIdOk added in v2.0.1

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

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

func (*ProvisioningPipeline) GetMetadata added in v2.0.1

func (o *ProvisioningPipeline) GetMetadata() ProvisioningMetadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*ProvisioningPipeline) GetMetadataOk added in v2.0.1

func (o *ProvisioningPipeline) GetMetadataOk() (*ProvisioningMetadata, bool)

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

func (*ProvisioningPipeline) GetProperties added in v2.0.1

func (o *ProvisioningPipeline) GetProperties() PipelineProperties

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

func (*ProvisioningPipeline) GetPropertiesOk added in v2.0.1

func (o *ProvisioningPipeline) GetPropertiesOk() (*PipelineProperties, bool)

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

func (*ProvisioningPipeline) HasId added in v2.0.1

func (o *ProvisioningPipeline) HasId() bool

HasId returns a boolean if a field has been set.

func (*ProvisioningPipeline) HasMetadata added in v2.0.1

func (o *ProvisioningPipeline) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ProvisioningPipeline) HasProperties added in v2.0.1

func (o *ProvisioningPipeline) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ProvisioningPipeline) SetId added in v2.0.1

func (o *ProvisioningPipeline) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ProvisioningPipeline) SetMetadata added in v2.0.1

func (o *ProvisioningPipeline) SetMetadata(v ProvisioningMetadata)

SetMetadata gets a reference to the given ProvisioningMetadata and assigns it to the Metadata field.

func (*ProvisioningPipeline) SetProperties added in v2.0.1

func (o *ProvisioningPipeline) SetProperties(v PipelineProperties)

SetProperties gets a reference to the given PipelineProperties and assigns it to the Properties field.

func (ProvisioningPipeline) ToMap added in v2.0.1

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

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