logging

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

README

Go API client for logging

Logging Service is a service that provides a centralized logging system where users are able to push and aggregate their system or application logs. This service also provides a visualization platform where users are able to observe, search and filter the logs and also create dashboards and alerts for their data points. This service can be managed through a browser-based "Data Center Designer" (DCD) tool or via an API. The API allows you to create logging pipelines or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.

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

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", "", "")
	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(), "")
        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
PipelinesApi PipelineKey Post /pipelines/{pipelineId}/key Renews the key of a Pipeline
PipelinesApi PipelinesDelete Delete /pipelines/{pipelineId} Delete a pipeline
PipelinesApi PipelinesFindById Get /pipelines/{pipelineId} Fetch a pipeline
PipelinesApi PipelinesGet Get /pipelines List pipelines
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/v0.1.0"
)

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.

Types

type APIClient

type APIClient struct {
	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 ApiPipelineKeyRequest

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

func (ApiPipelineKeyRequest) Execute

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

type CreateRequest struct {
	Properties *CreateRequestProperties `json:"properties"`
}

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

func NewCreateRequest

func NewCreateRequest(properties CreateRequestProperties) *CreateRequest

NewCreateRequest instantiates a new CreateRequest 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 NewCreateRequestWithDefaults

func NewCreateRequestWithDefaults() *CreateRequest

NewCreateRequestWithDefaults instantiates a new CreateRequest 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 (*CreateRequest) GetProperties

func (o *CreateRequest) GetProperties() *CreateRequestProperties

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

func (*CreateRequest) GetPropertiesOk

func (o *CreateRequest) GetPropertiesOk() (*CreateRequestProperties, bool)

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

func (*CreateRequest) HasProperties

func (o *CreateRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (CreateRequest) MarshalJSON

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

func (*CreateRequest) SetProperties

func (o *CreateRequest) SetProperties(v CreateRequestProperties)

SetProperties sets field value

type CreateRequestPipeline

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

CreateRequestPipeline struct for CreateRequestPipeline

func NewCreateRequestPipeline

func NewCreateRequestPipeline() *CreateRequestPipeline

NewCreateRequestPipeline instantiates a new CreateRequestPipeline 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 NewCreateRequestPipelineWithDefaults

func NewCreateRequestPipelineWithDefaults() *CreateRequestPipeline

NewCreateRequestPipelineWithDefaults instantiates a new CreateRequestPipeline 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 (*CreateRequestPipeline) GetDestinations

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

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

func (*CreateRequestPipeline) GetDestinationsOk

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

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

func (*CreateRequestPipeline) GetLabels

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

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

func (*CreateRequestPipeline) GetLabelsOk

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

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

func (*CreateRequestPipeline) GetProtocol

func (o *CreateRequestPipeline) GetProtocol() *string

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

func (*CreateRequestPipeline) GetProtocolOk

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

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

func (*CreateRequestPipeline) GetSource

func (o *CreateRequestPipeline) GetSource() *string

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

func (*CreateRequestPipeline) GetSourceOk

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

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

func (*CreateRequestPipeline) GetTag

func (o *CreateRequestPipeline) GetTag() *string

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

func (*CreateRequestPipeline) GetTagOk

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

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

func (*CreateRequestPipeline) HasDestinations

func (o *CreateRequestPipeline) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*CreateRequestPipeline) HasLabels

func (o *CreateRequestPipeline) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateRequestPipeline) HasProtocol

func (o *CreateRequestPipeline) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*CreateRequestPipeline) HasSource

func (o *CreateRequestPipeline) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*CreateRequestPipeline) HasTag

func (o *CreateRequestPipeline) HasTag() bool

HasTag returns a boolean if a field has been set.

func (CreateRequestPipeline) MarshalJSON

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

func (*CreateRequestPipeline) SetDestinations

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

SetDestinations sets field value

func (*CreateRequestPipeline) SetLabels

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

SetLabels sets field value

func (*CreateRequestPipeline) SetProtocol

func (o *CreateRequestPipeline) SetProtocol(v string)

SetProtocol sets field value

func (*CreateRequestPipeline) SetSource

func (o *CreateRequestPipeline) SetSource(v string)

SetSource sets field value

func (*CreateRequestPipeline) SetTag

func (o *CreateRequestPipeline) SetTag(v string)

SetTag sets field value

type CreateRequestProperties

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

CreateRequestProperties Create pipeline properties

func NewCreateRequestProperties

func NewCreateRequestProperties(name string, logs []CreateRequestPipeline) *CreateRequestProperties

NewCreateRequestProperties instantiates a new CreateRequestProperties 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 NewCreateRequestPropertiesWithDefaults

func NewCreateRequestPropertiesWithDefaults() *CreateRequestProperties

NewCreateRequestPropertiesWithDefaults instantiates a new CreateRequestProperties 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 (*CreateRequestProperties) GetLogs

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

func (*CreateRequestProperties) GetLogsOk

func (o *CreateRequestProperties) GetLogsOk() (*[]CreateRequestPipeline, bool)

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

func (*CreateRequestProperties) GetName

func (o *CreateRequestProperties) GetName() *string

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

func (*CreateRequestProperties) GetNameOk

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

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

func (*CreateRequestProperties) HasLogs

func (o *CreateRequestProperties) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*CreateRequestProperties) HasName

func (o *CreateRequestProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateRequestProperties) MarshalJSON

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

func (*CreateRequestProperties) SetLogs

SetLogs sets field value

func (*CreateRequestProperties) SetName

func (o *CreateRequestProperties) SetName(v string)

SetName sets field value

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 the value is explicit nil, the zero value for int32 will be returned

func (*Destination) GetRetentionInDaysOk

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

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

func (*Destination) GetType

func (o *Destination) GetType() *string

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

func (*Destination) GetTypeOk

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

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

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

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

func (*Destination) SetRetentionInDays

func (o *Destination) SetRetentionInDays(v int32)

SetRetentionInDays sets field value

func (*Destination) SetType

func (o *Destination) SetType(v string)

SetType sets field value

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 the value is explicit nil, the zero value for string will be returned

func (*ErrorMessage) GetErrorCodeOk

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

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

func (*ErrorMessage) GetMessage

func (o *ErrorMessage) GetMessage() *string

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

func (*ErrorMessage) GetMessageOk

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

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

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

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

func (*ErrorMessage) SetErrorCode

func (o *ErrorMessage) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorMessage) SetMessage

func (o *ErrorMessage) SetMessage(v string)

SetMessage sets field value

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 the value is explicit nil, the zero value for int32 will be returned

func (*ErrorResponse) GetHttpStatusOk

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

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

func (*ErrorResponse) GetMessages

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

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

func (*ErrorResponse) GetMessagesOk

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

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

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

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

func (*ErrorResponse) SetHttpStatus

func (o *ErrorResponse) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*ErrorResponse) SetMessages

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

SetMessages sets field value

type InlineResponse200

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

InlineResponse200 struct for InlineResponse200

func NewInlineResponse200

func NewInlineResponse200() *InlineResponse200

NewInlineResponse200 instantiates a new InlineResponse200 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 NewInlineResponse200WithDefaults

func NewInlineResponse200WithDefaults() *InlineResponse200

NewInlineResponse200WithDefaults instantiates a new InlineResponse200 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 (*InlineResponse200) GetKey

func (o *InlineResponse200) GetKey() *string

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

func (*InlineResponse200) GetKeyOk

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

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

func (*InlineResponse200) HasKey

func (o *InlineResponse200) HasKey() bool

HasKey returns a boolean if a field has been set.

func (InlineResponse200) MarshalJSON

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

func (*InlineResponse200) SetKey

func (o *InlineResponse200) SetKey(v string)

SetKey sets field value

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) 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 status reported back by the pipeline.
	Status *string `json:"status,omitempty"`
}

Metadata Metadata of the resource

func NewMetadata

func NewMetadata() *Metadata

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

func NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

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

func (*Metadata) GetCreatedBy

func (o *Metadata) GetCreatedBy() *string

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

func (*Metadata) GetCreatedByOk

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

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

func (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() *string

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

func (*Metadata) GetCreatedByUserIdOk

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

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

func (*Metadata) GetCreatedByUserUuid

func (o *Metadata) GetCreatedByUserUuid() *string

GetCreatedByUserUuid returns the CreatedByUserUuid field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByUserUuidOk

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

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

func (*Metadata) GetCreatedDate

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

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

func (*Metadata) GetCreatedDateOk

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

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

func (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() *string

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

func (*Metadata) GetLastModifiedByOk

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

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

func (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() *string

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

func (*Metadata) GetLastModifiedByUserIdOk

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

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

func (*Metadata) GetLastModifiedByUserUuid

func (o *Metadata) GetLastModifiedByUserUuid() *string

GetLastModifiedByUserUuid returns the LastModifiedByUserUuid field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByUserUuidOk

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

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

func (*Metadata) GetLastModifiedDate

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

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

func (*Metadata) GetLastModifiedDateOk

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

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

func (*Metadata) GetStatus

func (o *Metadata) GetStatus() *string

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

func (*Metadata) GetStatusOk

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

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

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

func (o *Metadata) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Metadata) MarshalJSON

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

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*Metadata) SetCreatedByUserUuid

func (o *Metadata) SetCreatedByUserUuid(v string)

SetCreatedByUserUuid sets field value

func (*Metadata) SetCreatedDate

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

SetCreatedDate sets field value

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*Metadata) SetLastModifiedByUserUuid

func (o *Metadata) SetLastModifiedByUserUuid(v string)

SetLastModifiedByUserUuid sets field value

func (*Metadata) SetLastModifiedDate

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

SetLastModifiedDate sets field value

func (*Metadata) SetStatus

func (o *Metadata) SetStatus(v string)

SetStatus sets field value

type NullableCreateRequest

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

func NewNullableCreateRequest

func NewNullableCreateRequest(val *CreateRequest) *NullableCreateRequest

func (NullableCreateRequest) Get

func (NullableCreateRequest) IsSet

func (v NullableCreateRequest) IsSet() bool

func (NullableCreateRequest) MarshalJSON

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

func (*NullableCreateRequest) Set

func (v *NullableCreateRequest) Set(val *CreateRequest)

func (*NullableCreateRequest) UnmarshalJSON

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

func (*NullableCreateRequest) Unset

func (v *NullableCreateRequest) Unset()

type NullableCreateRequestPipeline

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

func (NullableCreateRequestPipeline) Get

func (NullableCreateRequestPipeline) IsSet

func (NullableCreateRequestPipeline) MarshalJSON

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

func (*NullableCreateRequestPipeline) Set

func (*NullableCreateRequestPipeline) UnmarshalJSON

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

func (*NullableCreateRequestPipeline) Unset

func (v *NullableCreateRequestPipeline) Unset()

type NullableCreateRequestProperties

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

func (NullableCreateRequestProperties) Get

func (NullableCreateRequestProperties) IsSet

func (NullableCreateRequestProperties) MarshalJSON

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

func (*NullableCreateRequestProperties) Set

func (*NullableCreateRequestProperties) UnmarshalJSON

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

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

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

func NewNullableInlineResponse200

func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200

func (NullableInlineResponse200) Get

func (NullableInlineResponse200) IsSet

func (v NullableInlineResponse200) IsSet() bool

func (NullableInlineResponse200) MarshalJSON

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

func (*NullableInlineResponse200) Set

func (*NullableInlineResponse200) UnmarshalJSON

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

func (*NullableInlineResponse200) Unset

func (v *NullableInlineResponse200) Unset()

type NullableMetadata

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

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

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

func (*NullableMetadata) Set

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

func (*NullableMetadata) UnmarshalJSON

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

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullablePatchRequest

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

func NewNullablePatchRequest

func NewNullablePatchRequest(val *PatchRequest) *NullablePatchRequest

func (NullablePatchRequest) Get

func (NullablePatchRequest) IsSet

func (v NullablePatchRequest) IsSet() bool

func (NullablePatchRequest) MarshalJSON

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

func (*NullablePatchRequest) Set

func (v *NullablePatchRequest) Set(val *PatchRequest)

func (*NullablePatchRequest) UnmarshalJSON

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

func (*NullablePatchRequest) Unset

func (v *NullablePatchRequest) Unset()

type NullablePatchRequestPipeline

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

func NewNullablePatchRequestPipeline

func NewNullablePatchRequestPipeline(val *PatchRequestPipeline) *NullablePatchRequestPipeline

func (NullablePatchRequestPipeline) Get

func (NullablePatchRequestPipeline) IsSet

func (NullablePatchRequestPipeline) MarshalJSON

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

func (*NullablePatchRequestPipeline) Set

func (*NullablePatchRequestPipeline) UnmarshalJSON

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

func (*NullablePatchRequestPipeline) Unset

func (v *NullablePatchRequestPipeline) Unset()

type NullablePatchRequestProperties

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

func (NullablePatchRequestProperties) Get

func (NullablePatchRequestProperties) IsSet

func (NullablePatchRequestProperties) MarshalJSON

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

func (*NullablePatchRequestProperties) Set

func (*NullablePatchRequestProperties) UnmarshalJSON

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

func (*NullablePatchRequestProperties) Unset

func (v *NullablePatchRequestProperties) 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 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 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 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 NullableResponsePipeline

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

func NewNullableResponsePipeline

func NewNullableResponsePipeline(val *ResponsePipeline) *NullableResponsePipeline

func (NullableResponsePipeline) Get

func (NullableResponsePipeline) IsSet

func (v NullableResponsePipeline) IsSet() bool

func (NullableResponsePipeline) MarshalJSON

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

func (*NullableResponsePipeline) Set

func (*NullableResponsePipeline) UnmarshalJSON

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

func (*NullableResponsePipeline) Unset

func (v *NullableResponsePipeline) Unset()

type NullableResponsePipelineAllOf

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

func (NullableResponsePipelineAllOf) Get

func (NullableResponsePipelineAllOf) IsSet

func (NullableResponsePipelineAllOf) MarshalJSON

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

func (*NullableResponsePipelineAllOf) Set

func (*NullableResponsePipelineAllOf) UnmarshalJSON

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

func (*NullableResponsePipelineAllOf) Unset

func (v *NullableResponsePipelineAllOf) Unset()

type NullableResponsePipelineAllOf1

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

func (NullableResponsePipelineAllOf1) Get

func (NullableResponsePipelineAllOf1) IsSet

func (NullableResponsePipelineAllOf1) MarshalJSON

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

func (*NullableResponsePipelineAllOf1) Set

func (*NullableResponsePipelineAllOf1) UnmarshalJSON

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

func (*NullableResponsePipelineAllOf1) Unset

func (v *NullableResponsePipelineAllOf1) Unset()

type PatchRequest

type PatchRequest struct {
	Properties *PatchRequestProperties `json:"properties"`
}

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

func NewPatchRequest

func NewPatchRequest(properties PatchRequestProperties) *PatchRequest

NewPatchRequest instantiates a new PatchRequest 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 NewPatchRequestWithDefaults

func NewPatchRequestWithDefaults() *PatchRequest

NewPatchRequestWithDefaults instantiates a new PatchRequest 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 (*PatchRequest) GetProperties

func (o *PatchRequest) GetProperties() *PatchRequestProperties

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

func (*PatchRequest) GetPropertiesOk

func (o *PatchRequest) GetPropertiesOk() (*PatchRequestProperties, bool)

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

func (*PatchRequest) HasProperties

func (o *PatchRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PatchRequest) MarshalJSON

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

func (*PatchRequest) SetProperties

func (o *PatchRequest) SetProperties(v PatchRequestProperties)

SetProperties sets field value

type PatchRequestPipeline

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

PatchRequestPipeline struct for PatchRequestPipeline

func NewPatchRequestPipeline

func NewPatchRequestPipeline() *PatchRequestPipeline

NewPatchRequestPipeline instantiates a new PatchRequestPipeline 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 NewPatchRequestPipelineWithDefaults

func NewPatchRequestPipelineWithDefaults() *PatchRequestPipeline

NewPatchRequestPipelineWithDefaults instantiates a new PatchRequestPipeline 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 (*PatchRequestPipeline) GetDestinations

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

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

func (*PatchRequestPipeline) GetDestinationsOk

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

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

func (*PatchRequestPipeline) GetLabels

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

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

func (*PatchRequestPipeline) GetLabelsOk

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

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

func (*PatchRequestPipeline) GetProtocol

func (o *PatchRequestPipeline) GetProtocol() *string

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

func (*PatchRequestPipeline) GetProtocolOk

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

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

func (*PatchRequestPipeline) GetSource

func (o *PatchRequestPipeline) GetSource() *string

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

func (*PatchRequestPipeline) GetSourceOk

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

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

func (*PatchRequestPipeline) GetTag

func (o *PatchRequestPipeline) GetTag() *string

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

func (*PatchRequestPipeline) GetTagOk

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

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

func (*PatchRequestPipeline) HasDestinations

func (o *PatchRequestPipeline) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*PatchRequestPipeline) HasLabels

func (o *PatchRequestPipeline) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PatchRequestPipeline) HasProtocol

func (o *PatchRequestPipeline) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*PatchRequestPipeline) HasSource

func (o *PatchRequestPipeline) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*PatchRequestPipeline) HasTag

func (o *PatchRequestPipeline) HasTag() bool

HasTag returns a boolean if a field has been set.

func (PatchRequestPipeline) MarshalJSON

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

func (*PatchRequestPipeline) SetDestinations

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

SetDestinations sets field value

func (*PatchRequestPipeline) SetLabels

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

SetLabels sets field value

func (*PatchRequestPipeline) SetProtocol

func (o *PatchRequestPipeline) SetProtocol(v string)

SetProtocol sets field value

func (*PatchRequestPipeline) SetSource

func (o *PatchRequestPipeline) SetSource(v string)

SetSource sets field value

func (*PatchRequestPipeline) SetTag

func (o *PatchRequestPipeline) SetTag(v string)

SetTag sets field value

type PatchRequestProperties

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

PatchRequestProperties Patch pipeline properties

func NewPatchRequestProperties

func NewPatchRequestProperties() *PatchRequestProperties

NewPatchRequestProperties instantiates a new PatchRequestProperties 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 NewPatchRequestPropertiesWithDefaults

func NewPatchRequestPropertiesWithDefaults() *PatchRequestProperties

NewPatchRequestPropertiesWithDefaults instantiates a new PatchRequestProperties 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 (*PatchRequestProperties) GetLogs

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

func (*PatchRequestProperties) GetLogsOk

func (o *PatchRequestProperties) GetLogsOk() (*[]PatchRequestPipeline, bool)

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

func (*PatchRequestProperties) GetName

func (o *PatchRequestProperties) GetName() *string

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

func (*PatchRequestProperties) GetNameOk

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

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

func (*PatchRequestProperties) HasLogs

func (o *PatchRequestProperties) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*PatchRequestProperties) HasName

func (o *PatchRequestProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (PatchRequestProperties) MarshalJSON

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

func (*PatchRequestProperties) SetLogs

SetLogs sets field value

func (*PatchRequestProperties) SetName

func (o *PatchRequestProperties) SetName(v string)

SetName sets field value

type Pipeline

type Pipeline struct {
	// The unique ID of the resource.
	Id         *string             `json:"id,omitempty"`
	Type       *string             `json:"type,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 the value is explicit nil, the zero value for string will be returned

func (*Pipeline) GetIdOk

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

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

func (*Pipeline) GetMetadata

func (o *Pipeline) GetMetadata() *Metadata

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

func (*Pipeline) GetMetadataOk

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

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

func (*Pipeline) GetProperties

func (o *Pipeline) GetProperties() *PipelineProperties

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

func (*Pipeline) GetPropertiesOk

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

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

func (*Pipeline) GetType

func (o *Pipeline) GetType() *string

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

func (*Pipeline) GetTypeOk

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

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

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

func (o *Pipeline) HasType() bool

HasType returns a boolean if a field has been set.

func (Pipeline) MarshalJSON

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

func (*Pipeline) SetId

func (o *Pipeline) SetId(v string)

SetId sets field value

func (*Pipeline) SetMetadata

func (o *Pipeline) SetMetadata(v Metadata)

SetMetadata sets field value

func (*Pipeline) SetProperties

func (o *Pipeline) SetProperties(v PipelineProperties)

SetProperties sets field value

func (*Pipeline) SetType

func (o *Pipeline) SetType(v string)

SetType sets field value

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 the value is explicit nil, the zero value for string will be returned

func (*PipelineListResponse) GetIdOk

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

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

func (*PipelineListResponse) GetItems

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

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

func (*PipelineListResponse) GetItemsOk

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

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

func (*PipelineListResponse) GetType

func (o *PipelineListResponse) GetType() *string

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

func (*PipelineListResponse) GetTypeOk

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

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

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

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

func (*PipelineListResponse) SetId

func (o *PipelineListResponse) SetId(v string)

SetId sets field value

func (*PipelineListResponse) SetItems

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

SetItems sets field value

func (*PipelineListResponse) SetType

func (o *PipelineListResponse) SetType(v string)

SetType sets field value

type PipelineProperties

type PipelineProperties struct {
	// The friendly name of your pipeline.
	Name *string `json:"name,omitempty"`
	// The information of the log aggregator
	Logs *[]ResponsePipeline `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 the value is explicit nil, the zero value for string will be returned

func (*PipelineProperties) GetGrafanaAddressOk

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

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

func (*PipelineProperties) GetHttpAddress

func (o *PipelineProperties) GetHttpAddress() *string

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

func (*PipelineProperties) GetHttpAddressOk

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

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

func (*PipelineProperties) GetLogs

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

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

func (*PipelineProperties) GetLogsOk

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

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

func (*PipelineProperties) GetName

func (o *PipelineProperties) GetName() *string

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

func (*PipelineProperties) GetNameOk

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

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

func (*PipelineProperties) GetTcpAddress

func (o *PipelineProperties) GetTcpAddress() *string

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

func (*PipelineProperties) GetTcpAddressOk

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

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

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

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

func (*PipelineProperties) SetGrafanaAddress

func (o *PipelineProperties) SetGrafanaAddress(v string)

SetGrafanaAddress sets field value

func (*PipelineProperties) SetHttpAddress

func (o *PipelineProperties) SetHttpAddress(v string)

SetHttpAddress sets field value

func (*PipelineProperties) SetLogs

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

SetLogs sets field value

func (*PipelineProperties) SetName

func (o *PipelineProperties) SetName(v string)

SetName sets field value

func (*PipelineProperties) SetTcpAddress

func (o *PipelineProperties) SetTcpAddress(v string)

SetTcpAddress sets field value

type PipelinesApiService

type PipelinesApiService service

PipelinesApiService PipelinesApi service

func (*PipelinesApiService) PipelineKey

func (a *PipelinesApiService) PipelineKey(ctx _context.Context, pipelineId string) ApiPipelineKeyRequest

* PipelineKey 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 ApiPipelineKeyRequest

func (*PipelinesApiService) PipelineKeyExecute

* Execute executes the request * @return InlineResponse200

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 Pipeline

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

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 the value is explicit nil, the zero value for []Destination will be returned

func (*Processor) GetDestinationsOk

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

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

func (*Processor) GetLabels

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

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

func (*Processor) GetLabelsOk

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

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

func (*Processor) GetProtocol

func (o *Processor) GetProtocol() *string

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

func (*Processor) GetProtocolOk

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

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

func (*Processor) GetSource

func (o *Processor) GetSource() *string

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

func (*Processor) GetSourceOk

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

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

func (*Processor) GetTag

func (o *Processor) GetTag() *string

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

func (*Processor) GetTagOk

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

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

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

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

func (*Processor) SetDestinations

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

SetDestinations sets field value

func (*Processor) SetLabels

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

SetLabels sets field value

func (*Processor) SetProtocol

func (o *Processor) SetProtocol(v string)

SetProtocol sets field value

func (*Processor) SetSource

func (o *Processor) SetSource(v string)

SetSource sets field value

func (*Processor) SetTag

func (o *Processor) SetTag(v string)

SetTag sets field value

type ResponsePipeline

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

ResponsePipeline struct for ResponsePipeline

func NewResponsePipeline

func NewResponsePipeline() *ResponsePipeline

NewResponsePipeline instantiates a new ResponsePipeline 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 NewResponsePipelineWithDefaults

func NewResponsePipelineWithDefaults() *ResponsePipeline

NewResponsePipelineWithDefaults instantiates a new ResponsePipeline 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 (*ResponsePipeline) GetDestinations

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

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

func (*ResponsePipeline) GetDestinationsOk

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

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

func (*ResponsePipeline) GetLabels

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

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

func (*ResponsePipeline) GetLabelsOk

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

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

func (*ResponsePipeline) GetProtocol

func (o *ResponsePipeline) GetProtocol() *string

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

func (*ResponsePipeline) GetProtocolOk

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

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

func (*ResponsePipeline) GetPublic

func (o *ResponsePipeline) GetPublic() *bool

GetPublic returns the Public field value If the value is explicit nil, the zero value for bool will be returned

func (*ResponsePipeline) GetPublicOk

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

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

func (*ResponsePipeline) GetSource

func (o *ResponsePipeline) GetSource() *string

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

func (*ResponsePipeline) GetSourceOk

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

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

func (*ResponsePipeline) GetTag

func (o *ResponsePipeline) GetTag() *string

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

func (*ResponsePipeline) GetTagOk

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

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

func (*ResponsePipeline) HasDestinations

func (o *ResponsePipeline) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*ResponsePipeline) HasLabels

func (o *ResponsePipeline) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ResponsePipeline) HasProtocol

func (o *ResponsePipeline) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*ResponsePipeline) HasPublic

func (o *ResponsePipeline) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*ResponsePipeline) HasSource

func (o *ResponsePipeline) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*ResponsePipeline) HasTag

func (o *ResponsePipeline) HasTag() bool

HasTag returns a boolean if a field has been set.

func (ResponsePipeline) MarshalJSON

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

func (*ResponsePipeline) SetDestinations

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

SetDestinations sets field value

func (*ResponsePipeline) SetLabels

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

SetLabels sets field value

func (*ResponsePipeline) SetProtocol

func (o *ResponsePipeline) SetProtocol(v string)

SetProtocol sets field value

func (*ResponsePipeline) SetPublic

func (o *ResponsePipeline) SetPublic(v bool)

SetPublic sets field value

func (*ResponsePipeline) SetSource

func (o *ResponsePipeline) SetSource(v string)

SetSource sets field value

func (*ResponsePipeline) SetTag

func (o *ResponsePipeline) SetTag(v string)

SetTag sets field value

type ResponsePipelineAllOf

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

ResponsePipelineAllOf struct for ResponsePipelineAllOf

func NewResponsePipelineAllOf

func NewResponsePipelineAllOf() *ResponsePipelineAllOf

NewResponsePipelineAllOf instantiates a new ResponsePipelineAllOf 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 NewResponsePipelineAllOfWithDefaults

func NewResponsePipelineAllOfWithDefaults() *ResponsePipelineAllOf

NewResponsePipelineAllOfWithDefaults instantiates a new ResponsePipelineAllOf 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 (*ResponsePipelineAllOf) GetPublic

func (o *ResponsePipelineAllOf) GetPublic() *bool

GetPublic returns the Public field value If the value is explicit nil, the zero value for bool will be returned

func (*ResponsePipelineAllOf) GetPublicOk

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

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

func (*ResponsePipelineAllOf) HasPublic

func (o *ResponsePipelineAllOf) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (ResponsePipelineAllOf) MarshalJSON

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

func (*ResponsePipelineAllOf) SetPublic

func (o *ResponsePipelineAllOf) SetPublic(v bool)

SetPublic sets field value

type ResponsePipelineAllOf1

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

ResponsePipelineAllOf1 struct for ResponsePipelineAllOf1

func NewResponsePipelineAllOf1

func NewResponsePipelineAllOf1() *ResponsePipelineAllOf1

NewResponsePipelineAllOf1 instantiates a new ResponsePipelineAllOf1 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 NewResponsePipelineAllOf1WithDefaults

func NewResponsePipelineAllOf1WithDefaults() *ResponsePipelineAllOf1

NewResponsePipelineAllOf1WithDefaults instantiates a new ResponsePipelineAllOf1 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 (*ResponsePipelineAllOf1) GetDestinations

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

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

func (*ResponsePipelineAllOf1) GetDestinationsOk

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

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

func (*ResponsePipelineAllOf1) HasDestinations

func (o *ResponsePipelineAllOf1) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (ResponsePipelineAllOf1) MarshalJSON

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

func (*ResponsePipelineAllOf1) SetDestinations

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

SetDestinations sets field value

type TLSDial

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

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

Jump to

Keyboard shortcuts

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