diff --git a/.sdk-version b/.sdk-version index ee92a31..051b3df 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v3.116.5 +v3.118.0 diff --git a/docs/AnalysisScope.md b/docs/AnalysisScope.md index 124ac85..f621f46 100644 --- a/docs/AnalysisScope.md +++ b/docs/AnalysisScope.md @@ -7,6 +7,8 @@ * `PUBLIC` (value: `"PUBLIC"`) +* `TEAM` (value: `"TEAM"`) + * `UNKNOWN_DEFAULT_OPEN_API` (value: `"11184809"`) diff --git a/docs/AnalysisUpdateRequest.md b/docs/AnalysisUpdateRequest.md index 8846e5e..242a3b4 100644 --- a/docs/AnalysisUpdateRequest.md +++ b/docs/AnalysisUpdateRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BinaryName** | Pointer to **NullableString** | | [optional] -**AnalysisScope** | Pointer to **NullableString** | | [optional] +**AnalysisScope** | Pointer to [**NullableAnalysisScope**](AnalysisScope.md) | | [optional] ## Methods @@ -63,20 +63,20 @@ HasBinaryName returns a boolean if a field has been set. UnsetBinaryName ensures that no value is present for BinaryName, not even an explicit nil ### GetAnalysisScope -`func (o *AnalysisUpdateRequest) GetAnalysisScope() string` +`func (o *AnalysisUpdateRequest) GetAnalysisScope() AnalysisScope` GetAnalysisScope returns the AnalysisScope field if non-nil, zero value otherwise. ### GetAnalysisScopeOk -`func (o *AnalysisUpdateRequest) GetAnalysisScopeOk() (*string, bool)` +`func (o *AnalysisUpdateRequest) GetAnalysisScopeOk() (*AnalysisScope, bool)` GetAnalysisScopeOk returns a tuple with the AnalysisScope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAnalysisScope -`func (o *AnalysisUpdateRequest) SetAnalysisScope(v string)` +`func (o *AnalysisUpdateRequest) SetAnalysisScope(v AnalysisScope)` SetAnalysisScope sets AnalysisScope field to given value. diff --git a/v3/client.go b/v3/client.go index 24dce23..f99e7f4 100644 --- a/v3/client.go +++ b/v3/client.go @@ -40,7 +40,7 @@ var ( queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) ) -// APIClient manages communication with the RevEng.AI API API vv3.116.5 +// APIClient manages communication with the RevEng.AI API API vv3.118.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/v3/configuration.go b/v3/configuration.go index 52edd9d..0534f8f 100644 --- a/v3/configuration.go +++ b/v3/configuration.go @@ -91,7 +91,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/v3.116.5/go", + UserAgent: "OpenAPI-Generator/v3.118.0/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/v3/model_analysis_scope.go b/v3/model_analysis_scope.go index 8a38748..6be63d9 100644 --- a/v3/model_analysis_scope.go +++ b/v3/model_analysis_scope.go @@ -21,6 +21,7 @@ type AnalysisScope string const ( ANALYSISSCOPE_PRIVATE AnalysisScope = "PRIVATE" ANALYSISSCOPE_PUBLIC AnalysisScope = "PUBLIC" + ANALYSISSCOPE_TEAM AnalysisScope = "TEAM" ANALYSISSCOPE_UNKNOWN_DEFAULT_OPEN_API AnalysisScope = "11184809" ) @@ -28,6 +29,7 @@ const ( var AllowedAnalysisScopeEnumValues = []AnalysisScope{ "PRIVATE", "PUBLIC", + "TEAM", "11184809", } diff --git a/v3/model_analysis_update_request.go b/v3/model_analysis_update_request.go index 8580444..5998d2b 100644 --- a/v3/model_analysis_update_request.go +++ b/v3/model_analysis_update_request.go @@ -19,7 +19,7 @@ var _ MappedNullable = &AnalysisUpdateRequest{} // AnalysisUpdateRequest struct for AnalysisUpdateRequest type AnalysisUpdateRequest struct { BinaryName NullableString `json:"binary_name,omitempty"` - AnalysisScope NullableString `json:"analysis_scope,omitempty"` + AnalysisScope NullableAnalysisScope `json:"analysis_scope,omitempty"` AdditionalProperties map[string]interface{} } @@ -85,9 +85,9 @@ func (o *AnalysisUpdateRequest) UnsetBinaryName() { } // GetAnalysisScope returns the AnalysisScope field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnalysisUpdateRequest) GetAnalysisScope() string { +func (o *AnalysisUpdateRequest) GetAnalysisScope() AnalysisScope { if o == nil || IsNil(o.AnalysisScope.Get()) { - var ret string + var ret AnalysisScope return ret } return *o.AnalysisScope.Get() @@ -96,7 +96,7 @@ func (o *AnalysisUpdateRequest) GetAnalysisScope() string { // GetAnalysisScopeOk returns a tuple with the AnalysisScope field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnalysisUpdateRequest) GetAnalysisScopeOk() (*string, bool) { +func (o *AnalysisUpdateRequest) GetAnalysisScopeOk() (*AnalysisScope, bool) { if o == nil { return nil, false } @@ -112,8 +112,8 @@ func (o *AnalysisUpdateRequest) HasAnalysisScope() bool { return false } -// SetAnalysisScope gets a reference to the given NullableString and assigns it to the AnalysisScope field. -func (o *AnalysisUpdateRequest) SetAnalysisScope(v string) { +// SetAnalysisScope gets a reference to the given NullableAnalysisScope and assigns it to the AnalysisScope field. +func (o *AnalysisUpdateRequest) SetAnalysisScope(v AnalysisScope) { o.AnalysisScope.Set(&v) } // SetAnalysisScopeNil sets the value for AnalysisScope to be an explicit nil