diff --git a/api/openapi.yaml b/api/openapi.yaml index a990c74..481f5e4 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -12735,30 +12735,30 @@ components: Monitor: example: ThrottlingOptions: - ThrottlingSpeedUp: 1 - ThrottlingSpeedDown: 1 - ThrottlingLatency: 1 + ThrottlingSpeedUp: 2 + ThrottlingSpeedDown: 4 + ThrottlingLatency: 7 BlockUrls: - BlockUrls - BlockUrls BrowserWindowDimensions: - PixelRatio: 3 + PixelRatio: 8 MobileDevice: MobileDevice - Height: 9 + Height: 6 IsMobile: true - Width: 7 + Width: 9 MatchPatterns: - Pattern: Pattern DateTime: - MaxDifference: 8 - OffsetUTC: 6 + MaxDifference: 9 + OffsetUTC: 5 IsPositive: true - Pattern: Pattern DateTime: - MaxDifference: 8 - OffsetUTC: 6 + MaxDifference: 9 + OffsetUTC: 5 IsPositive: true - Port: 5 + Port: 7 CheckCertificateErrors: true Hash: Hash NameForPhoneAlerts: NameForPhoneAlerts @@ -12804,15 +12804,15 @@ components: SelfServiceTransactionScript: SelfServiceTransactionScript ConcurrentConfirmedErrorThreshold: 6 DnsExpectedResult: DnsExpectedResult - MaximumBytes: 7 + MaximumBytes: 1 AlertOnPercentageFail: true IsActive: true - CheckInterval: 5 + CheckInterval: 0 DomainGroupGuid: DomainGroupGuid AlertOnLoadTimeLimit1: true CertificateOrganizationalUnit: CertificateOrganizationalUnit AlertOnLoadTimeLimit2: true - MinimumBytes: 9 + MinimumBytes: 1 CustomMetrics: - VariableName: VariableName Name: Name @@ -12823,10 +12823,10 @@ components: SftpActionPath: SftpActionPath CertificateIssuerOrganizationalUnit: CertificateIssuerOrganizationalUnit NetworkAddress: NetworkAddress - ExpectedHttpStatusCode: 9 + ExpectedHttpStatusCode: 4 UserAgent: UserAgent CertificateFingerprint: CertificateFingerprint - FailedObjectPercentage: 4 + FailedObjectPercentage: 6 PredefinedVariables: - Value: Value Key: Key @@ -12847,23 +12847,23 @@ components: NativeIPv6Only: true SelectedCheckpoints: Checkpoints: - - 0 - - 0 + - 5 + - 5 ExcludeLocations: - - 1 - - 1 + - 7 + - 7 Regions: - - 6 - - 6 + - 2 + - 2 DnsServer: DnsServer BlockGoogleAnalytics: true DnsTestValue: DnsTestValue ImapSecureConnection: true MonitorMode: '{}' - LoadTimeLimit1: 5 - CertificateExpirationWarningDays: 6 - LoadTimeLimit2: 2 - Credits: 2 + LoadTimeLimit1: 9 + CertificateExpirationWarningDays: 1 + Credits: 6 + LoadTimeLimit2: 3 Username: Username MsaSteps: - UseFixedClientCertificate: true @@ -12878,9 +12878,9 @@ components: - TargetValue: TargetValue Property: Property Url: Url - Delay: 4 + Delay: 1 Name: Name - MaxAttempts: 7 + MaxAttempts: 5 Variables: - Arguments: - null @@ -12916,9 +12916,9 @@ components: - TargetValue: TargetValue Property: Property Url: Url - Delay: 4 + Delay: 1 Name: Name - MaxAttempts: 7 + MaxAttempts: 5 Variables: - Arguments: - null @@ -12952,81 +12952,31 @@ components: Name: description: The name of this monitor. type: string - MonitorType: - $ref: '#/components/schemas/MonitorType' - GenerateAlert: - default: true - description: Indicates whether this monitor should generate alerts. - type: boolean IsActive: default: true description: Indicates whether this monitor is actively running according to the monitoring interval. type: boolean + Hash: + description: Hash corresponding with this monitor. + type: string + GenerateAlert: + default: true + description: Indicates whether this monitor should generate alerts. + type: boolean IsLocked: description: Indicates whether this monitor is locked. type: boolean - CustomFields: - items: - $ref: '#/components/schemas/CustomField' - type: array - SelectedCheckpoints: - $ref: '#/components/schemas/SelectedCheckpoints' - UsePrimaryCheckpointsOnly: - type: boolean CheckInterval: description: Indicates the interval in seconds type: integer + Credits: + format: int32 + type: integer MonitorMode: allOf: - $ref: '#/components/schemas/MonitorMode' type: object - Notes: - type: string - Hash: - description: Hash corresponding with this monitor. - type: string - TransactionStepDefinition: - allOf: - - $ref: '#/components/schemas/TransactionStepDefinition' - description: 'Only valid for Transaction monitors: the data structure that - specifies the transaction steps (and sub steps) to execute.' - type: object - BlockUptrendsRum: - type: boolean - BlockGoogleAnalytics: - type: boolean - BlockUrls: - items: - type: string - type: array - RequestHeaders: - items: - $ref: '#/components/schemas/RequestHeader' - type: array - UserAgent: - type: string - LoadTimeLimit1: - format: int32 - type: integer - AlertOnLoadTimeLimit1: - type: boolean - LoadTimeLimit2: - format: int32 - type: integer - AlertOnLoadTimeLimit2: - type: boolean - Username: - type: string - AuthenticationType: - $ref: '#/components/schemas/ApiHttpAuthenticationType' - BrowserType: - $ref: '#/components/schemas/BrowserType' - BrowserWindowDimensions: - $ref: '#/components/schemas/BrowserWindowDimensions' - Credits: - format: int32 - type: integer PredefinedVariables: items: $ref: '#/components/schemas/PredefinedVariable' @@ -13043,14 +12993,60 @@ components: items: $ref: '#/components/schemas/CustomMetric' type: array + CustomFields: + items: + $ref: '#/components/schemas/CustomField' + type: array + SelectedCheckpoints: + $ref: '#/components/schemas/SelectedCheckpoints' + UsePrimaryCheckpointsOnly: + type: boolean SelfServiceTransactionScript: type: string + MonitorType: + $ref: '#/components/schemas/MonitorType' + Notes: + type: string + AlertOnLoadTimeLimit1: + type: boolean + LoadTimeLimit1: + format: int32 + type: integer + AlertOnLoadTimeLimit2: + type: boolean + LoadTimeLimit2: + format: int32 + type: integer + BlockGoogleAnalytics: + type: boolean + BlockUptrendsRum: + type: boolean + BlockUrls: + items: + type: string + type: array + RequestHeaders: + items: + $ref: '#/components/schemas/RequestHeader' + type: array + UserAgent: + type: string + Username: + type: string Password: type: string NameForPhoneAlerts: type: string + AuthenticationType: + $ref: '#/components/schemas/ApiHttpAuthenticationType' ThrottlingOptions: $ref: '#/components/schemas/ThrottlingOptions' + TransactionStepDefinition: + allOf: + - $ref: '#/components/schemas/TransactionStepDefinition' + description: 'Only valid for Transaction monitors: the data structure that + specifies the transaction steps (and sub steps) to execute.' + type: object CertificateName: type: string CertificateOrganization: @@ -13111,264 +13107,60 @@ components: type: boolean AlertOnMinimumBytes: type: boolean - MinimumBytes: - format: int32 - type: integer - DatabaseName: - type: string - NetworkAddress: - type: string - ImapSecureConnection: - type: boolean - SftpAction: - $ref: '#/components/schemas/SftpAction' - SftpActionPath: - type: string - HttpMethod: - $ref: '#/components/schemas/HttpMethod' - ExpectedHttpStatusCode: - format: int32 - type: integer - ExpectedHttpStatusCodeSpecified: - type: boolean - TlsVersion: - $ref: '#/components/schemas/TlsVersion' - RequestBody: - type: string - MatchPatterns: - items: - $ref: '#/components/schemas/PatternMatch' - type: array - Url: - type: string - UseConcurrentMonitoring: - type: boolean - ConcurrentUnconfirmedErrorThreshold: - format: int32 - type: integer - ConcurrentConfirmedErrorThreshold: - format: int32 - type: integer - type: object - MonitorType: - description: "" - enum: - - Http - - Https - - Connect - - Ping - - POP3 - - SMTP - - FTP - - MySQL - - MSSQL - - WebserviceHttp - - WebserviceHttps - - Transaction - - DNS - - FullPageCheck - - RealBrowserCheck - - Certificate - - SFTP - - MultiStepApi - - IMAP - type: string - x-enumNames: - - Http - - Https - - Connect - - Ping - - POP3 - - SMTP - - FTP - - MySQL - - MSSQL - - WebserviceHttp - - WebserviceHttps - - Transaction - - DNS - - FullPageCheck - - RealBrowserCheck - - Certificate - - SFTP - - MultiStepApi - - IMAP - CustomField: - example: - Value: Value - Name: Name - properties: - Name: - type: string - Value: - type: string - type: object - SelectedCheckpoints: - example: - Checkpoints: - - 0 - - 0 - ExcludeLocations: - - 1 - - 1 - Regions: - - 6 - - 6 - properties: - Checkpoints: - items: - type: integer - type: array - Regions: - items: - type: integer - type: array - ExcludeLocations: - items: - type: integer - type: array - type: object - MonitorMode: - description: "" - enum: - - Development - - Staging - - Production - type: string - x-enumNames: - - Development - - Staging - - Production - TransactionStepDefinition: - properties: - Steps: - items: - $ref: '#/components/schemas/TransactionStep2' - type: array - type: object - TransactionStep2: - properties: - Name: - type: string - HasScreenshot: - type: boolean - HasWaterfall: - type: boolean - SubSteps: - items: - $ref: '#/components/schemas/TransactionSubStep' - type: array - required: - - HasScreenshot - - HasWaterfall - type: object - TransactionSubStep: - properties: - Name: - type: string - Type: - $ref: '#/components/schemas/SubStepType' - Url: - type: string - SetValue: - type: string - required: - - Type - type: object - SubStepType: - description: "" - enum: - - Navigate - - Click - - Set - - Test - - Script - - Hover - - Screenshot - - ScrollTo - - WaitForElement - - SwitchToFrame - - SwitchToTab - type: string - x-enumNames: - - Navigate - - Click - - Set - - Test - - Script - - Hover - - Screenshot - - ScrollTo - - WaitForElement - - SwitchToFrame - - SwitchToTab - RequestHeader: - example: - Value: Value - Name: Name - properties: - Name: - type: string - Value: - type: string - type: object - ApiHttpAuthenticationType: - description: "" - enum: - - None - - Basic - - NTLM - - Digest - type: string - x-enumNames: - - None - - Basic - - NTLM - - Digest - BrowserType: - description: "" - enum: - - IE - - Firefox - - Chrome - - Safari - - PhantomJS - - PhantomJS20 - type: string - x-enumNames: - - IE - - Firefox - - Chrome - - Safari - - PhantomJS - - PhantomJS20 - BrowserWindowDimensions: - example: - PixelRatio: 3 - MobileDevice: MobileDevice - Height: 9 - IsMobile: true - Width: 7 - properties: - IsMobile: - type: boolean - Width: + MinimumBytes: format: int32 type: integer - Height: + DatabaseName: + type: string + NetworkAddress: + type: string + ImapSecureConnection: + type: boolean + SftpAction: + $ref: '#/components/schemas/SftpAction' + SftpActionPath: + type: string + HttpMethod: + $ref: '#/components/schemas/HttpMethod' + ExpectedHttpStatusCode: format: int32 type: integer - PixelRatio: + ExpectedHttpStatusCodeSpecified: + type: boolean + TlsVersion: + $ref: '#/components/schemas/TlsVersion' + RequestBody: + type: string + MatchPatterns: + items: + $ref: '#/components/schemas/PatternMatch' + type: array + Url: + type: string + BrowserType: + $ref: '#/components/schemas/BrowserType' + BrowserWindowDimensions: + $ref: '#/components/schemas/BrowserWindowDimensions' + UseConcurrentMonitoring: + type: boolean + ConcurrentUnconfirmedErrorThreshold: + format: int32 + type: integer + ConcurrentConfirmedErrorThreshold: format: int32 type: integer - MobileDevice: - type: string - required: - - Height - - IsMobile - - PixelRatio - - Width type: object + MonitorMode: + description: "" + enum: + - Development + - Staging + - Production + type: string + x-enumNames: + - Development + - Staging + - Production PredefinedVariable: example: Value: Value @@ -13393,9 +13185,9 @@ components: - TargetValue: TargetValue Property: Property Url: Url - Delay: 4 + Delay: 1 Name: Name - MaxAttempts: 7 + MaxAttempts: 5 Variables: - Arguments: - null @@ -13684,6 +13476,19 @@ components: - Id - PasswordSpecified type: object + ApiHttpAuthenticationType: + description: "" + enum: + - None + - Basic + - NTLM + - Digest + type: string + x-enumNames: + - None + - Basic + - NTLM + - Digest MsaStepType: description: "" enum: @@ -13770,11 +13575,99 @@ components: VariableName: type: string type: object + CustomField: + example: + Value: Value + Name: Name + properties: + Name: + type: string + Value: + type: string + type: object + SelectedCheckpoints: + example: + Checkpoints: + - 5 + - 5 + ExcludeLocations: + - 7 + - 7 + Regions: + - 2 + - 2 + properties: + Checkpoints: + items: + type: integer + type: array + Regions: + items: + type: integer + type: array + ExcludeLocations: + items: + type: integer + type: array + type: object + MonitorType: + description: "" + enum: + - Http + - Https + - Connect + - Ping + - POP3 + - SMTP + - FTP + - MySQL + - MSSQL + - WebserviceHttp + - WebserviceHttps + - Transaction + - DNS + - FullPageCheck + - RealBrowserCheck + - Certificate + - SFTP + - MultiStepApi + - IMAP + type: string + x-enumNames: + - Http + - Https + - Connect + - Ping + - POP3 + - SMTP + - FTP + - MySQL + - MSSQL + - WebserviceHttp + - WebserviceHttps + - Transaction + - DNS + - FullPageCheck + - RealBrowserCheck + - Certificate + - SFTP + - MultiStepApi + - IMAP + RequestHeader: + example: + Value: Value + Name: Name + properties: + Name: + type: string + Value: + type: string + type: object ThrottlingOptions: example: - ThrottlingSpeedUp: 1 - ThrottlingSpeedDown: 1 - ThrottlingLatency: 1 + ThrottlingSpeedUp: 2 + ThrottlingSpeedDown: 4 + ThrottlingLatency: 7 properties: ThrottlingType: $ref: '#/components/schemas/ThrottlingType' @@ -13818,6 +13711,69 @@ components: - _2G - _3G - _4G + TransactionStepDefinition: + properties: + Steps: + items: + $ref: '#/components/schemas/TransactionStep2' + type: array + type: object + TransactionStep2: + properties: + Name: + type: string + HasScreenshot: + type: boolean + HasWaterfall: + type: boolean + SubSteps: + items: + $ref: '#/components/schemas/TransactionSubStep' + type: array + required: + - HasScreenshot + - HasWaterfall + type: object + TransactionSubStep: + properties: + Name: + type: string + Type: + $ref: '#/components/schemas/SubStepType' + Url: + type: string + SetValue: + type: string + required: + - Type + type: object + SubStepType: + description: "" + enum: + - Navigate + - Click + - Set + - Test + - Script + - Hover + - Screenshot + - ScrollTo + - WaitForElement + - SwitchToFrame + - SwitchToTab + type: string + x-enumNames: + - Navigate + - Click + - Set + - Test + - Script + - Hover + - Screenshot + - ScrollTo + - WaitForElement + - SwitchToFrame + - SwitchToTab DnsQuery: description: "" enum: @@ -13895,8 +13851,8 @@ components: example: Pattern: Pattern DateTime: - MaxDifference: 8 - OffsetUTC: 6 + MaxDifference: 9 + OffsetUTC: 5 IsPositive: true properties: Pattern: @@ -13910,8 +13866,8 @@ components: type: object DateTimePatternMatch: example: - MaxDifference: 8 - OffsetUTC: 6 + MaxDifference: 9 + OffsetUTC: 5 properties: OffsetUTC: format: int32 @@ -13923,6 +13879,50 @@ components: - MaxDifference - OffsetUTC type: object + BrowserType: + description: "" + enum: + - IE + - Firefox + - Chrome + - Safari + - PhantomJS + - PhantomJS20 + type: string + x-enumNames: + - IE + - Firefox + - Chrome + - Safari + - PhantomJS + - PhantomJS20 + BrowserWindowDimensions: + example: + PixelRatio: 8 + MobileDevice: MobileDevice + Height: 6 + IsMobile: true + Width: 9 + properties: + IsMobile: + type: boolean + Width: + format: int32 + type: integer + Height: + format: int32 + type: integer + PixelRatio: + format: int32 + type: integer + MobileDevice: + type: string + required: + - Height + - IsMobile + - PixelRatio + - Width + type: object RegistrationResponse: example: OperatorName: OperatorName diff --git a/docs/Monitor.md b/docs/Monitor.md index 61ac3ee..b925e9f 100644 --- a/docs/Monitor.md +++ b/docs/Monitor.md @@ -6,40 +6,38 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MonitorGuid** | Pointer to **string** | The unique key of this monitor. | [optional] **Name** | Pointer to **string** | The name of this monitor. | [optional] -**MonitorType** | Pointer to [**MonitorType**](MonitorType.md) | | [optional] -**GenerateAlert** | Pointer to **bool** | Indicates whether this monitor should generate alerts. | [optional] [default to true] **IsActive** | Pointer to **bool** | Indicates whether this monitor is actively running according to the monitoring interval. | [optional] [default to true] +**Hash** | Pointer to **string** | Hash corresponding with this monitor. | [optional] +**GenerateAlert** | Pointer to **bool** | Indicates whether this monitor should generate alerts. | [optional] [default to true] **IsLocked** | Pointer to **bool** | Indicates whether this monitor is locked. | [optional] +**CheckInterval** | Pointer to **int32** | Indicates the interval in seconds | [optional] +**Credits** | Pointer to **int32** | | [optional] +**MonitorMode** | Pointer to [**MonitorMode**](MonitorMode.md) | | [optional] +**PredefinedVariables** | Pointer to [**[]PredefinedVariable**](PredefinedVariable.md) | | [optional] +**MsaSteps** | Pointer to [**[]MsaStep**](MsaStep.md) | | [optional] +**UserDefinedFunctions** | Pointer to [**[]UserDefinedFunction**](UserDefinedFunction.md) | | [optional] +**CustomMetrics** | Pointer to [**[]CustomMetric**](CustomMetric.md) | | [optional] **CustomFields** | Pointer to [**[]CustomField**](CustomField.md) | | [optional] **SelectedCheckpoints** | Pointer to [**SelectedCheckpoints**](SelectedCheckpoints.md) | | [optional] **UsePrimaryCheckpointsOnly** | Pointer to **bool** | | [optional] -**CheckInterval** | Pointer to **int32** | Indicates the interval in seconds | [optional] -**MonitorMode** | Pointer to [**MonitorMode**](MonitorMode.md) | | [optional] +**SelfServiceTransactionScript** | Pointer to **string** | | [optional] +**MonitorType** | Pointer to [**MonitorType**](MonitorType.md) | | [optional] **Notes** | Pointer to **string** | | [optional] -**Hash** | Pointer to **string** | Hash corresponding with this monitor. | [optional] -**TransactionStepDefinition** | Pointer to [**TransactionStepDefinition**](TransactionStepDefinition.md) | Only valid for Transaction monitors: the data structure that specifies the transaction steps (and sub steps) to execute. | [optional] -**BlockUptrendsRum** | Pointer to **bool** | | [optional] +**AlertOnLoadTimeLimit1** | Pointer to **bool** | | [optional] +**LoadTimeLimit1** | Pointer to **int32** | | [optional] +**AlertOnLoadTimeLimit2** | Pointer to **bool** | | [optional] +**LoadTimeLimit2** | Pointer to **int32** | | [optional] **BlockGoogleAnalytics** | Pointer to **bool** | | [optional] +**BlockUptrendsRum** | Pointer to **bool** | | [optional] **BlockUrls** | Pointer to **[]string** | | [optional] **RequestHeaders** | Pointer to [**[]RequestHeader**](RequestHeader.md) | | [optional] **UserAgent** | Pointer to **string** | | [optional] -**LoadTimeLimit1** | Pointer to **int32** | | [optional] -**AlertOnLoadTimeLimit1** | Pointer to **bool** | | [optional] -**LoadTimeLimit2** | Pointer to **int32** | | [optional] -**AlertOnLoadTimeLimit2** | Pointer to **bool** | | [optional] **Username** | Pointer to **string** | | [optional] -**AuthenticationType** | Pointer to [**ApiHttpAuthenticationType**](ApiHttpAuthenticationType.md) | | [optional] -**BrowserType** | Pointer to [**BrowserType**](BrowserType.md) | | [optional] -**BrowserWindowDimensions** | Pointer to [**BrowserWindowDimensions**](BrowserWindowDimensions.md) | | [optional] -**Credits** | Pointer to **int32** | | [optional] -**PredefinedVariables** | Pointer to [**[]PredefinedVariable**](PredefinedVariable.md) | | [optional] -**MsaSteps** | Pointer to [**[]MsaStep**](MsaStep.md) | | [optional] -**UserDefinedFunctions** | Pointer to [**[]UserDefinedFunction**](UserDefinedFunction.md) | | [optional] -**CustomMetrics** | Pointer to [**[]CustomMetric**](CustomMetric.md) | | [optional] -**SelfServiceTransactionScript** | Pointer to **string** | | [optional] **Password** | Pointer to **string** | | [optional] **NameForPhoneAlerts** | Pointer to **string** | | [optional] +**AuthenticationType** | Pointer to [**ApiHttpAuthenticationType**](ApiHttpAuthenticationType.md) | | [optional] **ThrottlingOptions** | Pointer to [**ThrottlingOptions**](ThrottlingOptions.md) | | [optional] +**TransactionStepDefinition** | Pointer to [**TransactionStepDefinition**](TransactionStepDefinition.md) | Only valid for Transaction monitors: the data structure that specifies the transaction steps (and sub steps) to execute. | [optional] **CertificateName** | Pointer to **string** | | [optional] **CertificateOrganization** | Pointer to **string** | | [optional] **CertificateOrganizationalUnit** | Pointer to **string** | | [optional] @@ -80,6 +78,8 @@ Name | Type | Description | Notes **RequestBody** | Pointer to **string** | | [optional] **MatchPatterns** | Pointer to [**[]PatternMatch**](PatternMatch.md) | | [optional] **Url** | Pointer to **string** | | [optional] +**BrowserType** | Pointer to [**BrowserType**](BrowserType.md) | | [optional] +**BrowserWindowDimensions** | Pointer to [**BrowserWindowDimensions**](BrowserWindowDimensions.md) | | [optional] **UseConcurrentMonitoring** | Pointer to **bool** | | [optional] **ConcurrentUnconfirmedErrorThreshold** | Pointer to **int32** | | [optional] **ConcurrentConfirmedErrorThreshold** | Pointer to **int32** | | [optional] @@ -153,80 +153,80 @@ SetName sets Name field to given value. HasName returns a boolean if a field has been set. -### GetMonitorType +### GetIsActive -`func (o *Monitor) GetMonitorType() MonitorType` +`func (o *Monitor) GetIsActive() bool` -GetMonitorType returns the MonitorType field if non-nil, zero value otherwise. +GetIsActive returns the IsActive field if non-nil, zero value otherwise. -### GetMonitorTypeOk +### GetIsActiveOk -`func (o *Monitor) GetMonitorTypeOk() (*MonitorType, bool)` +`func (o *Monitor) GetIsActiveOk() (*bool, bool)` -GetMonitorTypeOk returns a tuple with the MonitorType field if it's non-nil, zero value otherwise +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetMonitorType +### SetIsActive -`func (o *Monitor) SetMonitorType(v MonitorType)` +`func (o *Monitor) SetIsActive(v bool)` -SetMonitorType sets MonitorType field to given value. +SetIsActive sets IsActive field to given value. -### HasMonitorType +### HasIsActive -`func (o *Monitor) HasMonitorType() bool` +`func (o *Monitor) HasIsActive() bool` -HasMonitorType returns a boolean if a field has been set. +HasIsActive returns a boolean if a field has been set. -### GetGenerateAlert +### GetHash -`func (o *Monitor) GetGenerateAlert() bool` +`func (o *Monitor) GetHash() string` -GetGenerateAlert returns the GenerateAlert field if non-nil, zero value otherwise. +GetHash returns the Hash field if non-nil, zero value otherwise. -### GetGenerateAlertOk +### GetHashOk -`func (o *Monitor) GetGenerateAlertOk() (*bool, bool)` +`func (o *Monitor) GetHashOk() (*string, bool)` -GetGenerateAlertOk returns a tuple with the GenerateAlert field if it's non-nil, zero value otherwise +GetHashOk returns a tuple with the Hash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetGenerateAlert +### SetHash -`func (o *Monitor) SetGenerateAlert(v bool)` +`func (o *Monitor) SetHash(v string)` -SetGenerateAlert sets GenerateAlert field to given value. +SetHash sets Hash field to given value. -### HasGenerateAlert +### HasHash -`func (o *Monitor) HasGenerateAlert() bool` +`func (o *Monitor) HasHash() bool` -HasGenerateAlert returns a boolean if a field has been set. +HasHash returns a boolean if a field has been set. -### GetIsActive +### GetGenerateAlert -`func (o *Monitor) GetIsActive() bool` +`func (o *Monitor) GetGenerateAlert() bool` -GetIsActive returns the IsActive field if non-nil, zero value otherwise. +GetGenerateAlert returns the GenerateAlert field if non-nil, zero value otherwise. -### GetIsActiveOk +### GetGenerateAlertOk -`func (o *Monitor) GetIsActiveOk() (*bool, bool)` +`func (o *Monitor) GetGenerateAlertOk() (*bool, bool)` -GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +GetGenerateAlertOk returns a tuple with the GenerateAlert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetIsActive +### SetGenerateAlert -`func (o *Monitor) SetIsActive(v bool)` +`func (o *Monitor) SetGenerateAlert(v bool)` -SetIsActive sets IsActive field to given value. +SetGenerateAlert sets GenerateAlert field to given value. -### HasIsActive +### HasGenerateAlert -`func (o *Monitor) HasIsActive() bool` +`func (o *Monitor) HasGenerateAlert() bool` -HasIsActive returns a boolean if a field has been set. +HasGenerateAlert returns a boolean if a field has been set. ### GetIsLocked @@ -253,355 +253,330 @@ SetIsLocked sets IsLocked field to given value. HasIsLocked returns a boolean if a field has been set. -### GetCustomFields +### GetCheckInterval -`func (o *Monitor) GetCustomFields() []CustomField` +`func (o *Monitor) GetCheckInterval() int32` -GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. +GetCheckInterval returns the CheckInterval field if non-nil, zero value otherwise. -### GetCustomFieldsOk +### GetCheckIntervalOk -`func (o *Monitor) GetCustomFieldsOk() (*[]CustomField, bool)` +`func (o *Monitor) GetCheckIntervalOk() (*int32, bool)` -GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise +GetCheckIntervalOk returns a tuple with the CheckInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetCustomFields +### SetCheckInterval -`func (o *Monitor) SetCustomFields(v []CustomField)` +`func (o *Monitor) SetCheckInterval(v int32)` -SetCustomFields sets CustomFields field to given value. +SetCheckInterval sets CheckInterval field to given value. -### HasCustomFields +### HasCheckInterval -`func (o *Monitor) HasCustomFields() bool` +`func (o *Monitor) HasCheckInterval() bool` -HasCustomFields returns a boolean if a field has been set. +HasCheckInterval returns a boolean if a field has been set. -### GetSelectedCheckpoints +### GetCredits -`func (o *Monitor) GetSelectedCheckpoints() SelectedCheckpoints` +`func (o *Monitor) GetCredits() int32` -GetSelectedCheckpoints returns the SelectedCheckpoints field if non-nil, zero value otherwise. +GetCredits returns the Credits field if non-nil, zero value otherwise. -### GetSelectedCheckpointsOk +### GetCreditsOk -`func (o *Monitor) GetSelectedCheckpointsOk() (*SelectedCheckpoints, bool)` +`func (o *Monitor) GetCreditsOk() (*int32, bool)` -GetSelectedCheckpointsOk returns a tuple with the SelectedCheckpoints field if it's non-nil, zero value otherwise +GetCreditsOk returns a tuple with the Credits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetSelectedCheckpoints +### SetCredits -`func (o *Monitor) SetSelectedCheckpoints(v SelectedCheckpoints)` +`func (o *Monitor) SetCredits(v int32)` -SetSelectedCheckpoints sets SelectedCheckpoints field to given value. +SetCredits sets Credits field to given value. -### HasSelectedCheckpoints +### HasCredits -`func (o *Monitor) HasSelectedCheckpoints() bool` +`func (o *Monitor) HasCredits() bool` -HasSelectedCheckpoints returns a boolean if a field has been set. +HasCredits returns a boolean if a field has been set. -### GetUsePrimaryCheckpointsOnly +### GetMonitorMode -`func (o *Monitor) GetUsePrimaryCheckpointsOnly() bool` +`func (o *Monitor) GetMonitorMode() MonitorMode` -GetUsePrimaryCheckpointsOnly returns the UsePrimaryCheckpointsOnly field if non-nil, zero value otherwise. +GetMonitorMode returns the MonitorMode field if non-nil, zero value otherwise. -### GetUsePrimaryCheckpointsOnlyOk +### GetMonitorModeOk -`func (o *Monitor) GetUsePrimaryCheckpointsOnlyOk() (*bool, bool)` +`func (o *Monitor) GetMonitorModeOk() (*MonitorMode, bool)` -GetUsePrimaryCheckpointsOnlyOk returns a tuple with the UsePrimaryCheckpointsOnly field if it's non-nil, zero value otherwise +GetMonitorModeOk returns a tuple with the MonitorMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetUsePrimaryCheckpointsOnly +### SetMonitorMode -`func (o *Monitor) SetUsePrimaryCheckpointsOnly(v bool)` +`func (o *Monitor) SetMonitorMode(v MonitorMode)` -SetUsePrimaryCheckpointsOnly sets UsePrimaryCheckpointsOnly field to given value. +SetMonitorMode sets MonitorMode field to given value. -### HasUsePrimaryCheckpointsOnly +### HasMonitorMode -`func (o *Monitor) HasUsePrimaryCheckpointsOnly() bool` +`func (o *Monitor) HasMonitorMode() bool` -HasUsePrimaryCheckpointsOnly returns a boolean if a field has been set. +HasMonitorMode returns a boolean if a field has been set. -### GetCheckInterval +### GetPredefinedVariables -`func (o *Monitor) GetCheckInterval() int32` +`func (o *Monitor) GetPredefinedVariables() []PredefinedVariable` -GetCheckInterval returns the CheckInterval field if non-nil, zero value otherwise. +GetPredefinedVariables returns the PredefinedVariables field if non-nil, zero value otherwise. -### GetCheckIntervalOk +### GetPredefinedVariablesOk -`func (o *Monitor) GetCheckIntervalOk() (*int32, bool)` +`func (o *Monitor) GetPredefinedVariablesOk() (*[]PredefinedVariable, bool)` -GetCheckIntervalOk returns a tuple with the CheckInterval field if it's non-nil, zero value otherwise +GetPredefinedVariablesOk returns a tuple with the PredefinedVariables field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetCheckInterval +### SetPredefinedVariables -`func (o *Monitor) SetCheckInterval(v int32)` +`func (o *Monitor) SetPredefinedVariables(v []PredefinedVariable)` -SetCheckInterval sets CheckInterval field to given value. +SetPredefinedVariables sets PredefinedVariables field to given value. -### HasCheckInterval +### HasPredefinedVariables -`func (o *Monitor) HasCheckInterval() bool` +`func (o *Monitor) HasPredefinedVariables() bool` -HasCheckInterval returns a boolean if a field has been set. +HasPredefinedVariables returns a boolean if a field has been set. -### GetMonitorMode +### GetMsaSteps -`func (o *Monitor) GetMonitorMode() MonitorMode` +`func (o *Monitor) GetMsaSteps() []MsaStep` -GetMonitorMode returns the MonitorMode field if non-nil, zero value otherwise. +GetMsaSteps returns the MsaSteps field if non-nil, zero value otherwise. -### GetMonitorModeOk +### GetMsaStepsOk -`func (o *Monitor) GetMonitorModeOk() (*MonitorMode, bool)` +`func (o *Monitor) GetMsaStepsOk() (*[]MsaStep, bool)` -GetMonitorModeOk returns a tuple with the MonitorMode field if it's non-nil, zero value otherwise +GetMsaStepsOk returns a tuple with the MsaSteps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetMonitorMode +### SetMsaSteps -`func (o *Monitor) SetMonitorMode(v MonitorMode)` +`func (o *Monitor) SetMsaSteps(v []MsaStep)` -SetMonitorMode sets MonitorMode field to given value. +SetMsaSteps sets MsaSteps field to given value. -### HasMonitorMode +### HasMsaSteps -`func (o *Monitor) HasMonitorMode() bool` +`func (o *Monitor) HasMsaSteps() bool` -HasMonitorMode returns a boolean if a field has been set. +HasMsaSteps returns a boolean if a field has been set. -### GetNotes +### GetUserDefinedFunctions -`func (o *Monitor) GetNotes() string` +`func (o *Monitor) GetUserDefinedFunctions() []UserDefinedFunction` -GetNotes returns the Notes field if non-nil, zero value otherwise. +GetUserDefinedFunctions returns the UserDefinedFunctions field if non-nil, zero value otherwise. -### GetNotesOk +### GetUserDefinedFunctionsOk -`func (o *Monitor) GetNotesOk() (*string, bool)` +`func (o *Monitor) GetUserDefinedFunctionsOk() (*[]UserDefinedFunction, bool)` -GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise +GetUserDefinedFunctionsOk returns a tuple with the UserDefinedFunctions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetNotes +### SetUserDefinedFunctions -`func (o *Monitor) SetNotes(v string)` +`func (o *Monitor) SetUserDefinedFunctions(v []UserDefinedFunction)` -SetNotes sets Notes field to given value. +SetUserDefinedFunctions sets UserDefinedFunctions field to given value. -### HasNotes +### HasUserDefinedFunctions -`func (o *Monitor) HasNotes() bool` +`func (o *Monitor) HasUserDefinedFunctions() bool` -HasNotes returns a boolean if a field has been set. +HasUserDefinedFunctions returns a boolean if a field has been set. -### GetHash - -`func (o *Monitor) GetHash() string` - -GetHash returns the Hash field if non-nil, zero value otherwise. - -### GetHashOk - -`func (o *Monitor) GetHashOk() (*string, bool)` - -GetHashOk returns a tuple with the Hash field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHash - -`func (o *Monitor) SetHash(v string)` - -SetHash sets Hash field to given value. - -### HasHash - -`func (o *Monitor) HasHash() bool` - -HasHash returns a boolean if a field has been set. - -### GetTransactionStepDefinition +### GetCustomMetrics -`func (o *Monitor) GetTransactionStepDefinition() TransactionStepDefinition` +`func (o *Monitor) GetCustomMetrics() []CustomMetric` -GetTransactionStepDefinition returns the TransactionStepDefinition field if non-nil, zero value otherwise. +GetCustomMetrics returns the CustomMetrics field if non-nil, zero value otherwise. -### GetTransactionStepDefinitionOk +### GetCustomMetricsOk -`func (o *Monitor) GetTransactionStepDefinitionOk() (*TransactionStepDefinition, bool)` +`func (o *Monitor) GetCustomMetricsOk() (*[]CustomMetric, bool)` -GetTransactionStepDefinitionOk returns a tuple with the TransactionStepDefinition field if it's non-nil, zero value otherwise +GetCustomMetricsOk returns a tuple with the CustomMetrics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetTransactionStepDefinition +### SetCustomMetrics -`func (o *Monitor) SetTransactionStepDefinition(v TransactionStepDefinition)` +`func (o *Monitor) SetCustomMetrics(v []CustomMetric)` -SetTransactionStepDefinition sets TransactionStepDefinition field to given value. +SetCustomMetrics sets CustomMetrics field to given value. -### HasTransactionStepDefinition +### HasCustomMetrics -`func (o *Monitor) HasTransactionStepDefinition() bool` +`func (o *Monitor) HasCustomMetrics() bool` -HasTransactionStepDefinition returns a boolean if a field has been set. +HasCustomMetrics returns a boolean if a field has been set. -### GetBlockUptrendsRum +### GetCustomFields -`func (o *Monitor) GetBlockUptrendsRum() bool` +`func (o *Monitor) GetCustomFields() []CustomField` -GetBlockUptrendsRum returns the BlockUptrendsRum field if non-nil, zero value otherwise. +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. -### GetBlockUptrendsRumOk +### GetCustomFieldsOk -`func (o *Monitor) GetBlockUptrendsRumOk() (*bool, bool)` +`func (o *Monitor) GetCustomFieldsOk() (*[]CustomField, bool)` -GetBlockUptrendsRumOk returns a tuple with the BlockUptrendsRum field if it's non-nil, zero value otherwise +GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetBlockUptrendsRum +### SetCustomFields -`func (o *Monitor) SetBlockUptrendsRum(v bool)` +`func (o *Monitor) SetCustomFields(v []CustomField)` -SetBlockUptrendsRum sets BlockUptrendsRum field to given value. +SetCustomFields sets CustomFields field to given value. -### HasBlockUptrendsRum +### HasCustomFields -`func (o *Monitor) HasBlockUptrendsRum() bool` +`func (o *Monitor) HasCustomFields() bool` -HasBlockUptrendsRum returns a boolean if a field has been set. +HasCustomFields returns a boolean if a field has been set. -### GetBlockGoogleAnalytics +### GetSelectedCheckpoints -`func (o *Monitor) GetBlockGoogleAnalytics() bool` +`func (o *Monitor) GetSelectedCheckpoints() SelectedCheckpoints` -GetBlockGoogleAnalytics returns the BlockGoogleAnalytics field if non-nil, zero value otherwise. +GetSelectedCheckpoints returns the SelectedCheckpoints field if non-nil, zero value otherwise. -### GetBlockGoogleAnalyticsOk +### GetSelectedCheckpointsOk -`func (o *Monitor) GetBlockGoogleAnalyticsOk() (*bool, bool)` +`func (o *Monitor) GetSelectedCheckpointsOk() (*SelectedCheckpoints, bool)` -GetBlockGoogleAnalyticsOk returns a tuple with the BlockGoogleAnalytics field if it's non-nil, zero value otherwise +GetSelectedCheckpointsOk returns a tuple with the SelectedCheckpoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetBlockGoogleAnalytics +### SetSelectedCheckpoints -`func (o *Monitor) SetBlockGoogleAnalytics(v bool)` +`func (o *Monitor) SetSelectedCheckpoints(v SelectedCheckpoints)` -SetBlockGoogleAnalytics sets BlockGoogleAnalytics field to given value. +SetSelectedCheckpoints sets SelectedCheckpoints field to given value. -### HasBlockGoogleAnalytics +### HasSelectedCheckpoints -`func (o *Monitor) HasBlockGoogleAnalytics() bool` +`func (o *Monitor) HasSelectedCheckpoints() bool` -HasBlockGoogleAnalytics returns a boolean if a field has been set. +HasSelectedCheckpoints returns a boolean if a field has been set. -### GetBlockUrls +### GetUsePrimaryCheckpointsOnly -`func (o *Monitor) GetBlockUrls() []string` +`func (o *Monitor) GetUsePrimaryCheckpointsOnly() bool` -GetBlockUrls returns the BlockUrls field if non-nil, zero value otherwise. +GetUsePrimaryCheckpointsOnly returns the UsePrimaryCheckpointsOnly field if non-nil, zero value otherwise. -### GetBlockUrlsOk +### GetUsePrimaryCheckpointsOnlyOk -`func (o *Monitor) GetBlockUrlsOk() (*[]string, bool)` +`func (o *Monitor) GetUsePrimaryCheckpointsOnlyOk() (*bool, bool)` -GetBlockUrlsOk returns a tuple with the BlockUrls field if it's non-nil, zero value otherwise +GetUsePrimaryCheckpointsOnlyOk returns a tuple with the UsePrimaryCheckpointsOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetBlockUrls +### SetUsePrimaryCheckpointsOnly -`func (o *Monitor) SetBlockUrls(v []string)` +`func (o *Monitor) SetUsePrimaryCheckpointsOnly(v bool)` -SetBlockUrls sets BlockUrls field to given value. +SetUsePrimaryCheckpointsOnly sets UsePrimaryCheckpointsOnly field to given value. -### HasBlockUrls +### HasUsePrimaryCheckpointsOnly -`func (o *Monitor) HasBlockUrls() bool` +`func (o *Monitor) HasUsePrimaryCheckpointsOnly() bool` -HasBlockUrls returns a boolean if a field has been set. +HasUsePrimaryCheckpointsOnly returns a boolean if a field has been set. -### GetRequestHeaders +### GetSelfServiceTransactionScript -`func (o *Monitor) GetRequestHeaders() []RequestHeader` +`func (o *Monitor) GetSelfServiceTransactionScript() string` -GetRequestHeaders returns the RequestHeaders field if non-nil, zero value otherwise. +GetSelfServiceTransactionScript returns the SelfServiceTransactionScript field if non-nil, zero value otherwise. -### GetRequestHeadersOk +### GetSelfServiceTransactionScriptOk -`func (o *Monitor) GetRequestHeadersOk() (*[]RequestHeader, bool)` +`func (o *Monitor) GetSelfServiceTransactionScriptOk() (*string, bool)` -GetRequestHeadersOk returns a tuple with the RequestHeaders field if it's non-nil, zero value otherwise +GetSelfServiceTransactionScriptOk returns a tuple with the SelfServiceTransactionScript field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetRequestHeaders +### SetSelfServiceTransactionScript -`func (o *Monitor) SetRequestHeaders(v []RequestHeader)` +`func (o *Monitor) SetSelfServiceTransactionScript(v string)` -SetRequestHeaders sets RequestHeaders field to given value. +SetSelfServiceTransactionScript sets SelfServiceTransactionScript field to given value. -### HasRequestHeaders +### HasSelfServiceTransactionScript -`func (o *Monitor) HasRequestHeaders() bool` +`func (o *Monitor) HasSelfServiceTransactionScript() bool` -HasRequestHeaders returns a boolean if a field has been set. +HasSelfServiceTransactionScript returns a boolean if a field has been set. -### GetUserAgent +### GetMonitorType -`func (o *Monitor) GetUserAgent() string` +`func (o *Monitor) GetMonitorType() MonitorType` -GetUserAgent returns the UserAgent field if non-nil, zero value otherwise. +GetMonitorType returns the MonitorType field if non-nil, zero value otherwise. -### GetUserAgentOk +### GetMonitorTypeOk -`func (o *Monitor) GetUserAgentOk() (*string, bool)` +`func (o *Monitor) GetMonitorTypeOk() (*MonitorType, bool)` -GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise +GetMonitorTypeOk returns a tuple with the MonitorType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetUserAgent +### SetMonitorType -`func (o *Monitor) SetUserAgent(v string)` +`func (o *Monitor) SetMonitorType(v MonitorType)` -SetUserAgent sets UserAgent field to given value. +SetMonitorType sets MonitorType field to given value. -### HasUserAgent +### HasMonitorType -`func (o *Monitor) HasUserAgent() bool` +`func (o *Monitor) HasMonitorType() bool` -HasUserAgent returns a boolean if a field has been set. +HasMonitorType returns a boolean if a field has been set. -### GetLoadTimeLimit1 +### GetNotes -`func (o *Monitor) GetLoadTimeLimit1() int32` +`func (o *Monitor) GetNotes() string` -GetLoadTimeLimit1 returns the LoadTimeLimit1 field if non-nil, zero value otherwise. +GetNotes returns the Notes field if non-nil, zero value otherwise. -### GetLoadTimeLimit1Ok +### GetNotesOk -`func (o *Monitor) GetLoadTimeLimit1Ok() (*int32, bool)` +`func (o *Monitor) GetNotesOk() (*string, bool)` -GetLoadTimeLimit1Ok returns a tuple with the LoadTimeLimit1 field if it's non-nil, zero value otherwise +GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLoadTimeLimit1 +### SetNotes -`func (o *Monitor) SetLoadTimeLimit1(v int32)` +`func (o *Monitor) SetNotes(v string)` -SetLoadTimeLimit1 sets LoadTimeLimit1 field to given value. +SetNotes sets Notes field to given value. -### HasLoadTimeLimit1 +### HasNotes -`func (o *Monitor) HasLoadTimeLimit1() bool` +`func (o *Monitor) HasNotes() bool` -HasLoadTimeLimit1 returns a boolean if a field has been set. +HasNotes returns a boolean if a field has been set. ### GetAlertOnLoadTimeLimit1 @@ -628,30 +603,30 @@ SetAlertOnLoadTimeLimit1 sets AlertOnLoadTimeLimit1 field to given value. HasAlertOnLoadTimeLimit1 returns a boolean if a field has been set. -### GetLoadTimeLimit2 +### GetLoadTimeLimit1 -`func (o *Monitor) GetLoadTimeLimit2() int32` +`func (o *Monitor) GetLoadTimeLimit1() int32` -GetLoadTimeLimit2 returns the LoadTimeLimit2 field if non-nil, zero value otherwise. +GetLoadTimeLimit1 returns the LoadTimeLimit1 field if non-nil, zero value otherwise. -### GetLoadTimeLimit2Ok +### GetLoadTimeLimit1Ok -`func (o *Monitor) GetLoadTimeLimit2Ok() (*int32, bool)` +`func (o *Monitor) GetLoadTimeLimit1Ok() (*int32, bool)` -GetLoadTimeLimit2Ok returns a tuple with the LoadTimeLimit2 field if it's non-nil, zero value otherwise +GetLoadTimeLimit1Ok returns a tuple with the LoadTimeLimit1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLoadTimeLimit2 +### SetLoadTimeLimit1 -`func (o *Monitor) SetLoadTimeLimit2(v int32)` +`func (o *Monitor) SetLoadTimeLimit1(v int32)` -SetLoadTimeLimit2 sets LoadTimeLimit2 field to given value. +SetLoadTimeLimit1 sets LoadTimeLimit1 field to given value. -### HasLoadTimeLimit2 +### HasLoadTimeLimit1 -`func (o *Monitor) HasLoadTimeLimit2() bool` +`func (o *Monitor) HasLoadTimeLimit1() bool` -HasLoadTimeLimit2 returns a boolean if a field has been set. +HasLoadTimeLimit1 returns a boolean if a field has been set. ### GetAlertOnLoadTimeLimit2 @@ -678,255 +653,180 @@ SetAlertOnLoadTimeLimit2 sets AlertOnLoadTimeLimit2 field to given value. HasAlertOnLoadTimeLimit2 returns a boolean if a field has been set. -### GetUsername - -`func (o *Monitor) GetUsername() string` - -GetUsername returns the Username field if non-nil, zero value otherwise. - -### GetUsernameOk - -`func (o *Monitor) GetUsernameOk() (*string, bool)` - -GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsername - -`func (o *Monitor) SetUsername(v string)` - -SetUsername sets Username field to given value. - -### HasUsername - -`func (o *Monitor) HasUsername() bool` - -HasUsername returns a boolean if a field has been set. - -### GetAuthenticationType - -`func (o *Monitor) GetAuthenticationType() ApiHttpAuthenticationType` - -GetAuthenticationType returns the AuthenticationType field if non-nil, zero value otherwise. - -### GetAuthenticationTypeOk - -`func (o *Monitor) GetAuthenticationTypeOk() (*ApiHttpAuthenticationType, bool)` - -GetAuthenticationTypeOk returns a tuple with the AuthenticationType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAuthenticationType - -`func (o *Monitor) SetAuthenticationType(v ApiHttpAuthenticationType)` - -SetAuthenticationType sets AuthenticationType field to given value. - -### HasAuthenticationType - -`func (o *Monitor) HasAuthenticationType() bool` - -HasAuthenticationType returns a boolean if a field has been set. - -### GetBrowserType - -`func (o *Monitor) GetBrowserType() BrowserType` - -GetBrowserType returns the BrowserType field if non-nil, zero value otherwise. - -### GetBrowserTypeOk - -`func (o *Monitor) GetBrowserTypeOk() (*BrowserType, bool)` - -GetBrowserTypeOk returns a tuple with the BrowserType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBrowserType - -`func (o *Monitor) SetBrowserType(v BrowserType)` - -SetBrowserType sets BrowserType field to given value. - -### HasBrowserType - -`func (o *Monitor) HasBrowserType() bool` - -HasBrowserType returns a boolean if a field has been set. - -### GetBrowserWindowDimensions +### GetLoadTimeLimit2 -`func (o *Monitor) GetBrowserWindowDimensions() BrowserWindowDimensions` +`func (o *Monitor) GetLoadTimeLimit2() int32` -GetBrowserWindowDimensions returns the BrowserWindowDimensions field if non-nil, zero value otherwise. +GetLoadTimeLimit2 returns the LoadTimeLimit2 field if non-nil, zero value otherwise. -### GetBrowserWindowDimensionsOk +### GetLoadTimeLimit2Ok -`func (o *Monitor) GetBrowserWindowDimensionsOk() (*BrowserWindowDimensions, bool)` +`func (o *Monitor) GetLoadTimeLimit2Ok() (*int32, bool)` -GetBrowserWindowDimensionsOk returns a tuple with the BrowserWindowDimensions field if it's non-nil, zero value otherwise +GetLoadTimeLimit2Ok returns a tuple with the LoadTimeLimit2 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetBrowserWindowDimensions +### SetLoadTimeLimit2 -`func (o *Monitor) SetBrowserWindowDimensions(v BrowserWindowDimensions)` +`func (o *Monitor) SetLoadTimeLimit2(v int32)` -SetBrowserWindowDimensions sets BrowserWindowDimensions field to given value. +SetLoadTimeLimit2 sets LoadTimeLimit2 field to given value. -### HasBrowserWindowDimensions +### HasLoadTimeLimit2 -`func (o *Monitor) HasBrowserWindowDimensions() bool` +`func (o *Monitor) HasLoadTimeLimit2() bool` -HasBrowserWindowDimensions returns a boolean if a field has been set. +HasLoadTimeLimit2 returns a boolean if a field has been set. -### GetCredits +### GetBlockGoogleAnalytics -`func (o *Monitor) GetCredits() int32` +`func (o *Monitor) GetBlockGoogleAnalytics() bool` -GetCredits returns the Credits field if non-nil, zero value otherwise. +GetBlockGoogleAnalytics returns the BlockGoogleAnalytics field if non-nil, zero value otherwise. -### GetCreditsOk +### GetBlockGoogleAnalyticsOk -`func (o *Monitor) GetCreditsOk() (*int32, bool)` +`func (o *Monitor) GetBlockGoogleAnalyticsOk() (*bool, bool)` -GetCreditsOk returns a tuple with the Credits field if it's non-nil, zero value otherwise +GetBlockGoogleAnalyticsOk returns a tuple with the BlockGoogleAnalytics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetCredits +### SetBlockGoogleAnalytics -`func (o *Monitor) SetCredits(v int32)` +`func (o *Monitor) SetBlockGoogleAnalytics(v bool)` -SetCredits sets Credits field to given value. +SetBlockGoogleAnalytics sets BlockGoogleAnalytics field to given value. -### HasCredits +### HasBlockGoogleAnalytics -`func (o *Monitor) HasCredits() bool` +`func (o *Monitor) HasBlockGoogleAnalytics() bool` -HasCredits returns a boolean if a field has been set. +HasBlockGoogleAnalytics returns a boolean if a field has been set. -### GetPredefinedVariables +### GetBlockUptrendsRum -`func (o *Monitor) GetPredefinedVariables() []PredefinedVariable` +`func (o *Monitor) GetBlockUptrendsRum() bool` -GetPredefinedVariables returns the PredefinedVariables field if non-nil, zero value otherwise. +GetBlockUptrendsRum returns the BlockUptrendsRum field if non-nil, zero value otherwise. -### GetPredefinedVariablesOk +### GetBlockUptrendsRumOk -`func (o *Monitor) GetPredefinedVariablesOk() (*[]PredefinedVariable, bool)` +`func (o *Monitor) GetBlockUptrendsRumOk() (*bool, bool)` -GetPredefinedVariablesOk returns a tuple with the PredefinedVariables field if it's non-nil, zero value otherwise +GetBlockUptrendsRumOk returns a tuple with the BlockUptrendsRum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPredefinedVariables +### SetBlockUptrendsRum -`func (o *Monitor) SetPredefinedVariables(v []PredefinedVariable)` +`func (o *Monitor) SetBlockUptrendsRum(v bool)` -SetPredefinedVariables sets PredefinedVariables field to given value. +SetBlockUptrendsRum sets BlockUptrendsRum field to given value. -### HasPredefinedVariables +### HasBlockUptrendsRum -`func (o *Monitor) HasPredefinedVariables() bool` +`func (o *Monitor) HasBlockUptrendsRum() bool` -HasPredefinedVariables returns a boolean if a field has been set. +HasBlockUptrendsRum returns a boolean if a field has been set. -### GetMsaSteps +### GetBlockUrls -`func (o *Monitor) GetMsaSteps() []MsaStep` +`func (o *Monitor) GetBlockUrls() []string` -GetMsaSteps returns the MsaSteps field if non-nil, zero value otherwise. +GetBlockUrls returns the BlockUrls field if non-nil, zero value otherwise. -### GetMsaStepsOk +### GetBlockUrlsOk -`func (o *Monitor) GetMsaStepsOk() (*[]MsaStep, bool)` +`func (o *Monitor) GetBlockUrlsOk() (*[]string, bool)` -GetMsaStepsOk returns a tuple with the MsaSteps field if it's non-nil, zero value otherwise +GetBlockUrlsOk returns a tuple with the BlockUrls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetMsaSteps +### SetBlockUrls -`func (o *Monitor) SetMsaSteps(v []MsaStep)` +`func (o *Monitor) SetBlockUrls(v []string)` -SetMsaSteps sets MsaSteps field to given value. +SetBlockUrls sets BlockUrls field to given value. -### HasMsaSteps +### HasBlockUrls -`func (o *Monitor) HasMsaSteps() bool` +`func (o *Monitor) HasBlockUrls() bool` -HasMsaSteps returns a boolean if a field has been set. +HasBlockUrls returns a boolean if a field has been set. -### GetUserDefinedFunctions +### GetRequestHeaders -`func (o *Monitor) GetUserDefinedFunctions() []UserDefinedFunction` +`func (o *Monitor) GetRequestHeaders() []RequestHeader` -GetUserDefinedFunctions returns the UserDefinedFunctions field if non-nil, zero value otherwise. +GetRequestHeaders returns the RequestHeaders field if non-nil, zero value otherwise. -### GetUserDefinedFunctionsOk +### GetRequestHeadersOk -`func (o *Monitor) GetUserDefinedFunctionsOk() (*[]UserDefinedFunction, bool)` +`func (o *Monitor) GetRequestHeadersOk() (*[]RequestHeader, bool)` -GetUserDefinedFunctionsOk returns a tuple with the UserDefinedFunctions field if it's non-nil, zero value otherwise +GetRequestHeadersOk returns a tuple with the RequestHeaders field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetUserDefinedFunctions +### SetRequestHeaders -`func (o *Monitor) SetUserDefinedFunctions(v []UserDefinedFunction)` +`func (o *Monitor) SetRequestHeaders(v []RequestHeader)` -SetUserDefinedFunctions sets UserDefinedFunctions field to given value. +SetRequestHeaders sets RequestHeaders field to given value. -### HasUserDefinedFunctions +### HasRequestHeaders -`func (o *Monitor) HasUserDefinedFunctions() bool` +`func (o *Monitor) HasRequestHeaders() bool` -HasUserDefinedFunctions returns a boolean if a field has been set. +HasRequestHeaders returns a boolean if a field has been set. -### GetCustomMetrics +### GetUserAgent -`func (o *Monitor) GetCustomMetrics() []CustomMetric` +`func (o *Monitor) GetUserAgent() string` -GetCustomMetrics returns the CustomMetrics field if non-nil, zero value otherwise. +GetUserAgent returns the UserAgent field if non-nil, zero value otherwise. -### GetCustomMetricsOk +### GetUserAgentOk -`func (o *Monitor) GetCustomMetricsOk() (*[]CustomMetric, bool)` +`func (o *Monitor) GetUserAgentOk() (*string, bool)` -GetCustomMetricsOk returns a tuple with the CustomMetrics field if it's non-nil, zero value otherwise +GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetCustomMetrics +### SetUserAgent -`func (o *Monitor) SetCustomMetrics(v []CustomMetric)` +`func (o *Monitor) SetUserAgent(v string)` -SetCustomMetrics sets CustomMetrics field to given value. +SetUserAgent sets UserAgent field to given value. -### HasCustomMetrics +### HasUserAgent -`func (o *Monitor) HasCustomMetrics() bool` +`func (o *Monitor) HasUserAgent() bool` -HasCustomMetrics returns a boolean if a field has been set. +HasUserAgent returns a boolean if a field has been set. -### GetSelfServiceTransactionScript +### GetUsername -`func (o *Monitor) GetSelfServiceTransactionScript() string` +`func (o *Monitor) GetUsername() string` -GetSelfServiceTransactionScript returns the SelfServiceTransactionScript field if non-nil, zero value otherwise. +GetUsername returns the Username field if non-nil, zero value otherwise. -### GetSelfServiceTransactionScriptOk +### GetUsernameOk -`func (o *Monitor) GetSelfServiceTransactionScriptOk() (*string, bool)` +`func (o *Monitor) GetUsernameOk() (*string, bool)` -GetSelfServiceTransactionScriptOk returns a tuple with the SelfServiceTransactionScript field if it's non-nil, zero value otherwise +GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetSelfServiceTransactionScript +### SetUsername -`func (o *Monitor) SetSelfServiceTransactionScript(v string)` +`func (o *Monitor) SetUsername(v string)` -SetSelfServiceTransactionScript sets SelfServiceTransactionScript field to given value. +SetUsername sets Username field to given value. -### HasSelfServiceTransactionScript +### HasUsername -`func (o *Monitor) HasSelfServiceTransactionScript() bool` +`func (o *Monitor) HasUsername() bool` -HasSelfServiceTransactionScript returns a boolean if a field has been set. +HasUsername returns a boolean if a field has been set. ### GetPassword @@ -978,6 +878,31 @@ SetNameForPhoneAlerts sets NameForPhoneAlerts field to given value. HasNameForPhoneAlerts returns a boolean if a field has been set. +### GetAuthenticationType + +`func (o *Monitor) GetAuthenticationType() ApiHttpAuthenticationType` + +GetAuthenticationType returns the AuthenticationType field if non-nil, zero value otherwise. + +### GetAuthenticationTypeOk + +`func (o *Monitor) GetAuthenticationTypeOk() (*ApiHttpAuthenticationType, bool)` + +GetAuthenticationTypeOk returns a tuple with the AuthenticationType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthenticationType + +`func (o *Monitor) SetAuthenticationType(v ApiHttpAuthenticationType)` + +SetAuthenticationType sets AuthenticationType field to given value. + +### HasAuthenticationType + +`func (o *Monitor) HasAuthenticationType() bool` + +HasAuthenticationType returns a boolean if a field has been set. + ### GetThrottlingOptions `func (o *Monitor) GetThrottlingOptions() ThrottlingOptions` @@ -1003,6 +928,31 @@ SetThrottlingOptions sets ThrottlingOptions field to given value. HasThrottlingOptions returns a boolean if a field has been set. +### GetTransactionStepDefinition + +`func (o *Monitor) GetTransactionStepDefinition() TransactionStepDefinition` + +GetTransactionStepDefinition returns the TransactionStepDefinition field if non-nil, zero value otherwise. + +### GetTransactionStepDefinitionOk + +`func (o *Monitor) GetTransactionStepDefinitionOk() (*TransactionStepDefinition, bool)` + +GetTransactionStepDefinitionOk returns a tuple with the TransactionStepDefinition field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionStepDefinition + +`func (o *Monitor) SetTransactionStepDefinition(v TransactionStepDefinition)` + +SetTransactionStepDefinition sets TransactionStepDefinition field to given value. + +### HasTransactionStepDefinition + +`func (o *Monitor) HasTransactionStepDefinition() bool` + +HasTransactionStepDefinition returns a boolean if a field has been set. + ### GetCertificateName `func (o *Monitor) GetCertificateName() string` @@ -2003,6 +1953,56 @@ SetUrl sets Url field to given value. HasUrl returns a boolean if a field has been set. +### GetBrowserType + +`func (o *Monitor) GetBrowserType() BrowserType` + +GetBrowserType returns the BrowserType field if non-nil, zero value otherwise. + +### GetBrowserTypeOk + +`func (o *Monitor) GetBrowserTypeOk() (*BrowserType, bool)` + +GetBrowserTypeOk returns a tuple with the BrowserType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBrowserType + +`func (o *Monitor) SetBrowserType(v BrowserType)` + +SetBrowserType sets BrowserType field to given value. + +### HasBrowserType + +`func (o *Monitor) HasBrowserType() bool` + +HasBrowserType returns a boolean if a field has been set. + +### GetBrowserWindowDimensions + +`func (o *Monitor) GetBrowserWindowDimensions() BrowserWindowDimensions` + +GetBrowserWindowDimensions returns the BrowserWindowDimensions field if non-nil, zero value otherwise. + +### GetBrowserWindowDimensionsOk + +`func (o *Monitor) GetBrowserWindowDimensionsOk() (*BrowserWindowDimensions, bool)` + +GetBrowserWindowDimensionsOk returns a tuple with the BrowserWindowDimensions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBrowserWindowDimensions + +`func (o *Monitor) SetBrowserWindowDimensions(v BrowserWindowDimensions)` + +SetBrowserWindowDimensions sets BrowserWindowDimensions field to given value. + +### HasBrowserWindowDimensions + +`func (o *Monitor) HasBrowserWindowDimensions() bool` + +HasBrowserWindowDimensions returns a boolean if a field has been set. + ### GetUseConcurrentMonitoring `func (o *Monitor) GetUseConcurrentMonitoring() bool` diff --git a/model_checkpoint_attributes.go b/model_checkpoint_attributes.go index d9752c8..6df8079 100644 --- a/model_checkpoint_attributes.go +++ b/model_checkpoint_attributes.go @@ -23,7 +23,7 @@ type CheckpointAttributes struct { // Ipv4 addresses of the checkpoint Ipv4Addresses *[]string `json:"Ipv4Addresses,omitempty"` // Ipv6 addresses of the checkpoint - IpV6Addresses *[]string `json:"IpV6Addresses,omitempty"` + IpV6Addresses *[]Ipv6Address `json:"IpV6Addresses,omitempty"` // Checkpoint is primary IsPrimaryCheckpoint bool `json:"IsPrimaryCheckpoint"` // Checkpoint supports IPv6 @@ -149,9 +149,9 @@ func (o *CheckpointAttributes) SetIpv4Addresses(v []string) { } // GetIpV6Addresses returns the IpV6Addresses field value if set, zero value otherwise. -func (o *CheckpointAttributes) GetIpV6Addresses() []string { +func (o *CheckpointAttributes) GetIpV6Addresses() []Ipv6Address { if o == nil || o.IpV6Addresses == nil { - var ret []string + var ret []Ipv6Address return ret } return *o.IpV6Addresses @@ -159,7 +159,7 @@ func (o *CheckpointAttributes) GetIpV6Addresses() []string { // GetIpV6AddressesOk returns a tuple with the IpV6Addresses field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CheckpointAttributes) GetIpV6AddressesOk() (*[]string, bool) { +func (o *CheckpointAttributes) GetIpV6AddressesOk() (*[]Ipv6Address, bool) { if o == nil || o.IpV6Addresses == nil { return nil, false } @@ -175,8 +175,8 @@ func (o *CheckpointAttributes) HasIpV6Addresses() bool { return false } -// SetIpV6Addresses gets a reference to the given []IPv6Address and assigns it to the IpV6Addresses field. -func (o *CheckpointAttributes) SetIpV6Addresses(v []string) { +// SetIpV6Addresses gets a reference to the given []Ipv6Address and assigns it to the IpV6Addresses field. +func (o *CheckpointAttributes) SetIpV6Addresses(v []Ipv6Address) { o.IpV6Addresses = &v } diff --git a/model_monitor.go b/model_monitor.go index 17bd41d..2af884b 100644 --- a/model_monitor.go +++ b/model_monitor.go @@ -20,46 +20,44 @@ type Monitor struct { MonitorGuid *string `json:"MonitorGuid,omitempty"` // The name of this monitor. Name *string `json:"Name,omitempty"` - MonitorType *MonitorType `json:"MonitorType,omitempty"` - // Indicates whether this monitor should generate alerts. - GenerateAlert *bool `json:"GenerateAlert,omitempty"` // Indicates whether this monitor is actively running according to the monitoring interval. IsActive *bool `json:"IsActive,omitempty"` + // Hash corresponding with this monitor. + Hash *string `json:"Hash,omitempty"` + // Indicates whether this monitor should generate alerts. + GenerateAlert *bool `json:"GenerateAlert,omitempty"` // Indicates whether this monitor is locked. IsLocked *bool `json:"IsLocked,omitempty"` - CustomFields *[]CustomField `json:"CustomFields,omitempty"` - SelectedCheckpoints *SelectedCheckpoints `json:"SelectedCheckpoints,omitempty"` - UsePrimaryCheckpointsOnly *bool `json:"UsePrimaryCheckpointsOnly,omitempty"` // Indicates the interval in seconds CheckInterval *int32 `json:"CheckInterval,omitempty"` + Credits *int32 `json:"Credits,omitempty"` MonitorMode *MonitorMode `json:"MonitorMode,omitempty"` + PredefinedVariables *[]PredefinedVariable `json:"PredefinedVariables,omitempty"` + MsaSteps *[]MsaStep `json:"MsaSteps,omitempty"` + UserDefinedFunctions *[]UserDefinedFunction `json:"UserDefinedFunctions,omitempty"` + CustomMetrics *[]CustomMetric `json:"CustomMetrics,omitempty"` + CustomFields *[]CustomField `json:"CustomFields,omitempty"` + SelectedCheckpoints *SelectedCheckpoints `json:"SelectedCheckpoints,omitempty"` + UsePrimaryCheckpointsOnly *bool `json:"UsePrimaryCheckpointsOnly,omitempty"` + SelfServiceTransactionScript *string `json:"SelfServiceTransactionScript,omitempty"` + MonitorType *MonitorType `json:"MonitorType,omitempty"` Notes *string `json:"Notes,omitempty"` - // Hash corresponding with this monitor. - Hash *string `json:"Hash,omitempty"` - // Only valid for Transaction monitors: the data structure that specifies the transaction steps (and sub steps) to execute. - TransactionStepDefinition *TransactionStepDefinition `json:"TransactionStepDefinition,omitempty"` - BlockUptrendsRum *bool `json:"BlockUptrendsRum,omitempty"` + AlertOnLoadTimeLimit1 *bool `json:"AlertOnLoadTimeLimit1,omitempty"` + LoadTimeLimit1 *int32 `json:"LoadTimeLimit1,omitempty"` + AlertOnLoadTimeLimit2 *bool `json:"AlertOnLoadTimeLimit2,omitempty"` + LoadTimeLimit2 *int32 `json:"LoadTimeLimit2,omitempty"` BlockGoogleAnalytics *bool `json:"BlockGoogleAnalytics,omitempty"` + BlockUptrendsRum *bool `json:"BlockUptrendsRum,omitempty"` BlockUrls *[]string `json:"BlockUrls,omitempty"` RequestHeaders *[]RequestHeader `json:"RequestHeaders,omitempty"` UserAgent *string `json:"UserAgent,omitempty"` - LoadTimeLimit1 *int32 `json:"LoadTimeLimit1,omitempty"` - AlertOnLoadTimeLimit1 *bool `json:"AlertOnLoadTimeLimit1,omitempty"` - LoadTimeLimit2 *int32 `json:"LoadTimeLimit2,omitempty"` - AlertOnLoadTimeLimit2 *bool `json:"AlertOnLoadTimeLimit2,omitempty"` Username *string `json:"Username,omitempty"` - AuthenticationType *ApiHttpAuthenticationType `json:"AuthenticationType,omitempty"` - BrowserType *BrowserType `json:"BrowserType,omitempty"` - BrowserWindowDimensions *BrowserWindowDimensions `json:"BrowserWindowDimensions,omitempty"` - Credits *int32 `json:"Credits,omitempty"` - PredefinedVariables *[]PredefinedVariable `json:"PredefinedVariables,omitempty"` - MsaSteps *[]MsaStep `json:"MsaSteps,omitempty"` - UserDefinedFunctions *[]UserDefinedFunction `json:"UserDefinedFunctions,omitempty"` - CustomMetrics *[]CustomMetric `json:"CustomMetrics,omitempty"` - SelfServiceTransactionScript *string `json:"SelfServiceTransactionScript,omitempty"` Password *string `json:"Password,omitempty"` NameForPhoneAlerts *string `json:"NameForPhoneAlerts,omitempty"` + AuthenticationType *ApiHttpAuthenticationType `json:"AuthenticationType,omitempty"` ThrottlingOptions *ThrottlingOptions `json:"ThrottlingOptions,omitempty"` + // Only valid for Transaction monitors: the data structure that specifies the transaction steps (and sub steps) to execute. + TransactionStepDefinition *TransactionStepDefinition `json:"TransactionStepDefinition,omitempty"` CertificateName *string `json:"CertificateName,omitempty"` CertificateOrganization *string `json:"CertificateOrganization,omitempty"` CertificateOrganizationalUnit *string `json:"CertificateOrganizationalUnit,omitempty"` @@ -100,6 +98,8 @@ type Monitor struct { RequestBody *string `json:"RequestBody,omitempty"` MatchPatterns *[]PatternMatch `json:"MatchPatterns,omitempty"` Url *string `json:"Url,omitempty"` + BrowserType *BrowserType `json:"BrowserType,omitempty"` + BrowserWindowDimensions *BrowserWindowDimensions `json:"BrowserWindowDimensions,omitempty"` UseConcurrentMonitoring *bool `json:"UseConcurrentMonitoring,omitempty"` ConcurrentUnconfirmedErrorThreshold *int32 `json:"ConcurrentUnconfirmedErrorThreshold,omitempty"` ConcurrentConfirmedErrorThreshold *int32 `json:"ConcurrentConfirmedErrorThreshold,omitempty"` @@ -111,10 +111,10 @@ type Monitor struct { // will change when the set of required properties is changed func NewMonitor() *Monitor { this := Monitor{} - var generateAlert bool = true - this.GenerateAlert = &generateAlert var isActive bool = true this.IsActive = &isActive + var generateAlert bool = true + this.GenerateAlert = &generateAlert return &this } @@ -123,10 +123,10 @@ func NewMonitor() *Monitor { // but it doesn't guarantee that properties required by API are set func NewMonitorWithDefaults() *Monitor { this := Monitor{} - var generateAlert bool = true - this.GenerateAlert = &generateAlert var isActive bool = true this.IsActive = &isActive + var generateAlert bool = true + this.GenerateAlert = &generateAlert return &this } @@ -194,100 +194,100 @@ func (o *Monitor) SetName(v string) { o.Name = &v } -// GetMonitorType returns the MonitorType field value if set, zero value otherwise. -func (o *Monitor) GetMonitorType() MonitorType { - if o == nil || o.MonitorType == nil { - var ret MonitorType +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *Monitor) GetIsActive() bool { + if o == nil || o.IsActive == nil { + var ret bool return ret } - return *o.MonitorType + return *o.IsActive } -// GetMonitorTypeOk returns a tuple with the MonitorType field value if set, nil otherwise +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetMonitorTypeOk() (*MonitorType, bool) { - if o == nil || o.MonitorType == nil { +func (o *Monitor) GetIsActiveOk() (*bool, bool) { + if o == nil || o.IsActive == nil { return nil, false } - return o.MonitorType, true + return o.IsActive, true } -// HasMonitorType returns a boolean if a field has been set. -func (o *Monitor) HasMonitorType() bool { - if o != nil && o.MonitorType != nil { +// HasIsActive returns a boolean if a field has been set. +func (o *Monitor) HasIsActive() bool { + if o != nil && o.IsActive != nil { return true } return false } -// SetMonitorType gets a reference to the given MonitorType and assigns it to the MonitorType field. -func (o *Monitor) SetMonitorType(v MonitorType) { - o.MonitorType = &v +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *Monitor) SetIsActive(v bool) { + o.IsActive = &v } -// GetGenerateAlert returns the GenerateAlert field value if set, zero value otherwise. -func (o *Monitor) GetGenerateAlert() bool { - if o == nil || o.GenerateAlert == nil { - var ret bool +// GetHash returns the Hash field value if set, zero value otherwise. +func (o *Monitor) GetHash() string { + if o == nil || o.Hash == nil { + var ret string return ret } - return *o.GenerateAlert + return *o.Hash } -// GetGenerateAlertOk returns a tuple with the GenerateAlert field value if set, nil otherwise +// GetHashOk returns a tuple with the Hash field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetGenerateAlertOk() (*bool, bool) { - if o == nil || o.GenerateAlert == nil { +func (o *Monitor) GetHashOk() (*string, bool) { + if o == nil || o.Hash == nil { return nil, false } - return o.GenerateAlert, true + return o.Hash, true } -// HasGenerateAlert returns a boolean if a field has been set. -func (o *Monitor) HasGenerateAlert() bool { - if o != nil && o.GenerateAlert != nil { +// HasHash returns a boolean if a field has been set. +func (o *Monitor) HasHash() bool { + if o != nil && o.Hash != nil { return true } return false } -// SetGenerateAlert gets a reference to the given bool and assigns it to the GenerateAlert field. -func (o *Monitor) SetGenerateAlert(v bool) { - o.GenerateAlert = &v +// SetHash gets a reference to the given string and assigns it to the Hash field. +func (o *Monitor) SetHash(v string) { + o.Hash = &v } -// GetIsActive returns the IsActive field value if set, zero value otherwise. -func (o *Monitor) GetIsActive() bool { - if o == nil || o.IsActive == nil { +// GetGenerateAlert returns the GenerateAlert field value if set, zero value otherwise. +func (o *Monitor) GetGenerateAlert() bool { + if o == nil || o.GenerateAlert == nil { var ret bool return ret } - return *o.IsActive + return *o.GenerateAlert } -// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// GetGenerateAlertOk returns a tuple with the GenerateAlert field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { +func (o *Monitor) GetGenerateAlertOk() (*bool, bool) { + if o == nil || o.GenerateAlert == nil { return nil, false } - return o.IsActive, true + return o.GenerateAlert, true } -// HasIsActive returns a boolean if a field has been set. -func (o *Monitor) HasIsActive() bool { - if o != nil && o.IsActive != nil { +// HasGenerateAlert returns a boolean if a field has been set. +func (o *Monitor) HasGenerateAlert() bool { + if o != nil && o.GenerateAlert != nil { return true } return false } -// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. -func (o *Monitor) SetIsActive(v bool) { - o.IsActive = &v +// SetGenerateAlert gets a reference to the given bool and assigns it to the GenerateAlert field. +func (o *Monitor) SetGenerateAlert(v bool) { + o.GenerateAlert = &v } // GetIsLocked returns the IsLocked field value if set, zero value otherwise. @@ -322,452 +322,420 @@ func (o *Monitor) SetIsLocked(v bool) { o.IsLocked = &v } -// GetCustomFields returns the CustomFields field value if set, zero value otherwise. -func (o *Monitor) GetCustomFields() []CustomField { - if o == nil || o.CustomFields == nil { - var ret []CustomField +// GetCheckInterval returns the CheckInterval field value if set, zero value otherwise. +func (o *Monitor) GetCheckInterval() int32 { + if o == nil || o.CheckInterval == nil { + var ret int32 return ret } - return *o.CustomFields + return *o.CheckInterval } -// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise +// GetCheckIntervalOk returns a tuple with the CheckInterval field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetCustomFieldsOk() (*[]CustomField, bool) { - if o == nil || o.CustomFields == nil { +func (o *Monitor) GetCheckIntervalOk() (*int32, bool) { + if o == nil || o.CheckInterval == nil { return nil, false } - return o.CustomFields, true + return o.CheckInterval, true } -// HasCustomFields returns a boolean if a field has been set. -func (o *Monitor) HasCustomFields() bool { - if o != nil && o.CustomFields != nil { +// HasCheckInterval returns a boolean if a field has been set. +func (o *Monitor) HasCheckInterval() bool { + if o != nil && o.CheckInterval != nil { return true } return false } -// SetCustomFields gets a reference to the given []CustomField and assigns it to the CustomFields field. -func (o *Monitor) SetCustomFields(v []CustomField) { - o.CustomFields = &v +// SetCheckInterval gets a reference to the given int32 and assigns it to the CheckInterval field. +func (o *Monitor) SetCheckInterval(v int32) { + o.CheckInterval = &v } -// GetSelectedCheckpoints returns the SelectedCheckpoints field value if set, zero value otherwise. -func (o *Monitor) GetSelectedCheckpoints() SelectedCheckpoints { - if o == nil || o.SelectedCheckpoints == nil { - var ret SelectedCheckpoints +// GetCredits returns the Credits field value if set, zero value otherwise. +func (o *Monitor) GetCredits() int32 { + if o == nil || o.Credits == nil { + var ret int32 return ret } - return *o.SelectedCheckpoints + return *o.Credits } -// GetSelectedCheckpointsOk returns a tuple with the SelectedCheckpoints field value if set, nil otherwise +// GetCreditsOk returns a tuple with the Credits field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetSelectedCheckpointsOk() (*SelectedCheckpoints, bool) { - if o == nil || o.SelectedCheckpoints == nil { +func (o *Monitor) GetCreditsOk() (*int32, bool) { + if o == nil || o.Credits == nil { return nil, false } - return o.SelectedCheckpoints, true + return o.Credits, true } -// HasSelectedCheckpoints returns a boolean if a field has been set. -func (o *Monitor) HasSelectedCheckpoints() bool { - if o != nil && o.SelectedCheckpoints != nil { +// HasCredits returns a boolean if a field has been set. +func (o *Monitor) HasCredits() bool { + if o != nil && o.Credits != nil { return true } return false } -// SetSelectedCheckpoints gets a reference to the given SelectedCheckpoints and assigns it to the SelectedCheckpoints field. -func (o *Monitor) SetSelectedCheckpoints(v SelectedCheckpoints) { - o.SelectedCheckpoints = &v +// SetCredits gets a reference to the given int32 and assigns it to the Credits field. +func (o *Monitor) SetCredits(v int32) { + o.Credits = &v } -// GetUsePrimaryCheckpointsOnly returns the UsePrimaryCheckpointsOnly field value if set, zero value otherwise. -func (o *Monitor) GetUsePrimaryCheckpointsOnly() bool { - if o == nil || o.UsePrimaryCheckpointsOnly == nil { - var ret bool +// GetMonitorMode returns the MonitorMode field value if set, zero value otherwise. +func (o *Monitor) GetMonitorMode() MonitorMode { + if o == nil || o.MonitorMode == nil { + var ret MonitorMode return ret } - return *o.UsePrimaryCheckpointsOnly + return *o.MonitorMode } -// GetUsePrimaryCheckpointsOnlyOk returns a tuple with the UsePrimaryCheckpointsOnly field value if set, nil otherwise +// GetMonitorModeOk returns a tuple with the MonitorMode field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetUsePrimaryCheckpointsOnlyOk() (*bool, bool) { - if o == nil || o.UsePrimaryCheckpointsOnly == nil { +func (o *Monitor) GetMonitorModeOk() (*MonitorMode, bool) { + if o == nil || o.MonitorMode == nil { return nil, false } - return o.UsePrimaryCheckpointsOnly, true + return o.MonitorMode, true } -// HasUsePrimaryCheckpointsOnly returns a boolean if a field has been set. -func (o *Monitor) HasUsePrimaryCheckpointsOnly() bool { - if o != nil && o.UsePrimaryCheckpointsOnly != nil { +// HasMonitorMode returns a boolean if a field has been set. +func (o *Monitor) HasMonitorMode() bool { + if o != nil && o.MonitorMode != nil { return true } return false } -// SetUsePrimaryCheckpointsOnly gets a reference to the given bool and assigns it to the UsePrimaryCheckpointsOnly field. -func (o *Monitor) SetUsePrimaryCheckpointsOnly(v bool) { - o.UsePrimaryCheckpointsOnly = &v +// SetMonitorMode gets a reference to the given MonitorMode and assigns it to the MonitorMode field. +func (o *Monitor) SetMonitorMode(v MonitorMode) { + o.MonitorMode = &v } -// GetCheckInterval returns the CheckInterval field value if set, zero value otherwise. -func (o *Monitor) GetCheckInterval() int32 { - if o == nil || o.CheckInterval == nil { - var ret int32 +// GetPredefinedVariables returns the PredefinedVariables field value if set, zero value otherwise. +func (o *Monitor) GetPredefinedVariables() []PredefinedVariable { + if o == nil || o.PredefinedVariables == nil { + var ret []PredefinedVariable return ret } - return *o.CheckInterval + return *o.PredefinedVariables } -// GetCheckIntervalOk returns a tuple with the CheckInterval field value if set, nil otherwise +// GetPredefinedVariablesOk returns a tuple with the PredefinedVariables field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetCheckIntervalOk() (*int32, bool) { - if o == nil || o.CheckInterval == nil { +func (o *Monitor) GetPredefinedVariablesOk() (*[]PredefinedVariable, bool) { + if o == nil || o.PredefinedVariables == nil { return nil, false } - return o.CheckInterval, true + return o.PredefinedVariables, true } -// HasCheckInterval returns a boolean if a field has been set. -func (o *Monitor) HasCheckInterval() bool { - if o != nil && o.CheckInterval != nil { - return true +// HasPredefinedVariables returns a boolean if a field has been set. +func (o *Monitor) HasPredefinedVariables() bool { + if o != nil && o.PredefinedVariables != nil { + return true } return false } -// SetCheckInterval gets a reference to the given int32 and assigns it to the CheckInterval field. -func (o *Monitor) SetCheckInterval(v int32) { - o.CheckInterval = &v +// SetPredefinedVariables gets a reference to the given []PredefinedVariable and assigns it to the PredefinedVariables field. +func (o *Monitor) SetPredefinedVariables(v []PredefinedVariable) { + o.PredefinedVariables = &v } -// GetMonitorMode returns the MonitorMode field value if set, zero value otherwise. -func (o *Monitor) GetMonitorMode() MonitorMode { - if o == nil || o.MonitorMode == nil { - var ret MonitorMode +// GetMsaSteps returns the MsaSteps field value if set, zero value otherwise. +func (o *Monitor) GetMsaSteps() []MsaStep { + if o == nil || o.MsaSteps == nil { + var ret []MsaStep return ret } - return *o.MonitorMode + return *o.MsaSteps } -// GetMonitorModeOk returns a tuple with the MonitorMode field value if set, nil otherwise +// GetMsaStepsOk returns a tuple with the MsaSteps field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetMonitorModeOk() (*MonitorMode, bool) { - if o == nil || o.MonitorMode == nil { +func (o *Monitor) GetMsaStepsOk() (*[]MsaStep, bool) { + if o == nil || o.MsaSteps == nil { return nil, false } - return o.MonitorMode, true + return o.MsaSteps, true } -// HasMonitorMode returns a boolean if a field has been set. -func (o *Monitor) HasMonitorMode() bool { - if o != nil && o.MonitorMode != nil { +// HasMsaSteps returns a boolean if a field has been set. +func (o *Monitor) HasMsaSteps() bool { + if o != nil && o.MsaSteps != nil { return true } return false } -// SetMonitorMode gets a reference to the given MonitorMode and assigns it to the MonitorMode field. -func (o *Monitor) SetMonitorMode(v MonitorMode) { - o.MonitorMode = &v +// SetMsaSteps gets a reference to the given []MsaStep and assigns it to the MsaSteps field. +func (o *Monitor) SetMsaSteps(v []MsaStep) { + o.MsaSteps = &v } -// GetNotes returns the Notes field value if set, zero value otherwise. -func (o *Monitor) GetNotes() string { - if o == nil || o.Notes == nil { - var ret string +// GetUserDefinedFunctions returns the UserDefinedFunctions field value if set, zero value otherwise. +func (o *Monitor) GetUserDefinedFunctions() []UserDefinedFunction { + if o == nil || o.UserDefinedFunctions == nil { + var ret []UserDefinedFunction return ret } - return *o.Notes + return *o.UserDefinedFunctions } -// GetNotesOk returns a tuple with the Notes field value if set, nil otherwise +// GetUserDefinedFunctionsOk returns a tuple with the UserDefinedFunctions field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetNotesOk() (*string, bool) { - if o == nil || o.Notes == nil { +func (o *Monitor) GetUserDefinedFunctionsOk() (*[]UserDefinedFunction, bool) { + if o == nil || o.UserDefinedFunctions == nil { return nil, false } - return o.Notes, true + return o.UserDefinedFunctions, true } -// HasNotes returns a boolean if a field has been set. -func (o *Monitor) HasNotes() bool { - if o != nil && o.Notes != nil { +// HasUserDefinedFunctions returns a boolean if a field has been set. +func (o *Monitor) HasUserDefinedFunctions() bool { + if o != nil && o.UserDefinedFunctions != nil { return true } return false } -// SetNotes gets a reference to the given string and assigns it to the Notes field. -func (o *Monitor) SetNotes(v string) { - o.Notes = &v +// SetUserDefinedFunctions gets a reference to the given []UserDefinedFunction and assigns it to the UserDefinedFunctions field. +func (o *Monitor) SetUserDefinedFunctions(v []UserDefinedFunction) { + o.UserDefinedFunctions = &v } -// GetHash returns the Hash field value if set, zero value otherwise. -func (o *Monitor) GetHash() string { - if o == nil || o.Hash == nil { - var ret string +// GetCustomMetrics returns the CustomMetrics field value if set, zero value otherwise. +func (o *Monitor) GetCustomMetrics() []CustomMetric { + if o == nil || o.CustomMetrics == nil { + var ret []CustomMetric return ret } - return *o.Hash + return *o.CustomMetrics } -// GetHashOk returns a tuple with the Hash field value if set, nil otherwise +// GetCustomMetricsOk returns a tuple with the CustomMetrics field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetHashOk() (*string, bool) { - if o == nil || o.Hash == nil { +func (o *Monitor) GetCustomMetricsOk() (*[]CustomMetric, bool) { + if o == nil || o.CustomMetrics == nil { return nil, false } - return o.Hash, true + return o.CustomMetrics, true } -// HasHash returns a boolean if a field has been set. -func (o *Monitor) HasHash() bool { - if o != nil && o.Hash != nil { +// HasCustomMetrics returns a boolean if a field has been set. +func (o *Monitor) HasCustomMetrics() bool { + if o != nil && o.CustomMetrics != nil { return true } return false } -// SetHash gets a reference to the given string and assigns it to the Hash field. -func (o *Monitor) SetHash(v string) { - o.Hash = &v +// SetCustomMetrics gets a reference to the given []CustomMetric and assigns it to the CustomMetrics field. +func (o *Monitor) SetCustomMetrics(v []CustomMetric) { + o.CustomMetrics = &v } -// GetTransactionStepDefinition returns the TransactionStepDefinition field value if set, zero value otherwise. -func (o *Monitor) GetTransactionStepDefinition() TransactionStepDefinition { - if o == nil || o.TransactionStepDefinition == nil { - var ret TransactionStepDefinition +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Monitor) GetCustomFields() []CustomField { + if o == nil || o.CustomFields == nil { + var ret []CustomField return ret } - return *o.TransactionStepDefinition + return *o.CustomFields } -// GetTransactionStepDefinitionOk returns a tuple with the TransactionStepDefinition field value if set, nil otherwise +// GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetTransactionStepDefinitionOk() (*TransactionStepDefinition, bool) { - if o == nil || o.TransactionStepDefinition == nil { +func (o *Monitor) GetCustomFieldsOk() (*[]CustomField, bool) { + if o == nil || o.CustomFields == nil { return nil, false } - return o.TransactionStepDefinition, true + return o.CustomFields, true } -// HasTransactionStepDefinition returns a boolean if a field has been set. -func (o *Monitor) HasTransactionStepDefinition() bool { - if o != nil && o.TransactionStepDefinition != nil { +// HasCustomFields returns a boolean if a field has been set. +func (o *Monitor) HasCustomFields() bool { + if o != nil && o.CustomFields != nil { return true } return false } -// SetTransactionStepDefinition gets a reference to the given TransactionStepDefinition and assigns it to the TransactionStepDefinition field. -func (o *Monitor) SetTransactionStepDefinition(v TransactionStepDefinition) { - o.TransactionStepDefinition = &v +// SetCustomFields gets a reference to the given []CustomField and assigns it to the CustomFields field. +func (o *Monitor) SetCustomFields(v []CustomField) { + o.CustomFields = &v } -// GetBlockUptrendsRum returns the BlockUptrendsRum field value if set, zero value otherwise. -func (o *Monitor) GetBlockUptrendsRum() bool { - if o == nil || o.BlockUptrendsRum == nil { - var ret bool +// GetSelectedCheckpoints returns the SelectedCheckpoints field value if set, zero value otherwise. +func (o *Monitor) GetSelectedCheckpoints() SelectedCheckpoints { + if o == nil || o.SelectedCheckpoints == nil { + var ret SelectedCheckpoints return ret } - return *o.BlockUptrendsRum + return *o.SelectedCheckpoints } -// GetBlockUptrendsRumOk returns a tuple with the BlockUptrendsRum field value if set, nil otherwise +// GetSelectedCheckpointsOk returns a tuple with the SelectedCheckpoints field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetBlockUptrendsRumOk() (*bool, bool) { - if o == nil || o.BlockUptrendsRum == nil { +func (o *Monitor) GetSelectedCheckpointsOk() (*SelectedCheckpoints, bool) { + if o == nil || o.SelectedCheckpoints == nil { return nil, false } - return o.BlockUptrendsRum, true + return o.SelectedCheckpoints, true } -// HasBlockUptrendsRum returns a boolean if a field has been set. -func (o *Monitor) HasBlockUptrendsRum() bool { - if o != nil && o.BlockUptrendsRum != nil { +// HasSelectedCheckpoints returns a boolean if a field has been set. +func (o *Monitor) HasSelectedCheckpoints() bool { + if o != nil && o.SelectedCheckpoints != nil { return true } return false } -// SetBlockUptrendsRum gets a reference to the given bool and assigns it to the BlockUptrendsRum field. -func (o *Monitor) SetBlockUptrendsRum(v bool) { - o.BlockUptrendsRum = &v +// SetSelectedCheckpoints gets a reference to the given SelectedCheckpoints and assigns it to the SelectedCheckpoints field. +func (o *Monitor) SetSelectedCheckpoints(v SelectedCheckpoints) { + o.SelectedCheckpoints = &v } -// GetBlockGoogleAnalytics returns the BlockGoogleAnalytics field value if set, zero value otherwise. -func (o *Monitor) GetBlockGoogleAnalytics() bool { - if o == nil || o.BlockGoogleAnalytics == nil { +// GetUsePrimaryCheckpointsOnly returns the UsePrimaryCheckpointsOnly field value if set, zero value otherwise. +func (o *Monitor) GetUsePrimaryCheckpointsOnly() bool { + if o == nil || o.UsePrimaryCheckpointsOnly == nil { var ret bool return ret } - return *o.BlockGoogleAnalytics + return *o.UsePrimaryCheckpointsOnly } -// GetBlockGoogleAnalyticsOk returns a tuple with the BlockGoogleAnalytics field value if set, nil otherwise +// GetUsePrimaryCheckpointsOnlyOk returns a tuple with the UsePrimaryCheckpointsOnly field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetBlockGoogleAnalyticsOk() (*bool, bool) { - if o == nil || o.BlockGoogleAnalytics == nil { +func (o *Monitor) GetUsePrimaryCheckpointsOnlyOk() (*bool, bool) { + if o == nil || o.UsePrimaryCheckpointsOnly == nil { return nil, false } - return o.BlockGoogleAnalytics, true + return o.UsePrimaryCheckpointsOnly, true } -// HasBlockGoogleAnalytics returns a boolean if a field has been set. -func (o *Monitor) HasBlockGoogleAnalytics() bool { - if o != nil && o.BlockGoogleAnalytics != nil { +// HasUsePrimaryCheckpointsOnly returns a boolean if a field has been set. +func (o *Monitor) HasUsePrimaryCheckpointsOnly() bool { + if o != nil && o.UsePrimaryCheckpointsOnly != nil { return true } return false } -// SetBlockGoogleAnalytics gets a reference to the given bool and assigns it to the BlockGoogleAnalytics field. -func (o *Monitor) SetBlockGoogleAnalytics(v bool) { - o.BlockGoogleAnalytics = &v +// SetUsePrimaryCheckpointsOnly gets a reference to the given bool and assigns it to the UsePrimaryCheckpointsOnly field. +func (o *Monitor) SetUsePrimaryCheckpointsOnly(v bool) { + o.UsePrimaryCheckpointsOnly = &v } -// GetBlockUrls returns the BlockUrls field value if set, zero value otherwise. -func (o *Monitor) GetBlockUrls() []string { - if o == nil || o.BlockUrls == nil { - var ret []string +// GetSelfServiceTransactionScript returns the SelfServiceTransactionScript field value if set, zero value otherwise. +func (o *Monitor) GetSelfServiceTransactionScript() string { + if o == nil || o.SelfServiceTransactionScript == nil { + var ret string return ret } - return *o.BlockUrls + return *o.SelfServiceTransactionScript } -// GetBlockUrlsOk returns a tuple with the BlockUrls field value if set, nil otherwise +// GetSelfServiceTransactionScriptOk returns a tuple with the SelfServiceTransactionScript field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetBlockUrlsOk() (*[]string, bool) { - if o == nil || o.BlockUrls == nil { +func (o *Monitor) GetSelfServiceTransactionScriptOk() (*string, bool) { + if o == nil || o.SelfServiceTransactionScript == nil { return nil, false } - return o.BlockUrls, true + return o.SelfServiceTransactionScript, true } -// HasBlockUrls returns a boolean if a field has been set. -func (o *Monitor) HasBlockUrls() bool { - if o != nil && o.BlockUrls != nil { +// HasSelfServiceTransactionScript returns a boolean if a field has been set. +func (o *Monitor) HasSelfServiceTransactionScript() bool { + if o != nil && o.SelfServiceTransactionScript != nil { return true } return false } -// SetBlockUrls gets a reference to the given []string and assigns it to the BlockUrls field. -func (o *Monitor) SetBlockUrls(v []string) { - o.BlockUrls = &v +// SetSelfServiceTransactionScript gets a reference to the given string and assigns it to the SelfServiceTransactionScript field. +func (o *Monitor) SetSelfServiceTransactionScript(v string) { + o.SelfServiceTransactionScript = &v } -// GetRequestHeaders returns the RequestHeaders field value if set, zero value otherwise. -func (o *Monitor) GetRequestHeaders() []RequestHeader { - if o == nil || o.RequestHeaders == nil { - var ret []RequestHeader +// GetMonitorType returns the MonitorType field value if set, zero value otherwise. +func (o *Monitor) GetMonitorType() MonitorType { + if o == nil || o.MonitorType == nil { + var ret MonitorType return ret } - return *o.RequestHeaders + return *o.MonitorType } -// GetRequestHeadersOk returns a tuple with the RequestHeaders field value if set, nil otherwise +// GetMonitorTypeOk returns a tuple with the MonitorType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetRequestHeadersOk() (*[]RequestHeader, bool) { - if o == nil || o.RequestHeaders == nil { +func (o *Monitor) GetMonitorTypeOk() (*MonitorType, bool) { + if o == nil || o.MonitorType == nil { return nil, false } - return o.RequestHeaders, true + return o.MonitorType, true } -// HasRequestHeaders returns a boolean if a field has been set. -func (o *Monitor) HasRequestHeaders() bool { - if o != nil && o.RequestHeaders != nil { +// HasMonitorType returns a boolean if a field has been set. +func (o *Monitor) HasMonitorType() bool { + if o != nil && o.MonitorType != nil { return true } return false } -// SetRequestHeaders gets a reference to the given []RequestHeader and assigns it to the RequestHeaders field. -func (o *Monitor) SetRequestHeaders(v []RequestHeader) { - o.RequestHeaders = &v +// SetMonitorType gets a reference to the given MonitorType and assigns it to the MonitorType field. +func (o *Monitor) SetMonitorType(v MonitorType) { + o.MonitorType = &v } -// GetUserAgent returns the UserAgent field value if set, zero value otherwise. -func (o *Monitor) GetUserAgent() string { - if o == nil || o.UserAgent == nil { +// GetNotes returns the Notes field value if set, zero value otherwise. +func (o *Monitor) GetNotes() string { + if o == nil || o.Notes == nil { var ret string return ret } - return *o.UserAgent + return *o.Notes } -// GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Monitor) GetUserAgentOk() (*string, bool) { - if o == nil || o.UserAgent == nil { - return nil, false - } - return o.UserAgent, true -} - -// HasUserAgent returns a boolean if a field has been set. -func (o *Monitor) HasUserAgent() bool { - if o != nil && o.UserAgent != nil { - return true - } - - return false -} - -// SetUserAgent gets a reference to the given string and assigns it to the UserAgent field. -func (o *Monitor) SetUserAgent(v string) { - o.UserAgent = &v -} - -// GetLoadTimeLimit1 returns the LoadTimeLimit1 field value if set, zero value otherwise. -func (o *Monitor) GetLoadTimeLimit1() int32 { - if o == nil || o.LoadTimeLimit1 == nil { - var ret int32 - return ret - } - return *o.LoadTimeLimit1 -} - -// GetLoadTimeLimit1Ok returns a tuple with the LoadTimeLimit1 field value if set, nil otherwise +// GetNotesOk returns a tuple with the Notes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetLoadTimeLimit1Ok() (*int32, bool) { - if o == nil || o.LoadTimeLimit1 == nil { +func (o *Monitor) GetNotesOk() (*string, bool) { + if o == nil || o.Notes == nil { return nil, false } - return o.LoadTimeLimit1, true + return o.Notes, true } -// HasLoadTimeLimit1 returns a boolean if a field has been set. -func (o *Monitor) HasLoadTimeLimit1() bool { - if o != nil && o.LoadTimeLimit1 != nil { +// HasNotes returns a boolean if a field has been set. +func (o *Monitor) HasNotes() bool { + if o != nil && o.Notes != nil { return true } return false } -// SetLoadTimeLimit1 gets a reference to the given int32 and assigns it to the LoadTimeLimit1 field. -func (o *Monitor) SetLoadTimeLimit1(v int32) { - o.LoadTimeLimit1 = &v +// SetNotes gets a reference to the given string and assigns it to the Notes field. +func (o *Monitor) SetNotes(v string) { + o.Notes = &v } // GetAlertOnLoadTimeLimit1 returns the AlertOnLoadTimeLimit1 field value if set, zero value otherwise. @@ -802,36 +770,36 @@ func (o *Monitor) SetAlertOnLoadTimeLimit1(v bool) { o.AlertOnLoadTimeLimit1 = &v } -// GetLoadTimeLimit2 returns the LoadTimeLimit2 field value if set, zero value otherwise. -func (o *Monitor) GetLoadTimeLimit2() int32 { - if o == nil || o.LoadTimeLimit2 == nil { +// GetLoadTimeLimit1 returns the LoadTimeLimit1 field value if set, zero value otherwise. +func (o *Monitor) GetLoadTimeLimit1() int32 { + if o == nil || o.LoadTimeLimit1 == nil { var ret int32 return ret } - return *o.LoadTimeLimit2 + return *o.LoadTimeLimit1 } -// GetLoadTimeLimit2Ok returns a tuple with the LoadTimeLimit2 field value if set, nil otherwise +// GetLoadTimeLimit1Ok returns a tuple with the LoadTimeLimit1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetLoadTimeLimit2Ok() (*int32, bool) { - if o == nil || o.LoadTimeLimit2 == nil { +func (o *Monitor) GetLoadTimeLimit1Ok() (*int32, bool) { + if o == nil || o.LoadTimeLimit1 == nil { return nil, false } - return o.LoadTimeLimit2, true + return o.LoadTimeLimit1, true } -// HasLoadTimeLimit2 returns a boolean if a field has been set. -func (o *Monitor) HasLoadTimeLimit2() bool { - if o != nil && o.LoadTimeLimit2 != nil { +// HasLoadTimeLimit1 returns a boolean if a field has been set. +func (o *Monitor) HasLoadTimeLimit1() bool { + if o != nil && o.LoadTimeLimit1 != nil { return true } return false } -// SetLoadTimeLimit2 gets a reference to the given int32 and assigns it to the LoadTimeLimit2 field. -func (o *Monitor) SetLoadTimeLimit2(v int32) { - o.LoadTimeLimit2 = &v +// SetLoadTimeLimit1 gets a reference to the given int32 and assigns it to the LoadTimeLimit1 field. +func (o *Monitor) SetLoadTimeLimit1(v int32) { + o.LoadTimeLimit1 = &v } // GetAlertOnLoadTimeLimit2 returns the AlertOnLoadTimeLimit2 field value if set, zero value otherwise. @@ -866,324 +834,228 @@ func (o *Monitor) SetAlertOnLoadTimeLimit2(v bool) { o.AlertOnLoadTimeLimit2 = &v } -// GetUsername returns the Username field value if set, zero value otherwise. -func (o *Monitor) GetUsername() string { - if o == nil || o.Username == nil { - var ret string - return ret - } - return *o.Username -} - -// GetUsernameOk returns a tuple with the Username field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Monitor) GetUsernameOk() (*string, bool) { - if o == nil || o.Username == nil { - return nil, false - } - return o.Username, true -} - -// HasUsername returns a boolean if a field has been set. -func (o *Monitor) HasUsername() bool { - if o != nil && o.Username != nil { - return true - } - - return false -} - -// SetUsername gets a reference to the given string and assigns it to the Username field. -func (o *Monitor) SetUsername(v string) { - o.Username = &v -} - -// GetAuthenticationType returns the AuthenticationType field value if set, zero value otherwise. -func (o *Monitor) GetAuthenticationType() ApiHttpAuthenticationType { - if o == nil || o.AuthenticationType == nil { - var ret ApiHttpAuthenticationType - return ret - } - return *o.AuthenticationType -} - -// GetAuthenticationTypeOk returns a tuple with the AuthenticationType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Monitor) GetAuthenticationTypeOk() (*ApiHttpAuthenticationType, bool) { - if o == nil || o.AuthenticationType == nil { - return nil, false - } - return o.AuthenticationType, true -} - -// HasAuthenticationType returns a boolean if a field has been set. -func (o *Monitor) HasAuthenticationType() bool { - if o != nil && o.AuthenticationType != nil { - return true - } - - return false -} - -// SetAuthenticationType gets a reference to the given ApiHttpAuthenticationType and assigns it to the AuthenticationType field. -func (o *Monitor) SetAuthenticationType(v ApiHttpAuthenticationType) { - o.AuthenticationType = &v -} - -// GetBrowserType returns the BrowserType field value if set, zero value otherwise. -func (o *Monitor) GetBrowserType() BrowserType { - if o == nil || o.BrowserType == nil { - var ret BrowserType - return ret - } - return *o.BrowserType -} - -// GetBrowserTypeOk returns a tuple with the BrowserType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Monitor) GetBrowserTypeOk() (*BrowserType, bool) { - if o == nil || o.BrowserType == nil { - return nil, false - } - return o.BrowserType, true -} - -// HasBrowserType returns a boolean if a field has been set. -func (o *Monitor) HasBrowserType() bool { - if o != nil && o.BrowserType != nil { - return true - } - - return false -} - -// SetBrowserType gets a reference to the given BrowserType and assigns it to the BrowserType field. -func (o *Monitor) SetBrowserType(v BrowserType) { - o.BrowserType = &v -} - -// GetBrowserWindowDimensions returns the BrowserWindowDimensions field value if set, zero value otherwise. -func (o *Monitor) GetBrowserWindowDimensions() BrowserWindowDimensions { - if o == nil || o.BrowserWindowDimensions == nil { - var ret BrowserWindowDimensions +// GetLoadTimeLimit2 returns the LoadTimeLimit2 field value if set, zero value otherwise. +func (o *Monitor) GetLoadTimeLimit2() int32 { + if o == nil || o.LoadTimeLimit2 == nil { + var ret int32 return ret } - return *o.BrowserWindowDimensions + return *o.LoadTimeLimit2 } -// GetBrowserWindowDimensionsOk returns a tuple with the BrowserWindowDimensions field value if set, nil otherwise +// GetLoadTimeLimit2Ok returns a tuple with the LoadTimeLimit2 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetBrowserWindowDimensionsOk() (*BrowserWindowDimensions, bool) { - if o == nil || o.BrowserWindowDimensions == nil { +func (o *Monitor) GetLoadTimeLimit2Ok() (*int32, bool) { + if o == nil || o.LoadTimeLimit2 == nil { return nil, false } - return o.BrowserWindowDimensions, true + return o.LoadTimeLimit2, true } -// HasBrowserWindowDimensions returns a boolean if a field has been set. -func (o *Monitor) HasBrowserWindowDimensions() bool { - if o != nil && o.BrowserWindowDimensions != nil { +// HasLoadTimeLimit2 returns a boolean if a field has been set. +func (o *Monitor) HasLoadTimeLimit2() bool { + if o != nil && o.LoadTimeLimit2 != nil { return true } return false } -// SetBrowserWindowDimensions gets a reference to the given BrowserWindowDimensions and assigns it to the BrowserWindowDimensions field. -func (o *Monitor) SetBrowserWindowDimensions(v BrowserWindowDimensions) { - o.BrowserWindowDimensions = &v +// SetLoadTimeLimit2 gets a reference to the given int32 and assigns it to the LoadTimeLimit2 field. +func (o *Monitor) SetLoadTimeLimit2(v int32) { + o.LoadTimeLimit2 = &v } -// GetCredits returns the Credits field value if set, zero value otherwise. -func (o *Monitor) GetCredits() int32 { - if o == nil || o.Credits == nil { - var ret int32 +// GetBlockGoogleAnalytics returns the BlockGoogleAnalytics field value if set, zero value otherwise. +func (o *Monitor) GetBlockGoogleAnalytics() bool { + if o == nil || o.BlockGoogleAnalytics == nil { + var ret bool return ret } - return *o.Credits + return *o.BlockGoogleAnalytics } -// GetCreditsOk returns a tuple with the Credits field value if set, nil otherwise +// GetBlockGoogleAnalyticsOk returns a tuple with the BlockGoogleAnalytics field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetCreditsOk() (*int32, bool) { - if o == nil || o.Credits == nil { +func (o *Monitor) GetBlockGoogleAnalyticsOk() (*bool, bool) { + if o == nil || o.BlockGoogleAnalytics == nil { return nil, false } - return o.Credits, true + return o.BlockGoogleAnalytics, true } -// HasCredits returns a boolean if a field has been set. -func (o *Monitor) HasCredits() bool { - if o != nil && o.Credits != nil { +// HasBlockGoogleAnalytics returns a boolean if a field has been set. +func (o *Monitor) HasBlockGoogleAnalytics() bool { + if o != nil && o.BlockGoogleAnalytics != nil { return true } return false } -// SetCredits gets a reference to the given int32 and assigns it to the Credits field. -func (o *Monitor) SetCredits(v int32) { - o.Credits = &v +// SetBlockGoogleAnalytics gets a reference to the given bool and assigns it to the BlockGoogleAnalytics field. +func (o *Monitor) SetBlockGoogleAnalytics(v bool) { + o.BlockGoogleAnalytics = &v } -// GetPredefinedVariables returns the PredefinedVariables field value if set, zero value otherwise. -func (o *Monitor) GetPredefinedVariables() []PredefinedVariable { - if o == nil || o.PredefinedVariables == nil { - var ret []PredefinedVariable +// GetBlockUptrendsRum returns the BlockUptrendsRum field value if set, zero value otherwise. +func (o *Monitor) GetBlockUptrendsRum() bool { + if o == nil || o.BlockUptrendsRum == nil { + var ret bool return ret } - return *o.PredefinedVariables + return *o.BlockUptrendsRum } -// GetPredefinedVariablesOk returns a tuple with the PredefinedVariables field value if set, nil otherwise +// GetBlockUptrendsRumOk returns a tuple with the BlockUptrendsRum field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetPredefinedVariablesOk() (*[]PredefinedVariable, bool) { - if o == nil || o.PredefinedVariables == nil { +func (o *Monitor) GetBlockUptrendsRumOk() (*bool, bool) { + if o == nil || o.BlockUptrendsRum == nil { return nil, false } - return o.PredefinedVariables, true + return o.BlockUptrendsRum, true } -// HasPredefinedVariables returns a boolean if a field has been set. -func (o *Monitor) HasPredefinedVariables() bool { - if o != nil && o.PredefinedVariables != nil { +// HasBlockUptrendsRum returns a boolean if a field has been set. +func (o *Monitor) HasBlockUptrendsRum() bool { + if o != nil && o.BlockUptrendsRum != nil { return true } return false } -// SetPredefinedVariables gets a reference to the given []PredefinedVariable and assigns it to the PredefinedVariables field. -func (o *Monitor) SetPredefinedVariables(v []PredefinedVariable) { - o.PredefinedVariables = &v +// SetBlockUptrendsRum gets a reference to the given bool and assigns it to the BlockUptrendsRum field. +func (o *Monitor) SetBlockUptrendsRum(v bool) { + o.BlockUptrendsRum = &v } -// GetMsaSteps returns the MsaSteps field value if set, zero value otherwise. -func (o *Monitor) GetMsaSteps() []MsaStep { - if o == nil || o.MsaSteps == nil { - var ret []MsaStep +// GetBlockUrls returns the BlockUrls field value if set, zero value otherwise. +func (o *Monitor) GetBlockUrls() []string { + if o == nil || o.BlockUrls == nil { + var ret []string return ret } - return *o.MsaSteps + return *o.BlockUrls } -// GetMsaStepsOk returns a tuple with the MsaSteps field value if set, nil otherwise +// GetBlockUrlsOk returns a tuple with the BlockUrls field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetMsaStepsOk() (*[]MsaStep, bool) { - if o == nil || o.MsaSteps == nil { +func (o *Monitor) GetBlockUrlsOk() (*[]string, bool) { + if o == nil || o.BlockUrls == nil { return nil, false } - return o.MsaSteps, true + return o.BlockUrls, true } -// HasMsaSteps returns a boolean if a field has been set. -func (o *Monitor) HasMsaSteps() bool { - if o != nil && o.MsaSteps != nil { +// HasBlockUrls returns a boolean if a field has been set. +func (o *Monitor) HasBlockUrls() bool { + if o != nil && o.BlockUrls != nil { return true } return false } -// SetMsaSteps gets a reference to the given []MsaStep and assigns it to the MsaSteps field. -func (o *Monitor) SetMsaSteps(v []MsaStep) { - o.MsaSteps = &v +// SetBlockUrls gets a reference to the given []string and assigns it to the BlockUrls field. +func (o *Monitor) SetBlockUrls(v []string) { + o.BlockUrls = &v } -// GetUserDefinedFunctions returns the UserDefinedFunctions field value if set, zero value otherwise. -func (o *Monitor) GetUserDefinedFunctions() []UserDefinedFunction { - if o == nil || o.UserDefinedFunctions == nil { - var ret []UserDefinedFunction +// GetRequestHeaders returns the RequestHeaders field value if set, zero value otherwise. +func (o *Monitor) GetRequestHeaders() []RequestHeader { + if o == nil || o.RequestHeaders == nil { + var ret []RequestHeader return ret } - return *o.UserDefinedFunctions + return *o.RequestHeaders } -// GetUserDefinedFunctionsOk returns a tuple with the UserDefinedFunctions field value if set, nil otherwise +// GetRequestHeadersOk returns a tuple with the RequestHeaders field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetUserDefinedFunctionsOk() (*[]UserDefinedFunction, bool) { - if o == nil || o.UserDefinedFunctions == nil { +func (o *Monitor) GetRequestHeadersOk() (*[]RequestHeader, bool) { + if o == nil || o.RequestHeaders == nil { return nil, false } - return o.UserDefinedFunctions, true + return o.RequestHeaders, true } -// HasUserDefinedFunctions returns a boolean if a field has been set. -func (o *Monitor) HasUserDefinedFunctions() bool { - if o != nil && o.UserDefinedFunctions != nil { +// HasRequestHeaders returns a boolean if a field has been set. +func (o *Monitor) HasRequestHeaders() bool { + if o != nil && o.RequestHeaders != nil { return true } return false } -// SetUserDefinedFunctions gets a reference to the given []UserDefinedFunction and assigns it to the UserDefinedFunctions field. -func (o *Monitor) SetUserDefinedFunctions(v []UserDefinedFunction) { - o.UserDefinedFunctions = &v +// SetRequestHeaders gets a reference to the given []RequestHeader and assigns it to the RequestHeaders field. +func (o *Monitor) SetRequestHeaders(v []RequestHeader) { + o.RequestHeaders = &v } -// GetCustomMetrics returns the CustomMetrics field value if set, zero value otherwise. -func (o *Monitor) GetCustomMetrics() []CustomMetric { - if o == nil || o.CustomMetrics == nil { - var ret []CustomMetric +// GetUserAgent returns the UserAgent field value if set, zero value otherwise. +func (o *Monitor) GetUserAgent() string { + if o == nil || o.UserAgent == nil { + var ret string return ret } - return *o.CustomMetrics + return *o.UserAgent } -// GetCustomMetricsOk returns a tuple with the CustomMetrics field value if set, nil otherwise +// GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetCustomMetricsOk() (*[]CustomMetric, bool) { - if o == nil || o.CustomMetrics == nil { +func (o *Monitor) GetUserAgentOk() (*string, bool) { + if o == nil || o.UserAgent == nil { return nil, false } - return o.CustomMetrics, true + return o.UserAgent, true } -// HasCustomMetrics returns a boolean if a field has been set. -func (o *Monitor) HasCustomMetrics() bool { - if o != nil && o.CustomMetrics != nil { +// HasUserAgent returns a boolean if a field has been set. +func (o *Monitor) HasUserAgent() bool { + if o != nil && o.UserAgent != nil { return true } return false } -// SetCustomMetrics gets a reference to the given []CustomMetric and assigns it to the CustomMetrics field. -func (o *Monitor) SetCustomMetrics(v []CustomMetric) { - o.CustomMetrics = &v +// SetUserAgent gets a reference to the given string and assigns it to the UserAgent field. +func (o *Monitor) SetUserAgent(v string) { + o.UserAgent = &v } -// GetSelfServiceTransactionScript returns the SelfServiceTransactionScript field value if set, zero value otherwise. -func (o *Monitor) GetSelfServiceTransactionScript() string { - if o == nil || o.SelfServiceTransactionScript == nil { +// GetUsername returns the Username field value if set, zero value otherwise. +func (o *Monitor) GetUsername() string { + if o == nil || o.Username == nil { var ret string return ret } - return *o.SelfServiceTransactionScript + return *o.Username } -// GetSelfServiceTransactionScriptOk returns a tuple with the SelfServiceTransactionScript field value if set, nil otherwise +// GetUsernameOk returns a tuple with the Username field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Monitor) GetSelfServiceTransactionScriptOk() (*string, bool) { - if o == nil || o.SelfServiceTransactionScript == nil { +func (o *Monitor) GetUsernameOk() (*string, bool) { + if o == nil || o.Username == nil { return nil, false } - return o.SelfServiceTransactionScript, true + return o.Username, true } -// HasSelfServiceTransactionScript returns a boolean if a field has been set. -func (o *Monitor) HasSelfServiceTransactionScript() bool { - if o != nil && o.SelfServiceTransactionScript != nil { +// HasUsername returns a boolean if a field has been set. +func (o *Monitor) HasUsername() bool { + if o != nil && o.Username != nil { return true } return false } -// SetSelfServiceTransactionScript gets a reference to the given string and assigns it to the SelfServiceTransactionScript field. -func (o *Monitor) SetSelfServiceTransactionScript(v string) { - o.SelfServiceTransactionScript = &v +// SetUsername gets a reference to the given string and assigns it to the Username field. +func (o *Monitor) SetUsername(v string) { + o.Username = &v } // GetPassword returns the Password field value if set, zero value otherwise. @@ -1250,6 +1122,38 @@ func (o *Monitor) SetNameForPhoneAlerts(v string) { o.NameForPhoneAlerts = &v } +// GetAuthenticationType returns the AuthenticationType field value if set, zero value otherwise. +func (o *Monitor) GetAuthenticationType() ApiHttpAuthenticationType { + if o == nil || o.AuthenticationType == nil { + var ret ApiHttpAuthenticationType + return ret + } + return *o.AuthenticationType +} + +// GetAuthenticationTypeOk returns a tuple with the AuthenticationType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Monitor) GetAuthenticationTypeOk() (*ApiHttpAuthenticationType, bool) { + if o == nil || o.AuthenticationType == nil { + return nil, false + } + return o.AuthenticationType, true +} + +// HasAuthenticationType returns a boolean if a field has been set. +func (o *Monitor) HasAuthenticationType() bool { + if o != nil && o.AuthenticationType != nil { + return true + } + + return false +} + +// SetAuthenticationType gets a reference to the given ApiHttpAuthenticationType and assigns it to the AuthenticationType field. +func (o *Monitor) SetAuthenticationType(v ApiHttpAuthenticationType) { + o.AuthenticationType = &v +} + // GetThrottlingOptions returns the ThrottlingOptions field value if set, zero value otherwise. func (o *Monitor) GetThrottlingOptions() ThrottlingOptions { if o == nil || o.ThrottlingOptions == nil { @@ -1282,6 +1186,38 @@ func (o *Monitor) SetThrottlingOptions(v ThrottlingOptions) { o.ThrottlingOptions = &v } +// GetTransactionStepDefinition returns the TransactionStepDefinition field value if set, zero value otherwise. +func (o *Monitor) GetTransactionStepDefinition() TransactionStepDefinition { + if o == nil || o.TransactionStepDefinition == nil { + var ret TransactionStepDefinition + return ret + } + return *o.TransactionStepDefinition +} + +// GetTransactionStepDefinitionOk returns a tuple with the TransactionStepDefinition field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Monitor) GetTransactionStepDefinitionOk() (*TransactionStepDefinition, bool) { + if o == nil || o.TransactionStepDefinition == nil { + return nil, false + } + return o.TransactionStepDefinition, true +} + +// HasTransactionStepDefinition returns a boolean if a field has been set. +func (o *Monitor) HasTransactionStepDefinition() bool { + if o != nil && o.TransactionStepDefinition != nil { + return true + } + + return false +} + +// SetTransactionStepDefinition gets a reference to the given TransactionStepDefinition and assigns it to the TransactionStepDefinition field. +func (o *Monitor) SetTransactionStepDefinition(v TransactionStepDefinition) { + o.TransactionStepDefinition = &v +} + // GetCertificateName returns the CertificateName field value if set, zero value otherwise. func (o *Monitor) GetCertificateName() string { if o == nil || o.CertificateName == nil { @@ -2562,6 +2498,70 @@ func (o *Monitor) SetUrl(v string) { o.Url = &v } +// GetBrowserType returns the BrowserType field value if set, zero value otherwise. +func (o *Monitor) GetBrowserType() BrowserType { + if o == nil || o.BrowserType == nil { + var ret BrowserType + return ret + } + return *o.BrowserType +} + +// GetBrowserTypeOk returns a tuple with the BrowserType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Monitor) GetBrowserTypeOk() (*BrowserType, bool) { + if o == nil || o.BrowserType == nil { + return nil, false + } + return o.BrowserType, true +} + +// HasBrowserType returns a boolean if a field has been set. +func (o *Monitor) HasBrowserType() bool { + if o != nil && o.BrowserType != nil { + return true + } + + return false +} + +// SetBrowserType gets a reference to the given BrowserType and assigns it to the BrowserType field. +func (o *Monitor) SetBrowserType(v BrowserType) { + o.BrowserType = &v +} + +// GetBrowserWindowDimensions returns the BrowserWindowDimensions field value if set, zero value otherwise. +func (o *Monitor) GetBrowserWindowDimensions() BrowserWindowDimensions { + if o == nil || o.BrowserWindowDimensions == nil { + var ret BrowserWindowDimensions + return ret + } + return *o.BrowserWindowDimensions +} + +// GetBrowserWindowDimensionsOk returns a tuple with the BrowserWindowDimensions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Monitor) GetBrowserWindowDimensionsOk() (*BrowserWindowDimensions, bool) { + if o == nil || o.BrowserWindowDimensions == nil { + return nil, false + } + return o.BrowserWindowDimensions, true +} + +// HasBrowserWindowDimensions returns a boolean if a field has been set. +func (o *Monitor) HasBrowserWindowDimensions() bool { + if o != nil && o.BrowserWindowDimensions != nil { + return true + } + + return false +} + +// SetBrowserWindowDimensions gets a reference to the given BrowserWindowDimensions and assigns it to the BrowserWindowDimensions field. +func (o *Monitor) SetBrowserWindowDimensions(v BrowserWindowDimensions) { + o.BrowserWindowDimensions = &v +} + // GetUseConcurrentMonitoring returns the UseConcurrentMonitoring field value if set, zero value otherwise. func (o *Monitor) GetUseConcurrentMonitoring() bool { if o == nil || o.UseConcurrentMonitoring == nil { @@ -2666,18 +2666,39 @@ func (o Monitor) MarshalJSON() ([]byte, error) { if o.Name != nil { toSerialize["Name"] = o.Name } - if o.MonitorType != nil { - toSerialize["MonitorType"] = o.MonitorType + if o.IsActive != nil { + toSerialize["IsActive"] = o.IsActive + } + if o.Hash != nil { + toSerialize["Hash"] = o.Hash } if o.GenerateAlert != nil { toSerialize["GenerateAlert"] = o.GenerateAlert } - if o.IsActive != nil { - toSerialize["IsActive"] = o.IsActive - } if o.IsLocked != nil { toSerialize["IsLocked"] = o.IsLocked } + if o.CheckInterval != nil { + toSerialize["CheckInterval"] = o.CheckInterval + } + if o.Credits != nil { + toSerialize["Credits"] = o.Credits + } + if o.MonitorMode != nil { + toSerialize["MonitorMode"] = o.MonitorMode + } + if o.PredefinedVariables != nil { + toSerialize["PredefinedVariables"] = o.PredefinedVariables + } + if o.MsaSteps != nil { + toSerialize["MsaSteps"] = o.MsaSteps + } + if o.UserDefinedFunctions != nil { + toSerialize["UserDefinedFunctions"] = o.UserDefinedFunctions + } + if o.CustomMetrics != nil { + toSerialize["CustomMetrics"] = o.CustomMetrics + } if o.CustomFields != nil { toSerialize["CustomFields"] = o.CustomFields } @@ -2687,27 +2708,33 @@ func (o Monitor) MarshalJSON() ([]byte, error) { if o.UsePrimaryCheckpointsOnly != nil { toSerialize["UsePrimaryCheckpointsOnly"] = o.UsePrimaryCheckpointsOnly } - if o.CheckInterval != nil { - toSerialize["CheckInterval"] = o.CheckInterval + if o.SelfServiceTransactionScript != nil { + toSerialize["SelfServiceTransactionScript"] = o.SelfServiceTransactionScript } - if o.MonitorMode != nil { - toSerialize["MonitorMode"] = o.MonitorMode + if o.MonitorType != nil { + toSerialize["MonitorType"] = o.MonitorType } if o.Notes != nil { toSerialize["Notes"] = o.Notes } - if o.Hash != nil { - toSerialize["Hash"] = o.Hash + if o.AlertOnLoadTimeLimit1 != nil { + toSerialize["AlertOnLoadTimeLimit1"] = o.AlertOnLoadTimeLimit1 } - if o.TransactionStepDefinition != nil { - toSerialize["TransactionStepDefinition"] = o.TransactionStepDefinition + if o.LoadTimeLimit1 != nil { + toSerialize["LoadTimeLimit1"] = o.LoadTimeLimit1 } - if o.BlockUptrendsRum != nil { - toSerialize["BlockUptrendsRum"] = o.BlockUptrendsRum + if o.AlertOnLoadTimeLimit2 != nil { + toSerialize["AlertOnLoadTimeLimit2"] = o.AlertOnLoadTimeLimit2 + } + if o.LoadTimeLimit2 != nil { + toSerialize["LoadTimeLimit2"] = o.LoadTimeLimit2 } if o.BlockGoogleAnalytics != nil { toSerialize["BlockGoogleAnalytics"] = o.BlockGoogleAnalytics } + if o.BlockUptrendsRum != nil { + toSerialize["BlockUptrendsRum"] = o.BlockUptrendsRum + } if o.BlockUrls != nil { toSerialize["BlockUrls"] = o.BlockUrls } @@ -2717,57 +2744,24 @@ func (o Monitor) MarshalJSON() ([]byte, error) { if o.UserAgent != nil { toSerialize["UserAgent"] = o.UserAgent } - if o.LoadTimeLimit1 != nil { - toSerialize["LoadTimeLimit1"] = o.LoadTimeLimit1 - } - if o.AlertOnLoadTimeLimit1 != nil { - toSerialize["AlertOnLoadTimeLimit1"] = o.AlertOnLoadTimeLimit1 - } - if o.LoadTimeLimit2 != nil { - toSerialize["LoadTimeLimit2"] = o.LoadTimeLimit2 - } - if o.AlertOnLoadTimeLimit2 != nil { - toSerialize["AlertOnLoadTimeLimit2"] = o.AlertOnLoadTimeLimit2 - } if o.Username != nil { toSerialize["Username"] = o.Username } - if o.AuthenticationType != nil { - toSerialize["AuthenticationType"] = o.AuthenticationType - } - if o.BrowserType != nil { - toSerialize["BrowserType"] = o.BrowserType - } - if o.BrowserWindowDimensions != nil { - toSerialize["BrowserWindowDimensions"] = o.BrowserWindowDimensions - } - if o.Credits != nil { - toSerialize["Credits"] = o.Credits - } - if o.PredefinedVariables != nil { - toSerialize["PredefinedVariables"] = o.PredefinedVariables - } - if o.MsaSteps != nil { - toSerialize["MsaSteps"] = o.MsaSteps - } - if o.UserDefinedFunctions != nil { - toSerialize["UserDefinedFunctions"] = o.UserDefinedFunctions - } - if o.CustomMetrics != nil { - toSerialize["CustomMetrics"] = o.CustomMetrics - } - if o.SelfServiceTransactionScript != nil { - toSerialize["SelfServiceTransactionScript"] = o.SelfServiceTransactionScript - } if o.Password != nil { toSerialize["Password"] = o.Password } if o.NameForPhoneAlerts != nil { toSerialize["NameForPhoneAlerts"] = o.NameForPhoneAlerts } + if o.AuthenticationType != nil { + toSerialize["AuthenticationType"] = o.AuthenticationType + } if o.ThrottlingOptions != nil { toSerialize["ThrottlingOptions"] = o.ThrottlingOptions } + if o.TransactionStepDefinition != nil { + toSerialize["TransactionStepDefinition"] = o.TransactionStepDefinition + } if o.CertificateName != nil { toSerialize["CertificateName"] = o.CertificateName } @@ -2888,6 +2882,12 @@ func (o Monitor) MarshalJSON() ([]byte, error) { if o.Url != nil { toSerialize["Url"] = o.Url } + if o.BrowserType != nil { + toSerialize["BrowserType"] = o.BrowserType + } + if o.BrowserWindowDimensions != nil { + toSerialize["BrowserWindowDimensions"] = o.BrowserWindowDimensions + } if o.UseConcurrentMonitoring != nil { toSerialize["UseConcurrentMonitoring"] = o.UseConcurrentMonitoring }