Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type BasicAuth
- type Configuration
- type GenericOpenAPIError
- type MappedNullable
- type ModelsAggregatedUsage
- func (o *ModelsAggregatedUsage) GetFirstStart() string
- func (o *ModelsAggregatedUsage) GetFirstStartOk() (*string, bool)
- func (o *ModelsAggregatedUsage) GetLastEnd() string
- func (o *ModelsAggregatedUsage) GetLastEndOk() (*string, bool)
- func (o *ModelsAggregatedUsage) GetSandboxCount() int32
- func (o *ModelsAggregatedUsage) GetSandboxCountOk() (*int32, bool)
- func (o *ModelsAggregatedUsage) GetTotalCPUSeconds() int32
- func (o *ModelsAggregatedUsage) GetTotalCPUSecondsOk() (*int32, bool)
- func (o *ModelsAggregatedUsage) GetTotalDiskGBSeconds() int32
- func (o *ModelsAggregatedUsage) GetTotalDiskGBSecondsOk() (*int32, bool)
- func (o *ModelsAggregatedUsage) GetTotalGPUSeconds() int32
- func (o *ModelsAggregatedUsage) GetTotalGPUSecondsOk() (*int32, bool)
- func (o *ModelsAggregatedUsage) GetTotalPrice() float32
- func (o *ModelsAggregatedUsage) GetTotalPriceOk() (*float32, bool)
- func (o *ModelsAggregatedUsage) GetTotalRAMGBSeconds() int32
- func (o *ModelsAggregatedUsage) GetTotalRAMGBSecondsOk() (*int32, bool)
- func (o *ModelsAggregatedUsage) HasFirstStart() bool
- func (o *ModelsAggregatedUsage) HasLastEnd() bool
- func (o *ModelsAggregatedUsage) HasSandboxCount() bool
- func (o *ModelsAggregatedUsage) HasTotalCPUSeconds() bool
- func (o *ModelsAggregatedUsage) HasTotalDiskGBSeconds() bool
- func (o *ModelsAggregatedUsage) HasTotalGPUSeconds() bool
- func (o *ModelsAggregatedUsage) HasTotalPrice() bool
- func (o *ModelsAggregatedUsage) HasTotalRAMGBSeconds() bool
- func (o ModelsAggregatedUsage) MarshalJSON() ([]byte, error)
- func (o *ModelsAggregatedUsage) SetFirstStart(v string)
- func (o *ModelsAggregatedUsage) SetLastEnd(v string)
- func (o *ModelsAggregatedUsage) SetSandboxCount(v int32)
- func (o *ModelsAggregatedUsage) SetTotalCPUSeconds(v int32)
- func (o *ModelsAggregatedUsage) SetTotalDiskGBSeconds(v int32)
- func (o *ModelsAggregatedUsage) SetTotalGPUSeconds(v int32)
- func (o *ModelsAggregatedUsage) SetTotalPrice(v float32)
- func (o *ModelsAggregatedUsage) SetTotalRAMGBSeconds(v int32)
- func (o ModelsAggregatedUsage) ToMap() (map[string]interface{}, error)
- func (o *ModelsAggregatedUsage) UnmarshalJSON(data []byte) (err error)
- type ModelsLogEntry
- func (o *ModelsLogEntry) GetBody() string
- func (o *ModelsLogEntry) GetBodyOk() (*string, bool)
- func (o *ModelsLogEntry) GetLogAttributes() map[string]string
- func (o *ModelsLogEntry) GetLogAttributesOk() (*map[string]string, bool)
- func (o *ModelsLogEntry) GetResourceAttributes() map[string]string
- func (o *ModelsLogEntry) GetResourceAttributesOk() (*map[string]string, bool)
- func (o *ModelsLogEntry) GetServiceName() string
- func (o *ModelsLogEntry) GetServiceNameOk() (*string, bool)
- func (o *ModelsLogEntry) GetSeverityNumber() int32
- func (o *ModelsLogEntry) GetSeverityNumberOk() (*int32, bool)
- func (o *ModelsLogEntry) GetSeverityText() string
- func (o *ModelsLogEntry) GetSeverityTextOk() (*string, bool)
- func (o *ModelsLogEntry) GetSpanId() string
- func (o *ModelsLogEntry) GetSpanIdOk() (*string, bool)
- func (o *ModelsLogEntry) GetTimestamp() string
- func (o *ModelsLogEntry) GetTimestampOk() (*string, bool)
- func (o *ModelsLogEntry) GetTraceId() string
- func (o *ModelsLogEntry) GetTraceIdOk() (*string, bool)
- func (o *ModelsLogEntry) HasBody() bool
- func (o *ModelsLogEntry) HasLogAttributes() bool
- func (o *ModelsLogEntry) HasResourceAttributes() bool
- func (o *ModelsLogEntry) HasServiceName() bool
- func (o *ModelsLogEntry) HasSeverityNumber() bool
- func (o *ModelsLogEntry) HasSeverityText() bool
- func (o *ModelsLogEntry) HasSpanId() bool
- func (o *ModelsLogEntry) HasTimestamp() bool
- func (o *ModelsLogEntry) HasTraceId() bool
- func (o ModelsLogEntry) MarshalJSON() ([]byte, error)
- func (o *ModelsLogEntry) SetBody(v string)
- func (o *ModelsLogEntry) SetLogAttributes(v map[string]string)
- func (o *ModelsLogEntry) SetResourceAttributes(v map[string]string)
- func (o *ModelsLogEntry) SetServiceName(v string)
- func (o *ModelsLogEntry) SetSeverityNumber(v int32)
- func (o *ModelsLogEntry) SetSeverityText(v string)
- func (o *ModelsLogEntry) SetSpanId(v string)
- func (o *ModelsLogEntry) SetTimestamp(v string)
- func (o *ModelsLogEntry) SetTraceId(v string)
- func (o ModelsLogEntry) ToMap() (map[string]interface{}, error)
- func (o *ModelsLogEntry) UnmarshalJSON(data []byte) (err error)
- type ModelsMetricPoint
- func (o *ModelsMetricPoint) GetMetricName() string
- func (o *ModelsMetricPoint) GetMetricNameOk() (*string, bool)
- func (o *ModelsMetricPoint) GetTimestamp() string
- func (o *ModelsMetricPoint) GetTimestampOk() (*string, bool)
- func (o *ModelsMetricPoint) GetValue() float64
- func (o *ModelsMetricPoint) GetValueOk() (*float64, bool)
- func (o *ModelsMetricPoint) HasMetricName() bool
- func (o *ModelsMetricPoint) HasTimestamp() bool
- func (o *ModelsMetricPoint) HasValue() bool
- func (o ModelsMetricPoint) MarshalJSON() ([]byte, error)
- func (o *ModelsMetricPoint) SetMetricName(v string)
- func (o *ModelsMetricPoint) SetTimestamp(v string)
- func (o *ModelsMetricPoint) SetValue(v float64)
- func (o ModelsMetricPoint) ToMap() (map[string]interface{}, error)
- func (o *ModelsMetricPoint) UnmarshalJSON(data []byte) (err error)
- type ModelsSandboxUsage
- func (o *ModelsSandboxUsage) GetFirstStart() string
- func (o *ModelsSandboxUsage) GetFirstStartOk() (*string, bool)
- func (o *ModelsSandboxUsage) GetLastEnd() string
- func (o *ModelsSandboxUsage) GetLastEndOk() (*string, bool)
- func (o *ModelsSandboxUsage) GetSandboxId() string
- func (o *ModelsSandboxUsage) GetSandboxIdOk() (*string, bool)
- func (o *ModelsSandboxUsage) GetTotalCPUSeconds() int32
- func (o *ModelsSandboxUsage) GetTotalCPUSecondsOk() (*int32, bool)
- func (o *ModelsSandboxUsage) GetTotalDiskGBSeconds() int32
- func (o *ModelsSandboxUsage) GetTotalDiskGBSecondsOk() (*int32, bool)
- func (o *ModelsSandboxUsage) GetTotalGPUSeconds() int32
- func (o *ModelsSandboxUsage) GetTotalGPUSecondsOk() (*int32, bool)
- func (o *ModelsSandboxUsage) GetTotalPrice() float32
- func (o *ModelsSandboxUsage) GetTotalPriceOk() (*float32, bool)
- func (o *ModelsSandboxUsage) GetTotalRAMGBSeconds() int32
- func (o *ModelsSandboxUsage) GetTotalRAMGBSecondsOk() (*int32, bool)
- func (o *ModelsSandboxUsage) HasFirstStart() bool
- func (o *ModelsSandboxUsage) HasLastEnd() bool
- func (o *ModelsSandboxUsage) HasSandboxId() bool
- func (o *ModelsSandboxUsage) HasTotalCPUSeconds() bool
- func (o *ModelsSandboxUsage) HasTotalDiskGBSeconds() bool
- func (o *ModelsSandboxUsage) HasTotalGPUSeconds() bool
- func (o *ModelsSandboxUsage) HasTotalPrice() bool
- func (o *ModelsSandboxUsage) HasTotalRAMGBSeconds() bool
- func (o ModelsSandboxUsage) MarshalJSON() ([]byte, error)
- func (o *ModelsSandboxUsage) SetFirstStart(v string)
- func (o *ModelsSandboxUsage) SetLastEnd(v string)
- func (o *ModelsSandboxUsage) SetSandboxId(v string)
- func (o *ModelsSandboxUsage) SetTotalCPUSeconds(v int32)
- func (o *ModelsSandboxUsage) SetTotalDiskGBSeconds(v int32)
- func (o *ModelsSandboxUsage) SetTotalGPUSeconds(v int32)
- func (o *ModelsSandboxUsage) SetTotalPrice(v float32)
- func (o *ModelsSandboxUsage) SetTotalRAMGBSeconds(v int32)
- func (o ModelsSandboxUsage) ToMap() (map[string]interface{}, error)
- func (o *ModelsSandboxUsage) UnmarshalJSON(data []byte) (err error)
- type ModelsSpan
- func (o *ModelsSpan) GetDurationMs() float32
- func (o *ModelsSpan) GetDurationMsOk() (*float32, bool)
- func (o *ModelsSpan) GetParentSpanId() string
- func (o *ModelsSpan) GetParentSpanIdOk() (*string, bool)
- func (o *ModelsSpan) GetSpanAttributes() map[string]string
- func (o *ModelsSpan) GetSpanAttributesOk() (*map[string]string, bool)
- func (o *ModelsSpan) GetSpanId() string
- func (o *ModelsSpan) GetSpanIdOk() (*string, bool)
- func (o *ModelsSpan) GetSpanName() string
- func (o *ModelsSpan) GetSpanNameOk() (*string, bool)
- func (o *ModelsSpan) GetStatusCode() string
- func (o *ModelsSpan) GetStatusCodeOk() (*string, bool)
- func (o *ModelsSpan) GetStatusMessage() string
- func (o *ModelsSpan) GetStatusMessageOk() (*string, bool)
- func (o *ModelsSpan) GetTimestamp() string
- func (o *ModelsSpan) GetTimestampOk() (*string, bool)
- func (o *ModelsSpan) GetTraceId() string
- func (o *ModelsSpan) GetTraceIdOk() (*string, bool)
- func (o *ModelsSpan) HasDurationMs() bool
- func (o *ModelsSpan) HasParentSpanId() bool
- func (o *ModelsSpan) HasSpanAttributes() bool
- func (o *ModelsSpan) HasSpanId() bool
- func (o *ModelsSpan) HasSpanName() bool
- func (o *ModelsSpan) HasStatusCode() bool
- func (o *ModelsSpan) HasStatusMessage() bool
- func (o *ModelsSpan) HasTimestamp() bool
- func (o *ModelsSpan) HasTraceId() bool
- func (o ModelsSpan) MarshalJSON() ([]byte, error)
- func (o *ModelsSpan) SetDurationMs(v float32)
- func (o *ModelsSpan) SetParentSpanId(v string)
- func (o *ModelsSpan) SetSpanAttributes(v map[string]string)
- func (o *ModelsSpan) SetSpanId(v string)
- func (o *ModelsSpan) SetSpanName(v string)
- func (o *ModelsSpan) SetStatusCode(v string)
- func (o *ModelsSpan) SetStatusMessage(v string)
- func (o *ModelsSpan) SetTimestamp(v string)
- func (o *ModelsSpan) SetTraceId(v string)
- func (o ModelsSpan) ToMap() (map[string]interface{}, error)
- func (o *ModelsSpan) UnmarshalJSON(data []byte) (err error)
- type ModelsTraceSummary
- func (o *ModelsTraceSummary) GetEndTime() string
- func (o *ModelsTraceSummary) GetEndTimeOk() (*string, bool)
- func (o *ModelsTraceSummary) GetRootSpanName() string
- func (o *ModelsTraceSummary) GetRootSpanNameOk() (*string, bool)
- func (o *ModelsTraceSummary) GetSpanCount() int32
- func (o *ModelsTraceSummary) GetSpanCountOk() (*int32, bool)
- func (o *ModelsTraceSummary) GetStartTime() string
- func (o *ModelsTraceSummary) GetStartTimeOk() (*string, bool)
- func (o *ModelsTraceSummary) GetStatusCode() string
- func (o *ModelsTraceSummary) GetStatusCodeOk() (*string, bool)
- func (o *ModelsTraceSummary) GetTotalDurationMs() float32
- func (o *ModelsTraceSummary) GetTotalDurationMsOk() (*float32, bool)
- func (o *ModelsTraceSummary) GetTraceId() string
- func (o *ModelsTraceSummary) GetTraceIdOk() (*string, bool)
- func (o *ModelsTraceSummary) HasEndTime() bool
- func (o *ModelsTraceSummary) HasRootSpanName() bool
- func (o *ModelsTraceSummary) HasSpanCount() bool
- func (o *ModelsTraceSummary) HasStartTime() bool
- func (o *ModelsTraceSummary) HasStatusCode() bool
- func (o *ModelsTraceSummary) HasTotalDurationMs() bool
- func (o *ModelsTraceSummary) HasTraceId() bool
- func (o ModelsTraceSummary) MarshalJSON() ([]byte, error)
- func (o *ModelsTraceSummary) SetEndTime(v string)
- func (o *ModelsTraceSummary) SetRootSpanName(v string)
- func (o *ModelsTraceSummary) SetSpanCount(v int32)
- func (o *ModelsTraceSummary) SetStartTime(v string)
- func (o *ModelsTraceSummary) SetStatusCode(v string)
- func (o *ModelsTraceSummary) SetTotalDurationMs(v float32)
- func (o *ModelsTraceSummary) SetTraceId(v string)
- func (o ModelsTraceSummary) ToMap() (map[string]interface{}, error)
- func (o *ModelsTraceSummary) UnmarshalJSON(data []byte) (err error)
- type ModelsUsageChartPoint
- func (o *ModelsUsageChartPoint) GetCpu() int32
- func (o *ModelsUsageChartPoint) GetCpuOk() (*int32, bool)
- func (o *ModelsUsageChartPoint) GetCpuPrice() float32
- func (o *ModelsUsageChartPoint) GetCpuPriceOk() (*float32, bool)
- func (o *ModelsUsageChartPoint) GetDiskGB() int32
- func (o *ModelsUsageChartPoint) GetDiskGBOk() (*int32, bool)
- func (o *ModelsUsageChartPoint) GetDiskPrice() float32
- func (o *ModelsUsageChartPoint) GetDiskPriceOk() (*float32, bool)
- func (o *ModelsUsageChartPoint) GetRamGB() int32
- func (o *ModelsUsageChartPoint) GetRamGBOk() (*int32, bool)
- func (o *ModelsUsageChartPoint) GetRamPrice() float32
- func (o *ModelsUsageChartPoint) GetRamPriceOk() (*float32, bool)
- func (o *ModelsUsageChartPoint) GetTime() string
- func (o *ModelsUsageChartPoint) GetTimeOk() (*string, bool)
- func (o *ModelsUsageChartPoint) HasCpu() bool
- func (o *ModelsUsageChartPoint) HasCpuPrice() bool
- func (o *ModelsUsageChartPoint) HasDiskGB() bool
- func (o *ModelsUsageChartPoint) HasDiskPrice() bool
- func (o *ModelsUsageChartPoint) HasRamGB() bool
- func (o *ModelsUsageChartPoint) HasRamPrice() bool
- func (o *ModelsUsageChartPoint) HasTime() bool
- func (o ModelsUsageChartPoint) MarshalJSON() ([]byte, error)
- func (o *ModelsUsageChartPoint) SetCpu(v int32)
- func (o *ModelsUsageChartPoint) SetCpuPrice(v float32)
- func (o *ModelsUsageChartPoint) SetDiskGB(v int32)
- func (o *ModelsUsageChartPoint) SetDiskPrice(v float32)
- func (o *ModelsUsageChartPoint) SetRamGB(v int32)
- func (o *ModelsUsageChartPoint) SetRamPrice(v float32)
- func (o *ModelsUsageChartPoint) SetTime(v string)
- func (o ModelsUsageChartPoint) ToMap() (map[string]interface{}, error)
- func (o *ModelsUsageChartPoint) UnmarshalJSON(data []byte) (err error)
- type ModelsUsagePeriod
- func (o *ModelsUsagePeriod) GetCpu() int32
- func (o *ModelsUsagePeriod) GetCpuOk() (*int32, bool)
- func (o *ModelsUsagePeriod) GetDiskGB() int32
- func (o *ModelsUsagePeriod) GetDiskGBOk() (*int32, bool)
- func (o *ModelsUsagePeriod) GetEndAt() string
- func (o *ModelsUsagePeriod) GetEndAtOk() (*string, bool)
- func (o *ModelsUsagePeriod) GetGpu() int32
- func (o *ModelsUsagePeriod) GetGpuOk() (*int32, bool)
- func (o *ModelsUsagePeriod) GetPrice() float32
- func (o *ModelsUsagePeriod) GetPriceOk() (*float32, bool)
- func (o *ModelsUsagePeriod) GetRamGB() int32
- func (o *ModelsUsagePeriod) GetRamGBOk() (*int32, bool)
- func (o *ModelsUsagePeriod) GetStartAt() string
- func (o *ModelsUsagePeriod) GetStartAtOk() (*string, bool)
- func (o *ModelsUsagePeriod) HasCpu() bool
- func (o *ModelsUsagePeriod) HasDiskGB() bool
- func (o *ModelsUsagePeriod) HasEndAt() bool
- func (o *ModelsUsagePeriod) HasGpu() bool
- func (o *ModelsUsagePeriod) HasPrice() bool
- func (o *ModelsUsagePeriod) HasRamGB() bool
- func (o *ModelsUsagePeriod) HasStartAt() bool
- func (o ModelsUsagePeriod) MarshalJSON() ([]byte, error)
- func (o *ModelsUsagePeriod) SetCpu(v int32)
- func (o *ModelsUsagePeriod) SetDiskGB(v int32)
- func (o *ModelsUsagePeriod) SetEndAt(v string)
- func (o *ModelsUsagePeriod) SetGpu(v int32)
- func (o *ModelsUsagePeriod) SetPrice(v float32)
- func (o *ModelsUsagePeriod) SetRamGB(v int32)
- func (o *ModelsUsagePeriod) SetStartAt(v string)
- func (o ModelsUsagePeriod) ToMap() (map[string]interface{}, error)
- func (o *ModelsUsagePeriod) UnmarshalJSON(data []byte) (err error)
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableModelsAggregatedUsage
- func (v NullableModelsAggregatedUsage) Get() *ModelsAggregatedUsage
- func (v NullableModelsAggregatedUsage) IsSet() bool
- func (v NullableModelsAggregatedUsage) MarshalJSON() ([]byte, error)
- func (v *NullableModelsAggregatedUsage) Set(val *ModelsAggregatedUsage)
- func (v *NullableModelsAggregatedUsage) UnmarshalJSON(src []byte) error
- func (v *NullableModelsAggregatedUsage) Unset()
- type NullableModelsLogEntry
- func (v NullableModelsLogEntry) Get() *ModelsLogEntry
- func (v NullableModelsLogEntry) IsSet() bool
- func (v NullableModelsLogEntry) MarshalJSON() ([]byte, error)
- func (v *NullableModelsLogEntry) Set(val *ModelsLogEntry)
- func (v *NullableModelsLogEntry) UnmarshalJSON(src []byte) error
- func (v *NullableModelsLogEntry) Unset()
- type NullableModelsMetricPoint
- func (v NullableModelsMetricPoint) Get() *ModelsMetricPoint
- func (v NullableModelsMetricPoint) IsSet() bool
- func (v NullableModelsMetricPoint) MarshalJSON() ([]byte, error)
- func (v *NullableModelsMetricPoint) Set(val *ModelsMetricPoint)
- func (v *NullableModelsMetricPoint) UnmarshalJSON(src []byte) error
- func (v *NullableModelsMetricPoint) Unset()
- type NullableModelsSandboxUsage
- func (v NullableModelsSandboxUsage) Get() *ModelsSandboxUsage
- func (v NullableModelsSandboxUsage) IsSet() bool
- func (v NullableModelsSandboxUsage) MarshalJSON() ([]byte, error)
- func (v *NullableModelsSandboxUsage) Set(val *ModelsSandboxUsage)
- func (v *NullableModelsSandboxUsage) UnmarshalJSON(src []byte) error
- func (v *NullableModelsSandboxUsage) Unset()
- type NullableModelsSpan
- type NullableModelsTraceSummary
- func (v NullableModelsTraceSummary) Get() *ModelsTraceSummary
- func (v NullableModelsTraceSummary) IsSet() bool
- func (v NullableModelsTraceSummary) MarshalJSON() ([]byte, error)
- func (v *NullableModelsTraceSummary) Set(val *ModelsTraceSummary)
- func (v *NullableModelsTraceSummary) UnmarshalJSON(src []byte) error
- func (v *NullableModelsTraceSummary) Unset()
- type NullableModelsUsageChartPoint
- func (v NullableModelsUsageChartPoint) Get() *ModelsUsageChartPoint
- func (v NullableModelsUsageChartPoint) IsSet() bool
- func (v NullableModelsUsageChartPoint) MarshalJSON() ([]byte, error)
- func (v *NullableModelsUsageChartPoint) Set(val *ModelsUsageChartPoint)
- func (v *NullableModelsUsageChartPoint) UnmarshalJSON(src []byte) error
- func (v *NullableModelsUsageChartPoint) Unset()
- type NullableModelsUsagePeriod
- func (v NullableModelsUsagePeriod) Get() *ModelsUsagePeriod
- func (v NullableModelsUsagePeriod) IsSet() bool
- func (v NullableModelsUsagePeriod) MarshalJSON() ([]byte, error)
- func (v *NullableModelsUsagePeriod) Set(val *ModelsUsagePeriod)
- func (v *NullableModelsUsagePeriod) UnmarshalJSON(src []byte) error
- func (v *NullableModelsUsagePeriod) Unset()
- type NullableString
- type NullableTime
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TelemetryAPI
- type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Execute() ([]ModelsLogEntry, *http.Response, error)
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) From(from string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Limit(limit int32) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Offset(offset int32) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Search(search string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Severity(severity string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) To(to string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
- type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) Execute() ([]ModelsMetricPoint, *http.Response, error)
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) From(from string) ...
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) MetricNames(metricNames string) ...
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) To(to string) ...
- type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) Execute() ([]ModelsTraceSummary, *http.Response, error)
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) From(from string) ...
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) Limit(limit int32) ...
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) Offset(offset int32) ...
- func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) To(to string) ...
- type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest
- type TelemetryAPIService
- func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGet(ctx context.Context, organizationId string, sandboxId string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
- func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetExecute(...) ([]ModelsLogEntry, *http.Response, error)
- func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet(ctx context.Context, organizationId string, sandboxId string) ...
- func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetExecute(...) ([]ModelsMetricPoint, *http.Response, error)
- func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGet(ctx context.Context, organizationId string, sandboxId string) ...
- func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetExecute(...) ([]ModelsTraceSummary, *http.Response, error)
- func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet(ctx context.Context, organizationId string, sandboxId string, traceId string) ...
- func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetExecute(...) ([]ModelsSpan, *http.Response, error)
- type UsageAPI
- type UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
- func (r UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) Execute() ([]ModelsUsagePeriod, *http.Response, error)
- func (r UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) From(from string) UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
- func (r UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) To(to string) UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
- type UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
- func (r UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) Execute() (*ModelsAggregatedUsage, *http.Response, error)
- func (r UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) From(from string) UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
- func (r UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) To(to string) UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
- type UsageAPIOrganizationOrganizationIdUsageChartGetRequest
- func (r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) Execute() ([]ModelsUsageChartPoint, *http.Response, error)
- func (r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) From(from string) UsageAPIOrganizationOrganizationIdUsageChartGetRequest
- func (r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) Region(region string) UsageAPIOrganizationOrganizationIdUsageChartGetRequest
- func (r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) To(to string) UsageAPIOrganizationOrganizationIdUsageChartGetRequest
- type UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
- func (r UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) Execute() ([]ModelsSandboxUsage, *http.Response, error)
- func (r UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) From(from string) UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
- func (r UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) To(to string) UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
- type UsageAPIService
- func (a *UsageAPIService) OrganizationOrganizationIdSandboxSandboxIdUsageGet(ctx context.Context, organizationId string, sandboxId string) UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
- func (a *UsageAPIService) OrganizationOrganizationIdSandboxSandboxIdUsageGetExecute(r UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) ([]ModelsUsagePeriod, *http.Response, error)
- func (a *UsageAPIService) OrganizationOrganizationIdUsageAggregatedGet(ctx context.Context, organizationId string) UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
- func (a *UsageAPIService) OrganizationOrganizationIdUsageAggregatedGetExecute(r UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) (*ModelsAggregatedUsage, *http.Response, error)
- func (a *UsageAPIService) OrganizationOrganizationIdUsageChartGet(ctx context.Context, organizationId string) UsageAPIOrganizationOrganizationIdUsageChartGetRequest
- func (a *UsageAPIService) OrganizationOrganizationIdUsageChartGetExecute(r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) ([]ModelsUsageChartPoint, *http.Response, error)
- func (a *UsageAPIService) OrganizationOrganizationIdUsageSandboxGet(ctx context.Context, organizationId string) UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
- func (a *UsageAPIService) OrganizationOrganizationIdUsageSandboxGetExecute(r UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) ([]ModelsSandboxUsage, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // 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") )
var ClientVersion = strings.TrimSpace(_clientVersion)
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
TelemetryAPI TelemetryAPI
UsageAPI UsageAPI
// contains filtered or unexported fields
}
APIClient manages communication with the Daytona Analytics API API vv0.4.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
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 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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
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 MappedNullable ¶
type ModelsAggregatedUsage ¶
type ModelsAggregatedUsage struct {
FirstStart *string `json:"firstStart,omitempty"`
LastEnd *string `json:"lastEnd,omitempty"`
SandboxCount *int32 `json:"sandboxCount,omitempty"`
TotalCPUSeconds *int32 `json:"totalCPUSeconds,omitempty"`
TotalDiskGBSeconds *int32 `json:"totalDiskGBSeconds,omitempty"`
TotalGPUSeconds *int32 `json:"totalGPUSeconds,omitempty"`
TotalPrice *float32 `json:"totalPrice,omitempty"`
TotalRAMGBSeconds *int32 `json:"totalRAMGBSeconds,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelsAggregatedUsage struct for ModelsAggregatedUsage
func NewModelsAggregatedUsage ¶
func NewModelsAggregatedUsage() *ModelsAggregatedUsage
NewModelsAggregatedUsage instantiates a new ModelsAggregatedUsage 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 NewModelsAggregatedUsageWithDefaults ¶
func NewModelsAggregatedUsageWithDefaults() *ModelsAggregatedUsage
NewModelsAggregatedUsageWithDefaults instantiates a new ModelsAggregatedUsage 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 (*ModelsAggregatedUsage) GetFirstStart ¶
func (o *ModelsAggregatedUsage) GetFirstStart() string
GetFirstStart returns the FirstStart field value if set, zero value otherwise.
func (*ModelsAggregatedUsage) GetFirstStartOk ¶
func (o *ModelsAggregatedUsage) GetFirstStartOk() (*string, bool)
GetFirstStartOk returns a tuple with the FirstStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsAggregatedUsage) GetLastEnd ¶
func (o *ModelsAggregatedUsage) GetLastEnd() string
GetLastEnd returns the LastEnd field value if set, zero value otherwise.
func (*ModelsAggregatedUsage) GetLastEndOk ¶
func (o *ModelsAggregatedUsage) GetLastEndOk() (*string, bool)
GetLastEndOk returns a tuple with the LastEnd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsAggregatedUsage) GetSandboxCount ¶
func (o *ModelsAggregatedUsage) GetSandboxCount() int32
GetSandboxCount returns the SandboxCount field value if set, zero value otherwise.
func (*ModelsAggregatedUsage) GetSandboxCountOk ¶
func (o *ModelsAggregatedUsage) GetSandboxCountOk() (*int32, bool)
GetSandboxCountOk returns a tuple with the SandboxCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsAggregatedUsage) GetTotalCPUSeconds ¶
func (o *ModelsAggregatedUsage) GetTotalCPUSeconds() int32
GetTotalCPUSeconds returns the TotalCPUSeconds field value if set, zero value otherwise.
func (*ModelsAggregatedUsage) GetTotalCPUSecondsOk ¶
func (o *ModelsAggregatedUsage) GetTotalCPUSecondsOk() (*int32, bool)
GetTotalCPUSecondsOk returns a tuple with the TotalCPUSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsAggregatedUsage) GetTotalDiskGBSeconds ¶
func (o *ModelsAggregatedUsage) GetTotalDiskGBSeconds() int32
GetTotalDiskGBSeconds returns the TotalDiskGBSeconds field value if set, zero value otherwise.
func (*ModelsAggregatedUsage) GetTotalDiskGBSecondsOk ¶
func (o *ModelsAggregatedUsage) GetTotalDiskGBSecondsOk() (*int32, bool)
GetTotalDiskGBSecondsOk returns a tuple with the TotalDiskGBSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsAggregatedUsage) GetTotalGPUSeconds ¶
func (o *ModelsAggregatedUsage) GetTotalGPUSeconds() int32
GetTotalGPUSeconds returns the TotalGPUSeconds field value if set, zero value otherwise.
func (*ModelsAggregatedUsage) GetTotalGPUSecondsOk ¶
func (o *ModelsAggregatedUsage) GetTotalGPUSecondsOk() (*int32, bool)
GetTotalGPUSecondsOk returns a tuple with the TotalGPUSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsAggregatedUsage) GetTotalPrice ¶
func (o *ModelsAggregatedUsage) GetTotalPrice() float32
GetTotalPrice returns the TotalPrice field value if set, zero value otherwise.
func (*ModelsAggregatedUsage) GetTotalPriceOk ¶
func (o *ModelsAggregatedUsage) GetTotalPriceOk() (*float32, bool)
GetTotalPriceOk returns a tuple with the TotalPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsAggregatedUsage) GetTotalRAMGBSeconds ¶
func (o *ModelsAggregatedUsage) GetTotalRAMGBSeconds() int32
GetTotalRAMGBSeconds returns the TotalRAMGBSeconds field value if set, zero value otherwise.
func (*ModelsAggregatedUsage) GetTotalRAMGBSecondsOk ¶
func (o *ModelsAggregatedUsage) GetTotalRAMGBSecondsOk() (*int32, bool)
GetTotalRAMGBSecondsOk returns a tuple with the TotalRAMGBSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsAggregatedUsage) HasFirstStart ¶
func (o *ModelsAggregatedUsage) HasFirstStart() bool
HasFirstStart returns a boolean if a field has been set.
func (*ModelsAggregatedUsage) HasLastEnd ¶
func (o *ModelsAggregatedUsage) HasLastEnd() bool
HasLastEnd returns a boolean if a field has been set.
func (*ModelsAggregatedUsage) HasSandboxCount ¶
func (o *ModelsAggregatedUsage) HasSandboxCount() bool
HasSandboxCount returns a boolean if a field has been set.
func (*ModelsAggregatedUsage) HasTotalCPUSeconds ¶
func (o *ModelsAggregatedUsage) HasTotalCPUSeconds() bool
HasTotalCPUSeconds returns a boolean if a field has been set.
func (*ModelsAggregatedUsage) HasTotalDiskGBSeconds ¶
func (o *ModelsAggregatedUsage) HasTotalDiskGBSeconds() bool
HasTotalDiskGBSeconds returns a boolean if a field has been set.
func (*ModelsAggregatedUsage) HasTotalGPUSeconds ¶
func (o *ModelsAggregatedUsage) HasTotalGPUSeconds() bool
HasTotalGPUSeconds returns a boolean if a field has been set.
func (*ModelsAggregatedUsage) HasTotalPrice ¶
func (o *ModelsAggregatedUsage) HasTotalPrice() bool
HasTotalPrice returns a boolean if a field has been set.
func (*ModelsAggregatedUsage) HasTotalRAMGBSeconds ¶
func (o *ModelsAggregatedUsage) HasTotalRAMGBSeconds() bool
HasTotalRAMGBSeconds returns a boolean if a field has been set.
func (ModelsAggregatedUsage) MarshalJSON ¶
func (o ModelsAggregatedUsage) MarshalJSON() ([]byte, error)
func (*ModelsAggregatedUsage) SetFirstStart ¶
func (o *ModelsAggregatedUsage) SetFirstStart(v string)
SetFirstStart gets a reference to the given string and assigns it to the FirstStart field.
func (*ModelsAggregatedUsage) SetLastEnd ¶
func (o *ModelsAggregatedUsage) SetLastEnd(v string)
SetLastEnd gets a reference to the given string and assigns it to the LastEnd field.
func (*ModelsAggregatedUsage) SetSandboxCount ¶
func (o *ModelsAggregatedUsage) SetSandboxCount(v int32)
SetSandboxCount gets a reference to the given int32 and assigns it to the SandboxCount field.
func (*ModelsAggregatedUsage) SetTotalCPUSeconds ¶
func (o *ModelsAggregatedUsage) SetTotalCPUSeconds(v int32)
SetTotalCPUSeconds gets a reference to the given int32 and assigns it to the TotalCPUSeconds field.
func (*ModelsAggregatedUsage) SetTotalDiskGBSeconds ¶
func (o *ModelsAggregatedUsage) SetTotalDiskGBSeconds(v int32)
SetTotalDiskGBSeconds gets a reference to the given int32 and assigns it to the TotalDiskGBSeconds field.
func (*ModelsAggregatedUsage) SetTotalGPUSeconds ¶
func (o *ModelsAggregatedUsage) SetTotalGPUSeconds(v int32)
SetTotalGPUSeconds gets a reference to the given int32 and assigns it to the TotalGPUSeconds field.
func (*ModelsAggregatedUsage) SetTotalPrice ¶
func (o *ModelsAggregatedUsage) SetTotalPrice(v float32)
SetTotalPrice gets a reference to the given float32 and assigns it to the TotalPrice field.
func (*ModelsAggregatedUsage) SetTotalRAMGBSeconds ¶
func (o *ModelsAggregatedUsage) SetTotalRAMGBSeconds(v int32)
SetTotalRAMGBSeconds gets a reference to the given int32 and assigns it to the TotalRAMGBSeconds field.
func (ModelsAggregatedUsage) ToMap ¶
func (o ModelsAggregatedUsage) ToMap() (map[string]interface{}, error)
func (*ModelsAggregatedUsage) UnmarshalJSON ¶
func (o *ModelsAggregatedUsage) UnmarshalJSON(data []byte) (err error)
type ModelsLogEntry ¶
type ModelsLogEntry struct {
Body *string `json:"body,omitempty"`
LogAttributes *map[string]string `json:"logAttributes,omitempty"`
ResourceAttributes *map[string]string `json:"resourceAttributes,omitempty"`
ServiceName *string `json:"serviceName,omitempty"`
SeverityNumber *int32 `json:"severityNumber,omitempty"`
SeverityText *string `json:"severityText,omitempty"`
SpanId *string `json:"spanId,omitempty"`
Timestamp *string `json:"timestamp,omitempty"`
TraceId *string `json:"traceId,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelsLogEntry struct for ModelsLogEntry
func NewModelsLogEntry ¶
func NewModelsLogEntry() *ModelsLogEntry
NewModelsLogEntry instantiates a new ModelsLogEntry 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 NewModelsLogEntryWithDefaults ¶
func NewModelsLogEntryWithDefaults() *ModelsLogEntry
NewModelsLogEntryWithDefaults instantiates a new ModelsLogEntry 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 (*ModelsLogEntry) GetBody ¶
func (o *ModelsLogEntry) GetBody() string
GetBody returns the Body field value if set, zero value otherwise.
func (*ModelsLogEntry) GetBodyOk ¶
func (o *ModelsLogEntry) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsLogEntry) GetLogAttributes ¶
func (o *ModelsLogEntry) GetLogAttributes() map[string]string
GetLogAttributes returns the LogAttributes field value if set, zero value otherwise.
func (*ModelsLogEntry) GetLogAttributesOk ¶
func (o *ModelsLogEntry) GetLogAttributesOk() (*map[string]string, bool)
GetLogAttributesOk returns a tuple with the LogAttributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsLogEntry) GetResourceAttributes ¶
func (o *ModelsLogEntry) GetResourceAttributes() map[string]string
GetResourceAttributes returns the ResourceAttributes field value if set, zero value otherwise.
func (*ModelsLogEntry) GetResourceAttributesOk ¶
func (o *ModelsLogEntry) GetResourceAttributesOk() (*map[string]string, bool)
GetResourceAttributesOk returns a tuple with the ResourceAttributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsLogEntry) GetServiceName ¶
func (o *ModelsLogEntry) GetServiceName() string
GetServiceName returns the ServiceName field value if set, zero value otherwise.
func (*ModelsLogEntry) GetServiceNameOk ¶
func (o *ModelsLogEntry) GetServiceNameOk() (*string, bool)
GetServiceNameOk returns a tuple with the ServiceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsLogEntry) GetSeverityNumber ¶
func (o *ModelsLogEntry) GetSeverityNumber() int32
GetSeverityNumber returns the SeverityNumber field value if set, zero value otherwise.
func (*ModelsLogEntry) GetSeverityNumberOk ¶
func (o *ModelsLogEntry) GetSeverityNumberOk() (*int32, bool)
GetSeverityNumberOk returns a tuple with the SeverityNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsLogEntry) GetSeverityText ¶
func (o *ModelsLogEntry) GetSeverityText() string
GetSeverityText returns the SeverityText field value if set, zero value otherwise.
func (*ModelsLogEntry) GetSeverityTextOk ¶
func (o *ModelsLogEntry) GetSeverityTextOk() (*string, bool)
GetSeverityTextOk returns a tuple with the SeverityText field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsLogEntry) GetSpanId ¶
func (o *ModelsLogEntry) GetSpanId() string
GetSpanId returns the SpanId field value if set, zero value otherwise.
func (*ModelsLogEntry) GetSpanIdOk ¶
func (o *ModelsLogEntry) GetSpanIdOk() (*string, bool)
GetSpanIdOk returns a tuple with the SpanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsLogEntry) GetTimestamp ¶
func (o *ModelsLogEntry) GetTimestamp() string
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*ModelsLogEntry) GetTimestampOk ¶
func (o *ModelsLogEntry) GetTimestampOk() (*string, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsLogEntry) GetTraceId ¶
func (o *ModelsLogEntry) GetTraceId() string
GetTraceId returns the TraceId field value if set, zero value otherwise.
func (*ModelsLogEntry) GetTraceIdOk ¶
func (o *ModelsLogEntry) GetTraceIdOk() (*string, bool)
GetTraceIdOk returns a tuple with the TraceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsLogEntry) HasBody ¶
func (o *ModelsLogEntry) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*ModelsLogEntry) HasLogAttributes ¶
func (o *ModelsLogEntry) HasLogAttributes() bool
HasLogAttributes returns a boolean if a field has been set.
func (*ModelsLogEntry) HasResourceAttributes ¶
func (o *ModelsLogEntry) HasResourceAttributes() bool
HasResourceAttributes returns a boolean if a field has been set.
func (*ModelsLogEntry) HasServiceName ¶
func (o *ModelsLogEntry) HasServiceName() bool
HasServiceName returns a boolean if a field has been set.
func (*ModelsLogEntry) HasSeverityNumber ¶
func (o *ModelsLogEntry) HasSeverityNumber() bool
HasSeverityNumber returns a boolean if a field has been set.
func (*ModelsLogEntry) HasSeverityText ¶
func (o *ModelsLogEntry) HasSeverityText() bool
HasSeverityText returns a boolean if a field has been set.
func (*ModelsLogEntry) HasSpanId ¶
func (o *ModelsLogEntry) HasSpanId() bool
HasSpanId returns a boolean if a field has been set.
func (*ModelsLogEntry) HasTimestamp ¶
func (o *ModelsLogEntry) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*ModelsLogEntry) HasTraceId ¶
func (o *ModelsLogEntry) HasTraceId() bool
HasTraceId returns a boolean if a field has been set.
func (ModelsLogEntry) MarshalJSON ¶
func (o ModelsLogEntry) MarshalJSON() ([]byte, error)
func (*ModelsLogEntry) SetBody ¶
func (o *ModelsLogEntry) SetBody(v string)
SetBody gets a reference to the given string and assigns it to the Body field.
func (*ModelsLogEntry) SetLogAttributes ¶
func (o *ModelsLogEntry) SetLogAttributes(v map[string]string)
SetLogAttributes gets a reference to the given map[string]string and assigns it to the LogAttributes field.
func (*ModelsLogEntry) SetResourceAttributes ¶
func (o *ModelsLogEntry) SetResourceAttributes(v map[string]string)
SetResourceAttributes gets a reference to the given map[string]string and assigns it to the ResourceAttributes field.
func (*ModelsLogEntry) SetServiceName ¶
func (o *ModelsLogEntry) SetServiceName(v string)
SetServiceName gets a reference to the given string and assigns it to the ServiceName field.
func (*ModelsLogEntry) SetSeverityNumber ¶
func (o *ModelsLogEntry) SetSeverityNumber(v int32)
SetSeverityNumber gets a reference to the given int32 and assigns it to the SeverityNumber field.
func (*ModelsLogEntry) SetSeverityText ¶
func (o *ModelsLogEntry) SetSeverityText(v string)
SetSeverityText gets a reference to the given string and assigns it to the SeverityText field.
func (*ModelsLogEntry) SetSpanId ¶
func (o *ModelsLogEntry) SetSpanId(v string)
SetSpanId gets a reference to the given string and assigns it to the SpanId field.
func (*ModelsLogEntry) SetTimestamp ¶
func (o *ModelsLogEntry) SetTimestamp(v string)
SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.
func (*ModelsLogEntry) SetTraceId ¶
func (o *ModelsLogEntry) SetTraceId(v string)
SetTraceId gets a reference to the given string and assigns it to the TraceId field.
func (ModelsLogEntry) ToMap ¶
func (o ModelsLogEntry) ToMap() (map[string]interface{}, error)
func (*ModelsLogEntry) UnmarshalJSON ¶
func (o *ModelsLogEntry) UnmarshalJSON(data []byte) (err error)
type ModelsMetricPoint ¶
type ModelsMetricPoint struct {
MetricName *string `json:"metricName,omitempty"`
Timestamp *string `json:"timestamp,omitempty"`
Value *float64 `json:"value,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelsMetricPoint struct for ModelsMetricPoint
func NewModelsMetricPoint ¶
func NewModelsMetricPoint() *ModelsMetricPoint
NewModelsMetricPoint instantiates a new ModelsMetricPoint 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 NewModelsMetricPointWithDefaults ¶
func NewModelsMetricPointWithDefaults() *ModelsMetricPoint
NewModelsMetricPointWithDefaults instantiates a new ModelsMetricPoint 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 (*ModelsMetricPoint) GetMetricName ¶
func (o *ModelsMetricPoint) GetMetricName() string
GetMetricName returns the MetricName field value if set, zero value otherwise.
func (*ModelsMetricPoint) GetMetricNameOk ¶
func (o *ModelsMetricPoint) GetMetricNameOk() (*string, bool)
GetMetricNameOk returns a tuple with the MetricName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsMetricPoint) GetTimestamp ¶
func (o *ModelsMetricPoint) GetTimestamp() string
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*ModelsMetricPoint) GetTimestampOk ¶
func (o *ModelsMetricPoint) GetTimestampOk() (*string, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsMetricPoint) GetValue ¶
func (o *ModelsMetricPoint) GetValue() float64
GetValue returns the Value field value if set, zero value otherwise.
func (*ModelsMetricPoint) GetValueOk ¶
func (o *ModelsMetricPoint) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsMetricPoint) HasMetricName ¶
func (o *ModelsMetricPoint) HasMetricName() bool
HasMetricName returns a boolean if a field has been set.
func (*ModelsMetricPoint) HasTimestamp ¶
func (o *ModelsMetricPoint) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*ModelsMetricPoint) HasValue ¶
func (o *ModelsMetricPoint) HasValue() bool
HasValue returns a boolean if a field has been set.
func (ModelsMetricPoint) MarshalJSON ¶
func (o ModelsMetricPoint) MarshalJSON() ([]byte, error)
func (*ModelsMetricPoint) SetMetricName ¶
func (o *ModelsMetricPoint) SetMetricName(v string)
SetMetricName gets a reference to the given string and assigns it to the MetricName field.
func (*ModelsMetricPoint) SetTimestamp ¶
func (o *ModelsMetricPoint) SetTimestamp(v string)
SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.
func (*ModelsMetricPoint) SetValue ¶
func (o *ModelsMetricPoint) SetValue(v float64)
SetValue gets a reference to the given float64 and assigns it to the Value field.
func (ModelsMetricPoint) ToMap ¶
func (o ModelsMetricPoint) ToMap() (map[string]interface{}, error)
func (*ModelsMetricPoint) UnmarshalJSON ¶
func (o *ModelsMetricPoint) UnmarshalJSON(data []byte) (err error)
type ModelsSandboxUsage ¶
type ModelsSandboxUsage struct {
FirstStart *string `json:"firstStart,omitempty"`
LastEnd *string `json:"lastEnd,omitempty"`
SandboxId *string `json:"sandboxId,omitempty"`
TotalCPUSeconds *int32 `json:"totalCPUSeconds,omitempty"`
TotalDiskGBSeconds *int32 `json:"totalDiskGBSeconds,omitempty"`
TotalGPUSeconds *int32 `json:"totalGPUSeconds,omitempty"`
TotalPrice *float32 `json:"totalPrice,omitempty"`
TotalRAMGBSeconds *int32 `json:"totalRAMGBSeconds,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelsSandboxUsage struct for ModelsSandboxUsage
func NewModelsSandboxUsage ¶
func NewModelsSandboxUsage() *ModelsSandboxUsage
NewModelsSandboxUsage instantiates a new ModelsSandboxUsage 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 NewModelsSandboxUsageWithDefaults ¶
func NewModelsSandboxUsageWithDefaults() *ModelsSandboxUsage
NewModelsSandboxUsageWithDefaults instantiates a new ModelsSandboxUsage 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 (*ModelsSandboxUsage) GetFirstStart ¶
func (o *ModelsSandboxUsage) GetFirstStart() string
GetFirstStart returns the FirstStart field value if set, zero value otherwise.
func (*ModelsSandboxUsage) GetFirstStartOk ¶
func (o *ModelsSandboxUsage) GetFirstStartOk() (*string, bool)
GetFirstStartOk returns a tuple with the FirstStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSandboxUsage) GetLastEnd ¶
func (o *ModelsSandboxUsage) GetLastEnd() string
GetLastEnd returns the LastEnd field value if set, zero value otherwise.
func (*ModelsSandboxUsage) GetLastEndOk ¶
func (o *ModelsSandboxUsage) GetLastEndOk() (*string, bool)
GetLastEndOk returns a tuple with the LastEnd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSandboxUsage) GetSandboxId ¶
func (o *ModelsSandboxUsage) GetSandboxId() string
GetSandboxId returns the SandboxId field value if set, zero value otherwise.
func (*ModelsSandboxUsage) GetSandboxIdOk ¶
func (o *ModelsSandboxUsage) GetSandboxIdOk() (*string, bool)
GetSandboxIdOk returns a tuple with the SandboxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSandboxUsage) GetTotalCPUSeconds ¶
func (o *ModelsSandboxUsage) GetTotalCPUSeconds() int32
GetTotalCPUSeconds returns the TotalCPUSeconds field value if set, zero value otherwise.
func (*ModelsSandboxUsage) GetTotalCPUSecondsOk ¶
func (o *ModelsSandboxUsage) GetTotalCPUSecondsOk() (*int32, bool)
GetTotalCPUSecondsOk returns a tuple with the TotalCPUSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSandboxUsage) GetTotalDiskGBSeconds ¶
func (o *ModelsSandboxUsage) GetTotalDiskGBSeconds() int32
GetTotalDiskGBSeconds returns the TotalDiskGBSeconds field value if set, zero value otherwise.
func (*ModelsSandboxUsage) GetTotalDiskGBSecondsOk ¶
func (o *ModelsSandboxUsage) GetTotalDiskGBSecondsOk() (*int32, bool)
GetTotalDiskGBSecondsOk returns a tuple with the TotalDiskGBSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSandboxUsage) GetTotalGPUSeconds ¶
func (o *ModelsSandboxUsage) GetTotalGPUSeconds() int32
GetTotalGPUSeconds returns the TotalGPUSeconds field value if set, zero value otherwise.
func (*ModelsSandboxUsage) GetTotalGPUSecondsOk ¶
func (o *ModelsSandboxUsage) GetTotalGPUSecondsOk() (*int32, bool)
GetTotalGPUSecondsOk returns a tuple with the TotalGPUSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSandboxUsage) GetTotalPrice ¶
func (o *ModelsSandboxUsage) GetTotalPrice() float32
GetTotalPrice returns the TotalPrice field value if set, zero value otherwise.
func (*ModelsSandboxUsage) GetTotalPriceOk ¶
func (o *ModelsSandboxUsage) GetTotalPriceOk() (*float32, bool)
GetTotalPriceOk returns a tuple with the TotalPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSandboxUsage) GetTotalRAMGBSeconds ¶
func (o *ModelsSandboxUsage) GetTotalRAMGBSeconds() int32
GetTotalRAMGBSeconds returns the TotalRAMGBSeconds field value if set, zero value otherwise.
func (*ModelsSandboxUsage) GetTotalRAMGBSecondsOk ¶
func (o *ModelsSandboxUsage) GetTotalRAMGBSecondsOk() (*int32, bool)
GetTotalRAMGBSecondsOk returns a tuple with the TotalRAMGBSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSandboxUsage) HasFirstStart ¶
func (o *ModelsSandboxUsage) HasFirstStart() bool
HasFirstStart returns a boolean if a field has been set.
func (*ModelsSandboxUsage) HasLastEnd ¶
func (o *ModelsSandboxUsage) HasLastEnd() bool
HasLastEnd returns a boolean if a field has been set.
func (*ModelsSandboxUsage) HasSandboxId ¶
func (o *ModelsSandboxUsage) HasSandboxId() bool
HasSandboxId returns a boolean if a field has been set.
func (*ModelsSandboxUsage) HasTotalCPUSeconds ¶
func (o *ModelsSandboxUsage) HasTotalCPUSeconds() bool
HasTotalCPUSeconds returns a boolean if a field has been set.
func (*ModelsSandboxUsage) HasTotalDiskGBSeconds ¶
func (o *ModelsSandboxUsage) HasTotalDiskGBSeconds() bool
HasTotalDiskGBSeconds returns a boolean if a field has been set.
func (*ModelsSandboxUsage) HasTotalGPUSeconds ¶
func (o *ModelsSandboxUsage) HasTotalGPUSeconds() bool
HasTotalGPUSeconds returns a boolean if a field has been set.
func (*ModelsSandboxUsage) HasTotalPrice ¶
func (o *ModelsSandboxUsage) HasTotalPrice() bool
HasTotalPrice returns a boolean if a field has been set.
func (*ModelsSandboxUsage) HasTotalRAMGBSeconds ¶
func (o *ModelsSandboxUsage) HasTotalRAMGBSeconds() bool
HasTotalRAMGBSeconds returns a boolean if a field has been set.
func (ModelsSandboxUsage) MarshalJSON ¶
func (o ModelsSandboxUsage) MarshalJSON() ([]byte, error)
func (*ModelsSandboxUsage) SetFirstStart ¶
func (o *ModelsSandboxUsage) SetFirstStart(v string)
SetFirstStart gets a reference to the given string and assigns it to the FirstStart field.
func (*ModelsSandboxUsage) SetLastEnd ¶
func (o *ModelsSandboxUsage) SetLastEnd(v string)
SetLastEnd gets a reference to the given string and assigns it to the LastEnd field.
func (*ModelsSandboxUsage) SetSandboxId ¶
func (o *ModelsSandboxUsage) SetSandboxId(v string)
SetSandboxId gets a reference to the given string and assigns it to the SandboxId field.
func (*ModelsSandboxUsage) SetTotalCPUSeconds ¶
func (o *ModelsSandboxUsage) SetTotalCPUSeconds(v int32)
SetTotalCPUSeconds gets a reference to the given int32 and assigns it to the TotalCPUSeconds field.
func (*ModelsSandboxUsage) SetTotalDiskGBSeconds ¶
func (o *ModelsSandboxUsage) SetTotalDiskGBSeconds(v int32)
SetTotalDiskGBSeconds gets a reference to the given int32 and assigns it to the TotalDiskGBSeconds field.
func (*ModelsSandboxUsage) SetTotalGPUSeconds ¶
func (o *ModelsSandboxUsage) SetTotalGPUSeconds(v int32)
SetTotalGPUSeconds gets a reference to the given int32 and assigns it to the TotalGPUSeconds field.
func (*ModelsSandboxUsage) SetTotalPrice ¶
func (o *ModelsSandboxUsage) SetTotalPrice(v float32)
SetTotalPrice gets a reference to the given float32 and assigns it to the TotalPrice field.
func (*ModelsSandboxUsage) SetTotalRAMGBSeconds ¶
func (o *ModelsSandboxUsage) SetTotalRAMGBSeconds(v int32)
SetTotalRAMGBSeconds gets a reference to the given int32 and assigns it to the TotalRAMGBSeconds field.
func (ModelsSandboxUsage) ToMap ¶
func (o ModelsSandboxUsage) ToMap() (map[string]interface{}, error)
func (*ModelsSandboxUsage) UnmarshalJSON ¶
func (o *ModelsSandboxUsage) UnmarshalJSON(data []byte) (err error)
type ModelsSpan ¶
type ModelsSpan struct {
DurationMs *float32 `json:"durationMs,omitempty"`
ParentSpanId *string `json:"parentSpanId,omitempty"`
SpanAttributes *map[string]string `json:"spanAttributes,omitempty"`
SpanId *string `json:"spanId,omitempty"`
SpanName *string `json:"spanName,omitempty"`
StatusCode *string `json:"statusCode,omitempty"`
StatusMessage *string `json:"statusMessage,omitempty"`
Timestamp *string `json:"timestamp,omitempty"`
TraceId *string `json:"traceId,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelsSpan struct for ModelsSpan
func NewModelsSpan ¶
func NewModelsSpan() *ModelsSpan
NewModelsSpan instantiates a new ModelsSpan 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 NewModelsSpanWithDefaults ¶
func NewModelsSpanWithDefaults() *ModelsSpan
NewModelsSpanWithDefaults instantiates a new ModelsSpan 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 (*ModelsSpan) GetDurationMs ¶
func (o *ModelsSpan) GetDurationMs() float32
GetDurationMs returns the DurationMs field value if set, zero value otherwise.
func (*ModelsSpan) GetDurationMsOk ¶
func (o *ModelsSpan) GetDurationMsOk() (*float32, bool)
GetDurationMsOk returns a tuple with the DurationMs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSpan) GetParentSpanId ¶
func (o *ModelsSpan) GetParentSpanId() string
GetParentSpanId returns the ParentSpanId field value if set, zero value otherwise.
func (*ModelsSpan) GetParentSpanIdOk ¶
func (o *ModelsSpan) GetParentSpanIdOk() (*string, bool)
GetParentSpanIdOk returns a tuple with the ParentSpanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSpan) GetSpanAttributes ¶
func (o *ModelsSpan) GetSpanAttributes() map[string]string
GetSpanAttributes returns the SpanAttributes field value if set, zero value otherwise.
func (*ModelsSpan) GetSpanAttributesOk ¶
func (o *ModelsSpan) GetSpanAttributesOk() (*map[string]string, bool)
GetSpanAttributesOk returns a tuple with the SpanAttributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSpan) GetSpanId ¶
func (o *ModelsSpan) GetSpanId() string
GetSpanId returns the SpanId field value if set, zero value otherwise.
func (*ModelsSpan) GetSpanIdOk ¶
func (o *ModelsSpan) GetSpanIdOk() (*string, bool)
GetSpanIdOk returns a tuple with the SpanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSpan) GetSpanName ¶
func (o *ModelsSpan) GetSpanName() string
GetSpanName returns the SpanName field value if set, zero value otherwise.
func (*ModelsSpan) GetSpanNameOk ¶
func (o *ModelsSpan) GetSpanNameOk() (*string, bool)
GetSpanNameOk returns a tuple with the SpanName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSpan) GetStatusCode ¶
func (o *ModelsSpan) GetStatusCode() string
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*ModelsSpan) GetStatusCodeOk ¶
func (o *ModelsSpan) GetStatusCodeOk() (*string, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSpan) GetStatusMessage ¶
func (o *ModelsSpan) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.
func (*ModelsSpan) GetStatusMessageOk ¶
func (o *ModelsSpan) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSpan) GetTimestamp ¶
func (o *ModelsSpan) GetTimestamp() string
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*ModelsSpan) GetTimestampOk ¶
func (o *ModelsSpan) GetTimestampOk() (*string, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSpan) GetTraceId ¶
func (o *ModelsSpan) GetTraceId() string
GetTraceId returns the TraceId field value if set, zero value otherwise.
func (*ModelsSpan) GetTraceIdOk ¶
func (o *ModelsSpan) GetTraceIdOk() (*string, bool)
GetTraceIdOk returns a tuple with the TraceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsSpan) HasDurationMs ¶
func (o *ModelsSpan) HasDurationMs() bool
HasDurationMs returns a boolean if a field has been set.
func (*ModelsSpan) HasParentSpanId ¶
func (o *ModelsSpan) HasParentSpanId() bool
HasParentSpanId returns a boolean if a field has been set.
func (*ModelsSpan) HasSpanAttributes ¶
func (o *ModelsSpan) HasSpanAttributes() bool
HasSpanAttributes returns a boolean if a field has been set.
func (*ModelsSpan) HasSpanId ¶
func (o *ModelsSpan) HasSpanId() bool
HasSpanId returns a boolean if a field has been set.
func (*ModelsSpan) HasSpanName ¶
func (o *ModelsSpan) HasSpanName() bool
HasSpanName returns a boolean if a field has been set.
func (*ModelsSpan) HasStatusCode ¶
func (o *ModelsSpan) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (*ModelsSpan) HasStatusMessage ¶
func (o *ModelsSpan) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (*ModelsSpan) HasTimestamp ¶
func (o *ModelsSpan) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*ModelsSpan) HasTraceId ¶
func (o *ModelsSpan) HasTraceId() bool
HasTraceId returns a boolean if a field has been set.
func (ModelsSpan) MarshalJSON ¶
func (o ModelsSpan) MarshalJSON() ([]byte, error)
func (*ModelsSpan) SetDurationMs ¶
func (o *ModelsSpan) SetDurationMs(v float32)
SetDurationMs gets a reference to the given float32 and assigns it to the DurationMs field.
func (*ModelsSpan) SetParentSpanId ¶
func (o *ModelsSpan) SetParentSpanId(v string)
SetParentSpanId gets a reference to the given string and assigns it to the ParentSpanId field.
func (*ModelsSpan) SetSpanAttributes ¶
func (o *ModelsSpan) SetSpanAttributes(v map[string]string)
SetSpanAttributes gets a reference to the given map[string]string and assigns it to the SpanAttributes field.
func (*ModelsSpan) SetSpanId ¶
func (o *ModelsSpan) SetSpanId(v string)
SetSpanId gets a reference to the given string and assigns it to the SpanId field.
func (*ModelsSpan) SetSpanName ¶
func (o *ModelsSpan) SetSpanName(v string)
SetSpanName gets a reference to the given string and assigns it to the SpanName field.
func (*ModelsSpan) SetStatusCode ¶
func (o *ModelsSpan) SetStatusCode(v string)
SetStatusCode gets a reference to the given string and assigns it to the StatusCode field.
func (*ModelsSpan) SetStatusMessage ¶
func (o *ModelsSpan) SetStatusMessage(v string)
SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.
func (*ModelsSpan) SetTimestamp ¶
func (o *ModelsSpan) SetTimestamp(v string)
SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.
func (*ModelsSpan) SetTraceId ¶
func (o *ModelsSpan) SetTraceId(v string)
SetTraceId gets a reference to the given string and assigns it to the TraceId field.
func (ModelsSpan) ToMap ¶
func (o ModelsSpan) ToMap() (map[string]interface{}, error)
func (*ModelsSpan) UnmarshalJSON ¶
func (o *ModelsSpan) UnmarshalJSON(data []byte) (err error)
type ModelsTraceSummary ¶
type ModelsTraceSummary struct {
EndTime *string `json:"endTime,omitempty"`
RootSpanName *string `json:"rootSpanName,omitempty"`
SpanCount *int32 `json:"spanCount,omitempty"`
StartTime *string `json:"startTime,omitempty"`
StatusCode *string `json:"statusCode,omitempty"`
TotalDurationMs *float32 `json:"totalDurationMs,omitempty"`
TraceId *string `json:"traceId,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelsTraceSummary struct for ModelsTraceSummary
func NewModelsTraceSummary ¶
func NewModelsTraceSummary() *ModelsTraceSummary
NewModelsTraceSummary instantiates a new ModelsTraceSummary 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 NewModelsTraceSummaryWithDefaults ¶
func NewModelsTraceSummaryWithDefaults() *ModelsTraceSummary
NewModelsTraceSummaryWithDefaults instantiates a new ModelsTraceSummary 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 (*ModelsTraceSummary) GetEndTime ¶
func (o *ModelsTraceSummary) GetEndTime() string
GetEndTime returns the EndTime field value if set, zero value otherwise.
func (*ModelsTraceSummary) GetEndTimeOk ¶
func (o *ModelsTraceSummary) GetEndTimeOk() (*string, bool)
GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsTraceSummary) GetRootSpanName ¶
func (o *ModelsTraceSummary) GetRootSpanName() string
GetRootSpanName returns the RootSpanName field value if set, zero value otherwise.
func (*ModelsTraceSummary) GetRootSpanNameOk ¶
func (o *ModelsTraceSummary) GetRootSpanNameOk() (*string, bool)
GetRootSpanNameOk returns a tuple with the RootSpanName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsTraceSummary) GetSpanCount ¶
func (o *ModelsTraceSummary) GetSpanCount() int32
GetSpanCount returns the SpanCount field value if set, zero value otherwise.
func (*ModelsTraceSummary) GetSpanCountOk ¶
func (o *ModelsTraceSummary) GetSpanCountOk() (*int32, bool)
GetSpanCountOk returns a tuple with the SpanCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsTraceSummary) GetStartTime ¶
func (o *ModelsTraceSummary) GetStartTime() string
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*ModelsTraceSummary) GetStartTimeOk ¶
func (o *ModelsTraceSummary) GetStartTimeOk() (*string, bool)
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsTraceSummary) GetStatusCode ¶
func (o *ModelsTraceSummary) GetStatusCode() string
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*ModelsTraceSummary) GetStatusCodeOk ¶
func (o *ModelsTraceSummary) GetStatusCodeOk() (*string, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsTraceSummary) GetTotalDurationMs ¶
func (o *ModelsTraceSummary) GetTotalDurationMs() float32
GetTotalDurationMs returns the TotalDurationMs field value if set, zero value otherwise.
func (*ModelsTraceSummary) GetTotalDurationMsOk ¶
func (o *ModelsTraceSummary) GetTotalDurationMsOk() (*float32, bool)
GetTotalDurationMsOk returns a tuple with the TotalDurationMs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsTraceSummary) GetTraceId ¶
func (o *ModelsTraceSummary) GetTraceId() string
GetTraceId returns the TraceId field value if set, zero value otherwise.
func (*ModelsTraceSummary) GetTraceIdOk ¶
func (o *ModelsTraceSummary) GetTraceIdOk() (*string, bool)
GetTraceIdOk returns a tuple with the TraceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsTraceSummary) HasEndTime ¶
func (o *ModelsTraceSummary) HasEndTime() bool
HasEndTime returns a boolean if a field has been set.
func (*ModelsTraceSummary) HasRootSpanName ¶
func (o *ModelsTraceSummary) HasRootSpanName() bool
HasRootSpanName returns a boolean if a field has been set.
func (*ModelsTraceSummary) HasSpanCount ¶
func (o *ModelsTraceSummary) HasSpanCount() bool
HasSpanCount returns a boolean if a field has been set.
func (*ModelsTraceSummary) HasStartTime ¶
func (o *ModelsTraceSummary) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (*ModelsTraceSummary) HasStatusCode ¶
func (o *ModelsTraceSummary) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (*ModelsTraceSummary) HasTotalDurationMs ¶
func (o *ModelsTraceSummary) HasTotalDurationMs() bool
HasTotalDurationMs returns a boolean if a field has been set.
func (*ModelsTraceSummary) HasTraceId ¶
func (o *ModelsTraceSummary) HasTraceId() bool
HasTraceId returns a boolean if a field has been set.
func (ModelsTraceSummary) MarshalJSON ¶
func (o ModelsTraceSummary) MarshalJSON() ([]byte, error)
func (*ModelsTraceSummary) SetEndTime ¶
func (o *ModelsTraceSummary) SetEndTime(v string)
SetEndTime gets a reference to the given string and assigns it to the EndTime field.
func (*ModelsTraceSummary) SetRootSpanName ¶
func (o *ModelsTraceSummary) SetRootSpanName(v string)
SetRootSpanName gets a reference to the given string and assigns it to the RootSpanName field.
func (*ModelsTraceSummary) SetSpanCount ¶
func (o *ModelsTraceSummary) SetSpanCount(v int32)
SetSpanCount gets a reference to the given int32 and assigns it to the SpanCount field.
func (*ModelsTraceSummary) SetStartTime ¶
func (o *ModelsTraceSummary) SetStartTime(v string)
SetStartTime gets a reference to the given string and assigns it to the StartTime field.
func (*ModelsTraceSummary) SetStatusCode ¶
func (o *ModelsTraceSummary) SetStatusCode(v string)
SetStatusCode gets a reference to the given string and assigns it to the StatusCode field.
func (*ModelsTraceSummary) SetTotalDurationMs ¶
func (o *ModelsTraceSummary) SetTotalDurationMs(v float32)
SetTotalDurationMs gets a reference to the given float32 and assigns it to the TotalDurationMs field.
func (*ModelsTraceSummary) SetTraceId ¶
func (o *ModelsTraceSummary) SetTraceId(v string)
SetTraceId gets a reference to the given string and assigns it to the TraceId field.
func (ModelsTraceSummary) ToMap ¶
func (o ModelsTraceSummary) ToMap() (map[string]interface{}, error)
func (*ModelsTraceSummary) UnmarshalJSON ¶
func (o *ModelsTraceSummary) UnmarshalJSON(data []byte) (err error)
type ModelsUsageChartPoint ¶
type ModelsUsageChartPoint struct {
Cpu *int32 `json:"cpu,omitempty"`
CpuPrice *float32 `json:"cpuPrice,omitempty"`
DiskGB *int32 `json:"diskGB,omitempty"`
DiskPrice *float32 `json:"diskPrice,omitempty"`
RamGB *int32 `json:"ramGB,omitempty"`
RamPrice *float32 `json:"ramPrice,omitempty"`
Time *string `json:"time,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelsUsageChartPoint struct for ModelsUsageChartPoint
func NewModelsUsageChartPoint ¶
func NewModelsUsageChartPoint() *ModelsUsageChartPoint
NewModelsUsageChartPoint instantiates a new ModelsUsageChartPoint 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 NewModelsUsageChartPointWithDefaults ¶
func NewModelsUsageChartPointWithDefaults() *ModelsUsageChartPoint
NewModelsUsageChartPointWithDefaults instantiates a new ModelsUsageChartPoint 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 (*ModelsUsageChartPoint) GetCpu ¶
func (o *ModelsUsageChartPoint) GetCpu() int32
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*ModelsUsageChartPoint) GetCpuOk ¶
func (o *ModelsUsageChartPoint) GetCpuOk() (*int32, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsageChartPoint) GetCpuPrice ¶
func (o *ModelsUsageChartPoint) GetCpuPrice() float32
GetCpuPrice returns the CpuPrice field value if set, zero value otherwise.
func (*ModelsUsageChartPoint) GetCpuPriceOk ¶
func (o *ModelsUsageChartPoint) GetCpuPriceOk() (*float32, bool)
GetCpuPriceOk returns a tuple with the CpuPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsageChartPoint) GetDiskGB ¶
func (o *ModelsUsageChartPoint) GetDiskGB() int32
GetDiskGB returns the DiskGB field value if set, zero value otherwise.
func (*ModelsUsageChartPoint) GetDiskGBOk ¶
func (o *ModelsUsageChartPoint) GetDiskGBOk() (*int32, bool)
GetDiskGBOk returns a tuple with the DiskGB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsageChartPoint) GetDiskPrice ¶
func (o *ModelsUsageChartPoint) GetDiskPrice() float32
GetDiskPrice returns the DiskPrice field value if set, zero value otherwise.
func (*ModelsUsageChartPoint) GetDiskPriceOk ¶
func (o *ModelsUsageChartPoint) GetDiskPriceOk() (*float32, bool)
GetDiskPriceOk returns a tuple with the DiskPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsageChartPoint) GetRamGB ¶
func (o *ModelsUsageChartPoint) GetRamGB() int32
GetRamGB returns the RamGB field value if set, zero value otherwise.
func (*ModelsUsageChartPoint) GetRamGBOk ¶
func (o *ModelsUsageChartPoint) GetRamGBOk() (*int32, bool)
GetRamGBOk returns a tuple with the RamGB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsageChartPoint) GetRamPrice ¶
func (o *ModelsUsageChartPoint) GetRamPrice() float32
GetRamPrice returns the RamPrice field value if set, zero value otherwise.
func (*ModelsUsageChartPoint) GetRamPriceOk ¶
func (o *ModelsUsageChartPoint) GetRamPriceOk() (*float32, bool)
GetRamPriceOk returns a tuple with the RamPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsageChartPoint) GetTime ¶
func (o *ModelsUsageChartPoint) GetTime() string
GetTime returns the Time field value if set, zero value otherwise.
func (*ModelsUsageChartPoint) GetTimeOk ¶
func (o *ModelsUsageChartPoint) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsageChartPoint) HasCpu ¶
func (o *ModelsUsageChartPoint) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*ModelsUsageChartPoint) HasCpuPrice ¶
func (o *ModelsUsageChartPoint) HasCpuPrice() bool
HasCpuPrice returns a boolean if a field has been set.
func (*ModelsUsageChartPoint) HasDiskGB ¶
func (o *ModelsUsageChartPoint) HasDiskGB() bool
HasDiskGB returns a boolean if a field has been set.
func (*ModelsUsageChartPoint) HasDiskPrice ¶
func (o *ModelsUsageChartPoint) HasDiskPrice() bool
HasDiskPrice returns a boolean if a field has been set.
func (*ModelsUsageChartPoint) HasRamGB ¶
func (o *ModelsUsageChartPoint) HasRamGB() bool
HasRamGB returns a boolean if a field has been set.
func (*ModelsUsageChartPoint) HasRamPrice ¶
func (o *ModelsUsageChartPoint) HasRamPrice() bool
HasRamPrice returns a boolean if a field has been set.
func (*ModelsUsageChartPoint) HasTime ¶
func (o *ModelsUsageChartPoint) HasTime() bool
HasTime returns a boolean if a field has been set.
func (ModelsUsageChartPoint) MarshalJSON ¶
func (o ModelsUsageChartPoint) MarshalJSON() ([]byte, error)
func (*ModelsUsageChartPoint) SetCpu ¶
func (o *ModelsUsageChartPoint) SetCpu(v int32)
SetCpu gets a reference to the given int32 and assigns it to the Cpu field.
func (*ModelsUsageChartPoint) SetCpuPrice ¶
func (o *ModelsUsageChartPoint) SetCpuPrice(v float32)
SetCpuPrice gets a reference to the given float32 and assigns it to the CpuPrice field.
func (*ModelsUsageChartPoint) SetDiskGB ¶
func (o *ModelsUsageChartPoint) SetDiskGB(v int32)
SetDiskGB gets a reference to the given int32 and assigns it to the DiskGB field.
func (*ModelsUsageChartPoint) SetDiskPrice ¶
func (o *ModelsUsageChartPoint) SetDiskPrice(v float32)
SetDiskPrice gets a reference to the given float32 and assigns it to the DiskPrice field.
func (*ModelsUsageChartPoint) SetRamGB ¶
func (o *ModelsUsageChartPoint) SetRamGB(v int32)
SetRamGB gets a reference to the given int32 and assigns it to the RamGB field.
func (*ModelsUsageChartPoint) SetRamPrice ¶
func (o *ModelsUsageChartPoint) SetRamPrice(v float32)
SetRamPrice gets a reference to the given float32 and assigns it to the RamPrice field.
func (*ModelsUsageChartPoint) SetTime ¶
func (o *ModelsUsageChartPoint) SetTime(v string)
SetTime gets a reference to the given string and assigns it to the Time field.
func (ModelsUsageChartPoint) ToMap ¶
func (o ModelsUsageChartPoint) ToMap() (map[string]interface{}, error)
func (*ModelsUsageChartPoint) UnmarshalJSON ¶
func (o *ModelsUsageChartPoint) UnmarshalJSON(data []byte) (err error)
type ModelsUsagePeriod ¶
type ModelsUsagePeriod struct {
Cpu *int32 `json:"cpu,omitempty"`
DiskGB *int32 `json:"diskGB,omitempty"`
EndAt *string `json:"endAt,omitempty"`
Gpu *int32 `json:"gpu,omitempty"`
Price *float32 `json:"price,omitempty"`
RamGB *int32 `json:"ramGB,omitempty"`
StartAt *string `json:"startAt,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelsUsagePeriod struct for ModelsUsagePeriod
func NewModelsUsagePeriod ¶
func NewModelsUsagePeriod() *ModelsUsagePeriod
NewModelsUsagePeriod instantiates a new ModelsUsagePeriod 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 NewModelsUsagePeriodWithDefaults ¶
func NewModelsUsagePeriodWithDefaults() *ModelsUsagePeriod
NewModelsUsagePeriodWithDefaults instantiates a new ModelsUsagePeriod 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 (*ModelsUsagePeriod) GetCpu ¶
func (o *ModelsUsagePeriod) GetCpu() int32
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*ModelsUsagePeriod) GetCpuOk ¶
func (o *ModelsUsagePeriod) GetCpuOk() (*int32, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsagePeriod) GetDiskGB ¶
func (o *ModelsUsagePeriod) GetDiskGB() int32
GetDiskGB returns the DiskGB field value if set, zero value otherwise.
func (*ModelsUsagePeriod) GetDiskGBOk ¶
func (o *ModelsUsagePeriod) GetDiskGBOk() (*int32, bool)
GetDiskGBOk returns a tuple with the DiskGB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsagePeriod) GetEndAt ¶
func (o *ModelsUsagePeriod) GetEndAt() string
GetEndAt returns the EndAt field value if set, zero value otherwise.
func (*ModelsUsagePeriod) GetEndAtOk ¶
func (o *ModelsUsagePeriod) GetEndAtOk() (*string, bool)
GetEndAtOk returns a tuple with the EndAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsagePeriod) GetGpu ¶
func (o *ModelsUsagePeriod) GetGpu() int32
GetGpu returns the Gpu field value if set, zero value otherwise.
func (*ModelsUsagePeriod) GetGpuOk ¶
func (o *ModelsUsagePeriod) GetGpuOk() (*int32, bool)
GetGpuOk returns a tuple with the Gpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsagePeriod) GetPrice ¶
func (o *ModelsUsagePeriod) GetPrice() float32
GetPrice returns the Price field value if set, zero value otherwise.
func (*ModelsUsagePeriod) GetPriceOk ¶
func (o *ModelsUsagePeriod) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsagePeriod) GetRamGB ¶
func (o *ModelsUsagePeriod) GetRamGB() int32
GetRamGB returns the RamGB field value if set, zero value otherwise.
func (*ModelsUsagePeriod) GetRamGBOk ¶
func (o *ModelsUsagePeriod) GetRamGBOk() (*int32, bool)
GetRamGBOk returns a tuple with the RamGB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsagePeriod) GetStartAt ¶
func (o *ModelsUsagePeriod) GetStartAt() string
GetStartAt returns the StartAt field value if set, zero value otherwise.
func (*ModelsUsagePeriod) GetStartAtOk ¶
func (o *ModelsUsagePeriod) GetStartAtOk() (*string, bool)
GetStartAtOk returns a tuple with the StartAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelsUsagePeriod) HasCpu ¶
func (o *ModelsUsagePeriod) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*ModelsUsagePeriod) HasDiskGB ¶
func (o *ModelsUsagePeriod) HasDiskGB() bool
HasDiskGB returns a boolean if a field has been set.
func (*ModelsUsagePeriod) HasEndAt ¶
func (o *ModelsUsagePeriod) HasEndAt() bool
HasEndAt returns a boolean if a field has been set.
func (*ModelsUsagePeriod) HasGpu ¶
func (o *ModelsUsagePeriod) HasGpu() bool
HasGpu returns a boolean if a field has been set.
func (*ModelsUsagePeriod) HasPrice ¶
func (o *ModelsUsagePeriod) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ModelsUsagePeriod) HasRamGB ¶
func (o *ModelsUsagePeriod) HasRamGB() bool
HasRamGB returns a boolean if a field has been set.
func (*ModelsUsagePeriod) HasStartAt ¶
func (o *ModelsUsagePeriod) HasStartAt() bool
HasStartAt returns a boolean if a field has been set.
func (ModelsUsagePeriod) MarshalJSON ¶
func (o ModelsUsagePeriod) MarshalJSON() ([]byte, error)
func (*ModelsUsagePeriod) SetCpu ¶
func (o *ModelsUsagePeriod) SetCpu(v int32)
SetCpu gets a reference to the given int32 and assigns it to the Cpu field.
func (*ModelsUsagePeriod) SetDiskGB ¶
func (o *ModelsUsagePeriod) SetDiskGB(v int32)
SetDiskGB gets a reference to the given int32 and assigns it to the DiskGB field.
func (*ModelsUsagePeriod) SetEndAt ¶
func (o *ModelsUsagePeriod) SetEndAt(v string)
SetEndAt gets a reference to the given string and assigns it to the EndAt field.
func (*ModelsUsagePeriod) SetGpu ¶
func (o *ModelsUsagePeriod) SetGpu(v int32)
SetGpu gets a reference to the given int32 and assigns it to the Gpu field.
func (*ModelsUsagePeriod) SetPrice ¶
func (o *ModelsUsagePeriod) SetPrice(v float32)
SetPrice gets a reference to the given float32 and assigns it to the Price field.
func (*ModelsUsagePeriod) SetRamGB ¶
func (o *ModelsUsagePeriod) SetRamGB(v int32)
SetRamGB gets a reference to the given int32 and assigns it to the RamGB field.
func (*ModelsUsagePeriod) SetStartAt ¶
func (o *ModelsUsagePeriod) SetStartAt(v string)
SetStartAt gets a reference to the given string and assigns it to the StartAt field.
func (ModelsUsagePeriod) ToMap ¶
func (o ModelsUsagePeriod) ToMap() (map[string]interface{}, error)
func (*ModelsUsagePeriod) UnmarshalJSON ¶
func (o *ModelsUsagePeriod) UnmarshalJSON(data []byte) (err error)
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableModelsAggregatedUsage ¶
type NullableModelsAggregatedUsage struct {
// contains filtered or unexported fields
}
func NewNullableModelsAggregatedUsage ¶
func NewNullableModelsAggregatedUsage(val *ModelsAggregatedUsage) *NullableModelsAggregatedUsage
func (NullableModelsAggregatedUsage) Get ¶
func (v NullableModelsAggregatedUsage) Get() *ModelsAggregatedUsage
func (NullableModelsAggregatedUsage) IsSet ¶
func (v NullableModelsAggregatedUsage) IsSet() bool
func (NullableModelsAggregatedUsage) MarshalJSON ¶
func (v NullableModelsAggregatedUsage) MarshalJSON() ([]byte, error)
func (*NullableModelsAggregatedUsage) Set ¶
func (v *NullableModelsAggregatedUsage) Set(val *ModelsAggregatedUsage)
func (*NullableModelsAggregatedUsage) UnmarshalJSON ¶
func (v *NullableModelsAggregatedUsage) UnmarshalJSON(src []byte) error
func (*NullableModelsAggregatedUsage) Unset ¶
func (v *NullableModelsAggregatedUsage) Unset()
type NullableModelsLogEntry ¶
type NullableModelsLogEntry struct {
// contains filtered or unexported fields
}
func NewNullableModelsLogEntry ¶
func NewNullableModelsLogEntry(val *ModelsLogEntry) *NullableModelsLogEntry
func (NullableModelsLogEntry) Get ¶
func (v NullableModelsLogEntry) Get() *ModelsLogEntry
func (NullableModelsLogEntry) IsSet ¶
func (v NullableModelsLogEntry) IsSet() bool
func (NullableModelsLogEntry) MarshalJSON ¶
func (v NullableModelsLogEntry) MarshalJSON() ([]byte, error)
func (*NullableModelsLogEntry) Set ¶
func (v *NullableModelsLogEntry) Set(val *ModelsLogEntry)
func (*NullableModelsLogEntry) UnmarshalJSON ¶
func (v *NullableModelsLogEntry) UnmarshalJSON(src []byte) error
func (*NullableModelsLogEntry) Unset ¶
func (v *NullableModelsLogEntry) Unset()
type NullableModelsMetricPoint ¶
type NullableModelsMetricPoint struct {
// contains filtered or unexported fields
}
func NewNullableModelsMetricPoint ¶
func NewNullableModelsMetricPoint(val *ModelsMetricPoint) *NullableModelsMetricPoint
func (NullableModelsMetricPoint) Get ¶
func (v NullableModelsMetricPoint) Get() *ModelsMetricPoint
func (NullableModelsMetricPoint) IsSet ¶
func (v NullableModelsMetricPoint) IsSet() bool
func (NullableModelsMetricPoint) MarshalJSON ¶
func (v NullableModelsMetricPoint) MarshalJSON() ([]byte, error)
func (*NullableModelsMetricPoint) Set ¶
func (v *NullableModelsMetricPoint) Set(val *ModelsMetricPoint)
func (*NullableModelsMetricPoint) UnmarshalJSON ¶
func (v *NullableModelsMetricPoint) UnmarshalJSON(src []byte) error
func (*NullableModelsMetricPoint) Unset ¶
func (v *NullableModelsMetricPoint) Unset()
type NullableModelsSandboxUsage ¶
type NullableModelsSandboxUsage struct {
// contains filtered or unexported fields
}
func NewNullableModelsSandboxUsage ¶
func NewNullableModelsSandboxUsage(val *ModelsSandboxUsage) *NullableModelsSandboxUsage
func (NullableModelsSandboxUsage) Get ¶
func (v NullableModelsSandboxUsage) Get() *ModelsSandboxUsage
func (NullableModelsSandboxUsage) IsSet ¶
func (v NullableModelsSandboxUsage) IsSet() bool
func (NullableModelsSandboxUsage) MarshalJSON ¶
func (v NullableModelsSandboxUsage) MarshalJSON() ([]byte, error)
func (*NullableModelsSandboxUsage) Set ¶
func (v *NullableModelsSandboxUsage) Set(val *ModelsSandboxUsage)
func (*NullableModelsSandboxUsage) UnmarshalJSON ¶
func (v *NullableModelsSandboxUsage) UnmarshalJSON(src []byte) error
func (*NullableModelsSandboxUsage) Unset ¶
func (v *NullableModelsSandboxUsage) Unset()
type NullableModelsSpan ¶
type NullableModelsSpan struct {
// contains filtered or unexported fields
}
func NewNullableModelsSpan ¶
func NewNullableModelsSpan(val *ModelsSpan) *NullableModelsSpan
func (NullableModelsSpan) Get ¶
func (v NullableModelsSpan) Get() *ModelsSpan
func (NullableModelsSpan) IsSet ¶
func (v NullableModelsSpan) IsSet() bool
func (NullableModelsSpan) MarshalJSON ¶
func (v NullableModelsSpan) MarshalJSON() ([]byte, error)
func (*NullableModelsSpan) Set ¶
func (v *NullableModelsSpan) Set(val *ModelsSpan)
func (*NullableModelsSpan) UnmarshalJSON ¶
func (v *NullableModelsSpan) UnmarshalJSON(src []byte) error
func (*NullableModelsSpan) Unset ¶
func (v *NullableModelsSpan) Unset()
type NullableModelsTraceSummary ¶
type NullableModelsTraceSummary struct {
// contains filtered or unexported fields
}
func NewNullableModelsTraceSummary ¶
func NewNullableModelsTraceSummary(val *ModelsTraceSummary) *NullableModelsTraceSummary
func (NullableModelsTraceSummary) Get ¶
func (v NullableModelsTraceSummary) Get() *ModelsTraceSummary
func (NullableModelsTraceSummary) IsSet ¶
func (v NullableModelsTraceSummary) IsSet() bool
func (NullableModelsTraceSummary) MarshalJSON ¶
func (v NullableModelsTraceSummary) MarshalJSON() ([]byte, error)
func (*NullableModelsTraceSummary) Set ¶
func (v *NullableModelsTraceSummary) Set(val *ModelsTraceSummary)
func (*NullableModelsTraceSummary) UnmarshalJSON ¶
func (v *NullableModelsTraceSummary) UnmarshalJSON(src []byte) error
func (*NullableModelsTraceSummary) Unset ¶
func (v *NullableModelsTraceSummary) Unset()
type NullableModelsUsageChartPoint ¶
type NullableModelsUsageChartPoint struct {
// contains filtered or unexported fields
}
func NewNullableModelsUsageChartPoint ¶
func NewNullableModelsUsageChartPoint(val *ModelsUsageChartPoint) *NullableModelsUsageChartPoint
func (NullableModelsUsageChartPoint) Get ¶
func (v NullableModelsUsageChartPoint) Get() *ModelsUsageChartPoint
func (NullableModelsUsageChartPoint) IsSet ¶
func (v NullableModelsUsageChartPoint) IsSet() bool
func (NullableModelsUsageChartPoint) MarshalJSON ¶
func (v NullableModelsUsageChartPoint) MarshalJSON() ([]byte, error)
func (*NullableModelsUsageChartPoint) Set ¶
func (v *NullableModelsUsageChartPoint) Set(val *ModelsUsageChartPoint)
func (*NullableModelsUsageChartPoint) UnmarshalJSON ¶
func (v *NullableModelsUsageChartPoint) UnmarshalJSON(src []byte) error
func (*NullableModelsUsageChartPoint) Unset ¶
func (v *NullableModelsUsageChartPoint) Unset()
type NullableModelsUsagePeriod ¶
type NullableModelsUsagePeriod struct {
// contains filtered or unexported fields
}
func NewNullableModelsUsagePeriod ¶
func NewNullableModelsUsagePeriod(val *ModelsUsagePeriod) *NullableModelsUsagePeriod
func (NullableModelsUsagePeriod) Get ¶
func (v NullableModelsUsagePeriod) Get() *ModelsUsagePeriod
func (NullableModelsUsagePeriod) IsSet ¶
func (v NullableModelsUsagePeriod) IsSet() bool
func (NullableModelsUsagePeriod) MarshalJSON ¶
func (v NullableModelsUsagePeriod) MarshalJSON() ([]byte, error)
func (*NullableModelsUsagePeriod) Set ¶
func (v *NullableModelsUsagePeriod) Set(val *ModelsUsagePeriod)
func (*NullableModelsUsagePeriod) UnmarshalJSON ¶
func (v *NullableModelsUsagePeriod) UnmarshalJSON(src []byte) error
func (*NullableModelsUsagePeriod) Unset ¶
func (v *NullableModelsUsagePeriod) 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 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
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TelemetryAPI ¶
type TelemetryAPI interface {
/*
OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGet Get sandbox logs
Returns paginated log entries with optional severity and search filters
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId Organization ID
@param sandboxId Sandbox ID
@return TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
*/
OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGet(ctx context.Context, organizationId string, sandboxId string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
// OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetExecute executes the request
// @return []ModelsLogEntry
OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetExecute(r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) ([]ModelsLogEntry, *http.Response, error)
/*
OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet Get sandbox metrics
Returns gauge metrics aggregated in 1-minute intervals
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId Organization ID
@param sandboxId Sandbox ID
@return TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest
*/
OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet(ctx context.Context, organizationId string, sandboxId string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest
// OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetExecute executes the request
// @return []ModelsMetricPoint
OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetExecute(r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) ([]ModelsMetricPoint, *http.Response, error)
/*
OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGet Get sandbox traces
Returns paginated trace summaries with span counts and root span info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId Organization ID
@param sandboxId Sandbox ID
@return TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest
*/
OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGet(ctx context.Context, organizationId string, sandboxId string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest
// OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetExecute executes the request
// @return []ModelsTraceSummary
OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetExecute(r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) ([]ModelsTraceSummary, *http.Response, error)
/*
OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet Get trace spans
Returns all spans belonging to a specific trace ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId Organization ID
@param sandboxId Sandbox ID
@param traceId Trace ID
@return TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest
*/
OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet(ctx context.Context, organizationId string, sandboxId string, traceId string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest
// OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetExecute executes the request
// @return []ModelsSpan
OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetExecute(r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest) ([]ModelsSpan, *http.Response, error)
}
type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest ¶
type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest struct {
ApiService TelemetryAPI
// contains filtered or unexported fields
}
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Execute ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Execute() ([]ModelsLogEntry, *http.Response, error)
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) From ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) From(from string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
Start time (RFC3339)
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Limit ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Limit(limit int32) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
Page size
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Offset ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Offset(offset int32) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
Offset
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Search ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Search(search string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
Search text (ILIKE)
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Severity ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) Severity(severity string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
Comma-separated severity levels
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) To ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) To(to string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
End time (RFC3339)
type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest ¶
type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest struct {
ApiService TelemetryAPI
// contains filtered or unexported fields
}
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) Execute ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) Execute() ([]ModelsMetricPoint, *http.Response, error)
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) From ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) From(from string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest
Start time (RFC3339)
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) MetricNames ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) MetricNames(metricNames string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest
Comma-separated metric names
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) To ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) To(to string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest
End time (RFC3339)
type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest ¶
type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest struct {
ApiService TelemetryAPI
// contains filtered or unexported fields
}
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) Execute ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) Execute() ([]ModelsTraceSummary, *http.Response, error)
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) From ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) From(from string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest
Start time (RFC3339)
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) Limit ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) Limit(limit int32) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest
Page size
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) Offset ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) Offset(offset int32) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest
Offset
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) To ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) To(to string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest
End time (RFC3339)
type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest ¶
type TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest struct {
ApiService TelemetryAPI
// contains filtered or unexported fields
}
func (TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest) Execute ¶
func (r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest) Execute() ([]ModelsSpan, *http.Response, error)
type TelemetryAPIService ¶
type TelemetryAPIService service
TelemetryAPIService TelemetryAPI service
func (*TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGet ¶
func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGet(ctx context.Context, organizationId string, sandboxId string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGet Get sandbox logs
Returns paginated log entries with optional severity and search filters
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId Organization ID @param sandboxId Sandbox ID @return TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest
func (*TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetExecute ¶
func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetExecute(r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryLogsGetRequest) ([]ModelsLogEntry, *http.Response, error)
Execute executes the request
@return []ModelsLogEntry
func (*TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet ¶
func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet(ctx context.Context, organizationId string, sandboxId string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest
OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGet Get sandbox metrics
Returns gauge metrics aggregated in 1-minute intervals
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId Organization ID @param sandboxId Sandbox ID @return TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest
func (*TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetExecute ¶
func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetExecute(r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryMetricsGetRequest) ([]ModelsMetricPoint, *http.Response, error)
Execute executes the request
@return []ModelsMetricPoint
func (*TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGet ¶
func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGet(ctx context.Context, organizationId string, sandboxId string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest
OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGet Get sandbox traces
Returns paginated trace summaries with span counts and root span info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId Organization ID @param sandboxId Sandbox ID @return TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest
func (*TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetExecute ¶
func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetExecute(r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesGetRequest) ([]ModelsTraceSummary, *http.Response, error)
Execute executes the request
@return []ModelsTraceSummary
func (*TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet ¶
func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet(ctx context.Context, organizationId string, sandboxId string, traceId string) TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest
OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGet Get trace spans
Returns all spans belonging to a specific trace ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId Organization ID @param sandboxId Sandbox ID @param traceId Trace ID @return TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest
func (*TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetExecute ¶
func (a *TelemetryAPIService) OrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetExecute(r TelemetryAPIOrganizationOrganizationIdSandboxSandboxIdTelemetryTracesTraceIdGetRequest) ([]ModelsSpan, *http.Response, error)
Execute executes the request
@return []ModelsSpan
type UsageAPI ¶
type UsageAPI interface {
/*
OrganizationOrganizationIdSandboxSandboxIdUsageGet Get sandbox usage periods
Returns individual usage records for a specific sandbox within a time range
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId Organization ID
@param sandboxId Sandbox ID
@return UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
*/
OrganizationOrganizationIdSandboxSandboxIdUsageGet(ctx context.Context, organizationId string, sandboxId string) UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
// OrganizationOrganizationIdSandboxSandboxIdUsageGetExecute executes the request
// @return []ModelsUsagePeriod
OrganizationOrganizationIdSandboxSandboxIdUsageGetExecute(r UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) ([]ModelsUsagePeriod, *http.Response, error)
/*
OrganizationOrganizationIdUsageAggregatedGet Get aggregated usage
Returns organization-level resource usage totals for a given time period
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId Organization ID
@return UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
*/
OrganizationOrganizationIdUsageAggregatedGet(ctx context.Context, organizationId string) UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
// OrganizationOrganizationIdUsageAggregatedGetExecute executes the request
// @return ModelsAggregatedUsage
OrganizationOrganizationIdUsageAggregatedGetExecute(r UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) (*ModelsAggregatedUsage, *http.Response, error)
/*
OrganizationOrganizationIdUsageChartGet Get usage chart data
Returns resource usage data points for a given time period with auto-scaled resolution
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId Organization ID
@return UsageAPIOrganizationOrganizationIdUsageChartGetRequest
*/
OrganizationOrganizationIdUsageChartGet(ctx context.Context, organizationId string) UsageAPIOrganizationOrganizationIdUsageChartGetRequest
// OrganizationOrganizationIdUsageChartGetExecute executes the request
// @return []ModelsUsageChartPoint
OrganizationOrganizationIdUsageChartGetExecute(r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) ([]ModelsUsageChartPoint, *http.Response, error)
/*
OrganizationOrganizationIdUsageSandboxGet Get per-sandbox usage
Returns resource usage aggregated per sandbox for a given time period
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId Organization ID
@return UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
*/
OrganizationOrganizationIdUsageSandboxGet(ctx context.Context, organizationId string) UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
// OrganizationOrganizationIdUsageSandboxGetExecute executes the request
// @return []ModelsSandboxUsage
OrganizationOrganizationIdUsageSandboxGetExecute(r UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) ([]ModelsSandboxUsage, *http.Response, error)
}
type UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest ¶
type UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest struct {
ApiService UsageAPI
// contains filtered or unexported fields
}
func (UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) Execute ¶
func (r UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) Execute() ([]ModelsUsagePeriod, *http.Response, error)
func (UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) From ¶
func (r UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) From(from string) UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
Start time (RFC3339)
func (UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) To ¶
func (r UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) To(to string) UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
End time (RFC3339)
type UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest ¶
type UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest struct {
ApiService UsageAPI
// contains filtered or unexported fields
}
func (UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) Execute ¶
func (r UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) Execute() (*ModelsAggregatedUsage, *http.Response, error)
func (UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) From ¶
func (r UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) From(from string) UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
Start time (RFC3339)
func (UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) To ¶
func (r UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) To(to string) UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
End time (RFC3339)
type UsageAPIOrganizationOrganizationIdUsageChartGetRequest ¶
type UsageAPIOrganizationOrganizationIdUsageChartGetRequest struct {
ApiService UsageAPI
// contains filtered or unexported fields
}
func (UsageAPIOrganizationOrganizationIdUsageChartGetRequest) Execute ¶
func (r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) Execute() ([]ModelsUsageChartPoint, *http.Response, error)
func (UsageAPIOrganizationOrganizationIdUsageChartGetRequest) From ¶
func (r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) From(from string) UsageAPIOrganizationOrganizationIdUsageChartGetRequest
Start time (RFC3339)
func (UsageAPIOrganizationOrganizationIdUsageChartGetRequest) Region ¶
func (r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) Region(region string) UsageAPIOrganizationOrganizationIdUsageChartGetRequest
Region filter
func (UsageAPIOrganizationOrganizationIdUsageChartGetRequest) To ¶
func (r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) To(to string) UsageAPIOrganizationOrganizationIdUsageChartGetRequest
End time (RFC3339)
type UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest ¶
type UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest struct {
ApiService UsageAPI
// contains filtered or unexported fields
}
func (UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) Execute ¶
func (r UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) Execute() ([]ModelsSandboxUsage, *http.Response, error)
func (UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) From ¶
func (r UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) From(from string) UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
Start time (RFC3339)
func (UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) To ¶
func (r UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) To(to string) UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
End time (RFC3339)
type UsageAPIService ¶
type UsageAPIService service
UsageAPIService UsageAPI service
func (*UsageAPIService) OrganizationOrganizationIdSandboxSandboxIdUsageGet ¶
func (a *UsageAPIService) OrganizationOrganizationIdSandboxSandboxIdUsageGet(ctx context.Context, organizationId string, sandboxId string) UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
OrganizationOrganizationIdSandboxSandboxIdUsageGet Get sandbox usage periods
Returns individual usage records for a specific sandbox within a time range
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId Organization ID @param sandboxId Sandbox ID @return UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest
func (*UsageAPIService) OrganizationOrganizationIdSandboxSandboxIdUsageGetExecute ¶
func (a *UsageAPIService) OrganizationOrganizationIdSandboxSandboxIdUsageGetExecute(r UsageAPIOrganizationOrganizationIdSandboxSandboxIdUsageGetRequest) ([]ModelsUsagePeriod, *http.Response, error)
Execute executes the request
@return []ModelsUsagePeriod
func (*UsageAPIService) OrganizationOrganizationIdUsageAggregatedGet ¶
func (a *UsageAPIService) OrganizationOrganizationIdUsageAggregatedGet(ctx context.Context, organizationId string) UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
OrganizationOrganizationIdUsageAggregatedGet Get aggregated usage
Returns organization-level resource usage totals for a given time period
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId Organization ID @return UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest
func (*UsageAPIService) OrganizationOrganizationIdUsageAggregatedGetExecute ¶
func (a *UsageAPIService) OrganizationOrganizationIdUsageAggregatedGetExecute(r UsageAPIOrganizationOrganizationIdUsageAggregatedGetRequest) (*ModelsAggregatedUsage, *http.Response, error)
Execute executes the request
@return ModelsAggregatedUsage
func (*UsageAPIService) OrganizationOrganizationIdUsageChartGet ¶
func (a *UsageAPIService) OrganizationOrganizationIdUsageChartGet(ctx context.Context, organizationId string) UsageAPIOrganizationOrganizationIdUsageChartGetRequest
OrganizationOrganizationIdUsageChartGet Get usage chart data
Returns resource usage data points for a given time period with auto-scaled resolution
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId Organization ID @return UsageAPIOrganizationOrganizationIdUsageChartGetRequest
func (*UsageAPIService) OrganizationOrganizationIdUsageChartGetExecute ¶
func (a *UsageAPIService) OrganizationOrganizationIdUsageChartGetExecute(r UsageAPIOrganizationOrganizationIdUsageChartGetRequest) ([]ModelsUsageChartPoint, *http.Response, error)
Execute executes the request
@return []ModelsUsageChartPoint
func (*UsageAPIService) OrganizationOrganizationIdUsageSandboxGet ¶
func (a *UsageAPIService) OrganizationOrganizationIdUsageSandboxGet(ctx context.Context, organizationId string) UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
OrganizationOrganizationIdUsageSandboxGet Get per-sandbox usage
Returns resource usage aggregated per sandbox for a given time period
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId Organization ID @return UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest
func (*UsageAPIService) OrganizationOrganizationIdUsageSandboxGetExecute ¶
func (a *UsageAPIService) OrganizationOrganizationIdUsageSandboxGetExecute(r UsageAPIOrganizationOrganizationIdUsageSandboxGetRequest) ([]ModelsSandboxUsage, *http.Response, error)
Execute executes the request
@return []ModelsSandboxUsage
Source Files
¶
- api_telemetry.go
- api_usage.go
- client.go
- configuration.go
- model_models_aggregated_usage.go
- model_models_log_entry.go
- model_models_metric_point.go
- model_models_sandbox_usage.go
- model_models_span.go
- model_models_trace_summary.go
- model_models_usage_chart_point.go
- model_models_usage_period.go
- response.go
- utils.go
- version.go