Skip to content

Commit

Permalink
update go sdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Metz committed Aug 9, 2021
1 parent df84094 commit f2f0324
Show file tree
Hide file tree
Showing 7 changed files with 173 additions and 185 deletions.
3 changes: 0 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ docs/IntegrationApi.md
docs/IntegrationServiceMap.md
docs/IntegrationTypeEnum.md
docs/IpVersion.md
docs/Ipv6Address.md
docs/JwtAlgorithm.md
docs/LastErrorLevel.md
docs/LinksData.md
Expand Down Expand Up @@ -201,8 +200,6 @@ docs/VaultSectionAuthorizationType.md
docs/WaterfallInfo.md
docs/WaterfallResponse.md
git_push.sh
go.mod
go.sum
model_account_statistics.go
model_alert.go
model_alert_attributes.go
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ Please note that this is not a sandbox environment: these API methods operate di

For more information, please visit https://www.uptrends.com/api.

`openapi-generator-cli generate -i https://api.uptrends.com/v4/swagger/v1/swagger.json -g go -o . --package-name=uptrends -p enumClassPrefix=true`

## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

Expand Down
142 changes: 71 additions & 71 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12986,8 +12986,12 @@ components:
Hash:
description: Hash corresponding with this monitor.
type: string
SelfServiceTransactionScript:
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:
Expand Down Expand Up @@ -13039,18 +13043,14 @@ components:
items:
$ref: '#/components/schemas/CustomMetric'
type: array
SelfServiceTransactionScript:
type: string
Password:
type: string
NameForPhoneAlerts:
type: string
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:
Expand Down Expand Up @@ -13239,6 +13239,69 @@ components:
- 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
Expand Down Expand Up @@ -13755,69 +13818,6 @@ 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:
Expand Down
78 changes: 39 additions & 39 deletions docs/Monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**MonitorMode** | Pointer to [**MonitorMode**](MonitorMode.md) | | [optional]
**Notes** | Pointer to **string** | | [optional]
**Hash** | Pointer to **string** | Hash corresponding with this monitor. | [optional]
**SelfServiceTransactionScript** | Pointer to **string** | | [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]
**BlockGoogleAnalytics** | Pointer to **bool** | | [optional]
**BlockUrls** | Pointer to **[]string** | | [optional]
Expand All @@ -36,10 +36,10 @@ Name | Type | Description | Notes
**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]
**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]
Expand Down Expand Up @@ -428,30 +428,30 @@ SetHash sets Hash field to given value.

HasHash returns a boolean if a field has been set.

### GetSelfServiceTransactionScript
### GetTransactionStepDefinition

`func (o *Monitor) GetSelfServiceTransactionScript() string`
`func (o *Monitor) GetTransactionStepDefinition() TransactionStepDefinition`

GetSelfServiceTransactionScript returns the SelfServiceTransactionScript field if non-nil, zero value otherwise.
GetTransactionStepDefinition returns the TransactionStepDefinition field if non-nil, zero value otherwise.

### GetSelfServiceTransactionScriptOk
### GetTransactionStepDefinitionOk

`func (o *Monitor) GetSelfServiceTransactionScriptOk() (*string, bool)`
`func (o *Monitor) GetTransactionStepDefinitionOk() (*TransactionStepDefinition, bool)`

GetSelfServiceTransactionScriptOk returns a tuple with the SelfServiceTransactionScript field if it's non-nil, zero value otherwise
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.

### SetSelfServiceTransactionScript
### SetTransactionStepDefinition

`func (o *Monitor) SetSelfServiceTransactionScript(v string)`
`func (o *Monitor) SetTransactionStepDefinition(v TransactionStepDefinition)`

SetSelfServiceTransactionScript sets SelfServiceTransactionScript field to given value.
SetTransactionStepDefinition sets TransactionStepDefinition field to given value.

### HasSelfServiceTransactionScript
### HasTransactionStepDefinition

`func (o *Monitor) HasSelfServiceTransactionScript() bool`
`func (o *Monitor) HasTransactionStepDefinition() bool`

HasSelfServiceTransactionScript returns a boolean if a field has been set.
HasTransactionStepDefinition returns a boolean if a field has been set.

### GetBlockUptrendsRum

Expand Down Expand Up @@ -903,6 +903,31 @@ SetCustomMetrics sets CustomMetrics field to given value.

HasCustomMetrics returns a boolean if a field has been set.

### GetSelfServiceTransactionScript

`func (o *Monitor) GetSelfServiceTransactionScript() string`

GetSelfServiceTransactionScript returns the SelfServiceTransactionScript field if non-nil, zero value otherwise.

### GetSelfServiceTransactionScriptOk

`func (o *Monitor) GetSelfServiceTransactionScriptOk() (*string, bool)`

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.

### SetSelfServiceTransactionScript

`func (o *Monitor) SetSelfServiceTransactionScript(v string)`

SetSelfServiceTransactionScript sets SelfServiceTransactionScript field to given value.

### HasSelfServiceTransactionScript

`func (o *Monitor) HasSelfServiceTransactionScript() bool`

HasSelfServiceTransactionScript returns a boolean if a field has been set.

### GetPassword

`func (o *Monitor) GetPassword() string`
Expand Down Expand Up @@ -978,31 +1003,6 @@ 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`
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ go 1.16

require (
github.com/golang/protobuf v1.5.2 // indirect
golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985 // indirect
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect
golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.27.1 // indirect
)
Loading

0 comments on commit f2f0324

Please sign in to comment.