logcomapi

package module
v1.2.24 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 23 Imported by: 1

README

Go API client for LogCom

LogCom client and Swagger documentation

Overview

The API documentation can be found here

Installation

go get -v github.com/DRK-Blutspende-BaWueHe/logcom-api

Usage

Init the client

The client initializes itself by default, only the LOG_COM_URL environment variable must be set.

For fine-grained usage, call the logcom.Init function.

logcom.Init(logcom.Configuration{
    ServiceName: "Your Service (Project) Name",
    LogComURL:   "http://the.logcom.url",
    HeaderProvider: func (ctx context.Context) http.Header {
        if ginCtx, ok := ctx.(*gin.Context); ok {
            return ginCtx.Request.Header
        }
        return http.Header{}
    })
Service-to-Service authorization

For using service-to-service authorization a specific interface has been provided. The API is not intended to be aware of any authentication provider, so the interface must be implemented and set to obtain the necessary client credentials.

type ClientCredentialProvider interface {
    GetClientCredential() (string, error)
}

It is also possible to pass a simple string token (just like it is used for user context aware authorization), when the interface is not getting implemented.

Call when using the interface
UseService2ServiceAuthorization()
Call when using the simple string Bearer JWT token
WithBearerAuthorization(bearerToken string)
Console logging
One-shot sending

Functions to use:

  • For simple message: SendConsoleLog(ctx context.Context, logLevel Level, message string)

    • ctx: The context which contains the Authorization key and its value
    • logLevel: The console log level (Trace=-1, Debug=0, Info=1, Warning=2, Error=3, Fatal=4, Panic=5)
    • message: The console log message

    Example:

    SendConsoleLog(ctx, zerolog.ErrorLevel, "Something went wrong")
    
  • For more customized message: SendConsoleLogWithModel(ctx context.Context, model logcomapi.CreateConsoleLogRequestDto)

    • ctx: The context which contains the Authorization key and its value
    • model: The data model

    Example:

    SendConsoleLogWithModel(ctx, logcomapi.CreateConsoleLogRequestDto{
        CreatedAt:     nil,
        CreatedById:   nil,
        CreatedByName: "",
        Level:         0,
        Message:       "",
        Service:       "",
    })
    
Builder based

Function to use: logcom.Log()

Example:

err := logcom.Log().
	Level(logcom.DebugLevel).
	Message("Debug log")
    WithContext(ctx).
    Send()
Audit logging
Creation - OneShot sending

Function to use: SendAuditLogWithCreation(ctx context.Context, subject, subjectName string, newValue interface{})

  • ctx: The context which contains the Authorization key and its value
  • subject: The created subject
  • subjectName: The unique identifier or name of the subject
  • newValue: The created object. Nullable. Use nil when the created object data is not important

Example:

err := logcom.SendAuditLogWithCreation(ctx, "MATERIAL", "ANTIG", newMaterialDTO)

The translated result on Bloodlab-UI:

ANTIG material was created successfully
Creation - Builder based

Functions to use:

  • logcom.Audit().Create(subject, subjectName string, newValue interface{})
  • logcom.AuditCreation(subject, subjectName string, newValue interface{})

Example:

err := logcom.AuditCreation("MATERIAL", "ANTIG", newMaterialDTO).
    WithContext(ctx).
    OnComplete(func(err error) {
        if err != nil {
            _ = txConn.Rollback()
        }
    }).
    Send()

The translated result on Bloodlab-UI:

ANTIG material was created successfully
Creation - Batched

Function to use: logcom.Audit().BatchCreate(subject string)

Example:

auditBatch := logcom.Audit().
	BatchCreate("ORDER")
for _, order := range orders {
    auditBatch.CreateItem(order.ID, order)	
}
err := auditBatch.WithContext(ctx).
    Send()
Modification - OneShot sending

Function to use: SendAuditLogWithModification(ctx context.Context, subject, subjectName string, oldValue, newValue interface{})

  • ctx: The context which contains the Authorization key and its value
  • subject: The modified subject
  • subjectName: The unique identifier or name of the subject
  • oldValue: The original object
  • newValue: The modified object

Example:

err := logcom.SendAuditLogWithModification(ctx, "MATERIAL", "ANTIG", originalMaterialDTO, updatedMaterialDTO)

The translated result in Bloodlab-UI:

  • When has only 1 change

    ANTIG material name was modified successfully from "ANTIG Material" to "Anti-G material"
    
  • When has more than 1 changes

    3 properties of ANTIG material were modified successfully
    
    Material code was modified successfully from "ANTIG" to "ANTI-G"
    Material enabled state was modified successfully from "false" to "true"
    Material name was modified successfully from "ANTIG Material" to "Anti-G material"
    
Modification - Builder based

Functions to use for builder initialization:

  1. logcom.Audit().Modify(subject, subjectName string, oldValue, newValue interface{})
  2. logcom.AuditModification(subject, subjectName string, oldValue, newValue interface{})

Example:

err := logcom.AuditModification("MATERIAL", "ANTIG", originalMaterialDTO, updatedMaterialDTO).
    WithContext(ctx).
    IgnoreChangeOf("modifiedBy", "modifiedAt").
    OnComplete(func (err error) {
        if err != nil {
            _ = txConn.Rollback()
        }
    }).
    Send()

The translated result in Bloodlab-UI:

  • When has only 1 change

    ANTIG material name was modified successfully from "ANTIG Material" to "Anti-G material"
    
  • When has more than 1 changes

    3 properties of ANTIG material were modified successfully
    
    Material code was modified successfully from "ANTIG" to "ANTI-G"
    Material enabled state was modified successfully from "false" to "true"
    Material name was modified successfully from "ANTIG Material" to "Anti-G material"
    
Modification - Batched

Function to use: logcom.Audit().BatchModify(subject string)

Example:

err := logcom.Audit().
    BatchModify("ORDER").
    CreateItem(newOrder.ID, newOrder).
    DeleteItem(deletedOrder.ID, deletedOrder).
    WithContext(ctx).
    Send()
Modification - Grouped

Consider the case of order modification which has basic information and samples with material. They are represented as separate objects at the end, but still they have to be audit-logged as one change.

Function to use: SendAuditLogGroup(ctx context.Context, auditLogCollector *AuditLogCollector)

  • ctx: The context which contains the Authorization key and its value
  • auditLogCollector: The collection which contains the individual changes belonging to the modified subject

Example:

err := logcom.SendAuditLogGroup(ctx, &auditLogCollector)
Deletion - OneShot sending

Function to use: SendAuditLogWithDeletion(ctx context.Context, subject, subjectName string, oldValue interface{})

  • ctx: The context which contains the Authorization key and its value
  • subject: The deleted subject
  • subjectName: The unique identifier or name of the subject
  • oldValue: The deleted object. Nullable. Use nil when the deleted object data is not important

Example:

err := logcom.SendAuditLogWithDeletion(ctx, "MATERIAL", "ANTIG", deletedMaterialDTO)

The translated result on Bloodlab-UI:

ANTIG material was removed successfully
Deletion - Builder based

Functions to use for builder initialization:

  1. logcom.Audit().Delete(subject, subjectName string, oldValue)
  2. logcom.AuditDeletion(subject, subjectName string, oldValue interface{})

Example:

err := logcom.AuditDeletion("MATERIAL", "ANTIG", deletedMaterialDTO).
    WithContext(ctx).
    OnComplete(func(err error) {
        if err != nil {
            _ = txConn.Rollback()
        }
    }).
    Send()

The translated result on Bloodlab-UI:

ANTIG material was removed successfully
Deletion - Batched

Function to use: logcom.Audit().BatchDelete(subject string)

Example:

auditBatch := logcom.Audit().
	BatchDelete("ORDER")
for _, order := range orders {
    auditBatch.DeleteItem(order.ID, order)	
}
err := auditBatch.WithContext(ctx).
    Send()
Notification
OneShot sending

Function to use: SendNotification(ctx context.Context, eventCategory string, message string, targets map[string][]string)

  • ctx: The context which contains the Authorization key and its value
  • eventCategory: The category of the event (e.g. NOTIFICATION)
  • message: The notification message
  • targets: The desired range of users / roles / sessions to whom the notification should be sent (Key: ROLE, SESSION, USER; Value: list of targets)

Example:

err := logcom.SendNotification(ctx, "NOTIFICATION", "This is a notification for doctors", map[string][]string{"ROLE": {"doctor"}})
Builder based

Function to use: logcom.Notify()

Example:

err := logcom.Notify().
    Roles("doctor", "admin").
    Message("Test notification").
    WithContext(ctx).
    Send()

Builder Usage

Steps
  1. Initialization

    • logcom.Audit()
    • logcom.AuditCreation(subject, subjectName string, newValue interface{})
    • logcom.AuditModification(subject, subjectName string, oldValue, newValue interface{})
    • logcom.AuditDeletion(subject, subjectName string, oldValue interface{})
    • logcom.Notify()
    • logcom.Log()
  2. Initialization sub-actions

    1. Console Log
      • Level(level Level)
      • Message(message string)
      • MessageF(format string, params ...any)
    2. Audit Log
      • Create(subject, subjectName string, newValue interface{})
      • Modify(subject, subjectName string, oldValue, newValue interface{})
      • Delete(subject, subjectName string, oldValue interface{})
      • BatchCreate(subject string)
        • CreateItem(subjectName string, newValue interface{})
      • BatchModify(subject string)
        • CreateItem(subjectName string, newValue interface{})
        • ModifyItem(subjectName string, oldValue, newValue interface{})
        • DeleteItem(subjectName string, oldValue interface{})
      • BatchDelete(subject string)
        • DeleteItem(subjectName string, oldValue interface{})
      • GroupedModify(subject, subjectName string)
        • AddCreation(subject, subjectName string, newValue interface{})
        • AddModification(subject, subjectName string, oldValue, newValue interface{})
        • AddDeletion(subject, subjectName string, oldValue interface{})
    3. Notification
      • Message(message string)
      • Roles(targets ...string)
      • Sessions(targets ...string)
      • Users(targets ...string)
  3. Configuration

    • UseService2ServiceAuthorization()
    • WithBearerAuthorization(bearerToken string)
    • WithContext(ctx context.Context)
    • WithTransactionID(transactionID uuid.UUID)
  4. Action

    1. Console Log
      • OnComplete(onCompleteCallback func(error))
      • Send()
    2. Audit Log
      • IgnoreChangeOf(propertyNames ...string)
      • AndNotify()
      • AndLog(logLevel zerolog.Level, message string)
      • OnComplete(onCompleteCallback func(error))
      • Send()
    3. Notification
      • AndLog(logLevel zerolog.Level, message string)
      • OnComplete(onCompleteCallback func(error))
      • Send()
Function descriptions

AddCreation(subject, subjectName string, newValue interface{})

  • Adds a creation change to the grouped audit log
  • subject: The created subject
  • subjectName: The unique identifier or name of the subject
  • newValue: The created object. Nullable. Use nil when the created object data is not important

AddDeletion(subject, subjectName string, oldValue interface{})

  • Adds a deletion change to the grouped audit log
  • subject: The deleted subject
  • subjectName: The unique identifier or name of the subject
  • oldValue: The deleted object. Nullable. Use nil when the deleted object data is not important

AddModification(subject, subjectName string, oldValue, newValue interface{})

  • Adds a modification change to the grouped audit log
  • subject: The modified subject
  • subjectName: The unique identifier or name of the subject
  • oldValue: The original object
  • newValue: The modified object

AndNotify()

  • Initializes a Notification sub-action as part of the audit log

AndLog(logLevel zerolog.Level, message string)

  • Sets a Console Log action as part of the audit log and / or notification
  • logLevel: The console log level
  • message: The console log message

Audit()

  • Initializes an audit log builder

AuditCreation(subject, subjectName string, newValue interface{})

  • Initializes an audit log creation builder
  • subject: The created subject
  • subjectName: The unique identifier or name of the subject
  • newValue: The created object. Nullable. Use nil when the created object data is not important

AuditDeletion(subject, subjectName string, oldValue interface{})

  • Initializes an audit log deletion builder
  • subject: The deleted subject
  • subjectName: The unique identifier or name of the subject
  • oldValue: The deleted object. Nullable. Use nil when the deleted object data is not important

AuditModification(subject, subjectName string, oldValue, newValue interface{})

  • Initializes an audit log modification builder
  • subject: The modified subject
  • subjectName: The unique identifier or name of the subject
  • oldValue: The original object
  • newValue: The modified object

BatchCreate(subject string)

  • Specifies the audit log operation (as batched creation)
  • subject: The main subject of the created items

BatchDelete(subject string)

  • Specifies the audit log operation (as batched deletion)
  • subject: The main subject of the deleted items

BatchModify(subject string)

  • Specifies the audit log operation (as batched modification)
  • subject: The main subject of the modified items

Create(subject, subjectName string, newValue interface{})

  • Specifies the audit log operation (as creation)
  • subject: The created subject
  • subjectName: The unique identifier or name of the subject
  • newValue: The created object. Nullable. Use nil when the created object data is not important

CreateItem(subjectName string, newValue interface{})

  • Adds a new creation audit log to the initialized batch
  • subjectName: The unique identifier or name of the subject
  • newValue: The created object. Nullable. Use nil when the created object data is not important

Delete(subject, subjectName string, oldValue interface{})

  • Specifies the audit log operation (as deletion)
  • subject: The deleted subject
  • subjectName: The unique identifier or name of the subject
  • oldValue: The deleted object. Nullable. Use nil when the deleted object data is not important

DeleteItem(subjectName string, oldValue interface{})

  • Adds a new deletion audit log to the initialized batch
  • subjectName: The unique identifier or name of the subject
  • newValue: The deleted object. Nullable. Use nil when the deleted object data is not important

GroupedModify(subject, subjectName string)

  • Groups individual changes (e.g. added / modified / deleted a related subject) belonging to the modified subject
  • subject: The modified subject
  • subjectName: The unique identifier or name of the subject

IgnoreChangeOf(propertyNames ...string)

  • Sets ignored properties of a subject for the modification operation
  • propertyNames: The ignored property names which are not considered as changes

Level(logLevel Level)

  • Sets the log level of the console log
  • logLevel: The console log level (Trace=-1, Debug=0, Info=1, Warning=2, Error=3, Fatal=4, Panic=5)

Log()

  • Initializes a console log builder

Message(message string)

  • Sets the message of the console log or notification
  • message: The console log or notification message

MessageF(format string, params ...any)

  • Sets the formatted message of the console log
  • format: The formatted message
  • params: The message parameters

Modify(subject, subjectName string, oldValue, newValue interface{})

  • Specifies the audit log operation (as modification)
  • subject: The modified subject
  • subjectName: The unique identifier or name of the subject
  • oldValue: The original object
  • newValue: The modified object

ModifyItem(subjectName string, oldValue, newValue interface{})

  • Adds a new modification audit log to the initialized batch
  • subjectName: The unique identifier or name of the subject
  • newValue: The modified object. Nullable. Use nil when the modified object data is not important

Notify()

  • Initializes a notification builder

OnComplete(onCompleteCallback func(error))

  • Sets a callback function for handling errors (e.g. rolling back the transaction)
  • onCompleteCallback: The callback function

Roles(targets ...string)

  • Specifies the notification targets (as roles)
  • targets: List of roles

Send()

  • Sends the audit log and / or notification

Sessions(targets ...string)

  • Specifies the notification targets (as sessions)
  • targets: List of sessions

Users(targets ...string)

  • Specifies the notification targets (as users)
  • targets: List of users (ID, username, other unique identifier)

UseService2ServiceAuthorization()

  • Uses the client credentials provided by the calling service

WithBearerAuthorization(bearerToken string)

  • Sets the bearer JWT token for the request
  • bearerToken: The bearer token

WithContext(ctx context.Context)

  • Sets the context for the request
  • ctx: The context which contains the Authorization key and its value

WithTransactionID(transactionID uuid.UUID)

  • Sets the transaction ID for the request
  • transactionID: The transaction ID

Author

laborit@blutspende.de

Disclaimer

By making use of any information, content and source code in this repository, You agree to the following:

NO WARRANTIES

All the information, content and source code provided in this repository is provided "AS-IS" and with NO WARRANTIES.

DISCLAIMER OF LIABILITY

DRK Blutspendedienst BaWü u. Hessen gGmbH specifically DISCLAIMS LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES and assumes no responsibility or liability for any loss or damage suffered by any person as a result of the use or misuse of any of the information, content or source code in this repository.

DRK Blutspendedienst BaWü u. Hessen gGmbH assumes or undertakes NO LIABILITY for any loss or damage suffered as a result of the use, misuse or reliance on the information, content and source code in this repository.

USE AT YOUR OWN RISK

This repository is for DRK Blutspendedienst BaWü u. Hessen gGmbH only.

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedLogLevelEnumValues = []LogLevel{
	0,
	1,
	2,
	3,
	4,
	5,
	-1,
}

All allowed values of LogLevel enum

View Source
var AllowedNotificationEventCategoryEnumValues = []NotificationEventCategory{
	"NOTIFICATION",
}

All allowed values of NotificationEventCategory enum

View Source
var AllowedNotificationStatusEnumValues = []NotificationStatus{
	"ERROR",
	"NEW",
	"SEEN",
	"SENT",
}

All allowed values of NotificationStatus enum

View Source
var AllowedSortDirectionEnumValues = []SortDirection{
	"asc",
	"desc",
	"",
}

All allowed values of SortDirection enum

Functions

func CacheExpires

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

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

func PtrBool added in v1.2.8

func PtrBool(v bool) *bool

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

func PtrFloat32 added in v1.2.8

func PtrFloat32(v float32) *float32

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

func PtrFloat64 added in v1.2.8

func PtrFloat64(v float64) *float64

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

func PtrInt added in v1.2.8

func PtrInt(v int) *int

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

func PtrInt32 added in v1.2.8

func PtrInt32(v int32) *int32

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

func PtrInt64 added in v1.2.8

func PtrInt64(v int64) *int64

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

func PtrString added in v1.2.8

func PtrString(v string) *string

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

func PtrTime added in v1.2.8

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

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

Types

type APIClient

type APIClient struct {
	AuditLogApi *AuditLogApiService

	ConsoleLogApi *ConsoleLogApiService

	HealthApi *HealthApiService

	NotificationApi *NotificationApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the LogCom API API v1.2.24 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig added in v1.2.8

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiCreateAuditLogV1IntRequest added in v1.2.8

type ApiCreateAuditLogV1IntRequest struct {
	ApiService *AuditLogApiService
	// contains filtered or unexported fields
}

func (ApiCreateAuditLogV1IntRequest) Execute added in v1.2.8

func (ApiCreateAuditLogV1IntRequest) Model added in v1.2.8

The audit log DTO

type ApiCreateConsoleLogV1IntRequest added in v1.2.8

type ApiCreateConsoleLogV1IntRequest struct {
	ApiService *ConsoleLogApiService
	// contains filtered or unexported fields
}

func (ApiCreateConsoleLogV1IntRequest) Execute added in v1.2.8

func (ApiCreateConsoleLogV1IntRequest) Model added in v1.2.8

The console log DTO

type ApiCreateNotificationV1Request added in v1.2.8

type ApiCreateNotificationV1Request struct {
	ApiService *NotificationApiService
	// contains filtered or unexported fields
}

func (ApiCreateNotificationV1Request) Execute added in v1.2.8

func (ApiCreateNotificationV1Request) Model added in v1.2.8

The notification DTO

type ApiGetAuditLogByIDV1Request added in v1.2.23

type ApiGetAuditLogByIDV1Request struct {
	ApiService *AuditLogApiService
	// contains filtered or unexported fields
}

func (ApiGetAuditLogByIDV1Request) Execute added in v1.2.23

type ApiGetAuditLogsV1Request added in v1.2.8

type ApiGetAuditLogsV1Request struct {
	ApiService *AuditLogApiService
	// contains filtered or unexported fields
}

func (ApiGetAuditLogsV1Request) Direction added in v1.2.15

The sorting direction

func (ApiGetAuditLogsV1Request) Execute added in v1.2.8

func (ApiGetAuditLogsV1Request) Filter added in v1.2.8

The search term

func (ApiGetAuditLogsV1Request) Page added in v1.2.8

The desired page number

func (ApiGetAuditLogsV1Request) PageSize added in v1.2.8

The desired number of items per page

func (ApiGetAuditLogsV1Request) Sort added in v1.2.8

The sorting parameter

type ApiGetConsoleLogsV1Request added in v1.2.8

type ApiGetConsoleLogsV1Request struct {
	ApiService *ConsoleLogApiService
	// contains filtered or unexported fields
}

func (ApiGetConsoleLogsV1Request) Direction added in v1.2.15

The sorting direction

func (ApiGetConsoleLogsV1Request) Execute added in v1.2.8

func (ApiGetConsoleLogsV1Request) Filter added in v1.2.8

The search term

func (ApiGetConsoleLogsV1Request) Page added in v1.2.8

The desired page number

func (ApiGetConsoleLogsV1Request) PageSize added in v1.2.8

The desired number of items per page

func (ApiGetConsoleLogsV1Request) Sort added in v1.2.8

The sorting parameter

type ApiGetHealthV1Request added in v1.2.8

type ApiGetHealthV1Request struct {
	ApiService *HealthApiService
	// contains filtered or unexported fields
}

func (ApiGetHealthV1Request) Execute added in v1.2.8

type ApiGetNotificationMessagesV1Request added in v1.2.8

type ApiGetNotificationMessagesV1Request struct {
	ApiService *NotificationApiService
	// contains filtered or unexported fields
}

func (ApiGetNotificationMessagesV1Request) Direction added in v1.2.15

The sorting direction

func (ApiGetNotificationMessagesV1Request) Execute added in v1.2.8

func (ApiGetNotificationMessagesV1Request) Filter added in v1.2.8

The search term

func (ApiGetNotificationMessagesV1Request) Page added in v1.2.8

The desired page number

func (ApiGetNotificationMessagesV1Request) PageSize added in v1.2.8

The desired number of items per page

func (ApiGetNotificationMessagesV1Request) Sort added in v1.2.8

The sorting parameter

type ApiPeekNotificationMessagesV1Request added in v1.2.8

type ApiPeekNotificationMessagesV1Request struct {
	ApiService *NotificationApiService
	// contains filtered or unexported fields
}

func (ApiPeekNotificationMessagesV1Request) Execute added in v1.2.8

type ApiUpdateNotificationMessageV1Request added in v1.2.8

type ApiUpdateNotificationMessageV1Request struct {
	ApiService *NotificationApiService
	// contains filtered or unexported fields
}

func (ApiUpdateNotificationMessageV1Request) Execute added in v1.2.8

func (ApiUpdateNotificationMessageV1Request) Model added in v1.2.8

The updated notification DTO

type AuditLogApiService

type AuditLogApiService service

AuditLogApiService AuditLogApi service

func (*AuditLogApiService) CreateAuditLogV1Int

CreateAuditLogV1Int Create audit log

Creates a new audit log

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

func (*AuditLogApiService) CreateAuditLogV1IntExecute added in v1.2.8

func (a *AuditLogApiService) CreateAuditLogV1IntExecute(r ApiCreateAuditLogV1IntRequest) (*http.Response, error)

Execute executes the request

func (*AuditLogApiService) GetAuditLogByIDV1 added in v1.2.23

GetAuditLogByIDV1 Get audit log by ID

Gets an audit log by ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id audit log ID
@return ApiGetAuditLogByIDV1Request

func (*AuditLogApiService) GetAuditLogByIDV1Execute added in v1.2.23

func (a *AuditLogApiService) GetAuditLogByIDV1Execute(r ApiGetAuditLogByIDV1Request) (*AuditLogDTO, *http.Response, error)

Execute executes the request

@return AuditLogDTO

func (*AuditLogApiService) GetAuditLogsV1

GetAuditLogsV1 Get audit logs

Gets all audit log

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

func (*AuditLogApiService) GetAuditLogsV1Execute added in v1.2.8

Execute executes the request

@return AuditLogListPageResponse

type AuditLogChangeDTO added in v1.2.8

type AuditLogChangeDTO struct {
	// The category of the change
	Category *string `json:"category,omitempty"`
	// The ID
	Id *uuid.UUID `json:"id,omitempty"`
	// The message
	Message *string `json:"message,omitempty"`
	// The new value
	NewValue *string `json:"newValue,omitempty"`
	// The old value
	OldValue *string `json:"oldValue,omitempty"`
	// The short description of the change
	Subject *string `json:"subject,omitempty"`
	// The name of the subject
	SubjectName *string `json:"subjectName,omitempty"`
	// The property name of the subject
	SubjectPropertyName *string `json:"subjectPropertyName,omitempty"`
}

AuditLogChangeDTO struct for AuditLogChangeDTO

func NewAuditLogChangeDTO added in v1.2.8

func NewAuditLogChangeDTO() *AuditLogChangeDTO

NewAuditLogChangeDTO instantiates a new AuditLogChangeDTO 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 NewAuditLogChangeDTOWithDefaults added in v1.2.8

func NewAuditLogChangeDTOWithDefaults() *AuditLogChangeDTO

NewAuditLogChangeDTOWithDefaults instantiates a new AuditLogChangeDTO 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 (*AuditLogChangeDTO) GetCategory added in v1.2.8

func (o *AuditLogChangeDTO) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*AuditLogChangeDTO) GetCategoryOk added in v1.2.8

func (o *AuditLogChangeDTO) GetCategoryOk() (*string, bool)

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

func (*AuditLogChangeDTO) GetId added in v1.2.8

func (o *AuditLogChangeDTO) GetId() uuid.UUID

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

func (*AuditLogChangeDTO) GetIdOk added in v1.2.8

func (o *AuditLogChangeDTO) GetIdOk() (*uuid.UUID, 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 (*AuditLogChangeDTO) GetMessage added in v1.2.8

func (o *AuditLogChangeDTO) GetMessage() string

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

func (*AuditLogChangeDTO) GetMessageOk added in v1.2.8

func (o *AuditLogChangeDTO) 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 (*AuditLogChangeDTO) GetNewValue added in v1.2.8

func (o *AuditLogChangeDTO) GetNewValue() string

GetNewValue returns the NewValue field value if set, zero value otherwise.

func (*AuditLogChangeDTO) GetNewValueOk added in v1.2.8

func (o *AuditLogChangeDTO) GetNewValueOk() (*string, bool)

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

func (*AuditLogChangeDTO) GetOldValue added in v1.2.8

func (o *AuditLogChangeDTO) GetOldValue() string

GetOldValue returns the OldValue field value if set, zero value otherwise.

func (*AuditLogChangeDTO) GetOldValueOk added in v1.2.8

func (o *AuditLogChangeDTO) GetOldValueOk() (*string, bool)

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

func (*AuditLogChangeDTO) GetSubject added in v1.2.8

func (o *AuditLogChangeDTO) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*AuditLogChangeDTO) GetSubjectName added in v1.2.8

func (o *AuditLogChangeDTO) GetSubjectName() string

GetSubjectName returns the SubjectName field value if set, zero value otherwise.

func (*AuditLogChangeDTO) GetSubjectNameOk added in v1.2.8

func (o *AuditLogChangeDTO) GetSubjectNameOk() (*string, bool)

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

func (*AuditLogChangeDTO) GetSubjectOk added in v1.2.8

func (o *AuditLogChangeDTO) GetSubjectOk() (*string, bool)

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

func (*AuditLogChangeDTO) GetSubjectPropertyName added in v1.2.8

func (o *AuditLogChangeDTO) GetSubjectPropertyName() string

GetSubjectPropertyName returns the SubjectPropertyName field value if set, zero value otherwise.

func (*AuditLogChangeDTO) GetSubjectPropertyNameOk added in v1.2.8

func (o *AuditLogChangeDTO) GetSubjectPropertyNameOk() (*string, bool)

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

func (*AuditLogChangeDTO) HasCategory added in v1.2.8

func (o *AuditLogChangeDTO) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasId added in v1.2.8

func (o *AuditLogChangeDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasMessage added in v1.2.8

func (o *AuditLogChangeDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasNewValue added in v1.2.8

func (o *AuditLogChangeDTO) HasNewValue() bool

HasNewValue returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasOldValue added in v1.2.8

func (o *AuditLogChangeDTO) HasOldValue() bool

HasOldValue returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasSubject added in v1.2.8

func (o *AuditLogChangeDTO) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasSubjectName added in v1.2.8

func (o *AuditLogChangeDTO) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasSubjectPropertyName added in v1.2.8

func (o *AuditLogChangeDTO) HasSubjectPropertyName() bool

HasSubjectPropertyName returns a boolean if a field has been set.

func (AuditLogChangeDTO) MarshalJSON added in v1.2.8

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

func (*AuditLogChangeDTO) SetCategory added in v1.2.8

func (o *AuditLogChangeDTO) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*AuditLogChangeDTO) SetId added in v1.2.8

func (o *AuditLogChangeDTO) SetId(v uuid.UUID)

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

func (*AuditLogChangeDTO) SetMessage added in v1.2.8

func (o *AuditLogChangeDTO) SetMessage(v string)

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

func (*AuditLogChangeDTO) SetNewValue added in v1.2.8

func (o *AuditLogChangeDTO) SetNewValue(v string)

SetNewValue gets a reference to the given string and assigns it to the NewValue field.

func (*AuditLogChangeDTO) SetOldValue added in v1.2.8

func (o *AuditLogChangeDTO) SetOldValue(v string)

SetOldValue gets a reference to the given string and assigns it to the OldValue field.

func (*AuditLogChangeDTO) SetSubject added in v1.2.8

func (o *AuditLogChangeDTO) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*AuditLogChangeDTO) SetSubjectName added in v1.2.8

func (o *AuditLogChangeDTO) SetSubjectName(v string)

SetSubjectName gets a reference to the given string and assigns it to the SubjectName field.

func (*AuditLogChangeDTO) SetSubjectPropertyName added in v1.2.8

func (o *AuditLogChangeDTO) SetSubjectPropertyName(v string)

SetSubjectPropertyName gets a reference to the given string and assigns it to the SubjectPropertyName field.

type AuditLogDTO added in v1.2.8

type AuditLogDTO struct {
	// The category of the change
	Category *string `json:"category,omitempty"`
	// The creation timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The user's ID who created
	CreatedById *uuid.UUID `json:"createdById,omitempty"`
	// The user's name who created
	CreatedByName *string `json:"createdByName,omitempty"`
	// The grouped changes
	GroupedChanges []AuditLogChangeDTO `json:"groupedChanges,omitempty"`
	// The ID
	Id *uuid.UUID `json:"id,omitempty"`
	// The message
	Message *string `json:"message,omitempty"`
	// The new value
	NewValue *string `json:"newValue,omitempty"`
	// The old value
	OldValue *string `json:"oldValue,omitempty"`
	// The request ID making dependent logs trackable
	RequestId *string `json:"requestId,omitempty"`
	// The service which the change affects
	ServiceAffected *string `json:"serviceAffected,omitempty"`
	// The service which created
	ServiceCreated *string `json:"serviceCreated,omitempty"`
	// The subject of the change
	Subject *string `json:"subject,omitempty"`
	// The name of the subject
	SubjectName *string `json:"subjectName,omitempty"`
	// The property name of the subject
	SubjectPropertyName *string `json:"subjectPropertyName,omitempty"`
}

AuditLogDTO struct for AuditLogDTO

func NewAuditLogDTO added in v1.2.8

func NewAuditLogDTO() *AuditLogDTO

NewAuditLogDTO instantiates a new AuditLogDTO 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 NewAuditLogDTOWithDefaults added in v1.2.8

func NewAuditLogDTOWithDefaults() *AuditLogDTO

NewAuditLogDTOWithDefaults instantiates a new AuditLogDTO 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 (*AuditLogDTO) GetCategory added in v1.2.8

func (o *AuditLogDTO) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*AuditLogDTO) GetCategoryOk added in v1.2.8

func (o *AuditLogDTO) GetCategoryOk() (*string, bool)

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

func (*AuditLogDTO) GetCreatedAt added in v1.2.8

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AuditLogDTO) GetCreatedAtOk added in v1.2.8

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

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

func (*AuditLogDTO) GetCreatedById added in v1.2.8

func (o *AuditLogDTO) GetCreatedById() uuid.UUID

GetCreatedById returns the CreatedById field value if set, zero value otherwise.

func (*AuditLogDTO) GetCreatedByIdOk added in v1.2.8

func (o *AuditLogDTO) GetCreatedByIdOk() (*uuid.UUID, bool)

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

func (*AuditLogDTO) GetCreatedByName added in v1.2.8

func (o *AuditLogDTO) GetCreatedByName() string

GetCreatedByName returns the CreatedByName field value if set, zero value otherwise.

func (*AuditLogDTO) GetCreatedByNameOk added in v1.2.8

func (o *AuditLogDTO) GetCreatedByNameOk() (*string, bool)

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

func (*AuditLogDTO) GetGroupedChanges added in v1.2.8

func (o *AuditLogDTO) GetGroupedChanges() []AuditLogChangeDTO

GetGroupedChanges returns the GroupedChanges field value if set, zero value otherwise.

func (*AuditLogDTO) GetGroupedChangesOk added in v1.2.8

func (o *AuditLogDTO) GetGroupedChangesOk() ([]AuditLogChangeDTO, bool)

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

func (*AuditLogDTO) GetId added in v1.2.8

func (o *AuditLogDTO) GetId() uuid.UUID

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

func (*AuditLogDTO) GetIdOk added in v1.2.8

func (o *AuditLogDTO) GetIdOk() (*uuid.UUID, 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 (*AuditLogDTO) GetMessage added in v1.2.8

func (o *AuditLogDTO) GetMessage() string

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

func (*AuditLogDTO) GetMessageOk added in v1.2.8

func (o *AuditLogDTO) 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 (*AuditLogDTO) GetNewValue added in v1.2.8

func (o *AuditLogDTO) GetNewValue() string

GetNewValue returns the NewValue field value if set, zero value otherwise.

func (*AuditLogDTO) GetNewValueOk added in v1.2.8

func (o *AuditLogDTO) GetNewValueOk() (*string, bool)

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

func (*AuditLogDTO) GetOldValue added in v1.2.8

func (o *AuditLogDTO) GetOldValue() string

GetOldValue returns the OldValue field value if set, zero value otherwise.

func (*AuditLogDTO) GetOldValueOk added in v1.2.8

func (o *AuditLogDTO) GetOldValueOk() (*string, bool)

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

func (*AuditLogDTO) GetRequestId added in v1.2.8

func (o *AuditLogDTO) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*AuditLogDTO) GetRequestIdOk added in v1.2.8

func (o *AuditLogDTO) GetRequestIdOk() (*string, bool)

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

func (*AuditLogDTO) GetServiceAffected added in v1.2.8

func (o *AuditLogDTO) GetServiceAffected() string

GetServiceAffected returns the ServiceAffected field value if set, zero value otherwise.

func (*AuditLogDTO) GetServiceAffectedOk added in v1.2.8

func (o *AuditLogDTO) GetServiceAffectedOk() (*string, bool)

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

func (*AuditLogDTO) GetServiceCreated added in v1.2.8

func (o *AuditLogDTO) GetServiceCreated() string

GetServiceCreated returns the ServiceCreated field value if set, zero value otherwise.

func (*AuditLogDTO) GetServiceCreatedOk added in v1.2.8

func (o *AuditLogDTO) GetServiceCreatedOk() (*string, bool)

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

func (*AuditLogDTO) GetSubject added in v1.2.8

func (o *AuditLogDTO) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*AuditLogDTO) GetSubjectName added in v1.2.8

func (o *AuditLogDTO) GetSubjectName() string

GetSubjectName returns the SubjectName field value if set, zero value otherwise.

func (*AuditLogDTO) GetSubjectNameOk added in v1.2.8

func (o *AuditLogDTO) GetSubjectNameOk() (*string, bool)

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

func (*AuditLogDTO) GetSubjectOk added in v1.2.8

func (o *AuditLogDTO) GetSubjectOk() (*string, bool)

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

func (*AuditLogDTO) GetSubjectPropertyName added in v1.2.8

func (o *AuditLogDTO) GetSubjectPropertyName() string

GetSubjectPropertyName returns the SubjectPropertyName field value if set, zero value otherwise.

func (*AuditLogDTO) GetSubjectPropertyNameOk added in v1.2.8

func (o *AuditLogDTO) GetSubjectPropertyNameOk() (*string, bool)

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

func (*AuditLogDTO) HasCategory added in v1.2.8

func (o *AuditLogDTO) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*AuditLogDTO) HasCreatedAt added in v1.2.8

func (o *AuditLogDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AuditLogDTO) HasCreatedById added in v1.2.8

func (o *AuditLogDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*AuditLogDTO) HasCreatedByName added in v1.2.8

func (o *AuditLogDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*AuditLogDTO) HasGroupedChanges added in v1.2.8

func (o *AuditLogDTO) HasGroupedChanges() bool

HasGroupedChanges returns a boolean if a field has been set.

func (*AuditLogDTO) HasId added in v1.2.8

func (o *AuditLogDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogDTO) HasMessage added in v1.2.8

func (o *AuditLogDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AuditLogDTO) HasNewValue added in v1.2.8

func (o *AuditLogDTO) HasNewValue() bool

HasNewValue returns a boolean if a field has been set.

func (*AuditLogDTO) HasOldValue added in v1.2.8

func (o *AuditLogDTO) HasOldValue() bool

HasOldValue returns a boolean if a field has been set.

func (*AuditLogDTO) HasRequestId added in v1.2.8

func (o *AuditLogDTO) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*AuditLogDTO) HasServiceAffected added in v1.2.8

func (o *AuditLogDTO) HasServiceAffected() bool

HasServiceAffected returns a boolean if a field has been set.

func (*AuditLogDTO) HasServiceCreated added in v1.2.8

func (o *AuditLogDTO) HasServiceCreated() bool

HasServiceCreated returns a boolean if a field has been set.

func (*AuditLogDTO) HasSubject added in v1.2.8

func (o *AuditLogDTO) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*AuditLogDTO) HasSubjectName added in v1.2.8

func (o *AuditLogDTO) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*AuditLogDTO) HasSubjectPropertyName added in v1.2.8

func (o *AuditLogDTO) HasSubjectPropertyName() bool

HasSubjectPropertyName returns a boolean if a field has been set.

func (AuditLogDTO) MarshalJSON added in v1.2.8

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

func (*AuditLogDTO) SetCategory added in v1.2.8

func (o *AuditLogDTO) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*AuditLogDTO) SetCreatedAt added in v1.2.8

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AuditLogDTO) SetCreatedById added in v1.2.8

func (o *AuditLogDTO) SetCreatedById(v uuid.UUID)

SetCreatedById gets a reference to the given uuid.UUID and assigns it to the CreatedById field.

func (*AuditLogDTO) SetCreatedByName added in v1.2.8

func (o *AuditLogDTO) SetCreatedByName(v string)

SetCreatedByName gets a reference to the given string and assigns it to the CreatedByName field.

func (*AuditLogDTO) SetGroupedChanges added in v1.2.8

func (o *AuditLogDTO) SetGroupedChanges(v []AuditLogChangeDTO)

SetGroupedChanges gets a reference to the given []AuditLogChangeDTO and assigns it to the GroupedChanges field.

func (*AuditLogDTO) SetId added in v1.2.8

func (o *AuditLogDTO) SetId(v uuid.UUID)

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

func (*AuditLogDTO) SetMessage added in v1.2.8

func (o *AuditLogDTO) SetMessage(v string)

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

func (*AuditLogDTO) SetNewValue added in v1.2.8

func (o *AuditLogDTO) SetNewValue(v string)

SetNewValue gets a reference to the given string and assigns it to the NewValue field.

func (*AuditLogDTO) SetOldValue added in v1.2.8

func (o *AuditLogDTO) SetOldValue(v string)

SetOldValue gets a reference to the given string and assigns it to the OldValue field.

func (*AuditLogDTO) SetRequestId added in v1.2.8

func (o *AuditLogDTO) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*AuditLogDTO) SetServiceAffected added in v1.2.8

func (o *AuditLogDTO) SetServiceAffected(v string)

SetServiceAffected gets a reference to the given string and assigns it to the ServiceAffected field.

func (*AuditLogDTO) SetServiceCreated added in v1.2.8

func (o *AuditLogDTO) SetServiceCreated(v string)

SetServiceCreated gets a reference to the given string and assigns it to the ServiceCreated field.

func (*AuditLogDTO) SetSubject added in v1.2.8

func (o *AuditLogDTO) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*AuditLogDTO) SetSubjectName added in v1.2.8

func (o *AuditLogDTO) SetSubjectName(v string)

SetSubjectName gets a reference to the given string and assigns it to the SubjectName field.

func (*AuditLogDTO) SetSubjectPropertyName added in v1.2.8

func (o *AuditLogDTO) SetSubjectPropertyName(v string)

SetSubjectPropertyName gets a reference to the given string and assigns it to the SubjectPropertyName field.

type AuditLogListPageResponse

type AuditLogListPageResponse struct {
	// The actual page number
	CurrentPage *int32 `json:"currentPage,omitempty"`
	// The items
	Items []AuditLogSimpleDTO `json:"items,omitempty"`
	// The number of items per page
	PageSize *int32 `json:"pageSize,omitempty"`
	// The total count of items
	TotalCount *int32 `json:"totalCount,omitempty"`
	// The total pages
	TotalPages *int32 `json:"totalPages,omitempty"`
}

AuditLogListPageResponse struct for AuditLogListPageResponse

func NewAuditLogListPageResponse added in v1.2.8

func NewAuditLogListPageResponse() *AuditLogListPageResponse

NewAuditLogListPageResponse instantiates a new AuditLogListPageResponse 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 NewAuditLogListPageResponseWithDefaults added in v1.2.8

func NewAuditLogListPageResponseWithDefaults() *AuditLogListPageResponse

NewAuditLogListPageResponseWithDefaults instantiates a new AuditLogListPageResponse 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 (*AuditLogListPageResponse) GetCurrentPage added in v1.2.8

func (o *AuditLogListPageResponse) GetCurrentPage() int32

GetCurrentPage returns the CurrentPage field value if set, zero value otherwise.

func (*AuditLogListPageResponse) GetCurrentPageOk added in v1.2.8

func (o *AuditLogListPageResponse) GetCurrentPageOk() (*int32, bool)

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

func (*AuditLogListPageResponse) GetItems added in v1.2.8

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

func (*AuditLogListPageResponse) GetItemsOk added in v1.2.8

func (o *AuditLogListPageResponse) GetItemsOk() ([]AuditLogSimpleDTO, 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 (*AuditLogListPageResponse) GetPageSize added in v1.2.8

func (o *AuditLogListPageResponse) GetPageSize() int32

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*AuditLogListPageResponse) GetPageSizeOk added in v1.2.8

func (o *AuditLogListPageResponse) GetPageSizeOk() (*int32, bool)

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

func (*AuditLogListPageResponse) GetTotalCount added in v1.2.8

func (o *AuditLogListPageResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*AuditLogListPageResponse) GetTotalCountOk added in v1.2.8

func (o *AuditLogListPageResponse) GetTotalCountOk() (*int32, bool)

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

func (*AuditLogListPageResponse) GetTotalPages added in v1.2.8

func (o *AuditLogListPageResponse) GetTotalPages() int32

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*AuditLogListPageResponse) GetTotalPagesOk added in v1.2.8

func (o *AuditLogListPageResponse) GetTotalPagesOk() (*int32, bool)

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

func (*AuditLogListPageResponse) HasCurrentPage added in v1.2.8

func (o *AuditLogListPageResponse) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

func (*AuditLogListPageResponse) HasItems added in v1.2.8

func (o *AuditLogListPageResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*AuditLogListPageResponse) HasPageSize added in v1.2.8

func (o *AuditLogListPageResponse) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*AuditLogListPageResponse) HasTotalCount added in v1.2.8

func (o *AuditLogListPageResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*AuditLogListPageResponse) HasTotalPages added in v1.2.8

func (o *AuditLogListPageResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (AuditLogListPageResponse) MarshalJSON added in v1.2.8

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

func (*AuditLogListPageResponse) SetCurrentPage added in v1.2.8

func (o *AuditLogListPageResponse) SetCurrentPage(v int32)

SetCurrentPage gets a reference to the given int32 and assigns it to the CurrentPage field.

func (*AuditLogListPageResponse) SetItems added in v1.2.8

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

func (*AuditLogListPageResponse) SetPageSize added in v1.2.8

func (o *AuditLogListPageResponse) SetPageSize(v int32)

SetPageSize gets a reference to the given int32 and assigns it to the PageSize field.

func (*AuditLogListPageResponse) SetTotalCount added in v1.2.8

func (o *AuditLogListPageResponse) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

func (*AuditLogListPageResponse) SetTotalPages added in v1.2.8

func (o *AuditLogListPageResponse) SetTotalPages(v int32)

SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.

type AuditLogSimpleDTO added in v1.2.23

type AuditLogSimpleDTO struct {
	// The category of the change
	Category *string `json:"category,omitempty"`
	// The creation timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The user's ID who created
	CreatedById *uuid.UUID `json:"createdById,omitempty"`
	// The ID
	Id *uuid.UUID `json:"id,omitempty"`
	// The message
	Message *string `json:"message,omitempty"`
	// The service which the change affects
	ServiceAffected *string `json:"serviceAffected,omitempty"`
	// The service which created
	ServiceCreated *string `json:"serviceCreated,omitempty"`
	// The subject of the change
	Subject *string `json:"subject,omitempty"`
}

AuditLogSimpleDTO struct for AuditLogSimpleDTO

func NewAuditLogSimpleDTO added in v1.2.23

func NewAuditLogSimpleDTO() *AuditLogSimpleDTO

NewAuditLogSimpleDTO instantiates a new AuditLogSimpleDTO 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 NewAuditLogSimpleDTOWithDefaults added in v1.2.23

func NewAuditLogSimpleDTOWithDefaults() *AuditLogSimpleDTO

NewAuditLogSimpleDTOWithDefaults instantiates a new AuditLogSimpleDTO 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 (*AuditLogSimpleDTO) GetCategory added in v1.2.23

func (o *AuditLogSimpleDTO) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*AuditLogSimpleDTO) GetCategoryOk added in v1.2.23

func (o *AuditLogSimpleDTO) GetCategoryOk() (*string, bool)

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

func (*AuditLogSimpleDTO) GetCreatedAt added in v1.2.23

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AuditLogSimpleDTO) GetCreatedAtOk added in v1.2.23

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

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

func (*AuditLogSimpleDTO) GetCreatedById added in v1.2.23

func (o *AuditLogSimpleDTO) GetCreatedById() uuid.UUID

GetCreatedById returns the CreatedById field value if set, zero value otherwise.

func (*AuditLogSimpleDTO) GetCreatedByIdOk added in v1.2.23

func (o *AuditLogSimpleDTO) GetCreatedByIdOk() (*uuid.UUID, bool)

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

func (*AuditLogSimpleDTO) GetId added in v1.2.23

func (o *AuditLogSimpleDTO) GetId() uuid.UUID

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

func (*AuditLogSimpleDTO) GetIdOk added in v1.2.23

func (o *AuditLogSimpleDTO) GetIdOk() (*uuid.UUID, 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 (*AuditLogSimpleDTO) GetMessage added in v1.2.23

func (o *AuditLogSimpleDTO) GetMessage() string

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

func (*AuditLogSimpleDTO) GetMessageOk added in v1.2.23

func (o *AuditLogSimpleDTO) 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 (*AuditLogSimpleDTO) GetServiceAffected added in v1.2.23

func (o *AuditLogSimpleDTO) GetServiceAffected() string

GetServiceAffected returns the ServiceAffected field value if set, zero value otherwise.

func (*AuditLogSimpleDTO) GetServiceAffectedOk added in v1.2.23

func (o *AuditLogSimpleDTO) GetServiceAffectedOk() (*string, bool)

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

func (*AuditLogSimpleDTO) GetServiceCreated added in v1.2.23

func (o *AuditLogSimpleDTO) GetServiceCreated() string

GetServiceCreated returns the ServiceCreated field value if set, zero value otherwise.

func (*AuditLogSimpleDTO) GetServiceCreatedOk added in v1.2.23

func (o *AuditLogSimpleDTO) GetServiceCreatedOk() (*string, bool)

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

func (*AuditLogSimpleDTO) GetSubject added in v1.2.23

func (o *AuditLogSimpleDTO) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*AuditLogSimpleDTO) GetSubjectOk added in v1.2.23

func (o *AuditLogSimpleDTO) GetSubjectOk() (*string, bool)

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

func (*AuditLogSimpleDTO) HasCategory added in v1.2.23

func (o *AuditLogSimpleDTO) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasCreatedAt added in v1.2.23

func (o *AuditLogSimpleDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasCreatedById added in v1.2.23

func (o *AuditLogSimpleDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasId added in v1.2.23

func (o *AuditLogSimpleDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasMessage added in v1.2.23

func (o *AuditLogSimpleDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasServiceAffected added in v1.2.23

func (o *AuditLogSimpleDTO) HasServiceAffected() bool

HasServiceAffected returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasServiceCreated added in v1.2.23

func (o *AuditLogSimpleDTO) HasServiceCreated() bool

HasServiceCreated returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasSubject added in v1.2.23

func (o *AuditLogSimpleDTO) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (AuditLogSimpleDTO) MarshalJSON added in v1.2.23

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

func (*AuditLogSimpleDTO) SetCategory added in v1.2.23

func (o *AuditLogSimpleDTO) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*AuditLogSimpleDTO) SetCreatedAt added in v1.2.23

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AuditLogSimpleDTO) SetCreatedById added in v1.2.23

func (o *AuditLogSimpleDTO) SetCreatedById(v uuid.UUID)

SetCreatedById gets a reference to the given uuid.UUID and assigns it to the CreatedById field.

func (*AuditLogSimpleDTO) SetId added in v1.2.23

func (o *AuditLogSimpleDTO) SetId(v uuid.UUID)

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

func (*AuditLogSimpleDTO) SetMessage added in v1.2.23

func (o *AuditLogSimpleDTO) SetMessage(v string)

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

func (*AuditLogSimpleDTO) SetServiceAffected added in v1.2.23

func (o *AuditLogSimpleDTO) SetServiceAffected(v string)

SetServiceAffected gets a reference to the given string and assigns it to the ServiceAffected field.

func (*AuditLogSimpleDTO) SetServiceCreated added in v1.2.23

func (o *AuditLogSimpleDTO) SetServiceCreated(v string)

SetServiceCreated gets a reference to the given string and assigns it to the ServiceCreated field.

func (*AuditLogSimpleDTO) SetSubject added in v1.2.23

func (o *AuditLogSimpleDTO) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL added in v1.2.8

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext added in v1.2.8

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

ServerURLWithContext returns a new server URL given an endpoint

type ConsoleLogApiService

type ConsoleLogApiService service

ConsoleLogApiService ConsoleLogApi service

func (*ConsoleLogApiService) CreateConsoleLogV1Int

CreateConsoleLogV1Int Create console log

Creates a new console log

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

func (*ConsoleLogApiService) CreateConsoleLogV1IntExecute added in v1.2.8

func (a *ConsoleLogApiService) CreateConsoleLogV1IntExecute(r ApiCreateConsoleLogV1IntRequest) (*http.Response, error)

Execute executes the request

func (*ConsoleLogApiService) GetConsoleLogsV1

GetConsoleLogsV1 Get console logs

Gets all console log

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

func (*ConsoleLogApiService) GetConsoleLogsV1Execute added in v1.2.8

Execute executes the request

@return ConsoleLogListPageResponse

type ConsoleLogDTO added in v1.2.8

type ConsoleLogDTO struct {
	// The log timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The user's ID who created
	CreatedById *uuid.UUID `json:"createdById,omitempty"`
	// The user's name who created
	CreatedByName *string `json:"createdByName,omitempty"`
	// The ID
	Id *uuid.UUID `json:"id,omitempty"`
	// The log level (Trace=-1, Debug=0, Info=1, Warning=2, Error=3, Fatal=4, Panic=5)
	Level *LogLevel `json:"level,omitempty"`
	// The log message
	Message *string `json:"message,omitempty"`
	// The request ID making dependent logs trackable
	RequestId *uuid.UUID `json:"requestId,omitempty"`
	// The service which sent the log
	Service *string `json:"service,omitempty"`
}

ConsoleLogDTO struct for ConsoleLogDTO

func NewConsoleLogDTO added in v1.2.8

func NewConsoleLogDTO() *ConsoleLogDTO

NewConsoleLogDTO instantiates a new ConsoleLogDTO 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 NewConsoleLogDTOWithDefaults added in v1.2.8

func NewConsoleLogDTOWithDefaults() *ConsoleLogDTO

NewConsoleLogDTOWithDefaults instantiates a new ConsoleLogDTO 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 (*ConsoleLogDTO) GetCreatedAt added in v1.2.8

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ConsoleLogDTO) GetCreatedAtOk added in v1.2.8

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

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

func (*ConsoleLogDTO) GetCreatedById added in v1.2.8

func (o *ConsoleLogDTO) GetCreatedById() uuid.UUID

GetCreatedById returns the CreatedById field value if set, zero value otherwise.

func (*ConsoleLogDTO) GetCreatedByIdOk added in v1.2.8

func (o *ConsoleLogDTO) GetCreatedByIdOk() (*uuid.UUID, bool)

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

func (*ConsoleLogDTO) GetCreatedByName added in v1.2.8

func (o *ConsoleLogDTO) GetCreatedByName() string

GetCreatedByName returns the CreatedByName field value if set, zero value otherwise.

func (*ConsoleLogDTO) GetCreatedByNameOk added in v1.2.8

func (o *ConsoleLogDTO) GetCreatedByNameOk() (*string, bool)

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

func (*ConsoleLogDTO) GetId added in v1.2.8

func (o *ConsoleLogDTO) GetId() uuid.UUID

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

func (*ConsoleLogDTO) GetIdOk added in v1.2.8

func (o *ConsoleLogDTO) GetIdOk() (*uuid.UUID, 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 (*ConsoleLogDTO) GetLevel added in v1.2.8

func (o *ConsoleLogDTO) GetLevel() LogLevel

GetLevel returns the Level field value if set, zero value otherwise.

func (*ConsoleLogDTO) GetLevelOk added in v1.2.8

func (o *ConsoleLogDTO) GetLevelOk() (*LogLevel, bool)

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

func (*ConsoleLogDTO) GetMessage added in v1.2.8

func (o *ConsoleLogDTO) GetMessage() string

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

func (*ConsoleLogDTO) GetMessageOk added in v1.2.8

func (o *ConsoleLogDTO) 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 (*ConsoleLogDTO) GetRequestId added in v1.2.8

func (o *ConsoleLogDTO) GetRequestId() uuid.UUID

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*ConsoleLogDTO) GetRequestIdOk added in v1.2.8

func (o *ConsoleLogDTO) GetRequestIdOk() (*uuid.UUID, bool)

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

func (*ConsoleLogDTO) GetService added in v1.2.8

func (o *ConsoleLogDTO) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*ConsoleLogDTO) GetServiceOk added in v1.2.8

func (o *ConsoleLogDTO) GetServiceOk() (*string, bool)

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

func (*ConsoleLogDTO) HasCreatedAt added in v1.2.8

func (o *ConsoleLogDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasCreatedById added in v1.2.8

func (o *ConsoleLogDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasCreatedByName added in v1.2.8

func (o *ConsoleLogDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasId added in v1.2.8

func (o *ConsoleLogDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasLevel added in v1.2.8

func (o *ConsoleLogDTO) HasLevel() bool

HasLevel returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasMessage added in v1.2.8

func (o *ConsoleLogDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasRequestId added in v1.2.8

func (o *ConsoleLogDTO) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasService added in v1.2.8

func (o *ConsoleLogDTO) HasService() bool

HasService returns a boolean if a field has been set.

func (ConsoleLogDTO) MarshalJSON added in v1.2.8

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

func (*ConsoleLogDTO) SetCreatedAt added in v1.2.8

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ConsoleLogDTO) SetCreatedById added in v1.2.8

func (o *ConsoleLogDTO) SetCreatedById(v uuid.UUID)

SetCreatedById gets a reference to the given uuid.UUID and assigns it to the CreatedById field.

func (*ConsoleLogDTO) SetCreatedByName added in v1.2.8

func (o *ConsoleLogDTO) SetCreatedByName(v string)

SetCreatedByName gets a reference to the given string and assigns it to the CreatedByName field.

func (*ConsoleLogDTO) SetId added in v1.2.8

func (o *ConsoleLogDTO) SetId(v uuid.UUID)

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

func (*ConsoleLogDTO) SetLevel added in v1.2.8

func (o *ConsoleLogDTO) SetLevel(v LogLevel)

SetLevel gets a reference to the given LogLevel and assigns it to the Level field.

func (*ConsoleLogDTO) SetMessage added in v1.2.8

func (o *ConsoleLogDTO) SetMessage(v string)

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

func (*ConsoleLogDTO) SetRequestId added in v1.2.8

func (o *ConsoleLogDTO) SetRequestId(v uuid.UUID)

SetRequestId gets a reference to the given uuid.UUID and assigns it to the RequestId field.

func (*ConsoleLogDTO) SetService added in v1.2.8

func (o *ConsoleLogDTO) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

type ConsoleLogListPageResponse

type ConsoleLogListPageResponse struct {
	// The actual page number
	CurrentPage *int32 `json:"currentPage,omitempty"`
	// The items
	Items []ConsoleLogDTO `json:"items,omitempty"`
	// The number of items per page
	PageSize *int32 `json:"pageSize,omitempty"`
	// The total count of items
	TotalCount *int32 `json:"totalCount,omitempty"`
	// The total pages
	TotalPages *int32 `json:"totalPages,omitempty"`
}

ConsoleLogListPageResponse struct for ConsoleLogListPageResponse

func NewConsoleLogListPageResponse added in v1.2.8

func NewConsoleLogListPageResponse() *ConsoleLogListPageResponse

NewConsoleLogListPageResponse instantiates a new ConsoleLogListPageResponse 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 NewConsoleLogListPageResponseWithDefaults added in v1.2.8

func NewConsoleLogListPageResponseWithDefaults() *ConsoleLogListPageResponse

NewConsoleLogListPageResponseWithDefaults instantiates a new ConsoleLogListPageResponse 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 (*ConsoleLogListPageResponse) GetCurrentPage added in v1.2.8

func (o *ConsoleLogListPageResponse) GetCurrentPage() int32

GetCurrentPage returns the CurrentPage field value if set, zero value otherwise.

func (*ConsoleLogListPageResponse) GetCurrentPageOk added in v1.2.8

func (o *ConsoleLogListPageResponse) GetCurrentPageOk() (*int32, bool)

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

func (*ConsoleLogListPageResponse) GetItems added in v1.2.8

func (o *ConsoleLogListPageResponse) GetItems() []ConsoleLogDTO

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

func (*ConsoleLogListPageResponse) GetItemsOk added in v1.2.8

func (o *ConsoleLogListPageResponse) GetItemsOk() ([]ConsoleLogDTO, 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 (*ConsoleLogListPageResponse) GetPageSize added in v1.2.8

func (o *ConsoleLogListPageResponse) GetPageSize() int32

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*ConsoleLogListPageResponse) GetPageSizeOk added in v1.2.8

func (o *ConsoleLogListPageResponse) GetPageSizeOk() (*int32, bool)

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

func (*ConsoleLogListPageResponse) GetTotalCount added in v1.2.8

func (o *ConsoleLogListPageResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*ConsoleLogListPageResponse) GetTotalCountOk added in v1.2.8

func (o *ConsoleLogListPageResponse) GetTotalCountOk() (*int32, bool)

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

func (*ConsoleLogListPageResponse) GetTotalPages added in v1.2.8

func (o *ConsoleLogListPageResponse) GetTotalPages() int32

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*ConsoleLogListPageResponse) GetTotalPagesOk added in v1.2.8

func (o *ConsoleLogListPageResponse) GetTotalPagesOk() (*int32, bool)

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

func (*ConsoleLogListPageResponse) HasCurrentPage added in v1.2.8

func (o *ConsoleLogListPageResponse) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

func (*ConsoleLogListPageResponse) HasItems added in v1.2.8

func (o *ConsoleLogListPageResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ConsoleLogListPageResponse) HasPageSize added in v1.2.8

func (o *ConsoleLogListPageResponse) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*ConsoleLogListPageResponse) HasTotalCount added in v1.2.8

func (o *ConsoleLogListPageResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*ConsoleLogListPageResponse) HasTotalPages added in v1.2.8

func (o *ConsoleLogListPageResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (ConsoleLogListPageResponse) MarshalJSON added in v1.2.8

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

func (*ConsoleLogListPageResponse) SetCurrentPage added in v1.2.8

func (o *ConsoleLogListPageResponse) SetCurrentPage(v int32)

SetCurrentPage gets a reference to the given int32 and assigns it to the CurrentPage field.

func (*ConsoleLogListPageResponse) SetItems added in v1.2.8

func (o *ConsoleLogListPageResponse) SetItems(v []ConsoleLogDTO)

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

func (*ConsoleLogListPageResponse) SetPageSize added in v1.2.8

func (o *ConsoleLogListPageResponse) SetPageSize(v int32)

SetPageSize gets a reference to the given int32 and assigns it to the PageSize field.

func (*ConsoleLogListPageResponse) SetTotalCount added in v1.2.8

func (o *ConsoleLogListPageResponse) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

func (*ConsoleLogListPageResponse) SetTotalPages added in v1.2.8

func (o *ConsoleLogListPageResponse) SetTotalPages(v int32)

SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.

type CreateAuditLogChangeDTO added in v1.2.8

type CreateAuditLogChangeDTO struct {
	// The category of the change
	Category *string `json:"category,omitempty"`
	// The message
	Message *string `json:"message,omitempty"`
	// The new value
	NewValue *string `json:"newValue,omitempty"`
	// The old value
	OldValue *string `json:"oldValue,omitempty"`
	// The short description of the change
	Subject *string `json:"subject,omitempty"`
	// The name of the subject
	SubjectName *string `json:"subjectName,omitempty"`
	// The property name of the subject
	SubjectPropertyName *string `json:"subjectPropertyName,omitempty"`
}

CreateAuditLogChangeDTO struct for CreateAuditLogChangeDTO

func NewCreateAuditLogChangeDTO added in v1.2.8

func NewCreateAuditLogChangeDTO() *CreateAuditLogChangeDTO

NewCreateAuditLogChangeDTO instantiates a new CreateAuditLogChangeDTO 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 NewCreateAuditLogChangeDTOWithDefaults added in v1.2.8

func NewCreateAuditLogChangeDTOWithDefaults() *CreateAuditLogChangeDTO

NewCreateAuditLogChangeDTOWithDefaults instantiates a new CreateAuditLogChangeDTO 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 (*CreateAuditLogChangeDTO) GetCategory added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*CreateAuditLogChangeDTO) GetCategoryOk added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetCategoryOk() (*string, bool)

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

func (*CreateAuditLogChangeDTO) GetMessage added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetMessage() string

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

func (*CreateAuditLogChangeDTO) GetMessageOk added in v1.2.8

func (o *CreateAuditLogChangeDTO) 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 (*CreateAuditLogChangeDTO) GetNewValue added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetNewValue() string

GetNewValue returns the NewValue field value if set, zero value otherwise.

func (*CreateAuditLogChangeDTO) GetNewValueOk added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetNewValueOk() (*string, bool)

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

func (*CreateAuditLogChangeDTO) GetOldValue added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetOldValue() string

GetOldValue returns the OldValue field value if set, zero value otherwise.

func (*CreateAuditLogChangeDTO) GetOldValueOk added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetOldValueOk() (*string, bool)

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

func (*CreateAuditLogChangeDTO) GetSubject added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*CreateAuditLogChangeDTO) GetSubjectName added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetSubjectName() string

GetSubjectName returns the SubjectName field value if set, zero value otherwise.

func (*CreateAuditLogChangeDTO) GetSubjectNameOk added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetSubjectNameOk() (*string, bool)

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

func (*CreateAuditLogChangeDTO) GetSubjectOk added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetSubjectOk() (*string, bool)

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

func (*CreateAuditLogChangeDTO) GetSubjectPropertyName added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetSubjectPropertyName() string

GetSubjectPropertyName returns the SubjectPropertyName field value if set, zero value otherwise.

func (*CreateAuditLogChangeDTO) GetSubjectPropertyNameOk added in v1.2.8

func (o *CreateAuditLogChangeDTO) GetSubjectPropertyNameOk() (*string, bool)

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

func (*CreateAuditLogChangeDTO) HasCategory added in v1.2.8

func (o *CreateAuditLogChangeDTO) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasMessage added in v1.2.8

func (o *CreateAuditLogChangeDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasNewValue added in v1.2.8

func (o *CreateAuditLogChangeDTO) HasNewValue() bool

HasNewValue returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasOldValue added in v1.2.8

func (o *CreateAuditLogChangeDTO) HasOldValue() bool

HasOldValue returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasSubject added in v1.2.8

func (o *CreateAuditLogChangeDTO) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasSubjectName added in v1.2.8

func (o *CreateAuditLogChangeDTO) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasSubjectPropertyName added in v1.2.8

func (o *CreateAuditLogChangeDTO) HasSubjectPropertyName() bool

HasSubjectPropertyName returns a boolean if a field has been set.

func (CreateAuditLogChangeDTO) MarshalJSON added in v1.2.8

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

func (*CreateAuditLogChangeDTO) SetCategory added in v1.2.8

func (o *CreateAuditLogChangeDTO) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*CreateAuditLogChangeDTO) SetMessage added in v1.2.8

func (o *CreateAuditLogChangeDTO) SetMessage(v string)

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

func (*CreateAuditLogChangeDTO) SetNewValue added in v1.2.8

func (o *CreateAuditLogChangeDTO) SetNewValue(v string)

SetNewValue gets a reference to the given string and assigns it to the NewValue field.

func (*CreateAuditLogChangeDTO) SetOldValue added in v1.2.8

func (o *CreateAuditLogChangeDTO) SetOldValue(v string)

SetOldValue gets a reference to the given string and assigns it to the OldValue field.

func (*CreateAuditLogChangeDTO) SetSubject added in v1.2.8

func (o *CreateAuditLogChangeDTO) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*CreateAuditLogChangeDTO) SetSubjectName added in v1.2.8

func (o *CreateAuditLogChangeDTO) SetSubjectName(v string)

SetSubjectName gets a reference to the given string and assigns it to the SubjectName field.

func (*CreateAuditLogChangeDTO) SetSubjectPropertyName added in v1.2.8

func (o *CreateAuditLogChangeDTO) SetSubjectPropertyName(v string)

SetSubjectPropertyName gets a reference to the given string and assigns it to the SubjectPropertyName field.

type CreateAuditLogRequestDTO added in v1.2.8

type CreateAuditLogRequestDTO struct {
	// The category of the change
	Category string `json:"category"`
	// The creation timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The user's ID who created
	CreatedById *uuid.UUID `json:"createdById,omitempty"`
	// The user's name who created
	CreatedByName *string `json:"createdByName,omitempty"`
	// The grouped changes if there are many related ones
	GroupedChanges []CreateAuditLogChangeDTO `json:"groupedChanges,omitempty"`
	// The message
	Message *string `json:"message,omitempty"`
	// The new value
	NewValue *string `json:"newValue,omitempty"`
	// The old value
	OldValue *string `json:"oldValue,omitempty"`
	// The service which the change affects
	ServiceAffected *string `json:"serviceAffected,omitempty"`
	// The service which created
	ServiceCreated string `json:"serviceCreated"`
	// The subject of the change
	Subject string `json:"subject"`
	// The name of the subject
	SubjectName *string `json:"subjectName,omitempty"`
	// The property name of the subject
	SubjectPropertyName *string `json:"subjectPropertyName,omitempty"`
}

CreateAuditLogRequestDTO struct for CreateAuditLogRequestDTO

func NewCreateAuditLogRequestDTO added in v1.2.8

func NewCreateAuditLogRequestDTO(category string, serviceCreated string, subject string) *CreateAuditLogRequestDTO

NewCreateAuditLogRequestDTO instantiates a new CreateAuditLogRequestDTO 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 NewCreateAuditLogRequestDTOWithDefaults added in v1.2.8

func NewCreateAuditLogRequestDTOWithDefaults() *CreateAuditLogRequestDTO

NewCreateAuditLogRequestDTOWithDefaults instantiates a new CreateAuditLogRequestDTO 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 (*CreateAuditLogRequestDTO) GetCategory added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetCategory() string

GetCategory returns the Category field value

func (*CreateAuditLogRequestDTO) GetCategoryOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetCategoryOk() (*string, bool)

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

func (*CreateAuditLogRequestDTO) GetCreatedAt added in v1.2.8

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CreateAuditLogRequestDTO) GetCreatedAtOk added in v1.2.8

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

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

func (*CreateAuditLogRequestDTO) GetCreatedById added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetCreatedById() uuid.UUID

GetCreatedById returns the CreatedById field value if set, zero value otherwise.

func (*CreateAuditLogRequestDTO) GetCreatedByIdOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetCreatedByIdOk() (*uuid.UUID, bool)

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

func (*CreateAuditLogRequestDTO) GetCreatedByName added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetCreatedByName() string

GetCreatedByName returns the CreatedByName field value if set, zero value otherwise.

func (*CreateAuditLogRequestDTO) GetCreatedByNameOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetCreatedByNameOk() (*string, bool)

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

func (*CreateAuditLogRequestDTO) GetGroupedChanges added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetGroupedChanges() []CreateAuditLogChangeDTO

GetGroupedChanges returns the GroupedChanges field value if set, zero value otherwise.

func (*CreateAuditLogRequestDTO) GetGroupedChangesOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetGroupedChangesOk() ([]CreateAuditLogChangeDTO, bool)

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

func (*CreateAuditLogRequestDTO) GetMessage added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetMessage() string

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

func (*CreateAuditLogRequestDTO) GetMessageOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) 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 (*CreateAuditLogRequestDTO) GetNewValue added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetNewValue() string

GetNewValue returns the NewValue field value if set, zero value otherwise.

func (*CreateAuditLogRequestDTO) GetNewValueOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetNewValueOk() (*string, bool)

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

func (*CreateAuditLogRequestDTO) GetOldValue added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetOldValue() string

GetOldValue returns the OldValue field value if set, zero value otherwise.

func (*CreateAuditLogRequestDTO) GetOldValueOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetOldValueOk() (*string, bool)

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

func (*CreateAuditLogRequestDTO) GetServiceAffected added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetServiceAffected() string

GetServiceAffected returns the ServiceAffected field value if set, zero value otherwise.

func (*CreateAuditLogRequestDTO) GetServiceAffectedOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetServiceAffectedOk() (*string, bool)

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

func (*CreateAuditLogRequestDTO) GetServiceCreated added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetServiceCreated() string

GetServiceCreated returns the ServiceCreated field value

func (*CreateAuditLogRequestDTO) GetServiceCreatedOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetServiceCreatedOk() (*string, bool)

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

func (*CreateAuditLogRequestDTO) GetSubject added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetSubject() string

GetSubject returns the Subject field value

func (*CreateAuditLogRequestDTO) GetSubjectName added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetSubjectName() string

GetSubjectName returns the SubjectName field value if set, zero value otherwise.

func (*CreateAuditLogRequestDTO) GetSubjectNameOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetSubjectNameOk() (*string, bool)

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

func (*CreateAuditLogRequestDTO) GetSubjectOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetSubjectOk() (*string, bool)

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

func (*CreateAuditLogRequestDTO) GetSubjectPropertyName added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetSubjectPropertyName() string

GetSubjectPropertyName returns the SubjectPropertyName field value if set, zero value otherwise.

func (*CreateAuditLogRequestDTO) GetSubjectPropertyNameOk added in v1.2.8

func (o *CreateAuditLogRequestDTO) GetSubjectPropertyNameOk() (*string, bool)

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

func (*CreateAuditLogRequestDTO) HasCreatedAt added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasCreatedById added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasCreatedByName added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasGroupedChanges added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasGroupedChanges() bool

HasGroupedChanges returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasMessage added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasNewValue added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasNewValue() bool

HasNewValue returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasOldValue added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasOldValue() bool

HasOldValue returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasServiceAffected added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasServiceAffected() bool

HasServiceAffected returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasSubjectName added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasSubjectPropertyName added in v1.2.8

func (o *CreateAuditLogRequestDTO) HasSubjectPropertyName() bool

HasSubjectPropertyName returns a boolean if a field has been set.

func (CreateAuditLogRequestDTO) MarshalJSON added in v1.2.8

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

func (*CreateAuditLogRequestDTO) SetCategory added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetCategory(v string)

SetCategory sets field value

func (*CreateAuditLogRequestDTO) SetCreatedAt added in v1.2.8

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CreateAuditLogRequestDTO) SetCreatedById added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetCreatedById(v uuid.UUID)

SetCreatedById gets a reference to the given uuid.UUID and assigns it to the CreatedById field.

func (*CreateAuditLogRequestDTO) SetCreatedByName added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetCreatedByName(v string)

SetCreatedByName gets a reference to the given string and assigns it to the CreatedByName field.

func (*CreateAuditLogRequestDTO) SetGroupedChanges added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetGroupedChanges(v []CreateAuditLogChangeDTO)

SetGroupedChanges gets a reference to the given []CreateAuditLogChangeDTO and assigns it to the GroupedChanges field.

func (*CreateAuditLogRequestDTO) SetMessage added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetMessage(v string)

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

func (*CreateAuditLogRequestDTO) SetNewValue added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetNewValue(v string)

SetNewValue gets a reference to the given string and assigns it to the NewValue field.

func (*CreateAuditLogRequestDTO) SetOldValue added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetOldValue(v string)

SetOldValue gets a reference to the given string and assigns it to the OldValue field.

func (*CreateAuditLogRequestDTO) SetServiceAffected added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetServiceAffected(v string)

SetServiceAffected gets a reference to the given string and assigns it to the ServiceAffected field.

func (*CreateAuditLogRequestDTO) SetServiceCreated added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetServiceCreated(v string)

SetServiceCreated sets field value

func (*CreateAuditLogRequestDTO) SetSubject added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetSubject(v string)

SetSubject sets field value

func (*CreateAuditLogRequestDTO) SetSubjectName added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetSubjectName(v string)

SetSubjectName gets a reference to the given string and assigns it to the SubjectName field.

func (*CreateAuditLogRequestDTO) SetSubjectPropertyName added in v1.2.8

func (o *CreateAuditLogRequestDTO) SetSubjectPropertyName(v string)

SetSubjectPropertyName gets a reference to the given string and assigns it to the SubjectPropertyName field.

type CreateConsoleLogRequestDTO added in v1.2.8

type CreateConsoleLogRequestDTO struct {
	// The log timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The user's ID who created
	CreatedById *uuid.UUID `json:"createdById,omitempty"`
	// The user's name who created
	CreatedByName *string `json:"createdByName,omitempty"`
	// The log level (Trace=-1, Debug=0, Info=1, Warning=2, Error=3, Fatal=4, Panic=5)
	Level LogLevel `json:"level"`
	// The log message
	Message string `json:"message"`
	// The service which sent the log
	Service string `json:"service"`
}

CreateConsoleLogRequestDTO struct for CreateConsoleLogRequestDTO

func NewCreateConsoleLogRequestDTO added in v1.2.8

func NewCreateConsoleLogRequestDTO(level LogLevel, message string, service string) *CreateConsoleLogRequestDTO

NewCreateConsoleLogRequestDTO instantiates a new CreateConsoleLogRequestDTO 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 NewCreateConsoleLogRequestDTOWithDefaults added in v1.2.8

func NewCreateConsoleLogRequestDTOWithDefaults() *CreateConsoleLogRequestDTO

NewCreateConsoleLogRequestDTOWithDefaults instantiates a new CreateConsoleLogRequestDTO 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 (*CreateConsoleLogRequestDTO) GetCreatedAt added in v1.2.8

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CreateConsoleLogRequestDTO) GetCreatedAtOk added in v1.2.8

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

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

func (*CreateConsoleLogRequestDTO) GetCreatedById added in v1.2.8

func (o *CreateConsoleLogRequestDTO) GetCreatedById() uuid.UUID

GetCreatedById returns the CreatedById field value if set, zero value otherwise.

func (*CreateConsoleLogRequestDTO) GetCreatedByIdOk added in v1.2.8

func (o *CreateConsoleLogRequestDTO) GetCreatedByIdOk() (*uuid.UUID, bool)

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

func (*CreateConsoleLogRequestDTO) GetCreatedByName added in v1.2.8

func (o *CreateConsoleLogRequestDTO) GetCreatedByName() string

GetCreatedByName returns the CreatedByName field value if set, zero value otherwise.

func (*CreateConsoleLogRequestDTO) GetCreatedByNameOk added in v1.2.8

func (o *CreateConsoleLogRequestDTO) GetCreatedByNameOk() (*string, bool)

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

func (*CreateConsoleLogRequestDTO) GetLevel added in v1.2.8

func (o *CreateConsoleLogRequestDTO) GetLevel() LogLevel

GetLevel returns the Level field value

func (*CreateConsoleLogRequestDTO) GetLevelOk added in v1.2.8

func (o *CreateConsoleLogRequestDTO) GetLevelOk() (*LogLevel, bool)

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

func (*CreateConsoleLogRequestDTO) GetMessage added in v1.2.8

func (o *CreateConsoleLogRequestDTO) GetMessage() string

GetMessage returns the Message field value

func (*CreateConsoleLogRequestDTO) GetMessageOk added in v1.2.8

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

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

func (*CreateConsoleLogRequestDTO) GetService added in v1.2.8

func (o *CreateConsoleLogRequestDTO) GetService() string

GetService returns the Service field value

func (*CreateConsoleLogRequestDTO) GetServiceOk added in v1.2.8

func (o *CreateConsoleLogRequestDTO) GetServiceOk() (*string, bool)

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

func (*CreateConsoleLogRequestDTO) HasCreatedAt added in v1.2.8

func (o *CreateConsoleLogRequestDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateConsoleLogRequestDTO) HasCreatedById added in v1.2.8

func (o *CreateConsoleLogRequestDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*CreateConsoleLogRequestDTO) HasCreatedByName added in v1.2.8

func (o *CreateConsoleLogRequestDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (CreateConsoleLogRequestDTO) MarshalJSON added in v1.2.8

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

func (*CreateConsoleLogRequestDTO) SetCreatedAt added in v1.2.8

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CreateConsoleLogRequestDTO) SetCreatedById added in v1.2.8

func (o *CreateConsoleLogRequestDTO) SetCreatedById(v uuid.UUID)

SetCreatedById gets a reference to the given uuid.UUID and assigns it to the CreatedById field.

func (*CreateConsoleLogRequestDTO) SetCreatedByName added in v1.2.8

func (o *CreateConsoleLogRequestDTO) SetCreatedByName(v string)

SetCreatedByName gets a reference to the given string and assigns it to the CreatedByName field.

func (*CreateConsoleLogRequestDTO) SetLevel added in v1.2.8

func (o *CreateConsoleLogRequestDTO) SetLevel(v LogLevel)

SetLevel sets field value

func (*CreateConsoleLogRequestDTO) SetMessage added in v1.2.8

func (o *CreateConsoleLogRequestDTO) SetMessage(v string)

SetMessage sets field value

func (*CreateConsoleLogRequestDTO) SetService added in v1.2.8

func (o *CreateConsoleLogRequestDTO) SetService(v string)

SetService sets field value

type CreateNotificationRequestDTO added in v1.2.8

type CreateNotificationRequestDTO struct {
	// The log timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The user's ID who created
	CreatedById *uuid.UUID `json:"createdById,omitempty"`
	// The user's name who created
	CreatedByName *string `json:"createdByName,omitempty"`
	// The notification event category
	EventCategory *NotificationEventCategory `json:"eventCategory,omitempty"`
	// The log message
	Message string `json:"message"`
	// The service which sent the log
	Service string `json:"service"`
	// The targets who will receive the notification
	Targets *map[string][]string `json:"targets,omitempty"`
}

CreateNotificationRequestDTO struct for CreateNotificationRequestDTO

func NewCreateNotificationRequestDTO added in v1.2.8

func NewCreateNotificationRequestDTO(message string, service string) *CreateNotificationRequestDTO

NewCreateNotificationRequestDTO instantiates a new CreateNotificationRequestDTO 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 NewCreateNotificationRequestDTOWithDefaults added in v1.2.8

func NewCreateNotificationRequestDTOWithDefaults() *CreateNotificationRequestDTO

NewCreateNotificationRequestDTOWithDefaults instantiates a new CreateNotificationRequestDTO 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 (*CreateNotificationRequestDTO) GetCreatedAt added in v1.2.8

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CreateNotificationRequestDTO) GetCreatedAtOk added in v1.2.8

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

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

func (*CreateNotificationRequestDTO) GetCreatedById added in v1.2.8

func (o *CreateNotificationRequestDTO) GetCreatedById() uuid.UUID

GetCreatedById returns the CreatedById field value if set, zero value otherwise.

func (*CreateNotificationRequestDTO) GetCreatedByIdOk added in v1.2.8

func (o *CreateNotificationRequestDTO) GetCreatedByIdOk() (*uuid.UUID, bool)

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

func (*CreateNotificationRequestDTO) GetCreatedByName added in v1.2.8

func (o *CreateNotificationRequestDTO) GetCreatedByName() string

GetCreatedByName returns the CreatedByName field value if set, zero value otherwise.

func (*CreateNotificationRequestDTO) GetCreatedByNameOk added in v1.2.8

func (o *CreateNotificationRequestDTO) GetCreatedByNameOk() (*string, bool)

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

func (*CreateNotificationRequestDTO) GetEventCategory added in v1.2.8

GetEventCategory returns the EventCategory field value if set, zero value otherwise.

func (*CreateNotificationRequestDTO) GetEventCategoryOk added in v1.2.8

func (o *CreateNotificationRequestDTO) GetEventCategoryOk() (*NotificationEventCategory, bool)

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

func (*CreateNotificationRequestDTO) GetMessage added in v1.2.8

func (o *CreateNotificationRequestDTO) GetMessage() string

GetMessage returns the Message field value

func (*CreateNotificationRequestDTO) GetMessageOk added in v1.2.8

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

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

func (*CreateNotificationRequestDTO) GetService added in v1.2.8

func (o *CreateNotificationRequestDTO) GetService() string

GetService returns the Service field value

func (*CreateNotificationRequestDTO) GetServiceOk added in v1.2.8

func (o *CreateNotificationRequestDTO) GetServiceOk() (*string, bool)

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

func (*CreateNotificationRequestDTO) GetTargets added in v1.2.8

func (o *CreateNotificationRequestDTO) GetTargets() map[string][]string

GetTargets returns the Targets field value if set, zero value otherwise.

func (*CreateNotificationRequestDTO) GetTargetsOk added in v1.2.8

func (o *CreateNotificationRequestDTO) GetTargetsOk() (*map[string][]string, bool)

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

func (*CreateNotificationRequestDTO) HasCreatedAt added in v1.2.8

func (o *CreateNotificationRequestDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateNotificationRequestDTO) HasCreatedById added in v1.2.8

func (o *CreateNotificationRequestDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*CreateNotificationRequestDTO) HasCreatedByName added in v1.2.8

func (o *CreateNotificationRequestDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*CreateNotificationRequestDTO) HasEventCategory added in v1.2.8

func (o *CreateNotificationRequestDTO) HasEventCategory() bool

HasEventCategory returns a boolean if a field has been set.

func (*CreateNotificationRequestDTO) HasTargets added in v1.2.8

func (o *CreateNotificationRequestDTO) HasTargets() bool

HasTargets returns a boolean if a field has been set.

func (CreateNotificationRequestDTO) MarshalJSON added in v1.2.8

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

func (*CreateNotificationRequestDTO) SetCreatedAt added in v1.2.8

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CreateNotificationRequestDTO) SetCreatedById added in v1.2.8

func (o *CreateNotificationRequestDTO) SetCreatedById(v uuid.UUID)

SetCreatedById gets a reference to the given uuid.UUID and assigns it to the CreatedById field.

func (*CreateNotificationRequestDTO) SetCreatedByName added in v1.2.8

func (o *CreateNotificationRequestDTO) SetCreatedByName(v string)

SetCreatedByName gets a reference to the given string and assigns it to the CreatedByName field.

func (*CreateNotificationRequestDTO) SetEventCategory added in v1.2.8

SetEventCategory gets a reference to the given NotificationEventCategory and assigns it to the EventCategory field.

func (*CreateNotificationRequestDTO) SetMessage added in v1.2.8

func (o *CreateNotificationRequestDTO) SetMessage(v string)

SetMessage sets field value

func (*CreateNotificationRequestDTO) SetService added in v1.2.8

func (o *CreateNotificationRequestDTO) SetService(v string)

SetService sets field value

func (*CreateNotificationRequestDTO) SetTargets added in v1.2.8

func (o *CreateNotificationRequestDTO) SetTargets(v map[string][]string)

SetTargets gets a reference to the given map[string][]string and assigns it to the Targets field.

type GenericOpenAPIError added in v1.2.8

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

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

func (GenericOpenAPIError) Body added in v1.2.8

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error added in v1.2.8

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model added in v1.2.8

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HealthApiService

type HealthApiService service

HealthApiService HealthApi service

func (*HealthApiService) GetHealthV1

GetHealthV1 Service health check

Shows if the service is running or not

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

func (*HealthApiService) GetHealthV1Execute added in v1.2.8

func (a *HealthApiService) GetHealthV1Execute(r ApiGetHealthV1Request) (*HealthCheck, *http.Response, error)

Execute executes the request

@return HealthCheck

type HealthCheck added in v1.2.8

type HealthCheck struct {
	ApiVersion []string `json:"apiVersion,omitempty"`
	Service    *string  `json:"service,omitempty"`
	Status     *string  `json:"status,omitempty"`
}

HealthCheck struct for HealthCheck

func NewHealthCheck added in v1.2.8

func NewHealthCheck() *HealthCheck

NewHealthCheck instantiates a new HealthCheck 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 NewHealthCheckWithDefaults added in v1.2.8

func NewHealthCheckWithDefaults() *HealthCheck

NewHealthCheckWithDefaults instantiates a new HealthCheck 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 (*HealthCheck) GetApiVersion added in v1.2.8

func (o *HealthCheck) GetApiVersion() []string

GetApiVersion returns the ApiVersion field value if set, zero value otherwise.

func (*HealthCheck) GetApiVersionOk added in v1.2.8

func (o *HealthCheck) GetApiVersionOk() ([]string, bool)

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

func (*HealthCheck) GetService added in v1.2.8

func (o *HealthCheck) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*HealthCheck) GetServiceOk added in v1.2.8

func (o *HealthCheck) GetServiceOk() (*string, bool)

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

func (*HealthCheck) GetStatus added in v1.2.8

func (o *HealthCheck) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*HealthCheck) GetStatusOk added in v1.2.8

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

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

func (*HealthCheck) HasApiVersion added in v1.2.8

func (o *HealthCheck) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

func (*HealthCheck) HasService added in v1.2.8

func (o *HealthCheck) HasService() bool

HasService returns a boolean if a field has been set.

func (*HealthCheck) HasStatus added in v1.2.8

func (o *HealthCheck) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (HealthCheck) MarshalJSON added in v1.2.8

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

func (*HealthCheck) SetApiVersion added in v1.2.8

func (o *HealthCheck) SetApiVersion(v []string)

SetApiVersion gets a reference to the given []string and assigns it to the ApiVersion field.

func (*HealthCheck) SetService added in v1.2.8

func (o *HealthCheck) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*HealthCheck) SetStatus added in v1.2.8

func (o *HealthCheck) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type LogLevel added in v1.2.8

type LogLevel int32

LogLevel the model 'LogLevel'

const (
	Debug   LogLevel = 0
	Info    LogLevel = 1
	Warning LogLevel = 2
	Error   LogLevel = 3
	Fatal   LogLevel = 4
	Panic   LogLevel = 5
	Trace   LogLevel = -1
)

List of LogLevel

func NewLogLevelFromValue added in v1.2.8

func NewLogLevelFromValue(v int32) (*LogLevel, error)

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

func (LogLevel) IsValid added in v1.2.8

func (v LogLevel) IsValid() bool

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

func (LogLevel) Ptr added in v1.2.8

func (v LogLevel) Ptr() *LogLevel

Ptr returns reference to LogLevel value

func (*LogLevel) UnmarshalJSON added in v1.2.8

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

type NotificationApiService added in v1.0.61

type NotificationApiService service

NotificationApiService NotificationApi service

func (*NotificationApiService) CreateNotificationV1 added in v1.0.61

CreateNotificationV1 Create notification

Creates a new notification

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

func (*NotificationApiService) CreateNotificationV1Execute added in v1.2.8

func (a *NotificationApiService) CreateNotificationV1Execute(r ApiCreateNotificationV1Request) (*http.Response, error)

Execute executes the request

func (*NotificationApiService) GetNotificationMessagesV1 added in v1.0.63

GetNotificationMessagesV1 Get notification messages

Gets all notification message

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

func (*NotificationApiService) GetNotificationMessagesV1Execute added in v1.2.8

Execute executes the request

@return NotificationMessageListPageResponse

func (*NotificationApiService) PeekNotificationMessagesV1 added in v1.0.77

PeekNotificationMessagesV1 Peek notification messages

Gets portion of the notification messages

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

func (*NotificationApiService) PeekNotificationMessagesV1Execute added in v1.2.8

Execute executes the request

@return NotificationMessageListPageResponse

func (*NotificationApiService) UpdateNotificationMessageV1 added in v1.0.63

func (a *NotificationApiService) UpdateNotificationMessageV1(ctx context.Context, id uuid.UUID) ApiUpdateNotificationMessageV1Request

UpdateNotificationMessageV1 Update notification message

Updates a notification message by the optionally provided properties

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Message ID
@return ApiUpdateNotificationMessageV1Request

func (*NotificationApiService) UpdateNotificationMessageV1Execute added in v1.2.8

func (a *NotificationApiService) UpdateNotificationMessageV1Execute(r ApiUpdateNotificationMessageV1Request) (*http.Response, error)

Execute executes the request

type NotificationEventCategory added in v1.2.8

type NotificationEventCategory string

NotificationEventCategory the model 'NotificationEventCategory'

const (
	Notification NotificationEventCategory = "NOTIFICATION"
)

List of NotificationEventCategory

func NewNotificationEventCategoryFromValue added in v1.2.8

func NewNotificationEventCategoryFromValue(v string) (*NotificationEventCategory, error)

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

func (NotificationEventCategory) IsValid added in v1.2.8

func (v NotificationEventCategory) IsValid() bool

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

func (NotificationEventCategory) Ptr added in v1.2.8

Ptr returns reference to NotificationEventCategory value

func (*NotificationEventCategory) UnmarshalJSON added in v1.2.8

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

type NotificationMessageDTO added in v1.2.8

type NotificationMessageDTO struct {
	// The notification timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The user's ID who created
	CreatedById *uuid.UUID `json:"createdById,omitempty"`
	// The user's name who created
	CreatedByName *string `json:"createdByName,omitempty"`
	// The ID
	Id *uuid.UUID `json:"id,omitempty"`
	// The notification message
	Message *string `json:"message,omitempty"`
	// The service which sent the notification
	Service *string `json:"service,omitempty"`
	// The status of the message
	Status *NotificationStatus `json:"status,omitempty"`
}

NotificationMessageDTO struct for NotificationMessageDTO

func NewNotificationMessageDTO added in v1.2.8

func NewNotificationMessageDTO() *NotificationMessageDTO

NewNotificationMessageDTO instantiates a new NotificationMessageDTO 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 NewNotificationMessageDTOWithDefaults added in v1.2.8

func NewNotificationMessageDTOWithDefaults() *NotificationMessageDTO

NewNotificationMessageDTOWithDefaults instantiates a new NotificationMessageDTO 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 (*NotificationMessageDTO) GetCreatedAt added in v1.2.8

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NotificationMessageDTO) GetCreatedAtOk added in v1.2.8

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

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

func (*NotificationMessageDTO) GetCreatedById added in v1.2.8

func (o *NotificationMessageDTO) GetCreatedById() uuid.UUID

GetCreatedById returns the CreatedById field value if set, zero value otherwise.

func (*NotificationMessageDTO) GetCreatedByIdOk added in v1.2.8

func (o *NotificationMessageDTO) GetCreatedByIdOk() (*uuid.UUID, bool)

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

func (*NotificationMessageDTO) GetCreatedByName added in v1.2.8

func (o *NotificationMessageDTO) GetCreatedByName() string

GetCreatedByName returns the CreatedByName field value if set, zero value otherwise.

func (*NotificationMessageDTO) GetCreatedByNameOk added in v1.2.8

func (o *NotificationMessageDTO) GetCreatedByNameOk() (*string, bool)

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

func (*NotificationMessageDTO) GetId added in v1.2.8

func (o *NotificationMessageDTO) GetId() uuid.UUID

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

func (*NotificationMessageDTO) GetIdOk added in v1.2.8

func (o *NotificationMessageDTO) GetIdOk() (*uuid.UUID, 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 (*NotificationMessageDTO) GetMessage added in v1.2.8

func (o *NotificationMessageDTO) GetMessage() string

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

func (*NotificationMessageDTO) GetMessageOk added in v1.2.8

func (o *NotificationMessageDTO) 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 (*NotificationMessageDTO) GetService added in v1.2.8

func (o *NotificationMessageDTO) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*NotificationMessageDTO) GetServiceOk added in v1.2.8

func (o *NotificationMessageDTO) GetServiceOk() (*string, bool)

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

func (*NotificationMessageDTO) GetStatus added in v1.2.8

GetStatus returns the Status field value if set, zero value otherwise.

func (*NotificationMessageDTO) GetStatusOk added in v1.2.8

func (o *NotificationMessageDTO) GetStatusOk() (*NotificationStatus, bool)

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

func (*NotificationMessageDTO) HasCreatedAt added in v1.2.8

func (o *NotificationMessageDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasCreatedById added in v1.2.8

func (o *NotificationMessageDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasCreatedByName added in v1.2.8

func (o *NotificationMessageDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasId added in v1.2.8

func (o *NotificationMessageDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasMessage added in v1.2.8

func (o *NotificationMessageDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasService added in v1.2.8

func (o *NotificationMessageDTO) HasService() bool

HasService returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasStatus added in v1.2.8

func (o *NotificationMessageDTO) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (NotificationMessageDTO) MarshalJSON added in v1.2.8

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

func (*NotificationMessageDTO) SetCreatedAt added in v1.2.8

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NotificationMessageDTO) SetCreatedById added in v1.2.8

func (o *NotificationMessageDTO) SetCreatedById(v uuid.UUID)

SetCreatedById gets a reference to the given uuid.UUID and assigns it to the CreatedById field.

func (*NotificationMessageDTO) SetCreatedByName added in v1.2.8

func (o *NotificationMessageDTO) SetCreatedByName(v string)

SetCreatedByName gets a reference to the given string and assigns it to the CreatedByName field.

func (*NotificationMessageDTO) SetId added in v1.2.8

func (o *NotificationMessageDTO) SetId(v uuid.UUID)

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

func (*NotificationMessageDTO) SetMessage added in v1.2.8

func (o *NotificationMessageDTO) SetMessage(v string)

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

func (*NotificationMessageDTO) SetService added in v1.2.8

func (o *NotificationMessageDTO) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*NotificationMessageDTO) SetStatus added in v1.2.8

SetStatus gets a reference to the given NotificationStatus and assigns it to the Status field.

type NotificationMessageListPageResponse added in v1.0.63

type NotificationMessageListPageResponse struct {
	// The actual page number
	CurrentPage *int32 `json:"currentPage,omitempty"`
	// The items
	Items []NotificationMessageDTO `json:"items,omitempty"`
	// The number of items per page
	PageSize *int32 `json:"pageSize,omitempty"`
	// The total count of items
	TotalCount *int32 `json:"totalCount,omitempty"`
	// The total pages
	TotalPages *int32 `json:"totalPages,omitempty"`
}

NotificationMessageListPageResponse struct for NotificationMessageListPageResponse

func NewNotificationMessageListPageResponse added in v1.2.8

func NewNotificationMessageListPageResponse() *NotificationMessageListPageResponse

NewNotificationMessageListPageResponse instantiates a new NotificationMessageListPageResponse 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 NewNotificationMessageListPageResponseWithDefaults added in v1.2.8

func NewNotificationMessageListPageResponseWithDefaults() *NotificationMessageListPageResponse

NewNotificationMessageListPageResponseWithDefaults instantiates a new NotificationMessageListPageResponse 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 (*NotificationMessageListPageResponse) GetCurrentPage added in v1.2.8

func (o *NotificationMessageListPageResponse) GetCurrentPage() int32

GetCurrentPage returns the CurrentPage field value if set, zero value otherwise.

func (*NotificationMessageListPageResponse) GetCurrentPageOk added in v1.2.8

func (o *NotificationMessageListPageResponse) GetCurrentPageOk() (*int32, bool)

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

func (*NotificationMessageListPageResponse) GetItems added in v1.2.8

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

func (*NotificationMessageListPageResponse) GetItemsOk added in v1.2.8

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 (*NotificationMessageListPageResponse) GetPageSize added in v1.2.8

func (o *NotificationMessageListPageResponse) GetPageSize() int32

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*NotificationMessageListPageResponse) GetPageSizeOk added in v1.2.8

func (o *NotificationMessageListPageResponse) GetPageSizeOk() (*int32, bool)

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

func (*NotificationMessageListPageResponse) GetTotalCount added in v1.2.8

func (o *NotificationMessageListPageResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*NotificationMessageListPageResponse) GetTotalCountOk added in v1.2.8

func (o *NotificationMessageListPageResponse) GetTotalCountOk() (*int32, bool)

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

func (*NotificationMessageListPageResponse) GetTotalPages added in v1.2.8

func (o *NotificationMessageListPageResponse) GetTotalPages() int32

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*NotificationMessageListPageResponse) GetTotalPagesOk added in v1.2.8

func (o *NotificationMessageListPageResponse) GetTotalPagesOk() (*int32, bool)

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

func (*NotificationMessageListPageResponse) HasCurrentPage added in v1.2.8

func (o *NotificationMessageListPageResponse) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

func (*NotificationMessageListPageResponse) HasItems added in v1.2.8

HasItems returns a boolean if a field has been set.

func (*NotificationMessageListPageResponse) HasPageSize added in v1.2.8

func (o *NotificationMessageListPageResponse) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*NotificationMessageListPageResponse) HasTotalCount added in v1.2.8

func (o *NotificationMessageListPageResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*NotificationMessageListPageResponse) HasTotalPages added in v1.2.8

func (o *NotificationMessageListPageResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (NotificationMessageListPageResponse) MarshalJSON added in v1.2.8

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

func (*NotificationMessageListPageResponse) SetCurrentPage added in v1.2.8

func (o *NotificationMessageListPageResponse) SetCurrentPage(v int32)

SetCurrentPage gets a reference to the given int32 and assigns it to the CurrentPage field.

func (*NotificationMessageListPageResponse) SetItems added in v1.2.8

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

func (*NotificationMessageListPageResponse) SetPageSize added in v1.2.8

func (o *NotificationMessageListPageResponse) SetPageSize(v int32)

SetPageSize gets a reference to the given int32 and assigns it to the PageSize field.

func (*NotificationMessageListPageResponse) SetTotalCount added in v1.2.8

func (o *NotificationMessageListPageResponse) SetTotalCount(v int32)

SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field.

func (*NotificationMessageListPageResponse) SetTotalPages added in v1.2.8

func (o *NotificationMessageListPageResponse) SetTotalPages(v int32)

SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.

type NotificationStatus added in v1.2.8

type NotificationStatus string

NotificationStatus the model 'NotificationStatus'

const (
	NotificationError NotificationStatus = "ERROR"
	NotificationNew   NotificationStatus = "NEW"
	NotificationSeen  NotificationStatus = "SEEN"
	NotificationSent  NotificationStatus = "SENT"
)

List of NotificationStatus

func NewNotificationStatusFromValue added in v1.2.8

func NewNotificationStatusFromValue(v string) (*NotificationStatus, error)

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

func (NotificationStatus) IsValid added in v1.2.8

func (v NotificationStatus) IsValid() bool

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

func (NotificationStatus) Ptr added in v1.2.8

Ptr returns reference to NotificationStatus value

func (*NotificationStatus) UnmarshalJSON added in v1.2.8

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

type NullableAuditLogChangeDTO added in v1.2.8

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

func NewNullableAuditLogChangeDTO added in v1.2.8

func NewNullableAuditLogChangeDTO(val *AuditLogChangeDTO) *NullableAuditLogChangeDTO

func (NullableAuditLogChangeDTO) Get added in v1.2.8

func (NullableAuditLogChangeDTO) IsSet added in v1.2.8

func (v NullableAuditLogChangeDTO) IsSet() bool

func (NullableAuditLogChangeDTO) MarshalJSON added in v1.2.8

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

func (*NullableAuditLogChangeDTO) Set added in v1.2.8

func (*NullableAuditLogChangeDTO) UnmarshalJSON added in v1.2.8

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

func (*NullableAuditLogChangeDTO) Unset added in v1.2.8

func (v *NullableAuditLogChangeDTO) Unset()

type NullableAuditLogDTO added in v1.2.8

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

func NewNullableAuditLogDTO added in v1.2.8

func NewNullableAuditLogDTO(val *AuditLogDTO) *NullableAuditLogDTO

func (NullableAuditLogDTO) Get added in v1.2.8

func (NullableAuditLogDTO) IsSet added in v1.2.8

func (v NullableAuditLogDTO) IsSet() bool

func (NullableAuditLogDTO) MarshalJSON added in v1.2.8

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

func (*NullableAuditLogDTO) Set added in v1.2.8

func (v *NullableAuditLogDTO) Set(val *AuditLogDTO)

func (*NullableAuditLogDTO) UnmarshalJSON added in v1.2.8

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

func (*NullableAuditLogDTO) Unset added in v1.2.8

func (v *NullableAuditLogDTO) Unset()

type NullableAuditLogListPageResponse added in v1.2.8

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

func NewNullableAuditLogListPageResponse added in v1.2.8

func NewNullableAuditLogListPageResponse(val *AuditLogListPageResponse) *NullableAuditLogListPageResponse

func (NullableAuditLogListPageResponse) Get added in v1.2.8

func (NullableAuditLogListPageResponse) IsSet added in v1.2.8

func (NullableAuditLogListPageResponse) MarshalJSON added in v1.2.8

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

func (*NullableAuditLogListPageResponse) Set added in v1.2.8

func (*NullableAuditLogListPageResponse) UnmarshalJSON added in v1.2.8

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

func (*NullableAuditLogListPageResponse) Unset added in v1.2.8

type NullableAuditLogSimpleDTO added in v1.2.23

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

func NewNullableAuditLogSimpleDTO added in v1.2.23

func NewNullableAuditLogSimpleDTO(val *AuditLogSimpleDTO) *NullableAuditLogSimpleDTO

func (NullableAuditLogSimpleDTO) Get added in v1.2.23

func (NullableAuditLogSimpleDTO) IsSet added in v1.2.23

func (v NullableAuditLogSimpleDTO) IsSet() bool

func (NullableAuditLogSimpleDTO) MarshalJSON added in v1.2.23

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

func (*NullableAuditLogSimpleDTO) Set added in v1.2.23

func (*NullableAuditLogSimpleDTO) UnmarshalJSON added in v1.2.23

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

func (*NullableAuditLogSimpleDTO) Unset added in v1.2.23

func (v *NullableAuditLogSimpleDTO) Unset()

type NullableBool added in v1.2.8

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

func NewNullableBool added in v1.2.8

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get added in v1.2.8

func (v NullableBool) Get() *bool

func (NullableBool) IsSet added in v1.2.8

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON added in v1.2.8

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

func (*NullableBool) Set added in v1.2.8

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

func (*NullableBool) UnmarshalJSON added in v1.2.8

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

func (*NullableBool) Unset added in v1.2.8

func (v *NullableBool) Unset()

type NullableConsoleLogDTO added in v1.2.8

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

func NewNullableConsoleLogDTO added in v1.2.8

func NewNullableConsoleLogDTO(val *ConsoleLogDTO) *NullableConsoleLogDTO

func (NullableConsoleLogDTO) Get added in v1.2.8

func (NullableConsoleLogDTO) IsSet added in v1.2.8

func (v NullableConsoleLogDTO) IsSet() bool

func (NullableConsoleLogDTO) MarshalJSON added in v1.2.8

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

func (*NullableConsoleLogDTO) Set added in v1.2.8

func (v *NullableConsoleLogDTO) Set(val *ConsoleLogDTO)

func (*NullableConsoleLogDTO) UnmarshalJSON added in v1.2.8

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

func (*NullableConsoleLogDTO) Unset added in v1.2.8

func (v *NullableConsoleLogDTO) Unset()

type NullableConsoleLogListPageResponse added in v1.2.8

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

func NewNullableConsoleLogListPageResponse added in v1.2.8

func NewNullableConsoleLogListPageResponse(val *ConsoleLogListPageResponse) *NullableConsoleLogListPageResponse

func (NullableConsoleLogListPageResponse) Get added in v1.2.8

func (NullableConsoleLogListPageResponse) IsSet added in v1.2.8

func (NullableConsoleLogListPageResponse) MarshalJSON added in v1.2.8

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

func (*NullableConsoleLogListPageResponse) Set added in v1.2.8

func (*NullableConsoleLogListPageResponse) UnmarshalJSON added in v1.2.8

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

func (*NullableConsoleLogListPageResponse) Unset added in v1.2.8

type NullableCreateAuditLogChangeDTO added in v1.2.8

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

func NewNullableCreateAuditLogChangeDTO added in v1.2.8

func NewNullableCreateAuditLogChangeDTO(val *CreateAuditLogChangeDTO) *NullableCreateAuditLogChangeDTO

func (NullableCreateAuditLogChangeDTO) Get added in v1.2.8

func (NullableCreateAuditLogChangeDTO) IsSet added in v1.2.8

func (NullableCreateAuditLogChangeDTO) MarshalJSON added in v1.2.8

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

func (*NullableCreateAuditLogChangeDTO) Set added in v1.2.8

func (*NullableCreateAuditLogChangeDTO) UnmarshalJSON added in v1.2.8

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

func (*NullableCreateAuditLogChangeDTO) Unset added in v1.2.8

type NullableCreateAuditLogRequestDTO added in v1.2.8

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

func NewNullableCreateAuditLogRequestDTO added in v1.2.8

func NewNullableCreateAuditLogRequestDTO(val *CreateAuditLogRequestDTO) *NullableCreateAuditLogRequestDTO

func (NullableCreateAuditLogRequestDTO) Get added in v1.2.8

func (NullableCreateAuditLogRequestDTO) IsSet added in v1.2.8

func (NullableCreateAuditLogRequestDTO) MarshalJSON added in v1.2.8

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

func (*NullableCreateAuditLogRequestDTO) Set added in v1.2.8

func (*NullableCreateAuditLogRequestDTO) UnmarshalJSON added in v1.2.8

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

func (*NullableCreateAuditLogRequestDTO) Unset added in v1.2.8

type NullableCreateConsoleLogRequestDTO added in v1.2.8

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

func NewNullableCreateConsoleLogRequestDTO added in v1.2.8

func NewNullableCreateConsoleLogRequestDTO(val *CreateConsoleLogRequestDTO) *NullableCreateConsoleLogRequestDTO

func (NullableCreateConsoleLogRequestDTO) Get added in v1.2.8

func (NullableCreateConsoleLogRequestDTO) IsSet added in v1.2.8

func (NullableCreateConsoleLogRequestDTO) MarshalJSON added in v1.2.8

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

func (*NullableCreateConsoleLogRequestDTO) Set added in v1.2.8

func (*NullableCreateConsoleLogRequestDTO) UnmarshalJSON added in v1.2.8

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

func (*NullableCreateConsoleLogRequestDTO) Unset added in v1.2.8

type NullableCreateNotificationRequestDTO added in v1.2.8

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

func NewNullableCreateNotificationRequestDTO added in v1.2.8

func NewNullableCreateNotificationRequestDTO(val *CreateNotificationRequestDTO) *NullableCreateNotificationRequestDTO

func (NullableCreateNotificationRequestDTO) Get added in v1.2.8

func (NullableCreateNotificationRequestDTO) IsSet added in v1.2.8

func (NullableCreateNotificationRequestDTO) MarshalJSON added in v1.2.8

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

func (*NullableCreateNotificationRequestDTO) Set added in v1.2.8

func (*NullableCreateNotificationRequestDTO) UnmarshalJSON added in v1.2.8

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

func (*NullableCreateNotificationRequestDTO) Unset added in v1.2.8

type NullableFloat32 added in v1.2.8

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

func NewNullableFloat32 added in v1.2.8

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get added in v1.2.8

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet added in v1.2.8

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON added in v1.2.8

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

func (*NullableFloat32) Set added in v1.2.8

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

func (*NullableFloat32) UnmarshalJSON added in v1.2.8

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

func (*NullableFloat32) Unset added in v1.2.8

func (v *NullableFloat32) Unset()

type NullableFloat64 added in v1.2.8

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

func NewNullableFloat64 added in v1.2.8

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get added in v1.2.8

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet added in v1.2.8

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON added in v1.2.8

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

func (*NullableFloat64) Set added in v1.2.8

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

func (*NullableFloat64) UnmarshalJSON added in v1.2.8

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

func (*NullableFloat64) Unset added in v1.2.8

func (v *NullableFloat64) Unset()

type NullableHealthCheck added in v1.2.8

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

func NewNullableHealthCheck added in v1.2.8

func NewNullableHealthCheck(val *HealthCheck) *NullableHealthCheck

func (NullableHealthCheck) Get added in v1.2.8

func (NullableHealthCheck) IsSet added in v1.2.8

func (v NullableHealthCheck) IsSet() bool

func (NullableHealthCheck) MarshalJSON added in v1.2.8

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

func (*NullableHealthCheck) Set added in v1.2.8

func (v *NullableHealthCheck) Set(val *HealthCheck)

func (*NullableHealthCheck) UnmarshalJSON added in v1.2.8

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

func (*NullableHealthCheck) Unset added in v1.2.8

func (v *NullableHealthCheck) Unset()

type NullableInt added in v1.2.8

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

func NewNullableInt added in v1.2.8

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get added in v1.2.8

func (v NullableInt) Get() *int

func (NullableInt) IsSet added in v1.2.8

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON added in v1.2.8

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

func (*NullableInt) Set added in v1.2.8

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

func (*NullableInt) UnmarshalJSON added in v1.2.8

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

func (*NullableInt) Unset added in v1.2.8

func (v *NullableInt) Unset()

type NullableInt32 added in v1.2.8

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

func NewNullableInt32 added in v1.2.8

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get added in v1.2.8

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet added in v1.2.8

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON added in v1.2.8

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

func (*NullableInt32) Set added in v1.2.8

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

func (*NullableInt32) UnmarshalJSON added in v1.2.8

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

func (*NullableInt32) Unset added in v1.2.8

func (v *NullableInt32) Unset()

type NullableInt64 added in v1.2.8

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

func NewNullableInt64 added in v1.2.8

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get added in v1.2.8

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet added in v1.2.8

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON added in v1.2.8

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

func (*NullableInt64) Set added in v1.2.8

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

func (*NullableInt64) UnmarshalJSON added in v1.2.8

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

func (*NullableInt64) Unset added in v1.2.8

func (v *NullableInt64) Unset()

type NullableLogLevel added in v1.2.8

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

func NewNullableLogLevel added in v1.2.8

func NewNullableLogLevel(val *LogLevel) *NullableLogLevel

func (NullableLogLevel) Get added in v1.2.8

func (v NullableLogLevel) Get() *LogLevel

func (NullableLogLevel) IsSet added in v1.2.8

func (v NullableLogLevel) IsSet() bool

func (NullableLogLevel) MarshalJSON added in v1.2.8

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

func (*NullableLogLevel) Set added in v1.2.8

func (v *NullableLogLevel) Set(val *LogLevel)

func (*NullableLogLevel) UnmarshalJSON added in v1.2.8

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

func (*NullableLogLevel) Unset added in v1.2.8

func (v *NullableLogLevel) Unset()

type NullableNotificationEventCategory added in v1.2.8

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

func NewNullableNotificationEventCategory added in v1.2.8

func NewNullableNotificationEventCategory(val *NotificationEventCategory) *NullableNotificationEventCategory

func (NullableNotificationEventCategory) Get added in v1.2.8

func (NullableNotificationEventCategory) IsSet added in v1.2.8

func (NullableNotificationEventCategory) MarshalJSON added in v1.2.8

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

func (*NullableNotificationEventCategory) Set added in v1.2.8

func (*NullableNotificationEventCategory) UnmarshalJSON added in v1.2.8

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

func (*NullableNotificationEventCategory) Unset added in v1.2.8

type NullableNotificationMessageDTO added in v1.2.8

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

func NewNullableNotificationMessageDTO added in v1.2.8

func NewNullableNotificationMessageDTO(val *NotificationMessageDTO) *NullableNotificationMessageDTO

func (NullableNotificationMessageDTO) Get added in v1.2.8

func (NullableNotificationMessageDTO) IsSet added in v1.2.8

func (NullableNotificationMessageDTO) MarshalJSON added in v1.2.8

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

func (*NullableNotificationMessageDTO) Set added in v1.2.8

func (*NullableNotificationMessageDTO) UnmarshalJSON added in v1.2.8

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

func (*NullableNotificationMessageDTO) Unset added in v1.2.8

func (v *NullableNotificationMessageDTO) Unset()

type NullableNotificationMessageListPageResponse added in v1.2.8

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

func NewNullableNotificationMessageListPageResponse added in v1.2.8

func NewNullableNotificationMessageListPageResponse(val *NotificationMessageListPageResponse) *NullableNotificationMessageListPageResponse

func (NullableNotificationMessageListPageResponse) Get added in v1.2.8

func (NullableNotificationMessageListPageResponse) IsSet added in v1.2.8

func (NullableNotificationMessageListPageResponse) MarshalJSON added in v1.2.8

func (*NullableNotificationMessageListPageResponse) Set added in v1.2.8

func (*NullableNotificationMessageListPageResponse) UnmarshalJSON added in v1.2.8

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

func (*NullableNotificationMessageListPageResponse) Unset added in v1.2.8

type NullableNotificationStatus added in v1.2.8

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

func NewNullableNotificationStatus added in v1.2.8

func NewNullableNotificationStatus(val *NotificationStatus) *NullableNotificationStatus

func (NullableNotificationStatus) Get added in v1.2.8

func (NullableNotificationStatus) IsSet added in v1.2.8

func (v NullableNotificationStatus) IsSet() bool

func (NullableNotificationStatus) MarshalJSON added in v1.2.8

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

func (*NullableNotificationStatus) Set added in v1.2.8

func (*NullableNotificationStatus) UnmarshalJSON added in v1.2.8

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

func (*NullableNotificationStatus) Unset added in v1.2.8

func (v *NullableNotificationStatus) Unset()

type NullableSortDirection added in v1.2.8

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

func NewNullableSortDirection added in v1.2.8

func NewNullableSortDirection(val *SortDirection) *NullableSortDirection

func (NullableSortDirection) Get added in v1.2.8

func (NullableSortDirection) IsSet added in v1.2.8

func (v NullableSortDirection) IsSet() bool

func (NullableSortDirection) MarshalJSON added in v1.2.8

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

func (*NullableSortDirection) Set added in v1.2.8

func (v *NullableSortDirection) Set(val *SortDirection)

func (*NullableSortDirection) UnmarshalJSON added in v1.2.8

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

func (*NullableSortDirection) Unset added in v1.2.8

func (v *NullableSortDirection) Unset()

type NullableString added in v1.2.8

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

func NewNullableString added in v1.2.8

func NewNullableString(val *string) *NullableString

func (NullableString) Get added in v1.2.8

func (v NullableString) Get() *string

func (NullableString) IsSet added in v1.2.8

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON added in v1.2.8

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

func (*NullableString) Set added in v1.2.8

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON added in v1.2.8

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

func (*NullableString) Unset added in v1.2.8

func (v *NullableString) Unset()

type NullableTime added in v1.2.8

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

func NewNullableTime added in v1.2.8

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get added in v1.2.8

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet added in v1.2.8

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON added in v1.2.8

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

func (*NullableTime) Set added in v1.2.8

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON added in v1.2.8

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

func (*NullableTime) Unset added in v1.2.8

func (v *NullableTime) Unset()

type NullableUpdateNotificationMessageRequestDTO added in v1.2.8

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

func NewNullableUpdateNotificationMessageRequestDTO added in v1.2.8

func NewNullableUpdateNotificationMessageRequestDTO(val *UpdateNotificationMessageRequestDTO) *NullableUpdateNotificationMessageRequestDTO

func (NullableUpdateNotificationMessageRequestDTO) Get added in v1.2.8

func (NullableUpdateNotificationMessageRequestDTO) IsSet added in v1.2.8

func (NullableUpdateNotificationMessageRequestDTO) MarshalJSON added in v1.2.8

func (*NullableUpdateNotificationMessageRequestDTO) Set added in v1.2.8

func (*NullableUpdateNotificationMessageRequestDTO) UnmarshalJSON added in v1.2.8

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

func (*NullableUpdateNotificationMessageRequestDTO) Unset added in v1.2.8

type ServerConfiguration added in v1.2.8

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations added in v1.2.8

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL added in v1.2.8

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable added in v1.2.8

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SortDirection added in v1.2.8

type SortDirection string

SortDirection the model 'SortDirection'

const (
	SortAsc  SortDirection = "asc"
	SortDesc SortDirection = "desc"
	SortNone SortDirection = ""
)

List of SortDirection

func NewSortDirectionFromValue added in v1.2.8

func NewSortDirectionFromValue(v string) (*SortDirection, error)

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

func (SortDirection) IsValid added in v1.2.8

func (v SortDirection) IsValid() bool

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

func (SortDirection) Ptr added in v1.2.8

func (v SortDirection) Ptr() *SortDirection

Ptr returns reference to SortDirection value

func (*SortDirection) UnmarshalJSON added in v1.2.8

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

type UpdateNotificationMessageRequestDTO added in v1.2.8

type UpdateNotificationMessageRequestDTO struct {
	// The status of the message (only the \"SEEN\" status is supported)
	Status *string `json:"status,omitempty"`
}

UpdateNotificationMessageRequestDTO struct for UpdateNotificationMessageRequestDTO

func NewUpdateNotificationMessageRequestDTO added in v1.2.8

func NewUpdateNotificationMessageRequestDTO() *UpdateNotificationMessageRequestDTO

NewUpdateNotificationMessageRequestDTO instantiates a new UpdateNotificationMessageRequestDTO 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 NewUpdateNotificationMessageRequestDTOWithDefaults added in v1.2.8

func NewUpdateNotificationMessageRequestDTOWithDefaults() *UpdateNotificationMessageRequestDTO

NewUpdateNotificationMessageRequestDTOWithDefaults instantiates a new UpdateNotificationMessageRequestDTO 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 (*UpdateNotificationMessageRequestDTO) GetStatus added in v1.2.8

GetStatus returns the Status field value if set, zero value otherwise.

func (*UpdateNotificationMessageRequestDTO) GetStatusOk added in v1.2.8

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

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

func (*UpdateNotificationMessageRequestDTO) HasStatus added in v1.2.8

HasStatus returns a boolean if a field has been set.

func (UpdateNotificationMessageRequestDTO) MarshalJSON added in v1.2.8

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

func (*UpdateNotificationMessageRequestDTO) SetStatus added in v1.2.8

SetStatus gets a reference to the given string and assigns it to the Status field.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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