logcomapi

package module
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 23 Imported by: 0

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/blutspende/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

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	AuditLogApi *AuditLogApiService

	ConsoleLogApi *ConsoleLogApiService

	HealthApi *HealthApiService

	NotificationApi *NotificationApiService
	// contains filtered or unexported fields
}

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

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiCreateAuditLogV1IntRequest

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

func (ApiCreateAuditLogV1IntRequest) Execute

func (ApiCreateAuditLogV1IntRequest) Model

The audit log DTO

type ApiCreateAuditLogsV1IntRequest added in v1.3.6

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

func (ApiCreateAuditLogsV1IntRequest) Execute added in v1.3.6

func (ApiCreateAuditLogsV1IntRequest) Model added in v1.3.6

The audit log DTOs

type ApiCreateConsoleLogV1IntRequest

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

func (ApiCreateConsoleLogV1IntRequest) Execute

func (ApiCreateConsoleLogV1IntRequest) Model

The console log DTO

type ApiCreateNotificationV1Request

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

func (ApiCreateNotificationV1Request) Execute

func (ApiCreateNotificationV1Request) Model

The notification DTO

type ApiGetAuditLogByIDV1Request

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

func (ApiGetAuditLogByIDV1Request) Execute

type ApiGetAuditLogsV1Request

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

func (ApiGetAuditLogsV1Request) Direction

The sorting direction

func (ApiGetAuditLogsV1Request) Execute

func (ApiGetAuditLogsV1Request) Filter

The search term

func (ApiGetAuditLogsV1Request) Page

The desired page number

func (ApiGetAuditLogsV1Request) PageSize

The desired number of items per page

func (ApiGetAuditLogsV1Request) Sort

The sorting parameter

type ApiGetConsoleLogsV1Request

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

func (ApiGetConsoleLogsV1Request) Direction

The sorting direction

func (ApiGetConsoleLogsV1Request) Execute

func (ApiGetConsoleLogsV1Request) Filter

The search term

func (ApiGetConsoleLogsV1Request) Page

The desired page number

func (ApiGetConsoleLogsV1Request) PageSize

The desired number of items per page

func (ApiGetConsoleLogsV1Request) Sort

The sorting parameter

type ApiGetHealthV1Request

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

func (ApiGetHealthV1Request) Execute

type ApiGetNotificationMessagesV1Request

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

func (ApiGetNotificationMessagesV1Request) Direction

The sorting direction

func (ApiGetNotificationMessagesV1Request) Execute

func (ApiGetNotificationMessagesV1Request) Filter

The search term

func (ApiGetNotificationMessagesV1Request) Page

The desired page number

func (ApiGetNotificationMessagesV1Request) PageSize

The desired number of items per page

func (ApiGetNotificationMessagesV1Request) Sort

The sorting parameter

type ApiPeekNotificationMessagesV1Request

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

func (ApiPeekNotificationMessagesV1Request) Execute

type ApiUpdateNotificationMessageV1Request

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

func (ApiUpdateNotificationMessageV1Request) Execute

func (ApiUpdateNotificationMessageV1Request) Model

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

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

Execute executes the request

func (*AuditLogApiService) CreateAuditLogsV1Int added in v1.3.6

CreateAuditLogsV1Int Create audit logs

Creates new audit logs

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

func (*AuditLogApiService) CreateAuditLogsV1IntExecute added in v1.3.6

func (a *AuditLogApiService) CreateAuditLogsV1IntExecute(r ApiCreateAuditLogsV1IntRequest) (*http.Response, error)

Execute executes the request

func (*AuditLogApiService) GetAuditLogByIDV1

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

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

Execute executes the request

@return AuditLogListPageResponse

type AuditLogChangeDTO

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

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

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

func (o *AuditLogChangeDTO) GetCategory() string

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

func (*AuditLogChangeDTO) GetCategoryOk

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

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

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

func (*AuditLogChangeDTO) GetIdOk

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

func (o *AuditLogChangeDTO) GetMessage() string

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

func (*AuditLogChangeDTO) GetMessageOk

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

func (o *AuditLogChangeDTO) GetNewValue() string

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

func (*AuditLogChangeDTO) GetNewValueOk

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

func (o *AuditLogChangeDTO) GetOldValue() string

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

func (*AuditLogChangeDTO) GetOldValueOk

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

func (o *AuditLogChangeDTO) GetSubject() string

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

func (*AuditLogChangeDTO) GetSubjectName

func (o *AuditLogChangeDTO) GetSubjectName() string

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

func (*AuditLogChangeDTO) GetSubjectNameOk

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

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

func (o *AuditLogChangeDTO) GetSubjectPropertyName() string

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

func (*AuditLogChangeDTO) GetSubjectPropertyNameOk

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

func (o *AuditLogChangeDTO) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasId

func (o *AuditLogChangeDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasMessage

func (o *AuditLogChangeDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasNewValue

func (o *AuditLogChangeDTO) HasNewValue() bool

HasNewValue returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasOldValue

func (o *AuditLogChangeDTO) HasOldValue() bool

HasOldValue returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasSubject

func (o *AuditLogChangeDTO) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasSubjectName

func (o *AuditLogChangeDTO) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*AuditLogChangeDTO) HasSubjectPropertyName

func (o *AuditLogChangeDTO) HasSubjectPropertyName() bool

HasSubjectPropertyName returns a boolean if a field has been set.

func (AuditLogChangeDTO) MarshalJSON

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

func (*AuditLogChangeDTO) SetCategory

func (o *AuditLogChangeDTO) SetCategory(v string)

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

func (*AuditLogChangeDTO) SetId

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

func (o *AuditLogChangeDTO) SetMessage(v string)

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

func (*AuditLogChangeDTO) SetNewValue

func (o *AuditLogChangeDTO) SetNewValue(v string)

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

func (*AuditLogChangeDTO) SetOldValue

func (o *AuditLogChangeDTO) SetOldValue(v string)

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

func (*AuditLogChangeDTO) SetSubject

func (o *AuditLogChangeDTO) SetSubject(v string)

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

func (*AuditLogChangeDTO) SetSubjectName

func (o *AuditLogChangeDTO) SetSubjectName(v string)

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

func (*AuditLogChangeDTO) SetSubjectPropertyName

func (o *AuditLogChangeDTO) SetSubjectPropertyName(v string)

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

type AuditLogDTO

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

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

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

func (o *AuditLogDTO) GetCategory() string

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

func (*AuditLogDTO) GetCategoryOk

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

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

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

func (*AuditLogDTO) GetCreatedAtOk

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

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

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

func (*AuditLogDTO) GetCreatedByIdOk

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

func (o *AuditLogDTO) GetCreatedByName() string

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

func (*AuditLogDTO) GetCreatedByNameOk

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

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

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

func (*AuditLogDTO) GetGroupedChangesOk

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

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

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

func (*AuditLogDTO) GetIdOk

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

func (o *AuditLogDTO) GetMessage() string

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

func (*AuditLogDTO) GetMessageOk

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

func (o *AuditLogDTO) GetNewValue() string

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

func (*AuditLogDTO) GetNewValueOk

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

func (o *AuditLogDTO) GetOldValue() string

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

func (*AuditLogDTO) GetOldValueOk

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

func (o *AuditLogDTO) GetRequestId() string

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

func (*AuditLogDTO) GetRequestIdOk

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

func (o *AuditLogDTO) GetServiceAffected() string

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

func (*AuditLogDTO) GetServiceAffectedOk

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

func (o *AuditLogDTO) GetServiceCreated() string

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

func (*AuditLogDTO) GetServiceCreatedOk

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

func (o *AuditLogDTO) GetSubject() string

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

func (*AuditLogDTO) GetSubjectName

func (o *AuditLogDTO) GetSubjectName() string

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

func (*AuditLogDTO) GetSubjectNameOk

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

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

func (o *AuditLogDTO) GetSubjectPropertyName() string

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

func (*AuditLogDTO) GetSubjectPropertyNameOk

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

func (o *AuditLogDTO) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*AuditLogDTO) HasCreatedAt

func (o *AuditLogDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AuditLogDTO) HasCreatedById

func (o *AuditLogDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*AuditLogDTO) HasCreatedByName

func (o *AuditLogDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*AuditLogDTO) HasGroupedChanges

func (o *AuditLogDTO) HasGroupedChanges() bool

HasGroupedChanges returns a boolean if a field has been set.

func (*AuditLogDTO) HasId

func (o *AuditLogDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogDTO) HasMessage

func (o *AuditLogDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AuditLogDTO) HasNewValue

func (o *AuditLogDTO) HasNewValue() bool

HasNewValue returns a boolean if a field has been set.

func (*AuditLogDTO) HasOldValue

func (o *AuditLogDTO) HasOldValue() bool

HasOldValue returns a boolean if a field has been set.

func (*AuditLogDTO) HasRequestId

func (o *AuditLogDTO) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*AuditLogDTO) HasServiceAffected

func (o *AuditLogDTO) HasServiceAffected() bool

HasServiceAffected returns a boolean if a field has been set.

func (*AuditLogDTO) HasServiceCreated

func (o *AuditLogDTO) HasServiceCreated() bool

HasServiceCreated returns a boolean if a field has been set.

func (*AuditLogDTO) HasSubject

func (o *AuditLogDTO) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*AuditLogDTO) HasSubjectName

func (o *AuditLogDTO) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*AuditLogDTO) HasSubjectPropertyName

func (o *AuditLogDTO) HasSubjectPropertyName() bool

HasSubjectPropertyName returns a boolean if a field has been set.

func (AuditLogDTO) MarshalJSON

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

func (*AuditLogDTO) SetCategory

func (o *AuditLogDTO) SetCategory(v string)

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

func (*AuditLogDTO) SetCreatedAt

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

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

func (o *AuditLogDTO) SetCreatedByName(v string)

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

func (*AuditLogDTO) SetGroupedChanges

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

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

func (*AuditLogDTO) SetId

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

func (o *AuditLogDTO) SetMessage(v string)

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

func (*AuditLogDTO) SetNewValue

func (o *AuditLogDTO) SetNewValue(v string)

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

func (*AuditLogDTO) SetOldValue

func (o *AuditLogDTO) SetOldValue(v string)

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

func (*AuditLogDTO) SetRequestId

func (o *AuditLogDTO) SetRequestId(v string)

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

func (*AuditLogDTO) SetServiceAffected

func (o *AuditLogDTO) SetServiceAffected(v string)

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

func (*AuditLogDTO) SetServiceCreated

func (o *AuditLogDTO) SetServiceCreated(v string)

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

func (*AuditLogDTO) SetSubject

func (o *AuditLogDTO) SetSubject(v string)

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

func (*AuditLogDTO) SetSubjectName

func (o *AuditLogDTO) SetSubjectName(v string)

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

func (*AuditLogDTO) SetSubjectPropertyName

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

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

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

func (o *AuditLogListPageResponse) GetCurrentPage() int32

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

func (*AuditLogListPageResponse) GetCurrentPageOk

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

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

func (*AuditLogListPageResponse) GetItemsOk

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

func (o *AuditLogListPageResponse) GetPageSize() int32

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

func (*AuditLogListPageResponse) GetPageSizeOk

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

func (o *AuditLogListPageResponse) GetTotalCount() int32

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

func (*AuditLogListPageResponse) GetTotalCountOk

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

func (o *AuditLogListPageResponse) GetTotalPages() int32

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

func (*AuditLogListPageResponse) GetTotalPagesOk

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

func (o *AuditLogListPageResponse) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

func (*AuditLogListPageResponse) HasItems

func (o *AuditLogListPageResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*AuditLogListPageResponse) HasPageSize

func (o *AuditLogListPageResponse) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*AuditLogListPageResponse) HasTotalCount

func (o *AuditLogListPageResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*AuditLogListPageResponse) HasTotalPages

func (o *AuditLogListPageResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (AuditLogListPageResponse) MarshalJSON

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

func (*AuditLogListPageResponse) SetCurrentPage

func (o *AuditLogListPageResponse) SetCurrentPage(v int32)

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

func (*AuditLogListPageResponse) SetItems

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

func (*AuditLogListPageResponse) SetPageSize

func (o *AuditLogListPageResponse) SetPageSize(v int32)

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

func (*AuditLogListPageResponse) SetTotalCount

func (o *AuditLogListPageResponse) SetTotalCount(v int32)

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

func (*AuditLogListPageResponse) SetTotalPages

func (o *AuditLogListPageResponse) SetTotalPages(v int32)

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

type AuditLogSimpleDTO

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

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

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

func (o *AuditLogSimpleDTO) GetCategory() string

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

func (*AuditLogSimpleDTO) GetCategoryOk

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

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

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

func (*AuditLogSimpleDTO) GetCreatedAtOk

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

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

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

func (*AuditLogSimpleDTO) GetCreatedByIdOk

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

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

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

func (*AuditLogSimpleDTO) GetIdOk

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

func (o *AuditLogSimpleDTO) GetMessage() string

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

func (*AuditLogSimpleDTO) GetMessageOk

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

func (o *AuditLogSimpleDTO) GetServiceAffected() string

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

func (*AuditLogSimpleDTO) GetServiceAffectedOk

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

func (o *AuditLogSimpleDTO) GetServiceCreated() string

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

func (*AuditLogSimpleDTO) GetServiceCreatedOk

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

func (o *AuditLogSimpleDTO) GetSubject() string

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

func (*AuditLogSimpleDTO) GetSubjectOk

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

func (o *AuditLogSimpleDTO) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasCreatedAt

func (o *AuditLogSimpleDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasCreatedById

func (o *AuditLogSimpleDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasId

func (o *AuditLogSimpleDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasMessage

func (o *AuditLogSimpleDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasServiceAffected

func (o *AuditLogSimpleDTO) HasServiceAffected() bool

HasServiceAffected returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasServiceCreated

func (o *AuditLogSimpleDTO) HasServiceCreated() bool

HasServiceCreated returns a boolean if a field has been set.

func (*AuditLogSimpleDTO) HasSubject

func (o *AuditLogSimpleDTO) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (AuditLogSimpleDTO) MarshalJSON

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

func (*AuditLogSimpleDTO) SetCategory

func (o *AuditLogSimpleDTO) SetCategory(v string)

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

func (*AuditLogSimpleDTO) SetCreatedAt

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

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

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

func (o *AuditLogSimpleDTO) SetMessage(v string)

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

func (*AuditLogSimpleDTO) SetServiceAffected

func (o *AuditLogSimpleDTO) SetServiceAffected(v string)

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

func (*AuditLogSimpleDTO) SetServiceCreated

func (o *AuditLogSimpleDTO) SetServiceCreated(v string)

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

func (*AuditLogSimpleDTO) SetSubject

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

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type 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

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

Execute executes the request

@return ConsoleLogListPageResponse

type ConsoleLogDTO

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

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

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

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

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

func (*ConsoleLogDTO) GetCreatedAtOk

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

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

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

func (*ConsoleLogDTO) GetCreatedByIdOk

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

func (o *ConsoleLogDTO) GetCreatedByName() string

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

func (*ConsoleLogDTO) GetCreatedByNameOk

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

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

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

func (*ConsoleLogDTO) GetIdOk

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

func (o *ConsoleLogDTO) GetLevel() LogLevel

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

func (*ConsoleLogDTO) GetLevelOk

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

func (o *ConsoleLogDTO) GetMessage() string

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

func (*ConsoleLogDTO) GetMessageOk

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

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

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

func (*ConsoleLogDTO) GetRequestIdOk

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

func (o *ConsoleLogDTO) GetService() string

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

func (*ConsoleLogDTO) GetServiceOk

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

func (o *ConsoleLogDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasCreatedById

func (o *ConsoleLogDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasCreatedByName

func (o *ConsoleLogDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasId

func (o *ConsoleLogDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasLevel

func (o *ConsoleLogDTO) HasLevel() bool

HasLevel returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasMessage

func (o *ConsoleLogDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasRequestId

func (o *ConsoleLogDTO) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*ConsoleLogDTO) HasService

func (o *ConsoleLogDTO) HasService() bool

HasService returns a boolean if a field has been set.

func (ConsoleLogDTO) MarshalJSON

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

func (*ConsoleLogDTO) SetCreatedAt

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

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

func (o *ConsoleLogDTO) SetCreatedByName(v string)

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

func (*ConsoleLogDTO) SetId

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

func (o *ConsoleLogDTO) SetLevel(v LogLevel)

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

func (*ConsoleLogDTO) SetMessage

func (o *ConsoleLogDTO) SetMessage(v string)

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

func (*ConsoleLogDTO) SetRequestId

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

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

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

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

func (o *ConsoleLogListPageResponse) GetCurrentPage() int32

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

func (*ConsoleLogListPageResponse) GetCurrentPageOk

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

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

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

func (*ConsoleLogListPageResponse) GetItemsOk

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

func (o *ConsoleLogListPageResponse) GetPageSize() int32

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

func (*ConsoleLogListPageResponse) GetPageSizeOk

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

func (o *ConsoleLogListPageResponse) GetTotalCount() int32

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

func (*ConsoleLogListPageResponse) GetTotalCountOk

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

func (o *ConsoleLogListPageResponse) GetTotalPages() int32

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

func (*ConsoleLogListPageResponse) GetTotalPagesOk

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

func (o *ConsoleLogListPageResponse) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

func (*ConsoleLogListPageResponse) HasItems

func (o *ConsoleLogListPageResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ConsoleLogListPageResponse) HasPageSize

func (o *ConsoleLogListPageResponse) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*ConsoleLogListPageResponse) HasTotalCount

func (o *ConsoleLogListPageResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*ConsoleLogListPageResponse) HasTotalPages

func (o *ConsoleLogListPageResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (ConsoleLogListPageResponse) MarshalJSON

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

func (*ConsoleLogListPageResponse) SetCurrentPage

func (o *ConsoleLogListPageResponse) SetCurrentPage(v int32)

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

func (*ConsoleLogListPageResponse) SetItems

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

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

func (*ConsoleLogListPageResponse) SetPageSize

func (o *ConsoleLogListPageResponse) SetPageSize(v int32)

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

func (*ConsoleLogListPageResponse) SetTotalCount

func (o *ConsoleLogListPageResponse) SetTotalCount(v int32)

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

func (*ConsoleLogListPageResponse) SetTotalPages

func (o *ConsoleLogListPageResponse) SetTotalPages(v int32)

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

type CreateAuditLogChangeDTO

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

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

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

func (o *CreateAuditLogChangeDTO) GetCategory() string

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

func (*CreateAuditLogChangeDTO) GetCategoryOk

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

func (o *CreateAuditLogChangeDTO) GetMessage() string

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

func (*CreateAuditLogChangeDTO) GetMessageOk

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

func (o *CreateAuditLogChangeDTO) GetNewValue() string

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

func (*CreateAuditLogChangeDTO) GetNewValueOk

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

func (o *CreateAuditLogChangeDTO) GetOldValue() string

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

func (*CreateAuditLogChangeDTO) GetOldValueOk

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

func (o *CreateAuditLogChangeDTO) GetSubject() string

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

func (*CreateAuditLogChangeDTO) GetSubjectName

func (o *CreateAuditLogChangeDTO) GetSubjectName() string

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

func (*CreateAuditLogChangeDTO) GetSubjectNameOk

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

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

func (o *CreateAuditLogChangeDTO) GetSubjectPropertyName() string

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

func (*CreateAuditLogChangeDTO) GetSubjectPropertyNameOk

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

func (o *CreateAuditLogChangeDTO) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasMessage

func (o *CreateAuditLogChangeDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasNewValue

func (o *CreateAuditLogChangeDTO) HasNewValue() bool

HasNewValue returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasOldValue

func (o *CreateAuditLogChangeDTO) HasOldValue() bool

HasOldValue returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasSubject

func (o *CreateAuditLogChangeDTO) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasSubjectName

func (o *CreateAuditLogChangeDTO) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*CreateAuditLogChangeDTO) HasSubjectPropertyName

func (o *CreateAuditLogChangeDTO) HasSubjectPropertyName() bool

HasSubjectPropertyName returns a boolean if a field has been set.

func (CreateAuditLogChangeDTO) MarshalJSON

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

func (*CreateAuditLogChangeDTO) SetCategory

func (o *CreateAuditLogChangeDTO) SetCategory(v string)

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

func (*CreateAuditLogChangeDTO) SetMessage

func (o *CreateAuditLogChangeDTO) SetMessage(v string)

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

func (*CreateAuditLogChangeDTO) SetNewValue

func (o *CreateAuditLogChangeDTO) SetNewValue(v string)

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

func (*CreateAuditLogChangeDTO) SetOldValue

func (o *CreateAuditLogChangeDTO) SetOldValue(v string)

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

func (*CreateAuditLogChangeDTO) SetSubject

func (o *CreateAuditLogChangeDTO) SetSubject(v string)

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

func (*CreateAuditLogChangeDTO) SetSubjectName

func (o *CreateAuditLogChangeDTO) SetSubjectName(v string)

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

func (*CreateAuditLogChangeDTO) SetSubjectPropertyName

func (o *CreateAuditLogChangeDTO) SetSubjectPropertyName(v string)

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

type CreateAuditLogRequestDTO

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

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

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

func (o *CreateAuditLogRequestDTO) GetCategory() string

GetCategory returns the Category field value

func (*CreateAuditLogRequestDTO) GetCategoryOk

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

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

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

func (*CreateAuditLogRequestDTO) GetCreatedAtOk

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

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

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

func (*CreateAuditLogRequestDTO) GetCreatedByIdOk

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

func (o *CreateAuditLogRequestDTO) GetCreatedByName() string

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

func (*CreateAuditLogRequestDTO) GetCreatedByNameOk

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

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

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

func (*CreateAuditLogRequestDTO) GetGroupedChangesOk

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

func (o *CreateAuditLogRequestDTO) GetMessage() string

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

func (*CreateAuditLogRequestDTO) GetMessageOk

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

func (o *CreateAuditLogRequestDTO) GetNewValue() string

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

func (*CreateAuditLogRequestDTO) GetNewValueOk

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

func (o *CreateAuditLogRequestDTO) GetOldValue() string

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

func (*CreateAuditLogRequestDTO) GetOldValueOk

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

func (o *CreateAuditLogRequestDTO) GetServiceAffected() string

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

func (*CreateAuditLogRequestDTO) GetServiceAffectedOk

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

func (o *CreateAuditLogRequestDTO) GetServiceCreated() string

GetServiceCreated returns the ServiceCreated field value

func (*CreateAuditLogRequestDTO) GetServiceCreatedOk

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

func (o *CreateAuditLogRequestDTO) GetSubject() string

GetSubject returns the Subject field value

func (*CreateAuditLogRequestDTO) GetSubjectName

func (o *CreateAuditLogRequestDTO) GetSubjectName() string

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

func (*CreateAuditLogRequestDTO) GetSubjectNameOk

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

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

func (o *CreateAuditLogRequestDTO) GetSubjectPropertyName() string

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

func (*CreateAuditLogRequestDTO) GetSubjectPropertyNameOk

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

func (o *CreateAuditLogRequestDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasCreatedById

func (o *CreateAuditLogRequestDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasCreatedByName

func (o *CreateAuditLogRequestDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasGroupedChanges

func (o *CreateAuditLogRequestDTO) HasGroupedChanges() bool

HasGroupedChanges returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasMessage

func (o *CreateAuditLogRequestDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasNewValue

func (o *CreateAuditLogRequestDTO) HasNewValue() bool

HasNewValue returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasOldValue

func (o *CreateAuditLogRequestDTO) HasOldValue() bool

HasOldValue returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasServiceAffected

func (o *CreateAuditLogRequestDTO) HasServiceAffected() bool

HasServiceAffected returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasSubjectName

func (o *CreateAuditLogRequestDTO) HasSubjectName() bool

HasSubjectName returns a boolean if a field has been set.

func (*CreateAuditLogRequestDTO) HasSubjectPropertyName

func (o *CreateAuditLogRequestDTO) HasSubjectPropertyName() bool

HasSubjectPropertyName returns a boolean if a field has been set.

func (CreateAuditLogRequestDTO) MarshalJSON

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

func (*CreateAuditLogRequestDTO) SetCategory

func (o *CreateAuditLogRequestDTO) SetCategory(v string)

SetCategory sets field value

func (*CreateAuditLogRequestDTO) SetCreatedAt

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

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

func (o *CreateAuditLogRequestDTO) SetCreatedByName(v string)

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

func (*CreateAuditLogRequestDTO) SetGroupedChanges

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

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

func (*CreateAuditLogRequestDTO) SetMessage

func (o *CreateAuditLogRequestDTO) SetMessage(v string)

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

func (*CreateAuditLogRequestDTO) SetNewValue

func (o *CreateAuditLogRequestDTO) SetNewValue(v string)

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

func (*CreateAuditLogRequestDTO) SetOldValue

func (o *CreateAuditLogRequestDTO) SetOldValue(v string)

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

func (*CreateAuditLogRequestDTO) SetServiceAffected

func (o *CreateAuditLogRequestDTO) SetServiceAffected(v string)

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

func (*CreateAuditLogRequestDTO) SetServiceCreated

func (o *CreateAuditLogRequestDTO) SetServiceCreated(v string)

SetServiceCreated sets field value

func (*CreateAuditLogRequestDTO) SetSubject

func (o *CreateAuditLogRequestDTO) SetSubject(v string)

SetSubject sets field value

func (*CreateAuditLogRequestDTO) SetSubjectName

func (o *CreateAuditLogRequestDTO) SetSubjectName(v string)

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

func (*CreateAuditLogRequestDTO) SetSubjectPropertyName

func (o *CreateAuditLogRequestDTO) SetSubjectPropertyName(v string)

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

type CreateConsoleLogRequestDTO

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

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

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

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

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

func (*CreateConsoleLogRequestDTO) GetCreatedAtOk

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

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

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

func (*CreateConsoleLogRequestDTO) GetCreatedByIdOk

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

func (o *CreateConsoleLogRequestDTO) GetCreatedByName() string

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

func (*CreateConsoleLogRequestDTO) GetCreatedByNameOk

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

func (o *CreateConsoleLogRequestDTO) GetLevel() LogLevel

GetLevel returns the Level field value

func (*CreateConsoleLogRequestDTO) GetLevelOk

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

func (o *CreateConsoleLogRequestDTO) GetMessage() string

GetMessage returns the Message field value

func (*CreateConsoleLogRequestDTO) GetMessageOk

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

func (o *CreateConsoleLogRequestDTO) GetService() string

GetService returns the Service field value

func (*CreateConsoleLogRequestDTO) GetServiceOk

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

func (o *CreateConsoleLogRequestDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateConsoleLogRequestDTO) HasCreatedById

func (o *CreateConsoleLogRequestDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*CreateConsoleLogRequestDTO) HasCreatedByName

func (o *CreateConsoleLogRequestDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (CreateConsoleLogRequestDTO) MarshalJSON

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

func (*CreateConsoleLogRequestDTO) SetCreatedAt

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

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

func (o *CreateConsoleLogRequestDTO) SetCreatedByName(v string)

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

func (*CreateConsoleLogRequestDTO) SetLevel

func (o *CreateConsoleLogRequestDTO) SetLevel(v LogLevel)

SetLevel sets field value

func (*CreateConsoleLogRequestDTO) SetMessage

func (o *CreateConsoleLogRequestDTO) SetMessage(v string)

SetMessage sets field value

func (*CreateConsoleLogRequestDTO) SetService

func (o *CreateConsoleLogRequestDTO) SetService(v string)

SetService sets field value

type CreateNotificationRequestDTO

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

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

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

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

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

func (*CreateNotificationRequestDTO) GetCreatedAtOk

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

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

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

func (*CreateNotificationRequestDTO) GetCreatedByIdOk

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

func (o *CreateNotificationRequestDTO) GetCreatedByName() string

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

func (*CreateNotificationRequestDTO) GetCreatedByNameOk

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

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

func (*CreateNotificationRequestDTO) GetEventCategoryOk

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

func (o *CreateNotificationRequestDTO) GetMessage() string

GetMessage returns the Message field value

func (*CreateNotificationRequestDTO) GetMessageOk

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

func (o *CreateNotificationRequestDTO) GetService() string

GetService returns the Service field value

func (*CreateNotificationRequestDTO) GetServiceOk

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

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

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

func (*CreateNotificationRequestDTO) GetTargetsOk

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

func (o *CreateNotificationRequestDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateNotificationRequestDTO) HasCreatedById

func (o *CreateNotificationRequestDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*CreateNotificationRequestDTO) HasCreatedByName

func (o *CreateNotificationRequestDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*CreateNotificationRequestDTO) HasEventCategory

func (o *CreateNotificationRequestDTO) HasEventCategory() bool

HasEventCategory returns a boolean if a field has been set.

func (*CreateNotificationRequestDTO) HasTargets

func (o *CreateNotificationRequestDTO) HasTargets() bool

HasTargets returns a boolean if a field has been set.

func (CreateNotificationRequestDTO) MarshalJSON

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

func (*CreateNotificationRequestDTO) SetCreatedAt

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

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

func (o *CreateNotificationRequestDTO) SetCreatedByName(v string)

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

func (*CreateNotificationRequestDTO) SetEventCategory

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

func (*CreateNotificationRequestDTO) SetMessage

func (o *CreateNotificationRequestDTO) SetMessage(v string)

SetMessage sets field value

func (*CreateNotificationRequestDTO) SetService

func (o *CreateNotificationRequestDTO) SetService(v string)

SetService sets field value

func (*CreateNotificationRequestDTO) SetTargets

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

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HandlersHealthCheck added in v1.3.4

type HandlersHealthCheck struct {
	// The API version
	ApiVersion []string `json:"apiVersion,omitempty"`
	// Docker build version
	BuildVersion *string           `json:"buildVersion,omitempty"`
	MemStats     *HandlersMemStats `json:"memStats,omitempty"`
	// The service name
	Service *string `json:"service,omitempty"`
	// The service status
	Status *string `json:"status,omitempty"`
}

HandlersHealthCheck struct for HandlersHealthCheck

func NewHandlersHealthCheck added in v1.3.4

func NewHandlersHealthCheck() *HandlersHealthCheck

NewHandlersHealthCheck instantiates a new HandlersHealthCheck 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 NewHandlersHealthCheckWithDefaults added in v1.3.4

func NewHandlersHealthCheckWithDefaults() *HandlersHealthCheck

NewHandlersHealthCheckWithDefaults instantiates a new HandlersHealthCheck 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 (*HandlersHealthCheck) GetApiVersion added in v1.3.4

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

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

func (*HandlersHealthCheck) GetApiVersionOk added in v1.3.4

func (o *HandlersHealthCheck) 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 (*HandlersHealthCheck) GetBuildVersion added in v1.3.4

func (o *HandlersHealthCheck) GetBuildVersion() string

GetBuildVersion returns the BuildVersion field value if set, zero value otherwise.

func (*HandlersHealthCheck) GetBuildVersionOk added in v1.3.4

func (o *HandlersHealthCheck) GetBuildVersionOk() (*string, bool)

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

func (*HandlersHealthCheck) GetMemStats added in v1.3.4

func (o *HandlersHealthCheck) GetMemStats() HandlersMemStats

GetMemStats returns the MemStats field value if set, zero value otherwise.

func (*HandlersHealthCheck) GetMemStatsOk added in v1.3.4

func (o *HandlersHealthCheck) GetMemStatsOk() (*HandlersMemStats, bool)

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

func (*HandlersHealthCheck) GetService added in v1.3.4

func (o *HandlersHealthCheck) GetService() string

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

func (*HandlersHealthCheck) GetServiceOk added in v1.3.4

func (o *HandlersHealthCheck) 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 (*HandlersHealthCheck) GetStatus added in v1.3.4

func (o *HandlersHealthCheck) GetStatus() string

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

func (*HandlersHealthCheck) GetStatusOk added in v1.3.4

func (o *HandlersHealthCheck) 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 (*HandlersHealthCheck) HasApiVersion added in v1.3.4

func (o *HandlersHealthCheck) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

func (*HandlersHealthCheck) HasBuildVersion added in v1.3.4

func (o *HandlersHealthCheck) HasBuildVersion() bool

HasBuildVersion returns a boolean if a field has been set.

func (*HandlersHealthCheck) HasMemStats added in v1.3.4

func (o *HandlersHealthCheck) HasMemStats() bool

HasMemStats returns a boolean if a field has been set.

func (*HandlersHealthCheck) HasService added in v1.3.4

func (o *HandlersHealthCheck) HasService() bool

HasService returns a boolean if a field has been set.

func (*HandlersHealthCheck) HasStatus added in v1.3.4

func (o *HandlersHealthCheck) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (HandlersHealthCheck) MarshalJSON added in v1.3.4

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

func (*HandlersHealthCheck) SetApiVersion added in v1.3.4

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

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

func (*HandlersHealthCheck) SetBuildVersion added in v1.3.4

func (o *HandlersHealthCheck) SetBuildVersion(v string)

SetBuildVersion gets a reference to the given string and assigns it to the BuildVersion field.

func (*HandlersHealthCheck) SetMemStats added in v1.3.4

func (o *HandlersHealthCheck) SetMemStats(v HandlersMemStats)

SetMemStats gets a reference to the given HandlersMemStats and assigns it to the MemStats field.

func (*HandlersHealthCheck) SetService added in v1.3.4

func (o *HandlersHealthCheck) SetService(v string)

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

func (*HandlersHealthCheck) SetStatus added in v1.3.4

func (o *HandlersHealthCheck) SetStatus(v string)

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

type HandlersMemStats added in v1.3.4

type HandlersMemStats struct {
	Alloc              *string `json:"alloc,omitempty"`
	HeapAlloc          *string `json:"heapAlloc,omitempty"`
	HeapInUse          *string `json:"heapInUse,omitempty"`
	NumberOfGoRoutines *int32  `json:"numberOfGoRoutines,omitempty"`
	StackInUse         *string `json:"stackInUse,omitempty"`
	Sys                *string `json:"sys,omitempty"`
	TotalAlloc         *string `json:"totalAlloc,omitempty"`
}

HandlersMemStats struct for HandlersMemStats

func NewHandlersMemStats added in v1.3.4

func NewHandlersMemStats() *HandlersMemStats

NewHandlersMemStats instantiates a new HandlersMemStats 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 NewHandlersMemStatsWithDefaults added in v1.3.4

func NewHandlersMemStatsWithDefaults() *HandlersMemStats

NewHandlersMemStatsWithDefaults instantiates a new HandlersMemStats 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 (*HandlersMemStats) GetAlloc added in v1.3.4

func (o *HandlersMemStats) GetAlloc() string

GetAlloc returns the Alloc field value if set, zero value otherwise.

func (*HandlersMemStats) GetAllocOk added in v1.3.4

func (o *HandlersMemStats) GetAllocOk() (*string, bool)

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

func (*HandlersMemStats) GetHeapAlloc added in v1.3.4

func (o *HandlersMemStats) GetHeapAlloc() string

GetHeapAlloc returns the HeapAlloc field value if set, zero value otherwise.

func (*HandlersMemStats) GetHeapAllocOk added in v1.3.4

func (o *HandlersMemStats) GetHeapAllocOk() (*string, bool)

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

func (*HandlersMemStats) GetHeapInUse added in v1.3.4

func (o *HandlersMemStats) GetHeapInUse() string

GetHeapInUse returns the HeapInUse field value if set, zero value otherwise.

func (*HandlersMemStats) GetHeapInUseOk added in v1.3.4

func (o *HandlersMemStats) GetHeapInUseOk() (*string, bool)

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

func (*HandlersMemStats) GetNumberOfGoRoutines added in v1.3.4

func (o *HandlersMemStats) GetNumberOfGoRoutines() int32

GetNumberOfGoRoutines returns the NumberOfGoRoutines field value if set, zero value otherwise.

func (*HandlersMemStats) GetNumberOfGoRoutinesOk added in v1.3.4

func (o *HandlersMemStats) GetNumberOfGoRoutinesOk() (*int32, bool)

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

func (*HandlersMemStats) GetStackInUse added in v1.3.4

func (o *HandlersMemStats) GetStackInUse() string

GetStackInUse returns the StackInUse field value if set, zero value otherwise.

func (*HandlersMemStats) GetStackInUseOk added in v1.3.4

func (o *HandlersMemStats) GetStackInUseOk() (*string, bool)

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

func (*HandlersMemStats) GetSys added in v1.3.4

func (o *HandlersMemStats) GetSys() string

GetSys returns the Sys field value if set, zero value otherwise.

func (*HandlersMemStats) GetSysOk added in v1.3.4

func (o *HandlersMemStats) GetSysOk() (*string, bool)

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

func (*HandlersMemStats) GetTotalAlloc added in v1.3.4

func (o *HandlersMemStats) GetTotalAlloc() string

GetTotalAlloc returns the TotalAlloc field value if set, zero value otherwise.

func (*HandlersMemStats) GetTotalAllocOk added in v1.3.4

func (o *HandlersMemStats) GetTotalAllocOk() (*string, bool)

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

func (*HandlersMemStats) HasAlloc added in v1.3.4

func (o *HandlersMemStats) HasAlloc() bool

HasAlloc returns a boolean if a field has been set.

func (*HandlersMemStats) HasHeapAlloc added in v1.3.4

func (o *HandlersMemStats) HasHeapAlloc() bool

HasHeapAlloc returns a boolean if a field has been set.

func (*HandlersMemStats) HasHeapInUse added in v1.3.4

func (o *HandlersMemStats) HasHeapInUse() bool

HasHeapInUse returns a boolean if a field has been set.

func (*HandlersMemStats) HasNumberOfGoRoutines added in v1.3.4

func (o *HandlersMemStats) HasNumberOfGoRoutines() bool

HasNumberOfGoRoutines returns a boolean if a field has been set.

func (*HandlersMemStats) HasStackInUse added in v1.3.4

func (o *HandlersMemStats) HasStackInUse() bool

HasStackInUse returns a boolean if a field has been set.

func (*HandlersMemStats) HasSys added in v1.3.4

func (o *HandlersMemStats) HasSys() bool

HasSys returns a boolean if a field has been set.

func (*HandlersMemStats) HasTotalAlloc added in v1.3.4

func (o *HandlersMemStats) HasTotalAlloc() bool

HasTotalAlloc returns a boolean if a field has been set.

func (HandlersMemStats) MarshalJSON added in v1.3.4

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

func (*HandlersMemStats) SetAlloc added in v1.3.4

func (o *HandlersMemStats) SetAlloc(v string)

SetAlloc gets a reference to the given string and assigns it to the Alloc field.

func (*HandlersMemStats) SetHeapAlloc added in v1.3.4

func (o *HandlersMemStats) SetHeapAlloc(v string)

SetHeapAlloc gets a reference to the given string and assigns it to the HeapAlloc field.

func (*HandlersMemStats) SetHeapInUse added in v1.3.4

func (o *HandlersMemStats) SetHeapInUse(v string)

SetHeapInUse gets a reference to the given string and assigns it to the HeapInUse field.

func (*HandlersMemStats) SetNumberOfGoRoutines added in v1.3.4

func (o *HandlersMemStats) SetNumberOfGoRoutines(v int32)

SetNumberOfGoRoutines gets a reference to the given int32 and assigns it to the NumberOfGoRoutines field.

func (*HandlersMemStats) SetStackInUse added in v1.3.4

func (o *HandlersMemStats) SetStackInUse(v string)

SetStackInUse gets a reference to the given string and assigns it to the StackInUse field.

func (*HandlersMemStats) SetSys added in v1.3.4

func (o *HandlersMemStats) SetSys(v string)

SetSys gets a reference to the given string and assigns it to the Sys field.

func (*HandlersMemStats) SetTotalAlloc added in v1.3.4

func (o *HandlersMemStats) SetTotalAlloc(v string)

SetTotalAlloc gets a reference to the given string and assigns it to the TotalAlloc field.

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

Execute executes the request

@return HandlersHealthCheck

type LogLevel

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

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

func (v LogLevel) IsValid() bool

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

func (LogLevel) Ptr

func (v LogLevel) Ptr() *LogLevel

Ptr returns reference to LogLevel value

func (*LogLevel) UnmarshalJSON

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

type NotificationApiService

type NotificationApiService service

NotificationApiService NotificationApi service

func (*NotificationApiService) CreateNotificationV1

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

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

Execute executes the request

func (*NotificationApiService) GetNotificationMessagesV1

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

Execute executes the request

@return NotificationMessageListPageResponse

func (*NotificationApiService) PeekNotificationMessagesV1

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

Execute executes the request

@return NotificationMessageListPageResponse

func (*NotificationApiService) UpdateNotificationMessageV1

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

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

Execute executes the request

type NotificationEventCategory

type NotificationEventCategory string

NotificationEventCategory the model 'NotificationEventCategory'

const (
	Notification NotificationEventCategory = "NOTIFICATION"
)

List of NotificationEventCategory

func NewNotificationEventCategoryFromValue

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

func (v NotificationEventCategory) IsValid() bool

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

func (NotificationEventCategory) Ptr

Ptr returns reference to NotificationEventCategory value

func (*NotificationEventCategory) UnmarshalJSON

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

type NotificationMessageDTO

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

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

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

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

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

func (*NotificationMessageDTO) GetCreatedAtOk

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

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

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

func (*NotificationMessageDTO) GetCreatedByIdOk

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

func (o *NotificationMessageDTO) GetCreatedByName() string

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

func (*NotificationMessageDTO) GetCreatedByNameOk

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

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

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

func (*NotificationMessageDTO) GetIdOk

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

func (o *NotificationMessageDTO) GetMessage() string

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

func (*NotificationMessageDTO) GetMessageOk

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

func (o *NotificationMessageDTO) GetService() string

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

func (*NotificationMessageDTO) GetServiceOk

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

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

func (*NotificationMessageDTO) GetStatusOk

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

func (o *NotificationMessageDTO) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasCreatedById

func (o *NotificationMessageDTO) HasCreatedById() bool

HasCreatedById returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasCreatedByName

func (o *NotificationMessageDTO) HasCreatedByName() bool

HasCreatedByName returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasId

func (o *NotificationMessageDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasMessage

func (o *NotificationMessageDTO) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasService

func (o *NotificationMessageDTO) HasService() bool

HasService returns a boolean if a field has been set.

func (*NotificationMessageDTO) HasStatus

func (o *NotificationMessageDTO) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (NotificationMessageDTO) MarshalJSON

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

func (*NotificationMessageDTO) SetCreatedAt

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

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

func (o *NotificationMessageDTO) SetCreatedByName(v string)

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

func (*NotificationMessageDTO) SetId

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

func (o *NotificationMessageDTO) SetMessage(v string)

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

func (*NotificationMessageDTO) SetService

func (o *NotificationMessageDTO) SetService(v string)

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

func (*NotificationMessageDTO) SetStatus

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

type NotificationMessageListPageResponse

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

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

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

func (o *NotificationMessageListPageResponse) GetCurrentPage() int32

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

func (*NotificationMessageListPageResponse) GetCurrentPageOk

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

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

func (*NotificationMessageListPageResponse) GetItemsOk

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

func (o *NotificationMessageListPageResponse) GetPageSize() int32

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

func (*NotificationMessageListPageResponse) GetPageSizeOk

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

func (o *NotificationMessageListPageResponse) GetTotalCount() int32

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

func (*NotificationMessageListPageResponse) GetTotalCountOk

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

func (o *NotificationMessageListPageResponse) GetTotalPages() int32

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

func (*NotificationMessageListPageResponse) GetTotalPagesOk

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

func (o *NotificationMessageListPageResponse) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

func (*NotificationMessageListPageResponse) HasItems

HasItems returns a boolean if a field has been set.

func (*NotificationMessageListPageResponse) HasPageSize

func (o *NotificationMessageListPageResponse) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*NotificationMessageListPageResponse) HasTotalCount

func (o *NotificationMessageListPageResponse) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*NotificationMessageListPageResponse) HasTotalPages

func (o *NotificationMessageListPageResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (NotificationMessageListPageResponse) MarshalJSON

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

func (*NotificationMessageListPageResponse) SetCurrentPage

func (o *NotificationMessageListPageResponse) SetCurrentPage(v int32)

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

func (*NotificationMessageListPageResponse) SetItems

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

func (*NotificationMessageListPageResponse) SetPageSize

func (o *NotificationMessageListPageResponse) SetPageSize(v int32)

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

func (*NotificationMessageListPageResponse) SetTotalCount

func (o *NotificationMessageListPageResponse) SetTotalCount(v int32)

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

func (*NotificationMessageListPageResponse) SetTotalPages

func (o *NotificationMessageListPageResponse) SetTotalPages(v int32)

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

type NotificationStatus

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

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

func (v NotificationStatus) IsValid() bool

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

func (NotificationStatus) Ptr

Ptr returns reference to NotificationStatus value

func (*NotificationStatus) UnmarshalJSON

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

type NullableAuditLogChangeDTO

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

func NewNullableAuditLogChangeDTO

func NewNullableAuditLogChangeDTO(val *AuditLogChangeDTO) *NullableAuditLogChangeDTO

func (NullableAuditLogChangeDTO) Get

func (NullableAuditLogChangeDTO) IsSet

func (v NullableAuditLogChangeDTO) IsSet() bool

func (NullableAuditLogChangeDTO) MarshalJSON

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

func (*NullableAuditLogChangeDTO) Set

func (*NullableAuditLogChangeDTO) UnmarshalJSON

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

func (*NullableAuditLogChangeDTO) Unset

func (v *NullableAuditLogChangeDTO) Unset()

type NullableAuditLogDTO

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

func NewNullableAuditLogDTO

func NewNullableAuditLogDTO(val *AuditLogDTO) *NullableAuditLogDTO

func (NullableAuditLogDTO) Get

func (NullableAuditLogDTO) IsSet

func (v NullableAuditLogDTO) IsSet() bool

func (NullableAuditLogDTO) MarshalJSON

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

func (*NullableAuditLogDTO) Set

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

func (*NullableAuditLogDTO) UnmarshalJSON

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

func (*NullableAuditLogDTO) Unset

func (v *NullableAuditLogDTO) Unset()

type NullableAuditLogListPageResponse

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

func (NullableAuditLogListPageResponse) Get

func (NullableAuditLogListPageResponse) IsSet

func (NullableAuditLogListPageResponse) MarshalJSON

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

func (*NullableAuditLogListPageResponse) Set

func (*NullableAuditLogListPageResponse) UnmarshalJSON

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

func (*NullableAuditLogListPageResponse) Unset

type NullableAuditLogSimpleDTO

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

func NewNullableAuditLogSimpleDTO

func NewNullableAuditLogSimpleDTO(val *AuditLogSimpleDTO) *NullableAuditLogSimpleDTO

func (NullableAuditLogSimpleDTO) Get

func (NullableAuditLogSimpleDTO) IsSet

func (v NullableAuditLogSimpleDTO) IsSet() bool

func (NullableAuditLogSimpleDTO) MarshalJSON

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

func (*NullableAuditLogSimpleDTO) Set

func (*NullableAuditLogSimpleDTO) UnmarshalJSON

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

func (*NullableAuditLogSimpleDTO) Unset

func (v *NullableAuditLogSimpleDTO) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableConsoleLogDTO

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

func NewNullableConsoleLogDTO

func NewNullableConsoleLogDTO(val *ConsoleLogDTO) *NullableConsoleLogDTO

func (NullableConsoleLogDTO) Get

func (NullableConsoleLogDTO) IsSet

func (v NullableConsoleLogDTO) IsSet() bool

func (NullableConsoleLogDTO) MarshalJSON

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

func (*NullableConsoleLogDTO) Set

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

func (*NullableConsoleLogDTO) UnmarshalJSON

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

func (*NullableConsoleLogDTO) Unset

func (v *NullableConsoleLogDTO) Unset()

type NullableConsoleLogListPageResponse

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

func (NullableConsoleLogListPageResponse) Get

func (NullableConsoleLogListPageResponse) IsSet

func (NullableConsoleLogListPageResponse) MarshalJSON

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

func (*NullableConsoleLogListPageResponse) Set

func (*NullableConsoleLogListPageResponse) UnmarshalJSON

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

func (*NullableConsoleLogListPageResponse) Unset

type NullableCreateAuditLogChangeDTO

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

func (NullableCreateAuditLogChangeDTO) Get

func (NullableCreateAuditLogChangeDTO) IsSet

func (NullableCreateAuditLogChangeDTO) MarshalJSON

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

func (*NullableCreateAuditLogChangeDTO) Set

func (*NullableCreateAuditLogChangeDTO) UnmarshalJSON

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

func (*NullableCreateAuditLogChangeDTO) Unset

type NullableCreateAuditLogRequestDTO

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

func (NullableCreateAuditLogRequestDTO) Get

func (NullableCreateAuditLogRequestDTO) IsSet

func (NullableCreateAuditLogRequestDTO) MarshalJSON

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

func (*NullableCreateAuditLogRequestDTO) Set

func (*NullableCreateAuditLogRequestDTO) UnmarshalJSON

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

func (*NullableCreateAuditLogRequestDTO) Unset

type NullableCreateConsoleLogRequestDTO

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

func (NullableCreateConsoleLogRequestDTO) Get

func (NullableCreateConsoleLogRequestDTO) IsSet

func (NullableCreateConsoleLogRequestDTO) MarshalJSON

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

func (*NullableCreateConsoleLogRequestDTO) Set

func (*NullableCreateConsoleLogRequestDTO) UnmarshalJSON

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

func (*NullableCreateConsoleLogRequestDTO) Unset

type NullableCreateNotificationRequestDTO

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

func (NullableCreateNotificationRequestDTO) Get

func (NullableCreateNotificationRequestDTO) IsSet

func (NullableCreateNotificationRequestDTO) MarshalJSON

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

func (*NullableCreateNotificationRequestDTO) Set

func (*NullableCreateNotificationRequestDTO) UnmarshalJSON

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

func (*NullableCreateNotificationRequestDTO) Unset

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableHandlersHealthCheck added in v1.3.4

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

func NewNullableHandlersHealthCheck added in v1.3.4

func NewNullableHandlersHealthCheck(val *HandlersHealthCheck) *NullableHandlersHealthCheck

func (NullableHandlersHealthCheck) Get added in v1.3.4

func (NullableHandlersHealthCheck) IsSet added in v1.3.4

func (NullableHandlersHealthCheck) MarshalJSON added in v1.3.4

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

func (*NullableHandlersHealthCheck) Set added in v1.3.4

func (*NullableHandlersHealthCheck) UnmarshalJSON added in v1.3.4

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

func (*NullableHandlersHealthCheck) Unset added in v1.3.4

func (v *NullableHandlersHealthCheck) Unset()

type NullableHandlersMemStats added in v1.3.4

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

func NewNullableHandlersMemStats added in v1.3.4

func NewNullableHandlersMemStats(val *HandlersMemStats) *NullableHandlersMemStats

func (NullableHandlersMemStats) Get added in v1.3.4

func (NullableHandlersMemStats) IsSet added in v1.3.4

func (v NullableHandlersMemStats) IsSet() bool

func (NullableHandlersMemStats) MarshalJSON added in v1.3.4

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

func (*NullableHandlersMemStats) Set added in v1.3.4

func (*NullableHandlersMemStats) UnmarshalJSON added in v1.3.4

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

func (*NullableHandlersMemStats) Unset added in v1.3.4

func (v *NullableHandlersMemStats) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

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

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

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

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

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

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLogLevel

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

func NewNullableLogLevel

func NewNullableLogLevel(val *LogLevel) *NullableLogLevel

func (NullableLogLevel) Get

func (v NullableLogLevel) Get() *LogLevel

func (NullableLogLevel) IsSet

func (v NullableLogLevel) IsSet() bool

func (NullableLogLevel) MarshalJSON

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

func (*NullableLogLevel) Set

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

func (*NullableLogLevel) UnmarshalJSON

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

func (*NullableLogLevel) Unset

func (v *NullableLogLevel) Unset()

type NullableNotificationEventCategory

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

func (NullableNotificationEventCategory) Get

func (NullableNotificationEventCategory) IsSet

func (NullableNotificationEventCategory) MarshalJSON

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

func (*NullableNotificationEventCategory) Set

func (*NullableNotificationEventCategory) UnmarshalJSON

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

func (*NullableNotificationEventCategory) Unset

type NullableNotificationMessageDTO

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

func (NullableNotificationMessageDTO) Get

func (NullableNotificationMessageDTO) IsSet

func (NullableNotificationMessageDTO) MarshalJSON

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

func (*NullableNotificationMessageDTO) Set

func (*NullableNotificationMessageDTO) UnmarshalJSON

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

func (*NullableNotificationMessageDTO) Unset

func (v *NullableNotificationMessageDTO) Unset()

type NullableNotificationMessageListPageResponse

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

func (NullableNotificationMessageListPageResponse) Get

func (NullableNotificationMessageListPageResponse) IsSet

func (NullableNotificationMessageListPageResponse) MarshalJSON

func (*NullableNotificationMessageListPageResponse) Set

func (*NullableNotificationMessageListPageResponse) UnmarshalJSON

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

func (*NullableNotificationMessageListPageResponse) Unset

type NullableNotificationStatus

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

func NewNullableNotificationStatus

func NewNullableNotificationStatus(val *NotificationStatus) *NullableNotificationStatus

func (NullableNotificationStatus) Get

func (NullableNotificationStatus) IsSet

func (v NullableNotificationStatus) IsSet() bool

func (NullableNotificationStatus) MarshalJSON

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

func (*NullableNotificationStatus) Set

func (*NullableNotificationStatus) UnmarshalJSON

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

func (*NullableNotificationStatus) Unset

func (v *NullableNotificationStatus) Unset()

type NullableSortDirection

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

func NewNullableSortDirection

func NewNullableSortDirection(val *SortDirection) *NullableSortDirection

func (NullableSortDirection) Get

func (NullableSortDirection) IsSet

func (v NullableSortDirection) IsSet() bool

func (NullableSortDirection) MarshalJSON

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

func (*NullableSortDirection) Set

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

func (*NullableSortDirection) UnmarshalJSON

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

func (*NullableSortDirection) Unset

func (v *NullableSortDirection) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateNotificationMessageRequestDTO

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

func (NullableUpdateNotificationMessageRequestDTO) Get

func (NullableUpdateNotificationMessageRequestDTO) IsSet

func (NullableUpdateNotificationMessageRequestDTO) MarshalJSON

func (*NullableUpdateNotificationMessageRequestDTO) Set

func (*NullableUpdateNotificationMessageRequestDTO) UnmarshalJSON

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

func (*NullableUpdateNotificationMessageRequestDTO) Unset

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type SortDirection

type SortDirection string

SortDirection the model 'SortDirection'

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

List of SortDirection

func NewSortDirectionFromValue

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

func (v SortDirection) IsValid() bool

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

func (SortDirection) Ptr

func (v SortDirection) Ptr() *SortDirection

Ptr returns reference to SortDirection value

func (*SortDirection) UnmarshalJSON

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

type UpdateNotificationMessageRequestDTO

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

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

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

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

func (*UpdateNotificationMessageRequestDTO) GetStatusOk

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

HasStatus returns a boolean if a field has been set.

func (UpdateNotificationMessageRequestDTO) MarshalJSON

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

func (*UpdateNotificationMessageRequestDTO) SetStatus

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