falaai

package module
v1.21.67 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: MIT Imports: 22 Imported by: 0

README

falaai-api (Go) — SDK for Conversation Intelligence, Speech Analytics & Compliance

pkg.go.dev CI Docs

Official Go SDK for the FalaAI API — transcribe audio, analyze conversations and audit compliance (COPC CX, ISO 18295-1). Use each API independently or combine them into your own pipeline.

Analyze calls, contact-center recordings, voice notes, chat and email. Get speaker-separated transcripts, summaries, reasons, actions, sentiment and a compliance risk score.

Use any FalaAI API independently

FalaAI is a set of independent REST APIs. You do not need FalaAI Transcription to use FalaAI analysis or compliance auditing. If your application already has a transcript, send that text straight to the analysis APIs.

If you have... Use
Audio but no transcript CreateTranscription
An existing transcript CreateDiagnostic
A transcript needing compliance analysis CreateAudit
An existing transcript needing both CreateDiagnostic + CreateAudit
Your own STT provider (Whisper, Deepgram...) Skip CreateTranscription
Your STT                             ->  FalaAI Diagnostic  ->  FalaAI Risk Audit
Telegram voice -> your STT           ->  FalaAI Risk Audit
3CX / Asterisk / Genesys transcript  ->  FalaAI Diagnostic  ->  FalaAI Risk Audit
CRM conversation                     ->  FalaAI Risk Audit

Install

go get github.com/actiontecbr/falaai-api-go

Requires Go 1.24+ (module github.com/actiontecbr/falaai-api-go).

Quickstart

1. Get an API key

Create a free account and copy your fai_ key: https://falaai.action.tec.br/api/auth (or the Dashboard).

2. Set environment variables
FALAAI_BASE_URL=https://api01-falaai.action.tec.br
FALAAI_API_KEY=fai_xxxxxxxx
3. Transcribe a call (audio -> text)

No audio file? See audio help for accepted formats and limits.

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	falaai "github.com/actiontecbr/falaai-api-go"
)

func main() {
	client, err := falaai.NewClientWithAPIKey(os.Getenv("FALAAI_API_KEY"))
	if err != nil {
		panic(err)
	}

	file, err := os.Open("call.mp3")
	if err != nil {
		panic(err)
	}
	defer file.Close()

	model := "falaai-transcribe-1"
	language := "pt"
	ref := "call_202609271408"

	r, err := client.CreateTranscription(context.Background(), falaai.TranscriptionParams{
		File:              file,
		Model:             model,
		Language:          language,
		ClientReferenceID: ref,
	})
	if err != nil {
		panic(err)
	}
	out, _ := json.MarshalIndent(r, "", "  ")
	fmt.Println(string(out))
}

Expected response (abridged):

{
  "id": "tr-...",
  "object": "transcription",
  "model": "falaai-transcribe-1",
  "language": "por",
  "duration_seconds": 25.0,
  "text": "...",
  "dialog": "Speaker 1: [...] ...",
  "usage": { "audio_seconds": 25.0, "credits_consumed": 25, "processing_ms": 951 }
}

Only need analysis? Skip step 3 and call CreateDiagnostic / CreateAudit with your own transcript.

4. Analyze or audit an existing transcript (no transcription needed)
transcript := "Good morning, how can I help? I need to cancel my subscription."
dialog := "Speaker 1: [00:00:00.100 - 00:00:03.100] Good morning, how can I help?\nSpeaker 2: [00:00:03.100 - 00:00:06.200] I need to cancel my subscription."

// 5 analyses in one call: summary, reason, action, topic, sentiment
diag, err := client.CreateDiagnostic(context.Background(), falaai.DiagnosticParams{
	Text:            &transcript,
	Language:        "pt-BR",
	DurationSeconds: 81.46,
})

// Compliance risk score + violations + auditable report (Risk Audit requires a diarized 'dialog', not 'text')
audit, err := client.CreateAudit(context.Background(), falaai.AuditParams{
	Dialog:           dialog,
	Language:         "pt-BR",
	ResponseLanguage: "pt-BR",
	DurationSeconds:  81.46,
})

What is FalaAI API?

FalaAI API is an AI conversation-intelligence API for analyzing customer-service, contact-center, sales, messaging and other business conversations. It combines speech-to-text (with speaker diarization and audio-event detection), conversation analysis (summary, contact reason, action taken, topic classification, sentiment) and a compliance/risk audit against COPC CX and ISO 18295-1. Conversation content is processed and discarded (zero-storage).

What can you do with FalaAI?

  • Transcribe audio to text with speaker separation and audio events.
  • Diagnose a conversation: summary, reason, action taken, topic and sentiment.
  • Audit conversations: compliance risk score, detections/violations and an auditable HTML report.
  • Track usage, manage webhooks and email alerts, and health/version checks.

Use cases

  • Contact center / Quality - audit 100% of conversations instead of a sample.
  • Compliance / Legal - auditable evidence for audits and disputes.
  • CX / Operations - risk score, sentiment and reason per conversation.
  • Sales - analyze sales calls and extract structured outcomes.
  • BI / Data - typed JSON ready for your database or analytics stack.

Why FalaAI

  • Audit 100%, not a sample - every conversation gets a score, not a random QA sample.
  • Auditable by design - a compliance risk score with detections/violations and an HTML report you can hand to an auditor.
  • Credits, not tokens - you know exactly what each call costs (per second of audio, per character of text, per conversation). Monthly plans + non-expiring top-up packs.
  • Zero-storage - audio/text/results are processed and discarded; only usage/audit records remain. TLS in transit + at rest, per-account isolation (multitenancy), LGPD (you are the controller; Action Tec is the processor).
  • Multilingual — transcription in 31 languages, diagnosis in 21 locales, risk audit and HTML reports in 3 (PT/EN/ES) · start free (no card).
  • B2B ready - one Enterprise plan serves N clients, no per-user fee (ideal for ISVs).

Integrations

FalaAI is language-independent - integrate at any point of your pipeline (capture, transcription, analysis or audit). Common ecosystems:

Ecosystem How
PABX / telephony (3CX, Asterisk, Genesys) Send the recording to Transcribe, or the transcript to Diagnostic/Risk Audit.
CRM / ERP (Odoo, Salesforce, SAP Service Cloud, HubSpot) Attach the structured JSON (summary, reason, sentiment, risk score) to the record.
Contact center / QA (Zendesk, Twilio Flex, Take Blip) Batch-audit conversations and feed the score into your QA dashboard.
Chatbots / messaging (WhatsApp, Telegram, Microsoft Teams) Extract conversations from an export and analyze them.
BI / Data Typed JSON ready for your warehouse or analytics stack.

These are integration examples, not certified native integrations. Any platform can integrate through REST / cURL - the standard, language-independent path. Native ingestion connectors are on the roadmap.

This SDK's language (Go): FalaAI is language-independent; this package targets Go backends (your target platform does not need to be built in Go).

BYOT - Bring Your Own Transcription

Already have speech-to-text (Whisper, Deepgram, AssemblyAI, your own)? Skip Transcription and send the text straight to Diagnostic and/or Risk Audit. You only pay for what you use.

SDK surface (Go)

Symbol Package Purpose
NewClientWithAPIKey(...) falaai create the API client
Client.Health(ctx) falaai health check
Client.CreateTranscription(ctx, TranscriptionParams{...}) falaai audio to text
Client.CreateDiagnostic(ctx, DiagnosticParams{...}) falaai conversation diagnostic
Client.CreateAudit(ctx, AuditParams{...}) falaai compliance risk audit
Client.ExtractConversations(ctx, ...) falaai extract/segment WhatsApp conversations from an export
participant, DiagnosticParticipant, DiagnosticAudioEvent, Ptr[T] falaai models / helpers

Model IDs: falaai-transcribe-1, falaai-diagnostic-1, falaai-risk-audit-1.

Examples

Runnable examples in examples/: health.go, transcribe.go, diagnose.go, audit.go, whatsapp.go.

Authentication

Every request requires Authorization: Bearer fai_<your_key> — except the public endpoints (GET/HEAD /v1/health, GET /api/version). The key is set in NewClientWithAPIKey(...).

Error handling

Methods return (result, error). Check the error and handle non-2xx failures.

health, err := client.Health(context.Background())
if err != nil {
	log.Fatalf("FalaAI API error: %v", err)
}
fmt.Println(health.Status)

Production usage

  • Store API keys in environment variables or a secret manager — never hard-code.
  • Reuse a single *falaai.Client across requests.
  • Pass a context.Context for timeouts/cancellation.
  • Handle returned errors explicitly.

Compatibility

Requirement Version
Go 1.24+
API v1.21.67

Documentation

Versioning

Semantic versioning; tagged v<version> (tracks the API version 1.21.67). See CHANGELOG.md and Releases.

Security

See SECURITY.md. Never commit real keys — use environment variables.

Contributing

See CONTRIBUTING.md.

License

MIT.

Platform documentation (orientation)

Documentation

Overview

falaai.go - Fachada tipada (hand-written) sobre o client gerado (openapi-generator).

@version 3.0.0 | 2026-09-30

NAO e gerado: sobrevive a regeneracao. NUNCA edite os arquivos gerados (client.go/api_*.go/model_*.go) - edite ESTE arquivo.

Objetivo: a SDK recebe o DOMINIO (params tipados), nunca o TRANSPORTE (contentType/io.Reader).

Index

Constants

View Source
const DefaultBaseURL = "https://api01-falaai.action.tec.br"

DefaultBaseURL - endpoint publico de producao da API FalaAI.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// 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 AllowedEmailEventEnumValues = []EmailEvent{
	"subscription.created",
	"avulso.completed",
	"subscription.upgraded",
	"subscription.downgraded",
	"subscription.canceled",
	"credits.low",
	"credits.exhausted",
	"subscription.renewed",
	"payment.failed",
}

All allowed values of EmailEvent enum

View Source
var AllowedWebhookEventEnumValues = []WebhookEvent{
	"subscription.created",
	"avulso.completed",
	"subscription.upgraded",
	"subscription.downgraded",
	"subscription.canceled",
	"credits.low",
	"credits.exhausted",
	"subscription.renewed",
	"subscription.expired",
	"payment.failed",
}

All allowed values of WebhookEvent enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func Ptr

func Ptr[T any](v T) *T

Ptr - retorna o ponteiro de v (campos opcionais ponteiro): falaai.Ptr("Carla"), falaai.Ptr(float32(3.1)).

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 {
	AnalysisAPI *AnalysisAPIService

	EmailAlertsAPI *EmailAlertsAPIService

	HealthAPI *HealthAPIService

	SpeechAPI *SpeechAPIService

	UsageAPI *UsageAPIService

	VersionAPI *VersionAPIService

	WebhooksAPI *WebhooksAPIService

	WhatsappAPI *WhatsappAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the FalaAI API API v1.21.67 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 NewClient

func NewClient(baseURL, apiKey string) (*APIClient, error)

NewClient - client sobre uma base URL explicita (ex.: sandbox local) + api key.

func NewClientWithAPIKey

func NewClientWithAPIKey(apiKey string) (*APIClient, error)

NewClientWithAPIKey - construtor de conveniencia: resolve a base URL (env FALAAI_BASE_URL, caindo em DefaultBaseURL), valida a api key e injeta o header Authorization.

func NewPublicClient

func NewPublicClient(baseURL string) *APIClient

NewPublicClient - client para as rotas publicas (ex.: /v1/health), sem api key.

func (*APIClient) CreateAudit

func (c *APIClient) CreateAudit(ctx context.Context, p AuditParams) (*RiskAuditV2Response, error)

CreateAudit - POST /v1/analyze/riskAudit.

func (*APIClient) CreateDiagnostic

func (c *APIClient) CreateDiagnostic(ctx context.Context, p DiagnosticParams) (*DiagnosticResponse, error)

CreateDiagnostic - POST /v1/analyze/diagnostic.

func (*APIClient) CreateTranscription

func (c *APIClient) CreateTranscription(ctx context.Context, p TranscriptionParams) (*TranscriptionResponse, error)

CreateTranscription - POST /v1/audio/transcriptions (o multipart e montado pelo gerado).

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

func (*APIClient) Health

func (c *APIClient) Health(ctx context.Context) (*HealthResponse, error)

Health - GET /v1/health (sem body).

func (*APIClient) HealthCheckHead

func (c *APIClient) HealthCheckHead(ctx context.Context) (int, error)

HealthCheckHead - HEAD /v1/health; devolve o status HTTP.

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 AnalysisAPIService

type AnalysisAPIService service

AnalysisAPIService AnalysisAPI service

func (*AnalysisAPIService) CreateDiagnosticV1AnalyzeDiagnosticPost

func (a *AnalysisAPIService) CreateDiagnosticV1AnalyzeDiagnosticPost(ctx context.Context) ApiCreateDiagnosticV1AnalyzeDiagnosticPostRequest

CreateDiagnosticV1AnalyzeDiagnosticPost Analyze a call transcript — 5 parallel analyses

Analyzes a call transcript and returns six structured blocks: dialogue summary, contact reason, identified action, theme label, predominant sentiment and identified participants with roles, names, confidence and evidence; use it for a fast, generic diagnosis of what happened in a call, and use /v1/analyze/riskAudit instead when the goal is compliance violation auditing. Provide at least one of dialog (primary source: diarized transcript in the format 'Speaker 1: [00:00:00.540 - 00:00:01.139] text', speaker labels accepted in any case as Speaker, Interlocutor, Hablante, Locutor or Orador plus number) or text (plain transcript fallback), each up to 300,000 characters; when dialog is used duration_seconds is required by the schema and, when provided, must be >= the last turn end time. Required: language; optional: model (always 'falaai-diagnostic-1'), audio_events, response_language (language of the results, defaulting to language), participants (up to 10 with interlocutor and optional name and role agent/client/bot, ground truth when the role is informed and otherwise inferred), call_direction (inferred when omitted), client_reference_id (echoed verbatim, charset [A-Za-z0-9 _/:.-], max 60). Returns id, object 'analysis', response_language, analysis with the six blocks, usage (characters, credits_consumed, processing_ms) and html_report (base64 gzip) only when dialog is provided; with text-only input the participant roles are forced to confidence 'low'. Credits are charged per character of the transcript (0.03/char, counted without speaker labels, timestamps and inline expression tokens, minimum 500 characters, plus 50 characters per audio event) and the amount charged is returned in usage.credits_consumed. Stateless: neither the transcript nor the analysis is persisted (only billing and usage metadata is logged), protecting personal data under LGPD.

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

func (*AnalysisAPIService) CreateDiagnosticV1AnalyzeDiagnosticPostExecute

func (a *AnalysisAPIService) CreateDiagnosticV1AnalyzeDiagnosticPostExecute(r ApiCreateDiagnosticV1AnalyzeDiagnosticPostRequest) (*DiagnosticResponse, *http.Response, error)

Execute executes the request

@return DiagnosticResponse

func (*AnalysisAPIService) CreateRiskAuditV1AnalyzeRiskAuditPost

func (a *AnalysisAPIService) CreateRiskAuditV1AnalyzeRiskAuditPost(ctx context.Context) ApiCreateRiskAuditV1AnalyzeRiskAuditPostRequest

CreateRiskAuditV1AnalyzeRiskAuditPost Compliance Risk Audit — conversation compliance analysis

Runs a compliance risk audit on a diarized call transcript, detecting violations and positives, applying the ISO 31000 risk matrix, classifying the conversation into a level and returning the verdict with the applied actions and the NIST/OWASP risk framework enquadramento; use it for compliance and quality audits of company-agent-to-client calls, not for generic conversation summarization. Required fields: dialog (diarized transcript in the format 'Speaker 1: [00:00:00.540 - 00:00:01.139] text', speaker labels accepted in any case as Speaker, Interlocutor, Hablante, Locutor or Orador plus number; plain text is not accepted; max 300,000 characters), duration_seconds (total audio duration in seconds, must be >= the last turn end time) and language plus response_language (only pt-BR, en-US or es-ES). Optional: model (always 'falaai-risk-audit-1'), audio_events (up to 500, each requiring event and start_s), participants (up to 10 with interlocutor and role agent/client/bot, ground truth when provided, else inferred), call_direction (inbound/outbound, inferred when omitted), response_format (only 'v2'), client_reference_id (echoed verbatim, charset [A-Za-z0-9 _/:.-], max 60). Returns response (V2) with meta+usage, participants, verdict with level and applied actions, scores, detections (violations, positives, client alerts), analysis frameworks, timeline, categories_summary, executive summary, scoring explanation and an HTML report (gzip+base64). Credits are charged per character of the spoken transcript (0.09/char, counted without speaker labels and inline expression tokens, minimum 1,000 characters, plus 50 characters per audio event) and a minimum-cost guard may raise the final amount, so response.meta.usage.credits_consumed is the amount actually charged. Stateless: neither the transcript nor the analysis is persisted (only billing and usage metadata is logged), protecting personal data under LGPD.

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

func (*AnalysisAPIService) CreateRiskAuditV1AnalyzeRiskAuditPostExecute

func (a *AnalysisAPIService) CreateRiskAuditV1AnalyzeRiskAuditPostExecute(r ApiCreateRiskAuditV1AnalyzeRiskAuditPostRequest) (*RiskAuditV2Response, *http.Response, error)

Execute executes the request

@return RiskAuditV2Response

type ApiCreateDiagnosticV1AnalyzeDiagnosticPostRequest

type ApiCreateDiagnosticV1AnalyzeDiagnosticPostRequest struct {
	ApiService *AnalysisAPIService
	// contains filtered or unexported fields
}

func (ApiCreateDiagnosticV1AnalyzeDiagnosticPostRequest) DiagnosticRequest

func (ApiCreateDiagnosticV1AnalyzeDiagnosticPostRequest) Execute

type ApiCreateEmailAlertV1EmailAlertsPostRequest

type ApiCreateEmailAlertV1EmailAlertsPostRequest struct {
	ApiService *EmailAlertsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateEmailAlertV1EmailAlertsPostRequest) CreateEmailAlertRequest

func (ApiCreateEmailAlertV1EmailAlertsPostRequest) Execute

type ApiCreateRiskAuditV1AnalyzeRiskAuditPostRequest

type ApiCreateRiskAuditV1AnalyzeRiskAuditPostRequest struct {
	ApiService *AnalysisAPIService
	// contains filtered or unexported fields
}

func (ApiCreateRiskAuditV1AnalyzeRiskAuditPostRequest) Execute

func (ApiCreateRiskAuditV1AnalyzeRiskAuditPostRequest) RiskAuditRequest

type ApiCreateTranscriptionV1AudioTranscriptionsPostRequest

type ApiCreateTranscriptionV1AudioTranscriptionsPostRequest struct {
	ApiService *SpeechAPIService
	// contains filtered or unexported fields
}

func (ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) ClientReferenceId

Optional client-supplied ID echoed verbatim in the response. Use to correlate/sync with your system. Accepted charset: [A-Za-z0-9 _/:.-], max 60 chars. Not idempotency.

func (ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) Execute

func (ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) File

func (ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) Language

func (ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) Model

type ApiCreateWebhookV1WebhooksPostRequest

type ApiCreateWebhookV1WebhooksPostRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiCreateWebhookV1WebhooksPostRequest) CreateWebhookRequest

func (ApiCreateWebhookV1WebhooksPostRequest) Execute

type ApiDeleteEmailAlertV1EmailAlertsAlertIdDeleteRequest

type ApiDeleteEmailAlertV1EmailAlertsAlertIdDeleteRequest struct {
	ApiService *EmailAlertsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteEmailAlertV1EmailAlertsAlertIdDeleteRequest) Execute

type ApiDeleteWebhookV1WebhooksWebhookIdDeleteRequest

type ApiDeleteWebhookV1WebhooksWebhookIdDeleteRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteWebhookV1WebhooksWebhookIdDeleteRequest) Execute

type ApiExtractConversationsV1WhatsappExtractConversationsPostRequest added in v1.21.51

type ApiExtractConversationsV1WhatsappExtractConversationsPostRequest struct {
	ApiService *WhatsappAPIService
	// contains filtered or unexported fields
}

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) ClientReferenceId added in v1.21.51

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) DateFormat added in v1.21.51

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) DryRun added in v1.21.67

So analisa o arquivo: valida, segmenta e ESTIMA os creditos SEM chamar a IA e SEM debitar (credits_charged&#x3D;0).

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) End added in v1.21.51

Fim da janela. Obrigatorio fora do dry_run; no dry_run ausente &#x3D; ultimo turno do export.

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) Execute added in v1.21.51

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) Expression added in v1.21.54

Descrever expressoes visuais (figurinha/GIF/imagem)?

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) File added in v1.21.51

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) GapMinutes added in v1.21.51

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) MinMessages added in v1.21.51

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) Start added in v1.21.51

Inicio da janela. Obrigatorio fora do dry_run; no dry_run ausente &#x3D; primeiro turno do export.

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) Timezone added in v1.21.51

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) VoiceNote added in v1.21.54

Transcrever mensagens de voz/video gravadas na hora?

func (ApiExtractConversationsV1WhatsappExtractConversationsPostRequest) Windows added in v1.21.67

Selecao explicita por varias janelas: JSON [{\\\&quot;start\\\&quot;:\\\&quot;...\\\&quot;,\\\&quot;end\\\&quot;:\\\&quot;...\\\&quot;}]. Nao combinar com &#39;start&#39;/&#39;end&#39;.

type ApiGetUsageByKeyV1UsageByKeyGetRequest

type ApiGetUsageByKeyV1UsageByKeyGetRequest struct {
	ApiService *UsageAPIService
	// contains filtered or unexported fields
}

func (ApiGetUsageByKeyV1UsageByKeyGetRequest) Execute

func (ApiGetUsageByKeyV1UsageByKeyGetRequest) KeyId

type ApiGetUsageLogV1UsageLogGetRequest

type ApiGetUsageLogV1UsageLogGetRequest struct {
	ApiService *UsageAPIService
	// contains filtered or unexported fields
}

func (ApiGetUsageLogV1UsageLogGetRequest) ApiKeyId

func (ApiGetUsageLogV1UsageLogGetRequest) Execute

func (ApiGetUsageLogV1UsageLogGetRequest) Limit

func (ApiGetUsageLogV1UsageLogGetRequest) Page

type ApiGetVersionApiVersionGetRequest

type ApiGetVersionApiVersionGetRequest struct {
	ApiService *VersionAPIService
	// contains filtered or unexported fields
}

func (ApiGetVersionApiVersionGetRequest) Execute

type ApiHealthCheckHeadRequest

type ApiHealthCheckHeadRequest struct {
	ApiService *HealthAPIService
	// contains filtered or unexported fields
}

func (ApiHealthCheckHeadRequest) Execute

type ApiHealthCheckRequest

type ApiHealthCheckRequest struct {
	ApiService *HealthAPIService
	// contains filtered or unexported fields
}

func (ApiHealthCheckRequest) Execute

type ApiListEmailAlertsV1EmailAlertsGetRequest

type ApiListEmailAlertsV1EmailAlertsGetRequest struct {
	ApiService *EmailAlertsAPIService
	// contains filtered or unexported fields
}

func (ApiListEmailAlertsV1EmailAlertsGetRequest) Execute

func (ApiListEmailAlertsV1EmailAlertsGetRequest) Limit

func (ApiListEmailAlertsV1EmailAlertsGetRequest) Page

type ApiListWebhooksV1WebhooksGetRequest

type ApiListWebhooksV1WebhooksGetRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiListWebhooksV1WebhooksGetRequest) Execute

func (ApiListWebhooksV1WebhooksGetRequest) Limit

Itens por pagina (max 100)

func (ApiListWebhooksV1WebhooksGetRequest) Page

Pagina (1-indexed)

type ApiUpdateEmailAlertV1EmailAlertsAlertIdPutRequest

type ApiUpdateEmailAlertV1EmailAlertsAlertIdPutRequest struct {
	ApiService *EmailAlertsAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateEmailAlertV1EmailAlertsAlertIdPutRequest) Execute

func (ApiUpdateEmailAlertV1EmailAlertsAlertIdPutRequest) UpdateEmailAlertRequest

type ApiUpdateWebhookV1WebhooksWebhookIdPutRequest

type ApiUpdateWebhookV1WebhooksWebhookIdPutRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateWebhookV1WebhooksWebhookIdPutRequest) Execute

func (ApiUpdateWebhookV1WebhooksWebhookIdPutRequest) UpdateWebhookRequest

type AudioEvent

type AudioEvent struct {
	// Type of identified audio event. Ex: [riso], [suspiro], [pausa], [tosse]
	Event string `json:"event"`
	// Start time of audio event in seconds
	StartS float32 `json:"start_s"`
	// End time of audio event in seconds
	EndS float32 `json:"end_s"`
	// Event duration in seconds
	DurationS float32 `json:"duration_s"`
	// Formatted timestamp HH:MM:SS.mmm of event start
	FormattedTimestamp string `json:"formatted_timestamp"`
}

AudioEvent struct for AudioEvent

func NewAudioEvent

func NewAudioEvent(event string, startS float32, endS float32, durationS float32, formattedTimestamp string) *AudioEvent

NewAudioEvent instantiates a new AudioEvent 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 NewAudioEventWithDefaults

func NewAudioEventWithDefaults() *AudioEvent

NewAudioEventWithDefaults instantiates a new AudioEvent 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 (*AudioEvent) GetDurationS

func (o *AudioEvent) GetDurationS() float32

GetDurationS returns the DurationS field value

func (*AudioEvent) GetDurationSOk

func (o *AudioEvent) GetDurationSOk() (*float32, bool)

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

func (*AudioEvent) GetEndS

func (o *AudioEvent) GetEndS() float32

GetEndS returns the EndS field value

func (*AudioEvent) GetEndSOk

func (o *AudioEvent) GetEndSOk() (*float32, bool)

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

func (*AudioEvent) GetEvent

func (o *AudioEvent) GetEvent() string

GetEvent returns the Event field value

func (*AudioEvent) GetEventOk

func (o *AudioEvent) GetEventOk() (*string, bool)

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

func (*AudioEvent) GetFormattedTimestamp

func (o *AudioEvent) GetFormattedTimestamp() string

GetFormattedTimestamp returns the FormattedTimestamp field value

func (*AudioEvent) GetFormattedTimestampOk

func (o *AudioEvent) GetFormattedTimestampOk() (*string, bool)

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

func (*AudioEvent) GetStartS

func (o *AudioEvent) GetStartS() float32

GetStartS returns the StartS field value

func (*AudioEvent) GetStartSOk

func (o *AudioEvent) GetStartSOk() (*float32, bool)

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

func (AudioEvent) MarshalJSON

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

func (*AudioEvent) SetDurationS

func (o *AudioEvent) SetDurationS(v float32)

SetDurationS sets field value

func (*AudioEvent) SetEndS

func (o *AudioEvent) SetEndS(v float32)

SetEndS sets field value

func (*AudioEvent) SetEvent

func (o *AudioEvent) SetEvent(v string)

SetEvent sets field value

func (*AudioEvent) SetFormattedTimestamp

func (o *AudioEvent) SetFormattedTimestamp(v string)

SetFormattedTimestamp sets field value

func (*AudioEvent) SetStartS

func (o *AudioEvent) SetStartS(v float32)

SetStartS sets field value

func (AudioEvent) ToMap

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

func (*AudioEvent) UnmarshalJSON

func (o *AudioEvent) UnmarshalJSON(data []byte) (err error)

type AudioInputMeta

type AudioInputMeta struct {
	// Exact audio duration sent in seconds
	DurationS float32 `json:"duration_s"`
	// Original file format (wav, mp3, ogg, etc)
	OriginalFormat string `json:"original_format"`
	// Audio codec sent
	Codec string `json:"codec"`
	// Audio sample rate in Hz
	SampleRate int32 `json:"sample_rate"`
	// Number of channels (1=mono, 2=stereo)
	Channels int32 `json:"channels"`
}

AudioInputMeta struct for AudioInputMeta

func NewAudioInputMeta

func NewAudioInputMeta(durationS float32, originalFormat string, codec string, sampleRate int32, channels int32) *AudioInputMeta

NewAudioInputMeta instantiates a new AudioInputMeta 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 NewAudioInputMetaWithDefaults

func NewAudioInputMetaWithDefaults() *AudioInputMeta

NewAudioInputMetaWithDefaults instantiates a new AudioInputMeta 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 (*AudioInputMeta) GetChannels

func (o *AudioInputMeta) GetChannels() int32

GetChannels returns the Channels field value

func (*AudioInputMeta) GetChannelsOk

func (o *AudioInputMeta) GetChannelsOk() (*int32, bool)

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

func (*AudioInputMeta) GetCodec

func (o *AudioInputMeta) GetCodec() string

GetCodec returns the Codec field value

func (*AudioInputMeta) GetCodecOk

func (o *AudioInputMeta) GetCodecOk() (*string, bool)

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

func (*AudioInputMeta) GetDurationS

func (o *AudioInputMeta) GetDurationS() float32

GetDurationS returns the DurationS field value

func (*AudioInputMeta) GetDurationSOk

func (o *AudioInputMeta) GetDurationSOk() (*float32, bool)

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

func (*AudioInputMeta) GetOriginalFormat

func (o *AudioInputMeta) GetOriginalFormat() string

GetOriginalFormat returns the OriginalFormat field value

func (*AudioInputMeta) GetOriginalFormatOk

func (o *AudioInputMeta) GetOriginalFormatOk() (*string, bool)

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

func (*AudioInputMeta) GetSampleRate

func (o *AudioInputMeta) GetSampleRate() int32

GetSampleRate returns the SampleRate field value

func (*AudioInputMeta) GetSampleRateOk

func (o *AudioInputMeta) GetSampleRateOk() (*int32, bool)

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

func (AudioInputMeta) MarshalJSON

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

func (*AudioInputMeta) SetChannels

func (o *AudioInputMeta) SetChannels(v int32)

SetChannels sets field value

func (*AudioInputMeta) SetCodec

func (o *AudioInputMeta) SetCodec(v string)

SetCodec sets field value

func (*AudioInputMeta) SetDurationS

func (o *AudioInputMeta) SetDurationS(v float32)

SetDurationS sets field value

func (*AudioInputMeta) SetOriginalFormat

func (o *AudioInputMeta) SetOriginalFormat(v string)

SetOriginalFormat sets field value

func (*AudioInputMeta) SetSampleRate

func (o *AudioInputMeta) SetSampleRate(v int32)

SetSampleRate sets field value

func (AudioInputMeta) ToMap

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

func (*AudioInputMeta) UnmarshalJSON

func (o *AudioInputMeta) UnmarshalJSON(data []byte) (err error)

type AuditParams

type AuditParams = RiskAuditRequest

AuditParams - parametros da auditoria de risco (JSON). Alias do body tipado gerado.

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 CreateEmailAlertRequest

type CreateEmailAlertRequest struct {
	// Nome identificador
	Name string `json:"name"`
	// Email destino
	Email string `json:"email"`
	// Eventos subscritos
	Events []EmailEvent `json:"events"`
}

CreateEmailAlertRequest struct for CreateEmailAlertRequest

func NewCreateEmailAlertRequest

func NewCreateEmailAlertRequest(name string, email string, events []EmailEvent) *CreateEmailAlertRequest

NewCreateEmailAlertRequest instantiates a new CreateEmailAlertRequest 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 NewCreateEmailAlertRequestWithDefaults

func NewCreateEmailAlertRequestWithDefaults() *CreateEmailAlertRequest

NewCreateEmailAlertRequestWithDefaults instantiates a new CreateEmailAlertRequest 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 (*CreateEmailAlertRequest) GetEmail

func (o *CreateEmailAlertRequest) GetEmail() string

GetEmail returns the Email field value

func (*CreateEmailAlertRequest) GetEmailOk

func (o *CreateEmailAlertRequest) GetEmailOk() (*string, bool)

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

func (*CreateEmailAlertRequest) GetEvents

func (o *CreateEmailAlertRequest) GetEvents() []EmailEvent

GetEvents returns the Events field value

func (*CreateEmailAlertRequest) GetEventsOk

func (o *CreateEmailAlertRequest) GetEventsOk() ([]EmailEvent, bool)

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

func (*CreateEmailAlertRequest) GetName

func (o *CreateEmailAlertRequest) GetName() string

GetName returns the Name field value

func (*CreateEmailAlertRequest) GetNameOk

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

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

func (CreateEmailAlertRequest) MarshalJSON

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

func (*CreateEmailAlertRequest) SetEmail

func (o *CreateEmailAlertRequest) SetEmail(v string)

SetEmail sets field value

func (*CreateEmailAlertRequest) SetEvents

func (o *CreateEmailAlertRequest) SetEvents(v []EmailEvent)

SetEvents sets field value

func (*CreateEmailAlertRequest) SetName

func (o *CreateEmailAlertRequest) SetName(v string)

SetName sets field value

func (CreateEmailAlertRequest) ToMap

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

func (*CreateEmailAlertRequest) UnmarshalJSON

func (o *CreateEmailAlertRequest) UnmarshalJSON(data []byte) (err error)

type CreateWebhookRequest

type CreateWebhookRequest struct {
	// Nome identificador do webhook
	Name string `json:"name"`
	// URL HTTPS que recebera POST com HMAC FalaAI-Signature
	Url string `json:"url"`
	// Eventos subscritos (10 alertas)
	Events []WebhookEvent `json:"events"`
	// Retry exponencial 5 tentativas quando true (false=1 tentativa)
	RetryEnabled *bool `json:"retry_enabled,omitempty"`
}

CreateWebhookRequest struct for CreateWebhookRequest

func NewCreateWebhookRequest

func NewCreateWebhookRequest(name string, url string, events []WebhookEvent) *CreateWebhookRequest

NewCreateWebhookRequest instantiates a new CreateWebhookRequest 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 NewCreateWebhookRequestWithDefaults

func NewCreateWebhookRequestWithDefaults() *CreateWebhookRequest

NewCreateWebhookRequestWithDefaults instantiates a new CreateWebhookRequest 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 (*CreateWebhookRequest) GetEvents

func (o *CreateWebhookRequest) GetEvents() []WebhookEvent

GetEvents returns the Events field value

func (*CreateWebhookRequest) GetEventsOk

func (o *CreateWebhookRequest) GetEventsOk() ([]WebhookEvent, bool)

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

func (*CreateWebhookRequest) GetName

func (o *CreateWebhookRequest) GetName() string

GetName returns the Name field value

func (*CreateWebhookRequest) GetNameOk

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

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

func (*CreateWebhookRequest) GetRetryEnabled

func (o *CreateWebhookRequest) GetRetryEnabled() bool

GetRetryEnabled returns the RetryEnabled field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetRetryEnabledOk

func (o *CreateWebhookRequest) GetRetryEnabledOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetUrl

func (o *CreateWebhookRequest) GetUrl() string

GetUrl returns the Url field value

func (*CreateWebhookRequest) GetUrlOk

func (o *CreateWebhookRequest) GetUrlOk() (*string, bool)

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

func (*CreateWebhookRequest) HasRetryEnabled

func (o *CreateWebhookRequest) HasRetryEnabled() bool

HasRetryEnabled returns a boolean if a field has been set.

func (CreateWebhookRequest) MarshalJSON

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

func (*CreateWebhookRequest) SetEvents

func (o *CreateWebhookRequest) SetEvents(v []WebhookEvent)

SetEvents sets field value

func (*CreateWebhookRequest) SetName

func (o *CreateWebhookRequest) SetName(v string)

SetName sets field value

func (*CreateWebhookRequest) SetRetryEnabled

func (o *CreateWebhookRequest) SetRetryEnabled(v bool)

SetRetryEnabled gets a reference to the given bool and assigns it to the RetryEnabled field.

func (*CreateWebhookRequest) SetUrl

func (o *CreateWebhookRequest) SetUrl(v string)

SetUrl sets field value

func (CreateWebhookRequest) ToMap

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

func (*CreateWebhookRequest) UnmarshalJSON

func (o *CreateWebhookRequest) UnmarshalJSON(data []byte) (err error)

type DiagnosticAnalysisMap

type DiagnosticAnalysisMap struct {
	// Detailed conversation summary
	DialogueSummary DiagnosticTextAnalysis `json:"dialogue_summary"`
	// Initial contact reason
	ContactReason DiagnosticTextAnalysis `json:"contact_reason"`
	// Action taken / resolution
	IdentifiedAction DiagnosticCategoricalAnalysis `json:"identified_action"`
	// Theme classification
	IdentifiedLabel DiagnosticCategoricalAnalysis `json:"identified_label"`
	// Predominant sentiment
	Sentiment DiagnosticCategoricalAnalysis `json:"sentiment"`
	// Identified participants and roles (same field names as auditoria)
	ParticipantsIdentified []ParticipantDiagnostic `json:"participants_identified,omitempty"`
}

DiagnosticAnalysisMap struct for DiagnosticAnalysisMap

func NewDiagnosticAnalysisMap

func NewDiagnosticAnalysisMap(dialogueSummary DiagnosticTextAnalysis, contactReason DiagnosticTextAnalysis, identifiedAction DiagnosticCategoricalAnalysis, identifiedLabel DiagnosticCategoricalAnalysis, sentiment DiagnosticCategoricalAnalysis) *DiagnosticAnalysisMap

NewDiagnosticAnalysisMap instantiates a new DiagnosticAnalysisMap 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 NewDiagnosticAnalysisMapWithDefaults

func NewDiagnosticAnalysisMapWithDefaults() *DiagnosticAnalysisMap

NewDiagnosticAnalysisMapWithDefaults instantiates a new DiagnosticAnalysisMap 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 (*DiagnosticAnalysisMap) GetContactReason

func (o *DiagnosticAnalysisMap) GetContactReason() DiagnosticTextAnalysis

GetContactReason returns the ContactReason field value

func (*DiagnosticAnalysisMap) GetContactReasonOk

func (o *DiagnosticAnalysisMap) GetContactReasonOk() (*DiagnosticTextAnalysis, bool)

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

func (*DiagnosticAnalysisMap) GetDialogueSummary

func (o *DiagnosticAnalysisMap) GetDialogueSummary() DiagnosticTextAnalysis

GetDialogueSummary returns the DialogueSummary field value

func (*DiagnosticAnalysisMap) GetDialogueSummaryOk

func (o *DiagnosticAnalysisMap) GetDialogueSummaryOk() (*DiagnosticTextAnalysis, bool)

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

func (*DiagnosticAnalysisMap) GetIdentifiedAction

func (o *DiagnosticAnalysisMap) GetIdentifiedAction() DiagnosticCategoricalAnalysis

GetIdentifiedAction returns the IdentifiedAction field value

func (*DiagnosticAnalysisMap) GetIdentifiedActionOk

func (o *DiagnosticAnalysisMap) GetIdentifiedActionOk() (*DiagnosticCategoricalAnalysis, bool)

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

func (*DiagnosticAnalysisMap) GetIdentifiedLabel

func (o *DiagnosticAnalysisMap) GetIdentifiedLabel() DiagnosticCategoricalAnalysis

GetIdentifiedLabel returns the IdentifiedLabel field value

func (*DiagnosticAnalysisMap) GetIdentifiedLabelOk

func (o *DiagnosticAnalysisMap) GetIdentifiedLabelOk() (*DiagnosticCategoricalAnalysis, bool)

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

func (*DiagnosticAnalysisMap) GetParticipantsIdentified

func (o *DiagnosticAnalysisMap) GetParticipantsIdentified() []ParticipantDiagnostic

GetParticipantsIdentified returns the ParticipantsIdentified field value if set, zero value otherwise.

func (*DiagnosticAnalysisMap) GetParticipantsIdentifiedOk

func (o *DiagnosticAnalysisMap) GetParticipantsIdentifiedOk() ([]ParticipantDiagnostic, bool)

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

func (*DiagnosticAnalysisMap) GetSentiment

GetSentiment returns the Sentiment field value

func (*DiagnosticAnalysisMap) GetSentimentOk

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

func (*DiagnosticAnalysisMap) HasParticipantsIdentified

func (o *DiagnosticAnalysisMap) HasParticipantsIdentified() bool

HasParticipantsIdentified returns a boolean if a field has been set.

func (DiagnosticAnalysisMap) MarshalJSON

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

func (*DiagnosticAnalysisMap) SetContactReason

func (o *DiagnosticAnalysisMap) SetContactReason(v DiagnosticTextAnalysis)

SetContactReason sets field value

func (*DiagnosticAnalysisMap) SetDialogueSummary

func (o *DiagnosticAnalysisMap) SetDialogueSummary(v DiagnosticTextAnalysis)

SetDialogueSummary sets field value

func (*DiagnosticAnalysisMap) SetIdentifiedAction

func (o *DiagnosticAnalysisMap) SetIdentifiedAction(v DiagnosticCategoricalAnalysis)

SetIdentifiedAction sets field value

func (*DiagnosticAnalysisMap) SetIdentifiedLabel

func (o *DiagnosticAnalysisMap) SetIdentifiedLabel(v DiagnosticCategoricalAnalysis)

SetIdentifiedLabel sets field value

func (*DiagnosticAnalysisMap) SetParticipantsIdentified

func (o *DiagnosticAnalysisMap) SetParticipantsIdentified(v []ParticipantDiagnostic)

SetParticipantsIdentified gets a reference to the given []ParticipantDiagnostic and assigns it to the ParticipantsIdentified field.

func (*DiagnosticAnalysisMap) SetSentiment

SetSentiment sets field value

func (DiagnosticAnalysisMap) ToMap

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

func (*DiagnosticAnalysisMap) UnmarshalJSON

func (o *DiagnosticAnalysisMap) UnmarshalJSON(data []byte) (err error)

type DiagnosticAudioEvent

type DiagnosticAudioEvent struct {
	// Audio event type. E.g.: [laughter], [sigh]
	Event string `json:"event"`
	// Start time in seconds
	StartS *float32 `json:"start_s,omitempty"`
	// End time in seconds
	EndS *float32 `json:"end_s,omitempty"`
	// Duration in seconds
	DurationS *float32 `json:"duration_s,omitempty"`
	// Formatted timestamp (HH:MM:SS.ms)
	FormattedTimestamp *string `json:"formatted_timestamp,omitempty"`
}

DiagnosticAudioEvent struct for DiagnosticAudioEvent

func NewDiagnosticAudioEvent

func NewDiagnosticAudioEvent(event string) *DiagnosticAudioEvent

NewDiagnosticAudioEvent instantiates a new DiagnosticAudioEvent 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 NewDiagnosticAudioEventWithDefaults

func NewDiagnosticAudioEventWithDefaults() *DiagnosticAudioEvent

NewDiagnosticAudioEventWithDefaults instantiates a new DiagnosticAudioEvent 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 (*DiagnosticAudioEvent) GetDurationS

func (o *DiagnosticAudioEvent) GetDurationS() float32

GetDurationS returns the DurationS field value if set, zero value otherwise.

func (*DiagnosticAudioEvent) GetDurationSOk

func (o *DiagnosticAudioEvent) GetDurationSOk() (*float32, bool)

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

func (*DiagnosticAudioEvent) GetEndS

func (o *DiagnosticAudioEvent) GetEndS() float32

GetEndS returns the EndS field value if set, zero value otherwise.

func (*DiagnosticAudioEvent) GetEndSOk

func (o *DiagnosticAudioEvent) GetEndSOk() (*float32, bool)

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

func (*DiagnosticAudioEvent) GetEvent

func (o *DiagnosticAudioEvent) GetEvent() string

GetEvent returns the Event field value

func (*DiagnosticAudioEvent) GetEventOk

func (o *DiagnosticAudioEvent) GetEventOk() (*string, bool)

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

func (*DiagnosticAudioEvent) GetFormattedTimestamp

func (o *DiagnosticAudioEvent) GetFormattedTimestamp() string

GetFormattedTimestamp returns the FormattedTimestamp field value if set, zero value otherwise.

func (*DiagnosticAudioEvent) GetFormattedTimestampOk

func (o *DiagnosticAudioEvent) GetFormattedTimestampOk() (*string, bool)

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

func (*DiagnosticAudioEvent) GetStartS

func (o *DiagnosticAudioEvent) GetStartS() float32

GetStartS returns the StartS field value if set, zero value otherwise.

func (*DiagnosticAudioEvent) GetStartSOk

func (o *DiagnosticAudioEvent) GetStartSOk() (*float32, bool)

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

func (*DiagnosticAudioEvent) HasDurationS

func (o *DiagnosticAudioEvent) HasDurationS() bool

HasDurationS returns a boolean if a field has been set.

func (*DiagnosticAudioEvent) HasEndS

func (o *DiagnosticAudioEvent) HasEndS() bool

HasEndS returns a boolean if a field has been set.

func (*DiagnosticAudioEvent) HasFormattedTimestamp

func (o *DiagnosticAudioEvent) HasFormattedTimestamp() bool

HasFormattedTimestamp returns a boolean if a field has been set.

func (*DiagnosticAudioEvent) HasStartS

func (o *DiagnosticAudioEvent) HasStartS() bool

HasStartS returns a boolean if a field has been set.

func (DiagnosticAudioEvent) MarshalJSON

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

func (*DiagnosticAudioEvent) SetDurationS

func (o *DiagnosticAudioEvent) SetDurationS(v float32)

SetDurationS gets a reference to the given float32 and assigns it to the DurationS field.

func (*DiagnosticAudioEvent) SetEndS

func (o *DiagnosticAudioEvent) SetEndS(v float32)

SetEndS gets a reference to the given float32 and assigns it to the EndS field.

func (*DiagnosticAudioEvent) SetEvent

func (o *DiagnosticAudioEvent) SetEvent(v string)

SetEvent sets field value

func (*DiagnosticAudioEvent) SetFormattedTimestamp

func (o *DiagnosticAudioEvent) SetFormattedTimestamp(v string)

SetFormattedTimestamp gets a reference to the given string and assigns it to the FormattedTimestamp field.

func (*DiagnosticAudioEvent) SetStartS

func (o *DiagnosticAudioEvent) SetStartS(v float32)

SetStartS gets a reference to the given float32 and assigns it to the StartS field.

func (DiagnosticAudioEvent) ToMap

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

func (*DiagnosticAudioEvent) UnmarshalJSON

func (o *DiagnosticAudioEvent) UnmarshalJSON(data []byte) (err error)

type DiagnosticCategoricalAnalysis

type DiagnosticCategoricalAnalysis struct {
	// Selected value from classification list (used in action, label, sentiment)
	ListChoice *string `json:"list_choice,omitempty"`
	// Justification for the choice
	Justification *string `json:"justification,omitempty"`
	// Verbatim transcript excerpts supporting the analysis
	EvidencePhrases []string `json:"evidence_phrases,omitempty"`
}

DiagnosticCategoricalAnalysis struct for DiagnosticCategoricalAnalysis

func NewDiagnosticCategoricalAnalysis

func NewDiagnosticCategoricalAnalysis() *DiagnosticCategoricalAnalysis

NewDiagnosticCategoricalAnalysis instantiates a new DiagnosticCategoricalAnalysis 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 NewDiagnosticCategoricalAnalysisWithDefaults

func NewDiagnosticCategoricalAnalysisWithDefaults() *DiagnosticCategoricalAnalysis

NewDiagnosticCategoricalAnalysisWithDefaults instantiates a new DiagnosticCategoricalAnalysis 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 (*DiagnosticCategoricalAnalysis) GetEvidencePhrases

func (o *DiagnosticCategoricalAnalysis) GetEvidencePhrases() []string

GetEvidencePhrases returns the EvidencePhrases field value if set, zero value otherwise.

func (*DiagnosticCategoricalAnalysis) GetEvidencePhrasesOk

func (o *DiagnosticCategoricalAnalysis) GetEvidencePhrasesOk() ([]string, bool)

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

func (*DiagnosticCategoricalAnalysis) GetJustification

func (o *DiagnosticCategoricalAnalysis) GetJustification() string

GetJustification returns the Justification field value if set, zero value otherwise.

func (*DiagnosticCategoricalAnalysis) GetJustificationOk

func (o *DiagnosticCategoricalAnalysis) GetJustificationOk() (*string, bool)

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

func (*DiagnosticCategoricalAnalysis) GetListChoice

func (o *DiagnosticCategoricalAnalysis) GetListChoice() string

GetListChoice returns the ListChoice field value if set, zero value otherwise.

func (*DiagnosticCategoricalAnalysis) GetListChoiceOk

func (o *DiagnosticCategoricalAnalysis) GetListChoiceOk() (*string, bool)

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

func (*DiagnosticCategoricalAnalysis) HasEvidencePhrases

func (o *DiagnosticCategoricalAnalysis) HasEvidencePhrases() bool

HasEvidencePhrases returns a boolean if a field has been set.

func (*DiagnosticCategoricalAnalysis) HasJustification

func (o *DiagnosticCategoricalAnalysis) HasJustification() bool

HasJustification returns a boolean if a field has been set.

func (*DiagnosticCategoricalAnalysis) HasListChoice

func (o *DiagnosticCategoricalAnalysis) HasListChoice() bool

HasListChoice returns a boolean if a field has been set.

func (DiagnosticCategoricalAnalysis) MarshalJSON

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

func (*DiagnosticCategoricalAnalysis) SetEvidencePhrases

func (o *DiagnosticCategoricalAnalysis) SetEvidencePhrases(v []string)

SetEvidencePhrases gets a reference to the given []string and assigns it to the EvidencePhrases field.

func (*DiagnosticCategoricalAnalysis) SetJustification

func (o *DiagnosticCategoricalAnalysis) SetJustification(v string)

SetJustification gets a reference to the given string and assigns it to the Justification field.

func (*DiagnosticCategoricalAnalysis) SetListChoice

func (o *DiagnosticCategoricalAnalysis) SetListChoice(v string)

SetListChoice gets a reference to the given string and assigns it to the ListChoice field.

func (DiagnosticCategoricalAnalysis) ToMap

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

type DiagnosticParams

type DiagnosticParams = DiagnosticRequest

DiagnosticParams - parametros do diagnostico (JSON). Alias do body tipado gerado: obrigatorios por valor, opcionais por ponteiro.

type DiagnosticParticipant

type DiagnosticParticipant struct {
	// Exact speaker label from the dialog (e.g. 'Speaker 1')
	Interlocutor string `json:"interlocutor"`
	// Participant name (optional)
	Name *string `json:"name,omitempty"`
	// agent | client | bot (optional — omit/empty when unknown)
	Role *string `json:"role,omitempty"`
}

DiagnosticParticipant struct for DiagnosticParticipant

func NewDiagnosticParticipant

func NewDiagnosticParticipant(interlocutor string) *DiagnosticParticipant

NewDiagnosticParticipant instantiates a new DiagnosticParticipant 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 NewDiagnosticParticipantWithDefaults

func NewDiagnosticParticipantWithDefaults() *DiagnosticParticipant

NewDiagnosticParticipantWithDefaults instantiates a new DiagnosticParticipant 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 (*DiagnosticParticipant) GetInterlocutor

func (o *DiagnosticParticipant) GetInterlocutor() string

GetInterlocutor returns the Interlocutor field value

func (*DiagnosticParticipant) GetInterlocutorOk

func (o *DiagnosticParticipant) GetInterlocutorOk() (*string, bool)

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

func (*DiagnosticParticipant) GetName

func (o *DiagnosticParticipant) GetName() string

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

func (*DiagnosticParticipant) GetNameOk

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

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

func (*DiagnosticParticipant) GetRole

func (o *DiagnosticParticipant) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*DiagnosticParticipant) GetRoleOk

func (o *DiagnosticParticipant) GetRoleOk() (*string, bool)

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

func (*DiagnosticParticipant) HasName

func (o *DiagnosticParticipant) HasName() bool

HasName returns a boolean if a field has been set.

func (*DiagnosticParticipant) HasRole added in v1.21.54

func (o *DiagnosticParticipant) HasRole() bool

HasRole returns a boolean if a field has been set.

func (DiagnosticParticipant) MarshalJSON

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

func (*DiagnosticParticipant) SetInterlocutor

func (o *DiagnosticParticipant) SetInterlocutor(v string)

SetInterlocutor sets field value

func (*DiagnosticParticipant) SetName

func (o *DiagnosticParticipant) SetName(v string)

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

func (*DiagnosticParticipant) SetRole

func (o *DiagnosticParticipant) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (DiagnosticParticipant) ToMap

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

func (*DiagnosticParticipant) UnmarshalJSON

func (o *DiagnosticParticipant) UnmarshalJSON(data []byte) (err error)

type DiagnosticRequest

type DiagnosticRequest struct {
	// Analysis model. Always 'falaai-diagnostic-1'
	Model *string `json:"model,omitempty"`
	// Plain transcript (fallback if dialog is empty). At least one of 'dialog' or 'text' required. Max 300,000 characters
	Text *string `json:"text,omitempty"`
	// Diarized transcript with speaker turns. PRIMARY source. At least one of 'dialog' or 'text' required. Speaker labels accepted (any case): 'Speaker N', 'Interlocutor N', 'Hablante N', 'Locutor N', 'Orador N' (space or underscore). Normalized internally to 'Speaker N' in the response. Max 300,000 characters
	Dialog *string `json:"dialog,omitempty"`
	// Detected audio events with timestamps (required when using dialog)
	AudioEvents []DiagnosticAudioEvent `json:"audio_events,omitempty"`
	// Transcript language. Required. Accepted: en-US, pt-BR, es-ES, es-MX, fr-FR, de-DE, it-IT, pt-PT, zh-CN, ja-JP, ko-KR, ar-SA, hi-IN, ru-RU, id-ID, tr-TR, nl-NL, pl-PL, vi-VN, th-TH, en-GB
	Language string `json:"language"`
	// Language for the analysis results (labels, categories, levels). Can differ from 'language' (input). If omitted, uses 'language'. Accepted: en-US, es-ES, es-MX, pt-BR, fr-FR, de-DE, it-IT, pt-PT, zh-CN, ja-JP, ko-KR, ar-SA, hi-IN, ru-RU, id-ID, tr-TR, nl-NL, pl-PL, vi-VN, th-TH, en-GB.
	ResponseLanguage *string `json:"response_language,omitempty"`
	// Total audio duration in seconds. Optional when using only 'text' (ignored — not read/used). Required when using 'dialog' (must be >= last turn end). Max 3h (10800s).
	DurationSeconds *float32 `json:"duration_seconds,omitempty"`
	// Optional client-supplied ID echoed verbatim in the response. Use to correlate/sync with your system. Accepted charset: [A-Za-z0-9 _/:.-], max 60 chars. Not idempotency.
	ClientReferenceId *string `json:"client_reference_id,omitempty"`
	// Who originated the call. inbound=client called, outbound=company called. If omitted, the LLM infers from context.
	CallDirection *string `json:"call_direction,omitempty"`
	// Explicit participant roles. If omitted, the LLM infers from the dialog. When provided, used as ground truth (no inference) and echoed in analysis.participants_identified.
	Participants []DiagnosticParticipant `json:"participants,omitempty"`
}

DiagnosticRequest struct for DiagnosticRequest

func NewDiagnosticRequest

func NewDiagnosticRequest(language string) *DiagnosticRequest

NewDiagnosticRequest instantiates a new DiagnosticRequest 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 NewDiagnosticRequestWithDefaults

func NewDiagnosticRequestWithDefaults() *DiagnosticRequest

NewDiagnosticRequestWithDefaults instantiates a new DiagnosticRequest 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 (*DiagnosticRequest) GetAudioEvents

func (o *DiagnosticRequest) GetAudioEvents() []DiagnosticAudioEvent

GetAudioEvents returns the AudioEvents field value if set, zero value otherwise.

func (*DiagnosticRequest) GetAudioEventsOk

func (o *DiagnosticRequest) GetAudioEventsOk() ([]DiagnosticAudioEvent, bool)

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

func (*DiagnosticRequest) GetCallDirection

func (o *DiagnosticRequest) GetCallDirection() string

GetCallDirection returns the CallDirection field value if set, zero value otherwise.

func (*DiagnosticRequest) GetCallDirectionOk

func (o *DiagnosticRequest) GetCallDirectionOk() (*string, bool)

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

func (*DiagnosticRequest) GetClientReferenceId

func (o *DiagnosticRequest) GetClientReferenceId() string

GetClientReferenceId returns the ClientReferenceId field value if set, zero value otherwise.

func (*DiagnosticRequest) GetClientReferenceIdOk

func (o *DiagnosticRequest) GetClientReferenceIdOk() (*string, bool)

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

func (*DiagnosticRequest) GetDialog

func (o *DiagnosticRequest) GetDialog() string

GetDialog returns the Dialog field value if set, zero value otherwise.

func (*DiagnosticRequest) GetDialogOk

func (o *DiagnosticRequest) GetDialogOk() (*string, bool)

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

func (*DiagnosticRequest) GetDurationSeconds

func (o *DiagnosticRequest) GetDurationSeconds() float32

GetDurationSeconds returns the DurationSeconds field value if set, zero value otherwise.

func (*DiagnosticRequest) GetDurationSecondsOk

func (o *DiagnosticRequest) GetDurationSecondsOk() (*float32, bool)

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

func (*DiagnosticRequest) GetLanguage

func (o *DiagnosticRequest) GetLanguage() string

GetLanguage returns the Language field value

func (*DiagnosticRequest) GetLanguageOk

func (o *DiagnosticRequest) GetLanguageOk() (*string, bool)

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

func (*DiagnosticRequest) GetModel

func (o *DiagnosticRequest) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*DiagnosticRequest) GetModelOk

func (o *DiagnosticRequest) GetModelOk() (*string, bool)

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

func (*DiagnosticRequest) GetParticipants

func (o *DiagnosticRequest) GetParticipants() []DiagnosticParticipant

GetParticipants returns the Participants field value if set, zero value otherwise.

func (*DiagnosticRequest) GetParticipantsOk

func (o *DiagnosticRequest) GetParticipantsOk() ([]DiagnosticParticipant, bool)

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

func (*DiagnosticRequest) GetResponseLanguage

func (o *DiagnosticRequest) GetResponseLanguage() string

GetResponseLanguage returns the ResponseLanguage field value if set, zero value otherwise.

func (*DiagnosticRequest) GetResponseLanguageOk

func (o *DiagnosticRequest) GetResponseLanguageOk() (*string, bool)

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

func (*DiagnosticRequest) GetText

func (o *DiagnosticRequest) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*DiagnosticRequest) GetTextOk

func (o *DiagnosticRequest) GetTextOk() (*string, bool)

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

func (*DiagnosticRequest) HasAudioEvents

func (o *DiagnosticRequest) HasAudioEvents() bool

HasAudioEvents returns a boolean if a field has been set.

func (*DiagnosticRequest) HasCallDirection

func (o *DiagnosticRequest) HasCallDirection() bool

HasCallDirection returns a boolean if a field has been set.

func (*DiagnosticRequest) HasClientReferenceId

func (o *DiagnosticRequest) HasClientReferenceId() bool

HasClientReferenceId returns a boolean if a field has been set.

func (*DiagnosticRequest) HasDialog

func (o *DiagnosticRequest) HasDialog() bool

HasDialog returns a boolean if a field has been set.

func (*DiagnosticRequest) HasDurationSeconds added in v1.21.54

func (o *DiagnosticRequest) HasDurationSeconds() bool

HasDurationSeconds returns a boolean if a field has been set.

func (*DiagnosticRequest) HasModel

func (o *DiagnosticRequest) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*DiagnosticRequest) HasParticipants

func (o *DiagnosticRequest) HasParticipants() bool

HasParticipants returns a boolean if a field has been set.

func (*DiagnosticRequest) HasResponseLanguage

func (o *DiagnosticRequest) HasResponseLanguage() bool

HasResponseLanguage returns a boolean if a field has been set.

func (*DiagnosticRequest) HasText

func (o *DiagnosticRequest) HasText() bool

HasText returns a boolean if a field has been set.

func (DiagnosticRequest) MarshalJSON

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

func (*DiagnosticRequest) SetAudioEvents

func (o *DiagnosticRequest) SetAudioEvents(v []DiagnosticAudioEvent)

SetAudioEvents gets a reference to the given []DiagnosticAudioEvent and assigns it to the AudioEvents field.

func (*DiagnosticRequest) SetCallDirection

func (o *DiagnosticRequest) SetCallDirection(v string)

SetCallDirection gets a reference to the given string and assigns it to the CallDirection field.

func (*DiagnosticRequest) SetClientReferenceId

func (o *DiagnosticRequest) SetClientReferenceId(v string)

SetClientReferenceId gets a reference to the given string and assigns it to the ClientReferenceId field.

func (*DiagnosticRequest) SetDialog

func (o *DiagnosticRequest) SetDialog(v string)

SetDialog gets a reference to the given string and assigns it to the Dialog field.

func (*DiagnosticRequest) SetDurationSeconds

func (o *DiagnosticRequest) SetDurationSeconds(v float32)

SetDurationSeconds gets a reference to the given float32 and assigns it to the DurationSeconds field.

func (*DiagnosticRequest) SetLanguage

func (o *DiagnosticRequest) SetLanguage(v string)

SetLanguage sets field value

func (*DiagnosticRequest) SetModel

func (o *DiagnosticRequest) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

func (*DiagnosticRequest) SetParticipants

func (o *DiagnosticRequest) SetParticipants(v []DiagnosticParticipant)

SetParticipants gets a reference to the given []DiagnosticParticipant and assigns it to the Participants field.

func (*DiagnosticRequest) SetResponseLanguage

func (o *DiagnosticRequest) SetResponseLanguage(v string)

SetResponseLanguage gets a reference to the given string and assigns it to the ResponseLanguage field.

func (*DiagnosticRequest) SetText

func (o *DiagnosticRequest) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

func (DiagnosticRequest) ToMap

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

func (*DiagnosticRequest) UnmarshalJSON

func (o *DiagnosticRequest) UnmarshalJSON(data []byte) (err error)

type DiagnosticResponse

type DiagnosticResponse struct {
	// Unique analysis identifier. Prefix 'di-' + UUID
	Id string `json:"id"`
	// Language used in the response. E.g.: 'pt-BR', 'en-US', 'es-ES'
	ResponseLanguage string `json:"response_language"`
	// Object type. Always 'analysis'
	Object string `json:"object"`
	// The 6 conversation analyses (5 + participants)
	Analysis DiagnosticAnalysisMap `json:"analysis"`
	// Usage and processing information
	Usage DiagnosticUsage `json:"usage"`
	// Client-supplied ID echoed verbatim (if provided in request)
	ClientReferenceId *string `json:"client_reference_id,omitempty"`
	// Visual HTML report of the diagnosis (base64 gzip). Only present when 'dialog' is provided; null for text-only requests.
	HtmlReport *string `json:"html_report,omitempty"`
}

DiagnosticResponse struct for DiagnosticResponse

func NewDiagnosticResponse

func NewDiagnosticResponse(id string, responseLanguage string, object string, analysis DiagnosticAnalysisMap, usage DiagnosticUsage) *DiagnosticResponse

NewDiagnosticResponse instantiates a new DiagnosticResponse 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 NewDiagnosticResponseWithDefaults

func NewDiagnosticResponseWithDefaults() *DiagnosticResponse

NewDiagnosticResponseWithDefaults instantiates a new DiagnosticResponse 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 (*DiagnosticResponse) GetAnalysis

func (o *DiagnosticResponse) GetAnalysis() DiagnosticAnalysisMap

GetAnalysis returns the Analysis field value

func (*DiagnosticResponse) GetAnalysisOk

func (o *DiagnosticResponse) GetAnalysisOk() (*DiagnosticAnalysisMap, bool)

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

func (*DiagnosticResponse) GetClientReferenceId

func (o *DiagnosticResponse) GetClientReferenceId() string

GetClientReferenceId returns the ClientReferenceId field value if set, zero value otherwise.

func (*DiagnosticResponse) GetClientReferenceIdOk

func (o *DiagnosticResponse) GetClientReferenceIdOk() (*string, bool)

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

func (*DiagnosticResponse) GetHtmlReport added in v1.21.54

func (o *DiagnosticResponse) GetHtmlReport() string

GetHtmlReport returns the HtmlReport field value if set, zero value otherwise.

func (*DiagnosticResponse) GetHtmlReportOk added in v1.21.54

func (o *DiagnosticResponse) GetHtmlReportOk() (*string, bool)

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

func (*DiagnosticResponse) GetId

func (o *DiagnosticResponse) GetId() string

GetId returns the Id field value

func (*DiagnosticResponse) GetIdOk

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

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

func (*DiagnosticResponse) GetObject

func (o *DiagnosticResponse) GetObject() string

GetObject returns the Object field value

func (*DiagnosticResponse) GetObjectOk

func (o *DiagnosticResponse) GetObjectOk() (*string, bool)

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

func (*DiagnosticResponse) GetResponseLanguage

func (o *DiagnosticResponse) GetResponseLanguage() string

GetResponseLanguage returns the ResponseLanguage field value

func (*DiagnosticResponse) GetResponseLanguageOk

func (o *DiagnosticResponse) GetResponseLanguageOk() (*string, bool)

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

func (*DiagnosticResponse) GetUsage

func (o *DiagnosticResponse) GetUsage() DiagnosticUsage

GetUsage returns the Usage field value

func (*DiagnosticResponse) GetUsageOk

func (o *DiagnosticResponse) GetUsageOk() (*DiagnosticUsage, bool)

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

func (*DiagnosticResponse) HasClientReferenceId

func (o *DiagnosticResponse) HasClientReferenceId() bool

HasClientReferenceId returns a boolean if a field has been set.

func (*DiagnosticResponse) HasHtmlReport added in v1.21.54

func (o *DiagnosticResponse) HasHtmlReport() bool

HasHtmlReport returns a boolean if a field has been set.

func (DiagnosticResponse) MarshalJSON

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

func (*DiagnosticResponse) SetAnalysis

func (o *DiagnosticResponse) SetAnalysis(v DiagnosticAnalysisMap)

SetAnalysis sets field value

func (*DiagnosticResponse) SetClientReferenceId

func (o *DiagnosticResponse) SetClientReferenceId(v string)

SetClientReferenceId gets a reference to the given string and assigns it to the ClientReferenceId field.

func (*DiagnosticResponse) SetHtmlReport added in v1.21.54

func (o *DiagnosticResponse) SetHtmlReport(v string)

SetHtmlReport gets a reference to the given string and assigns it to the HtmlReport field.

func (*DiagnosticResponse) SetId

func (o *DiagnosticResponse) SetId(v string)

SetId sets field value

func (*DiagnosticResponse) SetObject

func (o *DiagnosticResponse) SetObject(v string)

SetObject sets field value

func (*DiagnosticResponse) SetResponseLanguage

func (o *DiagnosticResponse) SetResponseLanguage(v string)

SetResponseLanguage sets field value

func (*DiagnosticResponse) SetUsage

func (o *DiagnosticResponse) SetUsage(v DiagnosticUsage)

SetUsage sets field value

func (DiagnosticResponse) ToMap

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

func (*DiagnosticResponse) UnmarshalJSON

func (o *DiagnosticResponse) UnmarshalJSON(data []byte) (err error)

type DiagnosticTextAnalysis

type DiagnosticTextAnalysis struct {
	// Explanatory text (used in summary and reason)
	Explanation *string `json:"explanation,omitempty"`
}

DiagnosticTextAnalysis struct for DiagnosticTextAnalysis

func NewDiagnosticTextAnalysis

func NewDiagnosticTextAnalysis() *DiagnosticTextAnalysis

NewDiagnosticTextAnalysis instantiates a new DiagnosticTextAnalysis 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 NewDiagnosticTextAnalysisWithDefaults

func NewDiagnosticTextAnalysisWithDefaults() *DiagnosticTextAnalysis

NewDiagnosticTextAnalysisWithDefaults instantiates a new DiagnosticTextAnalysis 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 (*DiagnosticTextAnalysis) GetExplanation

func (o *DiagnosticTextAnalysis) GetExplanation() string

GetExplanation returns the Explanation field value if set, zero value otherwise.

func (*DiagnosticTextAnalysis) GetExplanationOk

func (o *DiagnosticTextAnalysis) GetExplanationOk() (*string, bool)

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

func (*DiagnosticTextAnalysis) HasExplanation

func (o *DiagnosticTextAnalysis) HasExplanation() bool

HasExplanation returns a boolean if a field has been set.

func (DiagnosticTextAnalysis) MarshalJSON

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

func (*DiagnosticTextAnalysis) SetExplanation

func (o *DiagnosticTextAnalysis) SetExplanation(v string)

SetExplanation gets a reference to the given string and assigns it to the Explanation field.

func (DiagnosticTextAnalysis) ToMap

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

type DiagnosticUsage

type DiagnosticUsage struct {
	// Total characters analyzed
	Characters int32 `json:"characters"`
	// Credits consumed: per character, round(max(characters, 500) * 0.03, 2)
	CreditsConsumed float32 `json:"credits_consumed"`
	// Total processing time in milliseconds
	ProcessingMs int32 `json:"processing_ms"`
}

DiagnosticUsage struct for DiagnosticUsage

func NewDiagnosticUsage

func NewDiagnosticUsage(characters int32, creditsConsumed float32, processingMs int32) *DiagnosticUsage

NewDiagnosticUsage instantiates a new DiagnosticUsage 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 NewDiagnosticUsageWithDefaults

func NewDiagnosticUsageWithDefaults() *DiagnosticUsage

NewDiagnosticUsageWithDefaults instantiates a new DiagnosticUsage 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 (*DiagnosticUsage) GetCharacters

func (o *DiagnosticUsage) GetCharacters() int32

GetCharacters returns the Characters field value

func (*DiagnosticUsage) GetCharactersOk

func (o *DiagnosticUsage) GetCharactersOk() (*int32, bool)

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

func (*DiagnosticUsage) GetCreditsConsumed

func (o *DiagnosticUsage) GetCreditsConsumed() float32

GetCreditsConsumed returns the CreditsConsumed field value

func (*DiagnosticUsage) GetCreditsConsumedOk

func (o *DiagnosticUsage) GetCreditsConsumedOk() (*float32, bool)

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

func (*DiagnosticUsage) GetProcessingMs

func (o *DiagnosticUsage) GetProcessingMs() int32

GetProcessingMs returns the ProcessingMs field value

func (*DiagnosticUsage) GetProcessingMsOk

func (o *DiagnosticUsage) GetProcessingMsOk() (*int32, bool)

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

func (DiagnosticUsage) MarshalJSON

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

func (*DiagnosticUsage) SetCharacters

func (o *DiagnosticUsage) SetCharacters(v int32)

SetCharacters sets field value

func (*DiagnosticUsage) SetCreditsConsumed

func (o *DiagnosticUsage) SetCreditsConsumed(v float32)

SetCreditsConsumed sets field value

func (*DiagnosticUsage) SetProcessingMs

func (o *DiagnosticUsage) SetProcessingMs(v int32)

SetProcessingMs sets field value

func (DiagnosticUsage) ToMap

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

func (*DiagnosticUsage) UnmarshalJSON

func (o *DiagnosticUsage) UnmarshalJSON(data []byte) (err error)

type EmailAlertItem

type EmailAlertItem struct {
	// Email alert id
	Id string `json:"id"`
	// Owner user id
	UserId string `json:"user_id"`
	// Email alert name
	Name string `json:"name"`
	// Destination email
	Email string `json:"email"`
	// Subscribed events
	Events []string `json:"events"`
	// Is active
	Active bool `json:"active"`
	// ISO 8601 created
	CreatedAt string `json:"created_at"`
	// ISO 8601 updated
	UpdatedAt string `json:"updated_at"`
}

EmailAlertItem struct for EmailAlertItem

func NewEmailAlertItem

func NewEmailAlertItem(id string, userId string, name string, email string, events []string, active bool, createdAt string, updatedAt string) *EmailAlertItem

NewEmailAlertItem instantiates a new EmailAlertItem 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 NewEmailAlertItemWithDefaults

func NewEmailAlertItemWithDefaults() *EmailAlertItem

NewEmailAlertItemWithDefaults instantiates a new EmailAlertItem 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 (*EmailAlertItem) GetActive

func (o *EmailAlertItem) GetActive() bool

GetActive returns the Active field value

func (*EmailAlertItem) GetActiveOk

func (o *EmailAlertItem) GetActiveOk() (*bool, bool)

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

func (*EmailAlertItem) GetCreatedAt

func (o *EmailAlertItem) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*EmailAlertItem) GetCreatedAtOk

func (o *EmailAlertItem) GetCreatedAtOk() (*string, bool)

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

func (*EmailAlertItem) GetEmail

func (o *EmailAlertItem) GetEmail() string

GetEmail returns the Email field value

func (*EmailAlertItem) GetEmailOk

func (o *EmailAlertItem) GetEmailOk() (*string, bool)

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

func (*EmailAlertItem) GetEvents

func (o *EmailAlertItem) GetEvents() []string

GetEvents returns the Events field value

func (*EmailAlertItem) GetEventsOk

func (o *EmailAlertItem) GetEventsOk() ([]string, bool)

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

func (*EmailAlertItem) GetId

func (o *EmailAlertItem) GetId() string

GetId returns the Id field value

func (*EmailAlertItem) GetIdOk

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

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

func (*EmailAlertItem) GetName

func (o *EmailAlertItem) GetName() string

GetName returns the Name field value

func (*EmailAlertItem) GetNameOk

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

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

func (*EmailAlertItem) GetUpdatedAt

func (o *EmailAlertItem) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value

func (*EmailAlertItem) GetUpdatedAtOk

func (o *EmailAlertItem) GetUpdatedAtOk() (*string, bool)

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

func (*EmailAlertItem) GetUserId

func (o *EmailAlertItem) GetUserId() string

GetUserId returns the UserId field value

func (*EmailAlertItem) GetUserIdOk

func (o *EmailAlertItem) GetUserIdOk() (*string, bool)

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

func (EmailAlertItem) MarshalJSON

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

func (*EmailAlertItem) SetActive

func (o *EmailAlertItem) SetActive(v bool)

SetActive sets field value

func (*EmailAlertItem) SetCreatedAt

func (o *EmailAlertItem) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*EmailAlertItem) SetEmail

func (o *EmailAlertItem) SetEmail(v string)

SetEmail sets field value

func (*EmailAlertItem) SetEvents

func (o *EmailAlertItem) SetEvents(v []string)

SetEvents sets field value

func (*EmailAlertItem) SetId

func (o *EmailAlertItem) SetId(v string)

SetId sets field value

func (*EmailAlertItem) SetName

func (o *EmailAlertItem) SetName(v string)

SetName sets field value

func (*EmailAlertItem) SetUpdatedAt

func (o *EmailAlertItem) SetUpdatedAt(v string)

SetUpdatedAt sets field value

func (*EmailAlertItem) SetUserId

func (o *EmailAlertItem) SetUserId(v string)

SetUserId sets field value

func (EmailAlertItem) ToMap

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

func (*EmailAlertItem) UnmarshalJSON

func (o *EmailAlertItem) UnmarshalJSON(data []byte) (err error)

type EmailAlertListResponse

type EmailAlertListResponse struct {
	Data  []EmailAlertItem `json:"data"`
	Page  int32            `json:"page"`
	Limit int32            `json:"limit"`
}

EmailAlertListResponse struct for EmailAlertListResponse

func NewEmailAlertListResponse

func NewEmailAlertListResponse(data []EmailAlertItem, page int32, limit int32) *EmailAlertListResponse

NewEmailAlertListResponse instantiates a new EmailAlertListResponse 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 NewEmailAlertListResponseWithDefaults

func NewEmailAlertListResponseWithDefaults() *EmailAlertListResponse

NewEmailAlertListResponseWithDefaults instantiates a new EmailAlertListResponse 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 (*EmailAlertListResponse) GetData

func (o *EmailAlertListResponse) GetData() []EmailAlertItem

GetData returns the Data field value

func (*EmailAlertListResponse) GetDataOk

func (o *EmailAlertListResponse) GetDataOk() ([]EmailAlertItem, bool)

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

func (*EmailAlertListResponse) GetLimit

func (o *EmailAlertListResponse) GetLimit() int32

GetLimit returns the Limit field value

func (*EmailAlertListResponse) GetLimitOk

func (o *EmailAlertListResponse) GetLimitOk() (*int32, bool)

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

func (*EmailAlertListResponse) GetPage

func (o *EmailAlertListResponse) GetPage() int32

GetPage returns the Page field value

func (*EmailAlertListResponse) GetPageOk

func (o *EmailAlertListResponse) GetPageOk() (*int32, bool)

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

func (EmailAlertListResponse) MarshalJSON

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

func (*EmailAlertListResponse) SetData

func (o *EmailAlertListResponse) SetData(v []EmailAlertItem)

SetData sets field value

func (*EmailAlertListResponse) SetLimit

func (o *EmailAlertListResponse) SetLimit(v int32)

SetLimit sets field value

func (*EmailAlertListResponse) SetPage

func (o *EmailAlertListResponse) SetPage(v int32)

SetPage sets field value

func (EmailAlertListResponse) ToMap

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

func (*EmailAlertListResponse) UnmarshalJSON

func (o *EmailAlertListResponse) UnmarshalJSON(data []byte) (err error)

type EmailAlertMessageResponse

type EmailAlertMessageResponse struct {
	// Operation result message
	Message string `json:"message"`
}

EmailAlertMessageResponse struct for EmailAlertMessageResponse

func NewEmailAlertMessageResponse

func NewEmailAlertMessageResponse(message string) *EmailAlertMessageResponse

NewEmailAlertMessageResponse instantiates a new EmailAlertMessageResponse 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 NewEmailAlertMessageResponseWithDefaults

func NewEmailAlertMessageResponseWithDefaults() *EmailAlertMessageResponse

NewEmailAlertMessageResponseWithDefaults instantiates a new EmailAlertMessageResponse 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 (*EmailAlertMessageResponse) GetMessage

func (o *EmailAlertMessageResponse) GetMessage() string

GetMessage returns the Message field value

func (*EmailAlertMessageResponse) GetMessageOk

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

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

func (EmailAlertMessageResponse) MarshalJSON

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

func (*EmailAlertMessageResponse) SetMessage

func (o *EmailAlertMessageResponse) SetMessage(v string)

SetMessage sets field value

func (EmailAlertMessageResponse) ToMap

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

func (*EmailAlertMessageResponse) UnmarshalJSON

func (o *EmailAlertMessageResponse) UnmarshalJSON(data []byte) (err error)

type EmailAlertsAPIService

type EmailAlertsAPIService service

EmailAlertsAPIService EmailAlertsAPI service

func (*EmailAlertsAPIService) CreateEmailAlertV1EmailAlertsPost

func (a *EmailAlertsAPIService) CreateEmailAlertV1EmailAlertsPost(ctx context.Context) ApiCreateEmailAlertV1EmailAlertsPostRequest

CreateEmailAlertV1EmailAlertsPost Create email alert

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

func (*EmailAlertsAPIService) CreateEmailAlertV1EmailAlertsPostExecute

func (a *EmailAlertsAPIService) CreateEmailAlertV1EmailAlertsPostExecute(r ApiCreateEmailAlertV1EmailAlertsPostRequest) (*EmailAlertItem, *http.Response, error)

Execute executes the request

@return EmailAlertItem

func (*EmailAlertsAPIService) DeleteEmailAlertV1EmailAlertsAlertIdDelete

func (a *EmailAlertsAPIService) DeleteEmailAlertV1EmailAlertsAlertIdDelete(ctx context.Context, alertId string) ApiDeleteEmailAlertV1EmailAlertsAlertIdDeleteRequest

DeleteEmailAlertV1EmailAlertsAlertIdDelete Delete email alert

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

func (*EmailAlertsAPIService) DeleteEmailAlertV1EmailAlertsAlertIdDeleteExecute

Execute executes the request

@return EmailAlertMessageResponse

func (*EmailAlertsAPIService) ListEmailAlertsV1EmailAlertsGet

func (a *EmailAlertsAPIService) ListEmailAlertsV1EmailAlertsGet(ctx context.Context) ApiListEmailAlertsV1EmailAlertsGetRequest

ListEmailAlertsV1EmailAlertsGet List email alerts

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

func (*EmailAlertsAPIService) ListEmailAlertsV1EmailAlertsGetExecute

Execute executes the request

@return EmailAlertListResponse

func (*EmailAlertsAPIService) UpdateEmailAlertV1EmailAlertsAlertIdPut

func (a *EmailAlertsAPIService) UpdateEmailAlertV1EmailAlertsAlertIdPut(ctx context.Context, alertId string) ApiUpdateEmailAlertV1EmailAlertsAlertIdPutRequest

UpdateEmailAlertV1EmailAlertsAlertIdPut Update email alert

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

func (*EmailAlertsAPIService) UpdateEmailAlertV1EmailAlertsAlertIdPutExecute

Execute executes the request

@return EmailAlertMessageResponse

type EmailEvent

type EmailEvent string

EmailEvent the model 'EmailEvent'

const (
	EMAILEVENT_SUBSCRIPTION_CREATED    EmailEvent = "subscription.created"
	EMAILEVENT_AVULSO_COMPLETED        EmailEvent = "avulso.completed"
	EMAILEVENT_SUBSCRIPTION_UPGRADED   EmailEvent = "subscription.upgraded"
	EMAILEVENT_SUBSCRIPTION_DOWNGRADED EmailEvent = "subscription.downgraded"
	EMAILEVENT_SUBSCRIPTION_CANCELED   EmailEvent = "subscription.canceled"
	EMAILEVENT_CREDITS_LOW             EmailEvent = "credits.low"
	EMAILEVENT_CREDITS_EXHAUSTED       EmailEvent = "credits.exhausted"
	EMAILEVENT_SUBSCRIPTION_RENEWED    EmailEvent = "subscription.renewed"
	EMAILEVENT_PAYMENT_FAILED          EmailEvent = "payment.failed"
)

List of EmailEvent

func NewEmailEventFromValue

func NewEmailEventFromValue(v string) (*EmailEvent, error)

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

func (EmailEvent) IsValid

func (v EmailEvent) IsValid() bool

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

func (EmailEvent) Ptr

func (v EmailEvent) Ptr() *EmailEvent

Ptr returns reference to EmailEvent value

func (*EmailEvent) UnmarshalJSON

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

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 HTTPValidationError

type HTTPValidationError struct {
	Detail []ValidationError `json:"detail,omitempty"`
}

HTTPValidationError struct for HTTPValidationError

func NewHTTPValidationError

func NewHTTPValidationError() *HTTPValidationError

NewHTTPValidationError instantiates a new HTTPValidationError 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 NewHTTPValidationErrorWithDefaults

func NewHTTPValidationErrorWithDefaults() *HTTPValidationError

NewHTTPValidationErrorWithDefaults instantiates a new HTTPValidationError 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 (*HTTPValidationError) GetDetail

func (o *HTTPValidationError) GetDetail() []ValidationError

GetDetail returns the Detail field value if set, zero value otherwise.

func (*HTTPValidationError) GetDetailOk

func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)

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

func (*HTTPValidationError) HasDetail

func (o *HTTPValidationError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (HTTPValidationError) MarshalJSON

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

func (*HTTPValidationError) SetDetail

func (o *HTTPValidationError) SetDetail(v []ValidationError)

SetDetail gets a reference to the given []ValidationError and assigns it to the Detail field.

func (HTTPValidationError) ToMap

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

type HealthAPIService

type HealthAPIService service

HealthAPIService HealthAPI service

func (*HealthAPIService) HealthCheck

HealthCheck Health Check

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

func (*HealthAPIService) HealthCheckExecute

Execute executes the request

@return HealthResponse

func (*HealthAPIService) HealthCheckHead

HealthCheckHead Health Check

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

func (*HealthAPIService) HealthCheckHeadExecute

func (a *HealthAPIService) HealthCheckHeadExecute(r ApiHealthCheckHeadRequest) (*HealthResponse, *http.Response, error)

Execute executes the request

@return HealthResponse

type HealthResponse

type HealthResponse struct {
	// Overall API status
	Status string `json:"status"`
	// Current API version
	Version string `json:"version"`
	// Uptime in seconds
	UptimeSeconds int32 `json:"uptime_seconds"`
	// Database connection status
	Database bool `json:"database"`
	// Development phase
	Phase string `json:"phase"`
	// Expected public launch date
	LaunchDate string `json:"launch_date"`
}

HealthResponse struct for HealthResponse

func NewHealthResponse

func NewHealthResponse(status string, version string, uptimeSeconds int32, database bool, phase string, launchDate string) *HealthResponse

NewHealthResponse instantiates a new HealthResponse 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 NewHealthResponseWithDefaults

func NewHealthResponseWithDefaults() *HealthResponse

NewHealthResponseWithDefaults instantiates a new HealthResponse 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 (*HealthResponse) GetDatabase

func (o *HealthResponse) GetDatabase() bool

GetDatabase returns the Database field value

func (*HealthResponse) GetDatabaseOk

func (o *HealthResponse) GetDatabaseOk() (*bool, bool)

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

func (*HealthResponse) GetLaunchDate

func (o *HealthResponse) GetLaunchDate() string

GetLaunchDate returns the LaunchDate field value

func (*HealthResponse) GetLaunchDateOk

func (o *HealthResponse) GetLaunchDateOk() (*string, bool)

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

func (*HealthResponse) GetPhase

func (o *HealthResponse) GetPhase() string

GetPhase returns the Phase field value

func (*HealthResponse) GetPhaseOk

func (o *HealthResponse) GetPhaseOk() (*string, bool)

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

func (*HealthResponse) GetStatus

func (o *HealthResponse) GetStatus() string

GetStatus returns the Status field value

func (*HealthResponse) GetStatusOk

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

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

func (*HealthResponse) GetUptimeSeconds

func (o *HealthResponse) GetUptimeSeconds() int32

GetUptimeSeconds returns the UptimeSeconds field value

func (*HealthResponse) GetUptimeSecondsOk

func (o *HealthResponse) GetUptimeSecondsOk() (*int32, bool)

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

func (*HealthResponse) GetVersion

func (o *HealthResponse) GetVersion() string

GetVersion returns the Version field value

func (*HealthResponse) GetVersionOk

func (o *HealthResponse) GetVersionOk() (*string, bool)

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

func (HealthResponse) MarshalJSON

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

func (*HealthResponse) SetDatabase

func (o *HealthResponse) SetDatabase(v bool)

SetDatabase sets field value

func (*HealthResponse) SetLaunchDate

func (o *HealthResponse) SetLaunchDate(v string)

SetLaunchDate sets field value

func (*HealthResponse) SetPhase

func (o *HealthResponse) SetPhase(v string)

SetPhase sets field value

func (*HealthResponse) SetStatus

func (o *HealthResponse) SetStatus(v string)

SetStatus sets field value

func (*HealthResponse) SetUptimeSeconds

func (o *HealthResponse) SetUptimeSeconds(v int32)

SetUptimeSeconds sets field value

func (*HealthResponse) SetVersion

func (o *HealthResponse) SetVersion(v string)

SetVersion sets field value

func (HealthResponse) ToMap

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

func (*HealthResponse) UnmarshalJSON

func (o *HealthResponse) UnmarshalJSON(data []byte) (err error)

type LocationInner

type LocationInner struct {
	Int32  *int32
	String *string
}

LocationInner struct for LocationInner

func (LocationInner) MarshalJSON

func (src LocationInner) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*LocationInner) UnmarshalJSON

func (dst *LocationInner) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type MappedNullable

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

type MessageResponse

type MessageResponse struct {
	// Operation result message
	Message string `json:"message"`
}

MessageResponse struct for MessageResponse

func NewMessageResponse

func NewMessageResponse(message string) *MessageResponse

NewMessageResponse instantiates a new MessageResponse 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 NewMessageResponseWithDefaults

func NewMessageResponseWithDefaults() *MessageResponse

NewMessageResponseWithDefaults instantiates a new MessageResponse 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 (*MessageResponse) GetMessage

func (o *MessageResponse) GetMessage() string

GetMessage returns the Message field value

func (*MessageResponse) GetMessageOk

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

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

func (MessageResponse) MarshalJSON

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

func (*MessageResponse) SetMessage

func (o *MessageResponse) SetMessage(v string)

SetMessage sets field value

func (MessageResponse) ToMap

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

func (*MessageResponse) UnmarshalJSON

func (o *MessageResponse) UnmarshalJSON(data []byte) (err error)

type NullableAudioEvent

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

func NewNullableAudioEvent

func NewNullableAudioEvent(val *AudioEvent) *NullableAudioEvent

func (NullableAudioEvent) Get

func (v NullableAudioEvent) Get() *AudioEvent

func (NullableAudioEvent) IsSet

func (v NullableAudioEvent) IsSet() bool

func (NullableAudioEvent) MarshalJSON

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

func (*NullableAudioEvent) Set

func (v *NullableAudioEvent) Set(val *AudioEvent)

func (*NullableAudioEvent) UnmarshalJSON

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

func (*NullableAudioEvent) Unset

func (v *NullableAudioEvent) Unset()

type NullableAudioInputMeta

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

func NewNullableAudioInputMeta

func NewNullableAudioInputMeta(val *AudioInputMeta) *NullableAudioInputMeta

func (NullableAudioInputMeta) Get

func (NullableAudioInputMeta) IsSet

func (v NullableAudioInputMeta) IsSet() bool

func (NullableAudioInputMeta) MarshalJSON

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

func (*NullableAudioInputMeta) Set

func (*NullableAudioInputMeta) UnmarshalJSON

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

func (*NullableAudioInputMeta) Unset

func (v *NullableAudioInputMeta) 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 NullableCreateEmailAlertRequest

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

func (NullableCreateEmailAlertRequest) Get

func (NullableCreateEmailAlertRequest) IsSet

func (NullableCreateEmailAlertRequest) MarshalJSON

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

func (*NullableCreateEmailAlertRequest) Set

func (*NullableCreateEmailAlertRequest) UnmarshalJSON

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

func (*NullableCreateEmailAlertRequest) Unset

type NullableCreateWebhookRequest

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

func NewNullableCreateWebhookRequest

func NewNullableCreateWebhookRequest(val *CreateWebhookRequest) *NullableCreateWebhookRequest

func (NullableCreateWebhookRequest) Get

func (NullableCreateWebhookRequest) IsSet

func (NullableCreateWebhookRequest) MarshalJSON

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

func (*NullableCreateWebhookRequest) Set

func (*NullableCreateWebhookRequest) UnmarshalJSON

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

func (*NullableCreateWebhookRequest) Unset

func (v *NullableCreateWebhookRequest) Unset()

type NullableDiagnosticAnalysisMap

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

func (NullableDiagnosticAnalysisMap) Get

func (NullableDiagnosticAnalysisMap) IsSet

func (NullableDiagnosticAnalysisMap) MarshalJSON

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

func (*NullableDiagnosticAnalysisMap) Set

func (*NullableDiagnosticAnalysisMap) UnmarshalJSON

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

func (*NullableDiagnosticAnalysisMap) Unset

func (v *NullableDiagnosticAnalysisMap) Unset()

type NullableDiagnosticAudioEvent

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

func NewNullableDiagnosticAudioEvent

func NewNullableDiagnosticAudioEvent(val *DiagnosticAudioEvent) *NullableDiagnosticAudioEvent

func (NullableDiagnosticAudioEvent) Get

func (NullableDiagnosticAudioEvent) IsSet

func (NullableDiagnosticAudioEvent) MarshalJSON

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

func (*NullableDiagnosticAudioEvent) Set

func (*NullableDiagnosticAudioEvent) UnmarshalJSON

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

func (*NullableDiagnosticAudioEvent) Unset

func (v *NullableDiagnosticAudioEvent) Unset()

type NullableDiagnosticCategoricalAnalysis

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

func (NullableDiagnosticCategoricalAnalysis) Get

func (NullableDiagnosticCategoricalAnalysis) IsSet

func (NullableDiagnosticCategoricalAnalysis) MarshalJSON

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

func (*NullableDiagnosticCategoricalAnalysis) Set

func (*NullableDiagnosticCategoricalAnalysis) UnmarshalJSON

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

func (*NullableDiagnosticCategoricalAnalysis) Unset

type NullableDiagnosticParticipant

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

func (NullableDiagnosticParticipant) Get

func (NullableDiagnosticParticipant) IsSet

func (NullableDiagnosticParticipant) MarshalJSON

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

func (*NullableDiagnosticParticipant) Set

func (*NullableDiagnosticParticipant) UnmarshalJSON

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

func (*NullableDiagnosticParticipant) Unset

func (v *NullableDiagnosticParticipant) Unset()

type NullableDiagnosticRequest

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

func NewNullableDiagnosticRequest

func NewNullableDiagnosticRequest(val *DiagnosticRequest) *NullableDiagnosticRequest

func (NullableDiagnosticRequest) Get

func (NullableDiagnosticRequest) IsSet

func (v NullableDiagnosticRequest) IsSet() bool

func (NullableDiagnosticRequest) MarshalJSON

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

func (*NullableDiagnosticRequest) Set

func (*NullableDiagnosticRequest) UnmarshalJSON

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

func (*NullableDiagnosticRequest) Unset

func (v *NullableDiagnosticRequest) Unset()

type NullableDiagnosticResponse

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

func NewNullableDiagnosticResponse

func NewNullableDiagnosticResponse(val *DiagnosticResponse) *NullableDiagnosticResponse

func (NullableDiagnosticResponse) Get

func (NullableDiagnosticResponse) IsSet

func (v NullableDiagnosticResponse) IsSet() bool

func (NullableDiagnosticResponse) MarshalJSON

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

func (*NullableDiagnosticResponse) Set

func (*NullableDiagnosticResponse) UnmarshalJSON

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

func (*NullableDiagnosticResponse) Unset

func (v *NullableDiagnosticResponse) Unset()

type NullableDiagnosticTextAnalysis

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

func (NullableDiagnosticTextAnalysis) Get

func (NullableDiagnosticTextAnalysis) IsSet

func (NullableDiagnosticTextAnalysis) MarshalJSON

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

func (*NullableDiagnosticTextAnalysis) Set

func (*NullableDiagnosticTextAnalysis) UnmarshalJSON

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

func (*NullableDiagnosticTextAnalysis) Unset

func (v *NullableDiagnosticTextAnalysis) Unset()

type NullableDiagnosticUsage

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

func NewNullableDiagnosticUsage

func NewNullableDiagnosticUsage(val *DiagnosticUsage) *NullableDiagnosticUsage

func (NullableDiagnosticUsage) Get

func (NullableDiagnosticUsage) IsSet

func (v NullableDiagnosticUsage) IsSet() bool

func (NullableDiagnosticUsage) MarshalJSON

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

func (*NullableDiagnosticUsage) Set

func (*NullableDiagnosticUsage) UnmarshalJSON

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

func (*NullableDiagnosticUsage) Unset

func (v *NullableDiagnosticUsage) Unset()

type NullableEmailAlertItem

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

func NewNullableEmailAlertItem

func NewNullableEmailAlertItem(val *EmailAlertItem) *NullableEmailAlertItem

func (NullableEmailAlertItem) Get

func (NullableEmailAlertItem) IsSet

func (v NullableEmailAlertItem) IsSet() bool

func (NullableEmailAlertItem) MarshalJSON

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

func (*NullableEmailAlertItem) Set

func (*NullableEmailAlertItem) UnmarshalJSON

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

func (*NullableEmailAlertItem) Unset

func (v *NullableEmailAlertItem) Unset()

type NullableEmailAlertListResponse

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

func (NullableEmailAlertListResponse) Get

func (NullableEmailAlertListResponse) IsSet

func (NullableEmailAlertListResponse) MarshalJSON

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

func (*NullableEmailAlertListResponse) Set

func (*NullableEmailAlertListResponse) UnmarshalJSON

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

func (*NullableEmailAlertListResponse) Unset

func (v *NullableEmailAlertListResponse) Unset()

type NullableEmailAlertMessageResponse

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

func (NullableEmailAlertMessageResponse) Get

func (NullableEmailAlertMessageResponse) IsSet

func (NullableEmailAlertMessageResponse) MarshalJSON

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

func (*NullableEmailAlertMessageResponse) Set

func (*NullableEmailAlertMessageResponse) UnmarshalJSON

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

func (*NullableEmailAlertMessageResponse) Unset

type NullableEmailEvent

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

func NewNullableEmailEvent

func NewNullableEmailEvent(val *EmailEvent) *NullableEmailEvent

func (NullableEmailEvent) Get

func (v NullableEmailEvent) Get() *EmailEvent

func (NullableEmailEvent) IsSet

func (v NullableEmailEvent) IsSet() bool

func (NullableEmailEvent) MarshalJSON

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

func (*NullableEmailEvent) Set

func (v *NullableEmailEvent) Set(val *EmailEvent)

func (*NullableEmailEvent) UnmarshalJSON

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

func (*NullableEmailEvent) Unset

func (v *NullableEmailEvent) 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 NullableHTTPValidationError

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

func NewNullableHTTPValidationError

func NewNullableHTTPValidationError(val *HTTPValidationError) *NullableHTTPValidationError

func (NullableHTTPValidationError) Get

func (NullableHTTPValidationError) IsSet

func (NullableHTTPValidationError) MarshalJSON

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

func (*NullableHTTPValidationError) Set

func (*NullableHTTPValidationError) UnmarshalJSON

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

func (*NullableHTTPValidationError) Unset

func (v *NullableHTTPValidationError) Unset()

type NullableHealthResponse

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

func NewNullableHealthResponse

func NewNullableHealthResponse(val *HealthResponse) *NullableHealthResponse

func (NullableHealthResponse) Get

func (NullableHealthResponse) IsSet

func (v NullableHealthResponse) IsSet() bool

func (NullableHealthResponse) MarshalJSON

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

func (*NullableHealthResponse) Set

func (*NullableHealthResponse) UnmarshalJSON

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

func (*NullableHealthResponse) Unset

func (v *NullableHealthResponse) 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 NullableLocationInner

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

func NewNullableLocationInner

func NewNullableLocationInner(val *LocationInner) *NullableLocationInner

func (NullableLocationInner) Get

func (NullableLocationInner) IsSet

func (v NullableLocationInner) IsSet() bool

func (NullableLocationInner) MarshalJSON

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

func (*NullableLocationInner) Set

func (v *NullableLocationInner) Set(val *LocationInner)

func (*NullableLocationInner) UnmarshalJSON

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

func (*NullableLocationInner) Unset

func (v *NullableLocationInner) Unset()

type NullableMessageResponse

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

func NewNullableMessageResponse

func NewNullableMessageResponse(val *MessageResponse) *NullableMessageResponse

func (NullableMessageResponse) Get

func (NullableMessageResponse) IsSet

func (v NullableMessageResponse) IsSet() bool

func (NullableMessageResponse) MarshalJSON

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

func (*NullableMessageResponse) Set

func (*NullableMessageResponse) UnmarshalJSON

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

func (*NullableMessageResponse) Unset

func (v *NullableMessageResponse) Unset()

type NullableParticipant

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

func NewNullableParticipant

func NewNullableParticipant(val *Participant) *NullableParticipant

func (NullableParticipant) Get

func (NullableParticipant) IsSet

func (v NullableParticipant) IsSet() bool

func (NullableParticipant) MarshalJSON

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

func (*NullableParticipant) Set

func (v *NullableParticipant) Set(val *Participant)

func (*NullableParticipant) UnmarshalJSON

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

func (*NullableParticipant) Unset

func (v *NullableParticipant) Unset()

type NullableParticipantDiagnostic

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

func (NullableParticipantDiagnostic) Get

func (NullableParticipantDiagnostic) IsSet

func (NullableParticipantDiagnostic) MarshalJSON

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

func (*NullableParticipantDiagnostic) Set

func (*NullableParticipantDiagnostic) UnmarshalJSON

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

func (*NullableParticipantDiagnostic) Unset

func (v *NullableParticipantDiagnostic) Unset()

type NullableResponseExtractConversationsV1WhatsappExtractconversationsPost added in v1.21.67

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

func (NullableResponseExtractConversationsV1WhatsappExtractconversationsPost) Get added in v1.21.67

func (NullableResponseExtractConversationsV1WhatsappExtractconversationsPost) IsSet added in v1.21.67

func (NullableResponseExtractConversationsV1WhatsappExtractconversationsPost) MarshalJSON added in v1.21.67

func (*NullableResponseExtractConversationsV1WhatsappExtractconversationsPost) Set added in v1.21.67

func (*NullableResponseExtractConversationsV1WhatsappExtractconversationsPost) UnmarshalJSON added in v1.21.67

func (*NullableResponseExtractConversationsV1WhatsappExtractconversationsPost) Unset added in v1.21.67

type NullableRiskAuditAnalysisV2

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

func NewNullableRiskAuditAnalysisV2

func NewNullableRiskAuditAnalysisV2(val *RiskAuditAnalysisV2) *NullableRiskAuditAnalysisV2

func (NullableRiskAuditAnalysisV2) Get

func (NullableRiskAuditAnalysisV2) IsSet

func (NullableRiskAuditAnalysisV2) MarshalJSON

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

func (*NullableRiskAuditAnalysisV2) Set

func (*NullableRiskAuditAnalysisV2) UnmarshalJSON

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

func (*NullableRiskAuditAnalysisV2) Unset

func (v *NullableRiskAuditAnalysisV2) Unset()

type NullableRiskAuditAppliedActionV2

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

func (NullableRiskAuditAppliedActionV2) Get

func (NullableRiskAuditAppliedActionV2) IsSet

func (NullableRiskAuditAppliedActionV2) MarshalJSON

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

func (*NullableRiskAuditAppliedActionV2) Set

func (*NullableRiskAuditAppliedActionV2) UnmarshalJSON

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

func (*NullableRiskAuditAppliedActionV2) Unset

type NullableRiskAuditAudioEventModelV2

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

func (NullableRiskAuditAudioEventModelV2) Get

func (NullableRiskAuditAudioEventModelV2) IsSet

func (NullableRiskAuditAudioEventModelV2) MarshalJSON

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

func (*NullableRiskAuditAudioEventModelV2) Set

func (*NullableRiskAuditAudioEventModelV2) UnmarshalJSON

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

func (*NullableRiskAuditAudioEventModelV2) Unset

type NullableRiskAuditAuditDecisionsV2

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

func (NullableRiskAuditAuditDecisionsV2) Get

func (NullableRiskAuditAuditDecisionsV2) IsSet

func (NullableRiskAuditAuditDecisionsV2) MarshalJSON

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

func (*NullableRiskAuditAuditDecisionsV2) Set

func (*NullableRiskAuditAuditDecisionsV2) UnmarshalJSON

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

func (*NullableRiskAuditAuditDecisionsV2) Unset

type NullableRiskAuditConversationScoresV2

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

func (NullableRiskAuditConversationScoresV2) Get

func (NullableRiskAuditConversationScoresV2) IsSet

func (NullableRiskAuditConversationScoresV2) MarshalJSON

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

func (*NullableRiskAuditConversationScoresV2) Set

func (*NullableRiskAuditConversationScoresV2) UnmarshalJSON

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

func (*NullableRiskAuditConversationScoresV2) Unset

type NullableRiskAuditDetectionItemV2

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

func (NullableRiskAuditDetectionItemV2) Get

func (NullableRiskAuditDetectionItemV2) IsSet

func (NullableRiskAuditDetectionItemV2) MarshalJSON

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

func (*NullableRiskAuditDetectionItemV2) Set

func (*NullableRiskAuditDetectionItemV2) UnmarshalJSON

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

func (*NullableRiskAuditDetectionItemV2) Unset

type NullableRiskAuditDetectionsV2

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

func (NullableRiskAuditDetectionsV2) Get

func (NullableRiskAuditDetectionsV2) IsSet

func (NullableRiskAuditDetectionsV2) MarshalJSON

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

func (*NullableRiskAuditDetectionsV2) Set

func (*NullableRiskAuditDetectionsV2) UnmarshalJSON

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

func (*NullableRiskAuditDetectionsV2) Unset

func (v *NullableRiskAuditDetectionsV2) Unset()

type NullableRiskAuditIndexerV2

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

func NewNullableRiskAuditIndexerV2

func NewNullableRiskAuditIndexerV2(val *RiskAuditIndexerV2) *NullableRiskAuditIndexerV2

func (NullableRiskAuditIndexerV2) Get

func (NullableRiskAuditIndexerV2) IsSet

func (v NullableRiskAuditIndexerV2) IsSet() bool

func (NullableRiskAuditIndexerV2) MarshalJSON

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

func (*NullableRiskAuditIndexerV2) Set

func (*NullableRiskAuditIndexerV2) UnmarshalJSON

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

func (*NullableRiskAuditIndexerV2) Unset

func (v *NullableRiskAuditIndexerV2) Unset()

type NullableRiskAuditMetaV2

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

func NewNullableRiskAuditMetaV2

func NewNullableRiskAuditMetaV2(val *RiskAuditMetaV2) *NullableRiskAuditMetaV2

func (NullableRiskAuditMetaV2) Get

func (NullableRiskAuditMetaV2) IsSet

func (v NullableRiskAuditMetaV2) IsSet() bool

func (NullableRiskAuditMetaV2) MarshalJSON

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

func (*NullableRiskAuditMetaV2) Set

func (*NullableRiskAuditMetaV2) UnmarshalJSON

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

func (*NullableRiskAuditMetaV2) Unset

func (v *NullableRiskAuditMetaV2) Unset()

type NullableRiskAuditParticipantV2

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

func (NullableRiskAuditParticipantV2) Get

func (NullableRiskAuditParticipantV2) IsSet

func (NullableRiskAuditParticipantV2) MarshalJSON

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

func (*NullableRiskAuditParticipantV2) Set

func (*NullableRiskAuditParticipantV2) UnmarshalJSON

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

func (*NullableRiskAuditParticipantV2) Unset

func (v *NullableRiskAuditParticipantV2) Unset()

type NullableRiskAuditParticipantsV2

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

func (NullableRiskAuditParticipantsV2) Get

func (NullableRiskAuditParticipantsV2) IsSet

func (NullableRiskAuditParticipantsV2) MarshalJSON

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

func (*NullableRiskAuditParticipantsV2) Set

func (*NullableRiskAuditParticipantsV2) UnmarshalJSON

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

func (*NullableRiskAuditParticipantsV2) Unset

type NullableRiskAuditRequest

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

func NewNullableRiskAuditRequest

func NewNullableRiskAuditRequest(val *RiskAuditRequest) *NullableRiskAuditRequest

func (NullableRiskAuditRequest) Get

func (NullableRiskAuditRequest) IsSet

func (v NullableRiskAuditRequest) IsSet() bool

func (NullableRiskAuditRequest) MarshalJSON

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

func (*NullableRiskAuditRequest) Set

func (*NullableRiskAuditRequest) UnmarshalJSON

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

func (*NullableRiskAuditRequest) Unset

func (v *NullableRiskAuditRequest) Unset()

type NullableRiskAuditScoresV2

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

func NewNullableRiskAuditScoresV2

func NewNullableRiskAuditScoresV2(val *RiskAuditScoresV2) *NullableRiskAuditScoresV2

func (NullableRiskAuditScoresV2) Get

func (NullableRiskAuditScoresV2) IsSet

func (v NullableRiskAuditScoresV2) IsSet() bool

func (NullableRiskAuditScoresV2) MarshalJSON

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

func (*NullableRiskAuditScoresV2) Set

func (*NullableRiskAuditScoresV2) UnmarshalJSON

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

func (*NullableRiskAuditScoresV2) Unset

func (v *NullableRiskAuditScoresV2) Unset()

type NullableRiskAuditScoringExplanationV2

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

func (NullableRiskAuditScoringExplanationV2) Get

func (NullableRiskAuditScoringExplanationV2) IsSet

func (NullableRiskAuditScoringExplanationV2) MarshalJSON

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

func (*NullableRiskAuditScoringExplanationV2) Set

func (*NullableRiskAuditScoringExplanationV2) UnmarshalJSON

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

func (*NullableRiskAuditScoringExplanationV2) Unset

type NullableRiskAuditSummaryV2

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

func NewNullableRiskAuditSummaryV2

func NewNullableRiskAuditSummaryV2(val *RiskAuditSummaryV2) *NullableRiskAuditSummaryV2

func (NullableRiskAuditSummaryV2) Get

func (NullableRiskAuditSummaryV2) IsSet

func (v NullableRiskAuditSummaryV2) IsSet() bool

func (NullableRiskAuditSummaryV2) MarshalJSON

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

func (*NullableRiskAuditSummaryV2) Set

func (*NullableRiskAuditSummaryV2) UnmarshalJSON

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

func (*NullableRiskAuditSummaryV2) Unset

func (v *NullableRiskAuditSummaryV2) Unset()

type NullableRiskAuditTimelineV2

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

func NewNullableRiskAuditTimelineV2

func NewNullableRiskAuditTimelineV2(val *RiskAuditTimelineV2) *NullableRiskAuditTimelineV2

func (NullableRiskAuditTimelineV2) Get

func (NullableRiskAuditTimelineV2) IsSet

func (NullableRiskAuditTimelineV2) MarshalJSON

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

func (*NullableRiskAuditTimelineV2) Set

func (*NullableRiskAuditTimelineV2) UnmarshalJSON

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

func (*NullableRiskAuditTimelineV2) Unset

func (v *NullableRiskAuditTimelineV2) Unset()

type NullableRiskAuditUsageV2

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

func NewNullableRiskAuditUsageV2

func NewNullableRiskAuditUsageV2(val *RiskAuditUsageV2) *NullableRiskAuditUsageV2

func (NullableRiskAuditUsageV2) Get

func (NullableRiskAuditUsageV2) IsSet

func (v NullableRiskAuditUsageV2) IsSet() bool

func (NullableRiskAuditUsageV2) MarshalJSON

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

func (*NullableRiskAuditUsageV2) Set

func (*NullableRiskAuditUsageV2) UnmarshalJSON

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

func (*NullableRiskAuditUsageV2) Unset

func (v *NullableRiskAuditUsageV2) Unset()

type NullableRiskAuditV2

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

func NewNullableRiskAuditV2

func NewNullableRiskAuditV2(val *RiskAuditV2) *NullableRiskAuditV2

func (NullableRiskAuditV2) Get

func (NullableRiskAuditV2) IsSet

func (v NullableRiskAuditV2) IsSet() bool

func (NullableRiskAuditV2) MarshalJSON

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

func (*NullableRiskAuditV2) Set

func (v *NullableRiskAuditV2) Set(val *RiskAuditV2)

func (*NullableRiskAuditV2) UnmarshalJSON

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

func (*NullableRiskAuditV2) Unset

func (v *NullableRiskAuditV2) Unset()

type NullableRiskAuditV2Response

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

func NewNullableRiskAuditV2Response

func NewNullableRiskAuditV2Response(val *RiskAuditV2Response) *NullableRiskAuditV2Response

func (NullableRiskAuditV2Response) Get

func (NullableRiskAuditV2Response) IsSet

func (NullableRiskAuditV2Response) MarshalJSON

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

func (*NullableRiskAuditV2Response) Set

func (*NullableRiskAuditV2Response) UnmarshalJSON

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

func (*NullableRiskAuditV2Response) Unset

func (v *NullableRiskAuditV2Response) Unset()

type NullableRiskAuditVerdictV2

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

func NewNullableRiskAuditVerdictV2

func NewNullableRiskAuditVerdictV2(val *RiskAuditVerdictV2) *NullableRiskAuditVerdictV2

func (NullableRiskAuditVerdictV2) Get

func (NullableRiskAuditVerdictV2) IsSet

func (v NullableRiskAuditVerdictV2) IsSet() bool

func (NullableRiskAuditVerdictV2) MarshalJSON

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

func (*NullableRiskAuditVerdictV2) Set

func (*NullableRiskAuditVerdictV2) UnmarshalJSON

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

func (*NullableRiskAuditVerdictV2) Unset

func (v *NullableRiskAuditVerdictV2) 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 NullableTranscriptionResponse

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

func (NullableTranscriptionResponse) Get

func (NullableTranscriptionResponse) IsSet

func (NullableTranscriptionResponse) MarshalJSON

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

func (*NullableTranscriptionResponse) Set

func (*NullableTranscriptionResponse) UnmarshalJSON

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

func (*NullableTranscriptionResponse) Unset

func (v *NullableTranscriptionResponse) Unset()

type NullableTranscriptionUsage

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

func NewNullableTranscriptionUsage

func NewNullableTranscriptionUsage(val *TranscriptionUsage) *NullableTranscriptionUsage

func (NullableTranscriptionUsage) Get

func (NullableTranscriptionUsage) IsSet

func (v NullableTranscriptionUsage) IsSet() bool

func (NullableTranscriptionUsage) MarshalJSON

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

func (*NullableTranscriptionUsage) Set

func (*NullableTranscriptionUsage) UnmarshalJSON

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

func (*NullableTranscriptionUsage) Unset

func (v *NullableTranscriptionUsage) Unset()

type NullableUpdateEmailAlertRequest

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

func (NullableUpdateEmailAlertRequest) Get

func (NullableUpdateEmailAlertRequest) IsSet

func (NullableUpdateEmailAlertRequest) MarshalJSON

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

func (*NullableUpdateEmailAlertRequest) Set

func (*NullableUpdateEmailAlertRequest) UnmarshalJSON

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

func (*NullableUpdateEmailAlertRequest) Unset

type NullableUpdateWebhookRequest

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

func NewNullableUpdateWebhookRequest

func NewNullableUpdateWebhookRequest(val *UpdateWebhookRequest) *NullableUpdateWebhookRequest

func (NullableUpdateWebhookRequest) Get

func (NullableUpdateWebhookRequest) IsSet

func (NullableUpdateWebhookRequest) MarshalJSON

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

func (*NullableUpdateWebhookRequest) Set

func (*NullableUpdateWebhookRequest) UnmarshalJSON

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

func (*NullableUpdateWebhookRequest) Unset

func (v *NullableUpdateWebhookRequest) Unset()

type NullableUsageByKeyItem

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

func NewNullableUsageByKeyItem

func NewNullableUsageByKeyItem(val *UsageByKeyItem) *NullableUsageByKeyItem

func (NullableUsageByKeyItem) Get

func (NullableUsageByKeyItem) IsSet

func (v NullableUsageByKeyItem) IsSet() bool

func (NullableUsageByKeyItem) MarshalJSON

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

func (*NullableUsageByKeyItem) Set

func (*NullableUsageByKeyItem) UnmarshalJSON

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

func (*NullableUsageByKeyItem) Unset

func (v *NullableUsageByKeyItem) Unset()

type NullableUsageLogItem

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

func NewNullableUsageLogItem

func NewNullableUsageLogItem(val *UsageLogItem) *NullableUsageLogItem

func (NullableUsageLogItem) Get

func (NullableUsageLogItem) IsSet

func (v NullableUsageLogItem) IsSet() bool

func (NullableUsageLogItem) MarshalJSON

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

func (*NullableUsageLogItem) Set

func (v *NullableUsageLogItem) Set(val *UsageLogItem)

func (*NullableUsageLogItem) UnmarshalJSON

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

func (*NullableUsageLogItem) Unset

func (v *NullableUsageLogItem) Unset()

type NullableUsageLogResponse

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

func NewNullableUsageLogResponse

func NewNullableUsageLogResponse(val *UsageLogResponse) *NullableUsageLogResponse

func (NullableUsageLogResponse) Get

func (NullableUsageLogResponse) IsSet

func (v NullableUsageLogResponse) IsSet() bool

func (NullableUsageLogResponse) MarshalJSON

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

func (*NullableUsageLogResponse) Set

func (*NullableUsageLogResponse) UnmarshalJSON

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

func (*NullableUsageLogResponse) Unset

func (v *NullableUsageLogResponse) Unset()

type NullableValidationError

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

func NewNullableValidationError

func NewNullableValidationError(val *ValidationError) *NullableValidationError

func (NullableValidationError) Get

func (NullableValidationError) IsSet

func (v NullableValidationError) IsSet() bool

func (NullableValidationError) MarshalJSON

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

func (*NullableValidationError) Set

func (*NullableValidationError) UnmarshalJSON

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

func (*NullableValidationError) Unset

func (v *NullableValidationError) Unset()

type NullableVersionResponse

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

func NewNullableVersionResponse

func NewNullableVersionResponse(val *VersionResponse) *NullableVersionResponse

func (NullableVersionResponse) Get

func (NullableVersionResponse) IsSet

func (v NullableVersionResponse) IsSet() bool

func (NullableVersionResponse) MarshalJSON

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

func (*NullableVersionResponse) Set

func (*NullableVersionResponse) UnmarshalJSON

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

func (*NullableVersionResponse) Unset

func (v *NullableVersionResponse) Unset()

type NullableWebhookEvent

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

func NewNullableWebhookEvent

func NewNullableWebhookEvent(val *WebhookEvent) *NullableWebhookEvent

func (NullableWebhookEvent) Get

func (NullableWebhookEvent) IsSet

func (v NullableWebhookEvent) IsSet() bool

func (NullableWebhookEvent) MarshalJSON

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

func (*NullableWebhookEvent) Set

func (v *NullableWebhookEvent) Set(val *WebhookEvent)

func (*NullableWebhookEvent) UnmarshalJSON

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

func (*NullableWebhookEvent) Unset

func (v *NullableWebhookEvent) Unset()

type NullableWebhookItem

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

func NewNullableWebhookItem

func NewNullableWebhookItem(val *WebhookItem) *NullableWebhookItem

func (NullableWebhookItem) Get

func (NullableWebhookItem) IsSet

func (v NullableWebhookItem) IsSet() bool

func (NullableWebhookItem) MarshalJSON

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

func (*NullableWebhookItem) Set

func (v *NullableWebhookItem) Set(val *WebhookItem)

func (*NullableWebhookItem) UnmarshalJSON

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

func (*NullableWebhookItem) Unset

func (v *NullableWebhookItem) Unset()

type NullableWebhookListResponse

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

func NewNullableWebhookListResponse

func NewNullableWebhookListResponse(val *WebhookListResponse) *NullableWebhookListResponse

func (NullableWebhookListResponse) Get

func (NullableWebhookListResponse) IsSet

func (NullableWebhookListResponse) MarshalJSON

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

func (*NullableWebhookListResponse) Set

func (*NullableWebhookListResponse) UnmarshalJSON

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

func (*NullableWebhookListResponse) Unset

func (v *NullableWebhookListResponse) Unset()

type NullableWhatsappConversation added in v1.21.51

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

func NewNullableWhatsappConversation added in v1.21.51

func NewNullableWhatsappConversation(val *WhatsappConversation) *NullableWhatsappConversation

func (NullableWhatsappConversation) Get added in v1.21.51

func (NullableWhatsappConversation) IsSet added in v1.21.51

func (NullableWhatsappConversation) MarshalJSON added in v1.21.51

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

func (*NullableWhatsappConversation) Set added in v1.21.51

func (*NullableWhatsappConversation) UnmarshalJSON added in v1.21.51

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

func (*NullableWhatsappConversation) Unset added in v1.21.51

func (v *NullableWhatsappConversation) Unset()

type NullableWhatsappConversationsResponse added in v1.21.51

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

func NewNullableWhatsappConversationsResponse added in v1.21.51

func NewNullableWhatsappConversationsResponse(val *WhatsappConversationsResponse) *NullableWhatsappConversationsResponse

func (NullableWhatsappConversationsResponse) Get added in v1.21.51

func (NullableWhatsappConversationsResponse) IsSet added in v1.21.51

func (NullableWhatsappConversationsResponse) MarshalJSON added in v1.21.51

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

func (*NullableWhatsappConversationsResponse) Set added in v1.21.51

func (*NullableWhatsappConversationsResponse) UnmarshalJSON added in v1.21.51

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

func (*NullableWhatsappConversationsResponse) Unset added in v1.21.51

type NullableWhatsappMeta added in v1.21.51

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

func NewNullableWhatsappMeta added in v1.21.51

func NewNullableWhatsappMeta(val *WhatsappMeta) *NullableWhatsappMeta

func (NullableWhatsappMeta) Get added in v1.21.51

func (NullableWhatsappMeta) IsSet added in v1.21.51

func (v NullableWhatsappMeta) IsSet() bool

func (NullableWhatsappMeta) MarshalJSON added in v1.21.51

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

func (*NullableWhatsappMeta) Set added in v1.21.51

func (v *NullableWhatsappMeta) Set(val *WhatsappMeta)

func (*NullableWhatsappMeta) UnmarshalJSON added in v1.21.51

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

func (*NullableWhatsappMeta) Unset added in v1.21.51

func (v *NullableWhatsappMeta) Unset()

type NullableWhatsappPreviewItem added in v1.21.67

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

func NewNullableWhatsappPreviewItem added in v1.21.67

func NewNullableWhatsappPreviewItem(val *WhatsappPreviewItem) *NullableWhatsappPreviewItem

func (NullableWhatsappPreviewItem) Get added in v1.21.67

func (NullableWhatsappPreviewItem) IsSet added in v1.21.67

func (NullableWhatsappPreviewItem) MarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewItem) Set added in v1.21.67

func (*NullableWhatsappPreviewItem) UnmarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewItem) Unset added in v1.21.67

func (v *NullableWhatsappPreviewItem) Unset()

type NullableWhatsappPreviewItemBreakdown added in v1.21.67

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

func NewNullableWhatsappPreviewItemBreakdown added in v1.21.67

func NewNullableWhatsappPreviewItemBreakdown(val *WhatsappPreviewItemBreakdown) *NullableWhatsappPreviewItemBreakdown

func (NullableWhatsappPreviewItemBreakdown) Get added in v1.21.67

func (NullableWhatsappPreviewItemBreakdown) IsSet added in v1.21.67

func (NullableWhatsappPreviewItemBreakdown) MarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewItemBreakdown) Set added in v1.21.67

func (*NullableWhatsappPreviewItemBreakdown) UnmarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewItemBreakdown) Unset added in v1.21.67

type NullableWhatsappPreviewItemCredits added in v1.21.67

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

func NewNullableWhatsappPreviewItemCredits added in v1.21.67

func NewNullableWhatsappPreviewItemCredits(val *WhatsappPreviewItemCredits) *NullableWhatsappPreviewItemCredits

func (NullableWhatsappPreviewItemCredits) Get added in v1.21.67

func (NullableWhatsappPreviewItemCredits) IsSet added in v1.21.67

func (NullableWhatsappPreviewItemCredits) MarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewItemCredits) Set added in v1.21.67

func (*NullableWhatsappPreviewItemCredits) UnmarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewItemCredits) Unset added in v1.21.67

type NullableWhatsappPreviewItemMedia added in v1.21.67

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

func NewNullableWhatsappPreviewItemMedia added in v1.21.67

func NewNullableWhatsappPreviewItemMedia(val *WhatsappPreviewItemMedia) *NullableWhatsappPreviewItemMedia

func (NullableWhatsappPreviewItemMedia) Get added in v1.21.67

func (NullableWhatsappPreviewItemMedia) IsSet added in v1.21.67

func (NullableWhatsappPreviewItemMedia) MarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewItemMedia) Set added in v1.21.67

func (*NullableWhatsappPreviewItemMedia) UnmarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewItemMedia) Unset added in v1.21.67

type NullableWhatsappPreviewParams added in v1.21.67

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

func NewNullableWhatsappPreviewParams added in v1.21.67

func NewNullableWhatsappPreviewParams(val *WhatsappPreviewParams) *NullableWhatsappPreviewParams

func (NullableWhatsappPreviewParams) Get added in v1.21.67

func (NullableWhatsappPreviewParams) IsSet added in v1.21.67

func (NullableWhatsappPreviewParams) MarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewParams) Set added in v1.21.67

func (*NullableWhatsappPreviewParams) UnmarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewParams) Unset added in v1.21.67

func (v *NullableWhatsappPreviewParams) Unset()

type NullableWhatsappPreviewResponse added in v1.21.67

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

func NewNullableWhatsappPreviewResponse added in v1.21.67

func NewNullableWhatsappPreviewResponse(val *WhatsappPreviewResponse) *NullableWhatsappPreviewResponse

func (NullableWhatsappPreviewResponse) Get added in v1.21.67

func (NullableWhatsappPreviewResponse) IsSet added in v1.21.67

func (NullableWhatsappPreviewResponse) MarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewResponse) Set added in v1.21.67

func (*NullableWhatsappPreviewResponse) UnmarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewResponse) Unset added in v1.21.67

type NullableWhatsappPreviewWindow added in v1.21.67

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

func NewNullableWhatsappPreviewWindow added in v1.21.67

func NewNullableWhatsappPreviewWindow(val *WhatsappPreviewWindow) *NullableWhatsappPreviewWindow

func (NullableWhatsappPreviewWindow) Get added in v1.21.67

func (NullableWhatsappPreviewWindow) IsSet added in v1.21.67

func (NullableWhatsappPreviewWindow) MarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewWindow) Set added in v1.21.67

func (*NullableWhatsappPreviewWindow) UnmarshalJSON added in v1.21.67

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

func (*NullableWhatsappPreviewWindow) Unset added in v1.21.67

func (v *NullableWhatsappPreviewWindow) Unset()

type NullableWhatsappSpeaker added in v1.21.51

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

func NewNullableWhatsappSpeaker added in v1.21.51

func NewNullableWhatsappSpeaker(val *WhatsappSpeaker) *NullableWhatsappSpeaker

func (NullableWhatsappSpeaker) Get added in v1.21.51

func (NullableWhatsappSpeaker) IsSet added in v1.21.51

func (v NullableWhatsappSpeaker) IsSet() bool

func (NullableWhatsappSpeaker) MarshalJSON added in v1.21.51

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

func (*NullableWhatsappSpeaker) Set added in v1.21.51

func (*NullableWhatsappSpeaker) UnmarshalJSON added in v1.21.51

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

func (*NullableWhatsappSpeaker) Unset added in v1.21.51

func (v *NullableWhatsappSpeaker) Unset()

type NullableWhatsappUsage added in v1.21.51

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

func NewNullableWhatsappUsage added in v1.21.51

func NewNullableWhatsappUsage(val *WhatsappUsage) *NullableWhatsappUsage

func (NullableWhatsappUsage) Get added in v1.21.51

func (NullableWhatsappUsage) IsSet added in v1.21.51

func (v NullableWhatsappUsage) IsSet() bool

func (NullableWhatsappUsage) MarshalJSON added in v1.21.51

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

func (*NullableWhatsappUsage) Set added in v1.21.51

func (v *NullableWhatsappUsage) Set(val *WhatsappUsage)

func (*NullableWhatsappUsage) UnmarshalJSON added in v1.21.51

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

func (*NullableWhatsappUsage) Unset added in v1.21.51

func (v *NullableWhatsappUsage) Unset()

type Participant

type Participant struct {
	// Exact identifier as used in dialog (e.g. 'Interlocutor 1', 'Antonio')
	Interlocutor string `json:"interlocutor"`
	// Participant name (humanizes report, does not affect logic)
	Name *string `json:"name,omitempty"`
	// Role: agent (human operator), client (customer), bot (IVR/AI). Required for risk audit.
	Role string `json:"role"`
}

Participant struct for Participant

func NewParticipant

func NewParticipant(interlocutor string, role string) *Participant

NewParticipant instantiates a new Participant 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 NewParticipantWithDefaults

func NewParticipantWithDefaults() *Participant

NewParticipantWithDefaults instantiates a new Participant 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 (*Participant) GetInterlocutor

func (o *Participant) GetInterlocutor() string

GetInterlocutor returns the Interlocutor field value

func (*Participant) GetInterlocutorOk

func (o *Participant) GetInterlocutorOk() (*string, bool)

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

func (*Participant) GetName

func (o *Participant) GetName() string

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

func (*Participant) GetNameOk

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

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

func (*Participant) GetRole

func (o *Participant) GetRole() string

GetRole returns the Role field value

func (*Participant) GetRoleOk

func (o *Participant) GetRoleOk() (*string, bool)

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

func (*Participant) HasName

func (o *Participant) HasName() bool

HasName returns a boolean if a field has been set.

func (Participant) MarshalJSON

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

func (*Participant) SetInterlocutor

func (o *Participant) SetInterlocutor(v string)

SetInterlocutor sets field value

func (*Participant) SetName

func (o *Participant) SetName(v string)

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

func (*Participant) SetRole

func (o *Participant) SetRole(v string)

SetRole sets field value

func (Participant) ToMap

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

func (*Participant) UnmarshalJSON

func (o *Participant) UnmarshalJSON(data []byte) (err error)

type ParticipantDiagnostic

type ParticipantDiagnostic struct {
	// Exact speaker label from the dialog (e.g. 'Speaker 1')
	Interlocutor string `json:"interlocutor"`
	// Role: agent | client | bot | agent_requester | agent_custodian (null when not informed/inferred)
	Role *string `json:"role,omitempty"`
	// Participant name if mentioned in the dialogue
	Name *string `json:"name,omitempty"`
	// high | medium | low
	Confidence *string `json:"confidence,omitempty"`
	// Exact verbatim quote supporting the role (no timestamps)
	Evidence *string `json:"evidence,omitempty"`
}

ParticipantDiagnostic struct for ParticipantDiagnostic

func NewParticipantDiagnostic

func NewParticipantDiagnostic(interlocutor string) *ParticipantDiagnostic

NewParticipantDiagnostic instantiates a new ParticipantDiagnostic 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 NewParticipantDiagnosticWithDefaults

func NewParticipantDiagnosticWithDefaults() *ParticipantDiagnostic

NewParticipantDiagnosticWithDefaults instantiates a new ParticipantDiagnostic 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 (*ParticipantDiagnostic) GetConfidence

func (o *ParticipantDiagnostic) GetConfidence() string

GetConfidence returns the Confidence field value if set, zero value otherwise.

func (*ParticipantDiagnostic) GetConfidenceOk

func (o *ParticipantDiagnostic) GetConfidenceOk() (*string, bool)

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

func (*ParticipantDiagnostic) GetEvidence

func (o *ParticipantDiagnostic) GetEvidence() string

GetEvidence returns the Evidence field value if set, zero value otherwise.

func (*ParticipantDiagnostic) GetEvidenceOk

func (o *ParticipantDiagnostic) GetEvidenceOk() (*string, bool)

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

func (*ParticipantDiagnostic) GetInterlocutor

func (o *ParticipantDiagnostic) GetInterlocutor() string

GetInterlocutor returns the Interlocutor field value

func (*ParticipantDiagnostic) GetInterlocutorOk

func (o *ParticipantDiagnostic) GetInterlocutorOk() (*string, bool)

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

func (*ParticipantDiagnostic) GetName

func (o *ParticipantDiagnostic) GetName() string

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

func (*ParticipantDiagnostic) GetNameOk

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

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

func (*ParticipantDiagnostic) GetRole

func (o *ParticipantDiagnostic) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*ParticipantDiagnostic) GetRoleOk

func (o *ParticipantDiagnostic) GetRoleOk() (*string, bool)

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

func (*ParticipantDiagnostic) HasConfidence

func (o *ParticipantDiagnostic) HasConfidence() bool

HasConfidence returns a boolean if a field has been set.

func (*ParticipantDiagnostic) HasEvidence

func (o *ParticipantDiagnostic) HasEvidence() bool

HasEvidence returns a boolean if a field has been set.

func (*ParticipantDiagnostic) HasName

func (o *ParticipantDiagnostic) HasName() bool

HasName returns a boolean if a field has been set.

func (*ParticipantDiagnostic) HasRole added in v1.21.54

func (o *ParticipantDiagnostic) HasRole() bool

HasRole returns a boolean if a field has been set.

func (ParticipantDiagnostic) MarshalJSON

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

func (*ParticipantDiagnostic) SetConfidence

func (o *ParticipantDiagnostic) SetConfidence(v string)

SetConfidence gets a reference to the given string and assigns it to the Confidence field.

func (*ParticipantDiagnostic) SetEvidence

func (o *ParticipantDiagnostic) SetEvidence(v string)

SetEvidence gets a reference to the given string and assigns it to the Evidence field.

func (*ParticipantDiagnostic) SetInterlocutor

func (o *ParticipantDiagnostic) SetInterlocutor(v string)

SetInterlocutor sets field value

func (*ParticipantDiagnostic) SetName

func (o *ParticipantDiagnostic) SetName(v string)

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

func (*ParticipantDiagnostic) SetRole

func (o *ParticipantDiagnostic) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (ParticipantDiagnostic) ToMap

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

func (*ParticipantDiagnostic) UnmarshalJSON

func (o *ParticipantDiagnostic) UnmarshalJSON(data []byte) (err error)

type ResponseExtractConversationsV1WhatsappExtractconversationsPost added in v1.21.67

type ResponseExtractConversationsV1WhatsappExtractconversationsPost struct {
	WhatsappConversationsResponse *WhatsappConversationsResponse
	WhatsappPreviewResponse       *WhatsappPreviewResponse
}

ResponseExtractConversationsV1WhatsappExtractconversationsPost struct for ResponseExtractConversationsV1WhatsappExtractconversationsPost

func (ResponseExtractConversationsV1WhatsappExtractconversationsPost) MarshalJSON added in v1.21.67

Marshal data from the first non-nil pointers in the struct to JSON

func (*ResponseExtractConversationsV1WhatsappExtractconversationsPost) UnmarshalJSON added in v1.21.67

Unmarshal JSON data into any of the pointers in the struct

type RiskAuditAnalysisV2

type RiskAuditAnalysisV2 struct {
	// Global metrics
	GlobalMetrics map[string]interface{} `json:"global_metrics,omitempty"`
	// Final analysis
	FinalAnalysis map[string]interface{} `json:"final_analysis,omitempty"`
	// Frameworks (COPC/ISO/Kirkpatrick/CES)
	Frameworks           map[string]interface{} `json:"frameworks,omitempty"`
	AdditionalProperties map[string]interface{}
}

RiskAuditAnalysisV2 struct for RiskAuditAnalysisV2

func NewRiskAuditAnalysisV2

func NewRiskAuditAnalysisV2() *RiskAuditAnalysisV2

NewRiskAuditAnalysisV2 instantiates a new RiskAuditAnalysisV2 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 NewRiskAuditAnalysisV2WithDefaults

func NewRiskAuditAnalysisV2WithDefaults() *RiskAuditAnalysisV2

NewRiskAuditAnalysisV2WithDefaults instantiates a new RiskAuditAnalysisV2 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 (*RiskAuditAnalysisV2) GetFinalAnalysis

func (o *RiskAuditAnalysisV2) GetFinalAnalysis() map[string]interface{}

GetFinalAnalysis returns the FinalAnalysis field value if set, zero value otherwise.

func (*RiskAuditAnalysisV2) GetFinalAnalysisOk

func (o *RiskAuditAnalysisV2) GetFinalAnalysisOk() (map[string]interface{}, bool)

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

func (*RiskAuditAnalysisV2) GetFrameworks

func (o *RiskAuditAnalysisV2) GetFrameworks() map[string]interface{}

GetFrameworks returns the Frameworks field value if set, zero value otherwise.

func (*RiskAuditAnalysisV2) GetFrameworksOk

func (o *RiskAuditAnalysisV2) GetFrameworksOk() (map[string]interface{}, bool)

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

func (*RiskAuditAnalysisV2) GetGlobalMetrics

func (o *RiskAuditAnalysisV2) GetGlobalMetrics() map[string]interface{}

GetGlobalMetrics returns the GlobalMetrics field value if set, zero value otherwise.

func (*RiskAuditAnalysisV2) GetGlobalMetricsOk

func (o *RiskAuditAnalysisV2) GetGlobalMetricsOk() (map[string]interface{}, bool)

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

func (*RiskAuditAnalysisV2) HasFinalAnalysis

func (o *RiskAuditAnalysisV2) HasFinalAnalysis() bool

HasFinalAnalysis returns a boolean if a field has been set.

func (*RiskAuditAnalysisV2) HasFrameworks

func (o *RiskAuditAnalysisV2) HasFrameworks() bool

HasFrameworks returns a boolean if a field has been set.

func (*RiskAuditAnalysisV2) HasGlobalMetrics

func (o *RiskAuditAnalysisV2) HasGlobalMetrics() bool

HasGlobalMetrics returns a boolean if a field has been set.

func (RiskAuditAnalysisV2) MarshalJSON

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

func (*RiskAuditAnalysisV2) SetFinalAnalysis

func (o *RiskAuditAnalysisV2) SetFinalAnalysis(v map[string]interface{})

SetFinalAnalysis gets a reference to the given map[string]interface{} and assigns it to the FinalAnalysis field.

func (*RiskAuditAnalysisV2) SetFrameworks

func (o *RiskAuditAnalysisV2) SetFrameworks(v map[string]interface{})

SetFrameworks gets a reference to the given map[string]interface{} and assigns it to the Frameworks field.

func (*RiskAuditAnalysisV2) SetGlobalMetrics

func (o *RiskAuditAnalysisV2) SetGlobalMetrics(v map[string]interface{})

SetGlobalMetrics gets a reference to the given map[string]interface{} and assigns it to the GlobalMetrics field.

func (RiskAuditAnalysisV2) ToMap

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

func (*RiskAuditAnalysisV2) UnmarshalJSON

func (o *RiskAuditAnalysisV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditAppliedActionV2

type RiskAuditAppliedActionV2 struct {
	// Action type code
	ActionType string `json:"action_type"`
	// Action label
	Label string `json:"label"`
	// Action description
	Description string `json:"description"`
	// CRITICO/ALTO/MEDIO/BAIXO
	Priority string `json:"priority"`
	// Condition
	Condition *string `json:"condition,omitempty"`
	// Reason
	Reason *string `json:"reason,omitempty"`
}

RiskAuditAppliedActionV2 struct for RiskAuditAppliedActionV2

func NewRiskAuditAppliedActionV2

func NewRiskAuditAppliedActionV2(actionType string, label string, description string, priority string) *RiskAuditAppliedActionV2

NewRiskAuditAppliedActionV2 instantiates a new RiskAuditAppliedActionV2 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 NewRiskAuditAppliedActionV2WithDefaults

func NewRiskAuditAppliedActionV2WithDefaults() *RiskAuditAppliedActionV2

NewRiskAuditAppliedActionV2WithDefaults instantiates a new RiskAuditAppliedActionV2 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 (*RiskAuditAppliedActionV2) GetActionType

func (o *RiskAuditAppliedActionV2) GetActionType() string

GetActionType returns the ActionType field value

func (*RiskAuditAppliedActionV2) GetActionTypeOk

func (o *RiskAuditAppliedActionV2) GetActionTypeOk() (*string, bool)

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

func (*RiskAuditAppliedActionV2) GetCondition

func (o *RiskAuditAppliedActionV2) GetCondition() string

GetCondition returns the Condition field value if set, zero value otherwise.

func (*RiskAuditAppliedActionV2) GetConditionOk

func (o *RiskAuditAppliedActionV2) GetConditionOk() (*string, bool)

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

func (*RiskAuditAppliedActionV2) GetDescription

func (o *RiskAuditAppliedActionV2) GetDescription() string

GetDescription returns the Description field value

func (*RiskAuditAppliedActionV2) GetDescriptionOk

func (o *RiskAuditAppliedActionV2) GetDescriptionOk() (*string, bool)

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

func (*RiskAuditAppliedActionV2) GetLabel

func (o *RiskAuditAppliedActionV2) GetLabel() string

GetLabel returns the Label field value

func (*RiskAuditAppliedActionV2) GetLabelOk

func (o *RiskAuditAppliedActionV2) GetLabelOk() (*string, bool)

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

func (*RiskAuditAppliedActionV2) GetPriority

func (o *RiskAuditAppliedActionV2) GetPriority() string

GetPriority returns the Priority field value

func (*RiskAuditAppliedActionV2) GetPriorityOk

func (o *RiskAuditAppliedActionV2) GetPriorityOk() (*string, bool)

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

func (*RiskAuditAppliedActionV2) GetReason

func (o *RiskAuditAppliedActionV2) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*RiskAuditAppliedActionV2) GetReasonOk

func (o *RiskAuditAppliedActionV2) GetReasonOk() (*string, bool)

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

func (*RiskAuditAppliedActionV2) HasCondition

func (o *RiskAuditAppliedActionV2) HasCondition() bool

HasCondition returns a boolean if a field has been set.

func (*RiskAuditAppliedActionV2) HasReason

func (o *RiskAuditAppliedActionV2) HasReason() bool

HasReason returns a boolean if a field has been set.

func (RiskAuditAppliedActionV2) MarshalJSON

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

func (*RiskAuditAppliedActionV2) SetActionType

func (o *RiskAuditAppliedActionV2) SetActionType(v string)

SetActionType sets field value

func (*RiskAuditAppliedActionV2) SetCondition

func (o *RiskAuditAppliedActionV2) SetCondition(v string)

SetCondition gets a reference to the given string and assigns it to the Condition field.

func (*RiskAuditAppliedActionV2) SetDescription

func (o *RiskAuditAppliedActionV2) SetDescription(v string)

SetDescription sets field value

func (*RiskAuditAppliedActionV2) SetLabel

func (o *RiskAuditAppliedActionV2) SetLabel(v string)

SetLabel sets field value

func (*RiskAuditAppliedActionV2) SetPriority

func (o *RiskAuditAppliedActionV2) SetPriority(v string)

SetPriority sets field value

func (*RiskAuditAppliedActionV2) SetReason

func (o *RiskAuditAppliedActionV2) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (RiskAuditAppliedActionV2) ToMap

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

func (*RiskAuditAppliedActionV2) UnmarshalJSON

func (o *RiskAuditAppliedActionV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditAudioEventModelV2

type RiskAuditAudioEventModelV2 struct {
	// MAC model text (i18n)
	Model *string `json:"model,omitempty"`
	// MAC description (i18n)
	Description *string `json:"description,omitempty"`
	// Temporal windows (s)
	WindowsS             map[string]interface{} `json:"windows_s,omitempty"`
	AdditionalProperties map[string]interface{}
}

RiskAuditAudioEventModelV2 struct for RiskAuditAudioEventModelV2

func NewRiskAuditAudioEventModelV2

func NewRiskAuditAudioEventModelV2() *RiskAuditAudioEventModelV2

NewRiskAuditAudioEventModelV2 instantiates a new RiskAuditAudioEventModelV2 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 NewRiskAuditAudioEventModelV2WithDefaults

func NewRiskAuditAudioEventModelV2WithDefaults() *RiskAuditAudioEventModelV2

NewRiskAuditAudioEventModelV2WithDefaults instantiates a new RiskAuditAudioEventModelV2 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 (*RiskAuditAudioEventModelV2) GetDescription

func (o *RiskAuditAudioEventModelV2) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RiskAuditAudioEventModelV2) GetDescriptionOk

func (o *RiskAuditAudioEventModelV2) GetDescriptionOk() (*string, bool)

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

func (*RiskAuditAudioEventModelV2) GetModel

func (o *RiskAuditAudioEventModelV2) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*RiskAuditAudioEventModelV2) GetModelOk

func (o *RiskAuditAudioEventModelV2) GetModelOk() (*string, bool)

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

func (*RiskAuditAudioEventModelV2) GetWindowsS

func (o *RiskAuditAudioEventModelV2) GetWindowsS() map[string]interface{}

GetWindowsS returns the WindowsS field value if set, zero value otherwise.

func (*RiskAuditAudioEventModelV2) GetWindowsSOk

func (o *RiskAuditAudioEventModelV2) GetWindowsSOk() (map[string]interface{}, bool)

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

func (*RiskAuditAudioEventModelV2) HasDescription

func (o *RiskAuditAudioEventModelV2) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RiskAuditAudioEventModelV2) HasModel

func (o *RiskAuditAudioEventModelV2) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*RiskAuditAudioEventModelV2) HasWindowsS

func (o *RiskAuditAudioEventModelV2) HasWindowsS() bool

HasWindowsS returns a boolean if a field has been set.

func (RiskAuditAudioEventModelV2) MarshalJSON

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

func (*RiskAuditAudioEventModelV2) SetDescription

func (o *RiskAuditAudioEventModelV2) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RiskAuditAudioEventModelV2) SetModel

func (o *RiskAuditAudioEventModelV2) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

func (*RiskAuditAudioEventModelV2) SetWindowsS

func (o *RiskAuditAudioEventModelV2) SetWindowsS(v map[string]interface{})

SetWindowsS gets a reference to the given map[string]interface{} and assigns it to the WindowsS field.

func (RiskAuditAudioEventModelV2) ToMap

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

func (*RiskAuditAudioEventModelV2) UnmarshalJSON

func (o *RiskAuditAudioEventModelV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditAuditDecisionsV2

type RiskAuditAuditDecisionsV2 struct {
	// Risk origin
	RiskOrigin *string `json:"risk_origin,omitempty"`
	// Has zero-tolerance violation
	HasZeroToleranceViolation *bool `json:"has_zero_tolerance_violation,omitempty"`
}

RiskAuditAuditDecisionsV2 struct for RiskAuditAuditDecisionsV2

func NewRiskAuditAuditDecisionsV2

func NewRiskAuditAuditDecisionsV2() *RiskAuditAuditDecisionsV2

NewRiskAuditAuditDecisionsV2 instantiates a new RiskAuditAuditDecisionsV2 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 NewRiskAuditAuditDecisionsV2WithDefaults

func NewRiskAuditAuditDecisionsV2WithDefaults() *RiskAuditAuditDecisionsV2

NewRiskAuditAuditDecisionsV2WithDefaults instantiates a new RiskAuditAuditDecisionsV2 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 (*RiskAuditAuditDecisionsV2) GetHasZeroToleranceViolation

func (o *RiskAuditAuditDecisionsV2) GetHasZeroToleranceViolation() bool

GetHasZeroToleranceViolation returns the HasZeroToleranceViolation field value if set, zero value otherwise.

func (*RiskAuditAuditDecisionsV2) GetHasZeroToleranceViolationOk

func (o *RiskAuditAuditDecisionsV2) GetHasZeroToleranceViolationOk() (*bool, bool)

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

func (*RiskAuditAuditDecisionsV2) GetRiskOrigin

func (o *RiskAuditAuditDecisionsV2) GetRiskOrigin() string

GetRiskOrigin returns the RiskOrigin field value if set, zero value otherwise.

func (*RiskAuditAuditDecisionsV2) GetRiskOriginOk

func (o *RiskAuditAuditDecisionsV2) GetRiskOriginOk() (*string, bool)

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

func (*RiskAuditAuditDecisionsV2) HasHasZeroToleranceViolation

func (o *RiskAuditAuditDecisionsV2) HasHasZeroToleranceViolation() bool

HasHasZeroToleranceViolation returns a boolean if a field has been set.

func (*RiskAuditAuditDecisionsV2) HasRiskOrigin

func (o *RiskAuditAuditDecisionsV2) HasRiskOrigin() bool

HasRiskOrigin returns a boolean if a field has been set.

func (RiskAuditAuditDecisionsV2) MarshalJSON

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

func (*RiskAuditAuditDecisionsV2) SetHasZeroToleranceViolation

func (o *RiskAuditAuditDecisionsV2) SetHasZeroToleranceViolation(v bool)

SetHasZeroToleranceViolation gets a reference to the given bool and assigns it to the HasZeroToleranceViolation field.

func (*RiskAuditAuditDecisionsV2) SetRiskOrigin

func (o *RiskAuditAuditDecisionsV2) SetRiskOrigin(v string)

SetRiskOrigin gets a reference to the given string and assigns it to the RiskOrigin field.

func (RiskAuditAuditDecisionsV2) ToMap

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

type RiskAuditConversationScoresV2

type RiskAuditConversationScoresV2 struct {
	// Consolidated score
	ConsolidatedScore *float32 `json:"consolidated_score,omitempty"`
	// Violation density/min
	ViolationDensityPerMin *float32 `json:"violation_density_per_min,omitempty"`
	// Sentiment trend
	SentimentTrend interface{} `json:"sentiment_trend,omitempty"`
	// % turns with violation
	PctTurnsWithViolation *float32 `json:"pct_turns_with_violation,omitempty"`
	// Most critical turn
	MostCriticalTurn interface{} `json:"most_critical_turn,omitempty"`
	// Positive:negative ratio
	PositiveNegativeRatio interface{} `json:"positive_negative_ratio,omitempty"`
	// Global risk severity code
	GlobalRiskSeverity *string `json:"global_risk_severity,omitempty"`
	// Global risk severity label
	GlobalRiskSeverityLabel *string `json:"global_risk_severity_label,omitempty"`
	// Risk likelihood avg
	RiskLikelihoodAvg *float32 `json:"risk_likelihood_avg,omitempty"`
	// Risk impact avg
	RiskImpactAvg *float32 `json:"risk_impact_avg,omitempty"`
}

RiskAuditConversationScoresV2 struct for RiskAuditConversationScoresV2

func NewRiskAuditConversationScoresV2

func NewRiskAuditConversationScoresV2() *RiskAuditConversationScoresV2

NewRiskAuditConversationScoresV2 instantiates a new RiskAuditConversationScoresV2 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 NewRiskAuditConversationScoresV2WithDefaults

func NewRiskAuditConversationScoresV2WithDefaults() *RiskAuditConversationScoresV2

NewRiskAuditConversationScoresV2WithDefaults instantiates a new RiskAuditConversationScoresV2 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 (*RiskAuditConversationScoresV2) GetConsolidatedScore

func (o *RiskAuditConversationScoresV2) GetConsolidatedScore() float32

GetConsolidatedScore returns the ConsolidatedScore field value if set, zero value otherwise.

func (*RiskAuditConversationScoresV2) GetConsolidatedScoreOk

func (o *RiskAuditConversationScoresV2) GetConsolidatedScoreOk() (*float32, bool)

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

func (*RiskAuditConversationScoresV2) GetGlobalRiskSeverity

func (o *RiskAuditConversationScoresV2) GetGlobalRiskSeverity() string

GetGlobalRiskSeverity returns the GlobalRiskSeverity field value if set, zero value otherwise.

func (*RiskAuditConversationScoresV2) GetGlobalRiskSeverityLabel

func (o *RiskAuditConversationScoresV2) GetGlobalRiskSeverityLabel() string

GetGlobalRiskSeverityLabel returns the GlobalRiskSeverityLabel field value if set, zero value otherwise.

func (*RiskAuditConversationScoresV2) GetGlobalRiskSeverityLabelOk

func (o *RiskAuditConversationScoresV2) GetGlobalRiskSeverityLabelOk() (*string, bool)

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

func (*RiskAuditConversationScoresV2) GetGlobalRiskSeverityOk

func (o *RiskAuditConversationScoresV2) GetGlobalRiskSeverityOk() (*string, bool)

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

func (*RiskAuditConversationScoresV2) GetMostCriticalTurn

func (o *RiskAuditConversationScoresV2) GetMostCriticalTurn() interface{}

GetMostCriticalTurn returns the MostCriticalTurn field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RiskAuditConversationScoresV2) GetMostCriticalTurnOk

func (o *RiskAuditConversationScoresV2) GetMostCriticalTurnOk() (*interface{}, bool)

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

func (*RiskAuditConversationScoresV2) GetPctTurnsWithViolation

func (o *RiskAuditConversationScoresV2) GetPctTurnsWithViolation() float32

GetPctTurnsWithViolation returns the PctTurnsWithViolation field value if set, zero value otherwise.

func (*RiskAuditConversationScoresV2) GetPctTurnsWithViolationOk

func (o *RiskAuditConversationScoresV2) GetPctTurnsWithViolationOk() (*float32, bool)

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

func (*RiskAuditConversationScoresV2) GetPositiveNegativeRatio

func (o *RiskAuditConversationScoresV2) GetPositiveNegativeRatio() interface{}

GetPositiveNegativeRatio returns the PositiveNegativeRatio field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RiskAuditConversationScoresV2) GetPositiveNegativeRatioOk

func (o *RiskAuditConversationScoresV2) GetPositiveNegativeRatioOk() (*interface{}, bool)

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

func (*RiskAuditConversationScoresV2) GetRiskImpactAvg

func (o *RiskAuditConversationScoresV2) GetRiskImpactAvg() float32

GetRiskImpactAvg returns the RiskImpactAvg field value if set, zero value otherwise.

func (*RiskAuditConversationScoresV2) GetRiskImpactAvgOk

func (o *RiskAuditConversationScoresV2) GetRiskImpactAvgOk() (*float32, bool)

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

func (*RiskAuditConversationScoresV2) GetRiskLikelihoodAvg

func (o *RiskAuditConversationScoresV2) GetRiskLikelihoodAvg() float32

GetRiskLikelihoodAvg returns the RiskLikelihoodAvg field value if set, zero value otherwise.

func (*RiskAuditConversationScoresV2) GetRiskLikelihoodAvgOk

func (o *RiskAuditConversationScoresV2) GetRiskLikelihoodAvgOk() (*float32, bool)

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

func (*RiskAuditConversationScoresV2) GetSentimentTrend

func (o *RiskAuditConversationScoresV2) GetSentimentTrend() interface{}

GetSentimentTrend returns the SentimentTrend field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RiskAuditConversationScoresV2) GetSentimentTrendOk

func (o *RiskAuditConversationScoresV2) GetSentimentTrendOk() (*interface{}, bool)

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

func (*RiskAuditConversationScoresV2) GetViolationDensityPerMin

func (o *RiskAuditConversationScoresV2) GetViolationDensityPerMin() float32

GetViolationDensityPerMin returns the ViolationDensityPerMin field value if set, zero value otherwise.

func (*RiskAuditConversationScoresV2) GetViolationDensityPerMinOk

func (o *RiskAuditConversationScoresV2) GetViolationDensityPerMinOk() (*float32, bool)

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

func (*RiskAuditConversationScoresV2) HasConsolidatedScore

func (o *RiskAuditConversationScoresV2) HasConsolidatedScore() bool

HasConsolidatedScore returns a boolean if a field has been set.

func (*RiskAuditConversationScoresV2) HasGlobalRiskSeverity

func (o *RiskAuditConversationScoresV2) HasGlobalRiskSeverity() bool

HasGlobalRiskSeverity returns a boolean if a field has been set.

func (*RiskAuditConversationScoresV2) HasGlobalRiskSeverityLabel

func (o *RiskAuditConversationScoresV2) HasGlobalRiskSeverityLabel() bool

HasGlobalRiskSeverityLabel returns a boolean if a field has been set.

func (*RiskAuditConversationScoresV2) HasMostCriticalTurn

func (o *RiskAuditConversationScoresV2) HasMostCriticalTurn() bool

HasMostCriticalTurn returns a boolean if a field has been set.

func (*RiskAuditConversationScoresV2) HasPctTurnsWithViolation

func (o *RiskAuditConversationScoresV2) HasPctTurnsWithViolation() bool

HasPctTurnsWithViolation returns a boolean if a field has been set.

func (*RiskAuditConversationScoresV2) HasPositiveNegativeRatio

func (o *RiskAuditConversationScoresV2) HasPositiveNegativeRatio() bool

HasPositiveNegativeRatio returns a boolean if a field has been set.

func (*RiskAuditConversationScoresV2) HasRiskImpactAvg

func (o *RiskAuditConversationScoresV2) HasRiskImpactAvg() bool

HasRiskImpactAvg returns a boolean if a field has been set.

func (*RiskAuditConversationScoresV2) HasRiskLikelihoodAvg

func (o *RiskAuditConversationScoresV2) HasRiskLikelihoodAvg() bool

HasRiskLikelihoodAvg returns a boolean if a field has been set.

func (*RiskAuditConversationScoresV2) HasSentimentTrend

func (o *RiskAuditConversationScoresV2) HasSentimentTrend() bool

HasSentimentTrend returns a boolean if a field has been set.

func (*RiskAuditConversationScoresV2) HasViolationDensityPerMin

func (o *RiskAuditConversationScoresV2) HasViolationDensityPerMin() bool

HasViolationDensityPerMin returns a boolean if a field has been set.

func (RiskAuditConversationScoresV2) MarshalJSON

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

func (*RiskAuditConversationScoresV2) SetConsolidatedScore

func (o *RiskAuditConversationScoresV2) SetConsolidatedScore(v float32)

SetConsolidatedScore gets a reference to the given float32 and assigns it to the ConsolidatedScore field.

func (*RiskAuditConversationScoresV2) SetGlobalRiskSeverity

func (o *RiskAuditConversationScoresV2) SetGlobalRiskSeverity(v string)

SetGlobalRiskSeverity gets a reference to the given string and assigns it to the GlobalRiskSeverity field.

func (*RiskAuditConversationScoresV2) SetGlobalRiskSeverityLabel

func (o *RiskAuditConversationScoresV2) SetGlobalRiskSeverityLabel(v string)

SetGlobalRiskSeverityLabel gets a reference to the given string and assigns it to the GlobalRiskSeverityLabel field.

func (*RiskAuditConversationScoresV2) SetMostCriticalTurn

func (o *RiskAuditConversationScoresV2) SetMostCriticalTurn(v interface{})

SetMostCriticalTurn gets a reference to the given interface{} and assigns it to the MostCriticalTurn field.

func (*RiskAuditConversationScoresV2) SetPctTurnsWithViolation

func (o *RiskAuditConversationScoresV2) SetPctTurnsWithViolation(v float32)

SetPctTurnsWithViolation gets a reference to the given float32 and assigns it to the PctTurnsWithViolation field.

func (*RiskAuditConversationScoresV2) SetPositiveNegativeRatio

func (o *RiskAuditConversationScoresV2) SetPositiveNegativeRatio(v interface{})

SetPositiveNegativeRatio gets a reference to the given interface{} and assigns it to the PositiveNegativeRatio field.

func (*RiskAuditConversationScoresV2) SetRiskImpactAvg

func (o *RiskAuditConversationScoresV2) SetRiskImpactAvg(v float32)

SetRiskImpactAvg gets a reference to the given float32 and assigns it to the RiskImpactAvg field.

func (*RiskAuditConversationScoresV2) SetRiskLikelihoodAvg

func (o *RiskAuditConversationScoresV2) SetRiskLikelihoodAvg(v float32)

SetRiskLikelihoodAvg gets a reference to the given float32 and assigns it to the RiskLikelihoodAvg field.

func (*RiskAuditConversationScoresV2) SetSentimentTrend

func (o *RiskAuditConversationScoresV2) SetSentimentTrend(v interface{})

SetSentimentTrend gets a reference to the given interface{} and assigns it to the SentimentTrend field.

func (*RiskAuditConversationScoresV2) SetViolationDensityPerMin

func (o *RiskAuditConversationScoresV2) SetViolationDensityPerMin(v float32)

SetViolationDensityPerMin gets a reference to the given float32 and assigns it to the ViolationDensityPerMin field.

func (RiskAuditConversationScoresV2) ToMap

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

type RiskAuditDetectionItemV2

type RiskAuditDetectionItemV2 struct {
	// Turn number
	Turn *int32 `json:"turn,omitempty"`
	// Speaker
	Interlocutor *string `json:"interlocutor,omitempty"`
	// Role
	Role *string `json:"role,omitempty"`
	// Formatted timestamp
	TimestampFormatted *string `json:"timestamp_formatted,omitempty"`
	// Detected term
	TermText *string `json:"term_text,omitempty"`
	// Category label (i18n)
	CategoryLabel string `json:"category_label"`
	// Subcategory label (i18n)
	SubcategoryLabel *string `json:"subcategory_label,omitempty"`
	// Criticality
	Criticality *string `json:"criticality,omitempty"`
	// Status
	Status *string `json:"status,omitempty"`
	// Reason
	Reason *string `json:"reason,omitempty"`
	// Final score
	FinalScore *float32 `json:"final_score,omitempty"`
	// Violated frameworks
	ViolatedFrameworks []interface{} `json:"violated_frameworks,omitempty"`
}

RiskAuditDetectionItemV2 struct for RiskAuditDetectionItemV2

func NewRiskAuditDetectionItemV2

func NewRiskAuditDetectionItemV2(categoryLabel string) *RiskAuditDetectionItemV2

NewRiskAuditDetectionItemV2 instantiates a new RiskAuditDetectionItemV2 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 NewRiskAuditDetectionItemV2WithDefaults

func NewRiskAuditDetectionItemV2WithDefaults() *RiskAuditDetectionItemV2

NewRiskAuditDetectionItemV2WithDefaults instantiates a new RiskAuditDetectionItemV2 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 (*RiskAuditDetectionItemV2) GetCategoryLabel

func (o *RiskAuditDetectionItemV2) GetCategoryLabel() string

GetCategoryLabel returns the CategoryLabel field value

func (*RiskAuditDetectionItemV2) GetCategoryLabelOk

func (o *RiskAuditDetectionItemV2) GetCategoryLabelOk() (*string, bool)

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

func (*RiskAuditDetectionItemV2) GetCriticality

func (o *RiskAuditDetectionItemV2) GetCriticality() string

GetCriticality returns the Criticality field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetCriticalityOk

func (o *RiskAuditDetectionItemV2) GetCriticalityOk() (*string, bool)

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

func (*RiskAuditDetectionItemV2) GetFinalScore

func (o *RiskAuditDetectionItemV2) GetFinalScore() float32

GetFinalScore returns the FinalScore field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetFinalScoreOk

func (o *RiskAuditDetectionItemV2) GetFinalScoreOk() (*float32, bool)

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

func (*RiskAuditDetectionItemV2) GetInterlocutor

func (o *RiskAuditDetectionItemV2) GetInterlocutor() string

GetInterlocutor returns the Interlocutor field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetInterlocutorOk

func (o *RiskAuditDetectionItemV2) GetInterlocutorOk() (*string, bool)

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

func (*RiskAuditDetectionItemV2) GetReason

func (o *RiskAuditDetectionItemV2) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetReasonOk

func (o *RiskAuditDetectionItemV2) GetReasonOk() (*string, bool)

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

func (*RiskAuditDetectionItemV2) GetRole

func (o *RiskAuditDetectionItemV2) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetRoleOk

func (o *RiskAuditDetectionItemV2) GetRoleOk() (*string, bool)

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

func (*RiskAuditDetectionItemV2) GetStatus

func (o *RiskAuditDetectionItemV2) GetStatus() string

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

func (*RiskAuditDetectionItemV2) GetStatusOk

func (o *RiskAuditDetectionItemV2) 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 (*RiskAuditDetectionItemV2) GetSubcategoryLabel

func (o *RiskAuditDetectionItemV2) GetSubcategoryLabel() string

GetSubcategoryLabel returns the SubcategoryLabel field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetSubcategoryLabelOk

func (o *RiskAuditDetectionItemV2) GetSubcategoryLabelOk() (*string, bool)

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

func (*RiskAuditDetectionItemV2) GetTermText

func (o *RiskAuditDetectionItemV2) GetTermText() string

GetTermText returns the TermText field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetTermTextOk

func (o *RiskAuditDetectionItemV2) GetTermTextOk() (*string, bool)

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

func (*RiskAuditDetectionItemV2) GetTimestampFormatted

func (o *RiskAuditDetectionItemV2) GetTimestampFormatted() string

GetTimestampFormatted returns the TimestampFormatted field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetTimestampFormattedOk

func (o *RiskAuditDetectionItemV2) GetTimestampFormattedOk() (*string, bool)

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

func (*RiskAuditDetectionItemV2) GetTurn

func (o *RiskAuditDetectionItemV2) GetTurn() int32

GetTurn returns the Turn field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetTurnOk

func (o *RiskAuditDetectionItemV2) GetTurnOk() (*int32, bool)

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

func (*RiskAuditDetectionItemV2) GetViolatedFrameworks

func (o *RiskAuditDetectionItemV2) GetViolatedFrameworks() []interface{}

GetViolatedFrameworks returns the ViolatedFrameworks field value if set, zero value otherwise.

func (*RiskAuditDetectionItemV2) GetViolatedFrameworksOk

func (o *RiskAuditDetectionItemV2) GetViolatedFrameworksOk() ([]interface{}, bool)

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

func (*RiskAuditDetectionItemV2) HasCriticality

func (o *RiskAuditDetectionItemV2) HasCriticality() bool

HasCriticality returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasFinalScore

func (o *RiskAuditDetectionItemV2) HasFinalScore() bool

HasFinalScore returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasInterlocutor

func (o *RiskAuditDetectionItemV2) HasInterlocutor() bool

HasInterlocutor returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasReason

func (o *RiskAuditDetectionItemV2) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasRole

func (o *RiskAuditDetectionItemV2) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasStatus

func (o *RiskAuditDetectionItemV2) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasSubcategoryLabel

func (o *RiskAuditDetectionItemV2) HasSubcategoryLabel() bool

HasSubcategoryLabel returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasTermText

func (o *RiskAuditDetectionItemV2) HasTermText() bool

HasTermText returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasTimestampFormatted

func (o *RiskAuditDetectionItemV2) HasTimestampFormatted() bool

HasTimestampFormatted returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasTurn

func (o *RiskAuditDetectionItemV2) HasTurn() bool

HasTurn returns a boolean if a field has been set.

func (*RiskAuditDetectionItemV2) HasViolatedFrameworks

func (o *RiskAuditDetectionItemV2) HasViolatedFrameworks() bool

HasViolatedFrameworks returns a boolean if a field has been set.

func (RiskAuditDetectionItemV2) MarshalJSON

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

func (*RiskAuditDetectionItemV2) SetCategoryLabel

func (o *RiskAuditDetectionItemV2) SetCategoryLabel(v string)

SetCategoryLabel sets field value

func (*RiskAuditDetectionItemV2) SetCriticality

func (o *RiskAuditDetectionItemV2) SetCriticality(v string)

SetCriticality gets a reference to the given string and assigns it to the Criticality field.

func (*RiskAuditDetectionItemV2) SetFinalScore

func (o *RiskAuditDetectionItemV2) SetFinalScore(v float32)

SetFinalScore gets a reference to the given float32 and assigns it to the FinalScore field.

func (*RiskAuditDetectionItemV2) SetInterlocutor

func (o *RiskAuditDetectionItemV2) SetInterlocutor(v string)

SetInterlocutor gets a reference to the given string and assigns it to the Interlocutor field.

func (*RiskAuditDetectionItemV2) SetReason

func (o *RiskAuditDetectionItemV2) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*RiskAuditDetectionItemV2) SetRole

func (o *RiskAuditDetectionItemV2) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*RiskAuditDetectionItemV2) SetStatus

func (o *RiskAuditDetectionItemV2) SetStatus(v string)

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

func (*RiskAuditDetectionItemV2) SetSubcategoryLabel

func (o *RiskAuditDetectionItemV2) SetSubcategoryLabel(v string)

SetSubcategoryLabel gets a reference to the given string and assigns it to the SubcategoryLabel field.

func (*RiskAuditDetectionItemV2) SetTermText

func (o *RiskAuditDetectionItemV2) SetTermText(v string)

SetTermText gets a reference to the given string and assigns it to the TermText field.

func (*RiskAuditDetectionItemV2) SetTimestampFormatted

func (o *RiskAuditDetectionItemV2) SetTimestampFormatted(v string)

SetTimestampFormatted gets a reference to the given string and assigns it to the TimestampFormatted field.

func (*RiskAuditDetectionItemV2) SetTurn

func (o *RiskAuditDetectionItemV2) SetTurn(v int32)

SetTurn gets a reference to the given int32 and assigns it to the Turn field.

func (*RiskAuditDetectionItemV2) SetViolatedFrameworks

func (o *RiskAuditDetectionItemV2) SetViolatedFrameworks(v []interface{})

SetViolatedFrameworks gets a reference to the given []interface{} and assigns it to the ViolatedFrameworks field.

func (RiskAuditDetectionItemV2) ToMap

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

func (*RiskAuditDetectionItemV2) UnmarshalJSON

func (o *RiskAuditDetectionItemV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditDetectionsV2

type RiskAuditDetectionsV2 struct {
	// Active violations
	Violations []RiskAuditDetectionItemV2 `json:"violations,omitempty"`
	// Active positives
	Positives []RiskAuditDetectionItemV2 `json:"positives,omitempty"`
	// Client risk alerts
	ClientRiskAlerts []map[string]interface{} `json:"client_risk_alerts,omitempty"`
	// Client behavior alerts
	ClientBehaviorAlerts []map[string]interface{} `json:"client_behavior_alerts,omitempty"`
	// Client negatives
	ClientNegatives      []RiskAuditDetectionItemV2 `json:"client_negatives,omitempty"`
	AdditionalProperties map[string]interface{}
}

RiskAuditDetectionsV2 struct for RiskAuditDetectionsV2

func NewRiskAuditDetectionsV2

func NewRiskAuditDetectionsV2() *RiskAuditDetectionsV2

NewRiskAuditDetectionsV2 instantiates a new RiskAuditDetectionsV2 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 NewRiskAuditDetectionsV2WithDefaults

func NewRiskAuditDetectionsV2WithDefaults() *RiskAuditDetectionsV2

NewRiskAuditDetectionsV2WithDefaults instantiates a new RiskAuditDetectionsV2 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 (*RiskAuditDetectionsV2) GetClientBehaviorAlerts

func (o *RiskAuditDetectionsV2) GetClientBehaviorAlerts() []map[string]interface{}

GetClientBehaviorAlerts returns the ClientBehaviorAlerts field value if set, zero value otherwise.

func (*RiskAuditDetectionsV2) GetClientBehaviorAlertsOk

func (o *RiskAuditDetectionsV2) GetClientBehaviorAlertsOk() ([]map[string]interface{}, bool)

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

func (*RiskAuditDetectionsV2) GetClientNegatives

func (o *RiskAuditDetectionsV2) GetClientNegatives() []RiskAuditDetectionItemV2

GetClientNegatives returns the ClientNegatives field value if set, zero value otherwise.

func (*RiskAuditDetectionsV2) GetClientNegativesOk

func (o *RiskAuditDetectionsV2) GetClientNegativesOk() ([]RiskAuditDetectionItemV2, bool)

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

func (*RiskAuditDetectionsV2) GetClientRiskAlerts

func (o *RiskAuditDetectionsV2) GetClientRiskAlerts() []map[string]interface{}

GetClientRiskAlerts returns the ClientRiskAlerts field value if set, zero value otherwise.

func (*RiskAuditDetectionsV2) GetClientRiskAlertsOk

func (o *RiskAuditDetectionsV2) GetClientRiskAlertsOk() ([]map[string]interface{}, bool)

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

func (*RiskAuditDetectionsV2) GetPositives

func (o *RiskAuditDetectionsV2) GetPositives() []RiskAuditDetectionItemV2

GetPositives returns the Positives field value if set, zero value otherwise.

func (*RiskAuditDetectionsV2) GetPositivesOk

func (o *RiskAuditDetectionsV2) GetPositivesOk() ([]RiskAuditDetectionItemV2, bool)

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

func (*RiskAuditDetectionsV2) GetViolations

func (o *RiskAuditDetectionsV2) GetViolations() []RiskAuditDetectionItemV2

GetViolations returns the Violations field value if set, zero value otherwise.

func (*RiskAuditDetectionsV2) GetViolationsOk

func (o *RiskAuditDetectionsV2) GetViolationsOk() ([]RiskAuditDetectionItemV2, bool)

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

func (*RiskAuditDetectionsV2) HasClientBehaviorAlerts

func (o *RiskAuditDetectionsV2) HasClientBehaviorAlerts() bool

HasClientBehaviorAlerts returns a boolean if a field has been set.

func (*RiskAuditDetectionsV2) HasClientNegatives

func (o *RiskAuditDetectionsV2) HasClientNegatives() bool

HasClientNegatives returns a boolean if a field has been set.

func (*RiskAuditDetectionsV2) HasClientRiskAlerts

func (o *RiskAuditDetectionsV2) HasClientRiskAlerts() bool

HasClientRiskAlerts returns a boolean if a field has been set.

func (*RiskAuditDetectionsV2) HasPositives

func (o *RiskAuditDetectionsV2) HasPositives() bool

HasPositives returns a boolean if a field has been set.

func (*RiskAuditDetectionsV2) HasViolations

func (o *RiskAuditDetectionsV2) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (RiskAuditDetectionsV2) MarshalJSON

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

func (*RiskAuditDetectionsV2) SetClientBehaviorAlerts

func (o *RiskAuditDetectionsV2) SetClientBehaviorAlerts(v []map[string]interface{})

SetClientBehaviorAlerts gets a reference to the given []map[string]interface{} and assigns it to the ClientBehaviorAlerts field.

func (*RiskAuditDetectionsV2) SetClientNegatives

func (o *RiskAuditDetectionsV2) SetClientNegatives(v []RiskAuditDetectionItemV2)

SetClientNegatives gets a reference to the given []RiskAuditDetectionItemV2 and assigns it to the ClientNegatives field.

func (*RiskAuditDetectionsV2) SetClientRiskAlerts

func (o *RiskAuditDetectionsV2) SetClientRiskAlerts(v []map[string]interface{})

SetClientRiskAlerts gets a reference to the given []map[string]interface{} and assigns it to the ClientRiskAlerts field.

func (*RiskAuditDetectionsV2) SetPositives

func (o *RiskAuditDetectionsV2) SetPositives(v []RiskAuditDetectionItemV2)

SetPositives gets a reference to the given []RiskAuditDetectionItemV2 and assigns it to the Positives field.

func (*RiskAuditDetectionsV2) SetViolations

func (o *RiskAuditDetectionsV2) SetViolations(v []RiskAuditDetectionItemV2)

SetViolations gets a reference to the given []RiskAuditDetectionItemV2 and assigns it to the Violations field.

func (RiskAuditDetectionsV2) ToMap

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

func (*RiskAuditDetectionsV2) UnmarshalJSON

func (o *RiskAuditDetectionsV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditIndexerV2

type RiskAuditIndexerV2 struct {
	// Suggested terms for bank
	SuggestedTermsForBank []map[string]interface{} `json:"suggested_terms_for_bank,omitempty"`
	AdditionalProperties  map[string]interface{}
}

RiskAuditIndexerV2 struct for RiskAuditIndexerV2

func NewRiskAuditIndexerV2

func NewRiskAuditIndexerV2() *RiskAuditIndexerV2

NewRiskAuditIndexerV2 instantiates a new RiskAuditIndexerV2 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 NewRiskAuditIndexerV2WithDefaults

func NewRiskAuditIndexerV2WithDefaults() *RiskAuditIndexerV2

NewRiskAuditIndexerV2WithDefaults instantiates a new RiskAuditIndexerV2 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 (*RiskAuditIndexerV2) GetSuggestedTermsForBank

func (o *RiskAuditIndexerV2) GetSuggestedTermsForBank() []map[string]interface{}

GetSuggestedTermsForBank returns the SuggestedTermsForBank field value if set, zero value otherwise.

func (*RiskAuditIndexerV2) GetSuggestedTermsForBankOk

func (o *RiskAuditIndexerV2) GetSuggestedTermsForBankOk() ([]map[string]interface{}, bool)

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

func (*RiskAuditIndexerV2) HasSuggestedTermsForBank

func (o *RiskAuditIndexerV2) HasSuggestedTermsForBank() bool

HasSuggestedTermsForBank returns a boolean if a field has been set.

func (RiskAuditIndexerV2) MarshalJSON

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

func (*RiskAuditIndexerV2) SetSuggestedTermsForBank

func (o *RiskAuditIndexerV2) SetSuggestedTermsForBank(v []map[string]interface{})

SetSuggestedTermsForBank gets a reference to the given []map[string]interface{} and assigns it to the SuggestedTermsForBank field.

func (RiskAuditIndexerV2) ToMap

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

func (*RiskAuditIndexerV2) UnmarshalJSON

func (o *RiskAuditIndexerV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditMetaV2

type RiskAuditMetaV2 struct {
	// Analysis id
	Id string `json:"id"`
	// Object type
	Object *string `json:"object,omitempty"`
	// Call duration (s)
	CallDurationS *float32 `json:"call_duration_s,omitempty"`
	// ISO 8601 analyzed timestamp
	AnalyzedAt *string `json:"analyzed_at,omitempty"`
	// Usage block
	Usage RiskAuditUsageV2 `json:"usage"`
	// Echoed client reference id
	ClientReferenceId *string `json:"client_reference_id,omitempty"`
}

RiskAuditMetaV2 struct for RiskAuditMetaV2

func NewRiskAuditMetaV2

func NewRiskAuditMetaV2(id string, usage RiskAuditUsageV2) *RiskAuditMetaV2

NewRiskAuditMetaV2 instantiates a new RiskAuditMetaV2 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 NewRiskAuditMetaV2WithDefaults

func NewRiskAuditMetaV2WithDefaults() *RiskAuditMetaV2

NewRiskAuditMetaV2WithDefaults instantiates a new RiskAuditMetaV2 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 (*RiskAuditMetaV2) GetAnalyzedAt

func (o *RiskAuditMetaV2) GetAnalyzedAt() string

GetAnalyzedAt returns the AnalyzedAt field value if set, zero value otherwise.

func (*RiskAuditMetaV2) GetAnalyzedAtOk

func (o *RiskAuditMetaV2) GetAnalyzedAtOk() (*string, bool)

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

func (*RiskAuditMetaV2) GetCallDurationS

func (o *RiskAuditMetaV2) GetCallDurationS() float32

GetCallDurationS returns the CallDurationS field value if set, zero value otherwise.

func (*RiskAuditMetaV2) GetCallDurationSOk

func (o *RiskAuditMetaV2) GetCallDurationSOk() (*float32, bool)

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

func (*RiskAuditMetaV2) GetClientReferenceId

func (o *RiskAuditMetaV2) GetClientReferenceId() string

GetClientReferenceId returns the ClientReferenceId field value if set, zero value otherwise.

func (*RiskAuditMetaV2) GetClientReferenceIdOk

func (o *RiskAuditMetaV2) GetClientReferenceIdOk() (*string, bool)

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

func (*RiskAuditMetaV2) GetId

func (o *RiskAuditMetaV2) GetId() string

GetId returns the Id field value

func (*RiskAuditMetaV2) GetIdOk

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

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

func (*RiskAuditMetaV2) GetObject

func (o *RiskAuditMetaV2) GetObject() string

GetObject returns the Object field value if set, zero value otherwise.

func (*RiskAuditMetaV2) GetObjectOk

func (o *RiskAuditMetaV2) GetObjectOk() (*string, bool)

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

func (*RiskAuditMetaV2) GetUsage

func (o *RiskAuditMetaV2) GetUsage() RiskAuditUsageV2

GetUsage returns the Usage field value

func (*RiskAuditMetaV2) GetUsageOk

func (o *RiskAuditMetaV2) GetUsageOk() (*RiskAuditUsageV2, bool)

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

func (*RiskAuditMetaV2) HasAnalyzedAt

func (o *RiskAuditMetaV2) HasAnalyzedAt() bool

HasAnalyzedAt returns a boolean if a field has been set.

func (*RiskAuditMetaV2) HasCallDurationS

func (o *RiskAuditMetaV2) HasCallDurationS() bool

HasCallDurationS returns a boolean if a field has been set.

func (*RiskAuditMetaV2) HasClientReferenceId

func (o *RiskAuditMetaV2) HasClientReferenceId() bool

HasClientReferenceId returns a boolean if a field has been set.

func (*RiskAuditMetaV2) HasObject

func (o *RiskAuditMetaV2) HasObject() bool

HasObject returns a boolean if a field has been set.

func (RiskAuditMetaV2) MarshalJSON

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

func (*RiskAuditMetaV2) SetAnalyzedAt

func (o *RiskAuditMetaV2) SetAnalyzedAt(v string)

SetAnalyzedAt gets a reference to the given string and assigns it to the AnalyzedAt field.

func (*RiskAuditMetaV2) SetCallDurationS

func (o *RiskAuditMetaV2) SetCallDurationS(v float32)

SetCallDurationS gets a reference to the given float32 and assigns it to the CallDurationS field.

func (*RiskAuditMetaV2) SetClientReferenceId

func (o *RiskAuditMetaV2) SetClientReferenceId(v string)

SetClientReferenceId gets a reference to the given string and assigns it to the ClientReferenceId field.

func (*RiskAuditMetaV2) SetId

func (o *RiskAuditMetaV2) SetId(v string)

SetId sets field value

func (*RiskAuditMetaV2) SetObject

func (o *RiskAuditMetaV2) SetObject(v string)

SetObject gets a reference to the given string and assigns it to the Object field.

func (*RiskAuditMetaV2) SetUsage

func (o *RiskAuditMetaV2) SetUsage(v RiskAuditUsageV2)

SetUsage sets field value

func (RiskAuditMetaV2) ToMap

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

func (*RiskAuditMetaV2) UnmarshalJSON

func (o *RiskAuditMetaV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditParticipantV2

type RiskAuditParticipantV2 struct {
	// Speaker label
	Interlocutor *string `json:"interlocutor,omitempty"`
	// Participant name
	Name *string `json:"name,omitempty"`
	// Role (agent/client/bot/unknown)
	Role *string `json:"role,omitempty"`
	// Role inference confidence (high/medium/low)
	Confidence *string `json:"confidence,omitempty"`
	// Role source (input/inferred)
	Source *string `json:"source,omitempty"`
	// Role inference evidence
	Evidence *string `json:"evidence,omitempty"`
}

RiskAuditParticipantV2 struct for RiskAuditParticipantV2

func NewRiskAuditParticipantV2

func NewRiskAuditParticipantV2() *RiskAuditParticipantV2

NewRiskAuditParticipantV2 instantiates a new RiskAuditParticipantV2 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 NewRiskAuditParticipantV2WithDefaults

func NewRiskAuditParticipantV2WithDefaults() *RiskAuditParticipantV2

NewRiskAuditParticipantV2WithDefaults instantiates a new RiskAuditParticipantV2 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 (*RiskAuditParticipantV2) GetConfidence

func (o *RiskAuditParticipantV2) GetConfidence() string

GetConfidence returns the Confidence field value if set, zero value otherwise.

func (*RiskAuditParticipantV2) GetConfidenceOk

func (o *RiskAuditParticipantV2) GetConfidenceOk() (*string, bool)

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

func (*RiskAuditParticipantV2) GetEvidence

func (o *RiskAuditParticipantV2) GetEvidence() string

GetEvidence returns the Evidence field value if set, zero value otherwise.

func (*RiskAuditParticipantV2) GetEvidenceOk

func (o *RiskAuditParticipantV2) GetEvidenceOk() (*string, bool)

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

func (*RiskAuditParticipantV2) GetInterlocutor

func (o *RiskAuditParticipantV2) GetInterlocutor() string

GetInterlocutor returns the Interlocutor field value if set, zero value otherwise.

func (*RiskAuditParticipantV2) GetInterlocutorOk

func (o *RiskAuditParticipantV2) GetInterlocutorOk() (*string, bool)

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

func (*RiskAuditParticipantV2) GetName

func (o *RiskAuditParticipantV2) GetName() string

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

func (*RiskAuditParticipantV2) GetNameOk

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

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

func (*RiskAuditParticipantV2) GetRole

func (o *RiskAuditParticipantV2) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*RiskAuditParticipantV2) GetRoleOk

func (o *RiskAuditParticipantV2) GetRoleOk() (*string, bool)

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

func (*RiskAuditParticipantV2) GetSource

func (o *RiskAuditParticipantV2) GetSource() string

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

func (*RiskAuditParticipantV2) GetSourceOk

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

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

func (*RiskAuditParticipantV2) HasConfidence

func (o *RiskAuditParticipantV2) HasConfidence() bool

HasConfidence returns a boolean if a field has been set.

func (*RiskAuditParticipantV2) HasEvidence

func (o *RiskAuditParticipantV2) HasEvidence() bool

HasEvidence returns a boolean if a field has been set.

func (*RiskAuditParticipantV2) HasInterlocutor

func (o *RiskAuditParticipantV2) HasInterlocutor() bool

HasInterlocutor returns a boolean if a field has been set.

func (*RiskAuditParticipantV2) HasName

func (o *RiskAuditParticipantV2) HasName() bool

HasName returns a boolean if a field has been set.

func (*RiskAuditParticipantV2) HasRole

func (o *RiskAuditParticipantV2) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*RiskAuditParticipantV2) HasSource

func (o *RiskAuditParticipantV2) HasSource() bool

HasSource returns a boolean if a field has been set.

func (RiskAuditParticipantV2) MarshalJSON

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

func (*RiskAuditParticipantV2) SetConfidence

func (o *RiskAuditParticipantV2) SetConfidence(v string)

SetConfidence gets a reference to the given string and assigns it to the Confidence field.

func (*RiskAuditParticipantV2) SetEvidence

func (o *RiskAuditParticipantV2) SetEvidence(v string)

SetEvidence gets a reference to the given string and assigns it to the Evidence field.

func (*RiskAuditParticipantV2) SetInterlocutor

func (o *RiskAuditParticipantV2) SetInterlocutor(v string)

SetInterlocutor gets a reference to the given string and assigns it to the Interlocutor field.

func (*RiskAuditParticipantV2) SetName

func (o *RiskAuditParticipantV2) SetName(v string)

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

func (*RiskAuditParticipantV2) SetRole

func (o *RiskAuditParticipantV2) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*RiskAuditParticipantV2) SetSource

func (o *RiskAuditParticipantV2) SetSource(v string)

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

func (RiskAuditParticipantV2) ToMap

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

type RiskAuditParticipantsV2

type RiskAuditParticipantsV2 struct {
	// Identified participants
	Identified []RiskAuditParticipantV2 `json:"identified,omitempty"`
	// inbound/outbound
	CallDirection *string `json:"call_direction,omitempty"`
	// Role inference reliability
	RoleInferenceReliable *bool `json:"role_inference_reliable,omitempty"`
	// Identification status
	IdentificationStatus *string `json:"identification_status,omitempty"`
	// Unidentified items count
	UnidentifiedItemsCount *int32 `json:"unidentified_items_count,omitempty"`
}

RiskAuditParticipantsV2 struct for RiskAuditParticipantsV2

func NewRiskAuditParticipantsV2

func NewRiskAuditParticipantsV2() *RiskAuditParticipantsV2

NewRiskAuditParticipantsV2 instantiates a new RiskAuditParticipantsV2 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 NewRiskAuditParticipantsV2WithDefaults

func NewRiskAuditParticipantsV2WithDefaults() *RiskAuditParticipantsV2

NewRiskAuditParticipantsV2WithDefaults instantiates a new RiskAuditParticipantsV2 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 (*RiskAuditParticipantsV2) GetCallDirection

func (o *RiskAuditParticipantsV2) GetCallDirection() string

GetCallDirection returns the CallDirection field value if set, zero value otherwise.

func (*RiskAuditParticipantsV2) GetCallDirectionOk

func (o *RiskAuditParticipantsV2) GetCallDirectionOk() (*string, bool)

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

func (*RiskAuditParticipantsV2) GetIdentificationStatus

func (o *RiskAuditParticipantsV2) GetIdentificationStatus() string

GetIdentificationStatus returns the IdentificationStatus field value if set, zero value otherwise.

func (*RiskAuditParticipantsV2) GetIdentificationStatusOk

func (o *RiskAuditParticipantsV2) GetIdentificationStatusOk() (*string, bool)

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

func (*RiskAuditParticipantsV2) GetIdentified

func (o *RiskAuditParticipantsV2) GetIdentified() []RiskAuditParticipantV2

GetIdentified returns the Identified field value if set, zero value otherwise.

func (*RiskAuditParticipantsV2) GetIdentifiedOk

func (o *RiskAuditParticipantsV2) GetIdentifiedOk() ([]RiskAuditParticipantV2, bool)

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

func (*RiskAuditParticipantsV2) GetRoleInferenceReliable

func (o *RiskAuditParticipantsV2) GetRoleInferenceReliable() bool

GetRoleInferenceReliable returns the RoleInferenceReliable field value if set, zero value otherwise.

func (*RiskAuditParticipantsV2) GetRoleInferenceReliableOk

func (o *RiskAuditParticipantsV2) GetRoleInferenceReliableOk() (*bool, bool)

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

func (*RiskAuditParticipantsV2) GetUnidentifiedItemsCount

func (o *RiskAuditParticipantsV2) GetUnidentifiedItemsCount() int32

GetUnidentifiedItemsCount returns the UnidentifiedItemsCount field value if set, zero value otherwise.

func (*RiskAuditParticipantsV2) GetUnidentifiedItemsCountOk

func (o *RiskAuditParticipantsV2) GetUnidentifiedItemsCountOk() (*int32, bool)

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

func (*RiskAuditParticipantsV2) HasCallDirection

func (o *RiskAuditParticipantsV2) HasCallDirection() bool

HasCallDirection returns a boolean if a field has been set.

func (*RiskAuditParticipantsV2) HasIdentificationStatus

func (o *RiskAuditParticipantsV2) HasIdentificationStatus() bool

HasIdentificationStatus returns a boolean if a field has been set.

func (*RiskAuditParticipantsV2) HasIdentified

func (o *RiskAuditParticipantsV2) HasIdentified() bool

HasIdentified returns a boolean if a field has been set.

func (*RiskAuditParticipantsV2) HasRoleInferenceReliable

func (o *RiskAuditParticipantsV2) HasRoleInferenceReliable() bool

HasRoleInferenceReliable returns a boolean if a field has been set.

func (*RiskAuditParticipantsV2) HasUnidentifiedItemsCount

func (o *RiskAuditParticipantsV2) HasUnidentifiedItemsCount() bool

HasUnidentifiedItemsCount returns a boolean if a field has been set.

func (RiskAuditParticipantsV2) MarshalJSON

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

func (*RiskAuditParticipantsV2) SetCallDirection

func (o *RiskAuditParticipantsV2) SetCallDirection(v string)

SetCallDirection gets a reference to the given string and assigns it to the CallDirection field.

func (*RiskAuditParticipantsV2) SetIdentificationStatus

func (o *RiskAuditParticipantsV2) SetIdentificationStatus(v string)

SetIdentificationStatus gets a reference to the given string and assigns it to the IdentificationStatus field.

func (*RiskAuditParticipantsV2) SetIdentified

func (o *RiskAuditParticipantsV2) SetIdentified(v []RiskAuditParticipantV2)

SetIdentified gets a reference to the given []RiskAuditParticipantV2 and assigns it to the Identified field.

func (*RiskAuditParticipantsV2) SetRoleInferenceReliable

func (o *RiskAuditParticipantsV2) SetRoleInferenceReliable(v bool)

SetRoleInferenceReliable gets a reference to the given bool and assigns it to the RoleInferenceReliable field.

func (*RiskAuditParticipantsV2) SetUnidentifiedItemsCount

func (o *RiskAuditParticipantsV2) SetUnidentifiedItemsCount(v int32)

SetUnidentifiedItemsCount gets a reference to the given int32 and assigns it to the UnidentifiedItemsCount field.

func (RiskAuditParticipantsV2) ToMap

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

type RiskAuditRequest

type RiskAuditRequest struct {
	// Analysis model. Always 'falaai-risk-audit-1'
	Model *string `json:"model,omitempty"`
	// Diarized transcript with speaker turns. REQUIRED — risk audit only accepts diarized conversations; plain 'text' is not accepted. Speaker labels accepted (any case): 'Speaker N', 'Interlocutor N', 'Hablante N', 'Locutor N', 'Orador N' (space or underscore). Normalized internally to 'Speaker N' in the response. Max 300,000 characters
	Dialog string `json:"dialog"`
	// Audio events with timestamps (correlated with turns when diarization is present)
	AudioEvents []DiagnosticAudioEvent `json:"audio_events,omitempty"`
	// Total audio duration in seconds. Required. Must be >= last turn end. Max 3h (10800s).
	DurationSeconds float32 `json:"duration_seconds"`
	// Language of the transcript being analyzed. Must match the dialog/text language. Accepted: pt-BR, en-US, es-ES.
	Language string `json:"language"`
	// Language for analysis results (labels, categories, levels, actions, HTML report). Can differ from 'language'. Accepted: pt-BR, en-US, es-ES.
	ResponseLanguage string `json:"response_language"`
	// Who originated the call. inbound=client called, outbound=company called. If omitted, LLM infers from context.
	CallDirection *string `json:"call_direction,omitempty"`
	// Explicit participant roles. If omitted, LLM infers from dialog (Lei 17). When provided, used as ground truth — no inference.
	Participants []Participant `json:"participants,omitempty"`
	// Response format version. Only 'v2' (structured EN-US blocks) is available today.
	ResponseFormat *string `json:"response_format,omitempty"`
	// Optional client-supplied ID echoed verbatim in the response. Use to correlate/sync with your system. Accepted charset: [A-Za-z0-9 _/:.-], max 60 chars. Not idempotency.
	ClientReferenceId *string `json:"client_reference_id,omitempty"`
}

RiskAuditRequest struct for RiskAuditRequest

func NewRiskAuditRequest

func NewRiskAuditRequest(dialog string, durationSeconds float32, language string, responseLanguage string) *RiskAuditRequest

NewRiskAuditRequest instantiates a new RiskAuditRequest 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 NewRiskAuditRequestWithDefaults

func NewRiskAuditRequestWithDefaults() *RiskAuditRequest

NewRiskAuditRequestWithDefaults instantiates a new RiskAuditRequest 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 (*RiskAuditRequest) GetAudioEvents

func (o *RiskAuditRequest) GetAudioEvents() []DiagnosticAudioEvent

GetAudioEvents returns the AudioEvents field value if set, zero value otherwise.

func (*RiskAuditRequest) GetAudioEventsOk

func (o *RiskAuditRequest) GetAudioEventsOk() ([]DiagnosticAudioEvent, bool)

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

func (*RiskAuditRequest) GetCallDirection

func (o *RiskAuditRequest) GetCallDirection() string

GetCallDirection returns the CallDirection field value if set, zero value otherwise.

func (*RiskAuditRequest) GetCallDirectionOk

func (o *RiskAuditRequest) GetCallDirectionOk() (*string, bool)

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

func (*RiskAuditRequest) GetClientReferenceId

func (o *RiskAuditRequest) GetClientReferenceId() string

GetClientReferenceId returns the ClientReferenceId field value if set, zero value otherwise.

func (*RiskAuditRequest) GetClientReferenceIdOk

func (o *RiskAuditRequest) GetClientReferenceIdOk() (*string, bool)

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

func (*RiskAuditRequest) GetDialog

func (o *RiskAuditRequest) GetDialog() string

GetDialog returns the Dialog field value

func (*RiskAuditRequest) GetDialogOk

func (o *RiskAuditRequest) GetDialogOk() (*string, bool)

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

func (*RiskAuditRequest) GetDurationSeconds

func (o *RiskAuditRequest) GetDurationSeconds() float32

GetDurationSeconds returns the DurationSeconds field value

func (*RiskAuditRequest) GetDurationSecondsOk

func (o *RiskAuditRequest) GetDurationSecondsOk() (*float32, bool)

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

func (*RiskAuditRequest) GetLanguage

func (o *RiskAuditRequest) GetLanguage() string

GetLanguage returns the Language field value

func (*RiskAuditRequest) GetLanguageOk

func (o *RiskAuditRequest) GetLanguageOk() (*string, bool)

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

func (*RiskAuditRequest) GetModel

func (o *RiskAuditRequest) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*RiskAuditRequest) GetModelOk

func (o *RiskAuditRequest) GetModelOk() (*string, bool)

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

func (*RiskAuditRequest) GetParticipants

func (o *RiskAuditRequest) GetParticipants() []Participant

GetParticipants returns the Participants field value if set, zero value otherwise.

func (*RiskAuditRequest) GetParticipantsOk

func (o *RiskAuditRequest) GetParticipantsOk() ([]Participant, bool)

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

func (*RiskAuditRequest) GetResponseFormat

func (o *RiskAuditRequest) GetResponseFormat() string

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*RiskAuditRequest) GetResponseFormatOk

func (o *RiskAuditRequest) GetResponseFormatOk() (*string, bool)

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

func (*RiskAuditRequest) GetResponseLanguage

func (o *RiskAuditRequest) GetResponseLanguage() string

GetResponseLanguage returns the ResponseLanguage field value

func (*RiskAuditRequest) GetResponseLanguageOk

func (o *RiskAuditRequest) GetResponseLanguageOk() (*string, bool)

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

func (*RiskAuditRequest) HasAudioEvents

func (o *RiskAuditRequest) HasAudioEvents() bool

HasAudioEvents returns a boolean if a field has been set.

func (*RiskAuditRequest) HasCallDirection

func (o *RiskAuditRequest) HasCallDirection() bool

HasCallDirection returns a boolean if a field has been set.

func (*RiskAuditRequest) HasClientReferenceId

func (o *RiskAuditRequest) HasClientReferenceId() bool

HasClientReferenceId returns a boolean if a field has been set.

func (*RiskAuditRequest) HasModel

func (o *RiskAuditRequest) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*RiskAuditRequest) HasParticipants

func (o *RiskAuditRequest) HasParticipants() bool

HasParticipants returns a boolean if a field has been set.

func (*RiskAuditRequest) HasResponseFormat

func (o *RiskAuditRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (RiskAuditRequest) MarshalJSON

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

func (*RiskAuditRequest) SetAudioEvents

func (o *RiskAuditRequest) SetAudioEvents(v []DiagnosticAudioEvent)

SetAudioEvents gets a reference to the given []DiagnosticAudioEvent and assigns it to the AudioEvents field.

func (*RiskAuditRequest) SetCallDirection

func (o *RiskAuditRequest) SetCallDirection(v string)

SetCallDirection gets a reference to the given string and assigns it to the CallDirection field.

func (*RiskAuditRequest) SetClientReferenceId

func (o *RiskAuditRequest) SetClientReferenceId(v string)

SetClientReferenceId gets a reference to the given string and assigns it to the ClientReferenceId field.

func (*RiskAuditRequest) SetDialog

func (o *RiskAuditRequest) SetDialog(v string)

SetDialog sets field value

func (*RiskAuditRequest) SetDurationSeconds

func (o *RiskAuditRequest) SetDurationSeconds(v float32)

SetDurationSeconds sets field value

func (*RiskAuditRequest) SetLanguage

func (o *RiskAuditRequest) SetLanguage(v string)

SetLanguage sets field value

func (*RiskAuditRequest) SetModel

func (o *RiskAuditRequest) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

func (*RiskAuditRequest) SetParticipants

func (o *RiskAuditRequest) SetParticipants(v []Participant)

SetParticipants gets a reference to the given []Participant and assigns it to the Participants field.

func (*RiskAuditRequest) SetResponseFormat

func (o *RiskAuditRequest) SetResponseFormat(v string)

SetResponseFormat gets a reference to the given string and assigns it to the ResponseFormat field.

func (*RiskAuditRequest) SetResponseLanguage

func (o *RiskAuditRequest) SetResponseLanguage(v string)

SetResponseLanguage sets field value

func (RiskAuditRequest) ToMap

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

func (*RiskAuditRequest) UnmarshalJSON

func (o *RiskAuditRequest) UnmarshalJSON(data []byte) (err error)

type RiskAuditScoresV2

type RiskAuditScoresV2 struct {
	// Conversation scores
	Conversation RiskAuditConversationScoresV2 `json:"conversation"`
	// Per-participant KPIs
	PerParticipant       map[string]interface{} `json:"per_participant,omitempty"`
	AdditionalProperties map[string]interface{}
}

RiskAuditScoresV2 struct for RiskAuditScoresV2

func NewRiskAuditScoresV2

func NewRiskAuditScoresV2(conversation RiskAuditConversationScoresV2) *RiskAuditScoresV2

NewRiskAuditScoresV2 instantiates a new RiskAuditScoresV2 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 NewRiskAuditScoresV2WithDefaults

func NewRiskAuditScoresV2WithDefaults() *RiskAuditScoresV2

NewRiskAuditScoresV2WithDefaults instantiates a new RiskAuditScoresV2 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 (*RiskAuditScoresV2) GetConversation

func (o *RiskAuditScoresV2) GetConversation() RiskAuditConversationScoresV2

GetConversation returns the Conversation field value

func (*RiskAuditScoresV2) GetConversationOk

func (o *RiskAuditScoresV2) GetConversationOk() (*RiskAuditConversationScoresV2, bool)

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

func (*RiskAuditScoresV2) GetPerParticipant

func (o *RiskAuditScoresV2) GetPerParticipant() map[string]interface{}

GetPerParticipant returns the PerParticipant field value if set, zero value otherwise.

func (*RiskAuditScoresV2) GetPerParticipantOk

func (o *RiskAuditScoresV2) GetPerParticipantOk() (map[string]interface{}, bool)

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

func (*RiskAuditScoresV2) HasPerParticipant

func (o *RiskAuditScoresV2) HasPerParticipant() bool

HasPerParticipant returns a boolean if a field has been set.

func (RiskAuditScoresV2) MarshalJSON

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

func (*RiskAuditScoresV2) SetConversation

func (o *RiskAuditScoresV2) SetConversation(v RiskAuditConversationScoresV2)

SetConversation sets field value

func (*RiskAuditScoresV2) SetPerParticipant

func (o *RiskAuditScoresV2) SetPerParticipant(v map[string]interface{})

SetPerParticipant gets a reference to the given map[string]interface{} and assigns it to the PerParticipant field.

func (RiskAuditScoresV2) ToMap

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

func (*RiskAuditScoresV2) UnmarshalJSON

func (o *RiskAuditScoresV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditScoringExplanationV2

type RiskAuditScoringExplanationV2 struct {
	// Explanation summary
	Summary *string `json:"summary,omitempty"`
	// Explanation steps
	Steps []interface{} `json:"steps,omitempty"`
}

RiskAuditScoringExplanationV2 struct for RiskAuditScoringExplanationV2

func NewRiskAuditScoringExplanationV2

func NewRiskAuditScoringExplanationV2() *RiskAuditScoringExplanationV2

NewRiskAuditScoringExplanationV2 instantiates a new RiskAuditScoringExplanationV2 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 NewRiskAuditScoringExplanationV2WithDefaults

func NewRiskAuditScoringExplanationV2WithDefaults() *RiskAuditScoringExplanationV2

NewRiskAuditScoringExplanationV2WithDefaults instantiates a new RiskAuditScoringExplanationV2 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 (*RiskAuditScoringExplanationV2) GetSteps

func (o *RiskAuditScoringExplanationV2) GetSteps() []interface{}

GetSteps returns the Steps field value if set, zero value otherwise.

func (*RiskAuditScoringExplanationV2) GetStepsOk

func (o *RiskAuditScoringExplanationV2) GetStepsOk() ([]interface{}, bool)

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

func (*RiskAuditScoringExplanationV2) GetSummary

func (o *RiskAuditScoringExplanationV2) GetSummary() string

GetSummary returns the Summary field value if set, zero value otherwise.

func (*RiskAuditScoringExplanationV2) GetSummaryOk

func (o *RiskAuditScoringExplanationV2) GetSummaryOk() (*string, bool)

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

func (*RiskAuditScoringExplanationV2) HasSteps

func (o *RiskAuditScoringExplanationV2) HasSteps() bool

HasSteps returns a boolean if a field has been set.

func (*RiskAuditScoringExplanationV2) HasSummary

func (o *RiskAuditScoringExplanationV2) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (RiskAuditScoringExplanationV2) MarshalJSON

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

func (*RiskAuditScoringExplanationV2) SetSteps

func (o *RiskAuditScoringExplanationV2) SetSteps(v []interface{})

SetSteps gets a reference to the given []interface{} and assigns it to the Steps field.

func (*RiskAuditScoringExplanationV2) SetSummary

func (o *RiskAuditScoringExplanationV2) SetSummary(v string)

SetSummary gets a reference to the given string and assigns it to the Summary field.

func (RiskAuditScoringExplanationV2) ToMap

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

type RiskAuditSummaryV2

type RiskAuditSummaryV2 struct {
	// Total turns
	TotalTurns *int32 `json:"total_turns,omitempty"`
	// Total calibrated detections
	TotalCalibrated *int32 `json:"total_calibrated,omitempty"`
	// Active detections
	Active *int32 `json:"active,omitempty"`
	// Tolerated detections
	Tolerated *int32 `json:"tolerated,omitempty"`
	// Blocked detections
	Blocked *int32 `json:"blocked,omitempty"`
	// Audio events used
	AudioEventsUsed *int32 `json:"audio_events_used,omitempty"`
	// Audio events aggravated
	AudioEventsAggravated *int32 `json:"audio_events_aggravated,omitempty"`
	// Total participants
	TotalParticipants *int32 `json:"total_participants,omitempty"`
	// Total agents
	TotalAgents *int32 `json:"total_agents,omitempty"`
	// Total clients
	TotalClients *int32 `json:"total_clients,omitempty"`
	// Total bots
	TotalBots *int32 `json:"total_bots,omitempty"`
	// Total unknown
	TotalUnknown *int32 `json:"total_unknown,omitempty"`
	// Client risk alerts count
	ClientRiskAlertsCount *int32 `json:"client_risk_alerts_count,omitempty"`
	// Client behavior alerts count
	ClientBehaviorAlertsCount *int32 `json:"client_behavior_alerts_count,omitempty"`
}

RiskAuditSummaryV2 struct for RiskAuditSummaryV2

func NewRiskAuditSummaryV2

func NewRiskAuditSummaryV2() *RiskAuditSummaryV2

NewRiskAuditSummaryV2 instantiates a new RiskAuditSummaryV2 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 NewRiskAuditSummaryV2WithDefaults

func NewRiskAuditSummaryV2WithDefaults() *RiskAuditSummaryV2

NewRiskAuditSummaryV2WithDefaults instantiates a new RiskAuditSummaryV2 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 (*RiskAuditSummaryV2) GetActive

func (o *RiskAuditSummaryV2) GetActive() int32

GetActive returns the Active field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetActiveOk

func (o *RiskAuditSummaryV2) GetActiveOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetAudioEventsAggravated

func (o *RiskAuditSummaryV2) GetAudioEventsAggravated() int32

GetAudioEventsAggravated returns the AudioEventsAggravated field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetAudioEventsAggravatedOk

func (o *RiskAuditSummaryV2) GetAudioEventsAggravatedOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetAudioEventsUsed

func (o *RiskAuditSummaryV2) GetAudioEventsUsed() int32

GetAudioEventsUsed returns the AudioEventsUsed field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetAudioEventsUsedOk

func (o *RiskAuditSummaryV2) GetAudioEventsUsedOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetBlocked

func (o *RiskAuditSummaryV2) GetBlocked() int32

GetBlocked returns the Blocked field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetBlockedOk

func (o *RiskAuditSummaryV2) GetBlockedOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetClientBehaviorAlertsCount

func (o *RiskAuditSummaryV2) GetClientBehaviorAlertsCount() int32

GetClientBehaviorAlertsCount returns the ClientBehaviorAlertsCount field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetClientBehaviorAlertsCountOk

func (o *RiskAuditSummaryV2) GetClientBehaviorAlertsCountOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetClientRiskAlertsCount

func (o *RiskAuditSummaryV2) GetClientRiskAlertsCount() int32

GetClientRiskAlertsCount returns the ClientRiskAlertsCount field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetClientRiskAlertsCountOk

func (o *RiskAuditSummaryV2) GetClientRiskAlertsCountOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetTolerated

func (o *RiskAuditSummaryV2) GetTolerated() int32

GetTolerated returns the Tolerated field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetToleratedOk

func (o *RiskAuditSummaryV2) GetToleratedOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetTotalAgents

func (o *RiskAuditSummaryV2) GetTotalAgents() int32

GetTotalAgents returns the TotalAgents field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetTotalAgentsOk

func (o *RiskAuditSummaryV2) GetTotalAgentsOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetTotalBots

func (o *RiskAuditSummaryV2) GetTotalBots() int32

GetTotalBots returns the TotalBots field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetTotalBotsOk

func (o *RiskAuditSummaryV2) GetTotalBotsOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetTotalCalibrated

func (o *RiskAuditSummaryV2) GetTotalCalibrated() int32

GetTotalCalibrated returns the TotalCalibrated field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetTotalCalibratedOk

func (o *RiskAuditSummaryV2) GetTotalCalibratedOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetTotalClients

func (o *RiskAuditSummaryV2) GetTotalClients() int32

GetTotalClients returns the TotalClients field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetTotalClientsOk

func (o *RiskAuditSummaryV2) GetTotalClientsOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetTotalParticipants

func (o *RiskAuditSummaryV2) GetTotalParticipants() int32

GetTotalParticipants returns the TotalParticipants field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetTotalParticipantsOk

func (o *RiskAuditSummaryV2) GetTotalParticipantsOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetTotalTurns

func (o *RiskAuditSummaryV2) GetTotalTurns() int32

GetTotalTurns returns the TotalTurns field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetTotalTurnsOk

func (o *RiskAuditSummaryV2) GetTotalTurnsOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) GetTotalUnknown

func (o *RiskAuditSummaryV2) GetTotalUnknown() int32

GetTotalUnknown returns the TotalUnknown field value if set, zero value otherwise.

func (*RiskAuditSummaryV2) GetTotalUnknownOk

func (o *RiskAuditSummaryV2) GetTotalUnknownOk() (*int32, bool)

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

func (*RiskAuditSummaryV2) HasActive

func (o *RiskAuditSummaryV2) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasAudioEventsAggravated

func (o *RiskAuditSummaryV2) HasAudioEventsAggravated() bool

HasAudioEventsAggravated returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasAudioEventsUsed

func (o *RiskAuditSummaryV2) HasAudioEventsUsed() bool

HasAudioEventsUsed returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasBlocked

func (o *RiskAuditSummaryV2) HasBlocked() bool

HasBlocked returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasClientBehaviorAlertsCount

func (o *RiskAuditSummaryV2) HasClientBehaviorAlertsCount() bool

HasClientBehaviorAlertsCount returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasClientRiskAlertsCount

func (o *RiskAuditSummaryV2) HasClientRiskAlertsCount() bool

HasClientRiskAlertsCount returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasTolerated

func (o *RiskAuditSummaryV2) HasTolerated() bool

HasTolerated returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasTotalAgents

func (o *RiskAuditSummaryV2) HasTotalAgents() bool

HasTotalAgents returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasTotalBots

func (o *RiskAuditSummaryV2) HasTotalBots() bool

HasTotalBots returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasTotalCalibrated

func (o *RiskAuditSummaryV2) HasTotalCalibrated() bool

HasTotalCalibrated returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasTotalClients

func (o *RiskAuditSummaryV2) HasTotalClients() bool

HasTotalClients returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasTotalParticipants

func (o *RiskAuditSummaryV2) HasTotalParticipants() bool

HasTotalParticipants returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasTotalTurns

func (o *RiskAuditSummaryV2) HasTotalTurns() bool

HasTotalTurns returns a boolean if a field has been set.

func (*RiskAuditSummaryV2) HasTotalUnknown

func (o *RiskAuditSummaryV2) HasTotalUnknown() bool

HasTotalUnknown returns a boolean if a field has been set.

func (RiskAuditSummaryV2) MarshalJSON

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

func (*RiskAuditSummaryV2) SetActive

func (o *RiskAuditSummaryV2) SetActive(v int32)

SetActive gets a reference to the given int32 and assigns it to the Active field.

func (*RiskAuditSummaryV2) SetAudioEventsAggravated

func (o *RiskAuditSummaryV2) SetAudioEventsAggravated(v int32)

SetAudioEventsAggravated gets a reference to the given int32 and assigns it to the AudioEventsAggravated field.

func (*RiskAuditSummaryV2) SetAudioEventsUsed

func (o *RiskAuditSummaryV2) SetAudioEventsUsed(v int32)

SetAudioEventsUsed gets a reference to the given int32 and assigns it to the AudioEventsUsed field.

func (*RiskAuditSummaryV2) SetBlocked

func (o *RiskAuditSummaryV2) SetBlocked(v int32)

SetBlocked gets a reference to the given int32 and assigns it to the Blocked field.

func (*RiskAuditSummaryV2) SetClientBehaviorAlertsCount

func (o *RiskAuditSummaryV2) SetClientBehaviorAlertsCount(v int32)

SetClientBehaviorAlertsCount gets a reference to the given int32 and assigns it to the ClientBehaviorAlertsCount field.

func (*RiskAuditSummaryV2) SetClientRiskAlertsCount

func (o *RiskAuditSummaryV2) SetClientRiskAlertsCount(v int32)

SetClientRiskAlertsCount gets a reference to the given int32 and assigns it to the ClientRiskAlertsCount field.

func (*RiskAuditSummaryV2) SetTolerated

func (o *RiskAuditSummaryV2) SetTolerated(v int32)

SetTolerated gets a reference to the given int32 and assigns it to the Tolerated field.

func (*RiskAuditSummaryV2) SetTotalAgents

func (o *RiskAuditSummaryV2) SetTotalAgents(v int32)

SetTotalAgents gets a reference to the given int32 and assigns it to the TotalAgents field.

func (*RiskAuditSummaryV2) SetTotalBots

func (o *RiskAuditSummaryV2) SetTotalBots(v int32)

SetTotalBots gets a reference to the given int32 and assigns it to the TotalBots field.

func (*RiskAuditSummaryV2) SetTotalCalibrated

func (o *RiskAuditSummaryV2) SetTotalCalibrated(v int32)

SetTotalCalibrated gets a reference to the given int32 and assigns it to the TotalCalibrated field.

func (*RiskAuditSummaryV2) SetTotalClients

func (o *RiskAuditSummaryV2) SetTotalClients(v int32)

SetTotalClients gets a reference to the given int32 and assigns it to the TotalClients field.

func (*RiskAuditSummaryV2) SetTotalParticipants

func (o *RiskAuditSummaryV2) SetTotalParticipants(v int32)

SetTotalParticipants gets a reference to the given int32 and assigns it to the TotalParticipants field.

func (*RiskAuditSummaryV2) SetTotalTurns

func (o *RiskAuditSummaryV2) SetTotalTurns(v int32)

SetTotalTurns gets a reference to the given int32 and assigns it to the TotalTurns field.

func (*RiskAuditSummaryV2) SetTotalUnknown

func (o *RiskAuditSummaryV2) SetTotalUnknown(v int32)

SetTotalUnknown gets a reference to the given int32 and assigns it to the TotalUnknown field.

func (RiskAuditSummaryV2) ToMap

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

type RiskAuditTimelineV2

type RiskAuditTimelineV2 struct {
	// Per-turn sentiment
	TurnsSentiment []map[string]interface{} `json:"turns_sentiment,omitempty"`
	// Audio events (i18n)
	AudioEvents []map[string]interface{} `json:"audio_events,omitempty"`
	// Audio groups found
	AudioGroupsFound     []map[string]interface{} `json:"audio_groups_found,omitempty"`
	AdditionalProperties map[string]interface{}
}

RiskAuditTimelineV2 struct for RiskAuditTimelineV2

func NewRiskAuditTimelineV2

func NewRiskAuditTimelineV2() *RiskAuditTimelineV2

NewRiskAuditTimelineV2 instantiates a new RiskAuditTimelineV2 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 NewRiskAuditTimelineV2WithDefaults

func NewRiskAuditTimelineV2WithDefaults() *RiskAuditTimelineV2

NewRiskAuditTimelineV2WithDefaults instantiates a new RiskAuditTimelineV2 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 (*RiskAuditTimelineV2) GetAudioEvents

func (o *RiskAuditTimelineV2) GetAudioEvents() []map[string]interface{}

GetAudioEvents returns the AudioEvents field value if set, zero value otherwise.

func (*RiskAuditTimelineV2) GetAudioEventsOk

func (o *RiskAuditTimelineV2) GetAudioEventsOk() ([]map[string]interface{}, bool)

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

func (*RiskAuditTimelineV2) GetAudioGroupsFound

func (o *RiskAuditTimelineV2) GetAudioGroupsFound() []map[string]interface{}

GetAudioGroupsFound returns the AudioGroupsFound field value if set, zero value otherwise.

func (*RiskAuditTimelineV2) GetAudioGroupsFoundOk

func (o *RiskAuditTimelineV2) GetAudioGroupsFoundOk() ([]map[string]interface{}, bool)

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

func (*RiskAuditTimelineV2) GetTurnsSentiment

func (o *RiskAuditTimelineV2) GetTurnsSentiment() []map[string]interface{}

GetTurnsSentiment returns the TurnsSentiment field value if set, zero value otherwise.

func (*RiskAuditTimelineV2) GetTurnsSentimentOk

func (o *RiskAuditTimelineV2) GetTurnsSentimentOk() ([]map[string]interface{}, bool)

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

func (*RiskAuditTimelineV2) HasAudioEvents

func (o *RiskAuditTimelineV2) HasAudioEvents() bool

HasAudioEvents returns a boolean if a field has been set.

func (*RiskAuditTimelineV2) HasAudioGroupsFound

func (o *RiskAuditTimelineV2) HasAudioGroupsFound() bool

HasAudioGroupsFound returns a boolean if a field has been set.

func (*RiskAuditTimelineV2) HasTurnsSentiment

func (o *RiskAuditTimelineV2) HasTurnsSentiment() bool

HasTurnsSentiment returns a boolean if a field has been set.

func (RiskAuditTimelineV2) MarshalJSON

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

func (*RiskAuditTimelineV2) SetAudioEvents

func (o *RiskAuditTimelineV2) SetAudioEvents(v []map[string]interface{})

SetAudioEvents gets a reference to the given []map[string]interface{} and assigns it to the AudioEvents field.

func (*RiskAuditTimelineV2) SetAudioGroupsFound

func (o *RiskAuditTimelineV2) SetAudioGroupsFound(v []map[string]interface{})

SetAudioGroupsFound gets a reference to the given []map[string]interface{} and assigns it to the AudioGroupsFound field.

func (*RiskAuditTimelineV2) SetTurnsSentiment

func (o *RiskAuditTimelineV2) SetTurnsSentiment(v []map[string]interface{})

SetTurnsSentiment gets a reference to the given []map[string]interface{} and assigns it to the TurnsSentiment field.

func (RiskAuditTimelineV2) ToMap

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

func (*RiskAuditTimelineV2) UnmarshalJSON

func (o *RiskAuditTimelineV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditUsageV2

type RiskAuditUsageV2 struct {
	// Characters analyzed
	Characters int32 `json:"characters"`
	// Credits consumed
	CreditsConsumed float32 `json:"credits_consumed"`
	// Processing time (ms)
	ProcessingMs int32 `json:"processing_ms"`
}

RiskAuditUsageV2 struct for RiskAuditUsageV2

func NewRiskAuditUsageV2

func NewRiskAuditUsageV2(characters int32, creditsConsumed float32, processingMs int32) *RiskAuditUsageV2

NewRiskAuditUsageV2 instantiates a new RiskAuditUsageV2 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 NewRiskAuditUsageV2WithDefaults

func NewRiskAuditUsageV2WithDefaults() *RiskAuditUsageV2

NewRiskAuditUsageV2WithDefaults instantiates a new RiskAuditUsageV2 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 (*RiskAuditUsageV2) GetCharacters

func (o *RiskAuditUsageV2) GetCharacters() int32

GetCharacters returns the Characters field value

func (*RiskAuditUsageV2) GetCharactersOk

func (o *RiskAuditUsageV2) GetCharactersOk() (*int32, bool)

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

func (*RiskAuditUsageV2) GetCreditsConsumed

func (o *RiskAuditUsageV2) GetCreditsConsumed() float32

GetCreditsConsumed returns the CreditsConsumed field value

func (*RiskAuditUsageV2) GetCreditsConsumedOk

func (o *RiskAuditUsageV2) GetCreditsConsumedOk() (*float32, bool)

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

func (*RiskAuditUsageV2) GetProcessingMs

func (o *RiskAuditUsageV2) GetProcessingMs() int32

GetProcessingMs returns the ProcessingMs field value

func (*RiskAuditUsageV2) GetProcessingMsOk

func (o *RiskAuditUsageV2) GetProcessingMsOk() (*int32, bool)

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

func (RiskAuditUsageV2) MarshalJSON

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

func (*RiskAuditUsageV2) SetCharacters

func (o *RiskAuditUsageV2) SetCharacters(v int32)

SetCharacters sets field value

func (*RiskAuditUsageV2) SetCreditsConsumed

func (o *RiskAuditUsageV2) SetCreditsConsumed(v float32)

SetCreditsConsumed sets field value

func (*RiskAuditUsageV2) SetProcessingMs

func (o *RiskAuditUsageV2) SetProcessingMs(v int32)

SetProcessingMs sets field value

func (RiskAuditUsageV2) ToMap

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

func (*RiskAuditUsageV2) UnmarshalJSON

func (o *RiskAuditUsageV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditV2

type RiskAuditV2 struct {
	// Identification + usage
	Meta RiskAuditMetaV2 `json:"meta"`
	// Participants/roles/direction
	Participants RiskAuditParticipantsV2 `json:"participants"`
	// Verdict + level + applied actions
	Verdict RiskAuditVerdictV2 `json:"verdict"`
	// Consolidated + per-participant scores
	Scores RiskAuditScoresV2 `json:"scores"`
	// violations/positives/client alerts
	Detections RiskAuditDetectionsV2 `json:"detections"`
	// global_metrics + final_analysis + frameworks
	Analysis RiskAuditAnalysisV2 `json:"analysis"`
	// turns_sentiment + audio_events + groups
	Timeline RiskAuditTimelineV2 `json:"timeline"`
	// MAC audio event semantics
	AudioEventModel RiskAuditAudioEventModelV2 `json:"audio_event_model"`
	// Per-category summary (keyed by category)
	CategoriesSummary map[string]interface{} `json:"categories_summary"`
	// Suggested terms for bank
	Indexer RiskAuditIndexerV2 `json:"indexer"`
	// Executive summary counts
	Summary RiskAuditSummaryV2 `json:"summary"`
	// Used actions i18n catalog (keyed by action)
	ActionsI18n map[string]interface{} `json:"actions_i18n"`
	// Risk origin + validator changes
	AuditDecisions RiskAuditAuditDecisionsV2 `json:"audit_decisions"`
	// Score composition explanation
	ScoringExplanation RiskAuditScoringExplanationV2 `json:"scoring_explanation"`
	// HTML report (base64 gzip)
	HtmlReport           string `json:"html_report"`
	AdditionalProperties map[string]interface{}
}

RiskAuditV2 Response V2 (build_public_response_v2) — blocos logicos EN-US. Fonte: response_builder.py.

func NewRiskAuditV2

func NewRiskAuditV2(meta RiskAuditMetaV2, participants RiskAuditParticipantsV2, verdict RiskAuditVerdictV2, scores RiskAuditScoresV2, detections RiskAuditDetectionsV2, analysis RiskAuditAnalysisV2, timeline RiskAuditTimelineV2, audioEventModel RiskAuditAudioEventModelV2, categoriesSummary map[string]interface{}, indexer RiskAuditIndexerV2, summary RiskAuditSummaryV2, actionsI18n map[string]interface{}, auditDecisions RiskAuditAuditDecisionsV2, scoringExplanation RiskAuditScoringExplanationV2, htmlReport string) *RiskAuditV2

NewRiskAuditV2 instantiates a new RiskAuditV2 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 NewRiskAuditV2WithDefaults

func NewRiskAuditV2WithDefaults() *RiskAuditV2

NewRiskAuditV2WithDefaults instantiates a new RiskAuditV2 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 (*RiskAuditV2) GetActionsI18n

func (o *RiskAuditV2) GetActionsI18n() map[string]interface{}

GetActionsI18n returns the ActionsI18n field value

func (*RiskAuditV2) GetActionsI18nOk

func (o *RiskAuditV2) GetActionsI18nOk() (map[string]interface{}, bool)

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

func (*RiskAuditV2) GetAnalysis

func (o *RiskAuditV2) GetAnalysis() RiskAuditAnalysisV2

GetAnalysis returns the Analysis field value

func (*RiskAuditV2) GetAnalysisOk

func (o *RiskAuditV2) GetAnalysisOk() (*RiskAuditAnalysisV2, bool)

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

func (*RiskAuditV2) GetAudioEventModel

func (o *RiskAuditV2) GetAudioEventModel() RiskAuditAudioEventModelV2

GetAudioEventModel returns the AudioEventModel field value

func (*RiskAuditV2) GetAudioEventModelOk

func (o *RiskAuditV2) GetAudioEventModelOk() (*RiskAuditAudioEventModelV2, bool)

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

func (*RiskAuditV2) GetAuditDecisions

func (o *RiskAuditV2) GetAuditDecisions() RiskAuditAuditDecisionsV2

GetAuditDecisions returns the AuditDecisions field value

func (*RiskAuditV2) GetAuditDecisionsOk

func (o *RiskAuditV2) GetAuditDecisionsOk() (*RiskAuditAuditDecisionsV2, bool)

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

func (*RiskAuditV2) GetCategoriesSummary

func (o *RiskAuditV2) GetCategoriesSummary() map[string]interface{}

GetCategoriesSummary returns the CategoriesSummary field value

func (*RiskAuditV2) GetCategoriesSummaryOk

func (o *RiskAuditV2) GetCategoriesSummaryOk() (map[string]interface{}, bool)

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

func (*RiskAuditV2) GetDetections

func (o *RiskAuditV2) GetDetections() RiskAuditDetectionsV2

GetDetections returns the Detections field value

func (*RiskAuditV2) GetDetectionsOk

func (o *RiskAuditV2) GetDetectionsOk() (*RiskAuditDetectionsV2, bool)

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

func (*RiskAuditV2) GetHtmlReport

func (o *RiskAuditV2) GetHtmlReport() string

GetHtmlReport returns the HtmlReport field value

func (*RiskAuditV2) GetHtmlReportOk

func (o *RiskAuditV2) GetHtmlReportOk() (*string, bool)

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

func (*RiskAuditV2) GetIndexer

func (o *RiskAuditV2) GetIndexer() RiskAuditIndexerV2

GetIndexer returns the Indexer field value

func (*RiskAuditV2) GetIndexerOk

func (o *RiskAuditV2) GetIndexerOk() (*RiskAuditIndexerV2, bool)

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

func (*RiskAuditV2) GetMeta

func (o *RiskAuditV2) GetMeta() RiskAuditMetaV2

GetMeta returns the Meta field value

func (*RiskAuditV2) GetMetaOk

func (o *RiskAuditV2) GetMetaOk() (*RiskAuditMetaV2, bool)

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

func (*RiskAuditV2) GetParticipants

func (o *RiskAuditV2) GetParticipants() RiskAuditParticipantsV2

GetParticipants returns the Participants field value

func (*RiskAuditV2) GetParticipantsOk

func (o *RiskAuditV2) GetParticipantsOk() (*RiskAuditParticipantsV2, bool)

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

func (*RiskAuditV2) GetScores

func (o *RiskAuditV2) GetScores() RiskAuditScoresV2

GetScores returns the Scores field value

func (*RiskAuditV2) GetScoresOk

func (o *RiskAuditV2) GetScoresOk() (*RiskAuditScoresV2, bool)

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

func (*RiskAuditV2) GetScoringExplanation

func (o *RiskAuditV2) GetScoringExplanation() RiskAuditScoringExplanationV2

GetScoringExplanation returns the ScoringExplanation field value

func (*RiskAuditV2) GetScoringExplanationOk

func (o *RiskAuditV2) GetScoringExplanationOk() (*RiskAuditScoringExplanationV2, bool)

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

func (*RiskAuditV2) GetSummary

func (o *RiskAuditV2) GetSummary() RiskAuditSummaryV2

GetSummary returns the Summary field value

func (*RiskAuditV2) GetSummaryOk

func (o *RiskAuditV2) GetSummaryOk() (*RiskAuditSummaryV2, bool)

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

func (*RiskAuditV2) GetTimeline

func (o *RiskAuditV2) GetTimeline() RiskAuditTimelineV2

GetTimeline returns the Timeline field value

func (*RiskAuditV2) GetTimelineOk

func (o *RiskAuditV2) GetTimelineOk() (*RiskAuditTimelineV2, bool)

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

func (*RiskAuditV2) GetVerdict

func (o *RiskAuditV2) GetVerdict() RiskAuditVerdictV2

GetVerdict returns the Verdict field value

func (*RiskAuditV2) GetVerdictOk

func (o *RiskAuditV2) GetVerdictOk() (*RiskAuditVerdictV2, bool)

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

func (RiskAuditV2) MarshalJSON

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

func (*RiskAuditV2) SetActionsI18n

func (o *RiskAuditV2) SetActionsI18n(v map[string]interface{})

SetActionsI18n sets field value

func (*RiskAuditV2) SetAnalysis

func (o *RiskAuditV2) SetAnalysis(v RiskAuditAnalysisV2)

SetAnalysis sets field value

func (*RiskAuditV2) SetAudioEventModel

func (o *RiskAuditV2) SetAudioEventModel(v RiskAuditAudioEventModelV2)

SetAudioEventModel sets field value

func (*RiskAuditV2) SetAuditDecisions

func (o *RiskAuditV2) SetAuditDecisions(v RiskAuditAuditDecisionsV2)

SetAuditDecisions sets field value

func (*RiskAuditV2) SetCategoriesSummary

func (o *RiskAuditV2) SetCategoriesSummary(v map[string]interface{})

SetCategoriesSummary sets field value

func (*RiskAuditV2) SetDetections

func (o *RiskAuditV2) SetDetections(v RiskAuditDetectionsV2)

SetDetections sets field value

func (*RiskAuditV2) SetHtmlReport

func (o *RiskAuditV2) SetHtmlReport(v string)

SetHtmlReport sets field value

func (*RiskAuditV2) SetIndexer

func (o *RiskAuditV2) SetIndexer(v RiskAuditIndexerV2)

SetIndexer sets field value

func (*RiskAuditV2) SetMeta

func (o *RiskAuditV2) SetMeta(v RiskAuditMetaV2)

SetMeta sets field value

func (*RiskAuditV2) SetParticipants

func (o *RiskAuditV2) SetParticipants(v RiskAuditParticipantsV2)

SetParticipants sets field value

func (*RiskAuditV2) SetScores

func (o *RiskAuditV2) SetScores(v RiskAuditScoresV2)

SetScores sets field value

func (*RiskAuditV2) SetScoringExplanation

func (o *RiskAuditV2) SetScoringExplanation(v RiskAuditScoringExplanationV2)

SetScoringExplanation sets field value

func (*RiskAuditV2) SetSummary

func (o *RiskAuditV2) SetSummary(v RiskAuditSummaryV2)

SetSummary sets field value

func (*RiskAuditV2) SetTimeline

func (o *RiskAuditV2) SetTimeline(v RiskAuditTimelineV2)

SetTimeline sets field value

func (*RiskAuditV2) SetVerdict

func (o *RiskAuditV2) SetVerdict(v RiskAuditVerdictV2)

SetVerdict sets field value

func (RiskAuditV2) ToMap

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

func (*RiskAuditV2) UnmarshalJSON

func (o *RiskAuditV2) UnmarshalJSON(data []byte) (err error)

type RiskAuditV2Response

type RiskAuditV2Response struct {
	// Public response V2 — always returned
	Response RiskAuditV2 `json:"response"`
}

RiskAuditV2Response struct for RiskAuditV2Response

func NewRiskAuditV2Response

func NewRiskAuditV2Response(response RiskAuditV2) *RiskAuditV2Response

NewRiskAuditV2Response instantiates a new RiskAuditV2Response 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 NewRiskAuditV2ResponseWithDefaults

func NewRiskAuditV2ResponseWithDefaults() *RiskAuditV2Response

NewRiskAuditV2ResponseWithDefaults instantiates a new RiskAuditV2Response 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 (*RiskAuditV2Response) GetResponse

func (o *RiskAuditV2Response) GetResponse() RiskAuditV2

GetResponse returns the Response field value

func (*RiskAuditV2Response) GetResponseOk

func (o *RiskAuditV2Response) GetResponseOk() (*RiskAuditV2, bool)

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

func (RiskAuditV2Response) MarshalJSON

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

func (*RiskAuditV2Response) SetResponse

func (o *RiskAuditV2Response) SetResponse(v RiskAuditV2)

SetResponse sets field value

func (RiskAuditV2Response) ToMap

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

func (*RiskAuditV2Response) UnmarshalJSON

func (o *RiskAuditV2Response) UnmarshalJSON(data []byte) (err error)

type RiskAuditVerdictV2

type RiskAuditVerdictV2 struct {
	// Human-readable verdict
	Label *string `json:"label,omitempty"`
	// Classification level code
	LevelCode *string `json:"level_code,omitempty"`
	// Risk matrix
	RiskMatrix map[string]interface{} `json:"risk_matrix,omitempty"`
	// Applied actions
	AppliedActions       []RiskAuditAppliedActionV2 `json:"applied_actions,omitempty"`
	AdditionalProperties map[string]interface{}
}

RiskAuditVerdictV2 struct for RiskAuditVerdictV2

func NewRiskAuditVerdictV2

func NewRiskAuditVerdictV2() *RiskAuditVerdictV2

NewRiskAuditVerdictV2 instantiates a new RiskAuditVerdictV2 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 NewRiskAuditVerdictV2WithDefaults

func NewRiskAuditVerdictV2WithDefaults() *RiskAuditVerdictV2

NewRiskAuditVerdictV2WithDefaults instantiates a new RiskAuditVerdictV2 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 (*RiskAuditVerdictV2) GetAppliedActions

func (o *RiskAuditVerdictV2) GetAppliedActions() []RiskAuditAppliedActionV2

GetAppliedActions returns the AppliedActions field value if set, zero value otherwise.

func (*RiskAuditVerdictV2) GetAppliedActionsOk

func (o *RiskAuditVerdictV2) GetAppliedActionsOk() ([]RiskAuditAppliedActionV2, bool)

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

func (*RiskAuditVerdictV2) GetLabel

func (o *RiskAuditVerdictV2) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*RiskAuditVerdictV2) GetLabelOk

func (o *RiskAuditVerdictV2) GetLabelOk() (*string, bool)

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

func (*RiskAuditVerdictV2) GetLevelCode

func (o *RiskAuditVerdictV2) GetLevelCode() string

GetLevelCode returns the LevelCode field value if set, zero value otherwise.

func (*RiskAuditVerdictV2) GetLevelCodeOk

func (o *RiskAuditVerdictV2) GetLevelCodeOk() (*string, bool)

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

func (*RiskAuditVerdictV2) GetRiskMatrix

func (o *RiskAuditVerdictV2) GetRiskMatrix() map[string]interface{}

GetRiskMatrix returns the RiskMatrix field value if set, zero value otherwise.

func (*RiskAuditVerdictV2) GetRiskMatrixOk

func (o *RiskAuditVerdictV2) GetRiskMatrixOk() (map[string]interface{}, bool)

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

func (*RiskAuditVerdictV2) HasAppliedActions

func (o *RiskAuditVerdictV2) HasAppliedActions() bool

HasAppliedActions returns a boolean if a field has been set.

func (*RiskAuditVerdictV2) HasLabel

func (o *RiskAuditVerdictV2) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*RiskAuditVerdictV2) HasLevelCode

func (o *RiskAuditVerdictV2) HasLevelCode() bool

HasLevelCode returns a boolean if a field has been set.

func (*RiskAuditVerdictV2) HasRiskMatrix

func (o *RiskAuditVerdictV2) HasRiskMatrix() bool

HasRiskMatrix returns a boolean if a field has been set.

func (RiskAuditVerdictV2) MarshalJSON

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

func (*RiskAuditVerdictV2) SetAppliedActions

func (o *RiskAuditVerdictV2) SetAppliedActions(v []RiskAuditAppliedActionV2)

SetAppliedActions gets a reference to the given []RiskAuditAppliedActionV2 and assigns it to the AppliedActions field.

func (*RiskAuditVerdictV2) SetLabel

func (o *RiskAuditVerdictV2) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*RiskAuditVerdictV2) SetLevelCode

func (o *RiskAuditVerdictV2) SetLevelCode(v string)

SetLevelCode gets a reference to the given string and assigns it to the LevelCode field.

func (*RiskAuditVerdictV2) SetRiskMatrix

func (o *RiskAuditVerdictV2) SetRiskMatrix(v map[string]interface{})

SetRiskMatrix gets a reference to the given map[string]interface{} and assigns it to the RiskMatrix field.

func (RiskAuditVerdictV2) ToMap

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

func (*RiskAuditVerdictV2) UnmarshalJSON

func (o *RiskAuditVerdictV2) UnmarshalJSON(data []byte) (err error)

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 SpeechAPIService

type SpeechAPIService service

SpeechAPIService SpeechAPI service

func (*SpeechAPIService) CreateTranscriptionV1AudioTranscriptionsPost

func (a *SpeechAPIService) CreateTranscriptionV1AudioTranscriptionsPost(ctx context.Context) ApiCreateTranscriptionV1AudioTranscriptionsPostRequest

CreateTranscriptionV1AudioTranscriptionsPost Transcribe audio to text

Transcribes one uploaded audio file into text with speaker diarization and timestamped audio events (laughs, sighs, pauses), returning the full transcript, a turn-by-turn dialog with speaker labels and start/end timestamps, the detected events and the word count. Use it when a recording must become text for analysis, review or storage of the transcript. The required file field takes a single audio upload limited to 1GB and 3 hours, with accepted MIME types audio/mpeg, audio/mp3, audio/mp4, audio/m4a, audio/wav, audio/wave, audio/x-wav, audio/flac, audio/x-flac, audio/ogg, audio/opus, video/ogg, audio/webm, video/webm, audio/aac and audio/x-aac. model is optional and defaults to falaai-transcribe-1, the only supported value; language is an optional two-letter code (pt, en, es, fr, de, it, ja, ko, nl, pl, ru, tr, zh, vi, id, th, ar, hi, cs, da, el, fi, he, hu, ms, no, ro, sk, sv, ta, uk) that forces the audio language and is auto-detected when omitted; client_reference_id is optional, charset A-Za-z0-9 space _/:.- up to 60 chars, echoed verbatim (not idempotency). Billing is 1 credit per second of processed audio with a minimum of 10 credits per request, rounded to 2 decimals; usage reports credits_consumed and processing_ms. Stateless: the audio is processed in memory and never persisted (LGPD). Returns id (tr-), language, language_confidence, duration_seconds, text, dialog, audio_events, event_types, word_count and input metadata (duration, format, codec, sample rate, channels).

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

func (*SpeechAPIService) CreateTranscriptionV1AudioTranscriptionsPostExecute

func (a *SpeechAPIService) CreateTranscriptionV1AudioTranscriptionsPostExecute(r ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) (*TranscriptionResponse, *http.Response, error)

Execute executes the request

@return TranscriptionResponse

type TranscriptionParams

type TranscriptionParams struct {
	File              *os.File // obrigatorio - audio (o nome do arquivo vai no formulario)
	Model             string   // obrigatorio - ex.: falaai-transcribe-1
	Language          string   // obrigatorio - ex.: pt
	ClientReferenceID string   // opcional - correlacao
}

TranscriptionParams - parametros da transcricao (multipart/form-data).

type TranscriptionResponse

type TranscriptionResponse struct {
	// Unique transcription identifier. Prefix 'tr-' followed by UUID
	Id string `json:"id"`
	// Returned object type. Always 'transcription'
	Object string `json:"object"`
	// Model used for transcription. Ex: 'falaai-transcribe-1'
	Model string `json:"model"`
	// Original audio file name uploaded
	Filename string `json:"filename"`
	// Processing datetime in ISO 8601 UTC format
	ProcessedAt string `json:"processed_at"`
	// Usage and processing information
	Usage TranscriptionUsage `json:"usage"`
	// ISO 639-3 language code detected in audio. Ex: 'por' (Portuguese), 'eng' (English), 'spa' (Spanish)
	Language string `json:"language"`
	// Language detection confidence level (0.0 to 1.0). Higher is more reliable
	LanguageConfidence *float32 `json:"language_confidence,omitempty"`
	// Total audio duration in seconds
	DurationSeconds float32 `json:"duration_seconds"`
	// Full transcription as plain text, including audio events in brackets
	Text string `json:"text"`
	// Turn-by-turn formatted transcript with speaker identification and start/end timestamps
	Dialog string `json:"dialog"`
	// List of detected audio events (laughs, sighs, pauses, etc) with timestamps and duration
	AudioEvents []AudioEvent `json:"audio_events"`
	// Unique audio event types found in transcription, alphabetically sorted
	EventTypes []string `json:"event_types"`
	// Total number of recognized words in transcription
	WordCount int32 `json:"word_count"`
	// Metadados do arquivo de audio enviado (duracao, formato, codec, sample rate, canais)
	Input AudioInputMeta `json:"input"`
	// Client-supplied ID echoed verbatim (if provided in request)
	ClientReferenceId *string `json:"client_reference_id,omitempty"`
}

TranscriptionResponse struct for TranscriptionResponse

func NewTranscriptionResponse

func NewTranscriptionResponse(id string, object string, model string, filename string, processedAt string, usage TranscriptionUsage, language string, durationSeconds float32, text string, dialog string, audioEvents []AudioEvent, eventTypes []string, wordCount int32, input AudioInputMeta) *TranscriptionResponse

NewTranscriptionResponse instantiates a new TranscriptionResponse 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 NewTranscriptionResponseWithDefaults

func NewTranscriptionResponseWithDefaults() *TranscriptionResponse

NewTranscriptionResponseWithDefaults instantiates a new TranscriptionResponse 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 (*TranscriptionResponse) GetAudioEvents

func (o *TranscriptionResponse) GetAudioEvents() []AudioEvent

GetAudioEvents returns the AudioEvents field value

func (*TranscriptionResponse) GetAudioEventsOk

func (o *TranscriptionResponse) GetAudioEventsOk() ([]AudioEvent, bool)

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

func (*TranscriptionResponse) GetClientReferenceId

func (o *TranscriptionResponse) GetClientReferenceId() string

GetClientReferenceId returns the ClientReferenceId field value if set, zero value otherwise.

func (*TranscriptionResponse) GetClientReferenceIdOk

func (o *TranscriptionResponse) GetClientReferenceIdOk() (*string, bool)

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

func (*TranscriptionResponse) GetDialog

func (o *TranscriptionResponse) GetDialog() string

GetDialog returns the Dialog field value

func (*TranscriptionResponse) GetDialogOk

func (o *TranscriptionResponse) GetDialogOk() (*string, bool)

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

func (*TranscriptionResponse) GetDurationSeconds

func (o *TranscriptionResponse) GetDurationSeconds() float32

GetDurationSeconds returns the DurationSeconds field value

func (*TranscriptionResponse) GetDurationSecondsOk

func (o *TranscriptionResponse) GetDurationSecondsOk() (*float32, bool)

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

func (*TranscriptionResponse) GetEventTypes

func (o *TranscriptionResponse) GetEventTypes() []string

GetEventTypes returns the EventTypes field value

func (*TranscriptionResponse) GetEventTypesOk

func (o *TranscriptionResponse) GetEventTypesOk() ([]string, bool)

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

func (*TranscriptionResponse) GetFilename

func (o *TranscriptionResponse) GetFilename() string

GetFilename returns the Filename field value

func (*TranscriptionResponse) GetFilenameOk

func (o *TranscriptionResponse) GetFilenameOk() (*string, bool)

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

func (*TranscriptionResponse) GetId

func (o *TranscriptionResponse) GetId() string

GetId returns the Id field value

func (*TranscriptionResponse) GetIdOk

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

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

func (*TranscriptionResponse) GetInput

func (o *TranscriptionResponse) GetInput() AudioInputMeta

GetInput returns the Input field value

func (*TranscriptionResponse) GetInputOk

func (o *TranscriptionResponse) GetInputOk() (*AudioInputMeta, bool)

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

func (*TranscriptionResponse) GetLanguage

func (o *TranscriptionResponse) GetLanguage() string

GetLanguage returns the Language field value

func (*TranscriptionResponse) GetLanguageConfidence

func (o *TranscriptionResponse) GetLanguageConfidence() float32

GetLanguageConfidence returns the LanguageConfidence field value if set, zero value otherwise.

func (*TranscriptionResponse) GetLanguageConfidenceOk

func (o *TranscriptionResponse) GetLanguageConfidenceOk() (*float32, bool)

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

func (*TranscriptionResponse) GetLanguageOk

func (o *TranscriptionResponse) GetLanguageOk() (*string, bool)

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

func (*TranscriptionResponse) GetModel

func (o *TranscriptionResponse) GetModel() string

GetModel returns the Model field value

func (*TranscriptionResponse) GetModelOk

func (o *TranscriptionResponse) GetModelOk() (*string, bool)

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

func (*TranscriptionResponse) GetObject

func (o *TranscriptionResponse) GetObject() string

GetObject returns the Object field value

func (*TranscriptionResponse) GetObjectOk

func (o *TranscriptionResponse) GetObjectOk() (*string, bool)

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

func (*TranscriptionResponse) GetProcessedAt

func (o *TranscriptionResponse) GetProcessedAt() string

GetProcessedAt returns the ProcessedAt field value

func (*TranscriptionResponse) GetProcessedAtOk

func (o *TranscriptionResponse) GetProcessedAtOk() (*string, bool)

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

func (*TranscriptionResponse) GetText

func (o *TranscriptionResponse) GetText() string

GetText returns the Text field value

func (*TranscriptionResponse) GetTextOk

func (o *TranscriptionResponse) GetTextOk() (*string, bool)

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

func (*TranscriptionResponse) GetUsage

GetUsage returns the Usage field value

func (*TranscriptionResponse) GetUsageOk

func (o *TranscriptionResponse) GetUsageOk() (*TranscriptionUsage, bool)

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

func (*TranscriptionResponse) GetWordCount

func (o *TranscriptionResponse) GetWordCount() int32

GetWordCount returns the WordCount field value

func (*TranscriptionResponse) GetWordCountOk

func (o *TranscriptionResponse) GetWordCountOk() (*int32, bool)

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

func (*TranscriptionResponse) HasClientReferenceId

func (o *TranscriptionResponse) HasClientReferenceId() bool

HasClientReferenceId returns a boolean if a field has been set.

func (*TranscriptionResponse) HasLanguageConfidence

func (o *TranscriptionResponse) HasLanguageConfidence() bool

HasLanguageConfidence returns a boolean if a field has been set.

func (TranscriptionResponse) MarshalJSON

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

func (*TranscriptionResponse) SetAudioEvents

func (o *TranscriptionResponse) SetAudioEvents(v []AudioEvent)

SetAudioEvents sets field value

func (*TranscriptionResponse) SetClientReferenceId

func (o *TranscriptionResponse) SetClientReferenceId(v string)

SetClientReferenceId gets a reference to the given string and assigns it to the ClientReferenceId field.

func (*TranscriptionResponse) SetDialog

func (o *TranscriptionResponse) SetDialog(v string)

SetDialog sets field value

func (*TranscriptionResponse) SetDurationSeconds

func (o *TranscriptionResponse) SetDurationSeconds(v float32)

SetDurationSeconds sets field value

func (*TranscriptionResponse) SetEventTypes

func (o *TranscriptionResponse) SetEventTypes(v []string)

SetEventTypes sets field value

func (*TranscriptionResponse) SetFilename

func (o *TranscriptionResponse) SetFilename(v string)

SetFilename sets field value

func (*TranscriptionResponse) SetId

func (o *TranscriptionResponse) SetId(v string)

SetId sets field value

func (*TranscriptionResponse) SetInput

func (o *TranscriptionResponse) SetInput(v AudioInputMeta)

SetInput sets field value

func (*TranscriptionResponse) SetLanguage

func (o *TranscriptionResponse) SetLanguage(v string)

SetLanguage sets field value

func (*TranscriptionResponse) SetLanguageConfidence

func (o *TranscriptionResponse) SetLanguageConfidence(v float32)

SetLanguageConfidence gets a reference to the given float32 and assigns it to the LanguageConfidence field.

func (*TranscriptionResponse) SetModel

func (o *TranscriptionResponse) SetModel(v string)

SetModel sets field value

func (*TranscriptionResponse) SetObject

func (o *TranscriptionResponse) SetObject(v string)

SetObject sets field value

func (*TranscriptionResponse) SetProcessedAt

func (o *TranscriptionResponse) SetProcessedAt(v string)

SetProcessedAt sets field value

func (*TranscriptionResponse) SetText

func (o *TranscriptionResponse) SetText(v string)

SetText sets field value

func (*TranscriptionResponse) SetUsage

SetUsage sets field value

func (*TranscriptionResponse) SetWordCount

func (o *TranscriptionResponse) SetWordCount(v int32)

SetWordCount sets field value

func (TranscriptionResponse) ToMap

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

func (*TranscriptionResponse) UnmarshalJSON

func (o *TranscriptionResponse) UnmarshalJSON(data []byte) (err error)

type TranscriptionUsage

type TranscriptionUsage struct {
	// Actual audio duration processed in seconds
	AudioSeconds float32 `json:"audio_seconds"`
	// Number of credits consumed in this request
	CreditsConsumed float32 `json:"credits_consumed"`
	// Total processing time in milliseconds
	ProcessingMs int32 `json:"processing_ms"`
}

TranscriptionUsage struct for TranscriptionUsage

func NewTranscriptionUsage

func NewTranscriptionUsage(audioSeconds float32, creditsConsumed float32, processingMs int32) *TranscriptionUsage

NewTranscriptionUsage instantiates a new TranscriptionUsage 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 NewTranscriptionUsageWithDefaults

func NewTranscriptionUsageWithDefaults() *TranscriptionUsage

NewTranscriptionUsageWithDefaults instantiates a new TranscriptionUsage 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 (*TranscriptionUsage) GetAudioSeconds

func (o *TranscriptionUsage) GetAudioSeconds() float32

GetAudioSeconds returns the AudioSeconds field value

func (*TranscriptionUsage) GetAudioSecondsOk

func (o *TranscriptionUsage) GetAudioSecondsOk() (*float32, bool)

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

func (*TranscriptionUsage) GetCreditsConsumed

func (o *TranscriptionUsage) GetCreditsConsumed() float32

GetCreditsConsumed returns the CreditsConsumed field value

func (*TranscriptionUsage) GetCreditsConsumedOk

func (o *TranscriptionUsage) GetCreditsConsumedOk() (*float32, bool)

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

func (*TranscriptionUsage) GetProcessingMs

func (o *TranscriptionUsage) GetProcessingMs() int32

GetProcessingMs returns the ProcessingMs field value

func (*TranscriptionUsage) GetProcessingMsOk

func (o *TranscriptionUsage) GetProcessingMsOk() (*int32, bool)

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

func (TranscriptionUsage) MarshalJSON

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

func (*TranscriptionUsage) SetAudioSeconds

func (o *TranscriptionUsage) SetAudioSeconds(v float32)

SetAudioSeconds sets field value

func (*TranscriptionUsage) SetCreditsConsumed

func (o *TranscriptionUsage) SetCreditsConsumed(v float32)

SetCreditsConsumed sets field value

func (*TranscriptionUsage) SetProcessingMs

func (o *TranscriptionUsage) SetProcessingMs(v int32)

SetProcessingMs sets field value

func (TranscriptionUsage) ToMap

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

func (*TranscriptionUsage) UnmarshalJSON

func (o *TranscriptionUsage) UnmarshalJSON(data []byte) (err error)

type UpdateEmailAlertRequest

type UpdateEmailAlertRequest struct {
	Name   *string      `json:"name,omitempty"`
	Email  *string      `json:"email,omitempty"`
	Events []EmailEvent `json:"events,omitempty"`
	Active *bool        `json:"active,omitempty"`
}

UpdateEmailAlertRequest struct for UpdateEmailAlertRequest

func NewUpdateEmailAlertRequest

func NewUpdateEmailAlertRequest() *UpdateEmailAlertRequest

NewUpdateEmailAlertRequest instantiates a new UpdateEmailAlertRequest 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 NewUpdateEmailAlertRequestWithDefaults

func NewUpdateEmailAlertRequestWithDefaults() *UpdateEmailAlertRequest

NewUpdateEmailAlertRequestWithDefaults instantiates a new UpdateEmailAlertRequest 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 (*UpdateEmailAlertRequest) GetActive

func (o *UpdateEmailAlertRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*UpdateEmailAlertRequest) GetActiveOk

func (o *UpdateEmailAlertRequest) GetActiveOk() (*bool, bool)

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

func (*UpdateEmailAlertRequest) GetEmail

func (o *UpdateEmailAlertRequest) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UpdateEmailAlertRequest) GetEmailOk

func (o *UpdateEmailAlertRequest) GetEmailOk() (*string, bool)

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

func (*UpdateEmailAlertRequest) GetEvents

func (o *UpdateEmailAlertRequest) GetEvents() []EmailEvent

GetEvents returns the Events field value if set, zero value otherwise.

func (*UpdateEmailAlertRequest) GetEventsOk

func (o *UpdateEmailAlertRequest) GetEventsOk() ([]EmailEvent, bool)

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

func (*UpdateEmailAlertRequest) GetName

func (o *UpdateEmailAlertRequest) GetName() string

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

func (*UpdateEmailAlertRequest) GetNameOk

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

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

func (*UpdateEmailAlertRequest) HasActive

func (o *UpdateEmailAlertRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*UpdateEmailAlertRequest) HasEmail

func (o *UpdateEmailAlertRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UpdateEmailAlertRequest) HasEvents

func (o *UpdateEmailAlertRequest) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*UpdateEmailAlertRequest) HasName

func (o *UpdateEmailAlertRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateEmailAlertRequest) MarshalJSON

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

func (*UpdateEmailAlertRequest) SetActive

func (o *UpdateEmailAlertRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*UpdateEmailAlertRequest) SetEmail

func (o *UpdateEmailAlertRequest) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UpdateEmailAlertRequest) SetEvents

func (o *UpdateEmailAlertRequest) SetEvents(v []EmailEvent)

SetEvents gets a reference to the given []EmailEvent and assigns it to the Events field.

func (*UpdateEmailAlertRequest) SetName

func (o *UpdateEmailAlertRequest) SetName(v string)

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

func (UpdateEmailAlertRequest) ToMap

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

type UpdateWebhookRequest

type UpdateWebhookRequest struct {
	// Nome identificador
	Name *string `json:"name,omitempty"`
	// URL HTTPS destino
	Url *string `json:"url,omitempty"`
	// Eventos subscritos
	Events []WebhookEvent `json:"events,omitempty"`
	// Habilita retry exponencial
	RetryEnabled *bool `json:"retry_enabled,omitempty"`
	// Ativa/desativa sem deletar
	Active *bool `json:"active,omitempty"`
}

UpdateWebhookRequest struct for UpdateWebhookRequest

func NewUpdateWebhookRequest

func NewUpdateWebhookRequest() *UpdateWebhookRequest

NewUpdateWebhookRequest instantiates a new UpdateWebhookRequest 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 NewUpdateWebhookRequestWithDefaults

func NewUpdateWebhookRequestWithDefaults() *UpdateWebhookRequest

NewUpdateWebhookRequestWithDefaults instantiates a new UpdateWebhookRequest 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 (*UpdateWebhookRequest) GetActive

func (o *UpdateWebhookRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*UpdateWebhookRequest) GetActiveOk

func (o *UpdateWebhookRequest) GetActiveOk() (*bool, bool)

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

func (*UpdateWebhookRequest) GetEvents

func (o *UpdateWebhookRequest) GetEvents() []WebhookEvent

GetEvents returns the Events field value if set, zero value otherwise.

func (*UpdateWebhookRequest) GetEventsOk

func (o *UpdateWebhookRequest) GetEventsOk() ([]WebhookEvent, bool)

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

func (*UpdateWebhookRequest) GetName

func (o *UpdateWebhookRequest) GetName() string

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

func (*UpdateWebhookRequest) GetNameOk

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

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

func (*UpdateWebhookRequest) GetRetryEnabled

func (o *UpdateWebhookRequest) GetRetryEnabled() bool

GetRetryEnabled returns the RetryEnabled field value if set, zero value otherwise.

func (*UpdateWebhookRequest) GetRetryEnabledOk

func (o *UpdateWebhookRequest) GetRetryEnabledOk() (*bool, bool)

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

func (*UpdateWebhookRequest) GetUrl

func (o *UpdateWebhookRequest) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*UpdateWebhookRequest) GetUrlOk

func (o *UpdateWebhookRequest) GetUrlOk() (*string, bool)

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

func (*UpdateWebhookRequest) HasActive

func (o *UpdateWebhookRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasEvents

func (o *UpdateWebhookRequest) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasName

func (o *UpdateWebhookRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasRetryEnabled

func (o *UpdateWebhookRequest) HasRetryEnabled() bool

HasRetryEnabled returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasUrl

func (o *UpdateWebhookRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (UpdateWebhookRequest) MarshalJSON

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

func (*UpdateWebhookRequest) SetActive

func (o *UpdateWebhookRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*UpdateWebhookRequest) SetEvents

func (o *UpdateWebhookRequest) SetEvents(v []WebhookEvent)

SetEvents gets a reference to the given []WebhookEvent and assigns it to the Events field.

func (*UpdateWebhookRequest) SetName

func (o *UpdateWebhookRequest) SetName(v string)

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

func (*UpdateWebhookRequest) SetRetryEnabled

func (o *UpdateWebhookRequest) SetRetryEnabled(v bool)

SetRetryEnabled gets a reference to the given bool and assigns it to the RetryEnabled field.

func (*UpdateWebhookRequest) SetUrl

func (o *UpdateWebhookRequest) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (UpdateWebhookRequest) ToMap

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

type UsageAPIService

type UsageAPIService service

UsageAPIService UsageAPI service

func (*UsageAPIService) GetUsageByKeyV1UsageByKeyGet

func (a *UsageAPIService) GetUsageByKeyV1UsageByKeyGet(ctx context.Context) ApiGetUsageByKeyV1UsageByKeyGetRequest

GetUsageByKeyV1UsageByKeyGet Get Usage By Key

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

func (*UsageAPIService) GetUsageByKeyV1UsageByKeyGetExecute

func (a *UsageAPIService) GetUsageByKeyV1UsageByKeyGetExecute(r ApiGetUsageByKeyV1UsageByKeyGetRequest) ([]UsageByKeyItem, *http.Response, error)

Execute executes the request

@return []UsageByKeyItem

func (*UsageAPIService) GetUsageLogV1UsageLogGet

func (a *UsageAPIService) GetUsageLogV1UsageLogGet(ctx context.Context) ApiGetUsageLogV1UsageLogGetRequest

GetUsageLogV1UsageLogGet Get Usage Log

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

func (*UsageAPIService) GetUsageLogV1UsageLogGetExecute

func (a *UsageAPIService) GetUsageLogV1UsageLogGetExecute(r ApiGetUsageLogV1UsageLogGetRequest) (*UsageLogResponse, *http.Response, error)

Execute executes the request

@return UsageLogResponse

type UsageByKeyItem

type UsageByKeyItem struct {
	// API key id
	KeyId string `json:"key_id"`
	// API key name
	KeyName string `json:"key_name"`
	// Total credits consumed by the key
	TotalCredits int32 `json:"total_credits"`
	// Number of requests
	RequestCount int32 `json:"request_count"`
	// ISO 8601 of last use (null if never)
	LastUsed *string `json:"last_used,omitempty"`
}

UsageByKeyItem struct for UsageByKeyItem

func NewUsageByKeyItem

func NewUsageByKeyItem(keyId string, keyName string, totalCredits int32, requestCount int32) *UsageByKeyItem

NewUsageByKeyItem instantiates a new UsageByKeyItem 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 NewUsageByKeyItemWithDefaults

func NewUsageByKeyItemWithDefaults() *UsageByKeyItem

NewUsageByKeyItemWithDefaults instantiates a new UsageByKeyItem 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 (*UsageByKeyItem) GetKeyId

func (o *UsageByKeyItem) GetKeyId() string

GetKeyId returns the KeyId field value

func (*UsageByKeyItem) GetKeyIdOk

func (o *UsageByKeyItem) GetKeyIdOk() (*string, bool)

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

func (*UsageByKeyItem) GetKeyName

func (o *UsageByKeyItem) GetKeyName() string

GetKeyName returns the KeyName field value

func (*UsageByKeyItem) GetKeyNameOk

func (o *UsageByKeyItem) GetKeyNameOk() (*string, bool)

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

func (*UsageByKeyItem) GetLastUsed

func (o *UsageByKeyItem) GetLastUsed() string

GetLastUsed returns the LastUsed field value if set, zero value otherwise.

func (*UsageByKeyItem) GetLastUsedOk

func (o *UsageByKeyItem) GetLastUsedOk() (*string, bool)

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

func (*UsageByKeyItem) GetRequestCount

func (o *UsageByKeyItem) GetRequestCount() int32

GetRequestCount returns the RequestCount field value

func (*UsageByKeyItem) GetRequestCountOk

func (o *UsageByKeyItem) GetRequestCountOk() (*int32, bool)

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

func (*UsageByKeyItem) GetTotalCredits

func (o *UsageByKeyItem) GetTotalCredits() int32

GetTotalCredits returns the TotalCredits field value

func (*UsageByKeyItem) GetTotalCreditsOk

func (o *UsageByKeyItem) GetTotalCreditsOk() (*int32, bool)

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

func (*UsageByKeyItem) HasLastUsed

func (o *UsageByKeyItem) HasLastUsed() bool

HasLastUsed returns a boolean if a field has been set.

func (UsageByKeyItem) MarshalJSON

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

func (*UsageByKeyItem) SetKeyId

func (o *UsageByKeyItem) SetKeyId(v string)

SetKeyId sets field value

func (*UsageByKeyItem) SetKeyName

func (o *UsageByKeyItem) SetKeyName(v string)

SetKeyName sets field value

func (*UsageByKeyItem) SetLastUsed

func (o *UsageByKeyItem) SetLastUsed(v string)

SetLastUsed gets a reference to the given string and assigns it to the LastUsed field.

func (*UsageByKeyItem) SetRequestCount

func (o *UsageByKeyItem) SetRequestCount(v int32)

SetRequestCount sets field value

func (*UsageByKeyItem) SetTotalCredits

func (o *UsageByKeyItem) SetTotalCredits(v int32)

SetTotalCredits sets field value

func (UsageByKeyItem) ToMap

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

func (*UsageByKeyItem) UnmarshalJSON

func (o *UsageByKeyItem) UnmarshalJSON(data []byte) (err error)

type UsageLogItem

type UsageLogItem struct {
	// Usage log entry id
	Id string `json:"id"`
	// Endpoint called
	Endpoint string `json:"endpoint"`
	// Credits consumed
	CreditsCost int32 `json:"credits_cost"`
	// Result status
	Status string `json:"status"`
	// Errors count
	ErrorsCount int32 `json:"errors_count"`
	// ISO 8601 timestamp
	CreatedAt string `json:"created_at"`
}

UsageLogItem struct for UsageLogItem

func NewUsageLogItem

func NewUsageLogItem(id string, endpoint string, creditsCost int32, status string, errorsCount int32, createdAt string) *UsageLogItem

NewUsageLogItem instantiates a new UsageLogItem 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 NewUsageLogItemWithDefaults

func NewUsageLogItemWithDefaults() *UsageLogItem

NewUsageLogItemWithDefaults instantiates a new UsageLogItem 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 (*UsageLogItem) GetCreatedAt

func (o *UsageLogItem) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*UsageLogItem) GetCreatedAtOk

func (o *UsageLogItem) GetCreatedAtOk() (*string, bool)

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

func (*UsageLogItem) GetCreditsCost

func (o *UsageLogItem) GetCreditsCost() int32

GetCreditsCost returns the CreditsCost field value

func (*UsageLogItem) GetCreditsCostOk

func (o *UsageLogItem) GetCreditsCostOk() (*int32, bool)

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

func (*UsageLogItem) GetEndpoint

func (o *UsageLogItem) GetEndpoint() string

GetEndpoint returns the Endpoint field value

func (*UsageLogItem) GetEndpointOk

func (o *UsageLogItem) GetEndpointOk() (*string, bool)

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

func (*UsageLogItem) GetErrorsCount

func (o *UsageLogItem) GetErrorsCount() int32

GetErrorsCount returns the ErrorsCount field value

func (*UsageLogItem) GetErrorsCountOk

func (o *UsageLogItem) GetErrorsCountOk() (*int32, bool)

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

func (*UsageLogItem) GetId

func (o *UsageLogItem) GetId() string

GetId returns the Id field value

func (*UsageLogItem) GetIdOk

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

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

func (*UsageLogItem) GetStatus

func (o *UsageLogItem) GetStatus() string

GetStatus returns the Status field value

func (*UsageLogItem) GetStatusOk

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

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

func (UsageLogItem) MarshalJSON

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

func (*UsageLogItem) SetCreatedAt

func (o *UsageLogItem) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*UsageLogItem) SetCreditsCost

func (o *UsageLogItem) SetCreditsCost(v int32)

SetCreditsCost sets field value

func (*UsageLogItem) SetEndpoint

func (o *UsageLogItem) SetEndpoint(v string)

SetEndpoint sets field value

func (*UsageLogItem) SetErrorsCount

func (o *UsageLogItem) SetErrorsCount(v int32)

SetErrorsCount sets field value

func (*UsageLogItem) SetId

func (o *UsageLogItem) SetId(v string)

SetId sets field value

func (*UsageLogItem) SetStatus

func (o *UsageLogItem) SetStatus(v string)

SetStatus sets field value

func (UsageLogItem) ToMap

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

func (*UsageLogItem) UnmarshalJSON

func (o *UsageLogItem) UnmarshalJSON(data []byte) (err error)

type UsageLogResponse

type UsageLogResponse struct {
	Data  []UsageLogItem `json:"data"`
	Page  int32          `json:"page"`
	Limit int32          `json:"limit"`
}

UsageLogResponse struct for UsageLogResponse

func NewUsageLogResponse

func NewUsageLogResponse(data []UsageLogItem, page int32, limit int32) *UsageLogResponse

NewUsageLogResponse instantiates a new UsageLogResponse 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 NewUsageLogResponseWithDefaults

func NewUsageLogResponseWithDefaults() *UsageLogResponse

NewUsageLogResponseWithDefaults instantiates a new UsageLogResponse 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 (*UsageLogResponse) GetData

func (o *UsageLogResponse) GetData() []UsageLogItem

GetData returns the Data field value

func (*UsageLogResponse) GetDataOk

func (o *UsageLogResponse) GetDataOk() ([]UsageLogItem, bool)

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

func (*UsageLogResponse) GetLimit

func (o *UsageLogResponse) GetLimit() int32

GetLimit returns the Limit field value

func (*UsageLogResponse) GetLimitOk

func (o *UsageLogResponse) GetLimitOk() (*int32, bool)

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

func (*UsageLogResponse) GetPage

func (o *UsageLogResponse) GetPage() int32

GetPage returns the Page field value

func (*UsageLogResponse) GetPageOk

func (o *UsageLogResponse) GetPageOk() (*int32, bool)

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

func (UsageLogResponse) MarshalJSON

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

func (*UsageLogResponse) SetData

func (o *UsageLogResponse) SetData(v []UsageLogItem)

SetData sets field value

func (*UsageLogResponse) SetLimit

func (o *UsageLogResponse) SetLimit(v int32)

SetLimit sets field value

func (*UsageLogResponse) SetPage

func (o *UsageLogResponse) SetPage(v int32)

SetPage sets field value

func (UsageLogResponse) ToMap

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

func (*UsageLogResponse) UnmarshalJSON

func (o *UsageLogResponse) UnmarshalJSON(data []byte) (err error)

type ValidationError

type ValidationError struct {
	Loc   []LocationInner        `json:"loc"`
	Msg   string                 `json:"msg"`
	Type  string                 `json:"type"`
	Input interface{}            `json:"input,omitempty"`
	Ctx   map[string]interface{} `json:"ctx,omitempty"`
}

ValidationError struct for ValidationError

func NewValidationError

func NewValidationError(loc []LocationInner, msg string, type_ string) *ValidationError

NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults

func NewValidationErrorWithDefaults() *ValidationError

NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetCtx

func (o *ValidationError) GetCtx() map[string]interface{}

GetCtx returns the Ctx field value if set, zero value otherwise.

func (*ValidationError) GetCtxOk

func (o *ValidationError) GetCtxOk() (map[string]interface{}, bool)

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

func (*ValidationError) GetInput

func (o *ValidationError) GetInput() interface{}

GetInput returns the Input field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ValidationError) GetInputOk

func (o *ValidationError) GetInputOk() (*interface{}, bool)

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

func (*ValidationError) GetLoc

func (o *ValidationError) GetLoc() []LocationInner

GetLoc returns the Loc field value

func (*ValidationError) GetLocOk

func (o *ValidationError) GetLocOk() ([]LocationInner, bool)

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

func (*ValidationError) GetMsg

func (o *ValidationError) GetMsg() string

GetMsg returns the Msg field value

func (*ValidationError) GetMsgOk

func (o *ValidationError) GetMsgOk() (*string, bool)

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

func (*ValidationError) GetType

func (o *ValidationError) GetType() string

GetType returns the Type field value

func (*ValidationError) GetTypeOk

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

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

func (*ValidationError) HasCtx

func (o *ValidationError) HasCtx() bool

HasCtx returns a boolean if a field has been set.

func (*ValidationError) HasInput

func (o *ValidationError) HasInput() bool

HasInput returns a boolean if a field has been set.

func (ValidationError) MarshalJSON

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

func (*ValidationError) SetCtx

func (o *ValidationError) SetCtx(v map[string]interface{})

SetCtx gets a reference to the given map[string]interface{} and assigns it to the Ctx field.

func (*ValidationError) SetInput

func (o *ValidationError) SetInput(v interface{})

SetInput gets a reference to the given interface{} and assigns it to the Input field.

func (*ValidationError) SetLoc

func (o *ValidationError) SetLoc(v []LocationInner)

SetLoc sets field value

func (*ValidationError) SetMsg

func (o *ValidationError) SetMsg(v string)

SetMsg sets field value

func (*ValidationError) SetType

func (o *ValidationError) SetType(v string)

SetType sets field value

func (ValidationError) ToMap

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

func (*ValidationError) UnmarshalJSON

func (o *ValidationError) UnmarshalJSON(data []byte) (err error)

type VersionAPIService

type VersionAPIService service

VersionAPIService VersionAPI service

func (*VersionAPIService) GetVersionApiVersionGet

func (a *VersionAPIService) GetVersionApiVersionGet(ctx context.Context) ApiGetVersionApiVersionGetRequest

GetVersionApiVersionGet Get Version

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

func (*VersionAPIService) GetVersionApiVersionGetExecute

func (a *VersionAPIService) GetVersionApiVersionGetExecute(r ApiGetVersionApiVersionGetRequest) (*VersionResponse, *http.Response, error)

Execute executes the request

@return VersionResponse

type VersionResponse

type VersionResponse struct {
	// Service name
	Service string `json:"service"`
	// Current API version
	Version string `json:"version"`
	// Deploy timestamp
	DeployDate string `json:"deployDate"`
}

VersionResponse struct for VersionResponse

func NewVersionResponse

func NewVersionResponse(service string, version string, deployDate string) *VersionResponse

NewVersionResponse instantiates a new VersionResponse 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 NewVersionResponseWithDefaults

func NewVersionResponseWithDefaults() *VersionResponse

NewVersionResponseWithDefaults instantiates a new VersionResponse 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 (*VersionResponse) GetDeployDate

func (o *VersionResponse) GetDeployDate() string

GetDeployDate returns the DeployDate field value

func (*VersionResponse) GetDeployDateOk

func (o *VersionResponse) GetDeployDateOk() (*string, bool)

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

func (*VersionResponse) GetService

func (o *VersionResponse) GetService() string

GetService returns the Service field value

func (*VersionResponse) GetServiceOk

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

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

func (*VersionResponse) GetVersion

func (o *VersionResponse) GetVersion() string

GetVersion returns the Version field value

func (*VersionResponse) GetVersionOk

func (o *VersionResponse) GetVersionOk() (*string, bool)

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

func (VersionResponse) MarshalJSON

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

func (*VersionResponse) SetDeployDate

func (o *VersionResponse) SetDeployDate(v string)

SetDeployDate sets field value

func (*VersionResponse) SetService

func (o *VersionResponse) SetService(v string)

SetService sets field value

func (*VersionResponse) SetVersion

func (o *VersionResponse) SetVersion(v string)

SetVersion sets field value

func (VersionResponse) ToMap

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

func (*VersionResponse) UnmarshalJSON

func (o *VersionResponse) UnmarshalJSON(data []byte) (err error)

type WebhookEvent

type WebhookEvent string

WebhookEvent the model 'WebhookEvent'

const (
	WEBHOOKEVENT_SUBSCRIPTION_CREATED    WebhookEvent = "subscription.created"
	WEBHOOKEVENT_AVULSO_COMPLETED        WebhookEvent = "avulso.completed"
	WEBHOOKEVENT_SUBSCRIPTION_UPGRADED   WebhookEvent = "subscription.upgraded"
	WEBHOOKEVENT_SUBSCRIPTION_DOWNGRADED WebhookEvent = "subscription.downgraded"
	WEBHOOKEVENT_SUBSCRIPTION_CANCELED   WebhookEvent = "subscription.canceled"
	WEBHOOKEVENT_CREDITS_LOW             WebhookEvent = "credits.low"
	WEBHOOKEVENT_CREDITS_EXHAUSTED       WebhookEvent = "credits.exhausted"
	WEBHOOKEVENT_SUBSCRIPTION_RENEWED    WebhookEvent = "subscription.renewed"
	WEBHOOKEVENT_SUBSCRIPTION_EXPIRED    WebhookEvent = "subscription.expired"
	WEBHOOKEVENT_PAYMENT_FAILED          WebhookEvent = "payment.failed"
)

List of WebhookEvent

func NewWebhookEventFromValue

func NewWebhookEventFromValue(v string) (*WebhookEvent, error)

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

func (WebhookEvent) IsValid

func (v WebhookEvent) IsValid() bool

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

func (WebhookEvent) Ptr

func (v WebhookEvent) Ptr() *WebhookEvent

Ptr returns reference to WebhookEvent value

func (*WebhookEvent) UnmarshalJSON

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

type WebhookItem

type WebhookItem struct {
	// Webhook id
	Id string `json:"id"`
	// Owner user id
	UserId string `json:"user_id"`
	// Webhook name
	Name string `json:"name"`
	// Destination URL
	Url string `json:"url"`
	// HMAC signing secret
	Secret string `json:"secret"`
	// Subscribed events
	Events []string `json:"events"`
	// Is active
	Active bool `json:"active"`
	// Retry enabled
	RetryEnabled bool `json:"retry_enabled"`
	// ISO 8601 of last delivery
	LastDeliveryAt *string `json:"last_delivery_at,omitempty"`
	// Last HTTP status delivered
	LastStatus *int32 `json:"last_status,omitempty"`
	// Consecutive failures
	FailureCount *int32 `json:"failure_count,omitempty"`
	// ISO 8601 created
	CreatedAt string `json:"created_at"`
	// ISO 8601 updated
	UpdatedAt string `json:"updated_at"`
}

WebhookItem struct for WebhookItem

func NewWebhookItem

func NewWebhookItem(id string, userId string, name string, url string, secret string, events []string, active bool, retryEnabled bool, createdAt string, updatedAt string) *WebhookItem

NewWebhookItem instantiates a new WebhookItem 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 NewWebhookItemWithDefaults

func NewWebhookItemWithDefaults() *WebhookItem

NewWebhookItemWithDefaults instantiates a new WebhookItem 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 (*WebhookItem) GetActive

func (o *WebhookItem) GetActive() bool

GetActive returns the Active field value

func (*WebhookItem) GetActiveOk

func (o *WebhookItem) GetActiveOk() (*bool, bool)

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

func (*WebhookItem) GetCreatedAt

func (o *WebhookItem) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*WebhookItem) GetCreatedAtOk

func (o *WebhookItem) GetCreatedAtOk() (*string, bool)

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

func (*WebhookItem) GetEvents

func (o *WebhookItem) GetEvents() []string

GetEvents returns the Events field value

func (*WebhookItem) GetEventsOk

func (o *WebhookItem) GetEventsOk() ([]string, bool)

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

func (*WebhookItem) GetFailureCount

func (o *WebhookItem) GetFailureCount() int32

GetFailureCount returns the FailureCount field value if set, zero value otherwise.

func (*WebhookItem) GetFailureCountOk

func (o *WebhookItem) GetFailureCountOk() (*int32, bool)

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

func (*WebhookItem) GetId

func (o *WebhookItem) GetId() string

GetId returns the Id field value

func (*WebhookItem) GetIdOk

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

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

func (*WebhookItem) GetLastDeliveryAt

func (o *WebhookItem) GetLastDeliveryAt() string

GetLastDeliveryAt returns the LastDeliveryAt field value if set, zero value otherwise.

func (*WebhookItem) GetLastDeliveryAtOk

func (o *WebhookItem) GetLastDeliveryAtOk() (*string, bool)

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

func (*WebhookItem) GetLastStatus

func (o *WebhookItem) GetLastStatus() int32

GetLastStatus returns the LastStatus field value if set, zero value otherwise.

func (*WebhookItem) GetLastStatusOk

func (o *WebhookItem) GetLastStatusOk() (*int32, bool)

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

func (*WebhookItem) GetName

func (o *WebhookItem) GetName() string

GetName returns the Name field value

func (*WebhookItem) GetNameOk

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

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

func (*WebhookItem) GetRetryEnabled

func (o *WebhookItem) GetRetryEnabled() bool

GetRetryEnabled returns the RetryEnabled field value

func (*WebhookItem) GetRetryEnabledOk

func (o *WebhookItem) GetRetryEnabledOk() (*bool, bool)

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

func (*WebhookItem) GetSecret

func (o *WebhookItem) GetSecret() string

GetSecret returns the Secret field value

func (*WebhookItem) GetSecretOk

func (o *WebhookItem) GetSecretOk() (*string, bool)

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

func (*WebhookItem) GetUpdatedAt

func (o *WebhookItem) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value

func (*WebhookItem) GetUpdatedAtOk

func (o *WebhookItem) GetUpdatedAtOk() (*string, bool)

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

func (*WebhookItem) GetUrl

func (o *WebhookItem) GetUrl() string

GetUrl returns the Url field value

func (*WebhookItem) GetUrlOk

func (o *WebhookItem) GetUrlOk() (*string, bool)

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

func (*WebhookItem) GetUserId

func (o *WebhookItem) GetUserId() string

GetUserId returns the UserId field value

func (*WebhookItem) GetUserIdOk

func (o *WebhookItem) GetUserIdOk() (*string, bool)

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

func (*WebhookItem) HasFailureCount

func (o *WebhookItem) HasFailureCount() bool

HasFailureCount returns a boolean if a field has been set.

func (*WebhookItem) HasLastDeliveryAt

func (o *WebhookItem) HasLastDeliveryAt() bool

HasLastDeliveryAt returns a boolean if a field has been set.

func (*WebhookItem) HasLastStatus

func (o *WebhookItem) HasLastStatus() bool

HasLastStatus returns a boolean if a field has been set.

func (WebhookItem) MarshalJSON

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

func (*WebhookItem) SetActive

func (o *WebhookItem) SetActive(v bool)

SetActive sets field value

func (*WebhookItem) SetCreatedAt

func (o *WebhookItem) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*WebhookItem) SetEvents

func (o *WebhookItem) SetEvents(v []string)

SetEvents sets field value

func (*WebhookItem) SetFailureCount

func (o *WebhookItem) SetFailureCount(v int32)

SetFailureCount gets a reference to the given int32 and assigns it to the FailureCount field.

func (*WebhookItem) SetId

func (o *WebhookItem) SetId(v string)

SetId sets field value

func (*WebhookItem) SetLastDeliveryAt

func (o *WebhookItem) SetLastDeliveryAt(v string)

SetLastDeliveryAt gets a reference to the given string and assigns it to the LastDeliveryAt field.

func (*WebhookItem) SetLastStatus

func (o *WebhookItem) SetLastStatus(v int32)

SetLastStatus gets a reference to the given int32 and assigns it to the LastStatus field.

func (*WebhookItem) SetName

func (o *WebhookItem) SetName(v string)

SetName sets field value

func (*WebhookItem) SetRetryEnabled

func (o *WebhookItem) SetRetryEnabled(v bool)

SetRetryEnabled sets field value

func (*WebhookItem) SetSecret

func (o *WebhookItem) SetSecret(v string)

SetSecret sets field value

func (*WebhookItem) SetUpdatedAt

func (o *WebhookItem) SetUpdatedAt(v string)

SetUpdatedAt sets field value

func (*WebhookItem) SetUrl

func (o *WebhookItem) SetUrl(v string)

SetUrl sets field value

func (*WebhookItem) SetUserId

func (o *WebhookItem) SetUserId(v string)

SetUserId sets field value

func (WebhookItem) ToMap

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

func (*WebhookItem) UnmarshalJSON

func (o *WebhookItem) UnmarshalJSON(data []byte) (err error)

type WebhookListResponse

type WebhookListResponse struct {
	Data  []WebhookItem `json:"data"`
	Page  int32         `json:"page"`
	Limit int32         `json:"limit"`
}

WebhookListResponse struct for WebhookListResponse

func NewWebhookListResponse

func NewWebhookListResponse(data []WebhookItem, page int32, limit int32) *WebhookListResponse

NewWebhookListResponse instantiates a new WebhookListResponse 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 NewWebhookListResponseWithDefaults

func NewWebhookListResponseWithDefaults() *WebhookListResponse

NewWebhookListResponseWithDefaults instantiates a new WebhookListResponse 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 (*WebhookListResponse) GetData

func (o *WebhookListResponse) GetData() []WebhookItem

GetData returns the Data field value

func (*WebhookListResponse) GetDataOk

func (o *WebhookListResponse) GetDataOk() ([]WebhookItem, bool)

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

func (*WebhookListResponse) GetLimit

func (o *WebhookListResponse) GetLimit() int32

GetLimit returns the Limit field value

func (*WebhookListResponse) GetLimitOk

func (o *WebhookListResponse) GetLimitOk() (*int32, bool)

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

func (*WebhookListResponse) GetPage

func (o *WebhookListResponse) GetPage() int32

GetPage returns the Page field value

func (*WebhookListResponse) GetPageOk

func (o *WebhookListResponse) GetPageOk() (*int32, bool)

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

func (WebhookListResponse) MarshalJSON

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

func (*WebhookListResponse) SetData

func (o *WebhookListResponse) SetData(v []WebhookItem)

SetData sets field value

func (*WebhookListResponse) SetLimit

func (o *WebhookListResponse) SetLimit(v int32)

SetLimit sets field value

func (*WebhookListResponse) SetPage

func (o *WebhookListResponse) SetPage(v int32)

SetPage sets field value

func (WebhookListResponse) ToMap

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

func (*WebhookListResponse) UnmarshalJSON

func (o *WebhookListResponse) UnmarshalJSON(data []byte) (err error)

type WebhooksAPIService

type WebhooksAPIService service

WebhooksAPIService WebhooksAPI service

func (*WebhooksAPIService) CreateWebhookV1WebhooksPost

func (a *WebhooksAPIService) CreateWebhookV1WebhooksPost(ctx context.Context) ApiCreateWebhookV1WebhooksPostRequest

CreateWebhookV1WebhooksPost Create webhook

Creates a subscription for alert events (10 alerts). Payload delivered: WebhookPayload(event, data, timestamp) with HMAC FalaAI-Signature. To verify the origin, recompute HMAC-SHA256 of "timestamp.body" with your secret.

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

func (*WebhooksAPIService) CreateWebhookV1WebhooksPostExecute

func (a *WebhooksAPIService) CreateWebhookV1WebhooksPostExecute(r ApiCreateWebhookV1WebhooksPostRequest) (*WebhookItem, *http.Response, error)

Execute executes the request

@return WebhookItem

func (*WebhooksAPIService) DeleteWebhookV1WebhooksWebhookIdDelete

func (a *WebhooksAPIService) DeleteWebhookV1WebhooksWebhookIdDelete(ctx context.Context, webhookId string) ApiDeleteWebhookV1WebhooksWebhookIdDeleteRequest

DeleteWebhookV1WebhooksWebhookIdDelete Delete webhook

Deletes a webhook subscription by ID.

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

func (*WebhooksAPIService) DeleteWebhookV1WebhooksWebhookIdDeleteExecute

func (a *WebhooksAPIService) DeleteWebhookV1WebhooksWebhookIdDeleteExecute(r ApiDeleteWebhookV1WebhooksWebhookIdDeleteRequest) (*MessageResponse, *http.Response, error)

Execute executes the request

@return MessageResponse

func (*WebhooksAPIService) ListWebhooksV1WebhooksGet

func (a *WebhooksAPIService) ListWebhooksV1WebhooksGet(ctx context.Context) ApiListWebhooksV1WebhooksGetRequest

ListWebhooksV1WebhooksGet List webhooks

Lists the authenticated user's webhooks (10 alerts). Paginated. Includes the URL signature secret (always visible to the owner).

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

func (*WebhooksAPIService) ListWebhooksV1WebhooksGetExecute

Execute executes the request

@return WebhookListResponse

func (*WebhooksAPIService) UpdateWebhookV1WebhooksWebhookIdPut

func (a *WebhooksAPIService) UpdateWebhookV1WebhooksWebhookIdPut(ctx context.Context, webhookId string) ApiUpdateWebhookV1WebhooksWebhookIdPutRequest

UpdateWebhookV1WebhooksWebhookIdPut Update webhook

Updates the webhook's name/url/events/retry_enabled/active. Valid events: 10 alerts.

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

func (*WebhooksAPIService) UpdateWebhookV1WebhooksWebhookIdPutExecute

func (a *WebhooksAPIService) UpdateWebhookV1WebhooksWebhookIdPutExecute(r ApiUpdateWebhookV1WebhooksWebhookIdPutRequest) (*MessageResponse, *http.Response, error)

Execute executes the request

@return MessageResponse

type WhatsappAPIService added in v1.21.51

type WhatsappAPIService service

WhatsappAPIService WhatsappAPI service

func (*WhatsappAPIService) ExtractConversationsV1WhatsappExtractConversationsPost added in v1.21.51

func (a *WhatsappAPIService) ExtractConversationsV1WhatsappExtractConversationsPost(ctx context.Context) ApiExtractConversationsV1WhatsappExtractConversationsPostRequest

ExtractConversationsV1WhatsappExtractConversationsPost Extract and segment WhatsApp conversations from an export

Extracts and segments the conversations of a WhatsApp export (.zip or .txt containing chat.txt in UTF-8 with at least one turn) and, unless it is a preview, resolves each selected conversation with AI by transcribing voice/audio/video notes and describing visual expressions, returning the segmented conversations with speakers, dialogs, counts and usage. Use dry_run=true for a PREVIEW: it validates the file, segments the conversations, counts media and ESTIMATES the credits WITHOUT calling the AI and WITHOUT charging (credits_charged=0), returning object whatsapp_preview with credits_total, the params actually used, the windows, per-conversation items and warnings. The window is given either as a single start/end pair or as windows, a JSON string holding a non-empty list of sub-objects each with start and end; windows must not be combined with start/end, and a windows selection is the deduplicated chronological union of the overlaps, which bypasses the noise filter and keeps conversations that are monologues or below min_messages, while for a single window sending only one of start/end is rejected and empty/all-zeros values select the real period of the export, both being allowed to be omitted in dry_run while outside dry_run both absent is rejected. timezone and date_format are required, where date_format must be day_first, month_first or year_first. gap_minutes is optional (default 720) and splits conversations on idle gaps, min_messages is optional (default 2) and is the minimum messages kept per conversation outside the explicit windows selection, voice_note is optional (default true) and turns voice/audio/video media into text, expression is optional (default true) and describes visual expressions (figurinha, GIF, emoji), and client_reference_id is optional, echoed verbatim, charset A-Za-z0-9 space _/:.- up to 60 chars. Billing outside the preview is 0.15 credit per conversation plus 0.15 per figurinha, 0.18 per GIF and 0.1 per emoji (only with expression=true) plus 0.19 per second of voice/audio/video (only with voice_note=true), rounded to 2 decimals with no rounding up, and the preview credits_total is the same exact sum with 2 decimals; files are limited to 1GB and the endpoint is stateless (export and media processed in memory, temporary files removed, nothing persisted), returning object conversations with id (wc-), usage and the conversations (conversation_id, first_at, last_at, duration_seconds, speakers, dialog, message_count, characters) plus meta.

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

func (*WhatsappAPIService) ExtractConversationsV1WhatsappExtractConversationsPostExecute added in v1.21.51

Execute executes the request

@return ResponseExtractConversationsV1WhatsappExtractconversationsPost

type WhatsappConversation added in v1.21.51

type WhatsappConversation struct {
	// Stable conversation id: yyyymmddhhmm-<first speaker>[-xN for >2 speakers]
	ConversationId string `json:"conversation_id"`
	// Real start (wall-clock, ISO)
	FirstAt string `json:"first_at"`
	// Real end (wall-clock, ISO)
	LastAt string `json:"last_at"`
	// (last - first) + last turn duration
	DurationSeconds float32 `json:"duration_seconds"`
	// Speakers of THIS conversation (dynamic)
	Speakers []WhatsappSpeaker `json:"speakers"`
	// Lines 'Speaker N: [HH:MM:SS.mmm - HH:MM:SS.mmm] text' (real offset)
	Dialog string `json:"dialog"`
	// Number of messages
	MessageCount int32 `json:"message_count"`
	// Total characters of the conversation
	Characters int32 `json:"characters"`
}

WhatsappConversation struct for WhatsappConversation

func NewWhatsappConversation added in v1.21.51

func NewWhatsappConversation(conversationId string, firstAt string, lastAt string, durationSeconds float32, speakers []WhatsappSpeaker, dialog string, messageCount int32, characters int32) *WhatsappConversation

NewWhatsappConversation instantiates a new WhatsappConversation 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 NewWhatsappConversationWithDefaults added in v1.21.51

func NewWhatsappConversationWithDefaults() *WhatsappConversation

NewWhatsappConversationWithDefaults instantiates a new WhatsappConversation 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 (*WhatsappConversation) GetCharacters added in v1.21.51

func (o *WhatsappConversation) GetCharacters() int32

GetCharacters returns the Characters field value

func (*WhatsappConversation) GetCharactersOk added in v1.21.51

func (o *WhatsappConversation) GetCharactersOk() (*int32, bool)

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

func (*WhatsappConversation) GetConversationId added in v1.21.51

func (o *WhatsappConversation) GetConversationId() string

GetConversationId returns the ConversationId field value

func (*WhatsappConversation) GetConversationIdOk added in v1.21.51

func (o *WhatsappConversation) GetConversationIdOk() (*string, bool)

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

func (*WhatsappConversation) GetDialog added in v1.21.51

func (o *WhatsappConversation) GetDialog() string

GetDialog returns the Dialog field value

func (*WhatsappConversation) GetDialogOk added in v1.21.51

func (o *WhatsappConversation) GetDialogOk() (*string, bool)

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

func (*WhatsappConversation) GetDurationSeconds added in v1.21.51

func (o *WhatsappConversation) GetDurationSeconds() float32

GetDurationSeconds returns the DurationSeconds field value

func (*WhatsappConversation) GetDurationSecondsOk added in v1.21.51

func (o *WhatsappConversation) GetDurationSecondsOk() (*float32, bool)

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

func (*WhatsappConversation) GetFirstAt added in v1.21.51

func (o *WhatsappConversation) GetFirstAt() string

GetFirstAt returns the FirstAt field value

func (*WhatsappConversation) GetFirstAtOk added in v1.21.51

func (o *WhatsappConversation) GetFirstAtOk() (*string, bool)

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

func (*WhatsappConversation) GetLastAt added in v1.21.51

func (o *WhatsappConversation) GetLastAt() string

GetLastAt returns the LastAt field value

func (*WhatsappConversation) GetLastAtOk added in v1.21.51

func (o *WhatsappConversation) GetLastAtOk() (*string, bool)

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

func (*WhatsappConversation) GetMessageCount added in v1.21.51

func (o *WhatsappConversation) GetMessageCount() int32

GetMessageCount returns the MessageCount field value

func (*WhatsappConversation) GetMessageCountOk added in v1.21.51

func (o *WhatsappConversation) GetMessageCountOk() (*int32, bool)

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

func (*WhatsappConversation) GetSpeakers added in v1.21.51

func (o *WhatsappConversation) GetSpeakers() []WhatsappSpeaker

GetSpeakers returns the Speakers field value

func (*WhatsappConversation) GetSpeakersOk added in v1.21.51

func (o *WhatsappConversation) GetSpeakersOk() ([]WhatsappSpeaker, bool)

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

func (WhatsappConversation) MarshalJSON added in v1.21.51

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

func (*WhatsappConversation) SetCharacters added in v1.21.51

func (o *WhatsappConversation) SetCharacters(v int32)

SetCharacters sets field value

func (*WhatsappConversation) SetConversationId added in v1.21.51

func (o *WhatsappConversation) SetConversationId(v string)

SetConversationId sets field value

func (*WhatsappConversation) SetDialog added in v1.21.51

func (o *WhatsappConversation) SetDialog(v string)

SetDialog sets field value

func (*WhatsappConversation) SetDurationSeconds added in v1.21.51

func (o *WhatsappConversation) SetDurationSeconds(v float32)

SetDurationSeconds sets field value

func (*WhatsappConversation) SetFirstAt added in v1.21.51

func (o *WhatsappConversation) SetFirstAt(v string)

SetFirstAt sets field value

func (*WhatsappConversation) SetLastAt added in v1.21.51

func (o *WhatsappConversation) SetLastAt(v string)

SetLastAt sets field value

func (*WhatsappConversation) SetMessageCount added in v1.21.51

func (o *WhatsappConversation) SetMessageCount(v int32)

SetMessageCount sets field value

func (*WhatsappConversation) SetSpeakers added in v1.21.51

func (o *WhatsappConversation) SetSpeakers(v []WhatsappSpeaker)

SetSpeakers sets field value

func (WhatsappConversation) ToMap added in v1.21.51

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

func (*WhatsappConversation) UnmarshalJSON added in v1.21.51

func (o *WhatsappConversation) UnmarshalJSON(data []byte) (err error)

type WhatsappConversationsResponse added in v1.21.51

type WhatsappConversationsResponse struct {
	// Unique identifier. Prefix 'wc-' + UUID
	Id string `json:"id"`
	// Object type. Always 'conversations'
	Object string `json:"object"`
	// Usage and processing information
	Usage WhatsappUsage `json:"usage"`
	// Segmented conversations
	Conversations []WhatsappConversation `json:"conversations"`
	// Client-supplied ID echoed verbatim (if provided)
	ClientReferenceId *string `json:"client_reference_id,omitempty"`
	// Segmentation parameters and counts
	Meta WhatsappMeta `json:"meta"`
}

WhatsappConversationsResponse struct for WhatsappConversationsResponse

func NewWhatsappConversationsResponse added in v1.21.51

func NewWhatsappConversationsResponse(id string, object string, usage WhatsappUsage, conversations []WhatsappConversation, meta WhatsappMeta) *WhatsappConversationsResponse

NewWhatsappConversationsResponse instantiates a new WhatsappConversationsResponse 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 NewWhatsappConversationsResponseWithDefaults added in v1.21.51

func NewWhatsappConversationsResponseWithDefaults() *WhatsappConversationsResponse

NewWhatsappConversationsResponseWithDefaults instantiates a new WhatsappConversationsResponse 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 (*WhatsappConversationsResponse) GetClientReferenceId added in v1.21.51

func (o *WhatsappConversationsResponse) GetClientReferenceId() string

GetClientReferenceId returns the ClientReferenceId field value if set, zero value otherwise.

func (*WhatsappConversationsResponse) GetClientReferenceIdOk added in v1.21.51

func (o *WhatsappConversationsResponse) GetClientReferenceIdOk() (*string, bool)

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

func (*WhatsappConversationsResponse) GetConversations added in v1.21.51

func (o *WhatsappConversationsResponse) GetConversations() []WhatsappConversation

GetConversations returns the Conversations field value

func (*WhatsappConversationsResponse) GetConversationsOk added in v1.21.51

func (o *WhatsappConversationsResponse) GetConversationsOk() ([]WhatsappConversation, bool)

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

func (*WhatsappConversationsResponse) GetId added in v1.21.51

GetId returns the Id field value

func (*WhatsappConversationsResponse) GetIdOk added in v1.21.51

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

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

func (*WhatsappConversationsResponse) GetMeta added in v1.21.51

GetMeta returns the Meta field value

func (*WhatsappConversationsResponse) GetMetaOk added in v1.21.51

func (o *WhatsappConversationsResponse) GetMetaOk() (*WhatsappMeta, bool)

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

func (*WhatsappConversationsResponse) GetObject added in v1.21.51

func (o *WhatsappConversationsResponse) GetObject() string

GetObject returns the Object field value

func (*WhatsappConversationsResponse) GetObjectOk added in v1.21.51

func (o *WhatsappConversationsResponse) GetObjectOk() (*string, bool)

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

func (*WhatsappConversationsResponse) GetUsage added in v1.21.51

GetUsage returns the Usage field value

func (*WhatsappConversationsResponse) GetUsageOk added in v1.21.51

func (o *WhatsappConversationsResponse) GetUsageOk() (*WhatsappUsage, bool)

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

func (*WhatsappConversationsResponse) HasClientReferenceId added in v1.21.51

func (o *WhatsappConversationsResponse) HasClientReferenceId() bool

HasClientReferenceId returns a boolean if a field has been set.

func (WhatsappConversationsResponse) MarshalJSON added in v1.21.51

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

func (*WhatsappConversationsResponse) SetClientReferenceId added in v1.21.51

func (o *WhatsappConversationsResponse) SetClientReferenceId(v string)

SetClientReferenceId gets a reference to the given string and assigns it to the ClientReferenceId field.

func (*WhatsappConversationsResponse) SetConversations added in v1.21.51

func (o *WhatsappConversationsResponse) SetConversations(v []WhatsappConversation)

SetConversations sets field value

func (*WhatsappConversationsResponse) SetId added in v1.21.51

SetId sets field value

func (*WhatsappConversationsResponse) SetMeta added in v1.21.51

SetMeta sets field value

func (*WhatsappConversationsResponse) SetObject added in v1.21.51

func (o *WhatsappConversationsResponse) SetObject(v string)

SetObject sets field value

func (*WhatsappConversationsResponse) SetUsage added in v1.21.51

SetUsage sets field value

func (WhatsappConversationsResponse) ToMap added in v1.21.51

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

func (*WhatsappConversationsResponse) UnmarshalJSON added in v1.21.51

func (o *WhatsappConversationsResponse) UnmarshalJSON(data []byte) (err error)

type WhatsappMeta added in v1.21.51

type WhatsappMeta struct {
	// Uploaded file name
	File string `json:"file"`
	// chat.txt entry name inside the export
	ChatTxt string `json:"chat_txt"`
	// Detected format: Android | iOS
	Format string `json:"format"`
	// Date order used
	DateFormat string `json:"date_format"`
	// Timezone informed
	Timezone string `json:"timezone"`
	// Window start (ISO)
	Start string `json:"start"`
	// Window end (ISO)
	End string `json:"end"`
	// Gap used to split conversations
	GapMinutes float32 `json:"gap_minutes"`
	// Minimum messages per conversation
	MinMessages int32 `json:"min_messages"`
	// Total parsed turns
	Turns int32 `json:"turns"`
	// System lines ignored
	SystemLines int32 `json:"system_lines"`
	// Conversations before window filter
	ConversationsTotal int32 `json:"conversations_total"`
	// Conversations overlapping the window
	ConversationsInWindow int32 `json:"conversations_in_window"`
	// Single-speaker conversations dropped
	MonologuesDropped int32 `json:"monologues_dropped"`
	// Final conversations returned
	ConversationsSelected int32 `json:"conversations_selected"`
	// Voice/video medias were transcribed
	VoiceNote bool `json:"voice_note"`
	// Visual expressions were described
	Expression bool `json:"expression"`
	// Explicit windows used (0 = simple start/end range)
	Windows int32 `json:"windows"`
}

WhatsappMeta struct for WhatsappMeta

func NewWhatsappMeta added in v1.21.51

func NewWhatsappMeta(file string, chatTxt string, format string, dateFormat string, timezone string, start string, end string, gapMinutes float32, minMessages int32, turns int32, systemLines int32, conversationsTotal int32, conversationsInWindow int32, monologuesDropped int32, conversationsSelected int32, voiceNote bool, expression bool, windows int32) *WhatsappMeta

NewWhatsappMeta instantiates a new WhatsappMeta 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 NewWhatsappMetaWithDefaults added in v1.21.51

func NewWhatsappMetaWithDefaults() *WhatsappMeta

NewWhatsappMetaWithDefaults instantiates a new WhatsappMeta 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 (*WhatsappMeta) GetChatTxt added in v1.21.51

func (o *WhatsappMeta) GetChatTxt() string

GetChatTxt returns the ChatTxt field value

func (*WhatsappMeta) GetChatTxtOk added in v1.21.51

func (o *WhatsappMeta) GetChatTxtOk() (*string, bool)

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

func (*WhatsappMeta) GetConversationsInWindow added in v1.21.51

func (o *WhatsappMeta) GetConversationsInWindow() int32

GetConversationsInWindow returns the ConversationsInWindow field value

func (*WhatsappMeta) GetConversationsInWindowOk added in v1.21.51

func (o *WhatsappMeta) GetConversationsInWindowOk() (*int32, bool)

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

func (*WhatsappMeta) GetConversationsSelected added in v1.21.51

func (o *WhatsappMeta) GetConversationsSelected() int32

GetConversationsSelected returns the ConversationsSelected field value

func (*WhatsappMeta) GetConversationsSelectedOk added in v1.21.51

func (o *WhatsappMeta) GetConversationsSelectedOk() (*int32, bool)

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

func (*WhatsappMeta) GetConversationsTotal added in v1.21.51

func (o *WhatsappMeta) GetConversationsTotal() int32

GetConversationsTotal returns the ConversationsTotal field value

func (*WhatsappMeta) GetConversationsTotalOk added in v1.21.51

func (o *WhatsappMeta) GetConversationsTotalOk() (*int32, bool)

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

func (*WhatsappMeta) GetDateFormat added in v1.21.51

func (o *WhatsappMeta) GetDateFormat() string

GetDateFormat returns the DateFormat field value

func (*WhatsappMeta) GetDateFormatOk added in v1.21.51

func (o *WhatsappMeta) GetDateFormatOk() (*string, bool)

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

func (*WhatsappMeta) GetEnd added in v1.21.51

func (o *WhatsappMeta) GetEnd() string

GetEnd returns the End field value

func (*WhatsappMeta) GetEndOk added in v1.21.51

func (o *WhatsappMeta) GetEndOk() (*string, bool)

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

func (*WhatsappMeta) GetExpression added in v1.21.54

func (o *WhatsappMeta) GetExpression() bool

GetExpression returns the Expression field value

func (*WhatsappMeta) GetExpressionOk added in v1.21.54

func (o *WhatsappMeta) GetExpressionOk() (*bool, bool)

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

func (*WhatsappMeta) GetFile added in v1.21.51

func (o *WhatsappMeta) GetFile() string

GetFile returns the File field value

func (*WhatsappMeta) GetFileOk added in v1.21.51

func (o *WhatsappMeta) GetFileOk() (*string, bool)

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

func (*WhatsappMeta) GetFormat added in v1.21.51

func (o *WhatsappMeta) GetFormat() string

GetFormat returns the Format field value

func (*WhatsappMeta) GetFormatOk added in v1.21.51

func (o *WhatsappMeta) GetFormatOk() (*string, bool)

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

func (*WhatsappMeta) GetGapMinutes added in v1.21.51

func (o *WhatsappMeta) GetGapMinutes() float32

GetGapMinutes returns the GapMinutes field value

func (*WhatsappMeta) GetGapMinutesOk added in v1.21.51

func (o *WhatsappMeta) GetGapMinutesOk() (*float32, bool)

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

func (*WhatsappMeta) GetMinMessages added in v1.21.51

func (o *WhatsappMeta) GetMinMessages() int32

GetMinMessages returns the MinMessages field value

func (*WhatsappMeta) GetMinMessagesOk added in v1.21.51

func (o *WhatsappMeta) GetMinMessagesOk() (*int32, bool)

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

func (*WhatsappMeta) GetMonologuesDropped added in v1.21.51

func (o *WhatsappMeta) GetMonologuesDropped() int32

GetMonologuesDropped returns the MonologuesDropped field value

func (*WhatsappMeta) GetMonologuesDroppedOk added in v1.21.51

func (o *WhatsappMeta) GetMonologuesDroppedOk() (*int32, bool)

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

func (*WhatsappMeta) GetStart added in v1.21.51

func (o *WhatsappMeta) GetStart() string

GetStart returns the Start field value

func (*WhatsappMeta) GetStartOk added in v1.21.51

func (o *WhatsappMeta) GetStartOk() (*string, bool)

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

func (*WhatsappMeta) GetSystemLines added in v1.21.51

func (o *WhatsappMeta) GetSystemLines() int32

GetSystemLines returns the SystemLines field value

func (*WhatsappMeta) GetSystemLinesOk added in v1.21.51

func (o *WhatsappMeta) GetSystemLinesOk() (*int32, bool)

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

func (*WhatsappMeta) GetTimezone added in v1.21.51

func (o *WhatsappMeta) GetTimezone() string

GetTimezone returns the Timezone field value

func (*WhatsappMeta) GetTimezoneOk added in v1.21.51

func (o *WhatsappMeta) GetTimezoneOk() (*string, bool)

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

func (*WhatsappMeta) GetTurns added in v1.21.51

func (o *WhatsappMeta) GetTurns() int32

GetTurns returns the Turns field value

func (*WhatsappMeta) GetTurnsOk added in v1.21.51

func (o *WhatsappMeta) GetTurnsOk() (*int32, bool)

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

func (*WhatsappMeta) GetVoiceNote added in v1.21.54

func (o *WhatsappMeta) GetVoiceNote() bool

GetVoiceNote returns the VoiceNote field value

func (*WhatsappMeta) GetVoiceNoteOk added in v1.21.54

func (o *WhatsappMeta) GetVoiceNoteOk() (*bool, bool)

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

func (*WhatsappMeta) GetWindows added in v1.21.67

func (o *WhatsappMeta) GetWindows() int32

GetWindows returns the Windows field value

func (*WhatsappMeta) GetWindowsOk added in v1.21.67

func (o *WhatsappMeta) GetWindowsOk() (*int32, bool)

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

func (WhatsappMeta) MarshalJSON added in v1.21.51

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

func (*WhatsappMeta) SetChatTxt added in v1.21.51

func (o *WhatsappMeta) SetChatTxt(v string)

SetChatTxt sets field value

func (*WhatsappMeta) SetConversationsInWindow added in v1.21.51

func (o *WhatsappMeta) SetConversationsInWindow(v int32)

SetConversationsInWindow sets field value

func (*WhatsappMeta) SetConversationsSelected added in v1.21.51

func (o *WhatsappMeta) SetConversationsSelected(v int32)

SetConversationsSelected sets field value

func (*WhatsappMeta) SetConversationsTotal added in v1.21.51

func (o *WhatsappMeta) SetConversationsTotal(v int32)

SetConversationsTotal sets field value

func (*WhatsappMeta) SetDateFormat added in v1.21.51

func (o *WhatsappMeta) SetDateFormat(v string)

SetDateFormat sets field value

func (*WhatsappMeta) SetEnd added in v1.21.51

func (o *WhatsappMeta) SetEnd(v string)

SetEnd sets field value

func (*WhatsappMeta) SetExpression added in v1.21.54

func (o *WhatsappMeta) SetExpression(v bool)

SetExpression sets field value

func (*WhatsappMeta) SetFile added in v1.21.51

func (o *WhatsappMeta) SetFile(v string)

SetFile sets field value

func (*WhatsappMeta) SetFormat added in v1.21.51

func (o *WhatsappMeta) SetFormat(v string)

SetFormat sets field value

func (*WhatsappMeta) SetGapMinutes added in v1.21.51

func (o *WhatsappMeta) SetGapMinutes(v float32)

SetGapMinutes sets field value

func (*WhatsappMeta) SetMinMessages added in v1.21.51

func (o *WhatsappMeta) SetMinMessages(v int32)

SetMinMessages sets field value

func (*WhatsappMeta) SetMonologuesDropped added in v1.21.51

func (o *WhatsappMeta) SetMonologuesDropped(v int32)

SetMonologuesDropped sets field value

func (*WhatsappMeta) SetStart added in v1.21.51

func (o *WhatsappMeta) SetStart(v string)

SetStart sets field value

func (*WhatsappMeta) SetSystemLines added in v1.21.51

func (o *WhatsappMeta) SetSystemLines(v int32)

SetSystemLines sets field value

func (*WhatsappMeta) SetTimezone added in v1.21.51

func (o *WhatsappMeta) SetTimezone(v string)

SetTimezone sets field value

func (*WhatsappMeta) SetTurns added in v1.21.51

func (o *WhatsappMeta) SetTurns(v int32)

SetTurns sets field value

func (*WhatsappMeta) SetVoiceNote added in v1.21.54

func (o *WhatsappMeta) SetVoiceNote(v bool)

SetVoiceNote sets field value

func (*WhatsappMeta) SetWindows added in v1.21.67

func (o *WhatsappMeta) SetWindows(v int32)

SetWindows sets field value

func (WhatsappMeta) ToMap added in v1.21.51

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

func (*WhatsappMeta) UnmarshalJSON added in v1.21.51

func (o *WhatsappMeta) UnmarshalJSON(data []byte) (err error)

type WhatsappPreviewItem added in v1.21.67

type WhatsappPreviewItem struct {
	// Stable id: yyyymmddhhmm-<first speaker>[-xN for >2 speakers]
	ConversationId string `json:"conversation_id"`
	// Conversation start (ISO)
	FirstAt string `json:"first_at"`
	// Conversation end (ISO)
	LastAt string `json:"last_at"`
	// Conversation duration in minutes
	DurationMinutes float32 `json:"duration_minutes"`
	// Messages in this conversation
	Messages int32 `json:"messages"`
	// Characters of this conversation (estimate: media text is only replaced by tokens on extraction)
	Characters int32 `json:"characters"`
	// Media of this conversation
	Media WhatsappPreviewItemMedia `json:"media"`
	// Credits of this conversation
	Credits WhatsappPreviewItemCredits `json:"credits"`
}

WhatsappPreviewItem struct for WhatsappPreviewItem

func NewWhatsappPreviewItem added in v1.21.67

func NewWhatsappPreviewItem(conversationId string, firstAt string, lastAt string, durationMinutes float32, messages int32, characters int32, media WhatsappPreviewItemMedia, credits WhatsappPreviewItemCredits) *WhatsappPreviewItem

NewWhatsappPreviewItem instantiates a new WhatsappPreviewItem 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 NewWhatsappPreviewItemWithDefaults added in v1.21.67

func NewWhatsappPreviewItemWithDefaults() *WhatsappPreviewItem

NewWhatsappPreviewItemWithDefaults instantiates a new WhatsappPreviewItem 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 (*WhatsappPreviewItem) GetCharacters added in v1.21.67

func (o *WhatsappPreviewItem) GetCharacters() int32

GetCharacters returns the Characters field value

func (*WhatsappPreviewItem) GetCharactersOk added in v1.21.67

func (o *WhatsappPreviewItem) GetCharactersOk() (*int32, bool)

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

func (*WhatsappPreviewItem) GetConversationId added in v1.21.67

func (o *WhatsappPreviewItem) GetConversationId() string

GetConversationId returns the ConversationId field value

func (*WhatsappPreviewItem) GetConversationIdOk added in v1.21.67

func (o *WhatsappPreviewItem) GetConversationIdOk() (*string, bool)

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

func (*WhatsappPreviewItem) GetCredits added in v1.21.67

GetCredits returns the Credits field value

func (*WhatsappPreviewItem) GetCreditsOk added in v1.21.67

func (o *WhatsappPreviewItem) GetCreditsOk() (*WhatsappPreviewItemCredits, bool)

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

func (*WhatsappPreviewItem) GetDurationMinutes added in v1.21.67

func (o *WhatsappPreviewItem) GetDurationMinutes() float32

GetDurationMinutes returns the DurationMinutes field value

func (*WhatsappPreviewItem) GetDurationMinutesOk added in v1.21.67

func (o *WhatsappPreviewItem) GetDurationMinutesOk() (*float32, bool)

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

func (*WhatsappPreviewItem) GetFirstAt added in v1.21.67

func (o *WhatsappPreviewItem) GetFirstAt() string

GetFirstAt returns the FirstAt field value

func (*WhatsappPreviewItem) GetFirstAtOk added in v1.21.67

func (o *WhatsappPreviewItem) GetFirstAtOk() (*string, bool)

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

func (*WhatsappPreviewItem) GetLastAt added in v1.21.67

func (o *WhatsappPreviewItem) GetLastAt() string

GetLastAt returns the LastAt field value

func (*WhatsappPreviewItem) GetLastAtOk added in v1.21.67

func (o *WhatsappPreviewItem) GetLastAtOk() (*string, bool)

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

func (*WhatsappPreviewItem) GetMedia added in v1.21.67

GetMedia returns the Media field value

func (*WhatsappPreviewItem) GetMediaOk added in v1.21.67

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

func (*WhatsappPreviewItem) GetMessages added in v1.21.67

func (o *WhatsappPreviewItem) GetMessages() int32

GetMessages returns the Messages field value

func (*WhatsappPreviewItem) GetMessagesOk added in v1.21.67

func (o *WhatsappPreviewItem) GetMessagesOk() (*int32, bool)

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

func (WhatsappPreviewItem) MarshalJSON added in v1.21.67

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

func (*WhatsappPreviewItem) SetCharacters added in v1.21.67

func (o *WhatsappPreviewItem) SetCharacters(v int32)

SetCharacters sets field value

func (*WhatsappPreviewItem) SetConversationId added in v1.21.67

func (o *WhatsappPreviewItem) SetConversationId(v string)

SetConversationId sets field value

func (*WhatsappPreviewItem) SetCredits added in v1.21.67

SetCredits sets field value

func (*WhatsappPreviewItem) SetDurationMinutes added in v1.21.67

func (o *WhatsappPreviewItem) SetDurationMinutes(v float32)

SetDurationMinutes sets field value

func (*WhatsappPreviewItem) SetFirstAt added in v1.21.67

func (o *WhatsappPreviewItem) SetFirstAt(v string)

SetFirstAt sets field value

func (*WhatsappPreviewItem) SetLastAt added in v1.21.67

func (o *WhatsappPreviewItem) SetLastAt(v string)

SetLastAt sets field value

func (*WhatsappPreviewItem) SetMedia added in v1.21.67

SetMedia sets field value

func (*WhatsappPreviewItem) SetMessages added in v1.21.67

func (o *WhatsappPreviewItem) SetMessages(v int32)

SetMessages sets field value

func (WhatsappPreviewItem) ToMap added in v1.21.67

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

func (*WhatsappPreviewItem) UnmarshalJSON added in v1.21.67

func (o *WhatsappPreviewItem) UnmarshalJSON(data []byte) (err error)

type WhatsappPreviewItemBreakdown added in v1.21.67

type WhatsappPreviewItemBreakdown struct {
	// Conversation credit (0,15)
	Conversation float32 `json:"conversation"`
	// Figurinha credits of this conversation
	Figurinha float32 `json:"figurinha"`
	// GIF credits of this conversation
	Gif float32 `json:"gif"`
	// Emoji credits of this conversation
	Emoji float32 `json:"emoji"`
	// Audio credits of this conversation
	Audio float32 `json:"audio"`
}

WhatsappPreviewItemBreakdown struct for WhatsappPreviewItemBreakdown

func NewWhatsappPreviewItemBreakdown added in v1.21.67

func NewWhatsappPreviewItemBreakdown(conversation float32, figurinha float32, gif float32, emoji float32, audio float32) *WhatsappPreviewItemBreakdown

NewWhatsappPreviewItemBreakdown instantiates a new WhatsappPreviewItemBreakdown 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 NewWhatsappPreviewItemBreakdownWithDefaults added in v1.21.67

func NewWhatsappPreviewItemBreakdownWithDefaults() *WhatsappPreviewItemBreakdown

NewWhatsappPreviewItemBreakdownWithDefaults instantiates a new WhatsappPreviewItemBreakdown 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 (*WhatsappPreviewItemBreakdown) GetAudio added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) GetAudio() float32

GetAudio returns the Audio field value

func (*WhatsappPreviewItemBreakdown) GetAudioOk added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) GetAudioOk() (*float32, bool)

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

func (*WhatsappPreviewItemBreakdown) GetConversation added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) GetConversation() float32

GetConversation returns the Conversation field value

func (*WhatsappPreviewItemBreakdown) GetConversationOk added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) GetConversationOk() (*float32, bool)

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

func (*WhatsappPreviewItemBreakdown) GetEmoji added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) GetEmoji() float32

GetEmoji returns the Emoji field value

func (*WhatsappPreviewItemBreakdown) GetEmojiOk added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) GetEmojiOk() (*float32, bool)

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

func (*WhatsappPreviewItemBreakdown) GetFigurinha added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) GetFigurinha() float32

GetFigurinha returns the Figurinha field value

func (*WhatsappPreviewItemBreakdown) GetFigurinhaOk added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) GetFigurinhaOk() (*float32, bool)

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

func (*WhatsappPreviewItemBreakdown) GetGif added in v1.21.67

GetGif returns the Gif field value

func (*WhatsappPreviewItemBreakdown) GetGifOk added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) GetGifOk() (*float32, bool)

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

func (WhatsappPreviewItemBreakdown) MarshalJSON added in v1.21.67

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

func (*WhatsappPreviewItemBreakdown) SetAudio added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) SetAudio(v float32)

SetAudio sets field value

func (*WhatsappPreviewItemBreakdown) SetConversation added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) SetConversation(v float32)

SetConversation sets field value

func (*WhatsappPreviewItemBreakdown) SetEmoji added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) SetEmoji(v float32)

SetEmoji sets field value

func (*WhatsappPreviewItemBreakdown) SetFigurinha added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) SetFigurinha(v float32)

SetFigurinha sets field value

func (*WhatsappPreviewItemBreakdown) SetGif added in v1.21.67

SetGif sets field value

func (WhatsappPreviewItemBreakdown) ToMap added in v1.21.67

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

func (*WhatsappPreviewItemBreakdown) UnmarshalJSON added in v1.21.67

func (o *WhatsappPreviewItemBreakdown) UnmarshalJSON(data []byte) (err error)

type WhatsappPreviewItemCredits added in v1.21.67

type WhatsappPreviewItemCredits struct {
	// Credits of THIS conversation (2 decimals, exact fraction — the charge is ONE ceil on the batch total)
	Total float32 `json:"total"`
	// Credits by component for THIS conversation
	Breakdown WhatsappPreviewItemBreakdown `json:"breakdown"`
}

WhatsappPreviewItemCredits struct for WhatsappPreviewItemCredits

func NewWhatsappPreviewItemCredits added in v1.21.67

func NewWhatsappPreviewItemCredits(total float32, breakdown WhatsappPreviewItemBreakdown) *WhatsappPreviewItemCredits

NewWhatsappPreviewItemCredits instantiates a new WhatsappPreviewItemCredits 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 NewWhatsappPreviewItemCreditsWithDefaults added in v1.21.67

func NewWhatsappPreviewItemCreditsWithDefaults() *WhatsappPreviewItemCredits

NewWhatsappPreviewItemCreditsWithDefaults instantiates a new WhatsappPreviewItemCredits 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 (*WhatsappPreviewItemCredits) GetBreakdown added in v1.21.67

GetBreakdown returns the Breakdown field value

func (*WhatsappPreviewItemCredits) GetBreakdownOk added in v1.21.67

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

func (*WhatsappPreviewItemCredits) GetTotal added in v1.21.67

func (o *WhatsappPreviewItemCredits) GetTotal() float32

GetTotal returns the Total field value

func (*WhatsappPreviewItemCredits) GetTotalOk added in v1.21.67

func (o *WhatsappPreviewItemCredits) GetTotalOk() (*float32, bool)

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

func (WhatsappPreviewItemCredits) MarshalJSON added in v1.21.67

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

func (*WhatsappPreviewItemCredits) SetBreakdown added in v1.21.67

SetBreakdown sets field value

func (*WhatsappPreviewItemCredits) SetTotal added in v1.21.67

func (o *WhatsappPreviewItemCredits) SetTotal(v float32)

SetTotal sets field value

func (WhatsappPreviewItemCredits) ToMap added in v1.21.67

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

func (*WhatsappPreviewItemCredits) UnmarshalJSON added in v1.21.67

func (o *WhatsappPreviewItemCredits) UnmarshalJSON(data []byte) (err error)

type WhatsappPreviewItemMedia added in v1.21.67

type WhatsappPreviewItemMedia struct {
	// Figurinha occurrences in this conversation (0 quando expression=false)
	Figurinha int32 `json:"figurinha"`
	// GIF occurrences in this conversation (0 quando expression=false)
	Gif int32 `json:"gif"`
	// Emoji occurrences in this conversation (0 quando expression=false)
	Emoji int32 `json:"emoji"`
	// Voice/audio/video turns in this conversation (cobra 0,19/segundo SO quando voice_note=true)
	Ptt int32 `json:"ptt"`
	// Voice/video SECONDS counted in this conversation (0 quando voice_note=false)
	PttSeconds float32 `json:"ptt_seconds"`
	// Image/document turns in this conversation (ANEXO: nunca cobrado)
	Anexos int32 `json:"anexos"`
	// Media turns by type in THIS conversation (voz/audio/video/imagem/figurinha/gif/arquivo/oculta/chamada)
	ByType map[string]int32 `json:"by_type"`
}

WhatsappPreviewItemMedia struct for WhatsappPreviewItemMedia

func NewWhatsappPreviewItemMedia added in v1.21.67

func NewWhatsappPreviewItemMedia(figurinha int32, gif int32, emoji int32, ptt int32, pttSeconds float32, anexos int32, byType map[string]int32) *WhatsappPreviewItemMedia

NewWhatsappPreviewItemMedia instantiates a new WhatsappPreviewItemMedia 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 NewWhatsappPreviewItemMediaWithDefaults added in v1.21.67

func NewWhatsappPreviewItemMediaWithDefaults() *WhatsappPreviewItemMedia

NewWhatsappPreviewItemMediaWithDefaults instantiates a new WhatsappPreviewItemMedia 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 (*WhatsappPreviewItemMedia) GetAnexos added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetAnexos() int32

GetAnexos returns the Anexos field value

func (*WhatsappPreviewItemMedia) GetAnexosOk added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetAnexosOk() (*int32, bool)

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

func (*WhatsappPreviewItemMedia) GetByType added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetByType() map[string]int32

GetByType returns the ByType field value

func (*WhatsappPreviewItemMedia) GetByTypeOk added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetByTypeOk() (map[string]int32, bool)

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

func (*WhatsappPreviewItemMedia) GetEmoji added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetEmoji() int32

GetEmoji returns the Emoji field value

func (*WhatsappPreviewItemMedia) GetEmojiOk added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetEmojiOk() (*int32, bool)

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

func (*WhatsappPreviewItemMedia) GetFigurinha added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetFigurinha() int32

GetFigurinha returns the Figurinha field value

func (*WhatsappPreviewItemMedia) GetFigurinhaOk added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetFigurinhaOk() (*int32, bool)

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

func (*WhatsappPreviewItemMedia) GetGif added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetGif() int32

GetGif returns the Gif field value

func (*WhatsappPreviewItemMedia) GetGifOk added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetGifOk() (*int32, bool)

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

func (*WhatsappPreviewItemMedia) GetPtt added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetPtt() int32

GetPtt returns the Ptt field value

func (*WhatsappPreviewItemMedia) GetPttOk added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetPttOk() (*int32, bool)

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

func (*WhatsappPreviewItemMedia) GetPttSeconds added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetPttSeconds() float32

GetPttSeconds returns the PttSeconds field value

func (*WhatsappPreviewItemMedia) GetPttSecondsOk added in v1.21.67

func (o *WhatsappPreviewItemMedia) GetPttSecondsOk() (*float32, bool)

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

func (WhatsappPreviewItemMedia) MarshalJSON added in v1.21.67

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

func (*WhatsappPreviewItemMedia) SetAnexos added in v1.21.67

func (o *WhatsappPreviewItemMedia) SetAnexos(v int32)

SetAnexos sets field value

func (*WhatsappPreviewItemMedia) SetByType added in v1.21.67

func (o *WhatsappPreviewItemMedia) SetByType(v map[string]int32)

SetByType sets field value

func (*WhatsappPreviewItemMedia) SetEmoji added in v1.21.67

func (o *WhatsappPreviewItemMedia) SetEmoji(v int32)

SetEmoji sets field value

func (*WhatsappPreviewItemMedia) SetFigurinha added in v1.21.67

func (o *WhatsappPreviewItemMedia) SetFigurinha(v int32)

SetFigurinha sets field value

func (*WhatsappPreviewItemMedia) SetGif added in v1.21.67

func (o *WhatsappPreviewItemMedia) SetGif(v int32)

SetGif sets field value

func (*WhatsappPreviewItemMedia) SetPtt added in v1.21.67

func (o *WhatsappPreviewItemMedia) SetPtt(v int32)

SetPtt sets field value

func (*WhatsappPreviewItemMedia) SetPttSeconds added in v1.21.67

func (o *WhatsappPreviewItemMedia) SetPttSeconds(v float32)

SetPttSeconds sets field value

func (WhatsappPreviewItemMedia) ToMap added in v1.21.67

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

func (*WhatsappPreviewItemMedia) UnmarshalJSON added in v1.21.67

func (o *WhatsappPreviewItemMedia) UnmarshalJSON(data []byte) (err error)

type WhatsappPreviewParams added in v1.21.67

type WhatsappPreviewParams struct {
	// Window start actually used (file period when start/end are omitted in dry_run)
	Start string `json:"start"`
	// Window end actually used (file period when start/end are omitted in dry_run)
	End string `json:"end"`
	// Timezone informed
	Timezone string `json:"timezone"`
	// Date order used
	DateFormat string `json:"date_format"`
	// Gap used to split conversations
	GapMinutes float32 `json:"gap_minutes"`
	// Minimum messages per conversation
	MinMessages int32 `json:"min_messages"`
	// Voice/video medias would be transcribed (charge flag)
	VoiceNote bool `json:"voice_note"`
	// Visual expressions would be described (charge flag)
	Expression bool `json:"expression"`
}

WhatsappPreviewParams struct for WhatsappPreviewParams

func NewWhatsappPreviewParams added in v1.21.67

func NewWhatsappPreviewParams(start string, end string, timezone string, dateFormat string, gapMinutes float32, minMessages int32, voiceNote bool, expression bool) *WhatsappPreviewParams

NewWhatsappPreviewParams instantiates a new WhatsappPreviewParams 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 NewWhatsappPreviewParamsWithDefaults added in v1.21.67

func NewWhatsappPreviewParamsWithDefaults() *WhatsappPreviewParams

NewWhatsappPreviewParamsWithDefaults instantiates a new WhatsappPreviewParams 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 (*WhatsappPreviewParams) GetDateFormat added in v1.21.67

func (o *WhatsappPreviewParams) GetDateFormat() string

GetDateFormat returns the DateFormat field value

func (*WhatsappPreviewParams) GetDateFormatOk added in v1.21.67

func (o *WhatsappPreviewParams) GetDateFormatOk() (*string, bool)

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

func (*WhatsappPreviewParams) GetEnd added in v1.21.67

func (o *WhatsappPreviewParams) GetEnd() string

GetEnd returns the End field value

func (*WhatsappPreviewParams) GetEndOk added in v1.21.67

func (o *WhatsappPreviewParams) GetEndOk() (*string, bool)

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

func (*WhatsappPreviewParams) GetExpression added in v1.21.67

func (o *WhatsappPreviewParams) GetExpression() bool

GetExpression returns the Expression field value

func (*WhatsappPreviewParams) GetExpressionOk added in v1.21.67

func (o *WhatsappPreviewParams) GetExpressionOk() (*bool, bool)

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

func (*WhatsappPreviewParams) GetGapMinutes added in v1.21.67

func (o *WhatsappPreviewParams) GetGapMinutes() float32

GetGapMinutes returns the GapMinutes field value

func (*WhatsappPreviewParams) GetGapMinutesOk added in v1.21.67

func (o *WhatsappPreviewParams) GetGapMinutesOk() (*float32, bool)

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

func (*WhatsappPreviewParams) GetMinMessages added in v1.21.67

func (o *WhatsappPreviewParams) GetMinMessages() int32

GetMinMessages returns the MinMessages field value

func (*WhatsappPreviewParams) GetMinMessagesOk added in v1.21.67

func (o *WhatsappPreviewParams) GetMinMessagesOk() (*int32, bool)

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

func (*WhatsappPreviewParams) GetStart added in v1.21.67

func (o *WhatsappPreviewParams) GetStart() string

GetStart returns the Start field value

func (*WhatsappPreviewParams) GetStartOk added in v1.21.67

func (o *WhatsappPreviewParams) GetStartOk() (*string, bool)

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

func (*WhatsappPreviewParams) GetTimezone added in v1.21.67

func (o *WhatsappPreviewParams) GetTimezone() string

GetTimezone returns the Timezone field value

func (*WhatsappPreviewParams) GetTimezoneOk added in v1.21.67

func (o *WhatsappPreviewParams) GetTimezoneOk() (*string, bool)

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

func (*WhatsappPreviewParams) GetVoiceNote added in v1.21.67

func (o *WhatsappPreviewParams) GetVoiceNote() bool

GetVoiceNote returns the VoiceNote field value

func (*WhatsappPreviewParams) GetVoiceNoteOk added in v1.21.67

func (o *WhatsappPreviewParams) GetVoiceNoteOk() (*bool, bool)

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

func (WhatsappPreviewParams) MarshalJSON added in v1.21.67

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

func (*WhatsappPreviewParams) SetDateFormat added in v1.21.67

func (o *WhatsappPreviewParams) SetDateFormat(v string)

SetDateFormat sets field value

func (*WhatsappPreviewParams) SetEnd added in v1.21.67

func (o *WhatsappPreviewParams) SetEnd(v string)

SetEnd sets field value

func (*WhatsappPreviewParams) SetExpression added in v1.21.67

func (o *WhatsappPreviewParams) SetExpression(v bool)

SetExpression sets field value

func (*WhatsappPreviewParams) SetGapMinutes added in v1.21.67

func (o *WhatsappPreviewParams) SetGapMinutes(v float32)

SetGapMinutes sets field value

func (*WhatsappPreviewParams) SetMinMessages added in v1.21.67

func (o *WhatsappPreviewParams) SetMinMessages(v int32)

SetMinMessages sets field value

func (*WhatsappPreviewParams) SetStart added in v1.21.67

func (o *WhatsappPreviewParams) SetStart(v string)

SetStart sets field value

func (*WhatsappPreviewParams) SetTimezone added in v1.21.67

func (o *WhatsappPreviewParams) SetTimezone(v string)

SetTimezone sets field value

func (*WhatsappPreviewParams) SetVoiceNote added in v1.21.67

func (o *WhatsappPreviewParams) SetVoiceNote(v bool)

SetVoiceNote sets field value

func (WhatsappPreviewParams) ToMap added in v1.21.67

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

func (*WhatsappPreviewParams) UnmarshalJSON added in v1.21.67

func (o *WhatsappPreviewParams) UnmarshalJSON(data []byte) (err error)

type WhatsappPreviewResponse added in v1.21.67

type WhatsappPreviewResponse struct {
	// Object type. Always 'whatsapp_preview'
	Object string `json:"object"`
	// Always true (preview: no AI call, no charge)
	DryRun bool `json:"dry_run"`
	// Always 0 in preview
	CreditsCharged int32 `json:"credits_charged"`
	// TOTAL credits = exact SUM of the selected conversations (2 decimals, NO rounding up)
	CreditsTotal float32 `json:"credits_total"`
	// Filter parameters actually used (reuse them in the extraction)
	Params WhatsappPreviewParams `json:"params"`
	// Explicit windows used (empty when a single start/end range was used)
	Windows []WhatsappPreviewWindow `json:"windows"`
	// Per-conversation detail (send back as `windows` to extract only what you want)
	Items []WhatsappPreviewItem `json:"items"`
	// Human-readable notices about what would be ignored
	Warnings []string `json:"warnings"`
}

WhatsappPreviewResponse struct for WhatsappPreviewResponse

func NewWhatsappPreviewResponse added in v1.21.67

func NewWhatsappPreviewResponse(object string, dryRun bool, creditsCharged int32, creditsTotal float32, params WhatsappPreviewParams, windows []WhatsappPreviewWindow, items []WhatsappPreviewItem, warnings []string) *WhatsappPreviewResponse

NewWhatsappPreviewResponse instantiates a new WhatsappPreviewResponse 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 NewWhatsappPreviewResponseWithDefaults added in v1.21.67

func NewWhatsappPreviewResponseWithDefaults() *WhatsappPreviewResponse

NewWhatsappPreviewResponseWithDefaults instantiates a new WhatsappPreviewResponse 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 (*WhatsappPreviewResponse) GetCreditsCharged added in v1.21.67

func (o *WhatsappPreviewResponse) GetCreditsCharged() int32

GetCreditsCharged returns the CreditsCharged field value

func (*WhatsappPreviewResponse) GetCreditsChargedOk added in v1.21.67

func (o *WhatsappPreviewResponse) GetCreditsChargedOk() (*int32, bool)

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

func (*WhatsappPreviewResponse) GetCreditsTotal added in v1.21.67

func (o *WhatsappPreviewResponse) GetCreditsTotal() float32

GetCreditsTotal returns the CreditsTotal field value

func (*WhatsappPreviewResponse) GetCreditsTotalOk added in v1.21.67

func (o *WhatsappPreviewResponse) GetCreditsTotalOk() (*float32, bool)

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

func (*WhatsappPreviewResponse) GetDryRun added in v1.21.67

func (o *WhatsappPreviewResponse) GetDryRun() bool

GetDryRun returns the DryRun field value

func (*WhatsappPreviewResponse) GetDryRunOk added in v1.21.67

func (o *WhatsappPreviewResponse) GetDryRunOk() (*bool, bool)

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

func (*WhatsappPreviewResponse) GetItems added in v1.21.67

GetItems returns the Items field value

func (*WhatsappPreviewResponse) GetItemsOk added in v1.21.67

func (o *WhatsappPreviewResponse) GetItemsOk() ([]WhatsappPreviewItem, bool)

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

func (*WhatsappPreviewResponse) GetObject added in v1.21.67

func (o *WhatsappPreviewResponse) GetObject() string

GetObject returns the Object field value

func (*WhatsappPreviewResponse) GetObjectOk added in v1.21.67

func (o *WhatsappPreviewResponse) GetObjectOk() (*string, bool)

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

func (*WhatsappPreviewResponse) GetParams added in v1.21.67

GetParams returns the Params field value

func (*WhatsappPreviewResponse) GetParamsOk added in v1.21.67

func (o *WhatsappPreviewResponse) GetParamsOk() (*WhatsappPreviewParams, bool)

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

func (*WhatsappPreviewResponse) GetWarnings added in v1.21.67

func (o *WhatsappPreviewResponse) GetWarnings() []string

GetWarnings returns the Warnings field value

func (*WhatsappPreviewResponse) GetWarningsOk added in v1.21.67

func (o *WhatsappPreviewResponse) GetWarningsOk() ([]string, bool)

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

func (*WhatsappPreviewResponse) GetWindows added in v1.21.67

GetWindows returns the Windows field value

func (*WhatsappPreviewResponse) GetWindowsOk added in v1.21.67

func (o *WhatsappPreviewResponse) GetWindowsOk() ([]WhatsappPreviewWindow, bool)

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

func (WhatsappPreviewResponse) MarshalJSON added in v1.21.67

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

func (*WhatsappPreviewResponse) SetCreditsCharged added in v1.21.67

func (o *WhatsappPreviewResponse) SetCreditsCharged(v int32)

SetCreditsCharged sets field value

func (*WhatsappPreviewResponse) SetCreditsTotal added in v1.21.67

func (o *WhatsappPreviewResponse) SetCreditsTotal(v float32)

SetCreditsTotal sets field value

func (*WhatsappPreviewResponse) SetDryRun added in v1.21.67

func (o *WhatsappPreviewResponse) SetDryRun(v bool)

SetDryRun sets field value

func (*WhatsappPreviewResponse) SetItems added in v1.21.67

SetItems sets field value

func (*WhatsappPreviewResponse) SetObject added in v1.21.67

func (o *WhatsappPreviewResponse) SetObject(v string)

SetObject sets field value

func (*WhatsappPreviewResponse) SetParams added in v1.21.67

SetParams sets field value

func (*WhatsappPreviewResponse) SetWarnings added in v1.21.67

func (o *WhatsappPreviewResponse) SetWarnings(v []string)

SetWarnings sets field value

func (*WhatsappPreviewResponse) SetWindows added in v1.21.67

SetWindows sets field value

func (WhatsappPreviewResponse) ToMap added in v1.21.67

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

func (*WhatsappPreviewResponse) UnmarshalJSON added in v1.21.67

func (o *WhatsappPreviewResponse) UnmarshalJSON(data []byte) (err error)

type WhatsappPreviewWindow added in v1.21.67

type WhatsappPreviewWindow struct {
	// Window start used
	Start string `json:"start"`
	// Window end used
	End string `json:"end"`
	// Conversations matched by THIS window (before the union dedupe)
	Selected int32 `json:"selected"`
}

WhatsappPreviewWindow struct for WhatsappPreviewWindow

func NewWhatsappPreviewWindow added in v1.21.67

func NewWhatsappPreviewWindow(start string, end string, selected int32) *WhatsappPreviewWindow

NewWhatsappPreviewWindow instantiates a new WhatsappPreviewWindow 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 NewWhatsappPreviewWindowWithDefaults added in v1.21.67

func NewWhatsappPreviewWindowWithDefaults() *WhatsappPreviewWindow

NewWhatsappPreviewWindowWithDefaults instantiates a new WhatsappPreviewWindow 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 (*WhatsappPreviewWindow) GetEnd added in v1.21.67

func (o *WhatsappPreviewWindow) GetEnd() string

GetEnd returns the End field value

func (*WhatsappPreviewWindow) GetEndOk added in v1.21.67

func (o *WhatsappPreviewWindow) GetEndOk() (*string, bool)

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

func (*WhatsappPreviewWindow) GetSelected added in v1.21.67

func (o *WhatsappPreviewWindow) GetSelected() int32

GetSelected returns the Selected field value

func (*WhatsappPreviewWindow) GetSelectedOk added in v1.21.67

func (o *WhatsappPreviewWindow) GetSelectedOk() (*int32, bool)

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

func (*WhatsappPreviewWindow) GetStart added in v1.21.67

func (o *WhatsappPreviewWindow) GetStart() string

GetStart returns the Start field value

func (*WhatsappPreviewWindow) GetStartOk added in v1.21.67

func (o *WhatsappPreviewWindow) GetStartOk() (*string, bool)

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

func (WhatsappPreviewWindow) MarshalJSON added in v1.21.67

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

func (*WhatsappPreviewWindow) SetEnd added in v1.21.67

func (o *WhatsappPreviewWindow) SetEnd(v string)

SetEnd sets field value

func (*WhatsappPreviewWindow) SetSelected added in v1.21.67

func (o *WhatsappPreviewWindow) SetSelected(v int32)

SetSelected sets field value

func (*WhatsappPreviewWindow) SetStart added in v1.21.67

func (o *WhatsappPreviewWindow) SetStart(v string)

SetStart sets field value

func (WhatsappPreviewWindow) ToMap added in v1.21.67

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

func (*WhatsappPreviewWindow) UnmarshalJSON added in v1.21.67

func (o *WhatsappPreviewWindow) UnmarshalJSON(data []byte) (err error)

type WhatsappSpeaker added in v1.21.51

type WhatsappSpeaker struct {
	// Speaker label (e.g. 'Speaker 1')
	Label string `json:"label"`
	// Participant name from the export
	Name string `json:"name"`
}

WhatsappSpeaker struct for WhatsappSpeaker

func NewWhatsappSpeaker added in v1.21.51

func NewWhatsappSpeaker(label string, name string) *WhatsappSpeaker

NewWhatsappSpeaker instantiates a new WhatsappSpeaker 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 NewWhatsappSpeakerWithDefaults added in v1.21.51

func NewWhatsappSpeakerWithDefaults() *WhatsappSpeaker

NewWhatsappSpeakerWithDefaults instantiates a new WhatsappSpeaker 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 (*WhatsappSpeaker) GetLabel added in v1.21.51

func (o *WhatsappSpeaker) GetLabel() string

GetLabel returns the Label field value

func (*WhatsappSpeaker) GetLabelOk added in v1.21.51

func (o *WhatsappSpeaker) GetLabelOk() (*string, bool)

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

func (*WhatsappSpeaker) GetName added in v1.21.51

func (o *WhatsappSpeaker) GetName() string

GetName returns the Name field value

func (*WhatsappSpeaker) GetNameOk added in v1.21.51

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

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

func (WhatsappSpeaker) MarshalJSON added in v1.21.51

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

func (*WhatsappSpeaker) SetLabel added in v1.21.51

func (o *WhatsappSpeaker) SetLabel(v string)

SetLabel sets field value

func (*WhatsappSpeaker) SetName added in v1.21.51

func (o *WhatsappSpeaker) SetName(v string)

SetName sets field value

func (WhatsappSpeaker) ToMap added in v1.21.51

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

func (*WhatsappSpeaker) UnmarshalJSON added in v1.21.51

func (o *WhatsappSpeaker) UnmarshalJSON(data []byte) (err error)

type WhatsappUsage added in v1.21.51

type WhatsappUsage struct {
	// Number of conversations returned
	Conversations int32 `json:"conversations"`
	// Total characters across conversations
	Characters int32 `json:"characters"`
	// Chargeable expression occurrences (figurinha+GIF+emoji); 0 quando expression=false
	Expressions int32 `json:"expressions"`
	// Figurinha occurrences (cobra 0,15 cada quando expression=true)
	ExpressionsFigurinha int32 `json:"expressions_figurinha"`
	// GIF occurrences (cobra 0,18 cada quando expression=true)
	ExpressionsGif int32 `json:"expressions_gif"`
	// Emoji occurrences (cobra 0,1 cada quando expression=true)
	ExpressionsEmoji int32 `json:"expressions_emoji"`
	// Voice notes (PTT) resolved to text
	VoiceNotes int32 `json:"voice_notes"`
	// Credits for conversations (0,15 each)
	ConversationCredits float32 `json:"conversation_credits"`
	// Credits for expressions (figurinha 0,15 / GIF 0,18 / emoji 0,1)
	ExpressionCredits float32 `json:"expression_credits"`
	// Credits for transcribed voice seconds (0,19 per second; 0 quando voice_note=false)
	AudioCredits float32 `json:"audio_credits"`
	// Total credits = round(conversation_credits + expression_credits + audio_credits, 2)
	CreditsConsumed float32 `json:"credits_consumed"`
	// Total processing time in milliseconds
	ProcessingMs int32 `json:"processing_ms"`
}

WhatsappUsage struct for WhatsappUsage

func NewWhatsappUsage added in v1.21.51

func NewWhatsappUsage(conversations int32, characters int32, expressions int32, expressionsFigurinha int32, expressionsGif int32, expressionsEmoji int32, voiceNotes int32, conversationCredits float32, expressionCredits float32, audioCredits float32, creditsConsumed float32, processingMs int32) *WhatsappUsage

NewWhatsappUsage instantiates a new WhatsappUsage 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 NewWhatsappUsageWithDefaults added in v1.21.51

func NewWhatsappUsageWithDefaults() *WhatsappUsage

NewWhatsappUsageWithDefaults instantiates a new WhatsappUsage 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 (*WhatsappUsage) GetAudioCredits added in v1.21.54

func (o *WhatsappUsage) GetAudioCredits() float32

GetAudioCredits returns the AudioCredits field value

func (*WhatsappUsage) GetAudioCreditsOk added in v1.21.54

func (o *WhatsappUsage) GetAudioCreditsOk() (*float32, bool)

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

func (*WhatsappUsage) GetCharacters added in v1.21.51

func (o *WhatsappUsage) GetCharacters() int32

GetCharacters returns the Characters field value

func (*WhatsappUsage) GetCharactersOk added in v1.21.51

func (o *WhatsappUsage) GetCharactersOk() (*int32, bool)

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

func (*WhatsappUsage) GetConversationCredits added in v1.21.54

func (o *WhatsappUsage) GetConversationCredits() float32

GetConversationCredits returns the ConversationCredits field value

func (*WhatsappUsage) GetConversationCreditsOk added in v1.21.54

func (o *WhatsappUsage) GetConversationCreditsOk() (*float32, bool)

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

func (*WhatsappUsage) GetConversations added in v1.21.51

func (o *WhatsappUsage) GetConversations() int32

GetConversations returns the Conversations field value

func (*WhatsappUsage) GetConversationsOk added in v1.21.51

func (o *WhatsappUsage) GetConversationsOk() (*int32, bool)

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

func (*WhatsappUsage) GetCreditsConsumed added in v1.21.51

func (o *WhatsappUsage) GetCreditsConsumed() float32

GetCreditsConsumed returns the CreditsConsumed field value

func (*WhatsappUsage) GetCreditsConsumedOk added in v1.21.51

func (o *WhatsappUsage) GetCreditsConsumedOk() (*float32, bool)

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

func (*WhatsappUsage) GetExpressionCredits added in v1.21.54

func (o *WhatsappUsage) GetExpressionCredits() float32

GetExpressionCredits returns the ExpressionCredits field value

func (*WhatsappUsage) GetExpressionCreditsOk added in v1.21.54

func (o *WhatsappUsage) GetExpressionCreditsOk() (*float32, bool)

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

func (*WhatsappUsage) GetExpressions added in v1.21.54

func (o *WhatsappUsage) GetExpressions() int32

GetExpressions returns the Expressions field value

func (*WhatsappUsage) GetExpressionsEmoji added in v1.21.67

func (o *WhatsappUsage) GetExpressionsEmoji() int32

GetExpressionsEmoji returns the ExpressionsEmoji field value

func (*WhatsappUsage) GetExpressionsEmojiOk added in v1.21.67

func (o *WhatsappUsage) GetExpressionsEmojiOk() (*int32, bool)

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

func (*WhatsappUsage) GetExpressionsFigurinha added in v1.21.67

func (o *WhatsappUsage) GetExpressionsFigurinha() int32

GetExpressionsFigurinha returns the ExpressionsFigurinha field value

func (*WhatsappUsage) GetExpressionsFigurinhaOk added in v1.21.67

func (o *WhatsappUsage) GetExpressionsFigurinhaOk() (*int32, bool)

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

func (*WhatsappUsage) GetExpressionsGif added in v1.21.67

func (o *WhatsappUsage) GetExpressionsGif() int32

GetExpressionsGif returns the ExpressionsGif field value

func (*WhatsappUsage) GetExpressionsGifOk added in v1.21.67

func (o *WhatsappUsage) GetExpressionsGifOk() (*int32, bool)

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

func (*WhatsappUsage) GetExpressionsOk added in v1.21.54

func (o *WhatsappUsage) GetExpressionsOk() (*int32, bool)

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

func (*WhatsappUsage) GetProcessingMs added in v1.21.51

func (o *WhatsappUsage) GetProcessingMs() int32

GetProcessingMs returns the ProcessingMs field value

func (*WhatsappUsage) GetProcessingMsOk added in v1.21.51

func (o *WhatsappUsage) GetProcessingMsOk() (*int32, bool)

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

func (*WhatsappUsage) GetVoiceNotes added in v1.21.54

func (o *WhatsappUsage) GetVoiceNotes() int32

GetVoiceNotes returns the VoiceNotes field value

func (*WhatsappUsage) GetVoiceNotesOk added in v1.21.54

func (o *WhatsappUsage) GetVoiceNotesOk() (*int32, bool)

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

func (WhatsappUsage) MarshalJSON added in v1.21.51

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

func (*WhatsappUsage) SetAudioCredits added in v1.21.54

func (o *WhatsappUsage) SetAudioCredits(v float32)

SetAudioCredits sets field value

func (*WhatsappUsage) SetCharacters added in v1.21.51

func (o *WhatsappUsage) SetCharacters(v int32)

SetCharacters sets field value

func (*WhatsappUsage) SetConversationCredits added in v1.21.54

func (o *WhatsappUsage) SetConversationCredits(v float32)

SetConversationCredits sets field value

func (*WhatsappUsage) SetConversations added in v1.21.51

func (o *WhatsappUsage) SetConversations(v int32)

SetConversations sets field value

func (*WhatsappUsage) SetCreditsConsumed added in v1.21.51

func (o *WhatsappUsage) SetCreditsConsumed(v float32)

SetCreditsConsumed sets field value

func (*WhatsappUsage) SetExpressionCredits added in v1.21.54

func (o *WhatsappUsage) SetExpressionCredits(v float32)

SetExpressionCredits sets field value

func (*WhatsappUsage) SetExpressions added in v1.21.54

func (o *WhatsappUsage) SetExpressions(v int32)

SetExpressions sets field value

func (*WhatsappUsage) SetExpressionsEmoji added in v1.21.67

func (o *WhatsappUsage) SetExpressionsEmoji(v int32)

SetExpressionsEmoji sets field value

func (*WhatsappUsage) SetExpressionsFigurinha added in v1.21.67

func (o *WhatsappUsage) SetExpressionsFigurinha(v int32)

SetExpressionsFigurinha sets field value

func (*WhatsappUsage) SetExpressionsGif added in v1.21.67

func (o *WhatsappUsage) SetExpressionsGif(v int32)

SetExpressionsGif sets field value

func (*WhatsappUsage) SetProcessingMs added in v1.21.51

func (o *WhatsappUsage) SetProcessingMs(v int32)

SetProcessingMs sets field value

func (*WhatsappUsage) SetVoiceNotes added in v1.21.54

func (o *WhatsappUsage) SetVoiceNotes(v int32)

SetVoiceNotes sets field value

func (WhatsappUsage) ToMap added in v1.21.51

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

func (*WhatsappUsage) UnmarshalJSON added in v1.21.51

func (o *WhatsappUsage) UnmarshalJSON(data []byte) (err error)

Source Files

Directories

Path Synopsis
tests
e2e

Jump to

Keyboard shortcuts

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