diff --git a/.github/workflows/build_pr.yaml b/.github/workflows/build_pr.yaml index be8ca24a3..1278da647 100644 --- a/.github/workflows/build_pr.yaml +++ b/.github/workflows/build_pr.yaml @@ -27,7 +27,7 @@ jobs: repository: sailpoint-oss/api-specs path: api-specs ref: main - + - name: Set up Node uses: actions/setup-node@v3 with: @@ -43,7 +43,7 @@ jobs: if: steps.prescript.outcome == 'success' run: | rm -rf ./api_v3 - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v3.yaml -g go -o api_v3 --global-property skipFormModel=false --config sdk-resources/v3-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss + java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v3.yaml -g go -o api_v3 --global-property skipFormModel=false --config sdk-resources/v3-config.yaml node sdk-resources/postscript.js ./api_v3 - name: Build Beta SDK @@ -51,28 +51,12 @@ jobs: if: steps.buildV3.outcome == 'success' run: | rm -rf ./api_beta - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g go -o api_beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss + java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g go -o api_beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml node sdk-resources/postscript.js ./api_beta - - name: Build V2 SDK - id: buildV2 - if: steps.buildBeta.outcome == 'success' - run: | - rm -rf ./api_v2 - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2.yaml -g go -o api_v2 --global-property skipFormModel=false --config sdk-resources/v2-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss - node sdk-resources/postscript.js ./api_v2 - - - name: Build CC SDK - id: buildCC - if: steps.buildV2.outcome == 'success' - run: | - rm -rf ./api_cc - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.cc.yaml -g go -o api_cc --global-property skipFormModel=false --config sdk-resources/cc-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss - node sdk-resources/postscript.js ./api_cc - - name: After SDK Build - if: steps.buildCC.outcome == 'success' + if: steps.buildBeta.outcome == 'success' run: | go get -d ./... go install - go test \ No newline at end of file + go test diff --git a/.github/workflows/bump_version.yaml b/.github/workflows/bump_version.yaml index 3db0ab7c4..ebe9bb087 100644 --- a/.github/workflows/bump_version.yaml +++ b/.github/workflows/bump_version.yaml @@ -58,8 +58,7 @@ jobs: - name: Update config files with new version id: updateVersion run: | - yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/cc-config.yaml - yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v2-config.yaml + yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/beta-config.yaml yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v3-config.yaml @@ -73,7 +72,7 @@ jobs: if: steps.updateVersion.outcome == 'success' run: | rm -rf ./api_v3 - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v3.yaml -g go -o api_v3 --global-property skipFormModel=false --config sdk-resources/v3-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss + java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v3.yaml -g go -o api_v3 --global-property skipFormModel=false --config sdk-resources/v3-config.yaml node sdk-resources/postscript.js ./api_v3 - name: Build Beta SDK @@ -81,28 +80,12 @@ jobs: if: steps.buildV3.outcome == 'success' run: | rm -rf ./api_beta - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g go -o api_beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss + java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g go -o api_beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml node sdk-resources/postscript.js ./api_beta - - name: Build V2 SDK - id: buildV2 - if: steps.buildBeta.outcome == 'success' - run: | - rm -rf ./api_v2 - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2.yaml -g go -o api_v2 --global-property skipFormModel=false --config sdk-resources/v2-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss - node sdk-resources/postscript.js ./api_v2 - - - name: Build CC SDK - id: buildCC - if: steps.buildV2.outcome == 'success' - run: | - rm -rf ./api_cc - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.cc.yaml -g go -o api_cc --global-property skipFormModel=false --config sdk-resources/cc-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss - node sdk-resources/postscript.js ./api_cc - - name: After SDK Build id: buildSDK - if: steps.buildCC.outcome == 'success' + if: steps.buildBeta.outcome == 'success' run: | go get -d ./... go install diff --git a/Makefile b/Makefile index a7dfd166d..ea108ad68 100644 --- a/Makefile +++ b/Makefile @@ -9,19 +9,14 @@ clean-specs: .PHONY: build build: node sdk-resources/prescript.js api-specs/ - rm -rf ./v3 - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v3.yaml -g go -o v3 --global-property skipFormModel=false --global-property apiTests=false --config sdk-resources/v3-config.yaml - node sdk-resources/postscript.js ./v3 - rm -rf ./beta - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g go -o beta --global-property skipFormModel=false --global-property apiTests=false --config sdk-resources/beta-config.yaml - node sdk-resources/postscript.js ./beta - rm -rf ./v2 - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2.yaml -g go -o v2 --global-property skipFormModel=false --global-property apiTests=false --config sdk-resources/v2-config.yaml - node sdk-resources/postscript.js ./v2 - rm -rf ./cc - java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.cc.yaml -g go -o cc --global-property skipFormModel=false --global-property apiTests=false --config sdk-resources/cc-config.yaml - node sdk-resources/postscript.js ./cc + rm -rf ./api_v3 + java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v3.yaml -g go -o api_v3 --global-property skipFormModel=false --config sdk-resources/v3-config.yaml + node sdk-resources/postscript.js ./api_v3 + rm -rf ./api_beta + java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g go -o api_beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml + node sdk-resources/postscript.js ./api_beta +.PHONY: test test: go get -d ./... go install diff --git a/api_cc/.gitignore b/api_cc/.gitignore deleted file mode 100644 index daf913b1b..000000000 --- a/api_cc/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so - -# Folders -_obj -_test - -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out - -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* - -_testmain.go - -*.exe -*.test -*.prof diff --git a/api_cc/.openapi-generator-ignore b/api_cc/.openapi-generator-ignore deleted file mode 100644 index 7484ee590..000000000 --- a/api_cc/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/api_cc/.openapi-generator/FILES b/api_cc/.openapi-generator/FILES deleted file mode 100644 index b83acbab5..000000000 --- a/api_cc/.openapi-generator/FILES +++ /dev/null @@ -1,75 +0,0 @@ -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -api/openapi.yaml -api_accounts.go -api_applications.go -api_connectors.go -api_sources_accounts.go -api_sources_aggregation.go -api_system.go -api_user.go -client.go -configuration.go -docs/AccountsAPI.md -docs/ApplicationsAPI.md -docs/ConnectorsAPI.md -docs/CreateApplicationRequest.md -docs/CreateConnectorRequest.md -docs/GetApplication200Response.md -docs/GetIdentity200Response.md -docs/GetIdentity200ResponseAuth.md -docs/GetIdentity200ResponseOrg.md -docs/ImportConnectorConfigRequest.md -docs/ListAccounts200ResponseInner.md -docs/ListAccounts200ResponseInnerPasswordChangeResult.md -docs/ListApplications200ResponseInner.md -docs/ListApplications200ResponseInnerAccountServicePoliciesInner.md -docs/ListApplications200ResponseInnerAppProfilesInner.md -docs/ListApplications200ResponseInnerHealth.md -docs/ListApplications200ResponseInnerOwner.md -docs/ListConnectors200Response.md -docs/ListConnectors200ResponseItemsInner.md -docs/LoadAccountsRequest.md -docs/LoadEntitlementsRequest.md -docs/RefreshIdentitiesRequest.md -docs/RefreshIdentitiesRequestRefreshArgs.md -docs/SourcesAccountsAPI.md -docs/SourcesAggregationAPI.md -docs/SystemAPI.md -docs/UpdateUserPermissionsRequest.md -docs/UserAPI.md -git_push.sh -go.mod -go.sum -model_create_application_request.go -model_create_connector_request.go -model_get_application_200_response.go -model_get_identity_200_response.go -model_get_identity_200_response_auth.go -model_get_identity_200_response_org.go -model_import_connector_config_request.go -model_list_accounts_200_response_inner.go -model_list_accounts_200_response_inner_password_change_result.go -model_list_applications_200_response_inner.go -model_list_applications_200_response_inner_account_service_policies_inner.go -model_list_applications_200_response_inner_app_profiles_inner.go -model_list_applications_200_response_inner_health.go -model_list_applications_200_response_inner_owner.go -model_list_connectors_200_response.go -model_list_connectors_200_response_items_inner.go -model_load_accounts_request.go -model_load_entitlements_request.go -model_refresh_identities_request.go -model_refresh_identities_request_refresh_args.go -model_update_user_permissions_request.go -response.go -test/api_accounts_test.go -test/api_applications_test.go -test/api_connectors_test.go -test/api_sources_accounts_test.go -test/api_sources_aggregation_test.go -test/api_system_test.go -test/api_user_test.go -utils.go diff --git a/api_cc/.openapi-generator/VERSION b/api_cc/.openapi-generator/VERSION deleted file mode 100644 index 3769235d3..000000000 --- a/api_cc/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.1.0 \ No newline at end of file diff --git a/api_cc/.travis.yml b/api_cc/.travis.yml deleted file mode 100644 index f5cb2ce9a..000000000 --- a/api_cc/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: go - -install: - - go get -d -v . - -script: - - go build -v ./ - diff --git a/api_cc/README.md b/api_cc/README.md deleted file mode 100644 index 8f344bad4..000000000 --- a/api_cc/README.md +++ /dev/null @@ -1,209 +0,0 @@ -# Go API client for api_cc - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -## 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. - -- API version: 1.0.0 -- Package version: 2.0.1 -- Build package: org.openapitools.codegen.languages.GoClientCodegen - -## Installation - -Install the following dependencies: - -```shell -go get github.com/stretchr/testify/assert -go get golang.org/x/oauth2 -go get golang.org/x/net/context -``` - -Put the package under your project folder and add the following in import: - -```golang -import api_cc "github.com/sailpoint-oss/golang-sdk/v2" -``` - -To use a proxy, set the environment variable `HTTP_PROXY`: - -```golang -os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") -``` - -## Configuration of Server URL - -Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. - -### Select Server Configuration - -For using other server than the one defined on index 0 set context value `api_cc.ContextServerIndex` of type `int`. - -```golang -ctx := context.WithValue(context.Background(), api_cc.ContextServerIndex, 1) -``` - -### Templated Server URL - -Templated server URL is formatted using default variables from configuration or from context value `api_cc.ContextServerVariables` of type `map[string]string`. - -```golang -ctx := context.WithValue(context.Background(), api_cc.ContextServerVariables, map[string]string{ - "basePath": "v2", -}) -``` - -Note, enum values are always validated and all unused variables are silently ignored. - -### URLs Configuration per Operation - -Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. -An operation is uniquely identified by `"{classname}Service.{nickname}"` string. -Similar rules for overriding default operation server index and variables applies by using `api_cc.ContextOperationServerIndices` and `api_cc.ContextOperationServerVariables` context maps. - -```golang -ctx := context.WithValue(context.Background(), api_cc.ContextOperationServerIndices, map[string]int{ - "{classname}Service.{nickname}": 2, -}) -ctx = context.WithValue(context.Background(), api_cc.ContextOperationServerVariables, map[string]map[string]string{ - "{classname}Service.{nickname}": { - "port": "8443", - }, -}) -``` - -## Documentation for API Endpoints - -All URIs are relative to *https://sailpoint.api.identitynow.com* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*AccountsAPI* | [**ListAccounts**](docs/AccountsAPI.md#listaccounts) | **Get** /cc/api/account/list | List Accounts -*AccountsAPI* | [**RemoveAccount**](docs/AccountsAPI.md#removeaccount) | **Post** /cc/api/account/remove/{id} | Remove Account -*ApplicationsAPI* | [**CreateApplication**](docs/ApplicationsAPI.md#createapplication) | **Post** /cc/api/app/create | Create Application -*ApplicationsAPI* | [**DeleteApplication**](docs/ApplicationsAPI.md#deleteapplication) | **Post** /cc/api/app/delete/{id} | Delete Application -*ApplicationsAPI* | [**GetApplication**](docs/ApplicationsAPI.md#getapplication) | **Get** /cc/api/app/get/{id} | Get Single Application -*ApplicationsAPI* | [**GetApplicationAccessProfiles**](docs/ApplicationsAPI.md#getapplicationaccessprofiles) | **Get** /cc/api/app/getAccessProfiles/{id} | Get Access Profiles for Application -*ApplicationsAPI* | [**ListApplications**](docs/ApplicationsAPI.md#listapplications) | **Get** /cc/api/app/list | List Applications -*ApplicationsAPI* | [**UpdateApplication**](docs/ApplicationsAPI.md#updateapplication) | **Post** /cc/api/app/update/{id} | Update Application -*ConnectorsAPI* | [**CreateConnector**](docs/ConnectorsAPI.md#createconnector) | **Post** /cc/api/connector/create | Create Connector -*ConnectorsAPI* | [**DeleteConnector**](docs/ConnectorsAPI.md#deleteconnector) | **Post** /cc/api/connector/delete/{id} | Delete Connector -*ConnectorsAPI* | [**ExportConnectorConfig**](docs/ConnectorsAPI.md#exportconnectorconfig) | **Get** /cc/api/connector/export/{id} | Export Connector Config -*ConnectorsAPI* | [**ImportConnectorConfig**](docs/ConnectorsAPI.md#importconnectorconfig) | **Post** /cc/api/connector/import/{id} | Import Connector Config -*ConnectorsAPI* | [**ListConnectors**](docs/ConnectorsAPI.md#listconnectors) | **Get** /cc/api/connector/list | List Connectors -*SourcesAccountsAPI* | [**ExportAccountFeed**](docs/SourcesAccountsAPI.md#exportaccountfeed) | **Get** /cc/api/source/exportAccountFeed/{id} | Export Account Feed -*SourcesAggregationAPI* | [**LoadAccounts**](docs/SourcesAggregationAPI.md#loadaccounts) | **Post** /cc/api/source/loadAccounts/{id} | Account Aggregation (File) -*SourcesAggregationAPI* | [**LoadEntitlements**](docs/SourcesAggregationAPI.md#loadentitlements) | **Post** /cc/api/source/loadEntitlements/{id} | Account Aggregation (File) -*SystemAPI* | [**RefreshIdentities**](docs/SystemAPI.md#refreshidentities) | **Post** /cc/api/system/refreshIdentities | Refresh Identities -*UserAPI* | [**GetIdentity**](docs/UserAPI.md#getidentity) | **Get** /cc/api/user/get/{id} | Get Single Identity -*UserAPI* | [**UpdateUserPermissions**](docs/UserAPI.md#updateuserpermissions) | **Post** /cc/api/user/updatePermissions | Update User Permissions - - -## Documentation For Models - - - [CreateApplicationRequest](docs/CreateApplicationRequest.md) - - [CreateConnectorRequest](docs/CreateConnectorRequest.md) - - [GetApplication200Response](docs/GetApplication200Response.md) - - [GetIdentity200Response](docs/GetIdentity200Response.md) - - [GetIdentity200ResponseAuth](docs/GetIdentity200ResponseAuth.md) - - [GetIdentity200ResponseOrg](docs/GetIdentity200ResponseOrg.md) - - [ImportConnectorConfigRequest](docs/ImportConnectorConfigRequest.md) - - [ListAccounts200ResponseInner](docs/ListAccounts200ResponseInner.md) - - [ListAccounts200ResponseInnerPasswordChangeResult](docs/ListAccounts200ResponseInnerPasswordChangeResult.md) - - [ListApplications200ResponseInner](docs/ListApplications200ResponseInner.md) - - [ListApplications200ResponseInnerAccountServicePoliciesInner](docs/ListApplications200ResponseInnerAccountServicePoliciesInner.md) - - [ListApplications200ResponseInnerAppProfilesInner](docs/ListApplications200ResponseInnerAppProfilesInner.md) - - [ListApplications200ResponseInnerHealth](docs/ListApplications200ResponseInnerHealth.md) - - [ListApplications200ResponseInnerOwner](docs/ListApplications200ResponseInnerOwner.md) - - [ListConnectors200Response](docs/ListConnectors200Response.md) - - [ListConnectors200ResponseItemsInner](docs/ListConnectors200ResponseItemsInner.md) - - [LoadAccountsRequest](docs/LoadAccountsRequest.md) - - [LoadEntitlementsRequest](docs/LoadEntitlementsRequest.md) - - [RefreshIdentitiesRequest](docs/RefreshIdentitiesRequest.md) - - [RefreshIdentitiesRequestRefreshArgs](docs/RefreshIdentitiesRequestRefreshArgs.md) - - [UpdateUserPermissionsRequest](docs/UpdateUserPermissionsRequest.md) - - -## Documentation For Authorization - - -Authentication schemes defined for the API: -### UserContextAuth - - -- **Type**: OAuth -- **Flow**: application -- **Authorization URL**: -- **Scopes**: - - **sp:scopes:default**: default scope - - **sp:scopes:all**: access to all scopes - -Example - -```golang -auth := context.WithValue(context.Background(), api_cc.ContextAccessToken, "ACCESSTOKENSTRING") -r, err := client.Service.Operation(auth, args) -``` - -Or via OAuth2 module to automatically refresh tokens and perform user authentication. - -```golang -import "golang.org/x/oauth2" - -/* Perform OAuth2 round trip request and obtain a token */ - -tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token) -auth := context.WithValue(oauth2.NoContext, api_cc.ContextOAuth2, tokenSource) -r, err := client.Service.Operation(auth, args) -``` - -### UserContextAuth - - -- **Type**: OAuth -- **Flow**: accessCode -- **Authorization URL**: https://tenant.login.sailpoint.com/oauth/authorize -- **Scopes**: - - **sp:scopes:default**: default scope - - **sp:scopes:all**: access to all scopes - -Example - -```golang -auth := context.WithValue(context.Background(), api_cc.ContextAccessToken, "ACCESSTOKENSTRING") -r, err := client.Service.Operation(auth, args) -``` - -Or via OAuth2 module to automatically refresh tokens and perform user authentication. - -```golang -import "golang.org/x/oauth2" - -/* Perform OAuth2 round trip request and obtain a token */ - -tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token) -auth := context.WithValue(oauth2.NoContext, api_cc.ContextOAuth2, tokenSource) -r, err := client.Service.Operation(auth, args) -``` - - -## Documentation for Utility Methods - -Due to the fact that model structure members are all pointers, this package contains -a number of utility functions to easily obtain pointers to values of basic types. -Each of these functions takes a value of the given basic type and returns a pointer to it: - -* `PtrBool` -* `PtrInt` -* `PtrInt32` -* `PtrInt64` -* `PtrFloat` -* `PtrFloat32` -* `PtrFloat64` -* `PtrString` -* `PtrTime` - -## Author - - - diff --git a/api_cc/api/openapi.yaml b/api_cc/api/openapi.yaml deleted file mode 100644 index 302598971..000000000 --- a/api_cc/api/openapi.yaml +++ /dev/null @@ -1,1633 +0,0 @@ -openapi: 3.0.0 -info: - title: IdentityNow cc (private) APIs - version: 1.0.0 -servers: -- description: This is the production API server. - url: "https://{tenant}.api.identitynow.com" - variables: - tenant: - default: sailpoint - description: "This is the name of your tenant, typically your company's name." -- description: This is the CC API server. - url: "https://{apiUrl}" - variables: - apiUrl: - default: sailpoint.api.identitynow.com - description: This is the api url of your tenant -tags: -- name: Accounts -- name: Applications -- name: Connectors -- name: User -- name: Sources > Aggregation -- name: Sources > Accounts -- name: System -paths: - /cc/api/account/list: - get: - operationId: listAccounts - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/listAccounts_200_response_inner' - type: array - description: Successful response - security: - - UserContextAuth: [] - summary: List Accounts - tags: - - Accounts - /cc/api/account/remove/{id}: - post: - operationId: removeAccount - parameters: - - example: 12345 - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: {} - description: Successful response - security: - - UserContextAuth: [] - summary: Remove Account - tags: - - Accounts - /cc/api/app/list: - get: - operationId: listApplications - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/listApplications_200_response_inner' - type: array - description: Successful response - security: - - UserContextAuth: [] - summary: List Applications - tags: - - Applications - /cc/api/app/get/{id}: - get: - operationId: GetApplication - parameters: - - example: 12345 - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetApplication_200_response' - description: Successful response - security: - - UserContextAuth: [] - summary: Get Single Application - tags: - - Applications - /cc/api/app/getAccessProfiles/{id}: - get: - operationId: GetApplicationAccessProfiles - parameters: - - example: 12345 - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - additionalProperties: true - type: object - description: Successful response - summary: Get Access Profiles for Application - tags: - - Applications - /cc/api/app/create: - post: - operationId: CreateApplication - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CreateApplication_request' - responses: - "200": - content: - application/json: - schema: - additionalProperties: true - type: object - description: Successful response - security: - - UserContextAuth: [] - summary: Create Application - tags: - - Applications - /cc/api/app/update/{id}: - post: - operationId: UpdateApplication - parameters: - - example: 12345 - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - additionalProperties: true - type: object - responses: - "200": - content: - application/json: - schema: - additionalProperties: true - type: object - description: Successful response - security: - - UserContextAuth: [] - summary: Update Application - tags: - - Applications - /cc/api/app/delete/{id}: - post: - operationId: DeleteApplication - parameters: - - example: 12345 - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: {} - description: Successful response - security: - - UserContextAuth: [] - summary: Delete Application - tags: - - Applications - /cc/api/connector/list: - get: - operationId: listConnectors - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/listConnectors_200_response' - description: Successful response - security: - - UserContextAuth: [] - summary: List Connectors - tags: - - Connectors - /cc/api/connector/create: - post: - operationId: createConnector - parameters: - - example: application/x-www-form-urlencoded - explode: false - in: header - name: Content-Type - required: false - schema: - type: string - style: simple - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/createConnector_request' - responses: - "200": - content: - application/json: {} - description: Successful response - security: - - UserContextAuth: [] - summary: Create Connector - tags: - - Connectors - /cc/api/connector/delete/{id}: - post: - operationId: deleteConnector - parameters: - - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: {} - description: Successful response - security: - - UserContextAuth: [] - summary: Delete Connector - tags: - - Connectors - /cc/api/connector/export/{id}: - get: - operationId: exportConnectorConfig - parameters: - - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: {} - description: Successful response - security: - - UserContextAuth: [] - summary: Export Connector Config - tags: - - Connectors - /cc/api/connector/import/{id}: - post: - operationId: importConnectorConfig - parameters: - - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - requestBody: - content: - multipart/form-data: - schema: - $ref: '#/components/schemas/importConnectorConfig_request' - responses: - "200": - content: - application/json: {} - description: Successful response - security: - - UserContextAuth: [] - summary: Import Connector Config - tags: - - Connectors - /cc/api/user/updatePermissions: - post: - operationId: updateUserPermissions - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/updateUserPermissions_request' - responses: - "200": - content: - application/json: {} - description: Successful response - security: - - UserContextAuth: [] - summary: Update User Permissions - tags: - - User - /cc/api/user/get/{id}: - get: - operationId: GetIdentity - parameters: - - example: 5433236 - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetIdentity_200_response' - description: Successful response - security: - - UserContextAuth: [] - summary: Get Single Identity - tags: - - User - /cc/api/source/loadAccounts/{id}: - post: - description: Aggregates a delimited file for the given source. This only works - for file-based sources. - operationId: loadAccounts - parameters: - - example: application/x-www-form-urlencoded - explode: false - in: header - name: Content-Type - required: false - schema: - type: string - style: simple - - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - requestBody: - content: - multipart/form-data: - schema: - $ref: '#/components/schemas/loadAccounts_request' - responses: - "200": - content: - application/json: - schema: - additionalProperties: true - type: object - description: Successful response - security: - - UserContextAuth: [] - summary: Account Aggregation (File) - tags: - - Sources > Aggregation - /cc/api/source/loadEntitlements/{id}: - post: - description: Aggregates a delimited file for the given source. This only works - for file-based sources. - operationId: loadEntitlements - parameters: - - example: application/x-www-form-urlencoded - explode: false - in: header - name: Content-Type - required: false - schema: - type: string - style: simple - - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - requestBody: - content: - multipart/form-data: - schema: - $ref: '#/components/schemas/loadEntitlements_request' - responses: - "200": - content: - application/json: - schema: - additionalProperties: true - type: object - description: Successful response - security: - - UserContextAuth: [] - summary: Account Aggregation (File) - tags: - - Sources > Aggregation - /cc/api/source/exportAccountFeed/{id}: - get: - description: Exports a CSV of the accounts for a particular source. - operationId: exportAccountFeed - parameters: - - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: {} - description: Successful response - security: - - UserContextAuth: [] - summary: Export Account Feed - tags: - - Sources > Accounts - /cc/api/system/refreshIdentities: - post: - description: |- - This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. - - _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ - - Refresh Arguments: - - | Key | Description | - |-----------------------|----------------------------------------------------| - | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | - | promoteAttributes | Calculates identity attributes. | - | refreshManagerStatus | Calculates manager correlation and manager status. | - | synchronizeAttributes | Performs attribute sync provisioning. | - | pruneIdentities | Removes any identities which don't have accounts. | - | provision | Provisions any assigned roles or access profiles. | - operationId: refreshIdentities - parameters: - - example: application/json - explode: false - in: header - name: Content-Type - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/refreshIdentities_request' - responses: - "200": - content: - application/json: - schema: - additionalProperties: true - type: object - description: Successful response - security: - - UserContextAuth: [] - summary: Refresh Identities - tags: - - System -components: - schemas: - GetIdentity_200_response_org: - example: - standardLogoUrl: "{}" - enableExternalPasswordChange: true - emailTestAddress: emailTestAddress - kbaReqAnswers: 2.3021358869347655 - adminStrongAuthRequired: true - productName: productName - mode: mode - orgType: orgType - pwdResetPersonalEmail: true - logo: "{}" - pwdResetEmail: true - navigationColor: navigationColor - redirectPatterns: redirectPatterns - pwdResetKba: true - strongAuthPersonalPhone: true - brandName: brandName - kbaReqForAuthn: 5.637376656633329 - usernameEmptyText: "{}" - strongAuthPersonalEmail: true - usernameLabel: "{}" - lockoutAttemptThreshold: 7.061401241503109 - numQuestions: 1.4658129805029452 - strongAuthKba: true - usageCertRequired: true - name: name - scriptName: scriptName - whiteList: true - notifyAuthenticationSettingChange: true - netmasks: "{}" - systemNotificationConfig: systemNotificationConfig - integrations: - - "{}" - - "{}" - lockoutTimeMinutes: 9.301444243932576 - status: status - activeLinkColor: activeLinkColor - pod: pod - narrowLogoUrl: "{}" - emailFromAddress: "{}" - emailTestMode: true - pwdResetPersonalPhone: true - pwdResetDuo: true - enableAutomationGeneration: true - authErrorText: "{}" - enablePasswordReplay: true - pwdResetPhoneMask: true - enableAutomaticPasswordReplay: true - countryCodes: "{}" - actionButtonColor: actionButtonColor - maxClusterDebugHours: maxClusterDebugHours - passwordReplayState: passwordReplayState - maxRegisteredUsers: 5.962133916683182 - properties: - name: - type: string - scriptName: - type: string - mode: - type: string - numQuestions: - type: number - status: - type: string - maxRegisteredUsers: - type: number - pod: - type: string - pwdResetPersonalPhone: - type: boolean - pwdResetPersonalEmail: - type: boolean - pwdResetKba: - type: boolean - pwdResetEmail: - type: boolean - pwdResetDuo: - type: boolean - pwdResetPhoneMask: - type: boolean - authErrorText: - type: object - strongAuthKba: - type: boolean - strongAuthPersonalPhone: - type: boolean - strongAuthPersonalEmail: - type: boolean - integrations: - items: - type: object - type: array - productName: - type: string - kbaReqForAuthn: - type: number - kbaReqAnswers: - type: number - lockoutAttemptThreshold: - type: number - lockoutTimeMinutes: - type: number - usageCertRequired: - type: boolean - adminStrongAuthRequired: - type: boolean - enableExternalPasswordChange: - type: boolean - enablePasswordReplay: - type: boolean - enableAutomaticPasswordReplay: - type: boolean - notifyAuthenticationSettingChange: - type: boolean - netmasks: - type: object - countryCodes: - type: object - whiteList: - type: boolean - usernameEmptyText: - type: object - usernameLabel: - type: object - enableAutomationGeneration: - type: boolean - emailTestMode: - type: boolean - emailTestAddress: - type: string - orgType: - type: string - passwordReplayState: - type: string - systemNotificationConfig: - type: string - redirectPatterns: - type: string - maxClusterDebugHours: - type: string - brandName: - type: string - logo: - type: object - emailFromAddress: - type: object - standardLogoUrl: - type: object - narrowLogoUrl: - type: object - actionButtonColor: - type: string - activeLinkColor: - type: string - navigationColor: - type: string - type: object - loadAccounts_request: - properties: - disableOptimization: - example: true - type: boolean - file: - format: binary - type: string - type: object - listAccounts_200_response_inner_passwordChangeResult: - example: - completionStatus: SUCCESS - properties: - completionStatus: - example: SUCCESS - type: string - type: object - createConnector_request: - properties: - name: - example: My Connector - type: string - description: - example: My Connector - type: string - className: - example: sailpoint.connector.OpenConnectorAdapter - type: string - directConnect: - example: true - type: boolean - status: - example: released - type: string - type: object - listApplications_200_response_inner_accountServicePolicies_inner: - example: - policyId: policyId - policyName: policyName - selectors: "{}" - properties: - policyId: - type: string - policyName: - type: string - selectors: - type: object - type: object - GetApplication_200_response: - example: - xsdVersion: xsdVersion - usageCertText: "{}" - lastUpdated: 6.027456183070403 - launcherCount: 5.637376656633329 - supportedSsoMethods: 1.4658129805029452 - appId: appId - stepUpAuthType: stepUpAuthType - id: id - provisionRequestEnabled: true - launchpadEnabled: true - selectedSsoMethod: selectedSsoMethod - offNetworkBlockedRoles: "{}" - accountServicePolicies: - - policyId: policyId - policyName: policyName - selectors: "{}" - - policyId: policyId - policyName: policyName - selectors: "{}" - serviceAppId: serviceAppId - stepUpAuthData: "{}" - usageCertRequired: true - privateApp: true - ssoMethod: ssoMethod - hasAutomations: true - name: name - scriptName: scriptName - accountServiceMatchAllAccounts: true - status: status - accountServicePolicyId: accountServicePolicyId - supportedOffNetwork: supportedOffNetwork - icon: icon - description: description - passwordServiceId: 2.3021358869347655 - passwordManaged: true - accountServiceId: 5.962133916683182 - appCenterEnabled: true - accountServiceName: accountServiceName - defaultAccessProfile: "{}" - dateCreated: 0.8008281904610115 - enableSso: true - requireStrongAuthn: true - serviceId: serviceId - accountServicePolicyName: accountServicePolicyName - owner: - name: name - id: id - accessProfileIds: "{}" - mobile: true - health: - healthy: true - lastChanged: lastChanged - status: status - since: 0.8008281904610115 - externalId: externalId - usageAnalytics: true - hasLinks: true - controlType: controlType - service: service - accountServiceUseForPasswordManagement: true - accountServiceExternalId: accountServiceExternalId - appProfiles: - - xsdVersion: xsdVersion - filename: filename - dateCreated: dateCreated - createdBy: createdBy - id: 7.061401241503109 - - xsdVersion: xsdVersion - filename: filename - dateCreated: dateCreated - createdBy: createdBy - id: 7.061401241503109 - properties: - id: - type: string - appId: - type: string - serviceId: - type: string - serviceAppId: - type: string - name: - type: string - description: - type: string - appCenterEnabled: - type: boolean - provisionRequestEnabled: - type: boolean - controlType: - type: string - mobile: - type: boolean - privateApp: - type: boolean - scriptName: - type: string - status: - type: string - icon: - type: string - health: - $ref: '#/components/schemas/listApplications_200_response_inner_health' - enableSso: - type: boolean - ssoMethod: - type: string - hasLinks: - type: boolean - hasAutomations: - type: boolean - stepUpAuthData: - type: object - stepUpAuthType: - type: string - usageAnalytics: - type: boolean - usageCertRequired: - type: boolean - usageCertText: - type: object - launchpadEnabled: - type: boolean - passwordManaged: - type: boolean - owner: - $ref: '#/components/schemas/listApplications_200_response_inner_owner' - dateCreated: - type: number - lastUpdated: - type: number - defaultAccessProfile: - type: object - service: - type: string - selectedSsoMethod: - type: string - supportedSsoMethods: - type: number - offNetworkBlockedRoles: - type: object - supportedOffNetwork: - type: string - accountServiceId: - type: number - launcherCount: - type: number - accountServiceName: - type: string - accountServiceExternalId: - type: string - accountServiceMatchAllAccounts: - type: boolean - externalId: - type: string - accountServiceUseForPasswordManagement: - type: boolean - accountServicePolicyId: - type: string - accountServicePolicyName: - type: string - requireStrongAuthn: - type: boolean - accountServicePolicies: - items: - $ref: '#/components/schemas/listApplications_200_response_inner_accountServicePolicies_inner' - type: array - xsdVersion: - type: string - appProfiles: - items: - $ref: '#/components/schemas/listApplications_200_response_inner_appProfiles_inner' - type: array - passwordServiceId: - type: number - accessProfileIds: - type: object - type: object - updateUserPermissions_request: - properties: - ids: - example: "71624,71625" - type: string - isAdmin: - description: "Indicates if user should be an IDN Admin. \"0\" for false,\ - \ \"1\" for true." - example: "1" - type: string - adminType: - enum: - - ADMIN - - CERT_ADMIN - - HELPDESK - - REPORT_ADMIN - - ROLE_ADMIN - - ROLE_SUBADMIN - - SOURCE_ADMIN - - SOURCE_SUBADMIN - type: string - type: object - listApplications_200_response_inner_health: - example: - healthy: true - lastChanged: lastChanged - status: status - since: 0.8008281904610115 - properties: - status: - type: string - lastChanged: - type: string - since: - type: number - healthy: - type: boolean - type: object - listConnectors_200_response_items_inner: - example: - applicationXml: applicationXml - uploadedFiles: [] - translationProperties: "{}" - directConnect: true - className: className - fileUpload: true - type: ACF2 - Full - sourceConfigFrom: sourceConfigFrom - sourceConfig: sourceConfig - scope: global - correlationConfigXml: correlationConfigXml - name: ACF2 - sourceConfigXml: sourceConfigXml - scriptName: acf2-angularsc - id: 8017 - s3Location: s3Location - connectorMetadata: "{}" - status: RELEASED - properties: - applicationXml: - nullable: true - type: string - className: - nullable: true - type: string - connectorMetadata: - type: object - correlationConfigXml: - nullable: true - type: string - directConnect: - type: boolean - fileUpload: - type: boolean - id: - example: 8017 - format: int32 - type: integer - name: - example: ACF2 - type: string - s3Location: - nullable: true - type: string - scope: - example: global - type: string - scriptName: - example: acf2-angularsc - type: string - sourceConfig: - nullable: true - type: string - sourceConfigFrom: - nullable: true - type: string - sourceConfigXml: - nullable: true - type: string - status: - example: RELEASED - type: string - translationProperties: - type: object - type: - example: ACF2 - Full - type: string - uploadedFiles: - example: [] - items: - type: object - type: array - type: object - GetIdentity_200_response: - example: - role: - - "{}" - - "{}" - auth: - encryption: encryption - service: service - displayName: displayName - kbaAnswers: 0.8008281904610115 - pending: true - onNetwork: true - usageCertAttested: "{}" - encryptionKey: "{}" - uuid: uuid - enabled: true - personalEmail: "{}" - employeeNumber: "{}" - uid: uid - altAuthViaIntegrationData: "{}" - feature: - - feature - - feature - loginUrl: loginUrl - alias: alias - id: id - riskScore: 6.027456183070403 - email: email - disablePasswordReset: true - featureFlags: "{}" - encryptionCheck: "{}" - userFlags: "{}" - passwordResetSinceLastLogin: true - supportsPasswordPush: true - org: - standardLogoUrl: "{}" - enableExternalPasswordChange: true - emailTestAddress: emailTestAddress - kbaReqAnswers: 2.3021358869347655 - adminStrongAuthRequired: true - productName: productName - mode: mode - orgType: orgType - pwdResetPersonalEmail: true - logo: "{}" - pwdResetEmail: true - navigationColor: navigationColor - redirectPatterns: redirectPatterns - pwdResetKba: true - strongAuthPersonalPhone: true - brandName: brandName - kbaReqForAuthn: 5.637376656633329 - usernameEmptyText: "{}" - strongAuthPersonalEmail: true - usernameLabel: "{}" - lockoutAttemptThreshold: 7.061401241503109 - numQuestions: 1.4658129805029452 - strongAuthKba: true - usageCertRequired: true - name: name - scriptName: scriptName - whiteList: true - notifyAuthenticationSettingChange: true - netmasks: "{}" - systemNotificationConfig: systemNotificationConfig - integrations: - - "{}" - - "{}" - lockoutTimeMinutes: 9.301444243932576 - status: status - activeLinkColor: activeLinkColor - pod: pod - narrowLogoUrl: "{}" - emailFromAddress: "{}" - emailTestMode: true - pwdResetPersonalPhone: true - pwdResetDuo: true - enableAutomationGeneration: true - authErrorText: "{}" - enablePasswordReplay: true - pwdResetPhoneMask: true - enableAutomaticPasswordReplay: true - countryCodes: "{}" - actionButtonColor: actionButtonColor - maxClusterDebugHours: maxClusterDebugHours - passwordReplayState: passwordReplayState - maxRegisteredUsers: 5.962133916683182 - ptaSourceId: "{}" - externalId: externalId - stepUpAuth: true - orgEncryptionKeyId: orgEncryptionKeyId - bxInstallPrompted: true - federatedLogin: true - phone: "{}" - meta: "{}" - altAuthVia: altAuthVia - name: name - attributes: "{}" - onTrustedGeo: true - status: status - orgEncryptionKey: orgEncryptionKey - properties: - id: - type: string - alias: - type: string - uid: - type: string - name: - type: string - displayName: - type: string - uuid: - type: string - encryptionKey: - type: object - encryptionCheck: - type: object - status: - type: string - pending: - type: boolean - passwordResetSinceLastLogin: - type: boolean - usageCertAttested: - type: object - userFlags: - type: object - enabled: - type: boolean - altAuthVia: - type: string - altAuthViaIntegrationData: - type: object - kbaAnswers: - type: number - disablePasswordReset: - type: boolean - ptaSourceId: - type: object - supportsPasswordPush: - type: boolean - attributes: - type: object - externalId: - type: string - role: - items: - type: object - type: array - phone: - type: object - email: - type: string - personalEmail: - type: object - employeeNumber: - type: object - riskScore: - type: number - featureFlags: - type: object - feature: - items: - type: string - type: array - orgEncryptionKey: - type: string - orgEncryptionKeyId: - type: string - meta: - type: object - org: - $ref: '#/components/schemas/GetIdentity_200_response_org' - stepUpAuth: - type: boolean - bxInstallPrompted: - type: boolean - federatedLogin: - type: boolean - auth: - $ref: '#/components/schemas/GetIdentity_200_response_auth' - onNetwork: - type: boolean - onTrustedGeo: - type: boolean - loginUrl: - type: string - type: object - listApplications_200_response_inner: - example: - xsdVersion: xsdVersion - usageCertText: "{}" - lastUpdated: 1.4658129805029452 - launcherCount: 2.3021358869347655 - supportedSsoMethods: 5.962133916683182 - appId: appId - stepUpAuthType: stepUpAuthType - id: id - provisionRequestEnabled: true - launchpadEnabled: true - selectedSsoMethod: selectedSsoMethod - offNetworkBlockedRoles: "{}" - accountServicePolicies: - - policyId: policyId - policyName: policyName - selectors: "{}" - - policyId: policyId - policyName: policyName - selectors: "{}" - serviceAppId: serviceAppId - stepUpAuthData: "{}" - usageCertRequired: true - privateApp: true - ssoMethod: ssoMethod - hasAutomations: true - name: name - scriptName: scriptName - accountServiceMatchAllAccounts: true - status: status - accountServicePolicyId: accountServicePolicyId - supportedOffNetwork: supportedOffNetwork - icon: icon - description: description - passwordServiceId: 9.301444243932576 - passwordManaged: true - accountServiceId: 5.637376656633329 - appCenterEnabled: true - accountServiceName: accountServiceName - defaultAccessProfile: "{}" - dateCreated: 6.027456183070403 - enableSso: true - requireStrongAuthn: true - serviceId: serviceId - accountServicePolicyName: accountServicePolicyName - owner: - name: name - id: id - accessProfileIds: - - accessProfileIds - - accessProfileIds - mobile: true - health: - healthy: true - lastChanged: lastChanged - status: status - since: 0.8008281904610115 - externalId: externalId - usageAnalytics: true - hasLinks: true - controlType: controlType - service: service - accountServiceUseForPasswordManagement: true - accountServiceExternalId: accountServiceExternalId - appProfiles: - - xsdVersion: xsdVersion - filename: filename - dateCreated: dateCreated - createdBy: createdBy - id: 7.061401241503109 - - xsdVersion: xsdVersion - filename: filename - dateCreated: dateCreated - createdBy: createdBy - id: 7.061401241503109 - properties: - id: - type: string - appId: - type: string - serviceId: - type: string - serviceAppId: - type: string - name: - type: string - description: - type: string - appCenterEnabled: - type: boolean - provisionRequestEnabled: - type: boolean - controlType: - type: string - mobile: - type: boolean - privateApp: - type: boolean - scriptName: - type: string - status: - type: string - icon: - type: string - health: - $ref: '#/components/schemas/listApplications_200_response_inner_health' - enableSso: - type: boolean - ssoMethod: - type: string - hasLinks: - type: boolean - hasAutomations: - type: boolean - stepUpAuthData: - type: object - stepUpAuthType: - type: string - usageAnalytics: - type: boolean - usageCertRequired: - type: boolean - usageCertText: - type: object - launchpadEnabled: - type: boolean - passwordManaged: - type: boolean - owner: - $ref: '#/components/schemas/listApplications_200_response_inner_owner' - dateCreated: - type: number - lastUpdated: - type: number - defaultAccessProfile: - type: object - service: - type: string - selectedSsoMethod: - type: string - supportedSsoMethods: - type: number - offNetworkBlockedRoles: - type: object - supportedOffNetwork: - type: string - accountServiceId: - type: number - launcherCount: - type: number - accountServiceName: - type: string - accountServiceExternalId: - type: string - accountServiceMatchAllAccounts: - type: boolean - externalId: - type: string - accountServiceUseForPasswordManagement: - type: boolean - accountServicePolicyId: - type: string - accountServicePolicyName: - type: string - requireStrongAuthn: - type: boolean - accountServicePolicies: - items: - $ref: '#/components/schemas/listApplications_200_response_inner_accountServicePolicies_inner' - type: array - xsdVersion: - type: string - appProfiles: - items: - $ref: '#/components/schemas/listApplications_200_response_inner_appProfiles_inner' - type: array - passwordServiceId: - type: number - accessProfileIds: - items: - type: string - type: array - type: object - listApplications_200_response_inner_owner: - example: - name: name - id: id - properties: - id: - type: string - name: - type: string - type: object - importConnectorConfig_request: - properties: - file: - description: This is the connector config zip bundle which gets uploaded. - format: binary - type: string - type: object - listConnectors_200_response: - example: - total: 0.8008281904610115 - items: - - applicationXml: applicationXml - uploadedFiles: [] - translationProperties: "{}" - directConnect: true - className: className - fileUpload: true - type: ACF2 - Full - sourceConfigFrom: sourceConfigFrom - sourceConfig: sourceConfig - scope: global - correlationConfigXml: correlationConfigXml - name: ACF2 - sourceConfigXml: sourceConfigXml - scriptName: acf2-angularsc - id: 8017 - s3Location: s3Location - connectorMetadata: "{}" - status: RELEASED - - applicationXml: applicationXml - uploadedFiles: [] - translationProperties: "{}" - directConnect: true - className: className - fileUpload: true - type: ACF2 - Full - sourceConfigFrom: sourceConfigFrom - sourceConfig: sourceConfig - scope: global - correlationConfigXml: correlationConfigXml - name: ACF2 - sourceConfigXml: sourceConfigXml - scriptName: acf2-angularsc - id: 8017 - s3Location: s3Location - connectorMetadata: "{}" - status: RELEASED - properties: - total: - type: number - items: - items: - $ref: '#/components/schemas/listConnectors_200_response_items_inner' - type: array - type: object - GetIdentity_200_response_auth: - example: - encryption: encryption - service: service - properties: - service: - type: string - encryption: - type: string - type: object - CreateApplication_request: - properties: - name: - example: My App - type: string - description: - format: This is my application - type: string - type: object - refreshIdentities_request: - example: "\"{\\n \\\"filter\\\" : \\\"uid == \\\\\\\"1219028\\\\\\\"\\\",\\\ - n \\\"refreshArgs\\\" : {\\n \\\"correlateEntitlements\\\" : \\\"true\\\ - \",\\n \\\"promoteAttributes\\\" : \\\"true\\\",\\n \\\"refreshManagerStatus\\\ - \" : \\\"false\\\",\\n \\\"synchronizeAttributes\\\" : \\\"false\\\",\\\ - n \\\"pruneIdentities\\\" : \\\"false\\\",\\n \\\"provision\\\" :\ - \ \\\"true\\\"\\n }\\n}\"" - properties: - filter: - description: | - Defines the identity or identities which this refresh applies to. - The filter must use searchable identity attributes. - If the filter cannot be understood or parsed, all identities will be refreshed. - type: string - refreshArgs: - $ref: '#/components/schemas/refreshIdentities_request_refreshArgs' - type: object - listAccounts_200_response_inner: - example: - passwordProvided: true - idEncryption: NONE - displayName: tyler.mairose - passwordChangeStatus: SUCCESS - pendingPasswordRequestId: pendingPasswordRequestId - type: SYSTEM_CONTROLLED - serviceName: airtable v4 - accountServiceId: 44663 - lastPasswdChange: lastPasswdChange - passwordRequired: true - ssoMethod: NONE - passwordChangeResult: - completionStatus: SUCCESS - passwordEncryption: NONE - id: "17248154" - serviceId: 44663 - dateDisabled: dateDisabled - username: tyler.mairose - apps: - - "{}" - - "{}" - properties: - id: - example: "17248154" - type: string - type: - example: SYSTEM_CONTROLLED - type: string - displayName: - example: tyler.mairose - type: string - username: - example: tyler.mairose - type: string - passwordRequired: - type: boolean - passwordProvided: - type: boolean - apps: - items: - type: object - type: array - ssoMethod: - example: NONE - type: string - idEncryption: - example: NONE - type: string - passwordEncryption: - example: NONE - type: string - lastPasswdChange: - nullable: true - type: string - serviceName: - example: airtable v4 - type: string - dateDisabled: - nullable: true - type: string - accountServiceId: - example: 44663 - format: int32 - type: integer - serviceId: - example: 44663 - format: int32 - type: integer - pendingPasswordRequestId: - nullable: true - type: string - passwordChangeStatus: - example: SUCCESS - type: string - passwordChangeResult: - $ref: '#/components/schemas/listAccounts_200_response_inner_passwordChangeResult' - type: object - listApplications_200_response_inner_appProfiles_inner: - example: - xsdVersion: xsdVersion - filename: filename - dateCreated: dateCreated - createdBy: createdBy - id: 7.061401241503109 - properties: - id: - type: number - filename: - type: string - createdBy: - type: string - dateCreated: - type: string - xsdVersion: - type: string - type: object - refreshIdentities_request_refreshArgs: - properties: - correlateEntitlements: - description: "This will refresh entitlement, role, and access profile calculations." - example: true - type: boolean - promoteAttributes: - description: This will calculate identity attributes. - example: true - type: boolean - refreshManagerStatus: - description: | - This recalculates manager correlation and manager status. Note: This is computationally expensive to run. - example: false - type: boolean - synchronizeAttributes: - description: Enables attribute synchronization. - example: false - type: boolean - pruneIdentities: - description: | - Option that will enable deletion of an identity objects if there are no account objects. Note: This is not typically used in IdentityNow, except by guidance from SailPoint. - example: false - type: boolean - provision: - description: Enables provisioning of role assignments with entitlements - that are not currently fulfilled. - example: false - type: boolean - type: object - loadEntitlements_request: - properties: - file: - format: binary - type: string - type: object - securitySchemes: - UserContextAuth: - description: | - OAuth2 Bearer token (JWT). See [IdentityNow REST API Authentication](https://developer.sailpoint.com/idn/api/authentication) for more information. - - Directions for generating a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) - - Directions using [client credentials flow](https://developer.sailpoint.com/idn/api/authentication#client-credentials-grant-flow) - - Directions for using [authorization code flow](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow) - - Which authentication method should I choose? See our [guide](https://developer.sailpoint.com/idn/api/authentication#which-oauth-20-grant-flow-should-i-use) - - Learn more about how to find your `tokenUrl` and `authorizationUrl` [in our docs](https://developer.sailpoint.com/idn/api/authentication#find-your-tenants-oauth-details) - flows: - authorizationCode: - authorizationUrl: https://tenant.login.sailpoint.com/oauth/authorize - scopes: - sp:scopes:default: default scope - sp:scopes:all: access to all scopes - tokenUrl: https://tenant.api.identitynow.com/oauth/token - clientCredentials: - scopes: - sp:scopes:default: default scope - sp:scopes:all: access to all scopes - tokenUrl: https://tenant.api.identitynow.com/oauth/token - type: oauth2 diff --git a/api_cc/api_accounts.go b/api_cc/api_accounts.go deleted file mode 100644 index 5446d0fee..000000000 --- a/api_cc/api_accounts.go +++ /dev/null @@ -1,211 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" - "strings" -) - - -// AccountsAPIService AccountsAPI service -type AccountsAPIService service - -type ApiListAccountsRequest struct { - ctx context.Context - ApiService *AccountsAPIService -} - -func (r ApiListAccountsRequest) Execute() ([]ListAccounts200ResponseInner, *http.Response, error) { - return r.ApiService.ListAccountsExecute(r) -} - -/* -ListAccounts List Accounts - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListAccountsRequest -*/ -func (a *AccountsAPIService) ListAccounts(ctx context.Context) ApiListAccountsRequest { - return ApiListAccountsRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return []ListAccounts200ResponseInner -func (a *AccountsAPIService) ListAccountsExecute(r ApiListAccountsRequest) ([]ListAccounts200ResponseInner, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ListAccounts200ResponseInner - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AccountsAPIService.ListAccounts") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/account/list" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiRemoveAccountRequest struct { - ctx context.Context - ApiService *AccountsAPIService - id string -} - -func (r ApiRemoveAccountRequest) Execute() (*http.Response, error) { - return r.ApiService.RemoveAccountExecute(r) -} - -/* -RemoveAccount Remove Account - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiRemoveAccountRequest -*/ -func (a *AccountsAPIService) RemoveAccount(ctx context.Context, id string) ApiRemoveAccountRequest { - return ApiRemoveAccountRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -func (a *AccountsAPIService) RemoveAccountExecute(r ApiRemoveAccountRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AccountsAPIService.RemoveAccount") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/account/remove/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} diff --git a/api_cc/api_applications.go b/api_cc/api_applications.go deleted file mode 100644 index 366ac3575..000000000 --- a/api_cc/api_applications.go +++ /dev/null @@ -1,627 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" - "strings" -) - - -// ApplicationsAPIService ApplicationsAPI service -type ApplicationsAPIService service - -type ApiCreateApplicationRequest struct { - ctx context.Context - ApiService *ApplicationsAPIService - createApplicationRequest *CreateApplicationRequest -} - -func (r ApiCreateApplicationRequest) CreateApplicationRequest(createApplicationRequest CreateApplicationRequest) ApiCreateApplicationRequest { - r.createApplicationRequest = &createApplicationRequest - return r -} - -func (r ApiCreateApplicationRequest) Execute() (map[string]interface{}, *http.Response, error) { - return r.ApiService.CreateApplicationExecute(r) -} - -/* -CreateApplication Create Application - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateApplicationRequest -*/ -func (a *ApplicationsAPIService) CreateApplication(ctx context.Context) ApiCreateApplicationRequest { - return ApiCreateApplicationRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return map[string]interface{} -func (a *ApplicationsAPIService) CreateApplicationExecute(r ApiCreateApplicationRequest) (map[string]interface{}, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApplicationsAPIService.CreateApplication") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/app/create" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.createApplicationRequest - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiDeleteApplicationRequest struct { - ctx context.Context - ApiService *ApplicationsAPIService - id string -} - -func (r ApiDeleteApplicationRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteApplicationExecute(r) -} - -/* -DeleteApplication Delete Application - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiDeleteApplicationRequest -*/ -func (a *ApplicationsAPIService) DeleteApplication(ctx context.Context, id string) ApiDeleteApplicationRequest { - return ApiDeleteApplicationRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -func (a *ApplicationsAPIService) DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApplicationsAPIService.DeleteApplication") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/app/delete/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type ApiGetApplicationRequest struct { - ctx context.Context - ApiService *ApplicationsAPIService - id string -} - -func (r ApiGetApplicationRequest) Execute() (*GetApplication200Response, *http.Response, error) { - return r.ApiService.GetApplicationExecute(r) -} - -/* -GetApplication Get Single Application - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiGetApplicationRequest -*/ -func (a *ApplicationsAPIService) GetApplication(ctx context.Context, id string) ApiGetApplicationRequest { - return ApiGetApplicationRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -// @return GetApplication200Response -func (a *ApplicationsAPIService) GetApplicationExecute(r ApiGetApplicationRequest) (*GetApplication200Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GetApplication200Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApplicationsAPIService.GetApplication") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/app/get/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiGetApplicationAccessProfilesRequest struct { - ctx context.Context - ApiService *ApplicationsAPIService - id string -} - -func (r ApiGetApplicationAccessProfilesRequest) Execute() (map[string]interface{}, *http.Response, error) { - return r.ApiService.GetApplicationAccessProfilesExecute(r) -} - -/* -GetApplicationAccessProfiles Get Access Profiles for Application - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiGetApplicationAccessProfilesRequest -*/ -func (a *ApplicationsAPIService) GetApplicationAccessProfiles(ctx context.Context, id string) ApiGetApplicationAccessProfilesRequest { - return ApiGetApplicationAccessProfilesRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -// @return map[string]interface{} -func (a *ApplicationsAPIService) GetApplicationAccessProfilesExecute(r ApiGetApplicationAccessProfilesRequest) (map[string]interface{}, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApplicationsAPIService.GetApplicationAccessProfiles") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/app/getAccessProfiles/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiListApplicationsRequest struct { - ctx context.Context - ApiService *ApplicationsAPIService -} - -func (r ApiListApplicationsRequest) Execute() ([]ListApplications200ResponseInner, *http.Response, error) { - return r.ApiService.ListApplicationsExecute(r) -} - -/* -ListApplications List Applications - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListApplicationsRequest -*/ -func (a *ApplicationsAPIService) ListApplications(ctx context.Context) ApiListApplicationsRequest { - return ApiListApplicationsRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return []ListApplications200ResponseInner -func (a *ApplicationsAPIService) ListApplicationsExecute(r ApiListApplicationsRequest) ([]ListApplications200ResponseInner, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ListApplications200ResponseInner - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApplicationsAPIService.ListApplications") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/app/list" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiUpdateApplicationRequest struct { - ctx context.Context - ApiService *ApplicationsAPIService - id string - requestBody *map[string]interface{} -} - -func (r ApiUpdateApplicationRequest) RequestBody(requestBody map[string]interface{}) ApiUpdateApplicationRequest { - r.requestBody = &requestBody - return r -} - -func (r ApiUpdateApplicationRequest) Execute() (map[string]interface{}, *http.Response, error) { - return r.ApiService.UpdateApplicationExecute(r) -} - -/* -UpdateApplication Update Application - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiUpdateApplicationRequest -*/ -func (a *ApplicationsAPIService) UpdateApplication(ctx context.Context, id string) ApiUpdateApplicationRequest { - return ApiUpdateApplicationRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -// @return map[string]interface{} -func (a *ApplicationsAPIService) UpdateApplicationExecute(r ApiUpdateApplicationRequest) (map[string]interface{}, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApplicationsAPIService.UpdateApplication") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/app/update/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.requestBody - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/api_cc/api_connectors.go b/api_cc/api_connectors.go deleted file mode 100644 index 8c7ad8b83..000000000 --- a/api_cc/api_connectors.go +++ /dev/null @@ -1,554 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" - "strings" - "os" -) - - -// ConnectorsAPIService ConnectorsAPI service -type ConnectorsAPIService service - -type ApiCreateConnectorRequest struct { - ctx context.Context - ApiService *ConnectorsAPIService - contentType *string - name *string - description *string - className *string - directConnect *bool - status *string -} - -func (r ApiCreateConnectorRequest) ContentType(contentType string) ApiCreateConnectorRequest { - r.contentType = &contentType - return r -} - -func (r ApiCreateConnectorRequest) Name(name string) ApiCreateConnectorRequest { - r.name = &name - return r -} - -func (r ApiCreateConnectorRequest) Description(description string) ApiCreateConnectorRequest { - r.description = &description - return r -} - -func (r ApiCreateConnectorRequest) ClassName(className string) ApiCreateConnectorRequest { - r.className = &className - return r -} - -func (r ApiCreateConnectorRequest) DirectConnect(directConnect bool) ApiCreateConnectorRequest { - r.directConnect = &directConnect - return r -} - -func (r ApiCreateConnectorRequest) Status(status string) ApiCreateConnectorRequest { - r.status = &status - return r -} - -func (r ApiCreateConnectorRequest) Execute() (*http.Response, error) { - return r.ApiService.CreateConnectorExecute(r) -} - -/* -CreateConnector Create Connector - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateConnectorRequest -*/ -func (a *ConnectorsAPIService) CreateConnector(ctx context.Context) ApiCreateConnectorRequest { - return ApiCreateConnectorRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -func (a *ConnectorsAPIService) CreateConnectorExecute(r ApiCreateConnectorRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConnectorsAPIService.CreateConnector") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/connector/create" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/x-www-form-urlencoded"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - if r.contentType != nil { - parameterAddToQuery(localVarQueryParams, "Content-Type", r.contentType, "") - } - if r.name != nil { - parameterAddToQuery(localVarFormParams, "name", r.name, "") - } - if r.description != nil { - parameterAddToQuery(localVarFormParams, "description", r.description, "") - } - if r.className != nil { - parameterAddToQuery(localVarFormParams, "className", r.className, "") - } - if r.directConnect != nil { - parameterAddToQuery(localVarFormParams, "directConnect", r.directConnect, "") - } - if r.status != nil { - parameterAddToQuery(localVarFormParams, "status", r.status, "") - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type ApiDeleteConnectorRequest struct { - ctx context.Context - ApiService *ConnectorsAPIService - id string -} - -func (r ApiDeleteConnectorRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteConnectorExecute(r) -} - -/* -DeleteConnector Delete Connector - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiDeleteConnectorRequest -*/ -func (a *ConnectorsAPIService) DeleteConnector(ctx context.Context, id string) ApiDeleteConnectorRequest { - return ApiDeleteConnectorRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -func (a *ConnectorsAPIService) DeleteConnectorExecute(r ApiDeleteConnectorRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConnectorsAPIService.DeleteConnector") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/connector/delete/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type ApiExportConnectorConfigRequest struct { - ctx context.Context - ApiService *ConnectorsAPIService - id string -} - -func (r ApiExportConnectorConfigRequest) Execute() (*http.Response, error) { - return r.ApiService.ExportConnectorConfigExecute(r) -} - -/* -ExportConnectorConfig Export Connector Config - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiExportConnectorConfigRequest -*/ -func (a *ConnectorsAPIService) ExportConnectorConfig(ctx context.Context, id string) ApiExportConnectorConfigRequest { - return ApiExportConnectorConfigRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -func (a *ConnectorsAPIService) ExportConnectorConfigExecute(r ApiExportConnectorConfigRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConnectorsAPIService.ExportConnectorConfig") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/connector/export/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type ApiImportConnectorConfigRequest struct { - ctx context.Context - ApiService *ConnectorsAPIService - id string - file *os.File -} - -// This is the connector config zip bundle which gets uploaded. -func (r ApiImportConnectorConfigRequest) File(file *os.File) ApiImportConnectorConfigRequest { - r.file = file - return r -} - -func (r ApiImportConnectorConfigRequest) Execute() (*http.Response, error) { - return r.ApiService.ImportConnectorConfigExecute(r) -} - -/* -ImportConnectorConfig Import Connector Config - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiImportConnectorConfigRequest -*/ -func (a *ConnectorsAPIService) ImportConnectorConfig(ctx context.Context, id string) ApiImportConnectorConfigRequest { - return ApiImportConnectorConfigRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -func (a *ConnectorsAPIService) ImportConnectorConfigExecute(r ApiImportConnectorConfigRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConnectorsAPIService.ImportConnectorConfig") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/connector/import/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"multipart/form-data"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - var fileLocalVarFormFileName string - var fileLocalVarFileName string - var fileLocalVarFileBytes []byte - - fileLocalVarFormFileName = "file" - fileLocalVarFile := r.file - - if fileLocalVarFile != nil { - fbs, _ := io.ReadAll(fileLocalVarFile) - - fileLocalVarFileBytes = fbs - fileLocalVarFileName = fileLocalVarFile.Name() - fileLocalVarFile.Close() - formFiles = append(formFiles, formFile{fileBytes: fileLocalVarFileBytes, fileName: fileLocalVarFileName, formFileName: fileLocalVarFormFileName}) - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type ApiListConnectorsRequest struct { - ctx context.Context - ApiService *ConnectorsAPIService -} - -func (r ApiListConnectorsRequest) Execute() (*ListConnectors200Response, *http.Response, error) { - return r.ApiService.ListConnectorsExecute(r) -} - -/* -ListConnectors List Connectors - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListConnectorsRequest -*/ -func (a *ConnectorsAPIService) ListConnectors(ctx context.Context) ApiListConnectorsRequest { - return ApiListConnectorsRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return ListConnectors200Response -func (a *ConnectorsAPIService) ListConnectorsExecute(r ApiListConnectorsRequest) (*ListConnectors200Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ListConnectors200Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConnectorsAPIService.ListConnectors") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/connector/list" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/api_cc/api_sources_accounts.go b/api_cc/api_sources_accounts.go deleted file mode 100644 index 75c790e92..000000000 --- a/api_cc/api_sources_accounts.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" - "strings" -) - - -// SourcesAccountsAPIService SourcesAccountsAPI service -type SourcesAccountsAPIService service - -type ApiExportAccountFeedRequest struct { - ctx context.Context - ApiService *SourcesAccountsAPIService - id string -} - -func (r ApiExportAccountFeedRequest) Execute() (*http.Response, error) { - return r.ApiService.ExportAccountFeedExecute(r) -} - -/* -ExportAccountFeed Export Account Feed - -Exports a CSV of the accounts for a particular source. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiExportAccountFeedRequest -*/ -func (a *SourcesAccountsAPIService) ExportAccountFeed(ctx context.Context, id string) ApiExportAccountFeedRequest { - return ApiExportAccountFeedRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -func (a *SourcesAccountsAPIService) ExportAccountFeedExecute(r ApiExportAccountFeedRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SourcesAccountsAPIService.ExportAccountFeed") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/source/exportAccountFeed/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} diff --git a/api_cc/api_sources_aggregation.go b/api_cc/api_sources_aggregation.go deleted file mode 100644 index 9bbbff451..000000000 --- a/api_cc/api_sources_aggregation.go +++ /dev/null @@ -1,300 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" - "strings" - "os" -) - - -// SourcesAggregationAPIService SourcesAggregationAPI service -type SourcesAggregationAPIService service - -type ApiLoadAccountsRequest struct { - ctx context.Context - ApiService *SourcesAggregationAPIService - id string - contentType *string - disableOptimization *bool - file *os.File -} - -func (r ApiLoadAccountsRequest) ContentType(contentType string) ApiLoadAccountsRequest { - r.contentType = &contentType - return r -} - -func (r ApiLoadAccountsRequest) DisableOptimization(disableOptimization bool) ApiLoadAccountsRequest { - r.disableOptimization = &disableOptimization - return r -} - -func (r ApiLoadAccountsRequest) File(file *os.File) ApiLoadAccountsRequest { - r.file = file - return r -} - -func (r ApiLoadAccountsRequest) Execute() (map[string]interface{}, *http.Response, error) { - return r.ApiService.LoadAccountsExecute(r) -} - -/* -LoadAccounts Account Aggregation (File) - -Aggregates a delimited file for the given source. This only works for file-based sources. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiLoadAccountsRequest -*/ -func (a *SourcesAggregationAPIService) LoadAccounts(ctx context.Context, id string) ApiLoadAccountsRequest { - return ApiLoadAccountsRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -// @return map[string]interface{} -func (a *SourcesAggregationAPIService) LoadAccountsExecute(r ApiLoadAccountsRequest) (map[string]interface{}, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SourcesAggregationAPIService.LoadAccounts") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/source/loadAccounts/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"multipart/form-data"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - if r.contentType != nil { - parameterAddToQuery(localVarQueryParams, "Content-Type", r.contentType, "") - } - if r.disableOptimization != nil { - parameterAddToQuery(localVarFormParams, "disableOptimization", r.disableOptimization, "") - } - var fileLocalVarFormFileName string - var fileLocalVarFileName string - var fileLocalVarFileBytes []byte - - fileLocalVarFormFileName = "file" - fileLocalVarFile := r.file - - if fileLocalVarFile != nil { - fbs, _ := io.ReadAll(fileLocalVarFile) - - fileLocalVarFileBytes = fbs - fileLocalVarFileName = fileLocalVarFile.Name() - fileLocalVarFile.Close() - formFiles = append(formFiles, formFile{fileBytes: fileLocalVarFileBytes, fileName: fileLocalVarFileName, formFileName: fileLocalVarFormFileName}) - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiLoadEntitlementsRequest struct { - ctx context.Context - ApiService *SourcesAggregationAPIService - id string - contentType *string - file *os.File -} - -func (r ApiLoadEntitlementsRequest) ContentType(contentType string) ApiLoadEntitlementsRequest { - r.contentType = &contentType - return r -} - -func (r ApiLoadEntitlementsRequest) File(file *os.File) ApiLoadEntitlementsRequest { - r.file = file - return r -} - -func (r ApiLoadEntitlementsRequest) Execute() (map[string]interface{}, *http.Response, error) { - return r.ApiService.LoadEntitlementsExecute(r) -} - -/* -LoadEntitlements Account Aggregation (File) - -Aggregates a delimited file for the given source. This only works for file-based sources. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiLoadEntitlementsRequest -*/ -func (a *SourcesAggregationAPIService) LoadEntitlements(ctx context.Context, id string) ApiLoadEntitlementsRequest { - return ApiLoadEntitlementsRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -// @return map[string]interface{} -func (a *SourcesAggregationAPIService) LoadEntitlementsExecute(r ApiLoadEntitlementsRequest) (map[string]interface{}, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SourcesAggregationAPIService.LoadEntitlements") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/source/loadEntitlements/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"multipart/form-data"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - if r.contentType != nil { - parameterAddToQuery(localVarQueryParams, "Content-Type", r.contentType, "") - } - var fileLocalVarFormFileName string - var fileLocalVarFileName string - var fileLocalVarFileBytes []byte - - fileLocalVarFormFileName = "file" - fileLocalVarFile := r.file - - if fileLocalVarFile != nil { - fbs, _ := io.ReadAll(fileLocalVarFile) - - fileLocalVarFileBytes = fbs - fileLocalVarFileName = fileLocalVarFile.Name() - fileLocalVarFile.Close() - formFiles = append(formFiles, formFile{fileBytes: fileLocalVarFileBytes, fileName: fileLocalVarFileName, formFileName: fileLocalVarFormFileName}) - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/api_cc/api_system.go b/api_cc/api_system.go deleted file mode 100644 index 999e16adb..000000000 --- a/api_cc/api_system.go +++ /dev/null @@ -1,152 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" -) - - -// SystemAPIService SystemAPI service -type SystemAPIService service - -type ApiRefreshIdentitiesRequest struct { - ctx context.Context - ApiService *SystemAPIService - contentType *string - refreshIdentitiesRequest *RefreshIdentitiesRequest -} - -func (r ApiRefreshIdentitiesRequest) ContentType(contentType string) ApiRefreshIdentitiesRequest { - r.contentType = &contentType - return r -} - -func (r ApiRefreshIdentitiesRequest) RefreshIdentitiesRequest(refreshIdentitiesRequest RefreshIdentitiesRequest) ApiRefreshIdentitiesRequest { - r.refreshIdentitiesRequest = &refreshIdentitiesRequest - return r -} - -func (r ApiRefreshIdentitiesRequest) Execute() (map[string]interface{}, *http.Response, error) { - return r.ApiService.RefreshIdentitiesExecute(r) -} - -/* -RefreshIdentities Refresh Identities - -This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. - -_Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ - -Refresh Arguments: - -| Key | Description | -|-----------------------|----------------------------------------------------| -| correlateEntitlements | Analyzes entitlements, access profiles, and roles. | -| promoteAttributes | Calculates identity attributes. | -| refreshManagerStatus | Calculates manager correlation and manager status. | -| synchronizeAttributes | Performs attribute sync provisioning. | -| pruneIdentities | Removes any identities which don't have accounts. | -| provision | Provisions any assigned roles or access profiles. | - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiRefreshIdentitiesRequest -*/ -func (a *SystemAPIService) RefreshIdentities(ctx context.Context) ApiRefreshIdentitiesRequest { - return ApiRefreshIdentitiesRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return map[string]interface{} -func (a *SystemAPIService) RefreshIdentitiesExecute(r ApiRefreshIdentitiesRequest) (map[string]interface{}, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemAPIService.RefreshIdentities") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/system/refreshIdentities" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - if r.contentType != nil { - parameterAddToQuery(localVarQueryParams, "Content-Type", r.contentType, "") - } - // body params - localVarPostBody = r.refreshIdentitiesRequest - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/api_cc/api_user.go b/api_cc/api_user.go deleted file mode 100644 index 414bd851b..000000000 --- a/api_cc/api_user.go +++ /dev/null @@ -1,219 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" - "strings" -) - - -// UserAPIService UserAPI service -type UserAPIService service - -type ApiGetIdentityRequest struct { - ctx context.Context - ApiService *UserAPIService - id string -} - -func (r ApiGetIdentityRequest) Execute() (*GetIdentity200Response, *http.Response, error) { - return r.ApiService.GetIdentityExecute(r) -} - -/* -GetIdentity Get Single Identity - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiGetIdentityRequest -*/ -func (a *UserAPIService) GetIdentity(ctx context.Context, id string) ApiGetIdentityRequest { - return ApiGetIdentityRequest{ - ApiService: a, - ctx: ctx, - id: id, - } -} - -// Execute executes the request -// @return GetIdentity200Response -func (a *UserAPIService) GetIdentityExecute(r ApiGetIdentityRequest) (*GetIdentity200Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GetIdentity200Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.GetIdentity") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/user/get/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiUpdateUserPermissionsRequest struct { - ctx context.Context - ApiService *UserAPIService - updateUserPermissionsRequest *UpdateUserPermissionsRequest -} - -func (r ApiUpdateUserPermissionsRequest) UpdateUserPermissionsRequest(updateUserPermissionsRequest UpdateUserPermissionsRequest) ApiUpdateUserPermissionsRequest { - r.updateUserPermissionsRequest = &updateUserPermissionsRequest - return r -} - -func (r ApiUpdateUserPermissionsRequest) Execute() (*http.Response, error) { - return r.ApiService.UpdateUserPermissionsExecute(r) -} - -/* -UpdateUserPermissions Update User Permissions - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiUpdateUserPermissionsRequest -*/ -func (a *UserAPIService) UpdateUserPermissions(ctx context.Context) ApiUpdateUserPermissionsRequest { - return ApiUpdateUserPermissionsRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -func (a *UserAPIService) UpdateUserPermissionsExecute(r ApiUpdateUserPermissionsRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.UpdateUserPermissions") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/cc/api/user/updatePermissions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.updateUserPermissionsRequest - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} diff --git a/api_cc/client.go b/api_cc/client.go deleted file mode 100644 index a516955c9..000000000 --- a/api_cc/client.go +++ /dev/null @@ -1,754 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "bytes" - "context" - "encoding/json" - "encoding/xml" - "errors" - "fmt" - "io" -"io/ioutil" - "log" - "mime/multipart" - "net/http" - "net/http/httputil" - "net/url" - "os" - "path/filepath" - "reflect" - "regexp" - "strconv" - "strings" - "time" - "unicode/utf8" - - "golang.org/x/oauth2" -retryablehttp "github.com/hashicorp/go-retryablehttp" -) - -var ( - jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) - xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) - queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) - queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) -) - -// APIClient manages communication with the IdentityNow cc (private) APIs API v1.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - - AccountsAPI *AccountsAPIService - - ApplicationsAPI *ApplicationsAPIService - - ConnectorsAPI *ConnectorsAPIService - - SourcesAccountsAPI *SourcesAccountsAPIService - - SourcesAggregationAPI *SourcesAggregationAPIService - - SystemAPI *SystemAPIService - - UserAPI *UserAPIService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - if cfg.HTTPClient == nil { - cfg.HTTPClient = retryablehttp.NewClient() - } - - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.AccountsAPI = (*AccountsAPIService)(&c.common) - c.ApplicationsAPI = (*ApplicationsAPIService)(&c.common) - c.ConnectorsAPI = (*ConnectorsAPIService)(&c.common) - c.SourcesAccountsAPI = (*SourcesAccountsAPIService)(&c.common) - c.SourcesAggregationAPI = (*SourcesAggregationAPIService)(&c.common) - c.SystemAPI = (*SystemAPIService)(&c.common) - c.UserAPI = (*UserAPIService)(&c.common) - - return c -} - -func atoi(in string) (int, error) { - return strconv.Atoi(in) -} - -// selectHeaderContentType select a content type from the available list. -func selectHeaderContentType(contentTypes []string) string { - if len(contentTypes) == 0 { - return "" - } - if contains(contentTypes, "application/json") { - return "application/json" - } - return contentTypes[0] // use the first content type specified in 'consumes' -} - -// selectHeaderAccept join all accept types and return -func selectHeaderAccept(accepts []string) string { - if len(accepts) == 0 { - return "" - } - - if contains(accepts, "application/json") { - return "application/json" - } - - return strings.Join(accepts, ",") -} - -// contains is a case insensitive match, finding needle in a haystack -func contains(haystack []string, needle string) bool { - for _, a := range haystack { - if strings.EqualFold(a, needle) { - return true - } - } - return false -} - -// Verify optional parameters are of the correct type. -func typeCheckParameter(obj interface{}, expected string, name string) error { - // Make sure there is an object. - if obj == nil { - return nil - } - - // Check the type is as expected. - if reflect.TypeOf(obj).String() != expected { - return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) - } - return nil -} - -func parameterValueToString( obj interface{}, key string ) string { - if reflect.TypeOf(obj).Kind() != reflect.Ptr { - return fmt.Sprintf("%v", obj) - } - var param,ok = obj.(MappedNullable) - if !ok { - return "" - } - dataMap,err := param.ToMap() - if err != nil { - return "" - } - return fmt.Sprintf("%v", dataMap[key]) -} - -// parameterAddToQuery adds the provided object to the url query supporting deep object syntax -func parameterAddToQuery(queryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { - var v = reflect.ValueOf(obj) - var value = "" - if v == reflect.ValueOf(nil) { - value = "null" - } else { - switch v.Kind() { - case reflect.Invalid: - value = "invalid" - - case reflect.Struct: - if t,ok := obj.(MappedNullable); ok { - dataMap,err := t.ToMap() - if err != nil { - return - } - parameterAddToQuery(queryParams, keyPrefix, dataMap, collectionType) - return - } - if t, ok := obj.(time.Time); ok { - parameterAddToQuery(queryParams, keyPrefix, t.Format(time.RFC3339), collectionType) - return - } - value = v.Type().String() + " value" - case reflect.Slice: - var indValue = reflect.ValueOf(obj) - if indValue == reflect.ValueOf(nil) { - return - } - var lenIndValue = indValue.Len() - for i:=0;i 0 || (len(formFiles) > 0) { - if body != nil { - return nil, errors.New("Cannot specify postBody and multipart form at the same time.") - } - body = &bytes.Buffer{} - w := multipart.NewWriter(body) - - for k, v := range formParams { - for _, iv := range v { - if strings.HasPrefix(k, "@") { // file - err = addFile(w, k[1:], iv) - if err != nil { - return nil, err - } - } else { // form value - w.WriteField(k, iv) - } - } - } - for _, formFile := range formFiles { - if len(formFile.fileBytes) > 0 && formFile.fileName != "" { - w.Boundary() - part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) - if err != nil { - return nil, err - } - _, err = part.Write(formFile.fileBytes) - if err != nil { - return nil, err - } - } - } - - // Set the Boundary in the Content-Type - headerParams["Content-Type"] = w.FormDataContentType() - - // Set Content-Length - headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) - w.Close() - } - - if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { - if body != nil { - return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") - } - body = &bytes.Buffer{} - body.WriteString(formParams.Encode()) - // Set Content-Length - headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) - } - - // Setup path and query parameters - url, err := url.Parse(path) - if err != nil { - return nil, err - } - - // Override request host, if applicable - if c.cfg.Host != "" { - url.Host = c.cfg.Host - } - - // Override request scheme, if applicable - if c.cfg.Scheme != "" { - url.Scheme = c.cfg.Scheme - } - - // Adding Query Param - query := url.Query() - for k, v := range queryParams { - for _, iv := range v { - query.Add(k, iv) - } - } - - // Encode the parameters. - url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { - pieces := strings.Split(s, "=") - pieces[0] = queryDescape.Replace(pieces[0]) - return strings.Join(pieces, "=") - }) - - // Generate a new request - if body != nil { - localVarRequest, err = http.NewRequest(method, url.String(), body) - } else { - localVarRequest, err = http.NewRequest(method, url.String(), nil) - } - if err != nil { - return nil, err - } - - // add header parameters, if any - if len(headerParams) > 0 { - headers := http.Header{} - for h, v := range headerParams { - headers[h] = []string{v} - } - localVarRequest.Header = headers - } - - // Add the user agent to the request. - localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) -localVarRequest.Header.Add("X-SailPoint-SDK", "2.0.1") - - if ctx != nil { - // add context to the request - localVarRequest = localVarRequest.WithContext(ctx) - - // Walk through any authentication. - - // OAuth2 authentication - if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok { - // We were able to grab an oauth2 token from the context - var latestToken *oauth2.Token - if latestToken, err = tok.Token(); err != nil { - return nil, err - } - - latestToken.SetAuthHeader(localVarRequest) - } -if c.cfg.Token == "" && c.cfg.ClientId != "" && c.cfg.ClientSecret != "" && c.cfg.TokenURL != "" { - auth, err := getAccessToken(c.cfg.ClientId, c.cfg.ClientSecret, c.cfg.TokenURL) - if err != nil { - return nil, err - } - c.cfg.Token = auth - localVarRequest.Header.Add("Authorization", "Bearer "+auth) - } else { - localVarRequest.Header.Add("Authorization", "Bearer "+c.cfg.Token) - } - } - - for header, value := range c.cfg.DefaultHeader { - localVarRequest.Header.Add(header, value) - } - return localVarRequest, nil -} - -type AccessToken struct { - AccessToken string `json:"access_token"` - TokenType string `json:"token_type"` - ExpiresIn int `json:"expires_in"` - Scope string `json:"scope"` - TenantId string `json:"tenant_id"` - Pod string `json:"pod"` - StrongAuthSupported bool `json:"strong_auth_supported"` - Org string `json:"org"` - IdentityId string `json:"identity_id"` - UserName string `json:"user_name"` - StrongAuth bool `json:"strong_auth"` - Jti string `json:"jti"` -} - -func getAccessToken(clientId string, clientSecret string, tokenURL string) (string, error) { - requestUrl := tokenURL - method := "POST" - client := &http.Client{} - form := url.Values{ - "grant_type": {"client_credentials"}, - "client_id": {clientId}, - "client_secret": {clientSecret}, - } - req, err := http.NewRequest(method, requestUrl, strings.NewReader(form.Encode())) - req.Header.Set("Content-Type", "application/x-www-form-urlencoded") - - if err != nil { - fmt.Println(err) - return "", err - } - res, err := client.Do(req) - if err != nil { - fmt.Println(err) - return "", err - } - defer res.Body.Close() - - body, err := ioutil.ReadAll(res.Body) - if err != nil { - fmt.Println(err) - return "", err - } - - var jsonMap AccessToken - json.Unmarshal([]byte(body), &jsonMap) - - return jsonMap.AccessToken, nil -} - -func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { - if len(b) == 0 { - return nil - } - if s, ok := v.(*string); ok { - *s = string(b) - return nil - } - if f, ok := v.(*os.File); ok { - f, err = ioutil.TempFile("", "HttpClientFile") - if err != nil { - return - } - _, err = f.Write(b) - if err != nil { - return - } - _, err = f.Seek(0, io.SeekStart) - return - } - if f, ok := v.(**os.File); ok { - *f, err = ioutil.TempFile("", "HttpClientFile") - if err != nil { - return - } - _, err = (*f).Write(b) - if err != nil { - return - } - _, err = (*f).Seek(0, io.SeekStart) - return - } - if xmlCheck.MatchString(contentType) { - if err = xml.Unmarshal(b, v); err != nil { - return err - } - return nil - } - if jsonCheck.MatchString(contentType) { - if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas - if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined - if err = unmarshalObj.UnmarshalJSON(b); err != nil { - return err - } - } else { - return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") - } - } else if err = json.Unmarshal(b, v); err != nil { // simple model - return err - } - return nil - } - return errors.New("undefined response type") -} - -// Add a file to the multipart request -func addFile(w *multipart.Writer, fieldName, path string) error { - file, err := os.Open(filepath.Clean(path)) - if err != nil { - return err - } - err = file.Close() - if err != nil { - return err - } - - part, err := w.CreateFormFile(fieldName, filepath.Base(path)) - if err != nil { - return err - } - _, err = io.Copy(part, file) - - return err -} - -// Prevent trying to import "fmt" -func reportError(format string, a ...interface{}) error { - return fmt.Errorf(format, a...) -} - -// A wrapper for strict JSON decoding -func newStrictDecoder(data []byte) *json.Decoder { - dec := json.NewDecoder(bytes.NewBuffer(data)) - dec.DisallowUnknownFields() - return dec -} - -// Set request body from an interface{} -func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { - if bodyBuf == nil { - bodyBuf = &bytes.Buffer{} - } - - if reader, ok := body.(io.Reader); ok { - _, err = bodyBuf.ReadFrom(reader) - } else if fp, ok := body.(*os.File); ok { - _, err = bodyBuf.ReadFrom(fp) - } else if b, ok := body.([]byte); ok { - _, err = bodyBuf.Write(b) - } else if s, ok := body.(string); ok { - _, err = bodyBuf.WriteString(s) - } else if s, ok := body.(*string); ok { - _, err = bodyBuf.WriteString(*s) - } else if jsonCheck.MatchString(contentType) { - err = json.NewEncoder(bodyBuf).Encode(body) - } else if xmlCheck.MatchString(contentType) { - err = xml.NewEncoder(bodyBuf).Encode(body) - } - - if err != nil { - return nil, err - } - - if bodyBuf.Len() == 0 { - err = fmt.Errorf("invalid body type %s\n", contentType) - return nil, err - } - return bodyBuf, nil -} - -// detectContentType method is used to figure out `Request.Body` content type for request header -func detectContentType(body interface{}) string { - contentType := "text/plain; charset=utf-8" - kind := reflect.TypeOf(body).Kind() - - switch kind { - case reflect.Struct, reflect.Map, reflect.Ptr: - contentType = "application/json; charset=utf-8" - case reflect.String: - contentType = "text/plain; charset=utf-8" - default: - if b, ok := body.([]byte); ok { - contentType = http.DetectContentType(b) - } else if kind == reflect.Slice { - contentType = "application/json; charset=utf-8" - } - } - - return contentType -} - -// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go -type cacheControl map[string]string - -func parseCacheControl(headers http.Header) cacheControl { - cc := cacheControl{} - ccHeader := headers.Get("Cache-Control") - for _, part := range strings.Split(ccHeader, ",") { - part = strings.Trim(part, " ") - if part == "" { - continue - } - if strings.ContainsRune(part, '=') { - keyval := strings.Split(part, "=") - cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") - } else { - cc[part] = "" - } - } - return cc -} - -// CacheExpires helper function to determine remaining time before repeating a request. -func CacheExpires(r *http.Response) time.Time { - // Figure out when the cache expires. - var expires time.Time - now, err := time.Parse(time.RFC1123, r.Header.Get("date")) - if err != nil { - return time.Now() - } - respCacheControl := parseCacheControl(r.Header) - - if maxAge, ok := respCacheControl["max-age"]; ok { - lifetime, err := time.ParseDuration(maxAge + "s") - if err != nil { - expires = now - } else { - expires = now.Add(lifetime) - } - } else { - expiresHeader := r.Header.Get("Expires") - if expiresHeader != "" { - expires, err = time.Parse(time.RFC1123, expiresHeader) - if err != nil { - expires = now - } - } - } - return expires -} - -func strlen(s string) int { - return utf8.RuneCountInString(s) -} - -// GenericOpenAPIError Provides access to the body, error and model on returned errors. -type GenericOpenAPIError struct { - body []byte - error string - model interface{} -} - -// Error returns non-empty string if there was an error. -func (e GenericOpenAPIError) Error() string { - return e.error -} - -// Body returns the raw bytes of the response -func (e GenericOpenAPIError) Body() []byte { - return e.body -} - -// Model returns the unpacked model of the error -func (e GenericOpenAPIError) Model() interface{} { - return e.model -} - -// format error message using title and detail when model implements rfc7807 -func formatErrorMessage(status string, v interface{}) string { - str := "" - metaValue := reflect.ValueOf(v).Elem() - - field := metaValue.FieldByName("Title") - if field != (reflect.Value{}) { - str = fmt.Sprintf("%s", field.Interface()) - } - - field = metaValue.FieldByName("Detail") - if field != (reflect.Value{}) { - str = fmt.Sprintf("%s (%s)", str, field.Interface()) - } - -// status title (detail) - return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) -} diff --git a/api_cc/configuration.go b/api_cc/configuration.go deleted file mode 100644 index e88083b93..000000000 --- a/api_cc/configuration.go +++ /dev/null @@ -1,245 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "context" - "fmt" - "strings" - - retryablehttp "github.com/hashicorp/go-retryablehttp" -) - -// contextKeys are used to identify the type of value in the context. -// Since these are string, it is possible to get a short description of the -// context key for logging and debugging using key.String(). - -type contextKey string - -func (c contextKey) String() string { - return "auth " + string(c) -} - -var ( - // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. - ContextOAuth2 = contextKey("token") - - // ContextServerIndex uses a server configuration from the index. - ContextServerIndex = contextKey("serverIndex") - - // ContextOperationServerIndices uses a server configuration from the index mapping. - ContextOperationServerIndices = contextKey("serverOperationIndices") - - // ContextServerVariables overrides a server configuration variables. - ContextServerVariables = contextKey("serverVariables") - - // ContextOperationServerVariables overrides a server configuration variables using operation specific values. - ContextOperationServerVariables = contextKey("serverOperationVariables") -) - -// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth -type BasicAuth struct { - UserName string `json:"userName,omitempty"` - Password string `json:"password,omitempty"` -} - -// APIKey provides API key based authentication to a request passed via context using ContextAPIKey -type APIKey struct { - Key string - Prefix string -} - -// ServerVariable stores the information about a server variable -type ServerVariable struct { - Description string - DefaultValue string - EnumValues []string -} - -// ServerConfiguration stores the information about a server -type ServerConfiguration struct { - URL string - Description string - Variables map[string]ServerVariable -} - -// ServerConfigurations stores multiple ServerConfiguration items -type ServerConfigurations []ServerConfiguration - -// Configuration stores the configuration of the API client -type Configuration struct { - Host string `json:"host,omitempty"` - Scheme string `json:"scheme,omitempty"` - DefaultHeader map[string]string `json:"defaultHeader,omitempty"` - UserAgent string `json:"userAgent,omitempty"` - Debug bool `json:"debug,omitempty"` - Servers ServerConfigurations - OperationServers map[string]ServerConfigurations - HTTPClient *retryablehttp.Client -ClientId string - ClientSecret string - BaseURL string - TokenURL string - Token string -} - -// NewConfiguration returns a new Configuration object -func NewConfiguration(clientId string, clientSecret string, baseURL string, tokenURL string, token string) *Configuration { - cfg := &Configuration{ -ClientId: clientId, - ClientSecret: clientSecret, - BaseURL: baseURL, - TokenURL: tokenURL, - Token: token, - DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/2.0.1/go", - Debug: false, - Servers: ServerConfigurations{ - { - URL: baseURL, - Description: "This is the production API server.", - Variables: map[string]ServerVariable{ - "tenant": ServerVariable{ - Description: "This is the name of your tenant, typically your company's name.", - DefaultValue: "sailpoint", - }, - }, - }, - { - URL: baseURL, - Description: "This is the CC API server.", - Variables: map[string]ServerVariable{ - "apiUrl": ServerVariable{ - Description: "This is the api url of your tenant", - DefaultValue: "sailpoint.api.identitynow.com", - }, - }, - }, - }, - OperationServers: map[string]ServerConfigurations{ - }, - } - return cfg -} - -// AddDefaultHeader adds a new HTTP header to the default header in the request -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.DefaultHeader[key] = value -} - -// URL formats template on a index using given variables -func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { - if index < 0 || len(sc) <= index { - return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) - } - server := sc[index] - url := server.URL - - // go through variables and replace placeholders - for name, variable := range server.Variables { - if value, ok := variables[name]; ok { - found := bool(len(variable.EnumValues) == 0) - for _, enumValue := range variable.EnumValues { - if value == enumValue { - found = true - } - } - if !found { - return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) - } - url = strings.Replace(url, "{"+name+"}", value, -1) - } else { - url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) - } - } - return url, nil -} - -// ServerURL returns URL based on server settings -func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { - return c.Servers.URL(index, variables) -} - -func getServerIndex(ctx context.Context) (int, error) { - si := ctx.Value(ContextServerIndex) - if si != nil { - if index, ok := si.(int); ok { - return index, nil - } - return 0, reportError("Invalid type %T should be int", si) - } - return 0, nil -} - -func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { - osi := ctx.Value(ContextOperationServerIndices) - if osi != nil { - if operationIndices, ok := osi.(map[string]int); !ok { - return 0, reportError("Invalid type %T should be map[string]int", osi) - } else { - index, ok := operationIndices[endpoint] - if ok { - return index, nil - } - } - } - return getServerIndex(ctx) -} - -func getServerVariables(ctx context.Context) (map[string]string, error) { - sv := ctx.Value(ContextServerVariables) - if sv != nil { - if variables, ok := sv.(map[string]string); ok { - return variables, nil - } - return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) - } - return nil, nil -} - -func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { - osv := ctx.Value(ContextOperationServerVariables) - if osv != nil { - if operationVariables, ok := osv.(map[string]map[string]string); !ok { - return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) - } else { - variables, ok := operationVariables[endpoint] - if ok { - return variables, nil - } - } - } - return getServerVariables(ctx) -} - -// ServerURLWithContext returns a new server URL given an endpoint -func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { - sc, ok := c.OperationServers[endpoint] - if !ok { - sc = c.Servers - } - - if ctx == nil { - return sc.URL(0, nil) - } - - index, err := getServerOperationIndex(ctx, endpoint) - if err != nil { - return "", err - } - - variables, err := getServerOperationVariables(ctx, endpoint) - if err != nil { - return "", err - } - - return sc.URL(index, variables) -} diff --git a/api_cc/docs/AccountsAPI.md b/api_cc/docs/AccountsAPI.md deleted file mode 100644 index 51a0c4eb2..000000000 --- a/api_cc/docs/AccountsAPI.md +++ /dev/null @@ -1,135 +0,0 @@ -# \AccountsAPI - -All URIs are relative to *https://sailpoint.api.identitynow.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**ListAccounts**](AccountsAPI.md#ListAccounts) | **Get** /cc/api/account/list | List Accounts -[**RemoveAccount**](AccountsAPI.md#RemoveAccount) | **Post** /cc/api/account/remove/{id} | Remove Account - - - -## ListAccounts - -> []ListAccounts200ResponseInner ListAccounts(ctx).Execute() - -List Accounts - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.AccountsAPI.ListAccounts(context.Background()).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.ListAccounts``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `ListAccounts`: []ListAccounts200ResponseInner - fmt.Fprintf(os.Stdout, "Response from `AccountsAPI.ListAccounts`: %v\n", resp) -} -``` - -### Path Parameters - -This endpoint does not need any parameter. - -### Other Parameters - -Other parameters are passed through a pointer to a apiListAccountsRequest struct via the builder pattern - - -### Return type - -[**[]ListAccounts200ResponseInner**](ListAccounts200ResponseInner.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## RemoveAccount - -> RemoveAccount(ctx, id).Execute() - -Remove Account - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "12345" // string | - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.AccountsAPI.RemoveAccount(context.Background(), id).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.RemoveAccount``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiRemoveAccountRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api_cc/docs/ApplicationsAPI.md b/api_cc/docs/ApplicationsAPI.md deleted file mode 100644 index f8a2c0092..000000000 --- a/api_cc/docs/ApplicationsAPI.md +++ /dev/null @@ -1,409 +0,0 @@ -# \ApplicationsAPI - -All URIs are relative to *https://sailpoint.api.identitynow.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**CreateApplication**](ApplicationsAPI.md#CreateApplication) | **Post** /cc/api/app/create | Create Application -[**DeleteApplication**](ApplicationsAPI.md#DeleteApplication) | **Post** /cc/api/app/delete/{id} | Delete Application -[**GetApplication**](ApplicationsAPI.md#GetApplication) | **Get** /cc/api/app/get/{id} | Get Single Application -[**GetApplicationAccessProfiles**](ApplicationsAPI.md#GetApplicationAccessProfiles) | **Get** /cc/api/app/getAccessProfiles/{id} | Get Access Profiles for Application -[**ListApplications**](ApplicationsAPI.md#ListApplications) | **Get** /cc/api/app/list | List Applications -[**UpdateApplication**](ApplicationsAPI.md#UpdateApplication) | **Post** /cc/api/app/update/{id} | Update Application - - - -## CreateApplication - -> map[string]interface{} CreateApplication(ctx).CreateApplicationRequest(createApplicationRequest).Execute() - -Create Application - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - createApplicationRequest := *openapiclient.NewCreateApplicationRequest() // CreateApplicationRequest | (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ApplicationsAPI.CreateApplication(context.Background()).CreateApplicationRequest(createApplicationRequest).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ApplicationsAPI.CreateApplication``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `CreateApplication`: map[string]interface{} - fmt.Fprintf(os.Stdout, "Response from `ApplicationsAPI.CreateApplication`: %v\n", resp) -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiCreateApplicationRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **createApplicationRequest** | [**CreateApplicationRequest**](CreateApplicationRequest.md) | | - -### Return type - -**map[string]interface{}** - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## DeleteApplication - -> DeleteApplication(ctx, id).Execute() - -Delete Application - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "12345" // string | - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.ApplicationsAPI.DeleteApplication(context.Background(), id).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ApplicationsAPI.DeleteApplication``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiDeleteApplicationRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## GetApplication - -> GetApplication200Response GetApplication(ctx, id).Execute() - -Get Single Application - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "12345" // string | - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ApplicationsAPI.GetApplication(context.Background(), id).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ApplicationsAPI.GetApplication``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `GetApplication`: GetApplication200Response - fmt.Fprintf(os.Stdout, "Response from `ApplicationsAPI.GetApplication`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGetApplicationRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - -[**GetApplication200Response**](GetApplication200Response.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## GetApplicationAccessProfiles - -> map[string]interface{} GetApplicationAccessProfiles(ctx, id).Execute() - -Get Access Profiles for Application - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "12345" // string | - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ApplicationsAPI.GetApplicationAccessProfiles(context.Background(), id).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ApplicationsAPI.GetApplicationAccessProfiles``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `GetApplicationAccessProfiles`: map[string]interface{} - fmt.Fprintf(os.Stdout, "Response from `ApplicationsAPI.GetApplicationAccessProfiles`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGetApplicationAccessProfilesRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - -**map[string]interface{}** - -### Authorization - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## ListApplications - -> []ListApplications200ResponseInner ListApplications(ctx).Execute() - -List Applications - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ApplicationsAPI.ListApplications(context.Background()).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ApplicationsAPI.ListApplications``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `ListApplications`: []ListApplications200ResponseInner - fmt.Fprintf(os.Stdout, "Response from `ApplicationsAPI.ListApplications`: %v\n", resp) -} -``` - -### Path Parameters - -This endpoint does not need any parameter. - -### Other Parameters - -Other parameters are passed through a pointer to a apiListApplicationsRequest struct via the builder pattern - - -### Return type - -[**[]ListApplications200ResponseInner**](ListApplications200ResponseInner.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## UpdateApplication - -> map[string]interface{} UpdateApplication(ctx, id).RequestBody(requestBody).Execute() - -Update Application - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "12345" // string | - requestBody := map[string]interface{}{"key": interface{}(123)} // map[string]interface{} | (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ApplicationsAPI.UpdateApplication(context.Background(), id).RequestBody(requestBody).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ApplicationsAPI.UpdateApplication``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `UpdateApplication`: map[string]interface{} - fmt.Fprintf(os.Stdout, "Response from `ApplicationsAPI.UpdateApplication`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiUpdateApplicationRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **requestBody** | **map[string]interface{}** | | - -### Return type - -**map[string]interface{}** - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api_cc/docs/ConnectorsAPI.md b/api_cc/docs/ConnectorsAPI.md deleted file mode 100644 index 89c394503..000000000 --- a/api_cc/docs/ConnectorsAPI.md +++ /dev/null @@ -1,344 +0,0 @@ -# \ConnectorsAPI - -All URIs are relative to *https://sailpoint.api.identitynow.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**CreateConnector**](ConnectorsAPI.md#CreateConnector) | **Post** /cc/api/connector/create | Create Connector -[**DeleteConnector**](ConnectorsAPI.md#DeleteConnector) | **Post** /cc/api/connector/delete/{id} | Delete Connector -[**ExportConnectorConfig**](ConnectorsAPI.md#ExportConnectorConfig) | **Get** /cc/api/connector/export/{id} | Export Connector Config -[**ImportConnectorConfig**](ConnectorsAPI.md#ImportConnectorConfig) | **Post** /cc/api/connector/import/{id} | Import Connector Config -[**ListConnectors**](ConnectorsAPI.md#ListConnectors) | **Get** /cc/api/connector/list | List Connectors - - - -## CreateConnector - -> CreateConnector(ctx).ContentType(contentType).Name(name).Description(description).ClassName(className).DirectConnect(directConnect).Status(status).Execute() - -Create Connector - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - contentType := "application/x-www-form-urlencoded" // string | (optional) - name := "name_example" // string | (optional) - description := "description_example" // string | (optional) - className := "className_example" // string | (optional) - directConnect := true // bool | (optional) - status := "status_example" // string | (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.ConnectorsAPI.CreateConnector(context.Background()).ContentType(contentType).Name(name).Description(description).ClassName(className).DirectConnect(directConnect).Status(status).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.CreateConnector``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiCreateConnectorRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contentType** | **string** | | - **name** | **string** | | - **description** | **string** | | - **className** | **string** | | - **directConnect** | **bool** | | - **status** | **string** | | - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: application/x-www-form-urlencoded -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## DeleteConnector - -> DeleteConnector(ctx, id).Execute() - -Delete Connector - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "id_example" // string | - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.ConnectorsAPI.DeleteConnector(context.Background(), id).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.DeleteConnector``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiDeleteConnectorRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## ExportConnectorConfig - -> ExportConnectorConfig(ctx, id).Execute() - -Export Connector Config - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "id_example" // string | - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.ConnectorsAPI.ExportConnectorConfig(context.Background(), id).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.ExportConnectorConfig``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiExportConnectorConfigRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## ImportConnectorConfig - -> ImportConnectorConfig(ctx, id).File(file).Execute() - -Import Connector Config - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "id_example" // string | - file := os.NewFile(1234, "some_file") // *os.File | This is the connector config zip bundle which gets uploaded. (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.ConnectorsAPI.ImportConnectorConfig(context.Background(), id).File(file).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.ImportConnectorConfig``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiImportConnectorConfigRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **file** | ***os.File** | This is the connector config zip bundle which gets uploaded. | - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: multipart/form-data -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## ListConnectors - -> ListConnectors200Response ListConnectors(ctx).Execute() - -List Connectors - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ConnectorsAPI.ListConnectors(context.Background()).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.ListConnectors``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `ListConnectors`: ListConnectors200Response - fmt.Fprintf(os.Stdout, "Response from `ConnectorsAPI.ListConnectors`: %v\n", resp) -} -``` - -### Path Parameters - -This endpoint does not need any parameter. - -### Other Parameters - -Other parameters are passed through a pointer to a apiListConnectorsRequest struct via the builder pattern - - -### Return type - -[**ListConnectors200Response**](ListConnectors200Response.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api_cc/docs/CreateApplicationRequest.md b/api_cc/docs/CreateApplicationRequest.md deleted file mode 100644 index 2a9e5839d..000000000 --- a/api_cc/docs/CreateApplicationRequest.md +++ /dev/null @@ -1,82 +0,0 @@ -# CreateApplicationRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | | [optional] - -## Methods - -### NewCreateApplicationRequest - -`func NewCreateApplicationRequest() *CreateApplicationRequest` - -NewCreateApplicationRequest instantiates a new CreateApplicationRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateApplicationRequestWithDefaults - -`func NewCreateApplicationRequestWithDefaults() *CreateApplicationRequest` - -NewCreateApplicationRequestWithDefaults instantiates a new CreateApplicationRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *CreateApplicationRequest) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *CreateApplicationRequest) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *CreateApplicationRequest) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *CreateApplicationRequest) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetDescription - -`func (o *CreateApplicationRequest) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *CreateApplicationRequest) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *CreateApplicationRequest) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *CreateApplicationRequest) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/CreateConnectorRequest.md b/api_cc/docs/CreateConnectorRequest.md deleted file mode 100644 index cf217c481..000000000 --- a/api_cc/docs/CreateConnectorRequest.md +++ /dev/null @@ -1,160 +0,0 @@ -# CreateConnectorRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | | [optional] -**ClassName** | Pointer to **string** | | [optional] -**DirectConnect** | Pointer to **bool** | | [optional] -**Status** | Pointer to **string** | | [optional] - -## Methods - -### NewCreateConnectorRequest - -`func NewCreateConnectorRequest() *CreateConnectorRequest` - -NewCreateConnectorRequest instantiates a new CreateConnectorRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateConnectorRequestWithDefaults - -`func NewCreateConnectorRequestWithDefaults() *CreateConnectorRequest` - -NewCreateConnectorRequestWithDefaults instantiates a new CreateConnectorRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *CreateConnectorRequest) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *CreateConnectorRequest) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *CreateConnectorRequest) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *CreateConnectorRequest) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetDescription - -`func (o *CreateConnectorRequest) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *CreateConnectorRequest) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *CreateConnectorRequest) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *CreateConnectorRequest) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetClassName - -`func (o *CreateConnectorRequest) GetClassName() string` - -GetClassName returns the ClassName field if non-nil, zero value otherwise. - -### GetClassNameOk - -`func (o *CreateConnectorRequest) GetClassNameOk() (*string, bool)` - -GetClassNameOk returns a tuple with the ClassName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetClassName - -`func (o *CreateConnectorRequest) SetClassName(v string)` - -SetClassName sets ClassName field to given value. - -### HasClassName - -`func (o *CreateConnectorRequest) HasClassName() bool` - -HasClassName returns a boolean if a field has been set. - -### GetDirectConnect - -`func (o *CreateConnectorRequest) GetDirectConnect() bool` - -GetDirectConnect returns the DirectConnect field if non-nil, zero value otherwise. - -### GetDirectConnectOk - -`func (o *CreateConnectorRequest) GetDirectConnectOk() (*bool, bool)` - -GetDirectConnectOk returns a tuple with the DirectConnect field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDirectConnect - -`func (o *CreateConnectorRequest) SetDirectConnect(v bool)` - -SetDirectConnect sets DirectConnect field to given value. - -### HasDirectConnect - -`func (o *CreateConnectorRequest) HasDirectConnect() bool` - -HasDirectConnect returns a boolean if a field has been set. - -### GetStatus - -`func (o *CreateConnectorRequest) GetStatus() string` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateConnectorRequest) GetStatusOk() (*string, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateConnectorRequest) SetStatus(v string)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *CreateConnectorRequest) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/GetApplication200Response.md b/api_cc/docs/GetApplication200Response.md deleted file mode 100644 index da599cc17..000000000 --- a/api_cc/docs/GetApplication200Response.md +++ /dev/null @@ -1,1330 +0,0 @@ -# GetApplication200Response - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **string** | | [optional] -**AppId** | Pointer to **string** | | [optional] -**ServiceId** | Pointer to **string** | | [optional] -**ServiceAppId** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | | [optional] -**AppCenterEnabled** | Pointer to **bool** | | [optional] -**ProvisionRequestEnabled** | Pointer to **bool** | | [optional] -**ControlType** | Pointer to **string** | | [optional] -**Mobile** | Pointer to **bool** | | [optional] -**PrivateApp** | Pointer to **bool** | | [optional] -**ScriptName** | Pointer to **string** | | [optional] -**Status** | Pointer to **string** | | [optional] -**Icon** | Pointer to **string** | | [optional] -**Health** | Pointer to [**ListApplications200ResponseInnerHealth**](ListApplications200ResponseInnerHealth.md) | | [optional] -**EnableSso** | Pointer to **bool** | | [optional] -**SsoMethod** | Pointer to **string** | | [optional] -**HasLinks** | Pointer to **bool** | | [optional] -**HasAutomations** | Pointer to **bool** | | [optional] -**StepUpAuthData** | Pointer to **map[string]interface{}** | | [optional] -**StepUpAuthType** | Pointer to **string** | | [optional] -**UsageAnalytics** | Pointer to **bool** | | [optional] -**UsageCertRequired** | Pointer to **bool** | | [optional] -**UsageCertText** | Pointer to **map[string]interface{}** | | [optional] -**LaunchpadEnabled** | Pointer to **bool** | | [optional] -**PasswordManaged** | Pointer to **bool** | | [optional] -**Owner** | Pointer to [**ListApplications200ResponseInnerOwner**](ListApplications200ResponseInnerOwner.md) | | [optional] -**DateCreated** | Pointer to **float32** | | [optional] -**LastUpdated** | Pointer to **float32** | | [optional] -**DefaultAccessProfile** | Pointer to **map[string]interface{}** | | [optional] -**Service** | Pointer to **string** | | [optional] -**SelectedSsoMethod** | Pointer to **string** | | [optional] -**SupportedSsoMethods** | Pointer to **float32** | | [optional] -**OffNetworkBlockedRoles** | Pointer to **map[string]interface{}** | | [optional] -**SupportedOffNetwork** | Pointer to **string** | | [optional] -**AccountServiceId** | Pointer to **float32** | | [optional] -**LauncherCount** | Pointer to **float32** | | [optional] -**AccountServiceName** | Pointer to **string** | | [optional] -**AccountServiceExternalId** | Pointer to **string** | | [optional] -**AccountServiceMatchAllAccounts** | Pointer to **bool** | | [optional] -**ExternalId** | Pointer to **string** | | [optional] -**AccountServiceUseForPasswordManagement** | Pointer to **bool** | | [optional] -**AccountServicePolicyId** | Pointer to **string** | | [optional] -**AccountServicePolicyName** | Pointer to **string** | | [optional] -**RequireStrongAuthn** | Pointer to **bool** | | [optional] -**AccountServicePolicies** | Pointer to [**[]ListApplications200ResponseInnerAccountServicePoliciesInner**](ListApplications200ResponseInnerAccountServicePoliciesInner.md) | | [optional] -**XsdVersion** | Pointer to **string** | | [optional] -**AppProfiles** | Pointer to [**[]ListApplications200ResponseInnerAppProfilesInner**](ListApplications200ResponseInnerAppProfilesInner.md) | | [optional] -**PasswordServiceId** | Pointer to **float32** | | [optional] -**AccessProfileIds** | Pointer to **map[string]interface{}** | | [optional] - -## Methods - -### NewGetApplication200Response - -`func NewGetApplication200Response() *GetApplication200Response` - -NewGetApplication200Response instantiates a new GetApplication200Response object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetApplication200ResponseWithDefaults - -`func NewGetApplication200ResponseWithDefaults() *GetApplication200Response` - -NewGetApplication200ResponseWithDefaults instantiates a new GetApplication200Response object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *GetApplication200Response) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *GetApplication200Response) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *GetApplication200Response) SetId(v string)` - -SetId sets Id field to given value. - -### HasId - -`func (o *GetApplication200Response) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetAppId - -`func (o *GetApplication200Response) GetAppId() string` - -GetAppId returns the AppId field if non-nil, zero value otherwise. - -### GetAppIdOk - -`func (o *GetApplication200Response) GetAppIdOk() (*string, bool)` - -GetAppIdOk returns a tuple with the AppId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppId - -`func (o *GetApplication200Response) SetAppId(v string)` - -SetAppId sets AppId field to given value. - -### HasAppId - -`func (o *GetApplication200Response) HasAppId() bool` - -HasAppId returns a boolean if a field has been set. - -### GetServiceId - -`func (o *GetApplication200Response) GetServiceId() string` - -GetServiceId returns the ServiceId field if non-nil, zero value otherwise. - -### GetServiceIdOk - -`func (o *GetApplication200Response) GetServiceIdOk() (*string, bool)` - -GetServiceIdOk returns a tuple with the ServiceId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetServiceId - -`func (o *GetApplication200Response) SetServiceId(v string)` - -SetServiceId sets ServiceId field to given value. - -### HasServiceId - -`func (o *GetApplication200Response) HasServiceId() bool` - -HasServiceId returns a boolean if a field has been set. - -### GetServiceAppId - -`func (o *GetApplication200Response) GetServiceAppId() string` - -GetServiceAppId returns the ServiceAppId field if non-nil, zero value otherwise. - -### GetServiceAppIdOk - -`func (o *GetApplication200Response) GetServiceAppIdOk() (*string, bool)` - -GetServiceAppIdOk returns a tuple with the ServiceAppId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetServiceAppId - -`func (o *GetApplication200Response) SetServiceAppId(v string)` - -SetServiceAppId sets ServiceAppId field to given value. - -### HasServiceAppId - -`func (o *GetApplication200Response) HasServiceAppId() bool` - -HasServiceAppId returns a boolean if a field has been set. - -### GetName - -`func (o *GetApplication200Response) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *GetApplication200Response) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *GetApplication200Response) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *GetApplication200Response) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetDescription - -`func (o *GetApplication200Response) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *GetApplication200Response) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *GetApplication200Response) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *GetApplication200Response) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetAppCenterEnabled - -`func (o *GetApplication200Response) GetAppCenterEnabled() bool` - -GetAppCenterEnabled returns the AppCenterEnabled field if non-nil, zero value otherwise. - -### GetAppCenterEnabledOk - -`func (o *GetApplication200Response) GetAppCenterEnabledOk() (*bool, bool)` - -GetAppCenterEnabledOk returns a tuple with the AppCenterEnabled field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppCenterEnabled - -`func (o *GetApplication200Response) SetAppCenterEnabled(v bool)` - -SetAppCenterEnabled sets AppCenterEnabled field to given value. - -### HasAppCenterEnabled - -`func (o *GetApplication200Response) HasAppCenterEnabled() bool` - -HasAppCenterEnabled returns a boolean if a field has been set. - -### GetProvisionRequestEnabled - -`func (o *GetApplication200Response) GetProvisionRequestEnabled() bool` - -GetProvisionRequestEnabled returns the ProvisionRequestEnabled field if non-nil, zero value otherwise. - -### GetProvisionRequestEnabledOk - -`func (o *GetApplication200Response) GetProvisionRequestEnabledOk() (*bool, bool)` - -GetProvisionRequestEnabledOk returns a tuple with the ProvisionRequestEnabled field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProvisionRequestEnabled - -`func (o *GetApplication200Response) SetProvisionRequestEnabled(v bool)` - -SetProvisionRequestEnabled sets ProvisionRequestEnabled field to given value. - -### HasProvisionRequestEnabled - -`func (o *GetApplication200Response) HasProvisionRequestEnabled() bool` - -HasProvisionRequestEnabled returns a boolean if a field has been set. - -### GetControlType - -`func (o *GetApplication200Response) GetControlType() string` - -GetControlType returns the ControlType field if non-nil, zero value otherwise. - -### GetControlTypeOk - -`func (o *GetApplication200Response) GetControlTypeOk() (*string, bool)` - -GetControlTypeOk returns a tuple with the ControlType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetControlType - -`func (o *GetApplication200Response) SetControlType(v string)` - -SetControlType sets ControlType field to given value. - -### HasControlType - -`func (o *GetApplication200Response) HasControlType() bool` - -HasControlType returns a boolean if a field has been set. - -### GetMobile - -`func (o *GetApplication200Response) GetMobile() bool` - -GetMobile returns the Mobile field if non-nil, zero value otherwise. - -### GetMobileOk - -`func (o *GetApplication200Response) GetMobileOk() (*bool, bool)` - -GetMobileOk returns a tuple with the Mobile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMobile - -`func (o *GetApplication200Response) SetMobile(v bool)` - -SetMobile sets Mobile field to given value. - -### HasMobile - -`func (o *GetApplication200Response) HasMobile() bool` - -HasMobile returns a boolean if a field has been set. - -### GetPrivateApp - -`func (o *GetApplication200Response) GetPrivateApp() bool` - -GetPrivateApp returns the PrivateApp field if non-nil, zero value otherwise. - -### GetPrivateAppOk - -`func (o *GetApplication200Response) GetPrivateAppOk() (*bool, bool)` - -GetPrivateAppOk returns a tuple with the PrivateApp field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPrivateApp - -`func (o *GetApplication200Response) SetPrivateApp(v bool)` - -SetPrivateApp sets PrivateApp field to given value. - -### HasPrivateApp - -`func (o *GetApplication200Response) HasPrivateApp() bool` - -HasPrivateApp returns a boolean if a field has been set. - -### GetScriptName - -`func (o *GetApplication200Response) GetScriptName() string` - -GetScriptName returns the ScriptName field if non-nil, zero value otherwise. - -### GetScriptNameOk - -`func (o *GetApplication200Response) GetScriptNameOk() (*string, bool)` - -GetScriptNameOk returns a tuple with the ScriptName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScriptName - -`func (o *GetApplication200Response) SetScriptName(v string)` - -SetScriptName sets ScriptName field to given value. - -### HasScriptName - -`func (o *GetApplication200Response) HasScriptName() bool` - -HasScriptName returns a boolean if a field has been set. - -### GetStatus - -`func (o *GetApplication200Response) GetStatus() string` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetApplication200Response) GetStatusOk() (*string, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetApplication200Response) SetStatus(v string)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *GetApplication200Response) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetIcon - -`func (o *GetApplication200Response) GetIcon() string` - -GetIcon returns the Icon field if non-nil, zero value otherwise. - -### GetIconOk - -`func (o *GetApplication200Response) GetIconOk() (*string, bool)` - -GetIconOk returns a tuple with the Icon field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIcon - -`func (o *GetApplication200Response) SetIcon(v string)` - -SetIcon sets Icon field to given value. - -### HasIcon - -`func (o *GetApplication200Response) HasIcon() bool` - -HasIcon returns a boolean if a field has been set. - -### GetHealth - -`func (o *GetApplication200Response) GetHealth() ListApplications200ResponseInnerHealth` - -GetHealth returns the Health field if non-nil, zero value otherwise. - -### GetHealthOk - -`func (o *GetApplication200Response) GetHealthOk() (*ListApplications200ResponseInnerHealth, bool)` - -GetHealthOk returns a tuple with the Health field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHealth - -`func (o *GetApplication200Response) SetHealth(v ListApplications200ResponseInnerHealth)` - -SetHealth sets Health field to given value. - -### HasHealth - -`func (o *GetApplication200Response) HasHealth() bool` - -HasHealth returns a boolean if a field has been set. - -### GetEnableSso - -`func (o *GetApplication200Response) GetEnableSso() bool` - -GetEnableSso returns the EnableSso field if non-nil, zero value otherwise. - -### GetEnableSsoOk - -`func (o *GetApplication200Response) GetEnableSsoOk() (*bool, bool)` - -GetEnableSsoOk returns a tuple with the EnableSso field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableSso - -`func (o *GetApplication200Response) SetEnableSso(v bool)` - -SetEnableSso sets EnableSso field to given value. - -### HasEnableSso - -`func (o *GetApplication200Response) HasEnableSso() bool` - -HasEnableSso returns a boolean if a field has been set. - -### GetSsoMethod - -`func (o *GetApplication200Response) GetSsoMethod() string` - -GetSsoMethod returns the SsoMethod field if non-nil, zero value otherwise. - -### GetSsoMethodOk - -`func (o *GetApplication200Response) GetSsoMethodOk() (*string, bool)` - -GetSsoMethodOk returns a tuple with the SsoMethod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSsoMethod - -`func (o *GetApplication200Response) SetSsoMethod(v string)` - -SetSsoMethod sets SsoMethod field to given value. - -### HasSsoMethod - -`func (o *GetApplication200Response) HasSsoMethod() bool` - -HasSsoMethod returns a boolean if a field has been set. - -### GetHasLinks - -`func (o *GetApplication200Response) GetHasLinks() bool` - -GetHasLinks returns the HasLinks field if non-nil, zero value otherwise. - -### GetHasLinksOk - -`func (o *GetApplication200Response) GetHasLinksOk() (*bool, bool)` - -GetHasLinksOk returns a tuple with the HasLinks field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasLinks - -`func (o *GetApplication200Response) SetHasLinks(v bool)` - -SetHasLinks sets HasLinks field to given value. - -### HasHasLinks - -`func (o *GetApplication200Response) HasHasLinks() bool` - -HasHasLinks returns a boolean if a field has been set. - -### GetHasAutomations - -`func (o *GetApplication200Response) GetHasAutomations() bool` - -GetHasAutomations returns the HasAutomations field if non-nil, zero value otherwise. - -### GetHasAutomationsOk - -`func (o *GetApplication200Response) GetHasAutomationsOk() (*bool, bool)` - -GetHasAutomationsOk returns a tuple with the HasAutomations field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasAutomations - -`func (o *GetApplication200Response) SetHasAutomations(v bool)` - -SetHasAutomations sets HasAutomations field to given value. - -### HasHasAutomations - -`func (o *GetApplication200Response) HasHasAutomations() bool` - -HasHasAutomations returns a boolean if a field has been set. - -### GetStepUpAuthData - -`func (o *GetApplication200Response) GetStepUpAuthData() map[string]interface{}` - -GetStepUpAuthData returns the StepUpAuthData field if non-nil, zero value otherwise. - -### GetStepUpAuthDataOk - -`func (o *GetApplication200Response) GetStepUpAuthDataOk() (*map[string]interface{}, bool)` - -GetStepUpAuthDataOk returns a tuple with the StepUpAuthData field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStepUpAuthData - -`func (o *GetApplication200Response) SetStepUpAuthData(v map[string]interface{})` - -SetStepUpAuthData sets StepUpAuthData field to given value. - -### HasStepUpAuthData - -`func (o *GetApplication200Response) HasStepUpAuthData() bool` - -HasStepUpAuthData returns a boolean if a field has been set. - -### GetStepUpAuthType - -`func (o *GetApplication200Response) GetStepUpAuthType() string` - -GetStepUpAuthType returns the StepUpAuthType field if non-nil, zero value otherwise. - -### GetStepUpAuthTypeOk - -`func (o *GetApplication200Response) GetStepUpAuthTypeOk() (*string, bool)` - -GetStepUpAuthTypeOk returns a tuple with the StepUpAuthType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStepUpAuthType - -`func (o *GetApplication200Response) SetStepUpAuthType(v string)` - -SetStepUpAuthType sets StepUpAuthType field to given value. - -### HasStepUpAuthType - -`func (o *GetApplication200Response) HasStepUpAuthType() bool` - -HasStepUpAuthType returns a boolean if a field has been set. - -### GetUsageAnalytics - -`func (o *GetApplication200Response) GetUsageAnalytics() bool` - -GetUsageAnalytics returns the UsageAnalytics field if non-nil, zero value otherwise. - -### GetUsageAnalyticsOk - -`func (o *GetApplication200Response) GetUsageAnalyticsOk() (*bool, bool)` - -GetUsageAnalyticsOk returns a tuple with the UsageAnalytics field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageAnalytics - -`func (o *GetApplication200Response) SetUsageAnalytics(v bool)` - -SetUsageAnalytics sets UsageAnalytics field to given value. - -### HasUsageAnalytics - -`func (o *GetApplication200Response) HasUsageAnalytics() bool` - -HasUsageAnalytics returns a boolean if a field has been set. - -### GetUsageCertRequired - -`func (o *GetApplication200Response) GetUsageCertRequired() bool` - -GetUsageCertRequired returns the UsageCertRequired field if non-nil, zero value otherwise. - -### GetUsageCertRequiredOk - -`func (o *GetApplication200Response) GetUsageCertRequiredOk() (*bool, bool)` - -GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageCertRequired - -`func (o *GetApplication200Response) SetUsageCertRequired(v bool)` - -SetUsageCertRequired sets UsageCertRequired field to given value. - -### HasUsageCertRequired - -`func (o *GetApplication200Response) HasUsageCertRequired() bool` - -HasUsageCertRequired returns a boolean if a field has been set. - -### GetUsageCertText - -`func (o *GetApplication200Response) GetUsageCertText() map[string]interface{}` - -GetUsageCertText returns the UsageCertText field if non-nil, zero value otherwise. - -### GetUsageCertTextOk - -`func (o *GetApplication200Response) GetUsageCertTextOk() (*map[string]interface{}, bool)` - -GetUsageCertTextOk returns a tuple with the UsageCertText field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageCertText - -`func (o *GetApplication200Response) SetUsageCertText(v map[string]interface{})` - -SetUsageCertText sets UsageCertText field to given value. - -### HasUsageCertText - -`func (o *GetApplication200Response) HasUsageCertText() bool` - -HasUsageCertText returns a boolean if a field has been set. - -### GetLaunchpadEnabled - -`func (o *GetApplication200Response) GetLaunchpadEnabled() bool` - -GetLaunchpadEnabled returns the LaunchpadEnabled field if non-nil, zero value otherwise. - -### GetLaunchpadEnabledOk - -`func (o *GetApplication200Response) GetLaunchpadEnabledOk() (*bool, bool)` - -GetLaunchpadEnabledOk returns a tuple with the LaunchpadEnabled field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLaunchpadEnabled - -`func (o *GetApplication200Response) SetLaunchpadEnabled(v bool)` - -SetLaunchpadEnabled sets LaunchpadEnabled field to given value. - -### HasLaunchpadEnabled - -`func (o *GetApplication200Response) HasLaunchpadEnabled() bool` - -HasLaunchpadEnabled returns a boolean if a field has been set. - -### GetPasswordManaged - -`func (o *GetApplication200Response) GetPasswordManaged() bool` - -GetPasswordManaged returns the PasswordManaged field if non-nil, zero value otherwise. - -### GetPasswordManagedOk - -`func (o *GetApplication200Response) GetPasswordManagedOk() (*bool, bool)` - -GetPasswordManagedOk returns a tuple with the PasswordManaged field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordManaged - -`func (o *GetApplication200Response) SetPasswordManaged(v bool)` - -SetPasswordManaged sets PasswordManaged field to given value. - -### HasPasswordManaged - -`func (o *GetApplication200Response) HasPasswordManaged() bool` - -HasPasswordManaged returns a boolean if a field has been set. - -### GetOwner - -`func (o *GetApplication200Response) GetOwner() ListApplications200ResponseInnerOwner` - -GetOwner returns the Owner field if non-nil, zero value otherwise. - -### GetOwnerOk - -`func (o *GetApplication200Response) GetOwnerOk() (*ListApplications200ResponseInnerOwner, bool)` - -GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOwner - -`func (o *GetApplication200Response) SetOwner(v ListApplications200ResponseInnerOwner)` - -SetOwner sets Owner field to given value. - -### HasOwner - -`func (o *GetApplication200Response) HasOwner() bool` - -HasOwner returns a boolean if a field has been set. - -### GetDateCreated - -`func (o *GetApplication200Response) GetDateCreated() float32` - -GetDateCreated returns the DateCreated field if non-nil, zero value otherwise. - -### GetDateCreatedOk - -`func (o *GetApplication200Response) GetDateCreatedOk() (*float32, bool)` - -GetDateCreatedOk returns a tuple with the DateCreated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDateCreated - -`func (o *GetApplication200Response) SetDateCreated(v float32)` - -SetDateCreated sets DateCreated field to given value. - -### HasDateCreated - -`func (o *GetApplication200Response) HasDateCreated() bool` - -HasDateCreated returns a boolean if a field has been set. - -### GetLastUpdated - -`func (o *GetApplication200Response) GetLastUpdated() float32` - -GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. - -### GetLastUpdatedOk - -`func (o *GetApplication200Response) GetLastUpdatedOk() (*float32, bool)` - -GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLastUpdated - -`func (o *GetApplication200Response) SetLastUpdated(v float32)` - -SetLastUpdated sets LastUpdated field to given value. - -### HasLastUpdated - -`func (o *GetApplication200Response) HasLastUpdated() bool` - -HasLastUpdated returns a boolean if a field has been set. - -### GetDefaultAccessProfile - -`func (o *GetApplication200Response) GetDefaultAccessProfile() map[string]interface{}` - -GetDefaultAccessProfile returns the DefaultAccessProfile field if non-nil, zero value otherwise. - -### GetDefaultAccessProfileOk - -`func (o *GetApplication200Response) GetDefaultAccessProfileOk() (*map[string]interface{}, bool)` - -GetDefaultAccessProfileOk returns a tuple with the DefaultAccessProfile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDefaultAccessProfile - -`func (o *GetApplication200Response) SetDefaultAccessProfile(v map[string]interface{})` - -SetDefaultAccessProfile sets DefaultAccessProfile field to given value. - -### HasDefaultAccessProfile - -`func (o *GetApplication200Response) HasDefaultAccessProfile() bool` - -HasDefaultAccessProfile returns a boolean if a field has been set. - -### GetService - -`func (o *GetApplication200Response) GetService() string` - -GetService returns the Service field if non-nil, zero value otherwise. - -### GetServiceOk - -`func (o *GetApplication200Response) GetServiceOk() (*string, bool)` - -GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetService - -`func (o *GetApplication200Response) SetService(v string)` - -SetService sets Service field to given value. - -### HasService - -`func (o *GetApplication200Response) HasService() bool` - -HasService returns a boolean if a field has been set. - -### GetSelectedSsoMethod - -`func (o *GetApplication200Response) GetSelectedSsoMethod() string` - -GetSelectedSsoMethod returns the SelectedSsoMethod field if non-nil, zero value otherwise. - -### GetSelectedSsoMethodOk - -`func (o *GetApplication200Response) GetSelectedSsoMethodOk() (*string, bool)` - -GetSelectedSsoMethodOk returns a tuple with the SelectedSsoMethod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelectedSsoMethod - -`func (o *GetApplication200Response) SetSelectedSsoMethod(v string)` - -SetSelectedSsoMethod sets SelectedSsoMethod field to given value. - -### HasSelectedSsoMethod - -`func (o *GetApplication200Response) HasSelectedSsoMethod() bool` - -HasSelectedSsoMethod returns a boolean if a field has been set. - -### GetSupportedSsoMethods - -`func (o *GetApplication200Response) GetSupportedSsoMethods() float32` - -GetSupportedSsoMethods returns the SupportedSsoMethods field if non-nil, zero value otherwise. - -### GetSupportedSsoMethodsOk - -`func (o *GetApplication200Response) GetSupportedSsoMethodsOk() (*float32, bool)` - -GetSupportedSsoMethodsOk returns a tuple with the SupportedSsoMethods field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSupportedSsoMethods - -`func (o *GetApplication200Response) SetSupportedSsoMethods(v float32)` - -SetSupportedSsoMethods sets SupportedSsoMethods field to given value. - -### HasSupportedSsoMethods - -`func (o *GetApplication200Response) HasSupportedSsoMethods() bool` - -HasSupportedSsoMethods returns a boolean if a field has been set. - -### GetOffNetworkBlockedRoles - -`func (o *GetApplication200Response) GetOffNetworkBlockedRoles() map[string]interface{}` - -GetOffNetworkBlockedRoles returns the OffNetworkBlockedRoles field if non-nil, zero value otherwise. - -### GetOffNetworkBlockedRolesOk - -`func (o *GetApplication200Response) GetOffNetworkBlockedRolesOk() (*map[string]interface{}, bool)` - -GetOffNetworkBlockedRolesOk returns a tuple with the OffNetworkBlockedRoles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOffNetworkBlockedRoles - -`func (o *GetApplication200Response) SetOffNetworkBlockedRoles(v map[string]interface{})` - -SetOffNetworkBlockedRoles sets OffNetworkBlockedRoles field to given value. - -### HasOffNetworkBlockedRoles - -`func (o *GetApplication200Response) HasOffNetworkBlockedRoles() bool` - -HasOffNetworkBlockedRoles returns a boolean if a field has been set. - -### GetSupportedOffNetwork - -`func (o *GetApplication200Response) GetSupportedOffNetwork() string` - -GetSupportedOffNetwork returns the SupportedOffNetwork field if non-nil, zero value otherwise. - -### GetSupportedOffNetworkOk - -`func (o *GetApplication200Response) GetSupportedOffNetworkOk() (*string, bool)` - -GetSupportedOffNetworkOk returns a tuple with the SupportedOffNetwork field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSupportedOffNetwork - -`func (o *GetApplication200Response) SetSupportedOffNetwork(v string)` - -SetSupportedOffNetwork sets SupportedOffNetwork field to given value. - -### HasSupportedOffNetwork - -`func (o *GetApplication200Response) HasSupportedOffNetwork() bool` - -HasSupportedOffNetwork returns a boolean if a field has been set. - -### GetAccountServiceId - -`func (o *GetApplication200Response) GetAccountServiceId() float32` - -GetAccountServiceId returns the AccountServiceId field if non-nil, zero value otherwise. - -### GetAccountServiceIdOk - -`func (o *GetApplication200Response) GetAccountServiceIdOk() (*float32, bool)` - -GetAccountServiceIdOk returns a tuple with the AccountServiceId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceId - -`func (o *GetApplication200Response) SetAccountServiceId(v float32)` - -SetAccountServiceId sets AccountServiceId field to given value. - -### HasAccountServiceId - -`func (o *GetApplication200Response) HasAccountServiceId() bool` - -HasAccountServiceId returns a boolean if a field has been set. - -### GetLauncherCount - -`func (o *GetApplication200Response) GetLauncherCount() float32` - -GetLauncherCount returns the LauncherCount field if non-nil, zero value otherwise. - -### GetLauncherCountOk - -`func (o *GetApplication200Response) GetLauncherCountOk() (*float32, bool)` - -GetLauncherCountOk returns a tuple with the LauncherCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLauncherCount - -`func (o *GetApplication200Response) SetLauncherCount(v float32)` - -SetLauncherCount sets LauncherCount field to given value. - -### HasLauncherCount - -`func (o *GetApplication200Response) HasLauncherCount() bool` - -HasLauncherCount returns a boolean if a field has been set. - -### GetAccountServiceName - -`func (o *GetApplication200Response) GetAccountServiceName() string` - -GetAccountServiceName returns the AccountServiceName field if non-nil, zero value otherwise. - -### GetAccountServiceNameOk - -`func (o *GetApplication200Response) GetAccountServiceNameOk() (*string, bool)` - -GetAccountServiceNameOk returns a tuple with the AccountServiceName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceName - -`func (o *GetApplication200Response) SetAccountServiceName(v string)` - -SetAccountServiceName sets AccountServiceName field to given value. - -### HasAccountServiceName - -`func (o *GetApplication200Response) HasAccountServiceName() bool` - -HasAccountServiceName returns a boolean if a field has been set. - -### GetAccountServiceExternalId - -`func (o *GetApplication200Response) GetAccountServiceExternalId() string` - -GetAccountServiceExternalId returns the AccountServiceExternalId field if non-nil, zero value otherwise. - -### GetAccountServiceExternalIdOk - -`func (o *GetApplication200Response) GetAccountServiceExternalIdOk() (*string, bool)` - -GetAccountServiceExternalIdOk returns a tuple with the AccountServiceExternalId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceExternalId - -`func (o *GetApplication200Response) SetAccountServiceExternalId(v string)` - -SetAccountServiceExternalId sets AccountServiceExternalId field to given value. - -### HasAccountServiceExternalId - -`func (o *GetApplication200Response) HasAccountServiceExternalId() bool` - -HasAccountServiceExternalId returns a boolean if a field has been set. - -### GetAccountServiceMatchAllAccounts - -`func (o *GetApplication200Response) GetAccountServiceMatchAllAccounts() bool` - -GetAccountServiceMatchAllAccounts returns the AccountServiceMatchAllAccounts field if non-nil, zero value otherwise. - -### GetAccountServiceMatchAllAccountsOk - -`func (o *GetApplication200Response) GetAccountServiceMatchAllAccountsOk() (*bool, bool)` - -GetAccountServiceMatchAllAccountsOk returns a tuple with the AccountServiceMatchAllAccounts field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceMatchAllAccounts - -`func (o *GetApplication200Response) SetAccountServiceMatchAllAccounts(v bool)` - -SetAccountServiceMatchAllAccounts sets AccountServiceMatchAllAccounts field to given value. - -### HasAccountServiceMatchAllAccounts - -`func (o *GetApplication200Response) HasAccountServiceMatchAllAccounts() bool` - -HasAccountServiceMatchAllAccounts returns a boolean if a field has been set. - -### GetExternalId - -`func (o *GetApplication200Response) GetExternalId() string` - -GetExternalId returns the ExternalId field if non-nil, zero value otherwise. - -### GetExternalIdOk - -`func (o *GetApplication200Response) GetExternalIdOk() (*string, bool)` - -GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExternalId - -`func (o *GetApplication200Response) SetExternalId(v string)` - -SetExternalId sets ExternalId field to given value. - -### HasExternalId - -`func (o *GetApplication200Response) HasExternalId() bool` - -HasExternalId returns a boolean if a field has been set. - -### GetAccountServiceUseForPasswordManagement - -`func (o *GetApplication200Response) GetAccountServiceUseForPasswordManagement() bool` - -GetAccountServiceUseForPasswordManagement returns the AccountServiceUseForPasswordManagement field if non-nil, zero value otherwise. - -### GetAccountServiceUseForPasswordManagementOk - -`func (o *GetApplication200Response) GetAccountServiceUseForPasswordManagementOk() (*bool, bool)` - -GetAccountServiceUseForPasswordManagementOk returns a tuple with the AccountServiceUseForPasswordManagement field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceUseForPasswordManagement - -`func (o *GetApplication200Response) SetAccountServiceUseForPasswordManagement(v bool)` - -SetAccountServiceUseForPasswordManagement sets AccountServiceUseForPasswordManagement field to given value. - -### HasAccountServiceUseForPasswordManagement - -`func (o *GetApplication200Response) HasAccountServiceUseForPasswordManagement() bool` - -HasAccountServiceUseForPasswordManagement returns a boolean if a field has been set. - -### GetAccountServicePolicyId - -`func (o *GetApplication200Response) GetAccountServicePolicyId() string` - -GetAccountServicePolicyId returns the AccountServicePolicyId field if non-nil, zero value otherwise. - -### GetAccountServicePolicyIdOk - -`func (o *GetApplication200Response) GetAccountServicePolicyIdOk() (*string, bool)` - -GetAccountServicePolicyIdOk returns a tuple with the AccountServicePolicyId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServicePolicyId - -`func (o *GetApplication200Response) SetAccountServicePolicyId(v string)` - -SetAccountServicePolicyId sets AccountServicePolicyId field to given value. - -### HasAccountServicePolicyId - -`func (o *GetApplication200Response) HasAccountServicePolicyId() bool` - -HasAccountServicePolicyId returns a boolean if a field has been set. - -### GetAccountServicePolicyName - -`func (o *GetApplication200Response) GetAccountServicePolicyName() string` - -GetAccountServicePolicyName returns the AccountServicePolicyName field if non-nil, zero value otherwise. - -### GetAccountServicePolicyNameOk - -`func (o *GetApplication200Response) GetAccountServicePolicyNameOk() (*string, bool)` - -GetAccountServicePolicyNameOk returns a tuple with the AccountServicePolicyName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServicePolicyName - -`func (o *GetApplication200Response) SetAccountServicePolicyName(v string)` - -SetAccountServicePolicyName sets AccountServicePolicyName field to given value. - -### HasAccountServicePolicyName - -`func (o *GetApplication200Response) HasAccountServicePolicyName() bool` - -HasAccountServicePolicyName returns a boolean if a field has been set. - -### GetRequireStrongAuthn - -`func (o *GetApplication200Response) GetRequireStrongAuthn() bool` - -GetRequireStrongAuthn returns the RequireStrongAuthn field if non-nil, zero value otherwise. - -### GetRequireStrongAuthnOk - -`func (o *GetApplication200Response) GetRequireStrongAuthnOk() (*bool, bool)` - -GetRequireStrongAuthnOk returns a tuple with the RequireStrongAuthn field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRequireStrongAuthn - -`func (o *GetApplication200Response) SetRequireStrongAuthn(v bool)` - -SetRequireStrongAuthn sets RequireStrongAuthn field to given value. - -### HasRequireStrongAuthn - -`func (o *GetApplication200Response) HasRequireStrongAuthn() bool` - -HasRequireStrongAuthn returns a boolean if a field has been set. - -### GetAccountServicePolicies - -`func (o *GetApplication200Response) GetAccountServicePolicies() []ListApplications200ResponseInnerAccountServicePoliciesInner` - -GetAccountServicePolicies returns the AccountServicePolicies field if non-nil, zero value otherwise. - -### GetAccountServicePoliciesOk - -`func (o *GetApplication200Response) GetAccountServicePoliciesOk() (*[]ListApplications200ResponseInnerAccountServicePoliciesInner, bool)` - -GetAccountServicePoliciesOk returns a tuple with the AccountServicePolicies field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServicePolicies - -`func (o *GetApplication200Response) SetAccountServicePolicies(v []ListApplications200ResponseInnerAccountServicePoliciesInner)` - -SetAccountServicePolicies sets AccountServicePolicies field to given value. - -### HasAccountServicePolicies - -`func (o *GetApplication200Response) HasAccountServicePolicies() bool` - -HasAccountServicePolicies returns a boolean if a field has been set. - -### GetXsdVersion - -`func (o *GetApplication200Response) GetXsdVersion() string` - -GetXsdVersion returns the XsdVersion field if non-nil, zero value otherwise. - -### GetXsdVersionOk - -`func (o *GetApplication200Response) GetXsdVersionOk() (*string, bool)` - -GetXsdVersionOk returns a tuple with the XsdVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetXsdVersion - -`func (o *GetApplication200Response) SetXsdVersion(v string)` - -SetXsdVersion sets XsdVersion field to given value. - -### HasXsdVersion - -`func (o *GetApplication200Response) HasXsdVersion() bool` - -HasXsdVersion returns a boolean if a field has been set. - -### GetAppProfiles - -`func (o *GetApplication200Response) GetAppProfiles() []ListApplications200ResponseInnerAppProfilesInner` - -GetAppProfiles returns the AppProfiles field if non-nil, zero value otherwise. - -### GetAppProfilesOk - -`func (o *GetApplication200Response) GetAppProfilesOk() (*[]ListApplications200ResponseInnerAppProfilesInner, bool)` - -GetAppProfilesOk returns a tuple with the AppProfiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppProfiles - -`func (o *GetApplication200Response) SetAppProfiles(v []ListApplications200ResponseInnerAppProfilesInner)` - -SetAppProfiles sets AppProfiles field to given value. - -### HasAppProfiles - -`func (o *GetApplication200Response) HasAppProfiles() bool` - -HasAppProfiles returns a boolean if a field has been set. - -### GetPasswordServiceId - -`func (o *GetApplication200Response) GetPasswordServiceId() float32` - -GetPasswordServiceId returns the PasswordServiceId field if non-nil, zero value otherwise. - -### GetPasswordServiceIdOk - -`func (o *GetApplication200Response) GetPasswordServiceIdOk() (*float32, bool)` - -GetPasswordServiceIdOk returns a tuple with the PasswordServiceId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordServiceId - -`func (o *GetApplication200Response) SetPasswordServiceId(v float32)` - -SetPasswordServiceId sets PasswordServiceId field to given value. - -### HasPasswordServiceId - -`func (o *GetApplication200Response) HasPasswordServiceId() bool` - -HasPasswordServiceId returns a boolean if a field has been set. - -### GetAccessProfileIds - -`func (o *GetApplication200Response) GetAccessProfileIds() map[string]interface{}` - -GetAccessProfileIds returns the AccessProfileIds field if non-nil, zero value otherwise. - -### GetAccessProfileIdsOk - -`func (o *GetApplication200Response) GetAccessProfileIdsOk() (*map[string]interface{}, bool)` - -GetAccessProfileIdsOk returns a tuple with the AccessProfileIds field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccessProfileIds - -`func (o *GetApplication200Response) SetAccessProfileIds(v map[string]interface{})` - -SetAccessProfileIds sets AccessProfileIds field to given value. - -### HasAccessProfileIds - -`func (o *GetApplication200Response) HasAccessProfileIds() bool` - -HasAccessProfileIds returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/GetIdentity200Response.md b/api_cc/docs/GetIdentity200Response.md deleted file mode 100644 index 9f888e4e3..000000000 --- a/api_cc/docs/GetIdentity200Response.md +++ /dev/null @@ -1,1096 +0,0 @@ -# GetIdentity200Response - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **string** | | [optional] -**Alias** | Pointer to **string** | | [optional] -**Uid** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | | [optional] -**DisplayName** | Pointer to **string** | | [optional] -**Uuid** | Pointer to **string** | | [optional] -**EncryptionKey** | Pointer to **map[string]interface{}** | | [optional] -**EncryptionCheck** | Pointer to **map[string]interface{}** | | [optional] -**Status** | Pointer to **string** | | [optional] -**Pending** | Pointer to **bool** | | [optional] -**PasswordResetSinceLastLogin** | Pointer to **bool** | | [optional] -**UsageCertAttested** | Pointer to **map[string]interface{}** | | [optional] -**UserFlags** | Pointer to **map[string]interface{}** | | [optional] -**Enabled** | Pointer to **bool** | | [optional] -**AltAuthVia** | Pointer to **string** | | [optional] -**AltAuthViaIntegrationData** | Pointer to **map[string]interface{}** | | [optional] -**KbaAnswers** | Pointer to **float32** | | [optional] -**DisablePasswordReset** | Pointer to **bool** | | [optional] -**PtaSourceId** | Pointer to **map[string]interface{}** | | [optional] -**SupportsPasswordPush** | Pointer to **bool** | | [optional] -**Attributes** | Pointer to **map[string]interface{}** | | [optional] -**ExternalId** | Pointer to **string** | | [optional] -**Role** | Pointer to **[]map[string]interface{}** | | [optional] -**Phone** | Pointer to **map[string]interface{}** | | [optional] -**Email** | Pointer to **string** | | [optional] -**PersonalEmail** | Pointer to **map[string]interface{}** | | [optional] -**EmployeeNumber** | Pointer to **map[string]interface{}** | | [optional] -**RiskScore** | Pointer to **float32** | | [optional] -**FeatureFlags** | Pointer to **map[string]interface{}** | | [optional] -**Feature** | Pointer to **[]string** | | [optional] -**OrgEncryptionKey** | Pointer to **string** | | [optional] -**OrgEncryptionKeyId** | Pointer to **string** | | [optional] -**Meta** | Pointer to **map[string]interface{}** | | [optional] -**Org** | Pointer to [**GetIdentity200ResponseOrg**](GetIdentity200ResponseOrg.md) | | [optional] -**StepUpAuth** | Pointer to **bool** | | [optional] -**BxInstallPrompted** | Pointer to **bool** | | [optional] -**FederatedLogin** | Pointer to **bool** | | [optional] -**Auth** | Pointer to [**GetIdentity200ResponseAuth**](GetIdentity200ResponseAuth.md) | | [optional] -**OnNetwork** | Pointer to **bool** | | [optional] -**OnTrustedGeo** | Pointer to **bool** | | [optional] -**LoginUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewGetIdentity200Response - -`func NewGetIdentity200Response() *GetIdentity200Response` - -NewGetIdentity200Response instantiates a new GetIdentity200Response object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetIdentity200ResponseWithDefaults - -`func NewGetIdentity200ResponseWithDefaults() *GetIdentity200Response` - -NewGetIdentity200ResponseWithDefaults instantiates a new GetIdentity200Response object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *GetIdentity200Response) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *GetIdentity200Response) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *GetIdentity200Response) SetId(v string)` - -SetId sets Id field to given value. - -### HasId - -`func (o *GetIdentity200Response) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetAlias - -`func (o *GetIdentity200Response) GetAlias() string` - -GetAlias returns the Alias field if non-nil, zero value otherwise. - -### GetAliasOk - -`func (o *GetIdentity200Response) GetAliasOk() (*string, bool)` - -GetAliasOk returns a tuple with the Alias field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAlias - -`func (o *GetIdentity200Response) SetAlias(v string)` - -SetAlias sets Alias field to given value. - -### HasAlias - -`func (o *GetIdentity200Response) HasAlias() bool` - -HasAlias returns a boolean if a field has been set. - -### GetUid - -`func (o *GetIdentity200Response) GetUid() string` - -GetUid returns the Uid field if non-nil, zero value otherwise. - -### GetUidOk - -`func (o *GetIdentity200Response) GetUidOk() (*string, bool)` - -GetUidOk returns a tuple with the Uid field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUid - -`func (o *GetIdentity200Response) SetUid(v string)` - -SetUid sets Uid field to given value. - -### HasUid - -`func (o *GetIdentity200Response) HasUid() bool` - -HasUid returns a boolean if a field has been set. - -### GetName - -`func (o *GetIdentity200Response) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *GetIdentity200Response) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *GetIdentity200Response) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *GetIdentity200Response) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetDisplayName - -`func (o *GetIdentity200Response) GetDisplayName() string` - -GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. - -### GetDisplayNameOk - -`func (o *GetIdentity200Response) GetDisplayNameOk() (*string, bool)` - -GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDisplayName - -`func (o *GetIdentity200Response) SetDisplayName(v string)` - -SetDisplayName sets DisplayName field to given value. - -### HasDisplayName - -`func (o *GetIdentity200Response) HasDisplayName() bool` - -HasDisplayName returns a boolean if a field has been set. - -### GetUuid - -`func (o *GetIdentity200Response) GetUuid() string` - -GetUuid returns the Uuid field if non-nil, zero value otherwise. - -### GetUuidOk - -`func (o *GetIdentity200Response) GetUuidOk() (*string, bool)` - -GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUuid - -`func (o *GetIdentity200Response) SetUuid(v string)` - -SetUuid sets Uuid field to given value. - -### HasUuid - -`func (o *GetIdentity200Response) HasUuid() bool` - -HasUuid returns a boolean if a field has been set. - -### GetEncryptionKey - -`func (o *GetIdentity200Response) GetEncryptionKey() map[string]interface{}` - -GetEncryptionKey returns the EncryptionKey field if non-nil, zero value otherwise. - -### GetEncryptionKeyOk - -`func (o *GetIdentity200Response) GetEncryptionKeyOk() (*map[string]interface{}, bool)` - -GetEncryptionKeyOk returns a tuple with the EncryptionKey field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEncryptionKey - -`func (o *GetIdentity200Response) SetEncryptionKey(v map[string]interface{})` - -SetEncryptionKey sets EncryptionKey field to given value. - -### HasEncryptionKey - -`func (o *GetIdentity200Response) HasEncryptionKey() bool` - -HasEncryptionKey returns a boolean if a field has been set. - -### GetEncryptionCheck - -`func (o *GetIdentity200Response) GetEncryptionCheck() map[string]interface{}` - -GetEncryptionCheck returns the EncryptionCheck field if non-nil, zero value otherwise. - -### GetEncryptionCheckOk - -`func (o *GetIdentity200Response) GetEncryptionCheckOk() (*map[string]interface{}, bool)` - -GetEncryptionCheckOk returns a tuple with the EncryptionCheck field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEncryptionCheck - -`func (o *GetIdentity200Response) SetEncryptionCheck(v map[string]interface{})` - -SetEncryptionCheck sets EncryptionCheck field to given value. - -### HasEncryptionCheck - -`func (o *GetIdentity200Response) HasEncryptionCheck() bool` - -HasEncryptionCheck returns a boolean if a field has been set. - -### GetStatus - -`func (o *GetIdentity200Response) GetStatus() string` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetIdentity200Response) GetStatusOk() (*string, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetIdentity200Response) SetStatus(v string)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *GetIdentity200Response) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetPending - -`func (o *GetIdentity200Response) GetPending() bool` - -GetPending returns the Pending field if non-nil, zero value otherwise. - -### GetPendingOk - -`func (o *GetIdentity200Response) GetPendingOk() (*bool, bool)` - -GetPendingOk returns a tuple with the Pending field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPending - -`func (o *GetIdentity200Response) SetPending(v bool)` - -SetPending sets Pending field to given value. - -### HasPending - -`func (o *GetIdentity200Response) HasPending() bool` - -HasPending returns a boolean if a field has been set. - -### GetPasswordResetSinceLastLogin - -`func (o *GetIdentity200Response) GetPasswordResetSinceLastLogin() bool` - -GetPasswordResetSinceLastLogin returns the PasswordResetSinceLastLogin field if non-nil, zero value otherwise. - -### GetPasswordResetSinceLastLoginOk - -`func (o *GetIdentity200Response) GetPasswordResetSinceLastLoginOk() (*bool, bool)` - -GetPasswordResetSinceLastLoginOk returns a tuple with the PasswordResetSinceLastLogin field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordResetSinceLastLogin - -`func (o *GetIdentity200Response) SetPasswordResetSinceLastLogin(v bool)` - -SetPasswordResetSinceLastLogin sets PasswordResetSinceLastLogin field to given value. - -### HasPasswordResetSinceLastLogin - -`func (o *GetIdentity200Response) HasPasswordResetSinceLastLogin() bool` - -HasPasswordResetSinceLastLogin returns a boolean if a field has been set. - -### GetUsageCertAttested - -`func (o *GetIdentity200Response) GetUsageCertAttested() map[string]interface{}` - -GetUsageCertAttested returns the UsageCertAttested field if non-nil, zero value otherwise. - -### GetUsageCertAttestedOk - -`func (o *GetIdentity200Response) GetUsageCertAttestedOk() (*map[string]interface{}, bool)` - -GetUsageCertAttestedOk returns a tuple with the UsageCertAttested field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageCertAttested - -`func (o *GetIdentity200Response) SetUsageCertAttested(v map[string]interface{})` - -SetUsageCertAttested sets UsageCertAttested field to given value. - -### HasUsageCertAttested - -`func (o *GetIdentity200Response) HasUsageCertAttested() bool` - -HasUsageCertAttested returns a boolean if a field has been set. - -### GetUserFlags - -`func (o *GetIdentity200Response) GetUserFlags() map[string]interface{}` - -GetUserFlags returns the UserFlags field if non-nil, zero value otherwise. - -### GetUserFlagsOk - -`func (o *GetIdentity200Response) GetUserFlagsOk() (*map[string]interface{}, bool)` - -GetUserFlagsOk returns a tuple with the UserFlags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserFlags - -`func (o *GetIdentity200Response) SetUserFlags(v map[string]interface{})` - -SetUserFlags sets UserFlags field to given value. - -### HasUserFlags - -`func (o *GetIdentity200Response) HasUserFlags() bool` - -HasUserFlags returns a boolean if a field has been set. - -### GetEnabled - -`func (o *GetIdentity200Response) GetEnabled() bool` - -GetEnabled returns the Enabled field if non-nil, zero value otherwise. - -### GetEnabledOk - -`func (o *GetIdentity200Response) GetEnabledOk() (*bool, bool)` - -GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnabled - -`func (o *GetIdentity200Response) SetEnabled(v bool)` - -SetEnabled sets Enabled field to given value. - -### HasEnabled - -`func (o *GetIdentity200Response) HasEnabled() bool` - -HasEnabled returns a boolean if a field has been set. - -### GetAltAuthVia - -`func (o *GetIdentity200Response) GetAltAuthVia() string` - -GetAltAuthVia returns the AltAuthVia field if non-nil, zero value otherwise. - -### GetAltAuthViaOk - -`func (o *GetIdentity200Response) GetAltAuthViaOk() (*string, bool)` - -GetAltAuthViaOk returns a tuple with the AltAuthVia field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAltAuthVia - -`func (o *GetIdentity200Response) SetAltAuthVia(v string)` - -SetAltAuthVia sets AltAuthVia field to given value. - -### HasAltAuthVia - -`func (o *GetIdentity200Response) HasAltAuthVia() bool` - -HasAltAuthVia returns a boolean if a field has been set. - -### GetAltAuthViaIntegrationData - -`func (o *GetIdentity200Response) GetAltAuthViaIntegrationData() map[string]interface{}` - -GetAltAuthViaIntegrationData returns the AltAuthViaIntegrationData field if non-nil, zero value otherwise. - -### GetAltAuthViaIntegrationDataOk - -`func (o *GetIdentity200Response) GetAltAuthViaIntegrationDataOk() (*map[string]interface{}, bool)` - -GetAltAuthViaIntegrationDataOk returns a tuple with the AltAuthViaIntegrationData field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAltAuthViaIntegrationData - -`func (o *GetIdentity200Response) SetAltAuthViaIntegrationData(v map[string]interface{})` - -SetAltAuthViaIntegrationData sets AltAuthViaIntegrationData field to given value. - -### HasAltAuthViaIntegrationData - -`func (o *GetIdentity200Response) HasAltAuthViaIntegrationData() bool` - -HasAltAuthViaIntegrationData returns a boolean if a field has been set. - -### GetKbaAnswers - -`func (o *GetIdentity200Response) GetKbaAnswers() float32` - -GetKbaAnswers returns the KbaAnswers field if non-nil, zero value otherwise. - -### GetKbaAnswersOk - -`func (o *GetIdentity200Response) GetKbaAnswersOk() (*float32, bool)` - -GetKbaAnswersOk returns a tuple with the KbaAnswers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetKbaAnswers - -`func (o *GetIdentity200Response) SetKbaAnswers(v float32)` - -SetKbaAnswers sets KbaAnswers field to given value. - -### HasKbaAnswers - -`func (o *GetIdentity200Response) HasKbaAnswers() bool` - -HasKbaAnswers returns a boolean if a field has been set. - -### GetDisablePasswordReset - -`func (o *GetIdentity200Response) GetDisablePasswordReset() bool` - -GetDisablePasswordReset returns the DisablePasswordReset field if non-nil, zero value otherwise. - -### GetDisablePasswordResetOk - -`func (o *GetIdentity200Response) GetDisablePasswordResetOk() (*bool, bool)` - -GetDisablePasswordResetOk returns a tuple with the DisablePasswordReset field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDisablePasswordReset - -`func (o *GetIdentity200Response) SetDisablePasswordReset(v bool)` - -SetDisablePasswordReset sets DisablePasswordReset field to given value. - -### HasDisablePasswordReset - -`func (o *GetIdentity200Response) HasDisablePasswordReset() bool` - -HasDisablePasswordReset returns a boolean if a field has been set. - -### GetPtaSourceId - -`func (o *GetIdentity200Response) GetPtaSourceId() map[string]interface{}` - -GetPtaSourceId returns the PtaSourceId field if non-nil, zero value otherwise. - -### GetPtaSourceIdOk - -`func (o *GetIdentity200Response) GetPtaSourceIdOk() (*map[string]interface{}, bool)` - -GetPtaSourceIdOk returns a tuple with the PtaSourceId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPtaSourceId - -`func (o *GetIdentity200Response) SetPtaSourceId(v map[string]interface{})` - -SetPtaSourceId sets PtaSourceId field to given value. - -### HasPtaSourceId - -`func (o *GetIdentity200Response) HasPtaSourceId() bool` - -HasPtaSourceId returns a boolean if a field has been set. - -### GetSupportsPasswordPush - -`func (o *GetIdentity200Response) GetSupportsPasswordPush() bool` - -GetSupportsPasswordPush returns the SupportsPasswordPush field if non-nil, zero value otherwise. - -### GetSupportsPasswordPushOk - -`func (o *GetIdentity200Response) GetSupportsPasswordPushOk() (*bool, bool)` - -GetSupportsPasswordPushOk returns a tuple with the SupportsPasswordPush field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSupportsPasswordPush - -`func (o *GetIdentity200Response) SetSupportsPasswordPush(v bool)` - -SetSupportsPasswordPush sets SupportsPasswordPush field to given value. - -### HasSupportsPasswordPush - -`func (o *GetIdentity200Response) HasSupportsPasswordPush() bool` - -HasSupportsPasswordPush returns a boolean if a field has been set. - -### GetAttributes - -`func (o *GetIdentity200Response) GetAttributes() map[string]interface{}` - -GetAttributes returns the Attributes field if non-nil, zero value otherwise. - -### GetAttributesOk - -`func (o *GetIdentity200Response) GetAttributesOk() (*map[string]interface{}, bool)` - -GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttributes - -`func (o *GetIdentity200Response) SetAttributes(v map[string]interface{})` - -SetAttributes sets Attributes field to given value. - -### HasAttributes - -`func (o *GetIdentity200Response) HasAttributes() bool` - -HasAttributes returns a boolean if a field has been set. - -### GetExternalId - -`func (o *GetIdentity200Response) GetExternalId() string` - -GetExternalId returns the ExternalId field if non-nil, zero value otherwise. - -### GetExternalIdOk - -`func (o *GetIdentity200Response) GetExternalIdOk() (*string, bool)` - -GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExternalId - -`func (o *GetIdentity200Response) SetExternalId(v string)` - -SetExternalId sets ExternalId field to given value. - -### HasExternalId - -`func (o *GetIdentity200Response) HasExternalId() bool` - -HasExternalId returns a boolean if a field has been set. - -### GetRole - -`func (o *GetIdentity200Response) GetRole() []map[string]interface{}` - -GetRole returns the Role field if non-nil, zero value otherwise. - -### GetRoleOk - -`func (o *GetIdentity200Response) GetRoleOk() (*[]map[string]interface{}, bool)` - -GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRole - -`func (o *GetIdentity200Response) SetRole(v []map[string]interface{})` - -SetRole sets Role field to given value. - -### HasRole - -`func (o *GetIdentity200Response) HasRole() bool` - -HasRole returns a boolean if a field has been set. - -### GetPhone - -`func (o *GetIdentity200Response) GetPhone() map[string]interface{}` - -GetPhone returns the Phone field if non-nil, zero value otherwise. - -### GetPhoneOk - -`func (o *GetIdentity200Response) GetPhoneOk() (*map[string]interface{}, bool)` - -GetPhoneOk returns a tuple with the Phone field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPhone - -`func (o *GetIdentity200Response) SetPhone(v map[string]interface{})` - -SetPhone sets Phone field to given value. - -### HasPhone - -`func (o *GetIdentity200Response) HasPhone() bool` - -HasPhone returns a boolean if a field has been set. - -### GetEmail - -`func (o *GetIdentity200Response) GetEmail() string` - -GetEmail returns the Email field if non-nil, zero value otherwise. - -### GetEmailOk - -`func (o *GetIdentity200Response) GetEmailOk() (*string, bool)` - -GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmail - -`func (o *GetIdentity200Response) SetEmail(v string)` - -SetEmail sets Email field to given value. - -### HasEmail - -`func (o *GetIdentity200Response) HasEmail() bool` - -HasEmail returns a boolean if a field has been set. - -### GetPersonalEmail - -`func (o *GetIdentity200Response) GetPersonalEmail() map[string]interface{}` - -GetPersonalEmail returns the PersonalEmail field if non-nil, zero value otherwise. - -### GetPersonalEmailOk - -`func (o *GetIdentity200Response) GetPersonalEmailOk() (*map[string]interface{}, bool)` - -GetPersonalEmailOk returns a tuple with the PersonalEmail field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPersonalEmail - -`func (o *GetIdentity200Response) SetPersonalEmail(v map[string]interface{})` - -SetPersonalEmail sets PersonalEmail field to given value. - -### HasPersonalEmail - -`func (o *GetIdentity200Response) HasPersonalEmail() bool` - -HasPersonalEmail returns a boolean if a field has been set. - -### GetEmployeeNumber - -`func (o *GetIdentity200Response) GetEmployeeNumber() map[string]interface{}` - -GetEmployeeNumber returns the EmployeeNumber field if non-nil, zero value otherwise. - -### GetEmployeeNumberOk - -`func (o *GetIdentity200Response) GetEmployeeNumberOk() (*map[string]interface{}, bool)` - -GetEmployeeNumberOk returns a tuple with the EmployeeNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmployeeNumber - -`func (o *GetIdentity200Response) SetEmployeeNumber(v map[string]interface{})` - -SetEmployeeNumber sets EmployeeNumber field to given value. - -### HasEmployeeNumber - -`func (o *GetIdentity200Response) HasEmployeeNumber() bool` - -HasEmployeeNumber returns a boolean if a field has been set. - -### GetRiskScore - -`func (o *GetIdentity200Response) GetRiskScore() float32` - -GetRiskScore returns the RiskScore field if non-nil, zero value otherwise. - -### GetRiskScoreOk - -`func (o *GetIdentity200Response) GetRiskScoreOk() (*float32, bool)` - -GetRiskScoreOk returns a tuple with the RiskScore field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRiskScore - -`func (o *GetIdentity200Response) SetRiskScore(v float32)` - -SetRiskScore sets RiskScore field to given value. - -### HasRiskScore - -`func (o *GetIdentity200Response) HasRiskScore() bool` - -HasRiskScore returns a boolean if a field has been set. - -### GetFeatureFlags - -`func (o *GetIdentity200Response) GetFeatureFlags() map[string]interface{}` - -GetFeatureFlags returns the FeatureFlags field if non-nil, zero value otherwise. - -### GetFeatureFlagsOk - -`func (o *GetIdentity200Response) GetFeatureFlagsOk() (*map[string]interface{}, bool)` - -GetFeatureFlagsOk returns a tuple with the FeatureFlags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFeatureFlags - -`func (o *GetIdentity200Response) SetFeatureFlags(v map[string]interface{})` - -SetFeatureFlags sets FeatureFlags field to given value. - -### HasFeatureFlags - -`func (o *GetIdentity200Response) HasFeatureFlags() bool` - -HasFeatureFlags returns a boolean if a field has been set. - -### GetFeature - -`func (o *GetIdentity200Response) GetFeature() []string` - -GetFeature returns the Feature field if non-nil, zero value otherwise. - -### GetFeatureOk - -`func (o *GetIdentity200Response) GetFeatureOk() (*[]string, bool)` - -GetFeatureOk returns a tuple with the Feature field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFeature - -`func (o *GetIdentity200Response) SetFeature(v []string)` - -SetFeature sets Feature field to given value. - -### HasFeature - -`func (o *GetIdentity200Response) HasFeature() bool` - -HasFeature returns a boolean if a field has been set. - -### GetOrgEncryptionKey - -`func (o *GetIdentity200Response) GetOrgEncryptionKey() string` - -GetOrgEncryptionKey returns the OrgEncryptionKey field if non-nil, zero value otherwise. - -### GetOrgEncryptionKeyOk - -`func (o *GetIdentity200Response) GetOrgEncryptionKeyOk() (*string, bool)` - -GetOrgEncryptionKeyOk returns a tuple with the OrgEncryptionKey field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOrgEncryptionKey - -`func (o *GetIdentity200Response) SetOrgEncryptionKey(v string)` - -SetOrgEncryptionKey sets OrgEncryptionKey field to given value. - -### HasOrgEncryptionKey - -`func (o *GetIdentity200Response) HasOrgEncryptionKey() bool` - -HasOrgEncryptionKey returns a boolean if a field has been set. - -### GetOrgEncryptionKeyId - -`func (o *GetIdentity200Response) GetOrgEncryptionKeyId() string` - -GetOrgEncryptionKeyId returns the OrgEncryptionKeyId field if non-nil, zero value otherwise. - -### GetOrgEncryptionKeyIdOk - -`func (o *GetIdentity200Response) GetOrgEncryptionKeyIdOk() (*string, bool)` - -GetOrgEncryptionKeyIdOk returns a tuple with the OrgEncryptionKeyId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOrgEncryptionKeyId - -`func (o *GetIdentity200Response) SetOrgEncryptionKeyId(v string)` - -SetOrgEncryptionKeyId sets OrgEncryptionKeyId field to given value. - -### HasOrgEncryptionKeyId - -`func (o *GetIdentity200Response) HasOrgEncryptionKeyId() bool` - -HasOrgEncryptionKeyId returns a boolean if a field has been set. - -### GetMeta - -`func (o *GetIdentity200Response) GetMeta() map[string]interface{}` - -GetMeta returns the Meta field if non-nil, zero value otherwise. - -### GetMetaOk - -`func (o *GetIdentity200Response) GetMetaOk() (*map[string]interface{}, bool)` - -GetMetaOk returns a tuple with the Meta field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMeta - -`func (o *GetIdentity200Response) SetMeta(v map[string]interface{})` - -SetMeta sets Meta field to given value. - -### HasMeta - -`func (o *GetIdentity200Response) HasMeta() bool` - -HasMeta returns a boolean if a field has been set. - -### GetOrg - -`func (o *GetIdentity200Response) GetOrg() GetIdentity200ResponseOrg` - -GetOrg returns the Org field if non-nil, zero value otherwise. - -### GetOrgOk - -`func (o *GetIdentity200Response) GetOrgOk() (*GetIdentity200ResponseOrg, bool)` - -GetOrgOk returns a tuple with the Org field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOrg - -`func (o *GetIdentity200Response) SetOrg(v GetIdentity200ResponseOrg)` - -SetOrg sets Org field to given value. - -### HasOrg - -`func (o *GetIdentity200Response) HasOrg() bool` - -HasOrg returns a boolean if a field has been set. - -### GetStepUpAuth - -`func (o *GetIdentity200Response) GetStepUpAuth() bool` - -GetStepUpAuth returns the StepUpAuth field if non-nil, zero value otherwise. - -### GetStepUpAuthOk - -`func (o *GetIdentity200Response) GetStepUpAuthOk() (*bool, bool)` - -GetStepUpAuthOk returns a tuple with the StepUpAuth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStepUpAuth - -`func (o *GetIdentity200Response) SetStepUpAuth(v bool)` - -SetStepUpAuth sets StepUpAuth field to given value. - -### HasStepUpAuth - -`func (o *GetIdentity200Response) HasStepUpAuth() bool` - -HasStepUpAuth returns a boolean if a field has been set. - -### GetBxInstallPrompted - -`func (o *GetIdentity200Response) GetBxInstallPrompted() bool` - -GetBxInstallPrompted returns the BxInstallPrompted field if non-nil, zero value otherwise. - -### GetBxInstallPromptedOk - -`func (o *GetIdentity200Response) GetBxInstallPromptedOk() (*bool, bool)` - -GetBxInstallPromptedOk returns a tuple with the BxInstallPrompted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBxInstallPrompted - -`func (o *GetIdentity200Response) SetBxInstallPrompted(v bool)` - -SetBxInstallPrompted sets BxInstallPrompted field to given value. - -### HasBxInstallPrompted - -`func (o *GetIdentity200Response) HasBxInstallPrompted() bool` - -HasBxInstallPrompted returns a boolean if a field has been set. - -### GetFederatedLogin - -`func (o *GetIdentity200Response) GetFederatedLogin() bool` - -GetFederatedLogin returns the FederatedLogin field if non-nil, zero value otherwise. - -### GetFederatedLoginOk - -`func (o *GetIdentity200Response) GetFederatedLoginOk() (*bool, bool)` - -GetFederatedLoginOk returns a tuple with the FederatedLogin field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFederatedLogin - -`func (o *GetIdentity200Response) SetFederatedLogin(v bool)` - -SetFederatedLogin sets FederatedLogin field to given value. - -### HasFederatedLogin - -`func (o *GetIdentity200Response) HasFederatedLogin() bool` - -HasFederatedLogin returns a boolean if a field has been set. - -### GetAuth - -`func (o *GetIdentity200Response) GetAuth() GetIdentity200ResponseAuth` - -GetAuth returns the Auth field if non-nil, zero value otherwise. - -### GetAuthOk - -`func (o *GetIdentity200Response) GetAuthOk() (*GetIdentity200ResponseAuth, bool)` - -GetAuthOk returns a tuple with the Auth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAuth - -`func (o *GetIdentity200Response) SetAuth(v GetIdentity200ResponseAuth)` - -SetAuth sets Auth field to given value. - -### HasAuth - -`func (o *GetIdentity200Response) HasAuth() bool` - -HasAuth returns a boolean if a field has been set. - -### GetOnNetwork - -`func (o *GetIdentity200Response) GetOnNetwork() bool` - -GetOnNetwork returns the OnNetwork field if non-nil, zero value otherwise. - -### GetOnNetworkOk - -`func (o *GetIdentity200Response) GetOnNetworkOk() (*bool, bool)` - -GetOnNetworkOk returns a tuple with the OnNetwork field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOnNetwork - -`func (o *GetIdentity200Response) SetOnNetwork(v bool)` - -SetOnNetwork sets OnNetwork field to given value. - -### HasOnNetwork - -`func (o *GetIdentity200Response) HasOnNetwork() bool` - -HasOnNetwork returns a boolean if a field has been set. - -### GetOnTrustedGeo - -`func (o *GetIdentity200Response) GetOnTrustedGeo() bool` - -GetOnTrustedGeo returns the OnTrustedGeo field if non-nil, zero value otherwise. - -### GetOnTrustedGeoOk - -`func (o *GetIdentity200Response) GetOnTrustedGeoOk() (*bool, bool)` - -GetOnTrustedGeoOk returns a tuple with the OnTrustedGeo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOnTrustedGeo - -`func (o *GetIdentity200Response) SetOnTrustedGeo(v bool)` - -SetOnTrustedGeo sets OnTrustedGeo field to given value. - -### HasOnTrustedGeo - -`func (o *GetIdentity200Response) HasOnTrustedGeo() bool` - -HasOnTrustedGeo returns a boolean if a field has been set. - -### GetLoginUrl - -`func (o *GetIdentity200Response) GetLoginUrl() string` - -GetLoginUrl returns the LoginUrl field if non-nil, zero value otherwise. - -### GetLoginUrlOk - -`func (o *GetIdentity200Response) GetLoginUrlOk() (*string, bool)` - -GetLoginUrlOk returns a tuple with the LoginUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLoginUrl - -`func (o *GetIdentity200Response) SetLoginUrl(v string)` - -SetLoginUrl sets LoginUrl field to given value. - -### HasLoginUrl - -`func (o *GetIdentity200Response) HasLoginUrl() bool` - -HasLoginUrl returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/GetIdentity200ResponseAuth.md b/api_cc/docs/GetIdentity200ResponseAuth.md deleted file mode 100644 index 6a7a7a86f..000000000 --- a/api_cc/docs/GetIdentity200ResponseAuth.md +++ /dev/null @@ -1,82 +0,0 @@ -# GetIdentity200ResponseAuth - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Service** | Pointer to **string** | | [optional] -**Encryption** | Pointer to **string** | | [optional] - -## Methods - -### NewGetIdentity200ResponseAuth - -`func NewGetIdentity200ResponseAuth() *GetIdentity200ResponseAuth` - -NewGetIdentity200ResponseAuth instantiates a new GetIdentity200ResponseAuth object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetIdentity200ResponseAuthWithDefaults - -`func NewGetIdentity200ResponseAuthWithDefaults() *GetIdentity200ResponseAuth` - -NewGetIdentity200ResponseAuthWithDefaults instantiates a new GetIdentity200ResponseAuth object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetService - -`func (o *GetIdentity200ResponseAuth) GetService() string` - -GetService returns the Service field if non-nil, zero value otherwise. - -### GetServiceOk - -`func (o *GetIdentity200ResponseAuth) GetServiceOk() (*string, bool)` - -GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetService - -`func (o *GetIdentity200ResponseAuth) SetService(v string)` - -SetService sets Service field to given value. - -### HasService - -`func (o *GetIdentity200ResponseAuth) HasService() bool` - -HasService returns a boolean if a field has been set. - -### GetEncryption - -`func (o *GetIdentity200ResponseAuth) GetEncryption() string` - -GetEncryption returns the Encryption field if non-nil, zero value otherwise. - -### GetEncryptionOk - -`func (o *GetIdentity200ResponseAuth) GetEncryptionOk() (*string, bool)` - -GetEncryptionOk returns a tuple with the Encryption field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEncryption - -`func (o *GetIdentity200ResponseAuth) SetEncryption(v string)` - -SetEncryption sets Encryption field to given value. - -### HasEncryption - -`func (o *GetIdentity200ResponseAuth) HasEncryption() bool` - -HasEncryption returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/GetIdentity200ResponseOrg.md b/api_cc/docs/GetIdentity200ResponseOrg.md deleted file mode 100644 index 12886d32a..000000000 --- a/api_cc/docs/GetIdentity200ResponseOrg.md +++ /dev/null @@ -1,1330 +0,0 @@ -# GetIdentity200ResponseOrg - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | | [optional] -**ScriptName** | Pointer to **string** | | [optional] -**Mode** | Pointer to **string** | | [optional] -**NumQuestions** | Pointer to **float32** | | [optional] -**Status** | Pointer to **string** | | [optional] -**MaxRegisteredUsers** | Pointer to **float32** | | [optional] -**Pod** | Pointer to **string** | | [optional] -**PwdResetPersonalPhone** | Pointer to **bool** | | [optional] -**PwdResetPersonalEmail** | Pointer to **bool** | | [optional] -**PwdResetKba** | Pointer to **bool** | | [optional] -**PwdResetEmail** | Pointer to **bool** | | [optional] -**PwdResetDuo** | Pointer to **bool** | | [optional] -**PwdResetPhoneMask** | Pointer to **bool** | | [optional] -**AuthErrorText** | Pointer to **map[string]interface{}** | | [optional] -**StrongAuthKba** | Pointer to **bool** | | [optional] -**StrongAuthPersonalPhone** | Pointer to **bool** | | [optional] -**StrongAuthPersonalEmail** | Pointer to **bool** | | [optional] -**Integrations** | Pointer to **[]map[string]interface{}** | | [optional] -**ProductName** | Pointer to **string** | | [optional] -**KbaReqForAuthn** | Pointer to **float32** | | [optional] -**KbaReqAnswers** | Pointer to **float32** | | [optional] -**LockoutAttemptThreshold** | Pointer to **float32** | | [optional] -**LockoutTimeMinutes** | Pointer to **float32** | | [optional] -**UsageCertRequired** | Pointer to **bool** | | [optional] -**AdminStrongAuthRequired** | Pointer to **bool** | | [optional] -**EnableExternalPasswordChange** | Pointer to **bool** | | [optional] -**EnablePasswordReplay** | Pointer to **bool** | | [optional] -**EnableAutomaticPasswordReplay** | Pointer to **bool** | | [optional] -**NotifyAuthenticationSettingChange** | Pointer to **bool** | | [optional] -**Netmasks** | Pointer to **map[string]interface{}** | | [optional] -**CountryCodes** | Pointer to **map[string]interface{}** | | [optional] -**WhiteList** | Pointer to **bool** | | [optional] -**UsernameEmptyText** | Pointer to **map[string]interface{}** | | [optional] -**UsernameLabel** | Pointer to **map[string]interface{}** | | [optional] -**EnableAutomationGeneration** | Pointer to **bool** | | [optional] -**EmailTestMode** | Pointer to **bool** | | [optional] -**EmailTestAddress** | Pointer to **string** | | [optional] -**OrgType** | Pointer to **string** | | [optional] -**PasswordReplayState** | Pointer to **string** | | [optional] -**SystemNotificationConfig** | Pointer to **string** | | [optional] -**RedirectPatterns** | Pointer to **string** | | [optional] -**MaxClusterDebugHours** | Pointer to **string** | | [optional] -**BrandName** | Pointer to **string** | | [optional] -**Logo** | Pointer to **map[string]interface{}** | | [optional] -**EmailFromAddress** | Pointer to **map[string]interface{}** | | [optional] -**StandardLogoUrl** | Pointer to **map[string]interface{}** | | [optional] -**NarrowLogoUrl** | Pointer to **map[string]interface{}** | | [optional] -**ActionButtonColor** | Pointer to **string** | | [optional] -**ActiveLinkColor** | Pointer to **string** | | [optional] -**NavigationColor** | Pointer to **string** | | [optional] - -## Methods - -### NewGetIdentity200ResponseOrg - -`func NewGetIdentity200ResponseOrg() *GetIdentity200ResponseOrg` - -NewGetIdentity200ResponseOrg instantiates a new GetIdentity200ResponseOrg object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetIdentity200ResponseOrgWithDefaults - -`func NewGetIdentity200ResponseOrgWithDefaults() *GetIdentity200ResponseOrg` - -NewGetIdentity200ResponseOrgWithDefaults instantiates a new GetIdentity200ResponseOrg object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *GetIdentity200ResponseOrg) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *GetIdentity200ResponseOrg) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *GetIdentity200ResponseOrg) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *GetIdentity200ResponseOrg) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetScriptName - -`func (o *GetIdentity200ResponseOrg) GetScriptName() string` - -GetScriptName returns the ScriptName field if non-nil, zero value otherwise. - -### GetScriptNameOk - -`func (o *GetIdentity200ResponseOrg) GetScriptNameOk() (*string, bool)` - -GetScriptNameOk returns a tuple with the ScriptName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScriptName - -`func (o *GetIdentity200ResponseOrg) SetScriptName(v string)` - -SetScriptName sets ScriptName field to given value. - -### HasScriptName - -`func (o *GetIdentity200ResponseOrg) HasScriptName() bool` - -HasScriptName returns a boolean if a field has been set. - -### GetMode - -`func (o *GetIdentity200ResponseOrg) GetMode() string` - -GetMode returns the Mode field if non-nil, zero value otherwise. - -### GetModeOk - -`func (o *GetIdentity200ResponseOrg) GetModeOk() (*string, bool)` - -GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMode - -`func (o *GetIdentity200ResponseOrg) SetMode(v string)` - -SetMode sets Mode field to given value. - -### HasMode - -`func (o *GetIdentity200ResponseOrg) HasMode() bool` - -HasMode returns a boolean if a field has been set. - -### GetNumQuestions - -`func (o *GetIdentity200ResponseOrg) GetNumQuestions() float32` - -GetNumQuestions returns the NumQuestions field if non-nil, zero value otherwise. - -### GetNumQuestionsOk - -`func (o *GetIdentity200ResponseOrg) GetNumQuestionsOk() (*float32, bool)` - -GetNumQuestionsOk returns a tuple with the NumQuestions field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumQuestions - -`func (o *GetIdentity200ResponseOrg) SetNumQuestions(v float32)` - -SetNumQuestions sets NumQuestions field to given value. - -### HasNumQuestions - -`func (o *GetIdentity200ResponseOrg) HasNumQuestions() bool` - -HasNumQuestions returns a boolean if a field has been set. - -### GetStatus - -`func (o *GetIdentity200ResponseOrg) GetStatus() string` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetIdentity200ResponseOrg) GetStatusOk() (*string, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetIdentity200ResponseOrg) SetStatus(v string)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *GetIdentity200ResponseOrg) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetMaxRegisteredUsers - -`func (o *GetIdentity200ResponseOrg) GetMaxRegisteredUsers() float32` - -GetMaxRegisteredUsers returns the MaxRegisteredUsers field if non-nil, zero value otherwise. - -### GetMaxRegisteredUsersOk - -`func (o *GetIdentity200ResponseOrg) GetMaxRegisteredUsersOk() (*float32, bool)` - -GetMaxRegisteredUsersOk returns a tuple with the MaxRegisteredUsers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxRegisteredUsers - -`func (o *GetIdentity200ResponseOrg) SetMaxRegisteredUsers(v float32)` - -SetMaxRegisteredUsers sets MaxRegisteredUsers field to given value. - -### HasMaxRegisteredUsers - -`func (o *GetIdentity200ResponseOrg) HasMaxRegisteredUsers() bool` - -HasMaxRegisteredUsers returns a boolean if a field has been set. - -### GetPod - -`func (o *GetIdentity200ResponseOrg) GetPod() string` - -GetPod returns the Pod field if non-nil, zero value otherwise. - -### GetPodOk - -`func (o *GetIdentity200ResponseOrg) GetPodOk() (*string, bool)` - -GetPodOk returns a tuple with the Pod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPod - -`func (o *GetIdentity200ResponseOrg) SetPod(v string)` - -SetPod sets Pod field to given value. - -### HasPod - -`func (o *GetIdentity200ResponseOrg) HasPod() bool` - -HasPod returns a boolean if a field has been set. - -### GetPwdResetPersonalPhone - -`func (o *GetIdentity200ResponseOrg) GetPwdResetPersonalPhone() bool` - -GetPwdResetPersonalPhone returns the PwdResetPersonalPhone field if non-nil, zero value otherwise. - -### GetPwdResetPersonalPhoneOk - -`func (o *GetIdentity200ResponseOrg) GetPwdResetPersonalPhoneOk() (*bool, bool)` - -GetPwdResetPersonalPhoneOk returns a tuple with the PwdResetPersonalPhone field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPwdResetPersonalPhone - -`func (o *GetIdentity200ResponseOrg) SetPwdResetPersonalPhone(v bool)` - -SetPwdResetPersonalPhone sets PwdResetPersonalPhone field to given value. - -### HasPwdResetPersonalPhone - -`func (o *GetIdentity200ResponseOrg) HasPwdResetPersonalPhone() bool` - -HasPwdResetPersonalPhone returns a boolean if a field has been set. - -### GetPwdResetPersonalEmail - -`func (o *GetIdentity200ResponseOrg) GetPwdResetPersonalEmail() bool` - -GetPwdResetPersonalEmail returns the PwdResetPersonalEmail field if non-nil, zero value otherwise. - -### GetPwdResetPersonalEmailOk - -`func (o *GetIdentity200ResponseOrg) GetPwdResetPersonalEmailOk() (*bool, bool)` - -GetPwdResetPersonalEmailOk returns a tuple with the PwdResetPersonalEmail field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPwdResetPersonalEmail - -`func (o *GetIdentity200ResponseOrg) SetPwdResetPersonalEmail(v bool)` - -SetPwdResetPersonalEmail sets PwdResetPersonalEmail field to given value. - -### HasPwdResetPersonalEmail - -`func (o *GetIdentity200ResponseOrg) HasPwdResetPersonalEmail() bool` - -HasPwdResetPersonalEmail returns a boolean if a field has been set. - -### GetPwdResetKba - -`func (o *GetIdentity200ResponseOrg) GetPwdResetKba() bool` - -GetPwdResetKba returns the PwdResetKba field if non-nil, zero value otherwise. - -### GetPwdResetKbaOk - -`func (o *GetIdentity200ResponseOrg) GetPwdResetKbaOk() (*bool, bool)` - -GetPwdResetKbaOk returns a tuple with the PwdResetKba field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPwdResetKba - -`func (o *GetIdentity200ResponseOrg) SetPwdResetKba(v bool)` - -SetPwdResetKba sets PwdResetKba field to given value. - -### HasPwdResetKba - -`func (o *GetIdentity200ResponseOrg) HasPwdResetKba() bool` - -HasPwdResetKba returns a boolean if a field has been set. - -### GetPwdResetEmail - -`func (o *GetIdentity200ResponseOrg) GetPwdResetEmail() bool` - -GetPwdResetEmail returns the PwdResetEmail field if non-nil, zero value otherwise. - -### GetPwdResetEmailOk - -`func (o *GetIdentity200ResponseOrg) GetPwdResetEmailOk() (*bool, bool)` - -GetPwdResetEmailOk returns a tuple with the PwdResetEmail field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPwdResetEmail - -`func (o *GetIdentity200ResponseOrg) SetPwdResetEmail(v bool)` - -SetPwdResetEmail sets PwdResetEmail field to given value. - -### HasPwdResetEmail - -`func (o *GetIdentity200ResponseOrg) HasPwdResetEmail() bool` - -HasPwdResetEmail returns a boolean if a field has been set. - -### GetPwdResetDuo - -`func (o *GetIdentity200ResponseOrg) GetPwdResetDuo() bool` - -GetPwdResetDuo returns the PwdResetDuo field if non-nil, zero value otherwise. - -### GetPwdResetDuoOk - -`func (o *GetIdentity200ResponseOrg) GetPwdResetDuoOk() (*bool, bool)` - -GetPwdResetDuoOk returns a tuple with the PwdResetDuo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPwdResetDuo - -`func (o *GetIdentity200ResponseOrg) SetPwdResetDuo(v bool)` - -SetPwdResetDuo sets PwdResetDuo field to given value. - -### HasPwdResetDuo - -`func (o *GetIdentity200ResponseOrg) HasPwdResetDuo() bool` - -HasPwdResetDuo returns a boolean if a field has been set. - -### GetPwdResetPhoneMask - -`func (o *GetIdentity200ResponseOrg) GetPwdResetPhoneMask() bool` - -GetPwdResetPhoneMask returns the PwdResetPhoneMask field if non-nil, zero value otherwise. - -### GetPwdResetPhoneMaskOk - -`func (o *GetIdentity200ResponseOrg) GetPwdResetPhoneMaskOk() (*bool, bool)` - -GetPwdResetPhoneMaskOk returns a tuple with the PwdResetPhoneMask field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPwdResetPhoneMask - -`func (o *GetIdentity200ResponseOrg) SetPwdResetPhoneMask(v bool)` - -SetPwdResetPhoneMask sets PwdResetPhoneMask field to given value. - -### HasPwdResetPhoneMask - -`func (o *GetIdentity200ResponseOrg) HasPwdResetPhoneMask() bool` - -HasPwdResetPhoneMask returns a boolean if a field has been set. - -### GetAuthErrorText - -`func (o *GetIdentity200ResponseOrg) GetAuthErrorText() map[string]interface{}` - -GetAuthErrorText returns the AuthErrorText field if non-nil, zero value otherwise. - -### GetAuthErrorTextOk - -`func (o *GetIdentity200ResponseOrg) GetAuthErrorTextOk() (*map[string]interface{}, bool)` - -GetAuthErrorTextOk returns a tuple with the AuthErrorText field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAuthErrorText - -`func (o *GetIdentity200ResponseOrg) SetAuthErrorText(v map[string]interface{})` - -SetAuthErrorText sets AuthErrorText field to given value. - -### HasAuthErrorText - -`func (o *GetIdentity200ResponseOrg) HasAuthErrorText() bool` - -HasAuthErrorText returns a boolean if a field has been set. - -### GetStrongAuthKba - -`func (o *GetIdentity200ResponseOrg) GetStrongAuthKba() bool` - -GetStrongAuthKba returns the StrongAuthKba field if non-nil, zero value otherwise. - -### GetStrongAuthKbaOk - -`func (o *GetIdentity200ResponseOrg) GetStrongAuthKbaOk() (*bool, bool)` - -GetStrongAuthKbaOk returns a tuple with the StrongAuthKba field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStrongAuthKba - -`func (o *GetIdentity200ResponseOrg) SetStrongAuthKba(v bool)` - -SetStrongAuthKba sets StrongAuthKba field to given value. - -### HasStrongAuthKba - -`func (o *GetIdentity200ResponseOrg) HasStrongAuthKba() bool` - -HasStrongAuthKba returns a boolean if a field has been set. - -### GetStrongAuthPersonalPhone - -`func (o *GetIdentity200ResponseOrg) GetStrongAuthPersonalPhone() bool` - -GetStrongAuthPersonalPhone returns the StrongAuthPersonalPhone field if non-nil, zero value otherwise. - -### GetStrongAuthPersonalPhoneOk - -`func (o *GetIdentity200ResponseOrg) GetStrongAuthPersonalPhoneOk() (*bool, bool)` - -GetStrongAuthPersonalPhoneOk returns a tuple with the StrongAuthPersonalPhone field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStrongAuthPersonalPhone - -`func (o *GetIdentity200ResponseOrg) SetStrongAuthPersonalPhone(v bool)` - -SetStrongAuthPersonalPhone sets StrongAuthPersonalPhone field to given value. - -### HasStrongAuthPersonalPhone - -`func (o *GetIdentity200ResponseOrg) HasStrongAuthPersonalPhone() bool` - -HasStrongAuthPersonalPhone returns a boolean if a field has been set. - -### GetStrongAuthPersonalEmail - -`func (o *GetIdentity200ResponseOrg) GetStrongAuthPersonalEmail() bool` - -GetStrongAuthPersonalEmail returns the StrongAuthPersonalEmail field if non-nil, zero value otherwise. - -### GetStrongAuthPersonalEmailOk - -`func (o *GetIdentity200ResponseOrg) GetStrongAuthPersonalEmailOk() (*bool, bool)` - -GetStrongAuthPersonalEmailOk returns a tuple with the StrongAuthPersonalEmail field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStrongAuthPersonalEmail - -`func (o *GetIdentity200ResponseOrg) SetStrongAuthPersonalEmail(v bool)` - -SetStrongAuthPersonalEmail sets StrongAuthPersonalEmail field to given value. - -### HasStrongAuthPersonalEmail - -`func (o *GetIdentity200ResponseOrg) HasStrongAuthPersonalEmail() bool` - -HasStrongAuthPersonalEmail returns a boolean if a field has been set. - -### GetIntegrations - -`func (o *GetIdentity200ResponseOrg) GetIntegrations() []map[string]interface{}` - -GetIntegrations returns the Integrations field if non-nil, zero value otherwise. - -### GetIntegrationsOk - -`func (o *GetIdentity200ResponseOrg) GetIntegrationsOk() (*[]map[string]interface{}, bool)` - -GetIntegrationsOk returns a tuple with the Integrations field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIntegrations - -`func (o *GetIdentity200ResponseOrg) SetIntegrations(v []map[string]interface{})` - -SetIntegrations sets Integrations field to given value. - -### HasIntegrations - -`func (o *GetIdentity200ResponseOrg) HasIntegrations() bool` - -HasIntegrations returns a boolean if a field has been set. - -### GetProductName - -`func (o *GetIdentity200ResponseOrg) GetProductName() string` - -GetProductName returns the ProductName field if non-nil, zero value otherwise. - -### GetProductNameOk - -`func (o *GetIdentity200ResponseOrg) GetProductNameOk() (*string, bool)` - -GetProductNameOk returns a tuple with the ProductName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProductName - -`func (o *GetIdentity200ResponseOrg) SetProductName(v string)` - -SetProductName sets ProductName field to given value. - -### HasProductName - -`func (o *GetIdentity200ResponseOrg) HasProductName() bool` - -HasProductName returns a boolean if a field has been set. - -### GetKbaReqForAuthn - -`func (o *GetIdentity200ResponseOrg) GetKbaReqForAuthn() float32` - -GetKbaReqForAuthn returns the KbaReqForAuthn field if non-nil, zero value otherwise. - -### GetKbaReqForAuthnOk - -`func (o *GetIdentity200ResponseOrg) GetKbaReqForAuthnOk() (*float32, bool)` - -GetKbaReqForAuthnOk returns a tuple with the KbaReqForAuthn field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetKbaReqForAuthn - -`func (o *GetIdentity200ResponseOrg) SetKbaReqForAuthn(v float32)` - -SetKbaReqForAuthn sets KbaReqForAuthn field to given value. - -### HasKbaReqForAuthn - -`func (o *GetIdentity200ResponseOrg) HasKbaReqForAuthn() bool` - -HasKbaReqForAuthn returns a boolean if a field has been set. - -### GetKbaReqAnswers - -`func (o *GetIdentity200ResponseOrg) GetKbaReqAnswers() float32` - -GetKbaReqAnswers returns the KbaReqAnswers field if non-nil, zero value otherwise. - -### GetKbaReqAnswersOk - -`func (o *GetIdentity200ResponseOrg) GetKbaReqAnswersOk() (*float32, bool)` - -GetKbaReqAnswersOk returns a tuple with the KbaReqAnswers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetKbaReqAnswers - -`func (o *GetIdentity200ResponseOrg) SetKbaReqAnswers(v float32)` - -SetKbaReqAnswers sets KbaReqAnswers field to given value. - -### HasKbaReqAnswers - -`func (o *GetIdentity200ResponseOrg) HasKbaReqAnswers() bool` - -HasKbaReqAnswers returns a boolean if a field has been set. - -### GetLockoutAttemptThreshold - -`func (o *GetIdentity200ResponseOrg) GetLockoutAttemptThreshold() float32` - -GetLockoutAttemptThreshold returns the LockoutAttemptThreshold field if non-nil, zero value otherwise. - -### GetLockoutAttemptThresholdOk - -`func (o *GetIdentity200ResponseOrg) GetLockoutAttemptThresholdOk() (*float32, bool)` - -GetLockoutAttemptThresholdOk returns a tuple with the LockoutAttemptThreshold field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLockoutAttemptThreshold - -`func (o *GetIdentity200ResponseOrg) SetLockoutAttemptThreshold(v float32)` - -SetLockoutAttemptThreshold sets LockoutAttemptThreshold field to given value. - -### HasLockoutAttemptThreshold - -`func (o *GetIdentity200ResponseOrg) HasLockoutAttemptThreshold() bool` - -HasLockoutAttemptThreshold returns a boolean if a field has been set. - -### GetLockoutTimeMinutes - -`func (o *GetIdentity200ResponseOrg) GetLockoutTimeMinutes() float32` - -GetLockoutTimeMinutes returns the LockoutTimeMinutes field if non-nil, zero value otherwise. - -### GetLockoutTimeMinutesOk - -`func (o *GetIdentity200ResponseOrg) GetLockoutTimeMinutesOk() (*float32, bool)` - -GetLockoutTimeMinutesOk returns a tuple with the LockoutTimeMinutes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLockoutTimeMinutes - -`func (o *GetIdentity200ResponseOrg) SetLockoutTimeMinutes(v float32)` - -SetLockoutTimeMinutes sets LockoutTimeMinutes field to given value. - -### HasLockoutTimeMinutes - -`func (o *GetIdentity200ResponseOrg) HasLockoutTimeMinutes() bool` - -HasLockoutTimeMinutes returns a boolean if a field has been set. - -### GetUsageCertRequired - -`func (o *GetIdentity200ResponseOrg) GetUsageCertRequired() bool` - -GetUsageCertRequired returns the UsageCertRequired field if non-nil, zero value otherwise. - -### GetUsageCertRequiredOk - -`func (o *GetIdentity200ResponseOrg) GetUsageCertRequiredOk() (*bool, bool)` - -GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageCertRequired - -`func (o *GetIdentity200ResponseOrg) SetUsageCertRequired(v bool)` - -SetUsageCertRequired sets UsageCertRequired field to given value. - -### HasUsageCertRequired - -`func (o *GetIdentity200ResponseOrg) HasUsageCertRequired() bool` - -HasUsageCertRequired returns a boolean if a field has been set. - -### GetAdminStrongAuthRequired - -`func (o *GetIdentity200ResponseOrg) GetAdminStrongAuthRequired() bool` - -GetAdminStrongAuthRequired returns the AdminStrongAuthRequired field if non-nil, zero value otherwise. - -### GetAdminStrongAuthRequiredOk - -`func (o *GetIdentity200ResponseOrg) GetAdminStrongAuthRequiredOk() (*bool, bool)` - -GetAdminStrongAuthRequiredOk returns a tuple with the AdminStrongAuthRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAdminStrongAuthRequired - -`func (o *GetIdentity200ResponseOrg) SetAdminStrongAuthRequired(v bool)` - -SetAdminStrongAuthRequired sets AdminStrongAuthRequired field to given value. - -### HasAdminStrongAuthRequired - -`func (o *GetIdentity200ResponseOrg) HasAdminStrongAuthRequired() bool` - -HasAdminStrongAuthRequired returns a boolean if a field has been set. - -### GetEnableExternalPasswordChange - -`func (o *GetIdentity200ResponseOrg) GetEnableExternalPasswordChange() bool` - -GetEnableExternalPasswordChange returns the EnableExternalPasswordChange field if non-nil, zero value otherwise. - -### GetEnableExternalPasswordChangeOk - -`func (o *GetIdentity200ResponseOrg) GetEnableExternalPasswordChangeOk() (*bool, bool)` - -GetEnableExternalPasswordChangeOk returns a tuple with the EnableExternalPasswordChange field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableExternalPasswordChange - -`func (o *GetIdentity200ResponseOrg) SetEnableExternalPasswordChange(v bool)` - -SetEnableExternalPasswordChange sets EnableExternalPasswordChange field to given value. - -### HasEnableExternalPasswordChange - -`func (o *GetIdentity200ResponseOrg) HasEnableExternalPasswordChange() bool` - -HasEnableExternalPasswordChange returns a boolean if a field has been set. - -### GetEnablePasswordReplay - -`func (o *GetIdentity200ResponseOrg) GetEnablePasswordReplay() bool` - -GetEnablePasswordReplay returns the EnablePasswordReplay field if non-nil, zero value otherwise. - -### GetEnablePasswordReplayOk - -`func (o *GetIdentity200ResponseOrg) GetEnablePasswordReplayOk() (*bool, bool)` - -GetEnablePasswordReplayOk returns a tuple with the EnablePasswordReplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnablePasswordReplay - -`func (o *GetIdentity200ResponseOrg) SetEnablePasswordReplay(v bool)` - -SetEnablePasswordReplay sets EnablePasswordReplay field to given value. - -### HasEnablePasswordReplay - -`func (o *GetIdentity200ResponseOrg) HasEnablePasswordReplay() bool` - -HasEnablePasswordReplay returns a boolean if a field has been set. - -### GetEnableAutomaticPasswordReplay - -`func (o *GetIdentity200ResponseOrg) GetEnableAutomaticPasswordReplay() bool` - -GetEnableAutomaticPasswordReplay returns the EnableAutomaticPasswordReplay field if non-nil, zero value otherwise. - -### GetEnableAutomaticPasswordReplayOk - -`func (o *GetIdentity200ResponseOrg) GetEnableAutomaticPasswordReplayOk() (*bool, bool)` - -GetEnableAutomaticPasswordReplayOk returns a tuple with the EnableAutomaticPasswordReplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableAutomaticPasswordReplay - -`func (o *GetIdentity200ResponseOrg) SetEnableAutomaticPasswordReplay(v bool)` - -SetEnableAutomaticPasswordReplay sets EnableAutomaticPasswordReplay field to given value. - -### HasEnableAutomaticPasswordReplay - -`func (o *GetIdentity200ResponseOrg) HasEnableAutomaticPasswordReplay() bool` - -HasEnableAutomaticPasswordReplay returns a boolean if a field has been set. - -### GetNotifyAuthenticationSettingChange - -`func (o *GetIdentity200ResponseOrg) GetNotifyAuthenticationSettingChange() bool` - -GetNotifyAuthenticationSettingChange returns the NotifyAuthenticationSettingChange field if non-nil, zero value otherwise. - -### GetNotifyAuthenticationSettingChangeOk - -`func (o *GetIdentity200ResponseOrg) GetNotifyAuthenticationSettingChangeOk() (*bool, bool)` - -GetNotifyAuthenticationSettingChangeOk returns a tuple with the NotifyAuthenticationSettingChange field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNotifyAuthenticationSettingChange - -`func (o *GetIdentity200ResponseOrg) SetNotifyAuthenticationSettingChange(v bool)` - -SetNotifyAuthenticationSettingChange sets NotifyAuthenticationSettingChange field to given value. - -### HasNotifyAuthenticationSettingChange - -`func (o *GetIdentity200ResponseOrg) HasNotifyAuthenticationSettingChange() bool` - -HasNotifyAuthenticationSettingChange returns a boolean if a field has been set. - -### GetNetmasks - -`func (o *GetIdentity200ResponseOrg) GetNetmasks() map[string]interface{}` - -GetNetmasks returns the Netmasks field if non-nil, zero value otherwise. - -### GetNetmasksOk - -`func (o *GetIdentity200ResponseOrg) GetNetmasksOk() (*map[string]interface{}, bool)` - -GetNetmasksOk returns a tuple with the Netmasks field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNetmasks - -`func (o *GetIdentity200ResponseOrg) SetNetmasks(v map[string]interface{})` - -SetNetmasks sets Netmasks field to given value. - -### HasNetmasks - -`func (o *GetIdentity200ResponseOrg) HasNetmasks() bool` - -HasNetmasks returns a boolean if a field has been set. - -### GetCountryCodes - -`func (o *GetIdentity200ResponseOrg) GetCountryCodes() map[string]interface{}` - -GetCountryCodes returns the CountryCodes field if non-nil, zero value otherwise. - -### GetCountryCodesOk - -`func (o *GetIdentity200ResponseOrg) GetCountryCodesOk() (*map[string]interface{}, bool)` - -GetCountryCodesOk returns a tuple with the CountryCodes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCountryCodes - -`func (o *GetIdentity200ResponseOrg) SetCountryCodes(v map[string]interface{})` - -SetCountryCodes sets CountryCodes field to given value. - -### HasCountryCodes - -`func (o *GetIdentity200ResponseOrg) HasCountryCodes() bool` - -HasCountryCodes returns a boolean if a field has been set. - -### GetWhiteList - -`func (o *GetIdentity200ResponseOrg) GetWhiteList() bool` - -GetWhiteList returns the WhiteList field if non-nil, zero value otherwise. - -### GetWhiteListOk - -`func (o *GetIdentity200ResponseOrg) GetWhiteListOk() (*bool, bool)` - -GetWhiteListOk returns a tuple with the WhiteList field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWhiteList - -`func (o *GetIdentity200ResponseOrg) SetWhiteList(v bool)` - -SetWhiteList sets WhiteList field to given value. - -### HasWhiteList - -`func (o *GetIdentity200ResponseOrg) HasWhiteList() bool` - -HasWhiteList returns a boolean if a field has been set. - -### GetUsernameEmptyText - -`func (o *GetIdentity200ResponseOrg) GetUsernameEmptyText() map[string]interface{}` - -GetUsernameEmptyText returns the UsernameEmptyText field if non-nil, zero value otherwise. - -### GetUsernameEmptyTextOk - -`func (o *GetIdentity200ResponseOrg) GetUsernameEmptyTextOk() (*map[string]interface{}, bool)` - -GetUsernameEmptyTextOk returns a tuple with the UsernameEmptyText field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsernameEmptyText - -`func (o *GetIdentity200ResponseOrg) SetUsernameEmptyText(v map[string]interface{})` - -SetUsernameEmptyText sets UsernameEmptyText field to given value. - -### HasUsernameEmptyText - -`func (o *GetIdentity200ResponseOrg) HasUsernameEmptyText() bool` - -HasUsernameEmptyText returns a boolean if a field has been set. - -### GetUsernameLabel - -`func (o *GetIdentity200ResponseOrg) GetUsernameLabel() map[string]interface{}` - -GetUsernameLabel returns the UsernameLabel field if non-nil, zero value otherwise. - -### GetUsernameLabelOk - -`func (o *GetIdentity200ResponseOrg) GetUsernameLabelOk() (*map[string]interface{}, bool)` - -GetUsernameLabelOk returns a tuple with the UsernameLabel field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsernameLabel - -`func (o *GetIdentity200ResponseOrg) SetUsernameLabel(v map[string]interface{})` - -SetUsernameLabel sets UsernameLabel field to given value. - -### HasUsernameLabel - -`func (o *GetIdentity200ResponseOrg) HasUsernameLabel() bool` - -HasUsernameLabel returns a boolean if a field has been set. - -### GetEnableAutomationGeneration - -`func (o *GetIdentity200ResponseOrg) GetEnableAutomationGeneration() bool` - -GetEnableAutomationGeneration returns the EnableAutomationGeneration field if non-nil, zero value otherwise. - -### GetEnableAutomationGenerationOk - -`func (o *GetIdentity200ResponseOrg) GetEnableAutomationGenerationOk() (*bool, bool)` - -GetEnableAutomationGenerationOk returns a tuple with the EnableAutomationGeneration field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableAutomationGeneration - -`func (o *GetIdentity200ResponseOrg) SetEnableAutomationGeneration(v bool)` - -SetEnableAutomationGeneration sets EnableAutomationGeneration field to given value. - -### HasEnableAutomationGeneration - -`func (o *GetIdentity200ResponseOrg) HasEnableAutomationGeneration() bool` - -HasEnableAutomationGeneration returns a boolean if a field has been set. - -### GetEmailTestMode - -`func (o *GetIdentity200ResponseOrg) GetEmailTestMode() bool` - -GetEmailTestMode returns the EmailTestMode field if non-nil, zero value otherwise. - -### GetEmailTestModeOk - -`func (o *GetIdentity200ResponseOrg) GetEmailTestModeOk() (*bool, bool)` - -GetEmailTestModeOk returns a tuple with the EmailTestMode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailTestMode - -`func (o *GetIdentity200ResponseOrg) SetEmailTestMode(v bool)` - -SetEmailTestMode sets EmailTestMode field to given value. - -### HasEmailTestMode - -`func (o *GetIdentity200ResponseOrg) HasEmailTestMode() bool` - -HasEmailTestMode returns a boolean if a field has been set. - -### GetEmailTestAddress - -`func (o *GetIdentity200ResponseOrg) GetEmailTestAddress() string` - -GetEmailTestAddress returns the EmailTestAddress field if non-nil, zero value otherwise. - -### GetEmailTestAddressOk - -`func (o *GetIdentity200ResponseOrg) GetEmailTestAddressOk() (*string, bool)` - -GetEmailTestAddressOk returns a tuple with the EmailTestAddress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailTestAddress - -`func (o *GetIdentity200ResponseOrg) SetEmailTestAddress(v string)` - -SetEmailTestAddress sets EmailTestAddress field to given value. - -### HasEmailTestAddress - -`func (o *GetIdentity200ResponseOrg) HasEmailTestAddress() bool` - -HasEmailTestAddress returns a boolean if a field has been set. - -### GetOrgType - -`func (o *GetIdentity200ResponseOrg) GetOrgType() string` - -GetOrgType returns the OrgType field if non-nil, zero value otherwise. - -### GetOrgTypeOk - -`func (o *GetIdentity200ResponseOrg) GetOrgTypeOk() (*string, bool)` - -GetOrgTypeOk returns a tuple with the OrgType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOrgType - -`func (o *GetIdentity200ResponseOrg) SetOrgType(v string)` - -SetOrgType sets OrgType field to given value. - -### HasOrgType - -`func (o *GetIdentity200ResponseOrg) HasOrgType() bool` - -HasOrgType returns a boolean if a field has been set. - -### GetPasswordReplayState - -`func (o *GetIdentity200ResponseOrg) GetPasswordReplayState() string` - -GetPasswordReplayState returns the PasswordReplayState field if non-nil, zero value otherwise. - -### GetPasswordReplayStateOk - -`func (o *GetIdentity200ResponseOrg) GetPasswordReplayStateOk() (*string, bool)` - -GetPasswordReplayStateOk returns a tuple with the PasswordReplayState field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordReplayState - -`func (o *GetIdentity200ResponseOrg) SetPasswordReplayState(v string)` - -SetPasswordReplayState sets PasswordReplayState field to given value. - -### HasPasswordReplayState - -`func (o *GetIdentity200ResponseOrg) HasPasswordReplayState() bool` - -HasPasswordReplayState returns a boolean if a field has been set. - -### GetSystemNotificationConfig - -`func (o *GetIdentity200ResponseOrg) GetSystemNotificationConfig() string` - -GetSystemNotificationConfig returns the SystemNotificationConfig field if non-nil, zero value otherwise. - -### GetSystemNotificationConfigOk - -`func (o *GetIdentity200ResponseOrg) GetSystemNotificationConfigOk() (*string, bool)` - -GetSystemNotificationConfigOk returns a tuple with the SystemNotificationConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSystemNotificationConfig - -`func (o *GetIdentity200ResponseOrg) SetSystemNotificationConfig(v string)` - -SetSystemNotificationConfig sets SystemNotificationConfig field to given value. - -### HasSystemNotificationConfig - -`func (o *GetIdentity200ResponseOrg) HasSystemNotificationConfig() bool` - -HasSystemNotificationConfig returns a boolean if a field has been set. - -### GetRedirectPatterns - -`func (o *GetIdentity200ResponseOrg) GetRedirectPatterns() string` - -GetRedirectPatterns returns the RedirectPatterns field if non-nil, zero value otherwise. - -### GetRedirectPatternsOk - -`func (o *GetIdentity200ResponseOrg) GetRedirectPatternsOk() (*string, bool)` - -GetRedirectPatternsOk returns a tuple with the RedirectPatterns field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRedirectPatterns - -`func (o *GetIdentity200ResponseOrg) SetRedirectPatterns(v string)` - -SetRedirectPatterns sets RedirectPatterns field to given value. - -### HasRedirectPatterns - -`func (o *GetIdentity200ResponseOrg) HasRedirectPatterns() bool` - -HasRedirectPatterns returns a boolean if a field has been set. - -### GetMaxClusterDebugHours - -`func (o *GetIdentity200ResponseOrg) GetMaxClusterDebugHours() string` - -GetMaxClusterDebugHours returns the MaxClusterDebugHours field if non-nil, zero value otherwise. - -### GetMaxClusterDebugHoursOk - -`func (o *GetIdentity200ResponseOrg) GetMaxClusterDebugHoursOk() (*string, bool)` - -GetMaxClusterDebugHoursOk returns a tuple with the MaxClusterDebugHours field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxClusterDebugHours - -`func (o *GetIdentity200ResponseOrg) SetMaxClusterDebugHours(v string)` - -SetMaxClusterDebugHours sets MaxClusterDebugHours field to given value. - -### HasMaxClusterDebugHours - -`func (o *GetIdentity200ResponseOrg) HasMaxClusterDebugHours() bool` - -HasMaxClusterDebugHours returns a boolean if a field has been set. - -### GetBrandName - -`func (o *GetIdentity200ResponseOrg) GetBrandName() string` - -GetBrandName returns the BrandName field if non-nil, zero value otherwise. - -### GetBrandNameOk - -`func (o *GetIdentity200ResponseOrg) GetBrandNameOk() (*string, bool)` - -GetBrandNameOk returns a tuple with the BrandName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBrandName - -`func (o *GetIdentity200ResponseOrg) SetBrandName(v string)` - -SetBrandName sets BrandName field to given value. - -### HasBrandName - -`func (o *GetIdentity200ResponseOrg) HasBrandName() bool` - -HasBrandName returns a boolean if a field has been set. - -### GetLogo - -`func (o *GetIdentity200ResponseOrg) GetLogo() map[string]interface{}` - -GetLogo returns the Logo field if non-nil, zero value otherwise. - -### GetLogoOk - -`func (o *GetIdentity200ResponseOrg) GetLogoOk() (*map[string]interface{}, bool)` - -GetLogoOk returns a tuple with the Logo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLogo - -`func (o *GetIdentity200ResponseOrg) SetLogo(v map[string]interface{})` - -SetLogo sets Logo field to given value. - -### HasLogo - -`func (o *GetIdentity200ResponseOrg) HasLogo() bool` - -HasLogo returns a boolean if a field has been set. - -### GetEmailFromAddress - -`func (o *GetIdentity200ResponseOrg) GetEmailFromAddress() map[string]interface{}` - -GetEmailFromAddress returns the EmailFromAddress field if non-nil, zero value otherwise. - -### GetEmailFromAddressOk - -`func (o *GetIdentity200ResponseOrg) GetEmailFromAddressOk() (*map[string]interface{}, bool)` - -GetEmailFromAddressOk returns a tuple with the EmailFromAddress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailFromAddress - -`func (o *GetIdentity200ResponseOrg) SetEmailFromAddress(v map[string]interface{})` - -SetEmailFromAddress sets EmailFromAddress field to given value. - -### HasEmailFromAddress - -`func (o *GetIdentity200ResponseOrg) HasEmailFromAddress() bool` - -HasEmailFromAddress returns a boolean if a field has been set. - -### GetStandardLogoUrl - -`func (o *GetIdentity200ResponseOrg) GetStandardLogoUrl() map[string]interface{}` - -GetStandardLogoUrl returns the StandardLogoUrl field if non-nil, zero value otherwise. - -### GetStandardLogoUrlOk - -`func (o *GetIdentity200ResponseOrg) GetStandardLogoUrlOk() (*map[string]interface{}, bool)` - -GetStandardLogoUrlOk returns a tuple with the StandardLogoUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStandardLogoUrl - -`func (o *GetIdentity200ResponseOrg) SetStandardLogoUrl(v map[string]interface{})` - -SetStandardLogoUrl sets StandardLogoUrl field to given value. - -### HasStandardLogoUrl - -`func (o *GetIdentity200ResponseOrg) HasStandardLogoUrl() bool` - -HasStandardLogoUrl returns a boolean if a field has been set. - -### GetNarrowLogoUrl - -`func (o *GetIdentity200ResponseOrg) GetNarrowLogoUrl() map[string]interface{}` - -GetNarrowLogoUrl returns the NarrowLogoUrl field if non-nil, zero value otherwise. - -### GetNarrowLogoUrlOk - -`func (o *GetIdentity200ResponseOrg) GetNarrowLogoUrlOk() (*map[string]interface{}, bool)` - -GetNarrowLogoUrlOk returns a tuple with the NarrowLogoUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNarrowLogoUrl - -`func (o *GetIdentity200ResponseOrg) SetNarrowLogoUrl(v map[string]interface{})` - -SetNarrowLogoUrl sets NarrowLogoUrl field to given value. - -### HasNarrowLogoUrl - -`func (o *GetIdentity200ResponseOrg) HasNarrowLogoUrl() bool` - -HasNarrowLogoUrl returns a boolean if a field has been set. - -### GetActionButtonColor - -`func (o *GetIdentity200ResponseOrg) GetActionButtonColor() string` - -GetActionButtonColor returns the ActionButtonColor field if non-nil, zero value otherwise. - -### GetActionButtonColorOk - -`func (o *GetIdentity200ResponseOrg) GetActionButtonColorOk() (*string, bool)` - -GetActionButtonColorOk returns a tuple with the ActionButtonColor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetActionButtonColor - -`func (o *GetIdentity200ResponseOrg) SetActionButtonColor(v string)` - -SetActionButtonColor sets ActionButtonColor field to given value. - -### HasActionButtonColor - -`func (o *GetIdentity200ResponseOrg) HasActionButtonColor() bool` - -HasActionButtonColor returns a boolean if a field has been set. - -### GetActiveLinkColor - -`func (o *GetIdentity200ResponseOrg) GetActiveLinkColor() string` - -GetActiveLinkColor returns the ActiveLinkColor field if non-nil, zero value otherwise. - -### GetActiveLinkColorOk - -`func (o *GetIdentity200ResponseOrg) GetActiveLinkColorOk() (*string, bool)` - -GetActiveLinkColorOk returns a tuple with the ActiveLinkColor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetActiveLinkColor - -`func (o *GetIdentity200ResponseOrg) SetActiveLinkColor(v string)` - -SetActiveLinkColor sets ActiveLinkColor field to given value. - -### HasActiveLinkColor - -`func (o *GetIdentity200ResponseOrg) HasActiveLinkColor() bool` - -HasActiveLinkColor returns a boolean if a field has been set. - -### GetNavigationColor - -`func (o *GetIdentity200ResponseOrg) GetNavigationColor() string` - -GetNavigationColor returns the NavigationColor field if non-nil, zero value otherwise. - -### GetNavigationColorOk - -`func (o *GetIdentity200ResponseOrg) GetNavigationColorOk() (*string, bool)` - -GetNavigationColorOk returns a tuple with the NavigationColor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNavigationColor - -`func (o *GetIdentity200ResponseOrg) SetNavigationColor(v string)` - -SetNavigationColor sets NavigationColor field to given value. - -### HasNavigationColor - -`func (o *GetIdentity200ResponseOrg) HasNavigationColor() bool` - -HasNavigationColor returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ImportConnectorConfigRequest.md b/api_cc/docs/ImportConnectorConfigRequest.md deleted file mode 100644 index c57d23cf6..000000000 --- a/api_cc/docs/ImportConnectorConfigRequest.md +++ /dev/null @@ -1,56 +0,0 @@ -# ImportConnectorConfigRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**File** | Pointer to ***os.File** | This is the connector config zip bundle which gets uploaded. | [optional] - -## Methods - -### NewImportConnectorConfigRequest - -`func NewImportConnectorConfigRequest() *ImportConnectorConfigRequest` - -NewImportConnectorConfigRequest instantiates a new ImportConnectorConfigRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewImportConnectorConfigRequestWithDefaults - -`func NewImportConnectorConfigRequestWithDefaults() *ImportConnectorConfigRequest` - -NewImportConnectorConfigRequestWithDefaults instantiates a new ImportConnectorConfigRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetFile - -`func (o *ImportConnectorConfigRequest) GetFile() *os.File` - -GetFile returns the File field if non-nil, zero value otherwise. - -### GetFileOk - -`func (o *ImportConnectorConfigRequest) GetFileOk() (**os.File, bool)` - -GetFileOk returns a tuple with the File field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFile - -`func (o *ImportConnectorConfigRequest) SetFile(v *os.File)` - -SetFile sets File field to given value. - -### HasFile - -`func (o *ImportConnectorConfigRequest) HasFile() bool` - -HasFile returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ListAccounts200ResponseInner.md b/api_cc/docs/ListAccounts200ResponseInner.md deleted file mode 100644 index 03b1584fd..000000000 --- a/api_cc/docs/ListAccounts200ResponseInner.md +++ /dev/null @@ -1,528 +0,0 @@ -# ListAccounts200ResponseInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **string** | | [optional] -**Type** | Pointer to **string** | | [optional] -**DisplayName** | Pointer to **string** | | [optional] -**Username** | Pointer to **string** | | [optional] -**PasswordRequired** | Pointer to **bool** | | [optional] -**PasswordProvided** | Pointer to **bool** | | [optional] -**Apps** | Pointer to **[]map[string]interface{}** | | [optional] -**SsoMethod** | Pointer to **string** | | [optional] -**IdEncryption** | Pointer to **string** | | [optional] -**PasswordEncryption** | Pointer to **string** | | [optional] -**LastPasswdChange** | Pointer to **NullableString** | | [optional] -**ServiceName** | Pointer to **string** | | [optional] -**DateDisabled** | Pointer to **NullableString** | | [optional] -**AccountServiceId** | Pointer to **int32** | | [optional] -**ServiceId** | Pointer to **int32** | | [optional] -**PendingPasswordRequestId** | Pointer to **NullableString** | | [optional] -**PasswordChangeStatus** | Pointer to **string** | | [optional] -**PasswordChangeResult** | Pointer to [**ListAccounts200ResponseInnerPasswordChangeResult**](ListAccounts200ResponseInnerPasswordChangeResult.md) | | [optional] - -## Methods - -### NewListAccounts200ResponseInner - -`func NewListAccounts200ResponseInner() *ListAccounts200ResponseInner` - -NewListAccounts200ResponseInner instantiates a new ListAccounts200ResponseInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListAccounts200ResponseInnerWithDefaults - -`func NewListAccounts200ResponseInnerWithDefaults() *ListAccounts200ResponseInner` - -NewListAccounts200ResponseInnerWithDefaults instantiates a new ListAccounts200ResponseInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *ListAccounts200ResponseInner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ListAccounts200ResponseInner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ListAccounts200ResponseInner) SetId(v string)` - -SetId sets Id field to given value. - -### HasId - -`func (o *ListAccounts200ResponseInner) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetType - -`func (o *ListAccounts200ResponseInner) GetType() string` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *ListAccounts200ResponseInner) GetTypeOk() (*string, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *ListAccounts200ResponseInner) SetType(v string)` - -SetType sets Type field to given value. - -### HasType - -`func (o *ListAccounts200ResponseInner) HasType() bool` - -HasType returns a boolean if a field has been set. - -### GetDisplayName - -`func (o *ListAccounts200ResponseInner) GetDisplayName() string` - -GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. - -### GetDisplayNameOk - -`func (o *ListAccounts200ResponseInner) GetDisplayNameOk() (*string, bool)` - -GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDisplayName - -`func (o *ListAccounts200ResponseInner) SetDisplayName(v string)` - -SetDisplayName sets DisplayName field to given value. - -### HasDisplayName - -`func (o *ListAccounts200ResponseInner) HasDisplayName() bool` - -HasDisplayName returns a boolean if a field has been set. - -### GetUsername - -`func (o *ListAccounts200ResponseInner) GetUsername() string` - -GetUsername returns the Username field if non-nil, zero value otherwise. - -### GetUsernameOk - -`func (o *ListAccounts200ResponseInner) 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 *ListAccounts200ResponseInner) SetUsername(v string)` - -SetUsername sets Username field to given value. - -### HasUsername - -`func (o *ListAccounts200ResponseInner) HasUsername() bool` - -HasUsername returns a boolean if a field has been set. - -### GetPasswordRequired - -`func (o *ListAccounts200ResponseInner) GetPasswordRequired() bool` - -GetPasswordRequired returns the PasswordRequired field if non-nil, zero value otherwise. - -### GetPasswordRequiredOk - -`func (o *ListAccounts200ResponseInner) GetPasswordRequiredOk() (*bool, bool)` - -GetPasswordRequiredOk returns a tuple with the PasswordRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordRequired - -`func (o *ListAccounts200ResponseInner) SetPasswordRequired(v bool)` - -SetPasswordRequired sets PasswordRequired field to given value. - -### HasPasswordRequired - -`func (o *ListAccounts200ResponseInner) HasPasswordRequired() bool` - -HasPasswordRequired returns a boolean if a field has been set. - -### GetPasswordProvided - -`func (o *ListAccounts200ResponseInner) GetPasswordProvided() bool` - -GetPasswordProvided returns the PasswordProvided field if non-nil, zero value otherwise. - -### GetPasswordProvidedOk - -`func (o *ListAccounts200ResponseInner) GetPasswordProvidedOk() (*bool, bool)` - -GetPasswordProvidedOk returns a tuple with the PasswordProvided field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordProvided - -`func (o *ListAccounts200ResponseInner) SetPasswordProvided(v bool)` - -SetPasswordProvided sets PasswordProvided field to given value. - -### HasPasswordProvided - -`func (o *ListAccounts200ResponseInner) HasPasswordProvided() bool` - -HasPasswordProvided returns a boolean if a field has been set. - -### GetApps - -`func (o *ListAccounts200ResponseInner) GetApps() []map[string]interface{}` - -GetApps returns the Apps field if non-nil, zero value otherwise. - -### GetAppsOk - -`func (o *ListAccounts200ResponseInner) GetAppsOk() (*[]map[string]interface{}, bool)` - -GetAppsOk returns a tuple with the Apps field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetApps - -`func (o *ListAccounts200ResponseInner) SetApps(v []map[string]interface{})` - -SetApps sets Apps field to given value. - -### HasApps - -`func (o *ListAccounts200ResponseInner) HasApps() bool` - -HasApps returns a boolean if a field has been set. - -### GetSsoMethod - -`func (o *ListAccounts200ResponseInner) GetSsoMethod() string` - -GetSsoMethod returns the SsoMethod field if non-nil, zero value otherwise. - -### GetSsoMethodOk - -`func (o *ListAccounts200ResponseInner) GetSsoMethodOk() (*string, bool)` - -GetSsoMethodOk returns a tuple with the SsoMethod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSsoMethod - -`func (o *ListAccounts200ResponseInner) SetSsoMethod(v string)` - -SetSsoMethod sets SsoMethod field to given value. - -### HasSsoMethod - -`func (o *ListAccounts200ResponseInner) HasSsoMethod() bool` - -HasSsoMethod returns a boolean if a field has been set. - -### GetIdEncryption - -`func (o *ListAccounts200ResponseInner) GetIdEncryption() string` - -GetIdEncryption returns the IdEncryption field if non-nil, zero value otherwise. - -### GetIdEncryptionOk - -`func (o *ListAccounts200ResponseInner) GetIdEncryptionOk() (*string, bool)` - -GetIdEncryptionOk returns a tuple with the IdEncryption field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdEncryption - -`func (o *ListAccounts200ResponseInner) SetIdEncryption(v string)` - -SetIdEncryption sets IdEncryption field to given value. - -### HasIdEncryption - -`func (o *ListAccounts200ResponseInner) HasIdEncryption() bool` - -HasIdEncryption returns a boolean if a field has been set. - -### GetPasswordEncryption - -`func (o *ListAccounts200ResponseInner) GetPasswordEncryption() string` - -GetPasswordEncryption returns the PasswordEncryption field if non-nil, zero value otherwise. - -### GetPasswordEncryptionOk - -`func (o *ListAccounts200ResponseInner) GetPasswordEncryptionOk() (*string, bool)` - -GetPasswordEncryptionOk returns a tuple with the PasswordEncryption field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordEncryption - -`func (o *ListAccounts200ResponseInner) SetPasswordEncryption(v string)` - -SetPasswordEncryption sets PasswordEncryption field to given value. - -### HasPasswordEncryption - -`func (o *ListAccounts200ResponseInner) HasPasswordEncryption() bool` - -HasPasswordEncryption returns a boolean if a field has been set. - -### GetLastPasswdChange - -`func (o *ListAccounts200ResponseInner) GetLastPasswdChange() string` - -GetLastPasswdChange returns the LastPasswdChange field if non-nil, zero value otherwise. - -### GetLastPasswdChangeOk - -`func (o *ListAccounts200ResponseInner) GetLastPasswdChangeOk() (*string, bool)` - -GetLastPasswdChangeOk returns a tuple with the LastPasswdChange field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLastPasswdChange - -`func (o *ListAccounts200ResponseInner) SetLastPasswdChange(v string)` - -SetLastPasswdChange sets LastPasswdChange field to given value. - -### HasLastPasswdChange - -`func (o *ListAccounts200ResponseInner) HasLastPasswdChange() bool` - -HasLastPasswdChange returns a boolean if a field has been set. - -### SetLastPasswdChangeNil - -`func (o *ListAccounts200ResponseInner) SetLastPasswdChangeNil(b bool)` - - SetLastPasswdChangeNil sets the value for LastPasswdChange to be an explicit nil - -### UnsetLastPasswdChange -`func (o *ListAccounts200ResponseInner) UnsetLastPasswdChange()` - -UnsetLastPasswdChange ensures that no value is present for LastPasswdChange, not even an explicit nil -### GetServiceName - -`func (o *ListAccounts200ResponseInner) GetServiceName() string` - -GetServiceName returns the ServiceName field if non-nil, zero value otherwise. - -### GetServiceNameOk - -`func (o *ListAccounts200ResponseInner) GetServiceNameOk() (*string, bool)` - -GetServiceNameOk returns a tuple with the ServiceName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetServiceName - -`func (o *ListAccounts200ResponseInner) SetServiceName(v string)` - -SetServiceName sets ServiceName field to given value. - -### HasServiceName - -`func (o *ListAccounts200ResponseInner) HasServiceName() bool` - -HasServiceName returns a boolean if a field has been set. - -### GetDateDisabled - -`func (o *ListAccounts200ResponseInner) GetDateDisabled() string` - -GetDateDisabled returns the DateDisabled field if non-nil, zero value otherwise. - -### GetDateDisabledOk - -`func (o *ListAccounts200ResponseInner) GetDateDisabledOk() (*string, bool)` - -GetDateDisabledOk returns a tuple with the DateDisabled field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDateDisabled - -`func (o *ListAccounts200ResponseInner) SetDateDisabled(v string)` - -SetDateDisabled sets DateDisabled field to given value. - -### HasDateDisabled - -`func (o *ListAccounts200ResponseInner) HasDateDisabled() bool` - -HasDateDisabled returns a boolean if a field has been set. - -### SetDateDisabledNil - -`func (o *ListAccounts200ResponseInner) SetDateDisabledNil(b bool)` - - SetDateDisabledNil sets the value for DateDisabled to be an explicit nil - -### UnsetDateDisabled -`func (o *ListAccounts200ResponseInner) UnsetDateDisabled()` - -UnsetDateDisabled ensures that no value is present for DateDisabled, not even an explicit nil -### GetAccountServiceId - -`func (o *ListAccounts200ResponseInner) GetAccountServiceId() int32` - -GetAccountServiceId returns the AccountServiceId field if non-nil, zero value otherwise. - -### GetAccountServiceIdOk - -`func (o *ListAccounts200ResponseInner) GetAccountServiceIdOk() (*int32, bool)` - -GetAccountServiceIdOk returns a tuple with the AccountServiceId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceId - -`func (o *ListAccounts200ResponseInner) SetAccountServiceId(v int32)` - -SetAccountServiceId sets AccountServiceId field to given value. - -### HasAccountServiceId - -`func (o *ListAccounts200ResponseInner) HasAccountServiceId() bool` - -HasAccountServiceId returns a boolean if a field has been set. - -### GetServiceId - -`func (o *ListAccounts200ResponseInner) GetServiceId() int32` - -GetServiceId returns the ServiceId field if non-nil, zero value otherwise. - -### GetServiceIdOk - -`func (o *ListAccounts200ResponseInner) GetServiceIdOk() (*int32, bool)` - -GetServiceIdOk returns a tuple with the ServiceId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetServiceId - -`func (o *ListAccounts200ResponseInner) SetServiceId(v int32)` - -SetServiceId sets ServiceId field to given value. - -### HasServiceId - -`func (o *ListAccounts200ResponseInner) HasServiceId() bool` - -HasServiceId returns a boolean if a field has been set. - -### GetPendingPasswordRequestId - -`func (o *ListAccounts200ResponseInner) GetPendingPasswordRequestId() string` - -GetPendingPasswordRequestId returns the PendingPasswordRequestId field if non-nil, zero value otherwise. - -### GetPendingPasswordRequestIdOk - -`func (o *ListAccounts200ResponseInner) GetPendingPasswordRequestIdOk() (*string, bool)` - -GetPendingPasswordRequestIdOk returns a tuple with the PendingPasswordRequestId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPendingPasswordRequestId - -`func (o *ListAccounts200ResponseInner) SetPendingPasswordRequestId(v string)` - -SetPendingPasswordRequestId sets PendingPasswordRequestId field to given value. - -### HasPendingPasswordRequestId - -`func (o *ListAccounts200ResponseInner) HasPendingPasswordRequestId() bool` - -HasPendingPasswordRequestId returns a boolean if a field has been set. - -### SetPendingPasswordRequestIdNil - -`func (o *ListAccounts200ResponseInner) SetPendingPasswordRequestIdNil(b bool)` - - SetPendingPasswordRequestIdNil sets the value for PendingPasswordRequestId to be an explicit nil - -### UnsetPendingPasswordRequestId -`func (o *ListAccounts200ResponseInner) UnsetPendingPasswordRequestId()` - -UnsetPendingPasswordRequestId ensures that no value is present for PendingPasswordRequestId, not even an explicit nil -### GetPasswordChangeStatus - -`func (o *ListAccounts200ResponseInner) GetPasswordChangeStatus() string` - -GetPasswordChangeStatus returns the PasswordChangeStatus field if non-nil, zero value otherwise. - -### GetPasswordChangeStatusOk - -`func (o *ListAccounts200ResponseInner) GetPasswordChangeStatusOk() (*string, bool)` - -GetPasswordChangeStatusOk returns a tuple with the PasswordChangeStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordChangeStatus - -`func (o *ListAccounts200ResponseInner) SetPasswordChangeStatus(v string)` - -SetPasswordChangeStatus sets PasswordChangeStatus field to given value. - -### HasPasswordChangeStatus - -`func (o *ListAccounts200ResponseInner) HasPasswordChangeStatus() bool` - -HasPasswordChangeStatus returns a boolean if a field has been set. - -### GetPasswordChangeResult - -`func (o *ListAccounts200ResponseInner) GetPasswordChangeResult() ListAccounts200ResponseInnerPasswordChangeResult` - -GetPasswordChangeResult returns the PasswordChangeResult field if non-nil, zero value otherwise. - -### GetPasswordChangeResultOk - -`func (o *ListAccounts200ResponseInner) GetPasswordChangeResultOk() (*ListAccounts200ResponseInnerPasswordChangeResult, bool)` - -GetPasswordChangeResultOk returns a tuple with the PasswordChangeResult field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordChangeResult - -`func (o *ListAccounts200ResponseInner) SetPasswordChangeResult(v ListAccounts200ResponseInnerPasswordChangeResult)` - -SetPasswordChangeResult sets PasswordChangeResult field to given value. - -### HasPasswordChangeResult - -`func (o *ListAccounts200ResponseInner) HasPasswordChangeResult() bool` - -HasPasswordChangeResult returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ListAccounts200ResponseInnerPasswordChangeResult.md b/api_cc/docs/ListAccounts200ResponseInnerPasswordChangeResult.md deleted file mode 100644 index 5d01e4d02..000000000 --- a/api_cc/docs/ListAccounts200ResponseInnerPasswordChangeResult.md +++ /dev/null @@ -1,56 +0,0 @@ -# ListAccounts200ResponseInnerPasswordChangeResult - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CompletionStatus** | Pointer to **string** | | [optional] - -## Methods - -### NewListAccounts200ResponseInnerPasswordChangeResult - -`func NewListAccounts200ResponseInnerPasswordChangeResult() *ListAccounts200ResponseInnerPasswordChangeResult` - -NewListAccounts200ResponseInnerPasswordChangeResult instantiates a new ListAccounts200ResponseInnerPasswordChangeResult object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListAccounts200ResponseInnerPasswordChangeResultWithDefaults - -`func NewListAccounts200ResponseInnerPasswordChangeResultWithDefaults() *ListAccounts200ResponseInnerPasswordChangeResult` - -NewListAccounts200ResponseInnerPasswordChangeResultWithDefaults instantiates a new ListAccounts200ResponseInnerPasswordChangeResult object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCompletionStatus - -`func (o *ListAccounts200ResponseInnerPasswordChangeResult) GetCompletionStatus() string` - -GetCompletionStatus returns the CompletionStatus field if non-nil, zero value otherwise. - -### GetCompletionStatusOk - -`func (o *ListAccounts200ResponseInnerPasswordChangeResult) GetCompletionStatusOk() (*string, bool)` - -GetCompletionStatusOk returns a tuple with the CompletionStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCompletionStatus - -`func (o *ListAccounts200ResponseInnerPasswordChangeResult) SetCompletionStatus(v string)` - -SetCompletionStatus sets CompletionStatus field to given value. - -### HasCompletionStatus - -`func (o *ListAccounts200ResponseInnerPasswordChangeResult) HasCompletionStatus() bool` - -HasCompletionStatus returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ListApplications200ResponseInner.md b/api_cc/docs/ListApplications200ResponseInner.md deleted file mode 100644 index 04183e9f5..000000000 --- a/api_cc/docs/ListApplications200ResponseInner.md +++ /dev/null @@ -1,1330 +0,0 @@ -# ListApplications200ResponseInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **string** | | [optional] -**AppId** | Pointer to **string** | | [optional] -**ServiceId** | Pointer to **string** | | [optional] -**ServiceAppId** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | | [optional] -**AppCenterEnabled** | Pointer to **bool** | | [optional] -**ProvisionRequestEnabled** | Pointer to **bool** | | [optional] -**ControlType** | Pointer to **string** | | [optional] -**Mobile** | Pointer to **bool** | | [optional] -**PrivateApp** | Pointer to **bool** | | [optional] -**ScriptName** | Pointer to **string** | | [optional] -**Status** | Pointer to **string** | | [optional] -**Icon** | Pointer to **string** | | [optional] -**Health** | Pointer to [**ListApplications200ResponseInnerHealth**](ListApplications200ResponseInnerHealth.md) | | [optional] -**EnableSso** | Pointer to **bool** | | [optional] -**SsoMethod** | Pointer to **string** | | [optional] -**HasLinks** | Pointer to **bool** | | [optional] -**HasAutomations** | Pointer to **bool** | | [optional] -**StepUpAuthData** | Pointer to **map[string]interface{}** | | [optional] -**StepUpAuthType** | Pointer to **string** | | [optional] -**UsageAnalytics** | Pointer to **bool** | | [optional] -**UsageCertRequired** | Pointer to **bool** | | [optional] -**UsageCertText** | Pointer to **map[string]interface{}** | | [optional] -**LaunchpadEnabled** | Pointer to **bool** | | [optional] -**PasswordManaged** | Pointer to **bool** | | [optional] -**Owner** | Pointer to [**ListApplications200ResponseInnerOwner**](ListApplications200ResponseInnerOwner.md) | | [optional] -**DateCreated** | Pointer to **float32** | | [optional] -**LastUpdated** | Pointer to **float32** | | [optional] -**DefaultAccessProfile** | Pointer to **map[string]interface{}** | | [optional] -**Service** | Pointer to **string** | | [optional] -**SelectedSsoMethod** | Pointer to **string** | | [optional] -**SupportedSsoMethods** | Pointer to **float32** | | [optional] -**OffNetworkBlockedRoles** | Pointer to **map[string]interface{}** | | [optional] -**SupportedOffNetwork** | Pointer to **string** | | [optional] -**AccountServiceId** | Pointer to **float32** | | [optional] -**LauncherCount** | Pointer to **float32** | | [optional] -**AccountServiceName** | Pointer to **string** | | [optional] -**AccountServiceExternalId** | Pointer to **string** | | [optional] -**AccountServiceMatchAllAccounts** | Pointer to **bool** | | [optional] -**ExternalId** | Pointer to **string** | | [optional] -**AccountServiceUseForPasswordManagement** | Pointer to **bool** | | [optional] -**AccountServicePolicyId** | Pointer to **string** | | [optional] -**AccountServicePolicyName** | Pointer to **string** | | [optional] -**RequireStrongAuthn** | Pointer to **bool** | | [optional] -**AccountServicePolicies** | Pointer to [**[]ListApplications200ResponseInnerAccountServicePoliciesInner**](ListApplications200ResponseInnerAccountServicePoliciesInner.md) | | [optional] -**XsdVersion** | Pointer to **string** | | [optional] -**AppProfiles** | Pointer to [**[]ListApplications200ResponseInnerAppProfilesInner**](ListApplications200ResponseInnerAppProfilesInner.md) | | [optional] -**PasswordServiceId** | Pointer to **float32** | | [optional] -**AccessProfileIds** | Pointer to **[]string** | | [optional] - -## Methods - -### NewListApplications200ResponseInner - -`func NewListApplications200ResponseInner() *ListApplications200ResponseInner` - -NewListApplications200ResponseInner instantiates a new ListApplications200ResponseInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListApplications200ResponseInnerWithDefaults - -`func NewListApplications200ResponseInnerWithDefaults() *ListApplications200ResponseInner` - -NewListApplications200ResponseInnerWithDefaults instantiates a new ListApplications200ResponseInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *ListApplications200ResponseInner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ListApplications200ResponseInner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ListApplications200ResponseInner) SetId(v string)` - -SetId sets Id field to given value. - -### HasId - -`func (o *ListApplications200ResponseInner) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetAppId - -`func (o *ListApplications200ResponseInner) GetAppId() string` - -GetAppId returns the AppId field if non-nil, zero value otherwise. - -### GetAppIdOk - -`func (o *ListApplications200ResponseInner) GetAppIdOk() (*string, bool)` - -GetAppIdOk returns a tuple with the AppId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppId - -`func (o *ListApplications200ResponseInner) SetAppId(v string)` - -SetAppId sets AppId field to given value. - -### HasAppId - -`func (o *ListApplications200ResponseInner) HasAppId() bool` - -HasAppId returns a boolean if a field has been set. - -### GetServiceId - -`func (o *ListApplications200ResponseInner) GetServiceId() string` - -GetServiceId returns the ServiceId field if non-nil, zero value otherwise. - -### GetServiceIdOk - -`func (o *ListApplications200ResponseInner) GetServiceIdOk() (*string, bool)` - -GetServiceIdOk returns a tuple with the ServiceId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetServiceId - -`func (o *ListApplications200ResponseInner) SetServiceId(v string)` - -SetServiceId sets ServiceId field to given value. - -### HasServiceId - -`func (o *ListApplications200ResponseInner) HasServiceId() bool` - -HasServiceId returns a boolean if a field has been set. - -### GetServiceAppId - -`func (o *ListApplications200ResponseInner) GetServiceAppId() string` - -GetServiceAppId returns the ServiceAppId field if non-nil, zero value otherwise. - -### GetServiceAppIdOk - -`func (o *ListApplications200ResponseInner) GetServiceAppIdOk() (*string, bool)` - -GetServiceAppIdOk returns a tuple with the ServiceAppId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetServiceAppId - -`func (o *ListApplications200ResponseInner) SetServiceAppId(v string)` - -SetServiceAppId sets ServiceAppId field to given value. - -### HasServiceAppId - -`func (o *ListApplications200ResponseInner) HasServiceAppId() bool` - -HasServiceAppId returns a boolean if a field has been set. - -### GetName - -`func (o *ListApplications200ResponseInner) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *ListApplications200ResponseInner) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *ListApplications200ResponseInner) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *ListApplications200ResponseInner) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetDescription - -`func (o *ListApplications200ResponseInner) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *ListApplications200ResponseInner) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *ListApplications200ResponseInner) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *ListApplications200ResponseInner) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetAppCenterEnabled - -`func (o *ListApplications200ResponseInner) GetAppCenterEnabled() bool` - -GetAppCenterEnabled returns the AppCenterEnabled field if non-nil, zero value otherwise. - -### GetAppCenterEnabledOk - -`func (o *ListApplications200ResponseInner) GetAppCenterEnabledOk() (*bool, bool)` - -GetAppCenterEnabledOk returns a tuple with the AppCenterEnabled field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppCenterEnabled - -`func (o *ListApplications200ResponseInner) SetAppCenterEnabled(v bool)` - -SetAppCenterEnabled sets AppCenterEnabled field to given value. - -### HasAppCenterEnabled - -`func (o *ListApplications200ResponseInner) HasAppCenterEnabled() bool` - -HasAppCenterEnabled returns a boolean if a field has been set. - -### GetProvisionRequestEnabled - -`func (o *ListApplications200ResponseInner) GetProvisionRequestEnabled() bool` - -GetProvisionRequestEnabled returns the ProvisionRequestEnabled field if non-nil, zero value otherwise. - -### GetProvisionRequestEnabledOk - -`func (o *ListApplications200ResponseInner) GetProvisionRequestEnabledOk() (*bool, bool)` - -GetProvisionRequestEnabledOk returns a tuple with the ProvisionRequestEnabled field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProvisionRequestEnabled - -`func (o *ListApplications200ResponseInner) SetProvisionRequestEnabled(v bool)` - -SetProvisionRequestEnabled sets ProvisionRequestEnabled field to given value. - -### HasProvisionRequestEnabled - -`func (o *ListApplications200ResponseInner) HasProvisionRequestEnabled() bool` - -HasProvisionRequestEnabled returns a boolean if a field has been set. - -### GetControlType - -`func (o *ListApplications200ResponseInner) GetControlType() string` - -GetControlType returns the ControlType field if non-nil, zero value otherwise. - -### GetControlTypeOk - -`func (o *ListApplications200ResponseInner) GetControlTypeOk() (*string, bool)` - -GetControlTypeOk returns a tuple with the ControlType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetControlType - -`func (o *ListApplications200ResponseInner) SetControlType(v string)` - -SetControlType sets ControlType field to given value. - -### HasControlType - -`func (o *ListApplications200ResponseInner) HasControlType() bool` - -HasControlType returns a boolean if a field has been set. - -### GetMobile - -`func (o *ListApplications200ResponseInner) GetMobile() bool` - -GetMobile returns the Mobile field if non-nil, zero value otherwise. - -### GetMobileOk - -`func (o *ListApplications200ResponseInner) GetMobileOk() (*bool, bool)` - -GetMobileOk returns a tuple with the Mobile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMobile - -`func (o *ListApplications200ResponseInner) SetMobile(v bool)` - -SetMobile sets Mobile field to given value. - -### HasMobile - -`func (o *ListApplications200ResponseInner) HasMobile() bool` - -HasMobile returns a boolean if a field has been set. - -### GetPrivateApp - -`func (o *ListApplications200ResponseInner) GetPrivateApp() bool` - -GetPrivateApp returns the PrivateApp field if non-nil, zero value otherwise. - -### GetPrivateAppOk - -`func (o *ListApplications200ResponseInner) GetPrivateAppOk() (*bool, bool)` - -GetPrivateAppOk returns a tuple with the PrivateApp field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPrivateApp - -`func (o *ListApplications200ResponseInner) SetPrivateApp(v bool)` - -SetPrivateApp sets PrivateApp field to given value. - -### HasPrivateApp - -`func (o *ListApplications200ResponseInner) HasPrivateApp() bool` - -HasPrivateApp returns a boolean if a field has been set. - -### GetScriptName - -`func (o *ListApplications200ResponseInner) GetScriptName() string` - -GetScriptName returns the ScriptName field if non-nil, zero value otherwise. - -### GetScriptNameOk - -`func (o *ListApplications200ResponseInner) GetScriptNameOk() (*string, bool)` - -GetScriptNameOk returns a tuple with the ScriptName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScriptName - -`func (o *ListApplications200ResponseInner) SetScriptName(v string)` - -SetScriptName sets ScriptName field to given value. - -### HasScriptName - -`func (o *ListApplications200ResponseInner) HasScriptName() bool` - -HasScriptName returns a boolean if a field has been set. - -### GetStatus - -`func (o *ListApplications200ResponseInner) GetStatus() string` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *ListApplications200ResponseInner) GetStatusOk() (*string, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *ListApplications200ResponseInner) SetStatus(v string)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *ListApplications200ResponseInner) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetIcon - -`func (o *ListApplications200ResponseInner) GetIcon() string` - -GetIcon returns the Icon field if non-nil, zero value otherwise. - -### GetIconOk - -`func (o *ListApplications200ResponseInner) GetIconOk() (*string, bool)` - -GetIconOk returns a tuple with the Icon field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIcon - -`func (o *ListApplications200ResponseInner) SetIcon(v string)` - -SetIcon sets Icon field to given value. - -### HasIcon - -`func (o *ListApplications200ResponseInner) HasIcon() bool` - -HasIcon returns a boolean if a field has been set. - -### GetHealth - -`func (o *ListApplications200ResponseInner) GetHealth() ListApplications200ResponseInnerHealth` - -GetHealth returns the Health field if non-nil, zero value otherwise. - -### GetHealthOk - -`func (o *ListApplications200ResponseInner) GetHealthOk() (*ListApplications200ResponseInnerHealth, bool)` - -GetHealthOk returns a tuple with the Health field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHealth - -`func (o *ListApplications200ResponseInner) SetHealth(v ListApplications200ResponseInnerHealth)` - -SetHealth sets Health field to given value. - -### HasHealth - -`func (o *ListApplications200ResponseInner) HasHealth() bool` - -HasHealth returns a boolean if a field has been set. - -### GetEnableSso - -`func (o *ListApplications200ResponseInner) GetEnableSso() bool` - -GetEnableSso returns the EnableSso field if non-nil, zero value otherwise. - -### GetEnableSsoOk - -`func (o *ListApplications200ResponseInner) GetEnableSsoOk() (*bool, bool)` - -GetEnableSsoOk returns a tuple with the EnableSso field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableSso - -`func (o *ListApplications200ResponseInner) SetEnableSso(v bool)` - -SetEnableSso sets EnableSso field to given value. - -### HasEnableSso - -`func (o *ListApplications200ResponseInner) HasEnableSso() bool` - -HasEnableSso returns a boolean if a field has been set. - -### GetSsoMethod - -`func (o *ListApplications200ResponseInner) GetSsoMethod() string` - -GetSsoMethod returns the SsoMethod field if non-nil, zero value otherwise. - -### GetSsoMethodOk - -`func (o *ListApplications200ResponseInner) GetSsoMethodOk() (*string, bool)` - -GetSsoMethodOk returns a tuple with the SsoMethod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSsoMethod - -`func (o *ListApplications200ResponseInner) SetSsoMethod(v string)` - -SetSsoMethod sets SsoMethod field to given value. - -### HasSsoMethod - -`func (o *ListApplications200ResponseInner) HasSsoMethod() bool` - -HasSsoMethod returns a boolean if a field has been set. - -### GetHasLinks - -`func (o *ListApplications200ResponseInner) GetHasLinks() bool` - -GetHasLinks returns the HasLinks field if non-nil, zero value otherwise. - -### GetHasLinksOk - -`func (o *ListApplications200ResponseInner) GetHasLinksOk() (*bool, bool)` - -GetHasLinksOk returns a tuple with the HasLinks field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasLinks - -`func (o *ListApplications200ResponseInner) SetHasLinks(v bool)` - -SetHasLinks sets HasLinks field to given value. - -### HasHasLinks - -`func (o *ListApplications200ResponseInner) HasHasLinks() bool` - -HasHasLinks returns a boolean if a field has been set. - -### GetHasAutomations - -`func (o *ListApplications200ResponseInner) GetHasAutomations() bool` - -GetHasAutomations returns the HasAutomations field if non-nil, zero value otherwise. - -### GetHasAutomationsOk - -`func (o *ListApplications200ResponseInner) GetHasAutomationsOk() (*bool, bool)` - -GetHasAutomationsOk returns a tuple with the HasAutomations field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasAutomations - -`func (o *ListApplications200ResponseInner) SetHasAutomations(v bool)` - -SetHasAutomations sets HasAutomations field to given value. - -### HasHasAutomations - -`func (o *ListApplications200ResponseInner) HasHasAutomations() bool` - -HasHasAutomations returns a boolean if a field has been set. - -### GetStepUpAuthData - -`func (o *ListApplications200ResponseInner) GetStepUpAuthData() map[string]interface{}` - -GetStepUpAuthData returns the StepUpAuthData field if non-nil, zero value otherwise. - -### GetStepUpAuthDataOk - -`func (o *ListApplications200ResponseInner) GetStepUpAuthDataOk() (*map[string]interface{}, bool)` - -GetStepUpAuthDataOk returns a tuple with the StepUpAuthData field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStepUpAuthData - -`func (o *ListApplications200ResponseInner) SetStepUpAuthData(v map[string]interface{})` - -SetStepUpAuthData sets StepUpAuthData field to given value. - -### HasStepUpAuthData - -`func (o *ListApplications200ResponseInner) HasStepUpAuthData() bool` - -HasStepUpAuthData returns a boolean if a field has been set. - -### GetStepUpAuthType - -`func (o *ListApplications200ResponseInner) GetStepUpAuthType() string` - -GetStepUpAuthType returns the StepUpAuthType field if non-nil, zero value otherwise. - -### GetStepUpAuthTypeOk - -`func (o *ListApplications200ResponseInner) GetStepUpAuthTypeOk() (*string, bool)` - -GetStepUpAuthTypeOk returns a tuple with the StepUpAuthType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStepUpAuthType - -`func (o *ListApplications200ResponseInner) SetStepUpAuthType(v string)` - -SetStepUpAuthType sets StepUpAuthType field to given value. - -### HasStepUpAuthType - -`func (o *ListApplications200ResponseInner) HasStepUpAuthType() bool` - -HasStepUpAuthType returns a boolean if a field has been set. - -### GetUsageAnalytics - -`func (o *ListApplications200ResponseInner) GetUsageAnalytics() bool` - -GetUsageAnalytics returns the UsageAnalytics field if non-nil, zero value otherwise. - -### GetUsageAnalyticsOk - -`func (o *ListApplications200ResponseInner) GetUsageAnalyticsOk() (*bool, bool)` - -GetUsageAnalyticsOk returns a tuple with the UsageAnalytics field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageAnalytics - -`func (o *ListApplications200ResponseInner) SetUsageAnalytics(v bool)` - -SetUsageAnalytics sets UsageAnalytics field to given value. - -### HasUsageAnalytics - -`func (o *ListApplications200ResponseInner) HasUsageAnalytics() bool` - -HasUsageAnalytics returns a boolean if a field has been set. - -### GetUsageCertRequired - -`func (o *ListApplications200ResponseInner) GetUsageCertRequired() bool` - -GetUsageCertRequired returns the UsageCertRequired field if non-nil, zero value otherwise. - -### GetUsageCertRequiredOk - -`func (o *ListApplications200ResponseInner) GetUsageCertRequiredOk() (*bool, bool)` - -GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageCertRequired - -`func (o *ListApplications200ResponseInner) SetUsageCertRequired(v bool)` - -SetUsageCertRequired sets UsageCertRequired field to given value. - -### HasUsageCertRequired - -`func (o *ListApplications200ResponseInner) HasUsageCertRequired() bool` - -HasUsageCertRequired returns a boolean if a field has been set. - -### GetUsageCertText - -`func (o *ListApplications200ResponseInner) GetUsageCertText() map[string]interface{}` - -GetUsageCertText returns the UsageCertText field if non-nil, zero value otherwise. - -### GetUsageCertTextOk - -`func (o *ListApplications200ResponseInner) GetUsageCertTextOk() (*map[string]interface{}, bool)` - -GetUsageCertTextOk returns a tuple with the UsageCertText field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageCertText - -`func (o *ListApplications200ResponseInner) SetUsageCertText(v map[string]interface{})` - -SetUsageCertText sets UsageCertText field to given value. - -### HasUsageCertText - -`func (o *ListApplications200ResponseInner) HasUsageCertText() bool` - -HasUsageCertText returns a boolean if a field has been set. - -### GetLaunchpadEnabled - -`func (o *ListApplications200ResponseInner) GetLaunchpadEnabled() bool` - -GetLaunchpadEnabled returns the LaunchpadEnabled field if non-nil, zero value otherwise. - -### GetLaunchpadEnabledOk - -`func (o *ListApplications200ResponseInner) GetLaunchpadEnabledOk() (*bool, bool)` - -GetLaunchpadEnabledOk returns a tuple with the LaunchpadEnabled field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLaunchpadEnabled - -`func (o *ListApplications200ResponseInner) SetLaunchpadEnabled(v bool)` - -SetLaunchpadEnabled sets LaunchpadEnabled field to given value. - -### HasLaunchpadEnabled - -`func (o *ListApplications200ResponseInner) HasLaunchpadEnabled() bool` - -HasLaunchpadEnabled returns a boolean if a field has been set. - -### GetPasswordManaged - -`func (o *ListApplications200ResponseInner) GetPasswordManaged() bool` - -GetPasswordManaged returns the PasswordManaged field if non-nil, zero value otherwise. - -### GetPasswordManagedOk - -`func (o *ListApplications200ResponseInner) GetPasswordManagedOk() (*bool, bool)` - -GetPasswordManagedOk returns a tuple with the PasswordManaged field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordManaged - -`func (o *ListApplications200ResponseInner) SetPasswordManaged(v bool)` - -SetPasswordManaged sets PasswordManaged field to given value. - -### HasPasswordManaged - -`func (o *ListApplications200ResponseInner) HasPasswordManaged() bool` - -HasPasswordManaged returns a boolean if a field has been set. - -### GetOwner - -`func (o *ListApplications200ResponseInner) GetOwner() ListApplications200ResponseInnerOwner` - -GetOwner returns the Owner field if non-nil, zero value otherwise. - -### GetOwnerOk - -`func (o *ListApplications200ResponseInner) GetOwnerOk() (*ListApplications200ResponseInnerOwner, bool)` - -GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOwner - -`func (o *ListApplications200ResponseInner) SetOwner(v ListApplications200ResponseInnerOwner)` - -SetOwner sets Owner field to given value. - -### HasOwner - -`func (o *ListApplications200ResponseInner) HasOwner() bool` - -HasOwner returns a boolean if a field has been set. - -### GetDateCreated - -`func (o *ListApplications200ResponseInner) GetDateCreated() float32` - -GetDateCreated returns the DateCreated field if non-nil, zero value otherwise. - -### GetDateCreatedOk - -`func (o *ListApplications200ResponseInner) GetDateCreatedOk() (*float32, bool)` - -GetDateCreatedOk returns a tuple with the DateCreated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDateCreated - -`func (o *ListApplications200ResponseInner) SetDateCreated(v float32)` - -SetDateCreated sets DateCreated field to given value. - -### HasDateCreated - -`func (o *ListApplications200ResponseInner) HasDateCreated() bool` - -HasDateCreated returns a boolean if a field has been set. - -### GetLastUpdated - -`func (o *ListApplications200ResponseInner) GetLastUpdated() float32` - -GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. - -### GetLastUpdatedOk - -`func (o *ListApplications200ResponseInner) GetLastUpdatedOk() (*float32, bool)` - -GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLastUpdated - -`func (o *ListApplications200ResponseInner) SetLastUpdated(v float32)` - -SetLastUpdated sets LastUpdated field to given value. - -### HasLastUpdated - -`func (o *ListApplications200ResponseInner) HasLastUpdated() bool` - -HasLastUpdated returns a boolean if a field has been set. - -### GetDefaultAccessProfile - -`func (o *ListApplications200ResponseInner) GetDefaultAccessProfile() map[string]interface{}` - -GetDefaultAccessProfile returns the DefaultAccessProfile field if non-nil, zero value otherwise. - -### GetDefaultAccessProfileOk - -`func (o *ListApplications200ResponseInner) GetDefaultAccessProfileOk() (*map[string]interface{}, bool)` - -GetDefaultAccessProfileOk returns a tuple with the DefaultAccessProfile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDefaultAccessProfile - -`func (o *ListApplications200ResponseInner) SetDefaultAccessProfile(v map[string]interface{})` - -SetDefaultAccessProfile sets DefaultAccessProfile field to given value. - -### HasDefaultAccessProfile - -`func (o *ListApplications200ResponseInner) HasDefaultAccessProfile() bool` - -HasDefaultAccessProfile returns a boolean if a field has been set. - -### GetService - -`func (o *ListApplications200ResponseInner) GetService() string` - -GetService returns the Service field if non-nil, zero value otherwise. - -### GetServiceOk - -`func (o *ListApplications200ResponseInner) GetServiceOk() (*string, bool)` - -GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetService - -`func (o *ListApplications200ResponseInner) SetService(v string)` - -SetService sets Service field to given value. - -### HasService - -`func (o *ListApplications200ResponseInner) HasService() bool` - -HasService returns a boolean if a field has been set. - -### GetSelectedSsoMethod - -`func (o *ListApplications200ResponseInner) GetSelectedSsoMethod() string` - -GetSelectedSsoMethod returns the SelectedSsoMethod field if non-nil, zero value otherwise. - -### GetSelectedSsoMethodOk - -`func (o *ListApplications200ResponseInner) GetSelectedSsoMethodOk() (*string, bool)` - -GetSelectedSsoMethodOk returns a tuple with the SelectedSsoMethod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelectedSsoMethod - -`func (o *ListApplications200ResponseInner) SetSelectedSsoMethod(v string)` - -SetSelectedSsoMethod sets SelectedSsoMethod field to given value. - -### HasSelectedSsoMethod - -`func (o *ListApplications200ResponseInner) HasSelectedSsoMethod() bool` - -HasSelectedSsoMethod returns a boolean if a field has been set. - -### GetSupportedSsoMethods - -`func (o *ListApplications200ResponseInner) GetSupportedSsoMethods() float32` - -GetSupportedSsoMethods returns the SupportedSsoMethods field if non-nil, zero value otherwise. - -### GetSupportedSsoMethodsOk - -`func (o *ListApplications200ResponseInner) GetSupportedSsoMethodsOk() (*float32, bool)` - -GetSupportedSsoMethodsOk returns a tuple with the SupportedSsoMethods field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSupportedSsoMethods - -`func (o *ListApplications200ResponseInner) SetSupportedSsoMethods(v float32)` - -SetSupportedSsoMethods sets SupportedSsoMethods field to given value. - -### HasSupportedSsoMethods - -`func (o *ListApplications200ResponseInner) HasSupportedSsoMethods() bool` - -HasSupportedSsoMethods returns a boolean if a field has been set. - -### GetOffNetworkBlockedRoles - -`func (o *ListApplications200ResponseInner) GetOffNetworkBlockedRoles() map[string]interface{}` - -GetOffNetworkBlockedRoles returns the OffNetworkBlockedRoles field if non-nil, zero value otherwise. - -### GetOffNetworkBlockedRolesOk - -`func (o *ListApplications200ResponseInner) GetOffNetworkBlockedRolesOk() (*map[string]interface{}, bool)` - -GetOffNetworkBlockedRolesOk returns a tuple with the OffNetworkBlockedRoles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOffNetworkBlockedRoles - -`func (o *ListApplications200ResponseInner) SetOffNetworkBlockedRoles(v map[string]interface{})` - -SetOffNetworkBlockedRoles sets OffNetworkBlockedRoles field to given value. - -### HasOffNetworkBlockedRoles - -`func (o *ListApplications200ResponseInner) HasOffNetworkBlockedRoles() bool` - -HasOffNetworkBlockedRoles returns a boolean if a field has been set. - -### GetSupportedOffNetwork - -`func (o *ListApplications200ResponseInner) GetSupportedOffNetwork() string` - -GetSupportedOffNetwork returns the SupportedOffNetwork field if non-nil, zero value otherwise. - -### GetSupportedOffNetworkOk - -`func (o *ListApplications200ResponseInner) GetSupportedOffNetworkOk() (*string, bool)` - -GetSupportedOffNetworkOk returns a tuple with the SupportedOffNetwork field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSupportedOffNetwork - -`func (o *ListApplications200ResponseInner) SetSupportedOffNetwork(v string)` - -SetSupportedOffNetwork sets SupportedOffNetwork field to given value. - -### HasSupportedOffNetwork - -`func (o *ListApplications200ResponseInner) HasSupportedOffNetwork() bool` - -HasSupportedOffNetwork returns a boolean if a field has been set. - -### GetAccountServiceId - -`func (o *ListApplications200ResponseInner) GetAccountServiceId() float32` - -GetAccountServiceId returns the AccountServiceId field if non-nil, zero value otherwise. - -### GetAccountServiceIdOk - -`func (o *ListApplications200ResponseInner) GetAccountServiceIdOk() (*float32, bool)` - -GetAccountServiceIdOk returns a tuple with the AccountServiceId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceId - -`func (o *ListApplications200ResponseInner) SetAccountServiceId(v float32)` - -SetAccountServiceId sets AccountServiceId field to given value. - -### HasAccountServiceId - -`func (o *ListApplications200ResponseInner) HasAccountServiceId() bool` - -HasAccountServiceId returns a boolean if a field has been set. - -### GetLauncherCount - -`func (o *ListApplications200ResponseInner) GetLauncherCount() float32` - -GetLauncherCount returns the LauncherCount field if non-nil, zero value otherwise. - -### GetLauncherCountOk - -`func (o *ListApplications200ResponseInner) GetLauncherCountOk() (*float32, bool)` - -GetLauncherCountOk returns a tuple with the LauncherCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLauncherCount - -`func (o *ListApplications200ResponseInner) SetLauncherCount(v float32)` - -SetLauncherCount sets LauncherCount field to given value. - -### HasLauncherCount - -`func (o *ListApplications200ResponseInner) HasLauncherCount() bool` - -HasLauncherCount returns a boolean if a field has been set. - -### GetAccountServiceName - -`func (o *ListApplications200ResponseInner) GetAccountServiceName() string` - -GetAccountServiceName returns the AccountServiceName field if non-nil, zero value otherwise. - -### GetAccountServiceNameOk - -`func (o *ListApplications200ResponseInner) GetAccountServiceNameOk() (*string, bool)` - -GetAccountServiceNameOk returns a tuple with the AccountServiceName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceName - -`func (o *ListApplications200ResponseInner) SetAccountServiceName(v string)` - -SetAccountServiceName sets AccountServiceName field to given value. - -### HasAccountServiceName - -`func (o *ListApplications200ResponseInner) HasAccountServiceName() bool` - -HasAccountServiceName returns a boolean if a field has been set. - -### GetAccountServiceExternalId - -`func (o *ListApplications200ResponseInner) GetAccountServiceExternalId() string` - -GetAccountServiceExternalId returns the AccountServiceExternalId field if non-nil, zero value otherwise. - -### GetAccountServiceExternalIdOk - -`func (o *ListApplications200ResponseInner) GetAccountServiceExternalIdOk() (*string, bool)` - -GetAccountServiceExternalIdOk returns a tuple with the AccountServiceExternalId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceExternalId - -`func (o *ListApplications200ResponseInner) SetAccountServiceExternalId(v string)` - -SetAccountServiceExternalId sets AccountServiceExternalId field to given value. - -### HasAccountServiceExternalId - -`func (o *ListApplications200ResponseInner) HasAccountServiceExternalId() bool` - -HasAccountServiceExternalId returns a boolean if a field has been set. - -### GetAccountServiceMatchAllAccounts - -`func (o *ListApplications200ResponseInner) GetAccountServiceMatchAllAccounts() bool` - -GetAccountServiceMatchAllAccounts returns the AccountServiceMatchAllAccounts field if non-nil, zero value otherwise. - -### GetAccountServiceMatchAllAccountsOk - -`func (o *ListApplications200ResponseInner) GetAccountServiceMatchAllAccountsOk() (*bool, bool)` - -GetAccountServiceMatchAllAccountsOk returns a tuple with the AccountServiceMatchAllAccounts field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceMatchAllAccounts - -`func (o *ListApplications200ResponseInner) SetAccountServiceMatchAllAccounts(v bool)` - -SetAccountServiceMatchAllAccounts sets AccountServiceMatchAllAccounts field to given value. - -### HasAccountServiceMatchAllAccounts - -`func (o *ListApplications200ResponseInner) HasAccountServiceMatchAllAccounts() bool` - -HasAccountServiceMatchAllAccounts returns a boolean if a field has been set. - -### GetExternalId - -`func (o *ListApplications200ResponseInner) GetExternalId() string` - -GetExternalId returns the ExternalId field if non-nil, zero value otherwise. - -### GetExternalIdOk - -`func (o *ListApplications200ResponseInner) GetExternalIdOk() (*string, bool)` - -GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExternalId - -`func (o *ListApplications200ResponseInner) SetExternalId(v string)` - -SetExternalId sets ExternalId field to given value. - -### HasExternalId - -`func (o *ListApplications200ResponseInner) HasExternalId() bool` - -HasExternalId returns a boolean if a field has been set. - -### GetAccountServiceUseForPasswordManagement - -`func (o *ListApplications200ResponseInner) GetAccountServiceUseForPasswordManagement() bool` - -GetAccountServiceUseForPasswordManagement returns the AccountServiceUseForPasswordManagement field if non-nil, zero value otherwise. - -### GetAccountServiceUseForPasswordManagementOk - -`func (o *ListApplications200ResponseInner) GetAccountServiceUseForPasswordManagementOk() (*bool, bool)` - -GetAccountServiceUseForPasswordManagementOk returns a tuple with the AccountServiceUseForPasswordManagement field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServiceUseForPasswordManagement - -`func (o *ListApplications200ResponseInner) SetAccountServiceUseForPasswordManagement(v bool)` - -SetAccountServiceUseForPasswordManagement sets AccountServiceUseForPasswordManagement field to given value. - -### HasAccountServiceUseForPasswordManagement - -`func (o *ListApplications200ResponseInner) HasAccountServiceUseForPasswordManagement() bool` - -HasAccountServiceUseForPasswordManagement returns a boolean if a field has been set. - -### GetAccountServicePolicyId - -`func (o *ListApplications200ResponseInner) GetAccountServicePolicyId() string` - -GetAccountServicePolicyId returns the AccountServicePolicyId field if non-nil, zero value otherwise. - -### GetAccountServicePolicyIdOk - -`func (o *ListApplications200ResponseInner) GetAccountServicePolicyIdOk() (*string, bool)` - -GetAccountServicePolicyIdOk returns a tuple with the AccountServicePolicyId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServicePolicyId - -`func (o *ListApplications200ResponseInner) SetAccountServicePolicyId(v string)` - -SetAccountServicePolicyId sets AccountServicePolicyId field to given value. - -### HasAccountServicePolicyId - -`func (o *ListApplications200ResponseInner) HasAccountServicePolicyId() bool` - -HasAccountServicePolicyId returns a boolean if a field has been set. - -### GetAccountServicePolicyName - -`func (o *ListApplications200ResponseInner) GetAccountServicePolicyName() string` - -GetAccountServicePolicyName returns the AccountServicePolicyName field if non-nil, zero value otherwise. - -### GetAccountServicePolicyNameOk - -`func (o *ListApplications200ResponseInner) GetAccountServicePolicyNameOk() (*string, bool)` - -GetAccountServicePolicyNameOk returns a tuple with the AccountServicePolicyName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServicePolicyName - -`func (o *ListApplications200ResponseInner) SetAccountServicePolicyName(v string)` - -SetAccountServicePolicyName sets AccountServicePolicyName field to given value. - -### HasAccountServicePolicyName - -`func (o *ListApplications200ResponseInner) HasAccountServicePolicyName() bool` - -HasAccountServicePolicyName returns a boolean if a field has been set. - -### GetRequireStrongAuthn - -`func (o *ListApplications200ResponseInner) GetRequireStrongAuthn() bool` - -GetRequireStrongAuthn returns the RequireStrongAuthn field if non-nil, zero value otherwise. - -### GetRequireStrongAuthnOk - -`func (o *ListApplications200ResponseInner) GetRequireStrongAuthnOk() (*bool, bool)` - -GetRequireStrongAuthnOk returns a tuple with the RequireStrongAuthn field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRequireStrongAuthn - -`func (o *ListApplications200ResponseInner) SetRequireStrongAuthn(v bool)` - -SetRequireStrongAuthn sets RequireStrongAuthn field to given value. - -### HasRequireStrongAuthn - -`func (o *ListApplications200ResponseInner) HasRequireStrongAuthn() bool` - -HasRequireStrongAuthn returns a boolean if a field has been set. - -### GetAccountServicePolicies - -`func (o *ListApplications200ResponseInner) GetAccountServicePolicies() []ListApplications200ResponseInnerAccountServicePoliciesInner` - -GetAccountServicePolicies returns the AccountServicePolicies field if non-nil, zero value otherwise. - -### GetAccountServicePoliciesOk - -`func (o *ListApplications200ResponseInner) GetAccountServicePoliciesOk() (*[]ListApplications200ResponseInnerAccountServicePoliciesInner, bool)` - -GetAccountServicePoliciesOk returns a tuple with the AccountServicePolicies field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccountServicePolicies - -`func (o *ListApplications200ResponseInner) SetAccountServicePolicies(v []ListApplications200ResponseInnerAccountServicePoliciesInner)` - -SetAccountServicePolicies sets AccountServicePolicies field to given value. - -### HasAccountServicePolicies - -`func (o *ListApplications200ResponseInner) HasAccountServicePolicies() bool` - -HasAccountServicePolicies returns a boolean if a field has been set. - -### GetXsdVersion - -`func (o *ListApplications200ResponseInner) GetXsdVersion() string` - -GetXsdVersion returns the XsdVersion field if non-nil, zero value otherwise. - -### GetXsdVersionOk - -`func (o *ListApplications200ResponseInner) GetXsdVersionOk() (*string, bool)` - -GetXsdVersionOk returns a tuple with the XsdVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetXsdVersion - -`func (o *ListApplications200ResponseInner) SetXsdVersion(v string)` - -SetXsdVersion sets XsdVersion field to given value. - -### HasXsdVersion - -`func (o *ListApplications200ResponseInner) HasXsdVersion() bool` - -HasXsdVersion returns a boolean if a field has been set. - -### GetAppProfiles - -`func (o *ListApplications200ResponseInner) GetAppProfiles() []ListApplications200ResponseInnerAppProfilesInner` - -GetAppProfiles returns the AppProfiles field if non-nil, zero value otherwise. - -### GetAppProfilesOk - -`func (o *ListApplications200ResponseInner) GetAppProfilesOk() (*[]ListApplications200ResponseInnerAppProfilesInner, bool)` - -GetAppProfilesOk returns a tuple with the AppProfiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppProfiles - -`func (o *ListApplications200ResponseInner) SetAppProfiles(v []ListApplications200ResponseInnerAppProfilesInner)` - -SetAppProfiles sets AppProfiles field to given value. - -### HasAppProfiles - -`func (o *ListApplications200ResponseInner) HasAppProfiles() bool` - -HasAppProfiles returns a boolean if a field has been set. - -### GetPasswordServiceId - -`func (o *ListApplications200ResponseInner) GetPasswordServiceId() float32` - -GetPasswordServiceId returns the PasswordServiceId field if non-nil, zero value otherwise. - -### GetPasswordServiceIdOk - -`func (o *ListApplications200ResponseInner) GetPasswordServiceIdOk() (*float32, bool)` - -GetPasswordServiceIdOk returns a tuple with the PasswordServiceId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordServiceId - -`func (o *ListApplications200ResponseInner) SetPasswordServiceId(v float32)` - -SetPasswordServiceId sets PasswordServiceId field to given value. - -### HasPasswordServiceId - -`func (o *ListApplications200ResponseInner) HasPasswordServiceId() bool` - -HasPasswordServiceId returns a boolean if a field has been set. - -### GetAccessProfileIds - -`func (o *ListApplications200ResponseInner) GetAccessProfileIds() []string` - -GetAccessProfileIds returns the AccessProfileIds field if non-nil, zero value otherwise. - -### GetAccessProfileIdsOk - -`func (o *ListApplications200ResponseInner) GetAccessProfileIdsOk() (*[]string, bool)` - -GetAccessProfileIdsOk returns a tuple with the AccessProfileIds field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAccessProfileIds - -`func (o *ListApplications200ResponseInner) SetAccessProfileIds(v []string)` - -SetAccessProfileIds sets AccessProfileIds field to given value. - -### HasAccessProfileIds - -`func (o *ListApplications200ResponseInner) HasAccessProfileIds() bool` - -HasAccessProfileIds returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ListApplications200ResponseInnerAccountServicePoliciesInner.md b/api_cc/docs/ListApplications200ResponseInnerAccountServicePoliciesInner.md deleted file mode 100644 index 04fcb512c..000000000 --- a/api_cc/docs/ListApplications200ResponseInnerAccountServicePoliciesInner.md +++ /dev/null @@ -1,108 +0,0 @@ -# ListApplications200ResponseInnerAccountServicePoliciesInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PolicyId** | Pointer to **string** | | [optional] -**PolicyName** | Pointer to **string** | | [optional] -**Selectors** | Pointer to **map[string]interface{}** | | [optional] - -## Methods - -### NewListApplications200ResponseInnerAccountServicePoliciesInner - -`func NewListApplications200ResponseInnerAccountServicePoliciesInner() *ListApplications200ResponseInnerAccountServicePoliciesInner` - -NewListApplications200ResponseInnerAccountServicePoliciesInner instantiates a new ListApplications200ResponseInnerAccountServicePoliciesInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListApplications200ResponseInnerAccountServicePoliciesInnerWithDefaults - -`func NewListApplications200ResponseInnerAccountServicePoliciesInnerWithDefaults() *ListApplications200ResponseInnerAccountServicePoliciesInner` - -NewListApplications200ResponseInnerAccountServicePoliciesInnerWithDefaults instantiates a new ListApplications200ResponseInnerAccountServicePoliciesInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPolicyId - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetPolicyId() string` - -GetPolicyId returns the PolicyId field if non-nil, zero value otherwise. - -### GetPolicyIdOk - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetPolicyIdOk() (*string, bool)` - -GetPolicyIdOk returns a tuple with the PolicyId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPolicyId - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) SetPolicyId(v string)` - -SetPolicyId sets PolicyId field to given value. - -### HasPolicyId - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) HasPolicyId() bool` - -HasPolicyId returns a boolean if a field has been set. - -### GetPolicyName - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetPolicyName() string` - -GetPolicyName returns the PolicyName field if non-nil, zero value otherwise. - -### GetPolicyNameOk - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetPolicyNameOk() (*string, bool)` - -GetPolicyNameOk returns a tuple with the PolicyName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPolicyName - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) SetPolicyName(v string)` - -SetPolicyName sets PolicyName field to given value. - -### HasPolicyName - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) HasPolicyName() bool` - -HasPolicyName returns a boolean if a field has been set. - -### GetSelectors - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetSelectors() map[string]interface{}` - -GetSelectors returns the Selectors field if non-nil, zero value otherwise. - -### GetSelectorsOk - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetSelectorsOk() (*map[string]interface{}, bool)` - -GetSelectorsOk returns a tuple with the Selectors field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelectors - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) SetSelectors(v map[string]interface{})` - -SetSelectors sets Selectors field to given value. - -### HasSelectors - -`func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) HasSelectors() bool` - -HasSelectors returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ListApplications200ResponseInnerAppProfilesInner.md b/api_cc/docs/ListApplications200ResponseInnerAppProfilesInner.md deleted file mode 100644 index ba7f69e67..000000000 --- a/api_cc/docs/ListApplications200ResponseInnerAppProfilesInner.md +++ /dev/null @@ -1,160 +0,0 @@ -# ListApplications200ResponseInnerAppProfilesInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **float32** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**CreatedBy** | Pointer to **string** | | [optional] -**DateCreated** | Pointer to **string** | | [optional] -**XsdVersion** | Pointer to **string** | | [optional] - -## Methods - -### NewListApplications200ResponseInnerAppProfilesInner - -`func NewListApplications200ResponseInnerAppProfilesInner() *ListApplications200ResponseInnerAppProfilesInner` - -NewListApplications200ResponseInnerAppProfilesInner instantiates a new ListApplications200ResponseInnerAppProfilesInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListApplications200ResponseInnerAppProfilesInnerWithDefaults - -`func NewListApplications200ResponseInnerAppProfilesInnerWithDefaults() *ListApplications200ResponseInnerAppProfilesInner` - -NewListApplications200ResponseInnerAppProfilesInnerWithDefaults instantiates a new ListApplications200ResponseInnerAppProfilesInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetId() float32` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetIdOk() (*float32, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ListApplications200ResponseInnerAppProfilesInner) SetId(v float32)` - -SetId sets Id field to given value. - -### HasId - -`func (o *ListApplications200ResponseInnerAppProfilesInner) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetFilename - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *ListApplications200ResponseInnerAppProfilesInner) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *ListApplications200ResponseInnerAppProfilesInner) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetCreatedBy - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetCreatedBy() string` - -GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. - -### GetCreatedByOk - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetCreatedByOk() (*string, bool)` - -GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCreatedBy - -`func (o *ListApplications200ResponseInnerAppProfilesInner) SetCreatedBy(v string)` - -SetCreatedBy sets CreatedBy field to given value. - -### HasCreatedBy - -`func (o *ListApplications200ResponseInnerAppProfilesInner) HasCreatedBy() bool` - -HasCreatedBy returns a boolean if a field has been set. - -### GetDateCreated - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetDateCreated() string` - -GetDateCreated returns the DateCreated field if non-nil, zero value otherwise. - -### GetDateCreatedOk - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetDateCreatedOk() (*string, bool)` - -GetDateCreatedOk returns a tuple with the DateCreated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDateCreated - -`func (o *ListApplications200ResponseInnerAppProfilesInner) SetDateCreated(v string)` - -SetDateCreated sets DateCreated field to given value. - -### HasDateCreated - -`func (o *ListApplications200ResponseInnerAppProfilesInner) HasDateCreated() bool` - -HasDateCreated returns a boolean if a field has been set. - -### GetXsdVersion - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetXsdVersion() string` - -GetXsdVersion returns the XsdVersion field if non-nil, zero value otherwise. - -### GetXsdVersionOk - -`func (o *ListApplications200ResponseInnerAppProfilesInner) GetXsdVersionOk() (*string, bool)` - -GetXsdVersionOk returns a tuple with the XsdVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetXsdVersion - -`func (o *ListApplications200ResponseInnerAppProfilesInner) SetXsdVersion(v string)` - -SetXsdVersion sets XsdVersion field to given value. - -### HasXsdVersion - -`func (o *ListApplications200ResponseInnerAppProfilesInner) HasXsdVersion() bool` - -HasXsdVersion returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ListApplications200ResponseInnerHealth.md b/api_cc/docs/ListApplications200ResponseInnerHealth.md deleted file mode 100644 index 641cc58a4..000000000 --- a/api_cc/docs/ListApplications200ResponseInnerHealth.md +++ /dev/null @@ -1,134 +0,0 @@ -# ListApplications200ResponseInnerHealth - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | Pointer to **string** | | [optional] -**LastChanged** | Pointer to **string** | | [optional] -**Since** | Pointer to **float32** | | [optional] -**Healthy** | Pointer to **bool** | | [optional] - -## Methods - -### NewListApplications200ResponseInnerHealth - -`func NewListApplications200ResponseInnerHealth() *ListApplications200ResponseInnerHealth` - -NewListApplications200ResponseInnerHealth instantiates a new ListApplications200ResponseInnerHealth object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListApplications200ResponseInnerHealthWithDefaults - -`func NewListApplications200ResponseInnerHealthWithDefaults() *ListApplications200ResponseInnerHealth` - -NewListApplications200ResponseInnerHealthWithDefaults instantiates a new ListApplications200ResponseInnerHealth object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *ListApplications200ResponseInnerHealth) GetStatus() string` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *ListApplications200ResponseInnerHealth) GetStatusOk() (*string, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *ListApplications200ResponseInnerHealth) SetStatus(v string)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *ListApplications200ResponseInnerHealth) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetLastChanged - -`func (o *ListApplications200ResponseInnerHealth) GetLastChanged() string` - -GetLastChanged returns the LastChanged field if non-nil, zero value otherwise. - -### GetLastChangedOk - -`func (o *ListApplications200ResponseInnerHealth) GetLastChangedOk() (*string, bool)` - -GetLastChangedOk returns a tuple with the LastChanged field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLastChanged - -`func (o *ListApplications200ResponseInnerHealth) SetLastChanged(v string)` - -SetLastChanged sets LastChanged field to given value. - -### HasLastChanged - -`func (o *ListApplications200ResponseInnerHealth) HasLastChanged() bool` - -HasLastChanged returns a boolean if a field has been set. - -### GetSince - -`func (o *ListApplications200ResponseInnerHealth) GetSince() float32` - -GetSince returns the Since field if non-nil, zero value otherwise. - -### GetSinceOk - -`func (o *ListApplications200ResponseInnerHealth) GetSinceOk() (*float32, bool)` - -GetSinceOk returns a tuple with the Since field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSince - -`func (o *ListApplications200ResponseInnerHealth) SetSince(v float32)` - -SetSince sets Since field to given value. - -### HasSince - -`func (o *ListApplications200ResponseInnerHealth) HasSince() bool` - -HasSince returns a boolean if a field has been set. - -### GetHealthy - -`func (o *ListApplications200ResponseInnerHealth) GetHealthy() bool` - -GetHealthy returns the Healthy field if non-nil, zero value otherwise. - -### GetHealthyOk - -`func (o *ListApplications200ResponseInnerHealth) GetHealthyOk() (*bool, bool)` - -GetHealthyOk returns a tuple with the Healthy field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHealthy - -`func (o *ListApplications200ResponseInnerHealth) SetHealthy(v bool)` - -SetHealthy sets Healthy field to given value. - -### HasHealthy - -`func (o *ListApplications200ResponseInnerHealth) HasHealthy() bool` - -HasHealthy returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ListApplications200ResponseInnerOwner.md b/api_cc/docs/ListApplications200ResponseInnerOwner.md deleted file mode 100644 index b75c9db9c..000000000 --- a/api_cc/docs/ListApplications200ResponseInnerOwner.md +++ /dev/null @@ -1,82 +0,0 @@ -# ListApplications200ResponseInnerOwner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | | [optional] - -## Methods - -### NewListApplications200ResponseInnerOwner - -`func NewListApplications200ResponseInnerOwner() *ListApplications200ResponseInnerOwner` - -NewListApplications200ResponseInnerOwner instantiates a new ListApplications200ResponseInnerOwner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListApplications200ResponseInnerOwnerWithDefaults - -`func NewListApplications200ResponseInnerOwnerWithDefaults() *ListApplications200ResponseInnerOwner` - -NewListApplications200ResponseInnerOwnerWithDefaults instantiates a new ListApplications200ResponseInnerOwner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *ListApplications200ResponseInnerOwner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ListApplications200ResponseInnerOwner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ListApplications200ResponseInnerOwner) SetId(v string)` - -SetId sets Id field to given value. - -### HasId - -`func (o *ListApplications200ResponseInnerOwner) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetName - -`func (o *ListApplications200ResponseInnerOwner) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *ListApplications200ResponseInnerOwner) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *ListApplications200ResponseInnerOwner) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *ListApplications200ResponseInnerOwner) HasName() bool` - -HasName returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ListConnectors200Response.md b/api_cc/docs/ListConnectors200Response.md deleted file mode 100644 index d9a022a79..000000000 --- a/api_cc/docs/ListConnectors200Response.md +++ /dev/null @@ -1,82 +0,0 @@ -# ListConnectors200Response - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Total** | Pointer to **float32** | | [optional] -**Items** | Pointer to [**[]ListConnectors200ResponseItemsInner**](ListConnectors200ResponseItemsInner.md) | | [optional] - -## Methods - -### NewListConnectors200Response - -`func NewListConnectors200Response() *ListConnectors200Response` - -NewListConnectors200Response instantiates a new ListConnectors200Response object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListConnectors200ResponseWithDefaults - -`func NewListConnectors200ResponseWithDefaults() *ListConnectors200Response` - -NewListConnectors200ResponseWithDefaults instantiates a new ListConnectors200Response object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetTotal - -`func (o *ListConnectors200Response) GetTotal() float32` - -GetTotal returns the Total field if non-nil, zero value otherwise. - -### GetTotalOk - -`func (o *ListConnectors200Response) GetTotalOk() (*float32, bool)` - -GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTotal - -`func (o *ListConnectors200Response) SetTotal(v float32)` - -SetTotal sets Total field to given value. - -### HasTotal - -`func (o *ListConnectors200Response) HasTotal() bool` - -HasTotal returns a boolean if a field has been set. - -### GetItems - -`func (o *ListConnectors200Response) GetItems() []ListConnectors200ResponseItemsInner` - -GetItems returns the Items field if non-nil, zero value otherwise. - -### GetItemsOk - -`func (o *ListConnectors200Response) GetItemsOk() (*[]ListConnectors200ResponseItemsInner, bool)` - -GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetItems - -`func (o *ListConnectors200Response) SetItems(v []ListConnectors200ResponseItemsInner)` - -SetItems sets Items field to given value. - -### HasItems - -`func (o *ListConnectors200Response) HasItems() bool` - -HasItems returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/ListConnectors200ResponseItemsInner.md b/api_cc/docs/ListConnectors200ResponseItemsInner.md deleted file mode 100644 index e12619ddd..000000000 --- a/api_cc/docs/ListConnectors200ResponseItemsInner.md +++ /dev/null @@ -1,568 +0,0 @@ -# ListConnectors200ResponseItemsInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ApplicationXml** | Pointer to **NullableString** | | [optional] -**ClassName** | Pointer to **NullableString** | | [optional] -**ConnectorMetadata** | Pointer to **map[string]interface{}** | | [optional] -**CorrelationConfigXml** | Pointer to **NullableString** | | [optional] -**DirectConnect** | Pointer to **bool** | | [optional] -**FileUpload** | Pointer to **bool** | | [optional] -**Id** | Pointer to **int32** | | [optional] -**Name** | Pointer to **string** | | [optional] -**S3Location** | Pointer to **NullableString** | | [optional] -**Scope** | Pointer to **string** | | [optional] -**ScriptName** | Pointer to **string** | | [optional] -**SourceConfig** | Pointer to **NullableString** | | [optional] -**SourceConfigFrom** | Pointer to **NullableString** | | [optional] -**SourceConfigXml** | Pointer to **NullableString** | | [optional] -**Status** | Pointer to **string** | | [optional] -**TranslationProperties** | Pointer to **map[string]interface{}** | | [optional] -**Type** | Pointer to **string** | | [optional] -**UploadedFiles** | Pointer to **[]map[string]interface{}** | | [optional] - -## Methods - -### NewListConnectors200ResponseItemsInner - -`func NewListConnectors200ResponseItemsInner() *ListConnectors200ResponseItemsInner` - -NewListConnectors200ResponseItemsInner instantiates a new ListConnectors200ResponseItemsInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListConnectors200ResponseItemsInnerWithDefaults - -`func NewListConnectors200ResponseItemsInnerWithDefaults() *ListConnectors200ResponseItemsInner` - -NewListConnectors200ResponseItemsInnerWithDefaults instantiates a new ListConnectors200ResponseItemsInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetApplicationXml - -`func (o *ListConnectors200ResponseItemsInner) GetApplicationXml() string` - -GetApplicationXml returns the ApplicationXml field if non-nil, zero value otherwise. - -### GetApplicationXmlOk - -`func (o *ListConnectors200ResponseItemsInner) GetApplicationXmlOk() (*string, bool)` - -GetApplicationXmlOk returns a tuple with the ApplicationXml field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetApplicationXml - -`func (o *ListConnectors200ResponseItemsInner) SetApplicationXml(v string)` - -SetApplicationXml sets ApplicationXml field to given value. - -### HasApplicationXml - -`func (o *ListConnectors200ResponseItemsInner) HasApplicationXml() bool` - -HasApplicationXml returns a boolean if a field has been set. - -### SetApplicationXmlNil - -`func (o *ListConnectors200ResponseItemsInner) SetApplicationXmlNil(b bool)` - - SetApplicationXmlNil sets the value for ApplicationXml to be an explicit nil - -### UnsetApplicationXml -`func (o *ListConnectors200ResponseItemsInner) UnsetApplicationXml()` - -UnsetApplicationXml ensures that no value is present for ApplicationXml, not even an explicit nil -### GetClassName - -`func (o *ListConnectors200ResponseItemsInner) GetClassName() string` - -GetClassName returns the ClassName field if non-nil, zero value otherwise. - -### GetClassNameOk - -`func (o *ListConnectors200ResponseItemsInner) GetClassNameOk() (*string, bool)` - -GetClassNameOk returns a tuple with the ClassName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetClassName - -`func (o *ListConnectors200ResponseItemsInner) SetClassName(v string)` - -SetClassName sets ClassName field to given value. - -### HasClassName - -`func (o *ListConnectors200ResponseItemsInner) HasClassName() bool` - -HasClassName returns a boolean if a field has been set. - -### SetClassNameNil - -`func (o *ListConnectors200ResponseItemsInner) SetClassNameNil(b bool)` - - SetClassNameNil sets the value for ClassName to be an explicit nil - -### UnsetClassName -`func (o *ListConnectors200ResponseItemsInner) UnsetClassName()` - -UnsetClassName ensures that no value is present for ClassName, not even an explicit nil -### GetConnectorMetadata - -`func (o *ListConnectors200ResponseItemsInner) GetConnectorMetadata() map[string]interface{}` - -GetConnectorMetadata returns the ConnectorMetadata field if non-nil, zero value otherwise. - -### GetConnectorMetadataOk - -`func (o *ListConnectors200ResponseItemsInner) GetConnectorMetadataOk() (*map[string]interface{}, bool)` - -GetConnectorMetadataOk returns a tuple with the ConnectorMetadata field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetConnectorMetadata - -`func (o *ListConnectors200ResponseItemsInner) SetConnectorMetadata(v map[string]interface{})` - -SetConnectorMetadata sets ConnectorMetadata field to given value. - -### HasConnectorMetadata - -`func (o *ListConnectors200ResponseItemsInner) HasConnectorMetadata() bool` - -HasConnectorMetadata returns a boolean if a field has been set. - -### GetCorrelationConfigXml - -`func (o *ListConnectors200ResponseItemsInner) GetCorrelationConfigXml() string` - -GetCorrelationConfigXml returns the CorrelationConfigXml field if non-nil, zero value otherwise. - -### GetCorrelationConfigXmlOk - -`func (o *ListConnectors200ResponseItemsInner) GetCorrelationConfigXmlOk() (*string, bool)` - -GetCorrelationConfigXmlOk returns a tuple with the CorrelationConfigXml field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCorrelationConfigXml - -`func (o *ListConnectors200ResponseItemsInner) SetCorrelationConfigXml(v string)` - -SetCorrelationConfigXml sets CorrelationConfigXml field to given value. - -### HasCorrelationConfigXml - -`func (o *ListConnectors200ResponseItemsInner) HasCorrelationConfigXml() bool` - -HasCorrelationConfigXml returns a boolean if a field has been set. - -### SetCorrelationConfigXmlNil - -`func (o *ListConnectors200ResponseItemsInner) SetCorrelationConfigXmlNil(b bool)` - - SetCorrelationConfigXmlNil sets the value for CorrelationConfigXml to be an explicit nil - -### UnsetCorrelationConfigXml -`func (o *ListConnectors200ResponseItemsInner) UnsetCorrelationConfigXml()` - -UnsetCorrelationConfigXml ensures that no value is present for CorrelationConfigXml, not even an explicit nil -### GetDirectConnect - -`func (o *ListConnectors200ResponseItemsInner) GetDirectConnect() bool` - -GetDirectConnect returns the DirectConnect field if non-nil, zero value otherwise. - -### GetDirectConnectOk - -`func (o *ListConnectors200ResponseItemsInner) GetDirectConnectOk() (*bool, bool)` - -GetDirectConnectOk returns a tuple with the DirectConnect field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDirectConnect - -`func (o *ListConnectors200ResponseItemsInner) SetDirectConnect(v bool)` - -SetDirectConnect sets DirectConnect field to given value. - -### HasDirectConnect - -`func (o *ListConnectors200ResponseItemsInner) HasDirectConnect() bool` - -HasDirectConnect returns a boolean if a field has been set. - -### GetFileUpload - -`func (o *ListConnectors200ResponseItemsInner) GetFileUpload() bool` - -GetFileUpload returns the FileUpload field if non-nil, zero value otherwise. - -### GetFileUploadOk - -`func (o *ListConnectors200ResponseItemsInner) GetFileUploadOk() (*bool, bool)` - -GetFileUploadOk returns a tuple with the FileUpload field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFileUpload - -`func (o *ListConnectors200ResponseItemsInner) SetFileUpload(v bool)` - -SetFileUpload sets FileUpload field to given value. - -### HasFileUpload - -`func (o *ListConnectors200ResponseItemsInner) HasFileUpload() bool` - -HasFileUpload returns a boolean if a field has been set. - -### GetId - -`func (o *ListConnectors200ResponseItemsInner) GetId() int32` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ListConnectors200ResponseItemsInner) GetIdOk() (*int32, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ListConnectors200ResponseItemsInner) SetId(v int32)` - -SetId sets Id field to given value. - -### HasId - -`func (o *ListConnectors200ResponseItemsInner) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetName - -`func (o *ListConnectors200ResponseItemsInner) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *ListConnectors200ResponseItemsInner) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *ListConnectors200ResponseItemsInner) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *ListConnectors200ResponseItemsInner) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetS3Location - -`func (o *ListConnectors200ResponseItemsInner) GetS3Location() string` - -GetS3Location returns the S3Location field if non-nil, zero value otherwise. - -### GetS3LocationOk - -`func (o *ListConnectors200ResponseItemsInner) GetS3LocationOk() (*string, bool)` - -GetS3LocationOk returns a tuple with the S3Location field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetS3Location - -`func (o *ListConnectors200ResponseItemsInner) SetS3Location(v string)` - -SetS3Location sets S3Location field to given value. - -### HasS3Location - -`func (o *ListConnectors200ResponseItemsInner) HasS3Location() bool` - -HasS3Location returns a boolean if a field has been set. - -### SetS3LocationNil - -`func (o *ListConnectors200ResponseItemsInner) SetS3LocationNil(b bool)` - - SetS3LocationNil sets the value for S3Location to be an explicit nil - -### UnsetS3Location -`func (o *ListConnectors200ResponseItemsInner) UnsetS3Location()` - -UnsetS3Location ensures that no value is present for S3Location, not even an explicit nil -### GetScope - -`func (o *ListConnectors200ResponseItemsInner) GetScope() string` - -GetScope returns the Scope field if non-nil, zero value otherwise. - -### GetScopeOk - -`func (o *ListConnectors200ResponseItemsInner) GetScopeOk() (*string, bool)` - -GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScope - -`func (o *ListConnectors200ResponseItemsInner) SetScope(v string)` - -SetScope sets Scope field to given value. - -### HasScope - -`func (o *ListConnectors200ResponseItemsInner) HasScope() bool` - -HasScope returns a boolean if a field has been set. - -### GetScriptName - -`func (o *ListConnectors200ResponseItemsInner) GetScriptName() string` - -GetScriptName returns the ScriptName field if non-nil, zero value otherwise. - -### GetScriptNameOk - -`func (o *ListConnectors200ResponseItemsInner) GetScriptNameOk() (*string, bool)` - -GetScriptNameOk returns a tuple with the ScriptName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScriptName - -`func (o *ListConnectors200ResponseItemsInner) SetScriptName(v string)` - -SetScriptName sets ScriptName field to given value. - -### HasScriptName - -`func (o *ListConnectors200ResponseItemsInner) HasScriptName() bool` - -HasScriptName returns a boolean if a field has been set. - -### GetSourceConfig - -`func (o *ListConnectors200ResponseItemsInner) GetSourceConfig() string` - -GetSourceConfig returns the SourceConfig field if non-nil, zero value otherwise. - -### GetSourceConfigOk - -`func (o *ListConnectors200ResponseItemsInner) GetSourceConfigOk() (*string, bool)` - -GetSourceConfigOk returns a tuple with the SourceConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSourceConfig - -`func (o *ListConnectors200ResponseItemsInner) SetSourceConfig(v string)` - -SetSourceConfig sets SourceConfig field to given value. - -### HasSourceConfig - -`func (o *ListConnectors200ResponseItemsInner) HasSourceConfig() bool` - -HasSourceConfig returns a boolean if a field has been set. - -### SetSourceConfigNil - -`func (o *ListConnectors200ResponseItemsInner) SetSourceConfigNil(b bool)` - - SetSourceConfigNil sets the value for SourceConfig to be an explicit nil - -### UnsetSourceConfig -`func (o *ListConnectors200ResponseItemsInner) UnsetSourceConfig()` - -UnsetSourceConfig ensures that no value is present for SourceConfig, not even an explicit nil -### GetSourceConfigFrom - -`func (o *ListConnectors200ResponseItemsInner) GetSourceConfigFrom() string` - -GetSourceConfigFrom returns the SourceConfigFrom field if non-nil, zero value otherwise. - -### GetSourceConfigFromOk - -`func (o *ListConnectors200ResponseItemsInner) GetSourceConfigFromOk() (*string, bool)` - -GetSourceConfigFromOk returns a tuple with the SourceConfigFrom field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSourceConfigFrom - -`func (o *ListConnectors200ResponseItemsInner) SetSourceConfigFrom(v string)` - -SetSourceConfigFrom sets SourceConfigFrom field to given value. - -### HasSourceConfigFrom - -`func (o *ListConnectors200ResponseItemsInner) HasSourceConfigFrom() bool` - -HasSourceConfigFrom returns a boolean if a field has been set. - -### SetSourceConfigFromNil - -`func (o *ListConnectors200ResponseItemsInner) SetSourceConfigFromNil(b bool)` - - SetSourceConfigFromNil sets the value for SourceConfigFrom to be an explicit nil - -### UnsetSourceConfigFrom -`func (o *ListConnectors200ResponseItemsInner) UnsetSourceConfigFrom()` - -UnsetSourceConfigFrom ensures that no value is present for SourceConfigFrom, not even an explicit nil -### GetSourceConfigXml - -`func (o *ListConnectors200ResponseItemsInner) GetSourceConfigXml() string` - -GetSourceConfigXml returns the SourceConfigXml field if non-nil, zero value otherwise. - -### GetSourceConfigXmlOk - -`func (o *ListConnectors200ResponseItemsInner) GetSourceConfigXmlOk() (*string, bool)` - -GetSourceConfigXmlOk returns a tuple with the SourceConfigXml field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSourceConfigXml - -`func (o *ListConnectors200ResponseItemsInner) SetSourceConfigXml(v string)` - -SetSourceConfigXml sets SourceConfigXml field to given value. - -### HasSourceConfigXml - -`func (o *ListConnectors200ResponseItemsInner) HasSourceConfigXml() bool` - -HasSourceConfigXml returns a boolean if a field has been set. - -### SetSourceConfigXmlNil - -`func (o *ListConnectors200ResponseItemsInner) SetSourceConfigXmlNil(b bool)` - - SetSourceConfigXmlNil sets the value for SourceConfigXml to be an explicit nil - -### UnsetSourceConfigXml -`func (o *ListConnectors200ResponseItemsInner) UnsetSourceConfigXml()` - -UnsetSourceConfigXml ensures that no value is present for SourceConfigXml, not even an explicit nil -### GetStatus - -`func (o *ListConnectors200ResponseItemsInner) GetStatus() string` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *ListConnectors200ResponseItemsInner) GetStatusOk() (*string, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *ListConnectors200ResponseItemsInner) SetStatus(v string)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *ListConnectors200ResponseItemsInner) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetTranslationProperties - -`func (o *ListConnectors200ResponseItemsInner) GetTranslationProperties() map[string]interface{}` - -GetTranslationProperties returns the TranslationProperties field if non-nil, zero value otherwise. - -### GetTranslationPropertiesOk - -`func (o *ListConnectors200ResponseItemsInner) GetTranslationPropertiesOk() (*map[string]interface{}, bool)` - -GetTranslationPropertiesOk returns a tuple with the TranslationProperties field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslationProperties - -`func (o *ListConnectors200ResponseItemsInner) SetTranslationProperties(v map[string]interface{})` - -SetTranslationProperties sets TranslationProperties field to given value. - -### HasTranslationProperties - -`func (o *ListConnectors200ResponseItemsInner) HasTranslationProperties() bool` - -HasTranslationProperties returns a boolean if a field has been set. - -### GetType - -`func (o *ListConnectors200ResponseItemsInner) GetType() string` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *ListConnectors200ResponseItemsInner) GetTypeOk() (*string, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *ListConnectors200ResponseItemsInner) SetType(v string)` - -SetType sets Type field to given value. - -### HasType - -`func (o *ListConnectors200ResponseItemsInner) HasType() bool` - -HasType returns a boolean if a field has been set. - -### GetUploadedFiles - -`func (o *ListConnectors200ResponseItemsInner) GetUploadedFiles() []map[string]interface{}` - -GetUploadedFiles returns the UploadedFiles field if non-nil, zero value otherwise. - -### GetUploadedFilesOk - -`func (o *ListConnectors200ResponseItemsInner) GetUploadedFilesOk() (*[]map[string]interface{}, bool)` - -GetUploadedFilesOk returns a tuple with the UploadedFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedFiles - -`func (o *ListConnectors200ResponseItemsInner) SetUploadedFiles(v []map[string]interface{})` - -SetUploadedFiles sets UploadedFiles field to given value. - -### HasUploadedFiles - -`func (o *ListConnectors200ResponseItemsInner) HasUploadedFiles() bool` - -HasUploadedFiles returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/LoadAccountsRequest.md b/api_cc/docs/LoadAccountsRequest.md deleted file mode 100644 index bf44c524e..000000000 --- a/api_cc/docs/LoadAccountsRequest.md +++ /dev/null @@ -1,82 +0,0 @@ -# LoadAccountsRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**DisableOptimization** | Pointer to **bool** | | [optional] -**File** | Pointer to ***os.File** | | [optional] - -## Methods - -### NewLoadAccountsRequest - -`func NewLoadAccountsRequest() *LoadAccountsRequest` - -NewLoadAccountsRequest instantiates a new LoadAccountsRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewLoadAccountsRequestWithDefaults - -`func NewLoadAccountsRequestWithDefaults() *LoadAccountsRequest` - -NewLoadAccountsRequestWithDefaults instantiates a new LoadAccountsRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetDisableOptimization - -`func (o *LoadAccountsRequest) GetDisableOptimization() bool` - -GetDisableOptimization returns the DisableOptimization field if non-nil, zero value otherwise. - -### GetDisableOptimizationOk - -`func (o *LoadAccountsRequest) GetDisableOptimizationOk() (*bool, bool)` - -GetDisableOptimizationOk returns a tuple with the DisableOptimization field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDisableOptimization - -`func (o *LoadAccountsRequest) SetDisableOptimization(v bool)` - -SetDisableOptimization sets DisableOptimization field to given value. - -### HasDisableOptimization - -`func (o *LoadAccountsRequest) HasDisableOptimization() bool` - -HasDisableOptimization returns a boolean if a field has been set. - -### GetFile - -`func (o *LoadAccountsRequest) GetFile() *os.File` - -GetFile returns the File field if non-nil, zero value otherwise. - -### GetFileOk - -`func (o *LoadAccountsRequest) GetFileOk() (**os.File, bool)` - -GetFileOk returns a tuple with the File field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFile - -`func (o *LoadAccountsRequest) SetFile(v *os.File)` - -SetFile sets File field to given value. - -### HasFile - -`func (o *LoadAccountsRequest) HasFile() bool` - -HasFile returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/LoadEntitlementsRequest.md b/api_cc/docs/LoadEntitlementsRequest.md deleted file mode 100644 index dce7b8716..000000000 --- a/api_cc/docs/LoadEntitlementsRequest.md +++ /dev/null @@ -1,56 +0,0 @@ -# LoadEntitlementsRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**File** | Pointer to ***os.File** | | [optional] - -## Methods - -### NewLoadEntitlementsRequest - -`func NewLoadEntitlementsRequest() *LoadEntitlementsRequest` - -NewLoadEntitlementsRequest instantiates a new LoadEntitlementsRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewLoadEntitlementsRequestWithDefaults - -`func NewLoadEntitlementsRequestWithDefaults() *LoadEntitlementsRequest` - -NewLoadEntitlementsRequestWithDefaults instantiates a new LoadEntitlementsRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetFile - -`func (o *LoadEntitlementsRequest) GetFile() *os.File` - -GetFile returns the File field if non-nil, zero value otherwise. - -### GetFileOk - -`func (o *LoadEntitlementsRequest) GetFileOk() (**os.File, bool)` - -GetFileOk returns a tuple with the File field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFile - -`func (o *LoadEntitlementsRequest) SetFile(v *os.File)` - -SetFile sets File field to given value. - -### HasFile - -`func (o *LoadEntitlementsRequest) HasFile() bool` - -HasFile returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/RefreshIdentitiesRequest.md b/api_cc/docs/RefreshIdentitiesRequest.md deleted file mode 100644 index 0866ad4b2..000000000 --- a/api_cc/docs/RefreshIdentitiesRequest.md +++ /dev/null @@ -1,82 +0,0 @@ -# RefreshIdentitiesRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Filter** | Pointer to **string** | Defines the identity or identities which this refresh applies to. The filter must use searchable identity attributes. If the filter cannot be understood or parsed, all identities will be refreshed. | [optional] -**RefreshArgs** | Pointer to [**RefreshIdentitiesRequestRefreshArgs**](RefreshIdentitiesRequestRefreshArgs.md) | | [optional] - -## Methods - -### NewRefreshIdentitiesRequest - -`func NewRefreshIdentitiesRequest() *RefreshIdentitiesRequest` - -NewRefreshIdentitiesRequest instantiates a new RefreshIdentitiesRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewRefreshIdentitiesRequestWithDefaults - -`func NewRefreshIdentitiesRequestWithDefaults() *RefreshIdentitiesRequest` - -NewRefreshIdentitiesRequestWithDefaults instantiates a new RefreshIdentitiesRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetFilter - -`func (o *RefreshIdentitiesRequest) GetFilter() string` - -GetFilter returns the Filter field if non-nil, zero value otherwise. - -### GetFilterOk - -`func (o *RefreshIdentitiesRequest) GetFilterOk() (*string, bool)` - -GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilter - -`func (o *RefreshIdentitiesRequest) SetFilter(v string)` - -SetFilter sets Filter field to given value. - -### HasFilter - -`func (o *RefreshIdentitiesRequest) HasFilter() bool` - -HasFilter returns a boolean if a field has been set. - -### GetRefreshArgs - -`func (o *RefreshIdentitiesRequest) GetRefreshArgs() RefreshIdentitiesRequestRefreshArgs` - -GetRefreshArgs returns the RefreshArgs field if non-nil, zero value otherwise. - -### GetRefreshArgsOk - -`func (o *RefreshIdentitiesRequest) GetRefreshArgsOk() (*RefreshIdentitiesRequestRefreshArgs, bool)` - -GetRefreshArgsOk returns a tuple with the RefreshArgs field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRefreshArgs - -`func (o *RefreshIdentitiesRequest) SetRefreshArgs(v RefreshIdentitiesRequestRefreshArgs)` - -SetRefreshArgs sets RefreshArgs field to given value. - -### HasRefreshArgs - -`func (o *RefreshIdentitiesRequest) HasRefreshArgs() bool` - -HasRefreshArgs returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/RefreshIdentitiesRequestRefreshArgs.md b/api_cc/docs/RefreshIdentitiesRequestRefreshArgs.md deleted file mode 100644 index 25c1297e9..000000000 --- a/api_cc/docs/RefreshIdentitiesRequestRefreshArgs.md +++ /dev/null @@ -1,186 +0,0 @@ -# RefreshIdentitiesRequestRefreshArgs - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CorrelateEntitlements** | Pointer to **bool** | This will refresh entitlement, role, and access profile calculations. | [optional] -**PromoteAttributes** | Pointer to **bool** | This will calculate identity attributes. | [optional] -**RefreshManagerStatus** | Pointer to **bool** | This recalculates manager correlation and manager status. Note: This is computationally expensive to run. | [optional] -**SynchronizeAttributes** | Pointer to **bool** | Enables attribute synchronization. | [optional] -**PruneIdentities** | Pointer to **bool** | Option that will enable deletion of an identity objects if there are no account objects. Note: This is not typically used in IdentityNow, except by guidance from SailPoint. | [optional] -**Provision** | Pointer to **bool** | Enables provisioning of role assignments with entitlements that are not currently fulfilled. | [optional] - -## Methods - -### NewRefreshIdentitiesRequestRefreshArgs - -`func NewRefreshIdentitiesRequestRefreshArgs() *RefreshIdentitiesRequestRefreshArgs` - -NewRefreshIdentitiesRequestRefreshArgs instantiates a new RefreshIdentitiesRequestRefreshArgs object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewRefreshIdentitiesRequestRefreshArgsWithDefaults - -`func NewRefreshIdentitiesRequestRefreshArgsWithDefaults() *RefreshIdentitiesRequestRefreshArgs` - -NewRefreshIdentitiesRequestRefreshArgsWithDefaults instantiates a new RefreshIdentitiesRequestRefreshArgs object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCorrelateEntitlements - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetCorrelateEntitlements() bool` - -GetCorrelateEntitlements returns the CorrelateEntitlements field if non-nil, zero value otherwise. - -### GetCorrelateEntitlementsOk - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetCorrelateEntitlementsOk() (*bool, bool)` - -GetCorrelateEntitlementsOk returns a tuple with the CorrelateEntitlements field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCorrelateEntitlements - -`func (o *RefreshIdentitiesRequestRefreshArgs) SetCorrelateEntitlements(v bool)` - -SetCorrelateEntitlements sets CorrelateEntitlements field to given value. - -### HasCorrelateEntitlements - -`func (o *RefreshIdentitiesRequestRefreshArgs) HasCorrelateEntitlements() bool` - -HasCorrelateEntitlements returns a boolean if a field has been set. - -### GetPromoteAttributes - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetPromoteAttributes() bool` - -GetPromoteAttributes returns the PromoteAttributes field if non-nil, zero value otherwise. - -### GetPromoteAttributesOk - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetPromoteAttributesOk() (*bool, bool)` - -GetPromoteAttributesOk returns a tuple with the PromoteAttributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPromoteAttributes - -`func (o *RefreshIdentitiesRequestRefreshArgs) SetPromoteAttributes(v bool)` - -SetPromoteAttributes sets PromoteAttributes field to given value. - -### HasPromoteAttributes - -`func (o *RefreshIdentitiesRequestRefreshArgs) HasPromoteAttributes() bool` - -HasPromoteAttributes returns a boolean if a field has been set. - -### GetRefreshManagerStatus - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetRefreshManagerStatus() bool` - -GetRefreshManagerStatus returns the RefreshManagerStatus field if non-nil, zero value otherwise. - -### GetRefreshManagerStatusOk - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetRefreshManagerStatusOk() (*bool, bool)` - -GetRefreshManagerStatusOk returns a tuple with the RefreshManagerStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRefreshManagerStatus - -`func (o *RefreshIdentitiesRequestRefreshArgs) SetRefreshManagerStatus(v bool)` - -SetRefreshManagerStatus sets RefreshManagerStatus field to given value. - -### HasRefreshManagerStatus - -`func (o *RefreshIdentitiesRequestRefreshArgs) HasRefreshManagerStatus() bool` - -HasRefreshManagerStatus returns a boolean if a field has been set. - -### GetSynchronizeAttributes - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetSynchronizeAttributes() bool` - -GetSynchronizeAttributes returns the SynchronizeAttributes field if non-nil, zero value otherwise. - -### GetSynchronizeAttributesOk - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetSynchronizeAttributesOk() (*bool, bool)` - -GetSynchronizeAttributesOk returns a tuple with the SynchronizeAttributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSynchronizeAttributes - -`func (o *RefreshIdentitiesRequestRefreshArgs) SetSynchronizeAttributes(v bool)` - -SetSynchronizeAttributes sets SynchronizeAttributes field to given value. - -### HasSynchronizeAttributes - -`func (o *RefreshIdentitiesRequestRefreshArgs) HasSynchronizeAttributes() bool` - -HasSynchronizeAttributes returns a boolean if a field has been set. - -### GetPruneIdentities - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetPruneIdentities() bool` - -GetPruneIdentities returns the PruneIdentities field if non-nil, zero value otherwise. - -### GetPruneIdentitiesOk - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetPruneIdentitiesOk() (*bool, bool)` - -GetPruneIdentitiesOk returns a tuple with the PruneIdentities field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPruneIdentities - -`func (o *RefreshIdentitiesRequestRefreshArgs) SetPruneIdentities(v bool)` - -SetPruneIdentities sets PruneIdentities field to given value. - -### HasPruneIdentities - -`func (o *RefreshIdentitiesRequestRefreshArgs) HasPruneIdentities() bool` - -HasPruneIdentities returns a boolean if a field has been set. - -### GetProvision - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetProvision() bool` - -GetProvision returns the Provision field if non-nil, zero value otherwise. - -### GetProvisionOk - -`func (o *RefreshIdentitiesRequestRefreshArgs) GetProvisionOk() (*bool, bool)` - -GetProvisionOk returns a tuple with the Provision field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProvision - -`func (o *RefreshIdentitiesRequestRefreshArgs) SetProvision(v bool)` - -SetProvision sets Provision field to given value. - -### HasProvision - -`func (o *RefreshIdentitiesRequestRefreshArgs) HasProvision() bool` - -HasProvision returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/SourcesAccountsAPI.md b/api_cc/docs/SourcesAccountsAPI.md deleted file mode 100644 index 1037a8cd3..000000000 --- a/api_cc/docs/SourcesAccountsAPI.md +++ /dev/null @@ -1,77 +0,0 @@ -# \SourcesAccountsAPI - -All URIs are relative to *https://sailpoint.api.identitynow.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**ExportAccountFeed**](SourcesAccountsAPI.md#ExportAccountFeed) | **Get** /cc/api/source/exportAccountFeed/{id} | Export Account Feed - - - -## ExportAccountFeed - -> ExportAccountFeed(ctx, id).Execute() - -Export Account Feed - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "id_example" // string | - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.SourcesAccountsAPI.ExportAccountFeed(context.Background(), id).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SourcesAccountsAPI.ExportAccountFeed``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiExportAccountFeedRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api_cc/docs/SourcesAggregationAPI.md b/api_cc/docs/SourcesAggregationAPI.md deleted file mode 100644 index 4741460b0..000000000 --- a/api_cc/docs/SourcesAggregationAPI.md +++ /dev/null @@ -1,160 +0,0 @@ -# \SourcesAggregationAPI - -All URIs are relative to *https://sailpoint.api.identitynow.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**LoadAccounts**](SourcesAggregationAPI.md#LoadAccounts) | **Post** /cc/api/source/loadAccounts/{id} | Account Aggregation (File) -[**LoadEntitlements**](SourcesAggregationAPI.md#LoadEntitlements) | **Post** /cc/api/source/loadEntitlements/{id} | Account Aggregation (File) - - - -## LoadAccounts - -> map[string]interface{} LoadAccounts(ctx, id).ContentType(contentType).DisableOptimization(disableOptimization).File(file).Execute() - -Account Aggregation (File) - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "id_example" // string | - contentType := "application/x-www-form-urlencoded" // string | (optional) - disableOptimization := true // bool | (optional) - file := os.NewFile(1234, "some_file") // *os.File | (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.SourcesAggregationAPI.LoadAccounts(context.Background(), id).ContentType(contentType).DisableOptimization(disableOptimization).File(file).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SourcesAggregationAPI.LoadAccounts``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `LoadAccounts`: map[string]interface{} - fmt.Fprintf(os.Stdout, "Response from `SourcesAggregationAPI.LoadAccounts`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiLoadAccountsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **contentType** | **string** | | - **disableOptimization** | **bool** | | - **file** | ***os.File** | | - -### Return type - -**map[string]interface{}** - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: multipart/form-data -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## LoadEntitlements - -> map[string]interface{} LoadEntitlements(ctx, id).ContentType(contentType).File(file).Execute() - -Account Aggregation (File) - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "id_example" // string | - contentType := "application/x-www-form-urlencoded" // string | (optional) - file := os.NewFile(1234, "some_file") // *os.File | (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.SourcesAggregationAPI.LoadEntitlements(context.Background(), id).ContentType(contentType).File(file).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SourcesAggregationAPI.LoadEntitlements``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `LoadEntitlements`: map[string]interface{} - fmt.Fprintf(os.Stdout, "Response from `SourcesAggregationAPI.LoadEntitlements`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiLoadEntitlementsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **contentType** | **string** | | - **file** | ***os.File** | | - -### Return type - -**map[string]interface{}** - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: multipart/form-data -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api_cc/docs/SystemAPI.md b/api_cc/docs/SystemAPI.md deleted file mode 100644 index 6e02bfad4..000000000 --- a/api_cc/docs/SystemAPI.md +++ /dev/null @@ -1,77 +0,0 @@ -# \SystemAPI - -All URIs are relative to *https://sailpoint.api.identitynow.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**RefreshIdentities**](SystemAPI.md#RefreshIdentities) | **Post** /cc/api/system/refreshIdentities | Refresh Identities - - - -## RefreshIdentities - -> map[string]interface{} RefreshIdentities(ctx).ContentType(contentType).RefreshIdentitiesRequest(refreshIdentitiesRequest).Execute() - -Refresh Identities - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - contentType := "application/json" // string | (optional) - refreshIdentitiesRequest := *openapiclient.NewRefreshIdentitiesRequest() // RefreshIdentitiesRequest | (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.SystemAPI.RefreshIdentities(context.Background()).ContentType(contentType).RefreshIdentitiesRequest(refreshIdentitiesRequest).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `SystemAPI.RefreshIdentities``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `RefreshIdentities`: map[string]interface{} - fmt.Fprintf(os.Stdout, "Response from `SystemAPI.RefreshIdentities`: %v\n", resp) -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiRefreshIdentitiesRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contentType** | **string** | | - **refreshIdentitiesRequest** | [**RefreshIdentitiesRequest**](RefreshIdentitiesRequest.md) | | - -### Return type - -**map[string]interface{}** - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api_cc/docs/UpdateUserPermissionsRequest.md b/api_cc/docs/UpdateUserPermissionsRequest.md deleted file mode 100644 index 771af218c..000000000 --- a/api_cc/docs/UpdateUserPermissionsRequest.md +++ /dev/null @@ -1,108 +0,0 @@ -# UpdateUserPermissionsRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Ids** | Pointer to **string** | | [optional] -**IsAdmin** | Pointer to **string** | Indicates if user should be an IDN Admin. \"0\" for false, \"1\" for true. | [optional] -**AdminType** | Pointer to **string** | | [optional] - -## Methods - -### NewUpdateUserPermissionsRequest - -`func NewUpdateUserPermissionsRequest() *UpdateUserPermissionsRequest` - -NewUpdateUserPermissionsRequest instantiates a new UpdateUserPermissionsRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateUserPermissionsRequestWithDefaults - -`func NewUpdateUserPermissionsRequestWithDefaults() *UpdateUserPermissionsRequest` - -NewUpdateUserPermissionsRequestWithDefaults instantiates a new UpdateUserPermissionsRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetIds - -`func (o *UpdateUserPermissionsRequest) GetIds() string` - -GetIds returns the Ids field if non-nil, zero value otherwise. - -### GetIdsOk - -`func (o *UpdateUserPermissionsRequest) GetIdsOk() (*string, bool)` - -GetIdsOk returns a tuple with the Ids field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIds - -`func (o *UpdateUserPermissionsRequest) SetIds(v string)` - -SetIds sets Ids field to given value. - -### HasIds - -`func (o *UpdateUserPermissionsRequest) HasIds() bool` - -HasIds returns a boolean if a field has been set. - -### GetIsAdmin - -`func (o *UpdateUserPermissionsRequest) GetIsAdmin() string` - -GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise. - -### GetIsAdminOk - -`func (o *UpdateUserPermissionsRequest) GetIsAdminOk() (*string, bool)` - -GetIsAdminOk returns a tuple with the IsAdmin field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsAdmin - -`func (o *UpdateUserPermissionsRequest) SetIsAdmin(v string)` - -SetIsAdmin sets IsAdmin field to given value. - -### HasIsAdmin - -`func (o *UpdateUserPermissionsRequest) HasIsAdmin() bool` - -HasIsAdmin returns a boolean if a field has been set. - -### GetAdminType - -`func (o *UpdateUserPermissionsRequest) GetAdminType() string` - -GetAdminType returns the AdminType field if non-nil, zero value otherwise. - -### GetAdminTypeOk - -`func (o *UpdateUserPermissionsRequest) GetAdminTypeOk() (*string, bool)` - -GetAdminTypeOk returns a tuple with the AdminType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAdminType - -`func (o *UpdateUserPermissionsRequest) SetAdminType(v string)` - -SetAdminType sets AdminType field to given value. - -### HasAdminType - -`func (o *UpdateUserPermissionsRequest) HasAdminType() bool` - -HasAdminType returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_cc/docs/UserAPI.md b/api_cc/docs/UserAPI.md deleted file mode 100644 index 5999c7a9b..000000000 --- a/api_cc/docs/UserAPI.md +++ /dev/null @@ -1,140 +0,0 @@ -# \UserAPI - -All URIs are relative to *https://sailpoint.api.identitynow.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**GetIdentity**](UserAPI.md#GetIdentity) | **Get** /cc/api/user/get/{id} | Get Single Identity -[**UpdateUserPermissions**](UserAPI.md#UpdateUserPermissions) | **Post** /cc/api/user/updatePermissions | Update User Permissions - - - -## GetIdentity - -> GetIdentity200Response GetIdentity(ctx, id).Execute() - -Get Single Identity - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - id := "5433236" // string | - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.UserAPI.GetIdentity(context.Background(), id).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `UserAPI.GetIdentity``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `GetIdentity`: GetIdentity200Response - fmt.Fprintf(os.Stdout, "Response from `UserAPI.GetIdentity`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGetIdentityRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - -[**GetIdentity200Response**](GetIdentity200Response.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## UpdateUserPermissions - -> UpdateUserPermissions(ctx).UpdateUserPermissionsRequest(updateUserPermissionsRequest).Execute() - -Update User Permissions - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - updateUserPermissionsRequest := *openapiclient.NewUpdateUserPermissionsRequest() // UpdateUserPermissionsRequest | (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.UserAPI.UpdateUserPermissions(context.Background()).UpdateUserPermissionsRequest(updateUserPermissionsRequest).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `UserAPI.UpdateUserPermissions``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiUpdateUserPermissionsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **updateUserPermissionsRequest** | [**UpdateUserPermissionsRequest**](UpdateUserPermissionsRequest.md) | | - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api_cc/git_push.sh b/api_cc/git_push.sh deleted file mode 100644 index 33f67d59b..000000000 --- a/api_cc/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="sailpoint-oss" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="golang-sdk/v2" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/api_cc/model_create_application_request.go b/api_cc/model_create_application_request.go deleted file mode 100644 index e048b3d70..000000000 --- a/api_cc/model_create_application_request.go +++ /dev/null @@ -1,188 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the CreateApplicationRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &CreateApplicationRequest{} - -// CreateApplicationRequest struct for CreateApplicationRequest -type CreateApplicationRequest struct { - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _CreateApplicationRequest CreateApplicationRequest - -// NewCreateApplicationRequest instantiates a new CreateApplicationRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewCreateApplicationRequest() *CreateApplicationRequest { - this := CreateApplicationRequest{} - return &this -} - -// NewCreateApplicationRequestWithDefaults instantiates a new CreateApplicationRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCreateApplicationRequestWithDefaults() *CreateApplicationRequest { - this := CreateApplicationRequest{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *CreateApplicationRequest) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateApplicationRequest) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *CreateApplicationRequest) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *CreateApplicationRequest) SetName(v string) { - o.Name = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *CreateApplicationRequest) GetDescription() string { - if o == nil || isNil(o.Description) { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateApplicationRequest) GetDescriptionOk() (*string, bool) { - if o == nil || isNil(o.Description) { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *CreateApplicationRequest) HasDescription() bool { - if o != nil && !isNil(o.Description) { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *CreateApplicationRequest) SetDescription(v string) { - o.Description = &v -} - -func (o CreateApplicationRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o CreateApplicationRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.Description) { - toSerialize["description"] = o.Description - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *CreateApplicationRequest) UnmarshalJSON(bytes []byte) (err error) { - varCreateApplicationRequest := _CreateApplicationRequest{} - - if err = json.Unmarshal(bytes, &varCreateApplicationRequest); err == nil { - *o = CreateApplicationRequest(varCreateApplicationRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "name") - delete(additionalProperties, "description") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableCreateApplicationRequest struct { - value *CreateApplicationRequest - isSet bool -} - -func (v NullableCreateApplicationRequest) Get() *CreateApplicationRequest { - return v.value -} - -func (v *NullableCreateApplicationRequest) Set(val *CreateApplicationRequest) { - v.value = val - v.isSet = true -} - -func (v NullableCreateApplicationRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateApplicationRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateApplicationRequest(val *CreateApplicationRequest) *NullableCreateApplicationRequest { - return &NullableCreateApplicationRequest{value: val, isSet: true} -} - -func (v NullableCreateApplicationRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateApplicationRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_create_connector_request.go b/api_cc/model_create_connector_request.go deleted file mode 100644 index 98570b366..000000000 --- a/api_cc/model_create_connector_request.go +++ /dev/null @@ -1,299 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the CreateConnectorRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &CreateConnectorRequest{} - -// CreateConnectorRequest struct for CreateConnectorRequest -type CreateConnectorRequest struct { - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - ClassName *string `json:"className,omitempty"` - DirectConnect *bool `json:"directConnect,omitempty"` - Status *string `json:"status,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _CreateConnectorRequest CreateConnectorRequest - -// NewCreateConnectorRequest instantiates a new CreateConnectorRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewCreateConnectorRequest() *CreateConnectorRequest { - this := CreateConnectorRequest{} - return &this -} - -// NewCreateConnectorRequestWithDefaults instantiates a new CreateConnectorRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCreateConnectorRequestWithDefaults() *CreateConnectorRequest { - this := CreateConnectorRequest{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *CreateConnectorRequest) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateConnectorRequest) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *CreateConnectorRequest) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *CreateConnectorRequest) SetName(v string) { - o.Name = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *CreateConnectorRequest) GetDescription() string { - if o == nil || isNil(o.Description) { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateConnectorRequest) GetDescriptionOk() (*string, bool) { - if o == nil || isNil(o.Description) { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *CreateConnectorRequest) HasDescription() bool { - if o != nil && !isNil(o.Description) { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *CreateConnectorRequest) SetDescription(v string) { - o.Description = &v -} - -// GetClassName returns the ClassName field value if set, zero value otherwise. -func (o *CreateConnectorRequest) GetClassName() string { - if o == nil || isNil(o.ClassName) { - var ret string - return ret - } - return *o.ClassName -} - -// GetClassNameOk returns a tuple with the ClassName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateConnectorRequest) GetClassNameOk() (*string, bool) { - if o == nil || isNil(o.ClassName) { - return nil, false - } - return o.ClassName, true -} - -// HasClassName returns a boolean if a field has been set. -func (o *CreateConnectorRequest) HasClassName() bool { - if o != nil && !isNil(o.ClassName) { - return true - } - - return false -} - -// SetClassName gets a reference to the given string and assigns it to the ClassName field. -func (o *CreateConnectorRequest) SetClassName(v string) { - o.ClassName = &v -} - -// GetDirectConnect returns the DirectConnect field value if set, zero value otherwise. -func (o *CreateConnectorRequest) GetDirectConnect() bool { - if o == nil || isNil(o.DirectConnect) { - var ret bool - return ret - } - return *o.DirectConnect -} - -// GetDirectConnectOk returns a tuple with the DirectConnect field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateConnectorRequest) GetDirectConnectOk() (*bool, bool) { - if o == nil || isNil(o.DirectConnect) { - return nil, false - } - return o.DirectConnect, true -} - -// HasDirectConnect returns a boolean if a field has been set. -func (o *CreateConnectorRequest) HasDirectConnect() bool { - if o != nil && !isNil(o.DirectConnect) { - return true - } - - return false -} - -// SetDirectConnect gets a reference to the given bool and assigns it to the DirectConnect field. -func (o *CreateConnectorRequest) SetDirectConnect(v bool) { - o.DirectConnect = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *CreateConnectorRequest) GetStatus() string { - if o == nil || isNil(o.Status) { - var ret string - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateConnectorRequest) GetStatusOk() (*string, bool) { - if o == nil || isNil(o.Status) { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *CreateConnectorRequest) HasStatus() bool { - if o != nil && !isNil(o.Status) { - return true - } - - return false -} - -// SetStatus gets a reference to the given string and assigns it to the Status field. -func (o *CreateConnectorRequest) SetStatus(v string) { - o.Status = &v -} - -func (o CreateConnectorRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o CreateConnectorRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.Description) { - toSerialize["description"] = o.Description - } - if !isNil(o.ClassName) { - toSerialize["className"] = o.ClassName - } - if !isNil(o.DirectConnect) { - toSerialize["directConnect"] = o.DirectConnect - } - if !isNil(o.Status) { - toSerialize["status"] = o.Status - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *CreateConnectorRequest) UnmarshalJSON(bytes []byte) (err error) { - varCreateConnectorRequest := _CreateConnectorRequest{} - - if err = json.Unmarshal(bytes, &varCreateConnectorRequest); err == nil { - *o = CreateConnectorRequest(varCreateConnectorRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "name") - delete(additionalProperties, "description") - delete(additionalProperties, "className") - delete(additionalProperties, "directConnect") - delete(additionalProperties, "status") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableCreateConnectorRequest struct { - value *CreateConnectorRequest - isSet bool -} - -func (v NullableCreateConnectorRequest) Get() *CreateConnectorRequest { - return v.value -} - -func (v *NullableCreateConnectorRequest) Set(val *CreateConnectorRequest) { - v.value = val - v.isSet = true -} - -func (v NullableCreateConnectorRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateConnectorRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateConnectorRequest(val *CreateConnectorRequest) *NullableCreateConnectorRequest { - return &NullableCreateConnectorRequest{value: val, isSet: true} -} - -func (v NullableCreateConnectorRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateConnectorRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_get_application_200_response.go b/api_cc/model_get_application_200_response.go deleted file mode 100644 index ca04247a4..000000000 --- a/api_cc/model_get_application_200_response.go +++ /dev/null @@ -1,1964 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the GetApplication200Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GetApplication200Response{} - -// GetApplication200Response struct for GetApplication200Response -type GetApplication200Response struct { - Id *string `json:"id,omitempty"` - AppId *string `json:"appId,omitempty"` - ServiceId *string `json:"serviceId,omitempty"` - ServiceAppId *string `json:"serviceAppId,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - AppCenterEnabled *bool `json:"appCenterEnabled,omitempty"` - ProvisionRequestEnabled *bool `json:"provisionRequestEnabled,omitempty"` - ControlType *string `json:"controlType,omitempty"` - Mobile *bool `json:"mobile,omitempty"` - PrivateApp *bool `json:"privateApp,omitempty"` - ScriptName *string `json:"scriptName,omitempty"` - Status *string `json:"status,omitempty"` - Icon *string `json:"icon,omitempty"` - Health *ListApplications200ResponseInnerHealth `json:"health,omitempty"` - EnableSso *bool `json:"enableSso,omitempty"` - SsoMethod *string `json:"ssoMethod,omitempty"` - HasLinks *bool `json:"hasLinks,omitempty"` - HasAutomations *bool `json:"hasAutomations,omitempty"` - StepUpAuthData map[string]interface{} `json:"stepUpAuthData,omitempty"` - StepUpAuthType *string `json:"stepUpAuthType,omitempty"` - UsageAnalytics *bool `json:"usageAnalytics,omitempty"` - UsageCertRequired *bool `json:"usageCertRequired,omitempty"` - UsageCertText map[string]interface{} `json:"usageCertText,omitempty"` - LaunchpadEnabled *bool `json:"launchpadEnabled,omitempty"` - PasswordManaged *bool `json:"passwordManaged,omitempty"` - Owner *ListApplications200ResponseInnerOwner `json:"owner,omitempty"` - DateCreated *float32 `json:"dateCreated,omitempty"` - LastUpdated *float32 `json:"lastUpdated,omitempty"` - DefaultAccessProfile map[string]interface{} `json:"defaultAccessProfile,omitempty"` - Service *string `json:"service,omitempty"` - SelectedSsoMethod *string `json:"selectedSsoMethod,omitempty"` - SupportedSsoMethods *float32 `json:"supportedSsoMethods,omitempty"` - OffNetworkBlockedRoles map[string]interface{} `json:"offNetworkBlockedRoles,omitempty"` - SupportedOffNetwork *string `json:"supportedOffNetwork,omitempty"` - AccountServiceId *float32 `json:"accountServiceId,omitempty"` - LauncherCount *float32 `json:"launcherCount,omitempty"` - AccountServiceName *string `json:"accountServiceName,omitempty"` - AccountServiceExternalId *string `json:"accountServiceExternalId,omitempty"` - AccountServiceMatchAllAccounts *bool `json:"accountServiceMatchAllAccounts,omitempty"` - ExternalId *string `json:"externalId,omitempty"` - AccountServiceUseForPasswordManagement *bool `json:"accountServiceUseForPasswordManagement,omitempty"` - AccountServicePolicyId *string `json:"accountServicePolicyId,omitempty"` - AccountServicePolicyName *string `json:"accountServicePolicyName,omitempty"` - RequireStrongAuthn *bool `json:"requireStrongAuthn,omitempty"` - AccountServicePolicies []ListApplications200ResponseInnerAccountServicePoliciesInner `json:"accountServicePolicies,omitempty"` - XsdVersion *string `json:"xsdVersion,omitempty"` - AppProfiles []ListApplications200ResponseInnerAppProfilesInner `json:"appProfiles,omitempty"` - PasswordServiceId *float32 `json:"passwordServiceId,omitempty"` - AccessProfileIds map[string]interface{} `json:"accessProfileIds,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _GetApplication200Response GetApplication200Response - -// NewGetApplication200Response instantiates a new GetApplication200Response object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGetApplication200Response() *GetApplication200Response { - this := GetApplication200Response{} - return &this -} - -// NewGetApplication200ResponseWithDefaults instantiates a new GetApplication200Response object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGetApplication200ResponseWithDefaults() *GetApplication200Response { - this := GetApplication200Response{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *GetApplication200Response) GetId() string { - if o == nil || isNil(o.Id) { - var ret string - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetIdOk() (*string, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *GetApplication200Response) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given string and assigns it to the Id field. -func (o *GetApplication200Response) SetId(v string) { - o.Id = &v -} - -// GetAppId returns the AppId field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAppId() string { - if o == nil || isNil(o.AppId) { - var ret string - return ret - } - return *o.AppId -} - -// GetAppIdOk returns a tuple with the AppId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAppIdOk() (*string, bool) { - if o == nil || isNil(o.AppId) { - return nil, false - } - return o.AppId, true -} - -// HasAppId returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAppId() bool { - if o != nil && !isNil(o.AppId) { - return true - } - - return false -} - -// SetAppId gets a reference to the given string and assigns it to the AppId field. -func (o *GetApplication200Response) SetAppId(v string) { - o.AppId = &v -} - -// GetServiceId returns the ServiceId field value if set, zero value otherwise. -func (o *GetApplication200Response) GetServiceId() string { - if o == nil || isNil(o.ServiceId) { - var ret string - return ret - } - return *o.ServiceId -} - -// GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetServiceIdOk() (*string, bool) { - if o == nil || isNil(o.ServiceId) { - return nil, false - } - return o.ServiceId, true -} - -// HasServiceId returns a boolean if a field has been set. -func (o *GetApplication200Response) HasServiceId() bool { - if o != nil && !isNil(o.ServiceId) { - return true - } - - return false -} - -// SetServiceId gets a reference to the given string and assigns it to the ServiceId field. -func (o *GetApplication200Response) SetServiceId(v string) { - o.ServiceId = &v -} - -// GetServiceAppId returns the ServiceAppId field value if set, zero value otherwise. -func (o *GetApplication200Response) GetServiceAppId() string { - if o == nil || isNil(o.ServiceAppId) { - var ret string - return ret - } - return *o.ServiceAppId -} - -// GetServiceAppIdOk returns a tuple with the ServiceAppId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetServiceAppIdOk() (*string, bool) { - if o == nil || isNil(o.ServiceAppId) { - return nil, false - } - return o.ServiceAppId, true -} - -// HasServiceAppId returns a boolean if a field has been set. -func (o *GetApplication200Response) HasServiceAppId() bool { - if o != nil && !isNil(o.ServiceAppId) { - return true - } - - return false -} - -// SetServiceAppId gets a reference to the given string and assigns it to the ServiceAppId field. -func (o *GetApplication200Response) SetServiceAppId(v string) { - o.ServiceAppId = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *GetApplication200Response) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *GetApplication200Response) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *GetApplication200Response) SetName(v string) { - o.Name = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *GetApplication200Response) GetDescription() string { - if o == nil || isNil(o.Description) { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetDescriptionOk() (*string, bool) { - if o == nil || isNil(o.Description) { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *GetApplication200Response) HasDescription() bool { - if o != nil && !isNil(o.Description) { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *GetApplication200Response) SetDescription(v string) { - o.Description = &v -} - -// GetAppCenterEnabled returns the AppCenterEnabled field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAppCenterEnabled() bool { - if o == nil || isNil(o.AppCenterEnabled) { - var ret bool - return ret - } - return *o.AppCenterEnabled -} - -// GetAppCenterEnabledOk returns a tuple with the AppCenterEnabled field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAppCenterEnabledOk() (*bool, bool) { - if o == nil || isNil(o.AppCenterEnabled) { - return nil, false - } - return o.AppCenterEnabled, true -} - -// HasAppCenterEnabled returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAppCenterEnabled() bool { - if o != nil && !isNil(o.AppCenterEnabled) { - return true - } - - return false -} - -// SetAppCenterEnabled gets a reference to the given bool and assigns it to the AppCenterEnabled field. -func (o *GetApplication200Response) SetAppCenterEnabled(v bool) { - o.AppCenterEnabled = &v -} - -// GetProvisionRequestEnabled returns the ProvisionRequestEnabled field value if set, zero value otherwise. -func (o *GetApplication200Response) GetProvisionRequestEnabled() bool { - if o == nil || isNil(o.ProvisionRequestEnabled) { - var ret bool - return ret - } - return *o.ProvisionRequestEnabled -} - -// GetProvisionRequestEnabledOk returns a tuple with the ProvisionRequestEnabled field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetProvisionRequestEnabledOk() (*bool, bool) { - if o == nil || isNil(o.ProvisionRequestEnabled) { - return nil, false - } - return o.ProvisionRequestEnabled, true -} - -// HasProvisionRequestEnabled returns a boolean if a field has been set. -func (o *GetApplication200Response) HasProvisionRequestEnabled() bool { - if o != nil && !isNil(o.ProvisionRequestEnabled) { - return true - } - - return false -} - -// SetProvisionRequestEnabled gets a reference to the given bool and assigns it to the ProvisionRequestEnabled field. -func (o *GetApplication200Response) SetProvisionRequestEnabled(v bool) { - o.ProvisionRequestEnabled = &v -} - -// GetControlType returns the ControlType field value if set, zero value otherwise. -func (o *GetApplication200Response) GetControlType() string { - if o == nil || isNil(o.ControlType) { - var ret string - return ret - } - return *o.ControlType -} - -// GetControlTypeOk returns a tuple with the ControlType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetControlTypeOk() (*string, bool) { - if o == nil || isNil(o.ControlType) { - return nil, false - } - return o.ControlType, true -} - -// HasControlType returns a boolean if a field has been set. -func (o *GetApplication200Response) HasControlType() bool { - if o != nil && !isNil(o.ControlType) { - return true - } - - return false -} - -// SetControlType gets a reference to the given string and assigns it to the ControlType field. -func (o *GetApplication200Response) SetControlType(v string) { - o.ControlType = &v -} - -// GetMobile returns the Mobile field value if set, zero value otherwise. -func (o *GetApplication200Response) GetMobile() bool { - if o == nil || isNil(o.Mobile) { - var ret bool - return ret - } - return *o.Mobile -} - -// GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetMobileOk() (*bool, bool) { - if o == nil || isNil(o.Mobile) { - return nil, false - } - return o.Mobile, true -} - -// HasMobile returns a boolean if a field has been set. -func (o *GetApplication200Response) HasMobile() bool { - if o != nil && !isNil(o.Mobile) { - return true - } - - return false -} - -// SetMobile gets a reference to the given bool and assigns it to the Mobile field. -func (o *GetApplication200Response) SetMobile(v bool) { - o.Mobile = &v -} - -// GetPrivateApp returns the PrivateApp field value if set, zero value otherwise. -func (o *GetApplication200Response) GetPrivateApp() bool { - if o == nil || isNil(o.PrivateApp) { - var ret bool - return ret - } - return *o.PrivateApp -} - -// GetPrivateAppOk returns a tuple with the PrivateApp field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetPrivateAppOk() (*bool, bool) { - if o == nil || isNil(o.PrivateApp) { - return nil, false - } - return o.PrivateApp, true -} - -// HasPrivateApp returns a boolean if a field has been set. -func (o *GetApplication200Response) HasPrivateApp() bool { - if o != nil && !isNil(o.PrivateApp) { - return true - } - - return false -} - -// SetPrivateApp gets a reference to the given bool and assigns it to the PrivateApp field. -func (o *GetApplication200Response) SetPrivateApp(v bool) { - o.PrivateApp = &v -} - -// GetScriptName returns the ScriptName field value if set, zero value otherwise. -func (o *GetApplication200Response) GetScriptName() string { - if o == nil || isNil(o.ScriptName) { - var ret string - return ret - } - return *o.ScriptName -} - -// GetScriptNameOk returns a tuple with the ScriptName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetScriptNameOk() (*string, bool) { - if o == nil || isNil(o.ScriptName) { - return nil, false - } - return o.ScriptName, true -} - -// HasScriptName returns a boolean if a field has been set. -func (o *GetApplication200Response) HasScriptName() bool { - if o != nil && !isNil(o.ScriptName) { - return true - } - - return false -} - -// SetScriptName gets a reference to the given string and assigns it to the ScriptName field. -func (o *GetApplication200Response) SetScriptName(v string) { - o.ScriptName = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *GetApplication200Response) GetStatus() string { - if o == nil || isNil(o.Status) { - var ret string - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetStatusOk() (*string, bool) { - if o == nil || isNil(o.Status) { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *GetApplication200Response) HasStatus() bool { - if o != nil && !isNil(o.Status) { - return true - } - - return false -} - -// SetStatus gets a reference to the given string and assigns it to the Status field. -func (o *GetApplication200Response) SetStatus(v string) { - o.Status = &v -} - -// GetIcon returns the Icon field value if set, zero value otherwise. -func (o *GetApplication200Response) GetIcon() string { - if o == nil || isNil(o.Icon) { - var ret string - return ret - } - return *o.Icon -} - -// GetIconOk returns a tuple with the Icon field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetIconOk() (*string, bool) { - if o == nil || isNil(o.Icon) { - return nil, false - } - return o.Icon, true -} - -// HasIcon returns a boolean if a field has been set. -func (o *GetApplication200Response) HasIcon() bool { - if o != nil && !isNil(o.Icon) { - return true - } - - return false -} - -// SetIcon gets a reference to the given string and assigns it to the Icon field. -func (o *GetApplication200Response) SetIcon(v string) { - o.Icon = &v -} - -// GetHealth returns the Health field value if set, zero value otherwise. -func (o *GetApplication200Response) GetHealth() ListApplications200ResponseInnerHealth { - if o == nil || isNil(o.Health) { - var ret ListApplications200ResponseInnerHealth - return ret - } - return *o.Health -} - -// GetHealthOk returns a tuple with the Health field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetHealthOk() (*ListApplications200ResponseInnerHealth, bool) { - if o == nil || isNil(o.Health) { - return nil, false - } - return o.Health, true -} - -// HasHealth returns a boolean if a field has been set. -func (o *GetApplication200Response) HasHealth() bool { - if o != nil && !isNil(o.Health) { - return true - } - - return false -} - -// SetHealth gets a reference to the given ListApplications200ResponseInnerHealth and assigns it to the Health field. -func (o *GetApplication200Response) SetHealth(v ListApplications200ResponseInnerHealth) { - o.Health = &v -} - -// GetEnableSso returns the EnableSso field value if set, zero value otherwise. -func (o *GetApplication200Response) GetEnableSso() bool { - if o == nil || isNil(o.EnableSso) { - var ret bool - return ret - } - return *o.EnableSso -} - -// GetEnableSsoOk returns a tuple with the EnableSso field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetEnableSsoOk() (*bool, bool) { - if o == nil || isNil(o.EnableSso) { - return nil, false - } - return o.EnableSso, true -} - -// HasEnableSso returns a boolean if a field has been set. -func (o *GetApplication200Response) HasEnableSso() bool { - if o != nil && !isNil(o.EnableSso) { - return true - } - - return false -} - -// SetEnableSso gets a reference to the given bool and assigns it to the EnableSso field. -func (o *GetApplication200Response) SetEnableSso(v bool) { - o.EnableSso = &v -} - -// GetSsoMethod returns the SsoMethod field value if set, zero value otherwise. -func (o *GetApplication200Response) GetSsoMethod() string { - if o == nil || isNil(o.SsoMethod) { - var ret string - return ret - } - return *o.SsoMethod -} - -// GetSsoMethodOk returns a tuple with the SsoMethod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetSsoMethodOk() (*string, bool) { - if o == nil || isNil(o.SsoMethod) { - return nil, false - } - return o.SsoMethod, true -} - -// HasSsoMethod returns a boolean if a field has been set. -func (o *GetApplication200Response) HasSsoMethod() bool { - if o != nil && !isNil(o.SsoMethod) { - return true - } - - return false -} - -// SetSsoMethod gets a reference to the given string and assigns it to the SsoMethod field. -func (o *GetApplication200Response) SetSsoMethod(v string) { - o.SsoMethod = &v -} - -// GetHasLinks returns the HasLinks field value if set, zero value otherwise. -func (o *GetApplication200Response) GetHasLinks() bool { - if o == nil || isNil(o.HasLinks) { - var ret bool - return ret - } - return *o.HasLinks -} - -// GetHasLinksOk returns a tuple with the HasLinks field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetHasLinksOk() (*bool, bool) { - if o == nil || isNil(o.HasLinks) { - return nil, false - } - return o.HasLinks, true -} - -// HasHasLinks returns a boolean if a field has been set. -func (o *GetApplication200Response) HasHasLinks() bool { - if o != nil && !isNil(o.HasLinks) { - return true - } - - return false -} - -// SetHasLinks gets a reference to the given bool and assigns it to the HasLinks field. -func (o *GetApplication200Response) SetHasLinks(v bool) { - o.HasLinks = &v -} - -// GetHasAutomations returns the HasAutomations field value if set, zero value otherwise. -func (o *GetApplication200Response) GetHasAutomations() bool { - if o == nil || isNil(o.HasAutomations) { - var ret bool - return ret - } - return *o.HasAutomations -} - -// GetHasAutomationsOk returns a tuple with the HasAutomations field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetHasAutomationsOk() (*bool, bool) { - if o == nil || isNil(o.HasAutomations) { - return nil, false - } - return o.HasAutomations, true -} - -// HasHasAutomations returns a boolean if a field has been set. -func (o *GetApplication200Response) HasHasAutomations() bool { - if o != nil && !isNil(o.HasAutomations) { - return true - } - - return false -} - -// SetHasAutomations gets a reference to the given bool and assigns it to the HasAutomations field. -func (o *GetApplication200Response) SetHasAutomations(v bool) { - o.HasAutomations = &v -} - -// GetStepUpAuthData returns the StepUpAuthData field value if set, zero value otherwise. -func (o *GetApplication200Response) GetStepUpAuthData() map[string]interface{} { - if o == nil || isNil(o.StepUpAuthData) { - var ret map[string]interface{} - return ret - } - return o.StepUpAuthData -} - -// GetStepUpAuthDataOk returns a tuple with the StepUpAuthData field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetStepUpAuthDataOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.StepUpAuthData) { - return map[string]interface{}{}, false - } - return o.StepUpAuthData, true -} - -// HasStepUpAuthData returns a boolean if a field has been set. -func (o *GetApplication200Response) HasStepUpAuthData() bool { - if o != nil && !isNil(o.StepUpAuthData) { - return true - } - - return false -} - -// SetStepUpAuthData gets a reference to the given map[string]interface{} and assigns it to the StepUpAuthData field. -func (o *GetApplication200Response) SetStepUpAuthData(v map[string]interface{}) { - o.StepUpAuthData = v -} - -// GetStepUpAuthType returns the StepUpAuthType field value if set, zero value otherwise. -func (o *GetApplication200Response) GetStepUpAuthType() string { - if o == nil || isNil(o.StepUpAuthType) { - var ret string - return ret - } - return *o.StepUpAuthType -} - -// GetStepUpAuthTypeOk returns a tuple with the StepUpAuthType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetStepUpAuthTypeOk() (*string, bool) { - if o == nil || isNil(o.StepUpAuthType) { - return nil, false - } - return o.StepUpAuthType, true -} - -// HasStepUpAuthType returns a boolean if a field has been set. -func (o *GetApplication200Response) HasStepUpAuthType() bool { - if o != nil && !isNil(o.StepUpAuthType) { - return true - } - - return false -} - -// SetStepUpAuthType gets a reference to the given string and assigns it to the StepUpAuthType field. -func (o *GetApplication200Response) SetStepUpAuthType(v string) { - o.StepUpAuthType = &v -} - -// GetUsageAnalytics returns the UsageAnalytics field value if set, zero value otherwise. -func (o *GetApplication200Response) GetUsageAnalytics() bool { - if o == nil || isNil(o.UsageAnalytics) { - var ret bool - return ret - } - return *o.UsageAnalytics -} - -// GetUsageAnalyticsOk returns a tuple with the UsageAnalytics field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetUsageAnalyticsOk() (*bool, bool) { - if o == nil || isNil(o.UsageAnalytics) { - return nil, false - } - return o.UsageAnalytics, true -} - -// HasUsageAnalytics returns a boolean if a field has been set. -func (o *GetApplication200Response) HasUsageAnalytics() bool { - if o != nil && !isNil(o.UsageAnalytics) { - return true - } - - return false -} - -// SetUsageAnalytics gets a reference to the given bool and assigns it to the UsageAnalytics field. -func (o *GetApplication200Response) SetUsageAnalytics(v bool) { - o.UsageAnalytics = &v -} - -// GetUsageCertRequired returns the UsageCertRequired field value if set, zero value otherwise. -func (o *GetApplication200Response) GetUsageCertRequired() bool { - if o == nil || isNil(o.UsageCertRequired) { - var ret bool - return ret - } - return *o.UsageCertRequired -} - -// GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetUsageCertRequiredOk() (*bool, bool) { - if o == nil || isNil(o.UsageCertRequired) { - return nil, false - } - return o.UsageCertRequired, true -} - -// HasUsageCertRequired returns a boolean if a field has been set. -func (o *GetApplication200Response) HasUsageCertRequired() bool { - if o != nil && !isNil(o.UsageCertRequired) { - return true - } - - return false -} - -// SetUsageCertRequired gets a reference to the given bool and assigns it to the UsageCertRequired field. -func (o *GetApplication200Response) SetUsageCertRequired(v bool) { - o.UsageCertRequired = &v -} - -// GetUsageCertText returns the UsageCertText field value if set, zero value otherwise. -func (o *GetApplication200Response) GetUsageCertText() map[string]interface{} { - if o == nil || isNil(o.UsageCertText) { - var ret map[string]interface{} - return ret - } - return o.UsageCertText -} - -// GetUsageCertTextOk returns a tuple with the UsageCertText field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetUsageCertTextOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.UsageCertText) { - return map[string]interface{}{}, false - } - return o.UsageCertText, true -} - -// HasUsageCertText returns a boolean if a field has been set. -func (o *GetApplication200Response) HasUsageCertText() bool { - if o != nil && !isNil(o.UsageCertText) { - return true - } - - return false -} - -// SetUsageCertText gets a reference to the given map[string]interface{} and assigns it to the UsageCertText field. -func (o *GetApplication200Response) SetUsageCertText(v map[string]interface{}) { - o.UsageCertText = v -} - -// GetLaunchpadEnabled returns the LaunchpadEnabled field value if set, zero value otherwise. -func (o *GetApplication200Response) GetLaunchpadEnabled() bool { - if o == nil || isNil(o.LaunchpadEnabled) { - var ret bool - return ret - } - return *o.LaunchpadEnabled -} - -// GetLaunchpadEnabledOk returns a tuple with the LaunchpadEnabled field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetLaunchpadEnabledOk() (*bool, bool) { - if o == nil || isNil(o.LaunchpadEnabled) { - return nil, false - } - return o.LaunchpadEnabled, true -} - -// HasLaunchpadEnabled returns a boolean if a field has been set. -func (o *GetApplication200Response) HasLaunchpadEnabled() bool { - if o != nil && !isNil(o.LaunchpadEnabled) { - return true - } - - return false -} - -// SetLaunchpadEnabled gets a reference to the given bool and assigns it to the LaunchpadEnabled field. -func (o *GetApplication200Response) SetLaunchpadEnabled(v bool) { - o.LaunchpadEnabled = &v -} - -// GetPasswordManaged returns the PasswordManaged field value if set, zero value otherwise. -func (o *GetApplication200Response) GetPasswordManaged() bool { - if o == nil || isNil(o.PasswordManaged) { - var ret bool - return ret - } - return *o.PasswordManaged -} - -// GetPasswordManagedOk returns a tuple with the PasswordManaged field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetPasswordManagedOk() (*bool, bool) { - if o == nil || isNil(o.PasswordManaged) { - return nil, false - } - return o.PasswordManaged, true -} - -// HasPasswordManaged returns a boolean if a field has been set. -func (o *GetApplication200Response) HasPasswordManaged() bool { - if o != nil && !isNil(o.PasswordManaged) { - return true - } - - return false -} - -// SetPasswordManaged gets a reference to the given bool and assigns it to the PasswordManaged field. -func (o *GetApplication200Response) SetPasswordManaged(v bool) { - o.PasswordManaged = &v -} - -// GetOwner returns the Owner field value if set, zero value otherwise. -func (o *GetApplication200Response) GetOwner() ListApplications200ResponseInnerOwner { - if o == nil || isNil(o.Owner) { - var ret ListApplications200ResponseInnerOwner - return ret - } - return *o.Owner -} - -// GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetOwnerOk() (*ListApplications200ResponseInnerOwner, bool) { - if o == nil || isNil(o.Owner) { - return nil, false - } - return o.Owner, true -} - -// HasOwner returns a boolean if a field has been set. -func (o *GetApplication200Response) HasOwner() bool { - if o != nil && !isNil(o.Owner) { - return true - } - - return false -} - -// SetOwner gets a reference to the given ListApplications200ResponseInnerOwner and assigns it to the Owner field. -func (o *GetApplication200Response) SetOwner(v ListApplications200ResponseInnerOwner) { - o.Owner = &v -} - -// GetDateCreated returns the DateCreated field value if set, zero value otherwise. -func (o *GetApplication200Response) GetDateCreated() float32 { - if o == nil || isNil(o.DateCreated) { - var ret float32 - return ret - } - return *o.DateCreated -} - -// GetDateCreatedOk returns a tuple with the DateCreated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetDateCreatedOk() (*float32, bool) { - if o == nil || isNil(o.DateCreated) { - return nil, false - } - return o.DateCreated, true -} - -// HasDateCreated returns a boolean if a field has been set. -func (o *GetApplication200Response) HasDateCreated() bool { - if o != nil && !isNil(o.DateCreated) { - return true - } - - return false -} - -// SetDateCreated gets a reference to the given float32 and assigns it to the DateCreated field. -func (o *GetApplication200Response) SetDateCreated(v float32) { - o.DateCreated = &v -} - -// GetLastUpdated returns the LastUpdated field value if set, zero value otherwise. -func (o *GetApplication200Response) GetLastUpdated() float32 { - if o == nil || isNil(o.LastUpdated) { - var ret float32 - return ret - } - return *o.LastUpdated -} - -// GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetLastUpdatedOk() (*float32, bool) { - if o == nil || isNil(o.LastUpdated) { - return nil, false - } - return o.LastUpdated, true -} - -// HasLastUpdated returns a boolean if a field has been set. -func (o *GetApplication200Response) HasLastUpdated() bool { - if o != nil && !isNil(o.LastUpdated) { - return true - } - - return false -} - -// SetLastUpdated gets a reference to the given float32 and assigns it to the LastUpdated field. -func (o *GetApplication200Response) SetLastUpdated(v float32) { - o.LastUpdated = &v -} - -// GetDefaultAccessProfile returns the DefaultAccessProfile field value if set, zero value otherwise. -func (o *GetApplication200Response) GetDefaultAccessProfile() map[string]interface{} { - if o == nil || isNil(o.DefaultAccessProfile) { - var ret map[string]interface{} - return ret - } - return o.DefaultAccessProfile -} - -// GetDefaultAccessProfileOk returns a tuple with the DefaultAccessProfile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetDefaultAccessProfileOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.DefaultAccessProfile) { - return map[string]interface{}{}, false - } - return o.DefaultAccessProfile, true -} - -// HasDefaultAccessProfile returns a boolean if a field has been set. -func (o *GetApplication200Response) HasDefaultAccessProfile() bool { - if o != nil && !isNil(o.DefaultAccessProfile) { - return true - } - - return false -} - -// SetDefaultAccessProfile gets a reference to the given map[string]interface{} and assigns it to the DefaultAccessProfile field. -func (o *GetApplication200Response) SetDefaultAccessProfile(v map[string]interface{}) { - o.DefaultAccessProfile = v -} - -// GetService returns the Service field value if set, zero value otherwise. -func (o *GetApplication200Response) GetService() string { - if o == nil || isNil(o.Service) { - var ret string - return ret - } - return *o.Service -} - -// GetServiceOk returns a tuple with the Service field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetServiceOk() (*string, bool) { - if o == nil || isNil(o.Service) { - return nil, false - } - return o.Service, true -} - -// HasService returns a boolean if a field has been set. -func (o *GetApplication200Response) HasService() bool { - if o != nil && !isNil(o.Service) { - return true - } - - return false -} - -// SetService gets a reference to the given string and assigns it to the Service field. -func (o *GetApplication200Response) SetService(v string) { - o.Service = &v -} - -// GetSelectedSsoMethod returns the SelectedSsoMethod field value if set, zero value otherwise. -func (o *GetApplication200Response) GetSelectedSsoMethod() string { - if o == nil || isNil(o.SelectedSsoMethod) { - var ret string - return ret - } - return *o.SelectedSsoMethod -} - -// GetSelectedSsoMethodOk returns a tuple with the SelectedSsoMethod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetSelectedSsoMethodOk() (*string, bool) { - if o == nil || isNil(o.SelectedSsoMethod) { - return nil, false - } - return o.SelectedSsoMethod, true -} - -// HasSelectedSsoMethod returns a boolean if a field has been set. -func (o *GetApplication200Response) HasSelectedSsoMethod() bool { - if o != nil && !isNil(o.SelectedSsoMethod) { - return true - } - - return false -} - -// SetSelectedSsoMethod gets a reference to the given string and assigns it to the SelectedSsoMethod field. -func (o *GetApplication200Response) SetSelectedSsoMethod(v string) { - o.SelectedSsoMethod = &v -} - -// GetSupportedSsoMethods returns the SupportedSsoMethods field value if set, zero value otherwise. -func (o *GetApplication200Response) GetSupportedSsoMethods() float32 { - if o == nil || isNil(o.SupportedSsoMethods) { - var ret float32 - return ret - } - return *o.SupportedSsoMethods -} - -// GetSupportedSsoMethodsOk returns a tuple with the SupportedSsoMethods field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetSupportedSsoMethodsOk() (*float32, bool) { - if o == nil || isNil(o.SupportedSsoMethods) { - return nil, false - } - return o.SupportedSsoMethods, true -} - -// HasSupportedSsoMethods returns a boolean if a field has been set. -func (o *GetApplication200Response) HasSupportedSsoMethods() bool { - if o != nil && !isNil(o.SupportedSsoMethods) { - return true - } - - return false -} - -// SetSupportedSsoMethods gets a reference to the given float32 and assigns it to the SupportedSsoMethods field. -func (o *GetApplication200Response) SetSupportedSsoMethods(v float32) { - o.SupportedSsoMethods = &v -} - -// GetOffNetworkBlockedRoles returns the OffNetworkBlockedRoles field value if set, zero value otherwise. -func (o *GetApplication200Response) GetOffNetworkBlockedRoles() map[string]interface{} { - if o == nil || isNil(o.OffNetworkBlockedRoles) { - var ret map[string]interface{} - return ret - } - return o.OffNetworkBlockedRoles -} - -// GetOffNetworkBlockedRolesOk returns a tuple with the OffNetworkBlockedRoles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetOffNetworkBlockedRolesOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.OffNetworkBlockedRoles) { - return map[string]interface{}{}, false - } - return o.OffNetworkBlockedRoles, true -} - -// HasOffNetworkBlockedRoles returns a boolean if a field has been set. -func (o *GetApplication200Response) HasOffNetworkBlockedRoles() bool { - if o != nil && !isNil(o.OffNetworkBlockedRoles) { - return true - } - - return false -} - -// SetOffNetworkBlockedRoles gets a reference to the given map[string]interface{} and assigns it to the OffNetworkBlockedRoles field. -func (o *GetApplication200Response) SetOffNetworkBlockedRoles(v map[string]interface{}) { - o.OffNetworkBlockedRoles = v -} - -// GetSupportedOffNetwork returns the SupportedOffNetwork field value if set, zero value otherwise. -func (o *GetApplication200Response) GetSupportedOffNetwork() string { - if o == nil || isNil(o.SupportedOffNetwork) { - var ret string - return ret - } - return *o.SupportedOffNetwork -} - -// GetSupportedOffNetworkOk returns a tuple with the SupportedOffNetwork field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetSupportedOffNetworkOk() (*string, bool) { - if o == nil || isNil(o.SupportedOffNetwork) { - return nil, false - } - return o.SupportedOffNetwork, true -} - -// HasSupportedOffNetwork returns a boolean if a field has been set. -func (o *GetApplication200Response) HasSupportedOffNetwork() bool { - if o != nil && !isNil(o.SupportedOffNetwork) { - return true - } - - return false -} - -// SetSupportedOffNetwork gets a reference to the given string and assigns it to the SupportedOffNetwork field. -func (o *GetApplication200Response) SetSupportedOffNetwork(v string) { - o.SupportedOffNetwork = &v -} - -// GetAccountServiceId returns the AccountServiceId field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAccountServiceId() float32 { - if o == nil || isNil(o.AccountServiceId) { - var ret float32 - return ret - } - return *o.AccountServiceId -} - -// GetAccountServiceIdOk returns a tuple with the AccountServiceId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAccountServiceIdOk() (*float32, bool) { - if o == nil || isNil(o.AccountServiceId) { - return nil, false - } - return o.AccountServiceId, true -} - -// HasAccountServiceId returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAccountServiceId() bool { - if o != nil && !isNil(o.AccountServiceId) { - return true - } - - return false -} - -// SetAccountServiceId gets a reference to the given float32 and assigns it to the AccountServiceId field. -func (o *GetApplication200Response) SetAccountServiceId(v float32) { - o.AccountServiceId = &v -} - -// GetLauncherCount returns the LauncherCount field value if set, zero value otherwise. -func (o *GetApplication200Response) GetLauncherCount() float32 { - if o == nil || isNil(o.LauncherCount) { - var ret float32 - return ret - } - return *o.LauncherCount -} - -// GetLauncherCountOk returns a tuple with the LauncherCount field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetLauncherCountOk() (*float32, bool) { - if o == nil || isNil(o.LauncherCount) { - return nil, false - } - return o.LauncherCount, true -} - -// HasLauncherCount returns a boolean if a field has been set. -func (o *GetApplication200Response) HasLauncherCount() bool { - if o != nil && !isNil(o.LauncherCount) { - return true - } - - return false -} - -// SetLauncherCount gets a reference to the given float32 and assigns it to the LauncherCount field. -func (o *GetApplication200Response) SetLauncherCount(v float32) { - o.LauncherCount = &v -} - -// GetAccountServiceName returns the AccountServiceName field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAccountServiceName() string { - if o == nil || isNil(o.AccountServiceName) { - var ret string - return ret - } - return *o.AccountServiceName -} - -// GetAccountServiceNameOk returns a tuple with the AccountServiceName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAccountServiceNameOk() (*string, bool) { - if o == nil || isNil(o.AccountServiceName) { - return nil, false - } - return o.AccountServiceName, true -} - -// HasAccountServiceName returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAccountServiceName() bool { - if o != nil && !isNil(o.AccountServiceName) { - return true - } - - return false -} - -// SetAccountServiceName gets a reference to the given string and assigns it to the AccountServiceName field. -func (o *GetApplication200Response) SetAccountServiceName(v string) { - o.AccountServiceName = &v -} - -// GetAccountServiceExternalId returns the AccountServiceExternalId field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAccountServiceExternalId() string { - if o == nil || isNil(o.AccountServiceExternalId) { - var ret string - return ret - } - return *o.AccountServiceExternalId -} - -// GetAccountServiceExternalIdOk returns a tuple with the AccountServiceExternalId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAccountServiceExternalIdOk() (*string, bool) { - if o == nil || isNil(o.AccountServiceExternalId) { - return nil, false - } - return o.AccountServiceExternalId, true -} - -// HasAccountServiceExternalId returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAccountServiceExternalId() bool { - if o != nil && !isNil(o.AccountServiceExternalId) { - return true - } - - return false -} - -// SetAccountServiceExternalId gets a reference to the given string and assigns it to the AccountServiceExternalId field. -func (o *GetApplication200Response) SetAccountServiceExternalId(v string) { - o.AccountServiceExternalId = &v -} - -// GetAccountServiceMatchAllAccounts returns the AccountServiceMatchAllAccounts field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAccountServiceMatchAllAccounts() bool { - if o == nil || isNil(o.AccountServiceMatchAllAccounts) { - var ret bool - return ret - } - return *o.AccountServiceMatchAllAccounts -} - -// GetAccountServiceMatchAllAccountsOk returns a tuple with the AccountServiceMatchAllAccounts field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAccountServiceMatchAllAccountsOk() (*bool, bool) { - if o == nil || isNil(o.AccountServiceMatchAllAccounts) { - return nil, false - } - return o.AccountServiceMatchAllAccounts, true -} - -// HasAccountServiceMatchAllAccounts returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAccountServiceMatchAllAccounts() bool { - if o != nil && !isNil(o.AccountServiceMatchAllAccounts) { - return true - } - - return false -} - -// SetAccountServiceMatchAllAccounts gets a reference to the given bool and assigns it to the AccountServiceMatchAllAccounts field. -func (o *GetApplication200Response) SetAccountServiceMatchAllAccounts(v bool) { - o.AccountServiceMatchAllAccounts = &v -} - -// GetExternalId returns the ExternalId field value if set, zero value otherwise. -func (o *GetApplication200Response) GetExternalId() string { - if o == nil || isNil(o.ExternalId) { - var ret string - return ret - } - return *o.ExternalId -} - -// GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetExternalIdOk() (*string, bool) { - if o == nil || isNil(o.ExternalId) { - return nil, false - } - return o.ExternalId, true -} - -// HasExternalId returns a boolean if a field has been set. -func (o *GetApplication200Response) HasExternalId() bool { - if o != nil && !isNil(o.ExternalId) { - return true - } - - return false -} - -// SetExternalId gets a reference to the given string and assigns it to the ExternalId field. -func (o *GetApplication200Response) SetExternalId(v string) { - o.ExternalId = &v -} - -// GetAccountServiceUseForPasswordManagement returns the AccountServiceUseForPasswordManagement field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAccountServiceUseForPasswordManagement() bool { - if o == nil || isNil(o.AccountServiceUseForPasswordManagement) { - var ret bool - return ret - } - return *o.AccountServiceUseForPasswordManagement -} - -// GetAccountServiceUseForPasswordManagementOk returns a tuple with the AccountServiceUseForPasswordManagement field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAccountServiceUseForPasswordManagementOk() (*bool, bool) { - if o == nil || isNil(o.AccountServiceUseForPasswordManagement) { - return nil, false - } - return o.AccountServiceUseForPasswordManagement, true -} - -// HasAccountServiceUseForPasswordManagement returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAccountServiceUseForPasswordManagement() bool { - if o != nil && !isNil(o.AccountServiceUseForPasswordManagement) { - return true - } - - return false -} - -// SetAccountServiceUseForPasswordManagement gets a reference to the given bool and assigns it to the AccountServiceUseForPasswordManagement field. -func (o *GetApplication200Response) SetAccountServiceUseForPasswordManagement(v bool) { - o.AccountServiceUseForPasswordManagement = &v -} - -// GetAccountServicePolicyId returns the AccountServicePolicyId field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAccountServicePolicyId() string { - if o == nil || isNil(o.AccountServicePolicyId) { - var ret string - return ret - } - return *o.AccountServicePolicyId -} - -// GetAccountServicePolicyIdOk returns a tuple with the AccountServicePolicyId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAccountServicePolicyIdOk() (*string, bool) { - if o == nil || isNil(o.AccountServicePolicyId) { - return nil, false - } - return o.AccountServicePolicyId, true -} - -// HasAccountServicePolicyId returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAccountServicePolicyId() bool { - if o != nil && !isNil(o.AccountServicePolicyId) { - return true - } - - return false -} - -// SetAccountServicePolicyId gets a reference to the given string and assigns it to the AccountServicePolicyId field. -func (o *GetApplication200Response) SetAccountServicePolicyId(v string) { - o.AccountServicePolicyId = &v -} - -// GetAccountServicePolicyName returns the AccountServicePolicyName field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAccountServicePolicyName() string { - if o == nil || isNil(o.AccountServicePolicyName) { - var ret string - return ret - } - return *o.AccountServicePolicyName -} - -// GetAccountServicePolicyNameOk returns a tuple with the AccountServicePolicyName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAccountServicePolicyNameOk() (*string, bool) { - if o == nil || isNil(o.AccountServicePolicyName) { - return nil, false - } - return o.AccountServicePolicyName, true -} - -// HasAccountServicePolicyName returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAccountServicePolicyName() bool { - if o != nil && !isNil(o.AccountServicePolicyName) { - return true - } - - return false -} - -// SetAccountServicePolicyName gets a reference to the given string and assigns it to the AccountServicePolicyName field. -func (o *GetApplication200Response) SetAccountServicePolicyName(v string) { - o.AccountServicePolicyName = &v -} - -// GetRequireStrongAuthn returns the RequireStrongAuthn field value if set, zero value otherwise. -func (o *GetApplication200Response) GetRequireStrongAuthn() bool { - if o == nil || isNil(o.RequireStrongAuthn) { - var ret bool - return ret - } - return *o.RequireStrongAuthn -} - -// GetRequireStrongAuthnOk returns a tuple with the RequireStrongAuthn field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetRequireStrongAuthnOk() (*bool, bool) { - if o == nil || isNil(o.RequireStrongAuthn) { - return nil, false - } - return o.RequireStrongAuthn, true -} - -// HasRequireStrongAuthn returns a boolean if a field has been set. -func (o *GetApplication200Response) HasRequireStrongAuthn() bool { - if o != nil && !isNil(o.RequireStrongAuthn) { - return true - } - - return false -} - -// SetRequireStrongAuthn gets a reference to the given bool and assigns it to the RequireStrongAuthn field. -func (o *GetApplication200Response) SetRequireStrongAuthn(v bool) { - o.RequireStrongAuthn = &v -} - -// GetAccountServicePolicies returns the AccountServicePolicies field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAccountServicePolicies() []ListApplications200ResponseInnerAccountServicePoliciesInner { - if o == nil || isNil(o.AccountServicePolicies) { - var ret []ListApplications200ResponseInnerAccountServicePoliciesInner - return ret - } - return o.AccountServicePolicies -} - -// GetAccountServicePoliciesOk returns a tuple with the AccountServicePolicies field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAccountServicePoliciesOk() ([]ListApplications200ResponseInnerAccountServicePoliciesInner, bool) { - if o == nil || isNil(o.AccountServicePolicies) { - return nil, false - } - return o.AccountServicePolicies, true -} - -// HasAccountServicePolicies returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAccountServicePolicies() bool { - if o != nil && !isNil(o.AccountServicePolicies) { - return true - } - - return false -} - -// SetAccountServicePolicies gets a reference to the given []ListApplications200ResponseInnerAccountServicePoliciesInner and assigns it to the AccountServicePolicies field. -func (o *GetApplication200Response) SetAccountServicePolicies(v []ListApplications200ResponseInnerAccountServicePoliciesInner) { - o.AccountServicePolicies = v -} - -// GetXsdVersion returns the XsdVersion field value if set, zero value otherwise. -func (o *GetApplication200Response) GetXsdVersion() string { - if o == nil || isNil(o.XsdVersion) { - var ret string - return ret - } - return *o.XsdVersion -} - -// GetXsdVersionOk returns a tuple with the XsdVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetXsdVersionOk() (*string, bool) { - if o == nil || isNil(o.XsdVersion) { - return nil, false - } - return o.XsdVersion, true -} - -// HasXsdVersion returns a boolean if a field has been set. -func (o *GetApplication200Response) HasXsdVersion() bool { - if o != nil && !isNil(o.XsdVersion) { - return true - } - - return false -} - -// SetXsdVersion gets a reference to the given string and assigns it to the XsdVersion field. -func (o *GetApplication200Response) SetXsdVersion(v string) { - o.XsdVersion = &v -} - -// GetAppProfiles returns the AppProfiles field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAppProfiles() []ListApplications200ResponseInnerAppProfilesInner { - if o == nil || isNil(o.AppProfiles) { - var ret []ListApplications200ResponseInnerAppProfilesInner - return ret - } - return o.AppProfiles -} - -// GetAppProfilesOk returns a tuple with the AppProfiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAppProfilesOk() ([]ListApplications200ResponseInnerAppProfilesInner, bool) { - if o == nil || isNil(o.AppProfiles) { - return nil, false - } - return o.AppProfiles, true -} - -// HasAppProfiles returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAppProfiles() bool { - if o != nil && !isNil(o.AppProfiles) { - return true - } - - return false -} - -// SetAppProfiles gets a reference to the given []ListApplications200ResponseInnerAppProfilesInner and assigns it to the AppProfiles field. -func (o *GetApplication200Response) SetAppProfiles(v []ListApplications200ResponseInnerAppProfilesInner) { - o.AppProfiles = v -} - -// GetPasswordServiceId returns the PasswordServiceId field value if set, zero value otherwise. -func (o *GetApplication200Response) GetPasswordServiceId() float32 { - if o == nil || isNil(o.PasswordServiceId) { - var ret float32 - return ret - } - return *o.PasswordServiceId -} - -// GetPasswordServiceIdOk returns a tuple with the PasswordServiceId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetPasswordServiceIdOk() (*float32, bool) { - if o == nil || isNil(o.PasswordServiceId) { - return nil, false - } - return o.PasswordServiceId, true -} - -// HasPasswordServiceId returns a boolean if a field has been set. -func (o *GetApplication200Response) HasPasswordServiceId() bool { - if o != nil && !isNil(o.PasswordServiceId) { - return true - } - - return false -} - -// SetPasswordServiceId gets a reference to the given float32 and assigns it to the PasswordServiceId field. -func (o *GetApplication200Response) SetPasswordServiceId(v float32) { - o.PasswordServiceId = &v -} - -// GetAccessProfileIds returns the AccessProfileIds field value if set, zero value otherwise. -func (o *GetApplication200Response) GetAccessProfileIds() map[string]interface{} { - if o == nil || isNil(o.AccessProfileIds) { - var ret map[string]interface{} - return ret - } - return o.AccessProfileIds -} - -// GetAccessProfileIdsOk returns a tuple with the AccessProfileIds field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetApplication200Response) GetAccessProfileIdsOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.AccessProfileIds) { - return map[string]interface{}{}, false - } - return o.AccessProfileIds, true -} - -// HasAccessProfileIds returns a boolean if a field has been set. -func (o *GetApplication200Response) HasAccessProfileIds() bool { - if o != nil && !isNil(o.AccessProfileIds) { - return true - } - - return false -} - -// SetAccessProfileIds gets a reference to the given map[string]interface{} and assigns it to the AccessProfileIds field. -func (o *GetApplication200Response) SetAccessProfileIds(v map[string]interface{}) { - o.AccessProfileIds = v -} - -func (o GetApplication200Response) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GetApplication200Response) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.AppId) { - toSerialize["appId"] = o.AppId - } - if !isNil(o.ServiceId) { - toSerialize["serviceId"] = o.ServiceId - } - if !isNil(o.ServiceAppId) { - toSerialize["serviceAppId"] = o.ServiceAppId - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.Description) { - toSerialize["description"] = o.Description - } - if !isNil(o.AppCenterEnabled) { - toSerialize["appCenterEnabled"] = o.AppCenterEnabled - } - if !isNil(o.ProvisionRequestEnabled) { - toSerialize["provisionRequestEnabled"] = o.ProvisionRequestEnabled - } - if !isNil(o.ControlType) { - toSerialize["controlType"] = o.ControlType - } - if !isNil(o.Mobile) { - toSerialize["mobile"] = o.Mobile - } - if !isNil(o.PrivateApp) { - toSerialize["privateApp"] = o.PrivateApp - } - if !isNil(o.ScriptName) { - toSerialize["scriptName"] = o.ScriptName - } - if !isNil(o.Status) { - toSerialize["status"] = o.Status - } - if !isNil(o.Icon) { - toSerialize["icon"] = o.Icon - } - if !isNil(o.Health) { - toSerialize["health"] = o.Health - } - if !isNil(o.EnableSso) { - toSerialize["enableSso"] = o.EnableSso - } - if !isNil(o.SsoMethod) { - toSerialize["ssoMethod"] = o.SsoMethod - } - if !isNil(o.HasLinks) { - toSerialize["hasLinks"] = o.HasLinks - } - if !isNil(o.HasAutomations) { - toSerialize["hasAutomations"] = o.HasAutomations - } - if !isNil(o.StepUpAuthData) { - toSerialize["stepUpAuthData"] = o.StepUpAuthData - } - if !isNil(o.StepUpAuthType) { - toSerialize["stepUpAuthType"] = o.StepUpAuthType - } - if !isNil(o.UsageAnalytics) { - toSerialize["usageAnalytics"] = o.UsageAnalytics - } - if !isNil(o.UsageCertRequired) { - toSerialize["usageCertRequired"] = o.UsageCertRequired - } - if !isNil(o.UsageCertText) { - toSerialize["usageCertText"] = o.UsageCertText - } - if !isNil(o.LaunchpadEnabled) { - toSerialize["launchpadEnabled"] = o.LaunchpadEnabled - } - if !isNil(o.PasswordManaged) { - toSerialize["passwordManaged"] = o.PasswordManaged - } - if !isNil(o.Owner) { - toSerialize["owner"] = o.Owner - } - if !isNil(o.DateCreated) { - toSerialize["dateCreated"] = o.DateCreated - } - if !isNil(o.LastUpdated) { - toSerialize["lastUpdated"] = o.LastUpdated - } - if !isNil(o.DefaultAccessProfile) { - toSerialize["defaultAccessProfile"] = o.DefaultAccessProfile - } - if !isNil(o.Service) { - toSerialize["service"] = o.Service - } - if !isNil(o.SelectedSsoMethod) { - toSerialize["selectedSsoMethod"] = o.SelectedSsoMethod - } - if !isNil(o.SupportedSsoMethods) { - toSerialize["supportedSsoMethods"] = o.SupportedSsoMethods - } - if !isNil(o.OffNetworkBlockedRoles) { - toSerialize["offNetworkBlockedRoles"] = o.OffNetworkBlockedRoles - } - if !isNil(o.SupportedOffNetwork) { - toSerialize["supportedOffNetwork"] = o.SupportedOffNetwork - } - if !isNil(o.AccountServiceId) { - toSerialize["accountServiceId"] = o.AccountServiceId - } - if !isNil(o.LauncherCount) { - toSerialize["launcherCount"] = o.LauncherCount - } - if !isNil(o.AccountServiceName) { - toSerialize["accountServiceName"] = o.AccountServiceName - } - if !isNil(o.AccountServiceExternalId) { - toSerialize["accountServiceExternalId"] = o.AccountServiceExternalId - } - if !isNil(o.AccountServiceMatchAllAccounts) { - toSerialize["accountServiceMatchAllAccounts"] = o.AccountServiceMatchAllAccounts - } - if !isNil(o.ExternalId) { - toSerialize["externalId"] = o.ExternalId - } - if !isNil(o.AccountServiceUseForPasswordManagement) { - toSerialize["accountServiceUseForPasswordManagement"] = o.AccountServiceUseForPasswordManagement - } - if !isNil(o.AccountServicePolicyId) { - toSerialize["accountServicePolicyId"] = o.AccountServicePolicyId - } - if !isNil(o.AccountServicePolicyName) { - toSerialize["accountServicePolicyName"] = o.AccountServicePolicyName - } - if !isNil(o.RequireStrongAuthn) { - toSerialize["requireStrongAuthn"] = o.RequireStrongAuthn - } - if !isNil(o.AccountServicePolicies) { - toSerialize["accountServicePolicies"] = o.AccountServicePolicies - } - if !isNil(o.XsdVersion) { - toSerialize["xsdVersion"] = o.XsdVersion - } - if !isNil(o.AppProfiles) { - toSerialize["appProfiles"] = o.AppProfiles - } - if !isNil(o.PasswordServiceId) { - toSerialize["passwordServiceId"] = o.PasswordServiceId - } - if !isNil(o.AccessProfileIds) { - toSerialize["accessProfileIds"] = o.AccessProfileIds - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *GetApplication200Response) UnmarshalJSON(bytes []byte) (err error) { - varGetApplication200Response := _GetApplication200Response{} - - if err = json.Unmarshal(bytes, &varGetApplication200Response); err == nil { - *o = GetApplication200Response(varGetApplication200Response) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "id") - delete(additionalProperties, "appId") - delete(additionalProperties, "serviceId") - delete(additionalProperties, "serviceAppId") - delete(additionalProperties, "name") - delete(additionalProperties, "description") - delete(additionalProperties, "appCenterEnabled") - delete(additionalProperties, "provisionRequestEnabled") - delete(additionalProperties, "controlType") - delete(additionalProperties, "mobile") - delete(additionalProperties, "privateApp") - delete(additionalProperties, "scriptName") - delete(additionalProperties, "status") - delete(additionalProperties, "icon") - delete(additionalProperties, "health") - delete(additionalProperties, "enableSso") - delete(additionalProperties, "ssoMethod") - delete(additionalProperties, "hasLinks") - delete(additionalProperties, "hasAutomations") - delete(additionalProperties, "stepUpAuthData") - delete(additionalProperties, "stepUpAuthType") - delete(additionalProperties, "usageAnalytics") - delete(additionalProperties, "usageCertRequired") - delete(additionalProperties, "usageCertText") - delete(additionalProperties, "launchpadEnabled") - delete(additionalProperties, "passwordManaged") - delete(additionalProperties, "owner") - delete(additionalProperties, "dateCreated") - delete(additionalProperties, "lastUpdated") - delete(additionalProperties, "defaultAccessProfile") - delete(additionalProperties, "service") - delete(additionalProperties, "selectedSsoMethod") - delete(additionalProperties, "supportedSsoMethods") - delete(additionalProperties, "offNetworkBlockedRoles") - delete(additionalProperties, "supportedOffNetwork") - delete(additionalProperties, "accountServiceId") - delete(additionalProperties, "launcherCount") - delete(additionalProperties, "accountServiceName") - delete(additionalProperties, "accountServiceExternalId") - delete(additionalProperties, "accountServiceMatchAllAccounts") - delete(additionalProperties, "externalId") - delete(additionalProperties, "accountServiceUseForPasswordManagement") - delete(additionalProperties, "accountServicePolicyId") - delete(additionalProperties, "accountServicePolicyName") - delete(additionalProperties, "requireStrongAuthn") - delete(additionalProperties, "accountServicePolicies") - delete(additionalProperties, "xsdVersion") - delete(additionalProperties, "appProfiles") - delete(additionalProperties, "passwordServiceId") - delete(additionalProperties, "accessProfileIds") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableGetApplication200Response struct { - value *GetApplication200Response - isSet bool -} - -func (v NullableGetApplication200Response) Get() *GetApplication200Response { - return v.value -} - -func (v *NullableGetApplication200Response) Set(val *GetApplication200Response) { - v.value = val - v.isSet = true -} - -func (v NullableGetApplication200Response) IsSet() bool { - return v.isSet -} - -func (v *NullableGetApplication200Response) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetApplication200Response(val *GetApplication200Response) *NullableGetApplication200Response { - return &NullableGetApplication200Response{value: val, isSet: true} -} - -func (v NullableGetApplication200Response) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetApplication200Response) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_get_identity_200_response.go b/api_cc/model_get_identity_200_response.go deleted file mode 100644 index e768eb5c9..000000000 --- a/api_cc/model_get_identity_200_response.go +++ /dev/null @@ -1,1631 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the GetIdentity200Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GetIdentity200Response{} - -// GetIdentity200Response struct for GetIdentity200Response -type GetIdentity200Response struct { - Id *string `json:"id,omitempty"` - Alias *string `json:"alias,omitempty"` - Uid *string `json:"uid,omitempty"` - Name *string `json:"name,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - Uuid *string `json:"uuid,omitempty"` - EncryptionKey map[string]interface{} `json:"encryptionKey,omitempty"` - EncryptionCheck map[string]interface{} `json:"encryptionCheck,omitempty"` - Status *string `json:"status,omitempty"` - Pending *bool `json:"pending,omitempty"` - PasswordResetSinceLastLogin *bool `json:"passwordResetSinceLastLogin,omitempty"` - UsageCertAttested map[string]interface{} `json:"usageCertAttested,omitempty"` - UserFlags map[string]interface{} `json:"userFlags,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - AltAuthVia *string `json:"altAuthVia,omitempty"` - AltAuthViaIntegrationData map[string]interface{} `json:"altAuthViaIntegrationData,omitempty"` - KbaAnswers *float32 `json:"kbaAnswers,omitempty"` - DisablePasswordReset *bool `json:"disablePasswordReset,omitempty"` - PtaSourceId map[string]interface{} `json:"ptaSourceId,omitempty"` - SupportsPasswordPush *bool `json:"supportsPasswordPush,omitempty"` - Attributes map[string]interface{} `json:"attributes,omitempty"` - ExternalId *string `json:"externalId,omitempty"` - Role []map[string]interface{} `json:"role,omitempty"` - Phone map[string]interface{} `json:"phone,omitempty"` - Email *string `json:"email,omitempty"` - PersonalEmail map[string]interface{} `json:"personalEmail,omitempty"` - EmployeeNumber map[string]interface{} `json:"employeeNumber,omitempty"` - RiskScore *float32 `json:"riskScore,omitempty"` - FeatureFlags map[string]interface{} `json:"featureFlags,omitempty"` - Feature []string `json:"feature,omitempty"` - OrgEncryptionKey *string `json:"orgEncryptionKey,omitempty"` - OrgEncryptionKeyId *string `json:"orgEncryptionKeyId,omitempty"` - Meta map[string]interface{} `json:"meta,omitempty"` - Org *GetIdentity200ResponseOrg `json:"org,omitempty"` - StepUpAuth *bool `json:"stepUpAuth,omitempty"` - BxInstallPrompted *bool `json:"bxInstallPrompted,omitempty"` - FederatedLogin *bool `json:"federatedLogin,omitempty"` - Auth *GetIdentity200ResponseAuth `json:"auth,omitempty"` - OnNetwork *bool `json:"onNetwork,omitempty"` - OnTrustedGeo *bool `json:"onTrustedGeo,omitempty"` - LoginUrl *string `json:"loginUrl,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _GetIdentity200Response GetIdentity200Response - -// NewGetIdentity200Response instantiates a new GetIdentity200Response object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGetIdentity200Response() *GetIdentity200Response { - this := GetIdentity200Response{} - return &this -} - -// NewGetIdentity200ResponseWithDefaults instantiates a new GetIdentity200Response object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGetIdentity200ResponseWithDefaults() *GetIdentity200Response { - this := GetIdentity200Response{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetId() string { - if o == nil || isNil(o.Id) { - var ret string - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetIdOk() (*string, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given string and assigns it to the Id field. -func (o *GetIdentity200Response) SetId(v string) { - o.Id = &v -} - -// GetAlias returns the Alias field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetAlias() string { - if o == nil || isNil(o.Alias) { - var ret string - return ret - } - return *o.Alias -} - -// GetAliasOk returns a tuple with the Alias field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetAliasOk() (*string, bool) { - if o == nil || isNil(o.Alias) { - return nil, false - } - return o.Alias, true -} - -// HasAlias returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasAlias() bool { - if o != nil && !isNil(o.Alias) { - return true - } - - return false -} - -// SetAlias gets a reference to the given string and assigns it to the Alias field. -func (o *GetIdentity200Response) SetAlias(v string) { - o.Alias = &v -} - -// GetUid returns the Uid field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetUid() string { - if o == nil || isNil(o.Uid) { - var ret string - return ret - } - return *o.Uid -} - -// GetUidOk returns a tuple with the Uid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetUidOk() (*string, bool) { - if o == nil || isNil(o.Uid) { - return nil, false - } - return o.Uid, true -} - -// HasUid returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasUid() bool { - if o != nil && !isNil(o.Uid) { - return true - } - - return false -} - -// SetUid gets a reference to the given string and assigns it to the Uid field. -func (o *GetIdentity200Response) SetUid(v string) { - o.Uid = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *GetIdentity200Response) SetName(v string) { - o.Name = &v -} - -// GetDisplayName returns the DisplayName field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetDisplayName() string { - if o == nil || isNil(o.DisplayName) { - var ret string - return ret - } - return *o.DisplayName -} - -// GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetDisplayNameOk() (*string, bool) { - if o == nil || isNil(o.DisplayName) { - return nil, false - } - return o.DisplayName, true -} - -// HasDisplayName returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasDisplayName() bool { - if o != nil && !isNil(o.DisplayName) { - return true - } - - return false -} - -// SetDisplayName gets a reference to the given string and assigns it to the DisplayName field. -func (o *GetIdentity200Response) SetDisplayName(v string) { - o.DisplayName = &v -} - -// GetUuid returns the Uuid field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetUuid() string { - if o == nil || isNil(o.Uuid) { - var ret string - return ret - } - return *o.Uuid -} - -// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetUuidOk() (*string, bool) { - if o == nil || isNil(o.Uuid) { - return nil, false - } - return o.Uuid, true -} - -// HasUuid returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasUuid() bool { - if o != nil && !isNil(o.Uuid) { - return true - } - - return false -} - -// SetUuid gets a reference to the given string and assigns it to the Uuid field. -func (o *GetIdentity200Response) SetUuid(v string) { - o.Uuid = &v -} - -// GetEncryptionKey returns the EncryptionKey field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetEncryptionKey() map[string]interface{} { - if o == nil || isNil(o.EncryptionKey) { - var ret map[string]interface{} - return ret - } - return o.EncryptionKey -} - -// GetEncryptionKeyOk returns a tuple with the EncryptionKey field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetEncryptionKeyOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.EncryptionKey) { - return map[string]interface{}{}, false - } - return o.EncryptionKey, true -} - -// HasEncryptionKey returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasEncryptionKey() bool { - if o != nil && !isNil(o.EncryptionKey) { - return true - } - - return false -} - -// SetEncryptionKey gets a reference to the given map[string]interface{} and assigns it to the EncryptionKey field. -func (o *GetIdentity200Response) SetEncryptionKey(v map[string]interface{}) { - o.EncryptionKey = v -} - -// GetEncryptionCheck returns the EncryptionCheck field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetEncryptionCheck() map[string]interface{} { - if o == nil || isNil(o.EncryptionCheck) { - var ret map[string]interface{} - return ret - } - return o.EncryptionCheck -} - -// GetEncryptionCheckOk returns a tuple with the EncryptionCheck field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetEncryptionCheckOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.EncryptionCheck) { - return map[string]interface{}{}, false - } - return o.EncryptionCheck, true -} - -// HasEncryptionCheck returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasEncryptionCheck() bool { - if o != nil && !isNil(o.EncryptionCheck) { - return true - } - - return false -} - -// SetEncryptionCheck gets a reference to the given map[string]interface{} and assigns it to the EncryptionCheck field. -func (o *GetIdentity200Response) SetEncryptionCheck(v map[string]interface{}) { - o.EncryptionCheck = v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetStatus() string { - if o == nil || isNil(o.Status) { - var ret string - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetStatusOk() (*string, bool) { - if o == nil || isNil(o.Status) { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasStatus() bool { - if o != nil && !isNil(o.Status) { - return true - } - - return false -} - -// SetStatus gets a reference to the given string and assigns it to the Status field. -func (o *GetIdentity200Response) SetStatus(v string) { - o.Status = &v -} - -// GetPending returns the Pending field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetPending() bool { - if o == nil || isNil(o.Pending) { - var ret bool - return ret - } - return *o.Pending -} - -// GetPendingOk returns a tuple with the Pending field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetPendingOk() (*bool, bool) { - if o == nil || isNil(o.Pending) { - return nil, false - } - return o.Pending, true -} - -// HasPending returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasPending() bool { - if o != nil && !isNil(o.Pending) { - return true - } - - return false -} - -// SetPending gets a reference to the given bool and assigns it to the Pending field. -func (o *GetIdentity200Response) SetPending(v bool) { - o.Pending = &v -} - -// GetPasswordResetSinceLastLogin returns the PasswordResetSinceLastLogin field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetPasswordResetSinceLastLogin() bool { - if o == nil || isNil(o.PasswordResetSinceLastLogin) { - var ret bool - return ret - } - return *o.PasswordResetSinceLastLogin -} - -// GetPasswordResetSinceLastLoginOk returns a tuple with the PasswordResetSinceLastLogin field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetPasswordResetSinceLastLoginOk() (*bool, bool) { - if o == nil || isNil(o.PasswordResetSinceLastLogin) { - return nil, false - } - return o.PasswordResetSinceLastLogin, true -} - -// HasPasswordResetSinceLastLogin returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasPasswordResetSinceLastLogin() bool { - if o != nil && !isNil(o.PasswordResetSinceLastLogin) { - return true - } - - return false -} - -// SetPasswordResetSinceLastLogin gets a reference to the given bool and assigns it to the PasswordResetSinceLastLogin field. -func (o *GetIdentity200Response) SetPasswordResetSinceLastLogin(v bool) { - o.PasswordResetSinceLastLogin = &v -} - -// GetUsageCertAttested returns the UsageCertAttested field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetUsageCertAttested() map[string]interface{} { - if o == nil || isNil(o.UsageCertAttested) { - var ret map[string]interface{} - return ret - } - return o.UsageCertAttested -} - -// GetUsageCertAttestedOk returns a tuple with the UsageCertAttested field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetUsageCertAttestedOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.UsageCertAttested) { - return map[string]interface{}{}, false - } - return o.UsageCertAttested, true -} - -// HasUsageCertAttested returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasUsageCertAttested() bool { - if o != nil && !isNil(o.UsageCertAttested) { - return true - } - - return false -} - -// SetUsageCertAttested gets a reference to the given map[string]interface{} and assigns it to the UsageCertAttested field. -func (o *GetIdentity200Response) SetUsageCertAttested(v map[string]interface{}) { - o.UsageCertAttested = v -} - -// GetUserFlags returns the UserFlags field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetUserFlags() map[string]interface{} { - if o == nil || isNil(o.UserFlags) { - var ret map[string]interface{} - return ret - } - return o.UserFlags -} - -// GetUserFlagsOk returns a tuple with the UserFlags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetUserFlagsOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.UserFlags) { - return map[string]interface{}{}, false - } - return o.UserFlags, true -} - -// HasUserFlags returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasUserFlags() bool { - if o != nil && !isNil(o.UserFlags) { - return true - } - - return false -} - -// SetUserFlags gets a reference to the given map[string]interface{} and assigns it to the UserFlags field. -func (o *GetIdentity200Response) SetUserFlags(v map[string]interface{}) { - o.UserFlags = v -} - -// GetEnabled returns the Enabled field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetEnabled() bool { - if o == nil || isNil(o.Enabled) { - var ret bool - return ret - } - return *o.Enabled -} - -// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetEnabledOk() (*bool, bool) { - if o == nil || isNil(o.Enabled) { - return nil, false - } - return o.Enabled, true -} - -// HasEnabled returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasEnabled() bool { - if o != nil && !isNil(o.Enabled) { - return true - } - - return false -} - -// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. -func (o *GetIdentity200Response) SetEnabled(v bool) { - o.Enabled = &v -} - -// GetAltAuthVia returns the AltAuthVia field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetAltAuthVia() string { - if o == nil || isNil(o.AltAuthVia) { - var ret string - return ret - } - return *o.AltAuthVia -} - -// GetAltAuthViaOk returns a tuple with the AltAuthVia field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetAltAuthViaOk() (*string, bool) { - if o == nil || isNil(o.AltAuthVia) { - return nil, false - } - return o.AltAuthVia, true -} - -// HasAltAuthVia returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasAltAuthVia() bool { - if o != nil && !isNil(o.AltAuthVia) { - return true - } - - return false -} - -// SetAltAuthVia gets a reference to the given string and assigns it to the AltAuthVia field. -func (o *GetIdentity200Response) SetAltAuthVia(v string) { - o.AltAuthVia = &v -} - -// GetAltAuthViaIntegrationData returns the AltAuthViaIntegrationData field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetAltAuthViaIntegrationData() map[string]interface{} { - if o == nil || isNil(o.AltAuthViaIntegrationData) { - var ret map[string]interface{} - return ret - } - return o.AltAuthViaIntegrationData -} - -// GetAltAuthViaIntegrationDataOk returns a tuple with the AltAuthViaIntegrationData field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetAltAuthViaIntegrationDataOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.AltAuthViaIntegrationData) { - return map[string]interface{}{}, false - } - return o.AltAuthViaIntegrationData, true -} - -// HasAltAuthViaIntegrationData returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasAltAuthViaIntegrationData() bool { - if o != nil && !isNil(o.AltAuthViaIntegrationData) { - return true - } - - return false -} - -// SetAltAuthViaIntegrationData gets a reference to the given map[string]interface{} and assigns it to the AltAuthViaIntegrationData field. -func (o *GetIdentity200Response) SetAltAuthViaIntegrationData(v map[string]interface{}) { - o.AltAuthViaIntegrationData = v -} - -// GetKbaAnswers returns the KbaAnswers field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetKbaAnswers() float32 { - if o == nil || isNil(o.KbaAnswers) { - var ret float32 - return ret - } - return *o.KbaAnswers -} - -// GetKbaAnswersOk returns a tuple with the KbaAnswers field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetKbaAnswersOk() (*float32, bool) { - if o == nil || isNil(o.KbaAnswers) { - return nil, false - } - return o.KbaAnswers, true -} - -// HasKbaAnswers returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasKbaAnswers() bool { - if o != nil && !isNil(o.KbaAnswers) { - return true - } - - return false -} - -// SetKbaAnswers gets a reference to the given float32 and assigns it to the KbaAnswers field. -func (o *GetIdentity200Response) SetKbaAnswers(v float32) { - o.KbaAnswers = &v -} - -// GetDisablePasswordReset returns the DisablePasswordReset field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetDisablePasswordReset() bool { - if o == nil || isNil(o.DisablePasswordReset) { - var ret bool - return ret - } - return *o.DisablePasswordReset -} - -// GetDisablePasswordResetOk returns a tuple with the DisablePasswordReset field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetDisablePasswordResetOk() (*bool, bool) { - if o == nil || isNil(o.DisablePasswordReset) { - return nil, false - } - return o.DisablePasswordReset, true -} - -// HasDisablePasswordReset returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasDisablePasswordReset() bool { - if o != nil && !isNil(o.DisablePasswordReset) { - return true - } - - return false -} - -// SetDisablePasswordReset gets a reference to the given bool and assigns it to the DisablePasswordReset field. -func (o *GetIdentity200Response) SetDisablePasswordReset(v bool) { - o.DisablePasswordReset = &v -} - -// GetPtaSourceId returns the PtaSourceId field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetPtaSourceId() map[string]interface{} { - if o == nil || isNil(o.PtaSourceId) { - var ret map[string]interface{} - return ret - } - return o.PtaSourceId -} - -// GetPtaSourceIdOk returns a tuple with the PtaSourceId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetPtaSourceIdOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.PtaSourceId) { - return map[string]interface{}{}, false - } - return o.PtaSourceId, true -} - -// HasPtaSourceId returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasPtaSourceId() bool { - if o != nil && !isNil(o.PtaSourceId) { - return true - } - - return false -} - -// SetPtaSourceId gets a reference to the given map[string]interface{} and assigns it to the PtaSourceId field. -func (o *GetIdentity200Response) SetPtaSourceId(v map[string]interface{}) { - o.PtaSourceId = v -} - -// GetSupportsPasswordPush returns the SupportsPasswordPush field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetSupportsPasswordPush() bool { - if o == nil || isNil(o.SupportsPasswordPush) { - var ret bool - return ret - } - return *o.SupportsPasswordPush -} - -// GetSupportsPasswordPushOk returns a tuple with the SupportsPasswordPush field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetSupportsPasswordPushOk() (*bool, bool) { - if o == nil || isNil(o.SupportsPasswordPush) { - return nil, false - } - return o.SupportsPasswordPush, true -} - -// HasSupportsPasswordPush returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasSupportsPasswordPush() bool { - if o != nil && !isNil(o.SupportsPasswordPush) { - return true - } - - return false -} - -// SetSupportsPasswordPush gets a reference to the given bool and assigns it to the SupportsPasswordPush field. -func (o *GetIdentity200Response) SetSupportsPasswordPush(v bool) { - o.SupportsPasswordPush = &v -} - -// GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetAttributes() map[string]interface{} { - if o == nil || isNil(o.Attributes) { - var ret map[string]interface{} - return ret - } - return o.Attributes -} - -// GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetAttributesOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.Attributes) { - return map[string]interface{}{}, false - } - return o.Attributes, true -} - -// HasAttributes returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasAttributes() bool { - if o != nil && !isNil(o.Attributes) { - return true - } - - return false -} - -// SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field. -func (o *GetIdentity200Response) SetAttributes(v map[string]interface{}) { - o.Attributes = v -} - -// GetExternalId returns the ExternalId field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetExternalId() string { - if o == nil || isNil(o.ExternalId) { - var ret string - return ret - } - return *o.ExternalId -} - -// GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetExternalIdOk() (*string, bool) { - if o == nil || isNil(o.ExternalId) { - return nil, false - } - return o.ExternalId, true -} - -// HasExternalId returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasExternalId() bool { - if o != nil && !isNil(o.ExternalId) { - return true - } - - return false -} - -// SetExternalId gets a reference to the given string and assigns it to the ExternalId field. -func (o *GetIdentity200Response) SetExternalId(v string) { - o.ExternalId = &v -} - -// GetRole returns the Role field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetRole() []map[string]interface{} { - if o == nil || isNil(o.Role) { - var ret []map[string]interface{} - return ret - } - return o.Role -} - -// GetRoleOk returns a tuple with the Role field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetRoleOk() ([]map[string]interface{}, bool) { - if o == nil || isNil(o.Role) { - return nil, false - } - return o.Role, true -} - -// HasRole returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasRole() bool { - if o != nil && !isNil(o.Role) { - return true - } - - return false -} - -// SetRole gets a reference to the given []map[string]interface{} and assigns it to the Role field. -func (o *GetIdentity200Response) SetRole(v []map[string]interface{}) { - o.Role = v -} - -// GetPhone returns the Phone field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetPhone() map[string]interface{} { - if o == nil || isNil(o.Phone) { - var ret map[string]interface{} - return ret - } - return o.Phone -} - -// GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetPhoneOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.Phone) { - return map[string]interface{}{}, false - } - return o.Phone, true -} - -// HasPhone returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasPhone() bool { - if o != nil && !isNil(o.Phone) { - return true - } - - return false -} - -// SetPhone gets a reference to the given map[string]interface{} and assigns it to the Phone field. -func (o *GetIdentity200Response) SetPhone(v map[string]interface{}) { - o.Phone = v -} - -// GetEmail returns the Email field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetEmail() string { - if o == nil || isNil(o.Email) { - var ret string - return ret - } - return *o.Email -} - -// GetEmailOk returns a tuple with the Email field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetEmailOk() (*string, bool) { - if o == nil || isNil(o.Email) { - return nil, false - } - return o.Email, true -} - -// HasEmail returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasEmail() bool { - if o != nil && !isNil(o.Email) { - return true - } - - return false -} - -// SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *GetIdentity200Response) SetEmail(v string) { - o.Email = &v -} - -// GetPersonalEmail returns the PersonalEmail field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetPersonalEmail() map[string]interface{} { - if o == nil || isNil(o.PersonalEmail) { - var ret map[string]interface{} - return ret - } - return o.PersonalEmail -} - -// GetPersonalEmailOk returns a tuple with the PersonalEmail field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetPersonalEmailOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.PersonalEmail) { - return map[string]interface{}{}, false - } - return o.PersonalEmail, true -} - -// HasPersonalEmail returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasPersonalEmail() bool { - if o != nil && !isNil(o.PersonalEmail) { - return true - } - - return false -} - -// SetPersonalEmail gets a reference to the given map[string]interface{} and assigns it to the PersonalEmail field. -func (o *GetIdentity200Response) SetPersonalEmail(v map[string]interface{}) { - o.PersonalEmail = v -} - -// GetEmployeeNumber returns the EmployeeNumber field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetEmployeeNumber() map[string]interface{} { - if o == nil || isNil(o.EmployeeNumber) { - var ret map[string]interface{} - return ret - } - return o.EmployeeNumber -} - -// GetEmployeeNumberOk returns a tuple with the EmployeeNumber field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetEmployeeNumberOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.EmployeeNumber) { - return map[string]interface{}{}, false - } - return o.EmployeeNumber, true -} - -// HasEmployeeNumber returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasEmployeeNumber() bool { - if o != nil && !isNil(o.EmployeeNumber) { - return true - } - - return false -} - -// SetEmployeeNumber gets a reference to the given map[string]interface{} and assigns it to the EmployeeNumber field. -func (o *GetIdentity200Response) SetEmployeeNumber(v map[string]interface{}) { - o.EmployeeNumber = v -} - -// GetRiskScore returns the RiskScore field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetRiskScore() float32 { - if o == nil || isNil(o.RiskScore) { - var ret float32 - return ret - } - return *o.RiskScore -} - -// GetRiskScoreOk returns a tuple with the RiskScore field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetRiskScoreOk() (*float32, bool) { - if o == nil || isNil(o.RiskScore) { - return nil, false - } - return o.RiskScore, true -} - -// HasRiskScore returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasRiskScore() bool { - if o != nil && !isNil(o.RiskScore) { - return true - } - - return false -} - -// SetRiskScore gets a reference to the given float32 and assigns it to the RiskScore field. -func (o *GetIdentity200Response) SetRiskScore(v float32) { - o.RiskScore = &v -} - -// GetFeatureFlags returns the FeatureFlags field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetFeatureFlags() map[string]interface{} { - if o == nil || isNil(o.FeatureFlags) { - var ret map[string]interface{} - return ret - } - return o.FeatureFlags -} - -// GetFeatureFlagsOk returns a tuple with the FeatureFlags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetFeatureFlagsOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.FeatureFlags) { - return map[string]interface{}{}, false - } - return o.FeatureFlags, true -} - -// HasFeatureFlags returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasFeatureFlags() bool { - if o != nil && !isNil(o.FeatureFlags) { - return true - } - - return false -} - -// SetFeatureFlags gets a reference to the given map[string]interface{} and assigns it to the FeatureFlags field. -func (o *GetIdentity200Response) SetFeatureFlags(v map[string]interface{}) { - o.FeatureFlags = v -} - -// GetFeature returns the Feature field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetFeature() []string { - if o == nil || isNil(o.Feature) { - var ret []string - return ret - } - return o.Feature -} - -// GetFeatureOk returns a tuple with the Feature field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetFeatureOk() ([]string, bool) { - if o == nil || isNil(o.Feature) { - return nil, false - } - return o.Feature, true -} - -// HasFeature returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasFeature() bool { - if o != nil && !isNil(o.Feature) { - return true - } - - return false -} - -// SetFeature gets a reference to the given []string and assigns it to the Feature field. -func (o *GetIdentity200Response) SetFeature(v []string) { - o.Feature = v -} - -// GetOrgEncryptionKey returns the OrgEncryptionKey field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetOrgEncryptionKey() string { - if o == nil || isNil(o.OrgEncryptionKey) { - var ret string - return ret - } - return *o.OrgEncryptionKey -} - -// GetOrgEncryptionKeyOk returns a tuple with the OrgEncryptionKey field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetOrgEncryptionKeyOk() (*string, bool) { - if o == nil || isNil(o.OrgEncryptionKey) { - return nil, false - } - return o.OrgEncryptionKey, true -} - -// HasOrgEncryptionKey returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasOrgEncryptionKey() bool { - if o != nil && !isNil(o.OrgEncryptionKey) { - return true - } - - return false -} - -// SetOrgEncryptionKey gets a reference to the given string and assigns it to the OrgEncryptionKey field. -func (o *GetIdentity200Response) SetOrgEncryptionKey(v string) { - o.OrgEncryptionKey = &v -} - -// GetOrgEncryptionKeyId returns the OrgEncryptionKeyId field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetOrgEncryptionKeyId() string { - if o == nil || isNil(o.OrgEncryptionKeyId) { - var ret string - return ret - } - return *o.OrgEncryptionKeyId -} - -// GetOrgEncryptionKeyIdOk returns a tuple with the OrgEncryptionKeyId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetOrgEncryptionKeyIdOk() (*string, bool) { - if o == nil || isNil(o.OrgEncryptionKeyId) { - return nil, false - } - return o.OrgEncryptionKeyId, true -} - -// HasOrgEncryptionKeyId returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasOrgEncryptionKeyId() bool { - if o != nil && !isNil(o.OrgEncryptionKeyId) { - return true - } - - return false -} - -// SetOrgEncryptionKeyId gets a reference to the given string and assigns it to the OrgEncryptionKeyId field. -func (o *GetIdentity200Response) SetOrgEncryptionKeyId(v string) { - o.OrgEncryptionKeyId = &v -} - -// GetMeta returns the Meta field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetMeta() map[string]interface{} { - if o == nil || isNil(o.Meta) { - var ret map[string]interface{} - return ret - } - return o.Meta -} - -// GetMetaOk returns a tuple with the Meta field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetMetaOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.Meta) { - return map[string]interface{}{}, false - } - return o.Meta, true -} - -// HasMeta returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasMeta() bool { - if o != nil && !isNil(o.Meta) { - return true - } - - return false -} - -// SetMeta gets a reference to the given map[string]interface{} and assigns it to the Meta field. -func (o *GetIdentity200Response) SetMeta(v map[string]interface{}) { - o.Meta = v -} - -// GetOrg returns the Org field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetOrg() GetIdentity200ResponseOrg { - if o == nil || isNil(o.Org) { - var ret GetIdentity200ResponseOrg - return ret - } - return *o.Org -} - -// GetOrgOk returns a tuple with the Org field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetOrgOk() (*GetIdentity200ResponseOrg, bool) { - if o == nil || isNil(o.Org) { - return nil, false - } - return o.Org, true -} - -// HasOrg returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasOrg() bool { - if o != nil && !isNil(o.Org) { - return true - } - - return false -} - -// SetOrg gets a reference to the given GetIdentity200ResponseOrg and assigns it to the Org field. -func (o *GetIdentity200Response) SetOrg(v GetIdentity200ResponseOrg) { - o.Org = &v -} - -// GetStepUpAuth returns the StepUpAuth field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetStepUpAuth() bool { - if o == nil || isNil(o.StepUpAuth) { - var ret bool - return ret - } - return *o.StepUpAuth -} - -// GetStepUpAuthOk returns a tuple with the StepUpAuth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetStepUpAuthOk() (*bool, bool) { - if o == nil || isNil(o.StepUpAuth) { - return nil, false - } - return o.StepUpAuth, true -} - -// HasStepUpAuth returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasStepUpAuth() bool { - if o != nil && !isNil(o.StepUpAuth) { - return true - } - - return false -} - -// SetStepUpAuth gets a reference to the given bool and assigns it to the StepUpAuth field. -func (o *GetIdentity200Response) SetStepUpAuth(v bool) { - o.StepUpAuth = &v -} - -// GetBxInstallPrompted returns the BxInstallPrompted field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetBxInstallPrompted() bool { - if o == nil || isNil(o.BxInstallPrompted) { - var ret bool - return ret - } - return *o.BxInstallPrompted -} - -// GetBxInstallPromptedOk returns a tuple with the BxInstallPrompted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetBxInstallPromptedOk() (*bool, bool) { - if o == nil || isNil(o.BxInstallPrompted) { - return nil, false - } - return o.BxInstallPrompted, true -} - -// HasBxInstallPrompted returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasBxInstallPrompted() bool { - if o != nil && !isNil(o.BxInstallPrompted) { - return true - } - - return false -} - -// SetBxInstallPrompted gets a reference to the given bool and assigns it to the BxInstallPrompted field. -func (o *GetIdentity200Response) SetBxInstallPrompted(v bool) { - o.BxInstallPrompted = &v -} - -// GetFederatedLogin returns the FederatedLogin field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetFederatedLogin() bool { - if o == nil || isNil(o.FederatedLogin) { - var ret bool - return ret - } - return *o.FederatedLogin -} - -// GetFederatedLoginOk returns a tuple with the FederatedLogin field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetFederatedLoginOk() (*bool, bool) { - if o == nil || isNil(o.FederatedLogin) { - return nil, false - } - return o.FederatedLogin, true -} - -// HasFederatedLogin returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasFederatedLogin() bool { - if o != nil && !isNil(o.FederatedLogin) { - return true - } - - return false -} - -// SetFederatedLogin gets a reference to the given bool and assigns it to the FederatedLogin field. -func (o *GetIdentity200Response) SetFederatedLogin(v bool) { - o.FederatedLogin = &v -} - -// GetAuth returns the Auth field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetAuth() GetIdentity200ResponseAuth { - if o == nil || isNil(o.Auth) { - var ret GetIdentity200ResponseAuth - return ret - } - return *o.Auth -} - -// GetAuthOk returns a tuple with the Auth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetAuthOk() (*GetIdentity200ResponseAuth, bool) { - if o == nil || isNil(o.Auth) { - return nil, false - } - return o.Auth, true -} - -// HasAuth returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasAuth() bool { - if o != nil && !isNil(o.Auth) { - return true - } - - return false -} - -// SetAuth gets a reference to the given GetIdentity200ResponseAuth and assigns it to the Auth field. -func (o *GetIdentity200Response) SetAuth(v GetIdentity200ResponseAuth) { - o.Auth = &v -} - -// GetOnNetwork returns the OnNetwork field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetOnNetwork() bool { - if o == nil || isNil(o.OnNetwork) { - var ret bool - return ret - } - return *o.OnNetwork -} - -// GetOnNetworkOk returns a tuple with the OnNetwork field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetOnNetworkOk() (*bool, bool) { - if o == nil || isNil(o.OnNetwork) { - return nil, false - } - return o.OnNetwork, true -} - -// HasOnNetwork returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasOnNetwork() bool { - if o != nil && !isNil(o.OnNetwork) { - return true - } - - return false -} - -// SetOnNetwork gets a reference to the given bool and assigns it to the OnNetwork field. -func (o *GetIdentity200Response) SetOnNetwork(v bool) { - o.OnNetwork = &v -} - -// GetOnTrustedGeo returns the OnTrustedGeo field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetOnTrustedGeo() bool { - if o == nil || isNil(o.OnTrustedGeo) { - var ret bool - return ret - } - return *o.OnTrustedGeo -} - -// GetOnTrustedGeoOk returns a tuple with the OnTrustedGeo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetOnTrustedGeoOk() (*bool, bool) { - if o == nil || isNil(o.OnTrustedGeo) { - return nil, false - } - return o.OnTrustedGeo, true -} - -// HasOnTrustedGeo returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasOnTrustedGeo() bool { - if o != nil && !isNil(o.OnTrustedGeo) { - return true - } - - return false -} - -// SetOnTrustedGeo gets a reference to the given bool and assigns it to the OnTrustedGeo field. -func (o *GetIdentity200Response) SetOnTrustedGeo(v bool) { - o.OnTrustedGeo = &v -} - -// GetLoginUrl returns the LoginUrl field value if set, zero value otherwise. -func (o *GetIdentity200Response) GetLoginUrl() string { - if o == nil || isNil(o.LoginUrl) { - var ret string - return ret - } - return *o.LoginUrl -} - -// GetLoginUrlOk returns a tuple with the LoginUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200Response) GetLoginUrlOk() (*string, bool) { - if o == nil || isNil(o.LoginUrl) { - return nil, false - } - return o.LoginUrl, true -} - -// HasLoginUrl returns a boolean if a field has been set. -func (o *GetIdentity200Response) HasLoginUrl() bool { - if o != nil && !isNil(o.LoginUrl) { - return true - } - - return false -} - -// SetLoginUrl gets a reference to the given string and assigns it to the LoginUrl field. -func (o *GetIdentity200Response) SetLoginUrl(v string) { - o.LoginUrl = &v -} - -func (o GetIdentity200Response) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GetIdentity200Response) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.Alias) { - toSerialize["alias"] = o.Alias - } - if !isNil(o.Uid) { - toSerialize["uid"] = o.Uid - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.DisplayName) { - toSerialize["displayName"] = o.DisplayName - } - if !isNil(o.Uuid) { - toSerialize["uuid"] = o.Uuid - } - if !isNil(o.EncryptionKey) { - toSerialize["encryptionKey"] = o.EncryptionKey - } - if !isNil(o.EncryptionCheck) { - toSerialize["encryptionCheck"] = o.EncryptionCheck - } - if !isNil(o.Status) { - toSerialize["status"] = o.Status - } - if !isNil(o.Pending) { - toSerialize["pending"] = o.Pending - } - if !isNil(o.PasswordResetSinceLastLogin) { - toSerialize["passwordResetSinceLastLogin"] = o.PasswordResetSinceLastLogin - } - if !isNil(o.UsageCertAttested) { - toSerialize["usageCertAttested"] = o.UsageCertAttested - } - if !isNil(o.UserFlags) { - toSerialize["userFlags"] = o.UserFlags - } - if !isNil(o.Enabled) { - toSerialize["enabled"] = o.Enabled - } - if !isNil(o.AltAuthVia) { - toSerialize["altAuthVia"] = o.AltAuthVia - } - if !isNil(o.AltAuthViaIntegrationData) { - toSerialize["altAuthViaIntegrationData"] = o.AltAuthViaIntegrationData - } - if !isNil(o.KbaAnswers) { - toSerialize["kbaAnswers"] = o.KbaAnswers - } - if !isNil(o.DisablePasswordReset) { - toSerialize["disablePasswordReset"] = o.DisablePasswordReset - } - if !isNil(o.PtaSourceId) { - toSerialize["ptaSourceId"] = o.PtaSourceId - } - if !isNil(o.SupportsPasswordPush) { - toSerialize["supportsPasswordPush"] = o.SupportsPasswordPush - } - if !isNil(o.Attributes) { - toSerialize["attributes"] = o.Attributes - } - if !isNil(o.ExternalId) { - toSerialize["externalId"] = o.ExternalId - } - if !isNil(o.Role) { - toSerialize["role"] = o.Role - } - if !isNil(o.Phone) { - toSerialize["phone"] = o.Phone - } - if !isNil(o.Email) { - toSerialize["email"] = o.Email - } - if !isNil(o.PersonalEmail) { - toSerialize["personalEmail"] = o.PersonalEmail - } - if !isNil(o.EmployeeNumber) { - toSerialize["employeeNumber"] = o.EmployeeNumber - } - if !isNil(o.RiskScore) { - toSerialize["riskScore"] = o.RiskScore - } - if !isNil(o.FeatureFlags) { - toSerialize["featureFlags"] = o.FeatureFlags - } - if !isNil(o.Feature) { - toSerialize["feature"] = o.Feature - } - if !isNil(o.OrgEncryptionKey) { - toSerialize["orgEncryptionKey"] = o.OrgEncryptionKey - } - if !isNil(o.OrgEncryptionKeyId) { - toSerialize["orgEncryptionKeyId"] = o.OrgEncryptionKeyId - } - if !isNil(o.Meta) { - toSerialize["meta"] = o.Meta - } - if !isNil(o.Org) { - toSerialize["org"] = o.Org - } - if !isNil(o.StepUpAuth) { - toSerialize["stepUpAuth"] = o.StepUpAuth - } - if !isNil(o.BxInstallPrompted) { - toSerialize["bxInstallPrompted"] = o.BxInstallPrompted - } - if !isNil(o.FederatedLogin) { - toSerialize["federatedLogin"] = o.FederatedLogin - } - if !isNil(o.Auth) { - toSerialize["auth"] = o.Auth - } - if !isNil(o.OnNetwork) { - toSerialize["onNetwork"] = o.OnNetwork - } - if !isNil(o.OnTrustedGeo) { - toSerialize["onTrustedGeo"] = o.OnTrustedGeo - } - if !isNil(o.LoginUrl) { - toSerialize["loginUrl"] = o.LoginUrl - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *GetIdentity200Response) UnmarshalJSON(bytes []byte) (err error) { - varGetIdentity200Response := _GetIdentity200Response{} - - if err = json.Unmarshal(bytes, &varGetIdentity200Response); err == nil { - *o = GetIdentity200Response(varGetIdentity200Response) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "id") - delete(additionalProperties, "alias") - delete(additionalProperties, "uid") - delete(additionalProperties, "name") - delete(additionalProperties, "displayName") - delete(additionalProperties, "uuid") - delete(additionalProperties, "encryptionKey") - delete(additionalProperties, "encryptionCheck") - delete(additionalProperties, "status") - delete(additionalProperties, "pending") - delete(additionalProperties, "passwordResetSinceLastLogin") - delete(additionalProperties, "usageCertAttested") - delete(additionalProperties, "userFlags") - delete(additionalProperties, "enabled") - delete(additionalProperties, "altAuthVia") - delete(additionalProperties, "altAuthViaIntegrationData") - delete(additionalProperties, "kbaAnswers") - delete(additionalProperties, "disablePasswordReset") - delete(additionalProperties, "ptaSourceId") - delete(additionalProperties, "supportsPasswordPush") - delete(additionalProperties, "attributes") - delete(additionalProperties, "externalId") - delete(additionalProperties, "role") - delete(additionalProperties, "phone") - delete(additionalProperties, "email") - delete(additionalProperties, "personalEmail") - delete(additionalProperties, "employeeNumber") - delete(additionalProperties, "riskScore") - delete(additionalProperties, "featureFlags") - delete(additionalProperties, "feature") - delete(additionalProperties, "orgEncryptionKey") - delete(additionalProperties, "orgEncryptionKeyId") - delete(additionalProperties, "meta") - delete(additionalProperties, "org") - delete(additionalProperties, "stepUpAuth") - delete(additionalProperties, "bxInstallPrompted") - delete(additionalProperties, "federatedLogin") - delete(additionalProperties, "auth") - delete(additionalProperties, "onNetwork") - delete(additionalProperties, "onTrustedGeo") - delete(additionalProperties, "loginUrl") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableGetIdentity200Response struct { - value *GetIdentity200Response - isSet bool -} - -func (v NullableGetIdentity200Response) Get() *GetIdentity200Response { - return v.value -} - -func (v *NullableGetIdentity200Response) Set(val *GetIdentity200Response) { - v.value = val - v.isSet = true -} - -func (v NullableGetIdentity200Response) IsSet() bool { - return v.isSet -} - -func (v *NullableGetIdentity200Response) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetIdentity200Response(val *GetIdentity200Response) *NullableGetIdentity200Response { - return &NullableGetIdentity200Response{value: val, isSet: true} -} - -func (v NullableGetIdentity200Response) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetIdentity200Response) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_get_identity_200_response_auth.go b/api_cc/model_get_identity_200_response_auth.go deleted file mode 100644 index 3f9c801b4..000000000 --- a/api_cc/model_get_identity_200_response_auth.go +++ /dev/null @@ -1,188 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the GetIdentity200ResponseAuth type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GetIdentity200ResponseAuth{} - -// GetIdentity200ResponseAuth struct for GetIdentity200ResponseAuth -type GetIdentity200ResponseAuth struct { - Service *string `json:"service,omitempty"` - Encryption *string `json:"encryption,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _GetIdentity200ResponseAuth GetIdentity200ResponseAuth - -// NewGetIdentity200ResponseAuth instantiates a new GetIdentity200ResponseAuth object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGetIdentity200ResponseAuth() *GetIdentity200ResponseAuth { - this := GetIdentity200ResponseAuth{} - return &this -} - -// NewGetIdentity200ResponseAuthWithDefaults instantiates a new GetIdentity200ResponseAuth object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGetIdentity200ResponseAuthWithDefaults() *GetIdentity200ResponseAuth { - this := GetIdentity200ResponseAuth{} - return &this -} - -// GetService returns the Service field value if set, zero value otherwise. -func (o *GetIdentity200ResponseAuth) GetService() string { - if o == nil || isNil(o.Service) { - var ret string - return ret - } - return *o.Service -} - -// GetServiceOk returns a tuple with the Service field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseAuth) GetServiceOk() (*string, bool) { - if o == nil || isNil(o.Service) { - return nil, false - } - return o.Service, true -} - -// HasService returns a boolean if a field has been set. -func (o *GetIdentity200ResponseAuth) HasService() bool { - if o != nil && !isNil(o.Service) { - return true - } - - return false -} - -// SetService gets a reference to the given string and assigns it to the Service field. -func (o *GetIdentity200ResponseAuth) SetService(v string) { - o.Service = &v -} - -// GetEncryption returns the Encryption field value if set, zero value otherwise. -func (o *GetIdentity200ResponseAuth) GetEncryption() string { - if o == nil || isNil(o.Encryption) { - var ret string - return ret - } - return *o.Encryption -} - -// GetEncryptionOk returns a tuple with the Encryption field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseAuth) GetEncryptionOk() (*string, bool) { - if o == nil || isNil(o.Encryption) { - return nil, false - } - return o.Encryption, true -} - -// HasEncryption returns a boolean if a field has been set. -func (o *GetIdentity200ResponseAuth) HasEncryption() bool { - if o != nil && !isNil(o.Encryption) { - return true - } - - return false -} - -// SetEncryption gets a reference to the given string and assigns it to the Encryption field. -func (o *GetIdentity200ResponseAuth) SetEncryption(v string) { - o.Encryption = &v -} - -func (o GetIdentity200ResponseAuth) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GetIdentity200ResponseAuth) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Service) { - toSerialize["service"] = o.Service - } - if !isNil(o.Encryption) { - toSerialize["encryption"] = o.Encryption - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *GetIdentity200ResponseAuth) UnmarshalJSON(bytes []byte) (err error) { - varGetIdentity200ResponseAuth := _GetIdentity200ResponseAuth{} - - if err = json.Unmarshal(bytes, &varGetIdentity200ResponseAuth); err == nil { - *o = GetIdentity200ResponseAuth(varGetIdentity200ResponseAuth) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "service") - delete(additionalProperties, "encryption") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableGetIdentity200ResponseAuth struct { - value *GetIdentity200ResponseAuth - isSet bool -} - -func (v NullableGetIdentity200ResponseAuth) Get() *GetIdentity200ResponseAuth { - return v.value -} - -func (v *NullableGetIdentity200ResponseAuth) Set(val *GetIdentity200ResponseAuth) { - v.value = val - v.isSet = true -} - -func (v NullableGetIdentity200ResponseAuth) IsSet() bool { - return v.isSet -} - -func (v *NullableGetIdentity200ResponseAuth) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetIdentity200ResponseAuth(val *GetIdentity200ResponseAuth) *NullableGetIdentity200ResponseAuth { - return &NullableGetIdentity200ResponseAuth{value: val, isSet: true} -} - -func (v NullableGetIdentity200ResponseAuth) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetIdentity200ResponseAuth) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_get_identity_200_response_org.go b/api_cc/model_get_identity_200_response_org.go deleted file mode 100644 index a9762274e..000000000 --- a/api_cc/model_get_identity_200_response_org.go +++ /dev/null @@ -1,1964 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the GetIdentity200ResponseOrg type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GetIdentity200ResponseOrg{} - -// GetIdentity200ResponseOrg struct for GetIdentity200ResponseOrg -type GetIdentity200ResponseOrg struct { - Name *string `json:"name,omitempty"` - ScriptName *string `json:"scriptName,omitempty"` - Mode *string `json:"mode,omitempty"` - NumQuestions *float32 `json:"numQuestions,omitempty"` - Status *string `json:"status,omitempty"` - MaxRegisteredUsers *float32 `json:"maxRegisteredUsers,omitempty"` - Pod *string `json:"pod,omitempty"` - PwdResetPersonalPhone *bool `json:"pwdResetPersonalPhone,omitempty"` - PwdResetPersonalEmail *bool `json:"pwdResetPersonalEmail,omitempty"` - PwdResetKba *bool `json:"pwdResetKba,omitempty"` - PwdResetEmail *bool `json:"pwdResetEmail,omitempty"` - PwdResetDuo *bool `json:"pwdResetDuo,omitempty"` - PwdResetPhoneMask *bool `json:"pwdResetPhoneMask,omitempty"` - AuthErrorText map[string]interface{} `json:"authErrorText,omitempty"` - StrongAuthKba *bool `json:"strongAuthKba,omitempty"` - StrongAuthPersonalPhone *bool `json:"strongAuthPersonalPhone,omitempty"` - StrongAuthPersonalEmail *bool `json:"strongAuthPersonalEmail,omitempty"` - Integrations []map[string]interface{} `json:"integrations,omitempty"` - ProductName *string `json:"productName,omitempty"` - KbaReqForAuthn *float32 `json:"kbaReqForAuthn,omitempty"` - KbaReqAnswers *float32 `json:"kbaReqAnswers,omitempty"` - LockoutAttemptThreshold *float32 `json:"lockoutAttemptThreshold,omitempty"` - LockoutTimeMinutes *float32 `json:"lockoutTimeMinutes,omitempty"` - UsageCertRequired *bool `json:"usageCertRequired,omitempty"` - AdminStrongAuthRequired *bool `json:"adminStrongAuthRequired,omitempty"` - EnableExternalPasswordChange *bool `json:"enableExternalPasswordChange,omitempty"` - EnablePasswordReplay *bool `json:"enablePasswordReplay,omitempty"` - EnableAutomaticPasswordReplay *bool `json:"enableAutomaticPasswordReplay,omitempty"` - NotifyAuthenticationSettingChange *bool `json:"notifyAuthenticationSettingChange,omitempty"` - Netmasks map[string]interface{} `json:"netmasks,omitempty"` - CountryCodes map[string]interface{} `json:"countryCodes,omitempty"` - WhiteList *bool `json:"whiteList,omitempty"` - UsernameEmptyText map[string]interface{} `json:"usernameEmptyText,omitempty"` - UsernameLabel map[string]interface{} `json:"usernameLabel,omitempty"` - EnableAutomationGeneration *bool `json:"enableAutomationGeneration,omitempty"` - EmailTestMode *bool `json:"emailTestMode,omitempty"` - EmailTestAddress *string `json:"emailTestAddress,omitempty"` - OrgType *string `json:"orgType,omitempty"` - PasswordReplayState *string `json:"passwordReplayState,omitempty"` - SystemNotificationConfig *string `json:"systemNotificationConfig,omitempty"` - RedirectPatterns *string `json:"redirectPatterns,omitempty"` - MaxClusterDebugHours *string `json:"maxClusterDebugHours,omitempty"` - BrandName *string `json:"brandName,omitempty"` - Logo map[string]interface{} `json:"logo,omitempty"` - EmailFromAddress map[string]interface{} `json:"emailFromAddress,omitempty"` - StandardLogoUrl map[string]interface{} `json:"standardLogoUrl,omitempty"` - NarrowLogoUrl map[string]interface{} `json:"narrowLogoUrl,omitempty"` - ActionButtonColor *string `json:"actionButtonColor,omitempty"` - ActiveLinkColor *string `json:"activeLinkColor,omitempty"` - NavigationColor *string `json:"navigationColor,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _GetIdentity200ResponseOrg GetIdentity200ResponseOrg - -// NewGetIdentity200ResponseOrg instantiates a new GetIdentity200ResponseOrg object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGetIdentity200ResponseOrg() *GetIdentity200ResponseOrg { - this := GetIdentity200ResponseOrg{} - return &this -} - -// NewGetIdentity200ResponseOrgWithDefaults instantiates a new GetIdentity200ResponseOrg object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGetIdentity200ResponseOrgWithDefaults() *GetIdentity200ResponseOrg { - this := GetIdentity200ResponseOrg{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *GetIdentity200ResponseOrg) SetName(v string) { - o.Name = &v -} - -// GetScriptName returns the ScriptName field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetScriptName() string { - if o == nil || isNil(o.ScriptName) { - var ret string - return ret - } - return *o.ScriptName -} - -// GetScriptNameOk returns a tuple with the ScriptName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetScriptNameOk() (*string, bool) { - if o == nil || isNil(o.ScriptName) { - return nil, false - } - return o.ScriptName, true -} - -// HasScriptName returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasScriptName() bool { - if o != nil && !isNil(o.ScriptName) { - return true - } - - return false -} - -// SetScriptName gets a reference to the given string and assigns it to the ScriptName field. -func (o *GetIdentity200ResponseOrg) SetScriptName(v string) { - o.ScriptName = &v -} - -// GetMode returns the Mode field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetMode() string { - if o == nil || isNil(o.Mode) { - var ret string - return ret - } - return *o.Mode -} - -// GetModeOk returns a tuple with the Mode field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetModeOk() (*string, bool) { - if o == nil || isNil(o.Mode) { - return nil, false - } - return o.Mode, true -} - -// HasMode returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasMode() bool { - if o != nil && !isNil(o.Mode) { - return true - } - - return false -} - -// SetMode gets a reference to the given string and assigns it to the Mode field. -func (o *GetIdentity200ResponseOrg) SetMode(v string) { - o.Mode = &v -} - -// GetNumQuestions returns the NumQuestions field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetNumQuestions() float32 { - if o == nil || isNil(o.NumQuestions) { - var ret float32 - return ret - } - return *o.NumQuestions -} - -// GetNumQuestionsOk returns a tuple with the NumQuestions field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetNumQuestionsOk() (*float32, bool) { - if o == nil || isNil(o.NumQuestions) { - return nil, false - } - return o.NumQuestions, true -} - -// HasNumQuestions returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasNumQuestions() bool { - if o != nil && !isNil(o.NumQuestions) { - return true - } - - return false -} - -// SetNumQuestions gets a reference to the given float32 and assigns it to the NumQuestions field. -func (o *GetIdentity200ResponseOrg) SetNumQuestions(v float32) { - o.NumQuestions = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetStatus() string { - if o == nil || isNil(o.Status) { - var ret string - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetStatusOk() (*string, bool) { - if o == nil || isNil(o.Status) { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasStatus() bool { - if o != nil && !isNil(o.Status) { - return true - } - - return false -} - -// SetStatus gets a reference to the given string and assigns it to the Status field. -func (o *GetIdentity200ResponseOrg) SetStatus(v string) { - o.Status = &v -} - -// GetMaxRegisteredUsers returns the MaxRegisteredUsers field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetMaxRegisteredUsers() float32 { - if o == nil || isNil(o.MaxRegisteredUsers) { - var ret float32 - return ret - } - return *o.MaxRegisteredUsers -} - -// GetMaxRegisteredUsersOk returns a tuple with the MaxRegisteredUsers field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetMaxRegisteredUsersOk() (*float32, bool) { - if o == nil || isNil(o.MaxRegisteredUsers) { - return nil, false - } - return o.MaxRegisteredUsers, true -} - -// HasMaxRegisteredUsers returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasMaxRegisteredUsers() bool { - if o != nil && !isNil(o.MaxRegisteredUsers) { - return true - } - - return false -} - -// SetMaxRegisteredUsers gets a reference to the given float32 and assigns it to the MaxRegisteredUsers field. -func (o *GetIdentity200ResponseOrg) SetMaxRegisteredUsers(v float32) { - o.MaxRegisteredUsers = &v -} - -// GetPod returns the Pod field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetPod() string { - if o == nil || isNil(o.Pod) { - var ret string - return ret - } - return *o.Pod -} - -// GetPodOk returns a tuple with the Pod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetPodOk() (*string, bool) { - if o == nil || isNil(o.Pod) { - return nil, false - } - return o.Pod, true -} - -// HasPod returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasPod() bool { - if o != nil && !isNil(o.Pod) { - return true - } - - return false -} - -// SetPod gets a reference to the given string and assigns it to the Pod field. -func (o *GetIdentity200ResponseOrg) SetPod(v string) { - o.Pod = &v -} - -// GetPwdResetPersonalPhone returns the PwdResetPersonalPhone field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetPwdResetPersonalPhone() bool { - if o == nil || isNil(o.PwdResetPersonalPhone) { - var ret bool - return ret - } - return *o.PwdResetPersonalPhone -} - -// GetPwdResetPersonalPhoneOk returns a tuple with the PwdResetPersonalPhone field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetPwdResetPersonalPhoneOk() (*bool, bool) { - if o == nil || isNil(o.PwdResetPersonalPhone) { - return nil, false - } - return o.PwdResetPersonalPhone, true -} - -// HasPwdResetPersonalPhone returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasPwdResetPersonalPhone() bool { - if o != nil && !isNil(o.PwdResetPersonalPhone) { - return true - } - - return false -} - -// SetPwdResetPersonalPhone gets a reference to the given bool and assigns it to the PwdResetPersonalPhone field. -func (o *GetIdentity200ResponseOrg) SetPwdResetPersonalPhone(v bool) { - o.PwdResetPersonalPhone = &v -} - -// GetPwdResetPersonalEmail returns the PwdResetPersonalEmail field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetPwdResetPersonalEmail() bool { - if o == nil || isNil(o.PwdResetPersonalEmail) { - var ret bool - return ret - } - return *o.PwdResetPersonalEmail -} - -// GetPwdResetPersonalEmailOk returns a tuple with the PwdResetPersonalEmail field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetPwdResetPersonalEmailOk() (*bool, bool) { - if o == nil || isNil(o.PwdResetPersonalEmail) { - return nil, false - } - return o.PwdResetPersonalEmail, true -} - -// HasPwdResetPersonalEmail returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasPwdResetPersonalEmail() bool { - if o != nil && !isNil(o.PwdResetPersonalEmail) { - return true - } - - return false -} - -// SetPwdResetPersonalEmail gets a reference to the given bool and assigns it to the PwdResetPersonalEmail field. -func (o *GetIdentity200ResponseOrg) SetPwdResetPersonalEmail(v bool) { - o.PwdResetPersonalEmail = &v -} - -// GetPwdResetKba returns the PwdResetKba field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetPwdResetKba() bool { - if o == nil || isNil(o.PwdResetKba) { - var ret bool - return ret - } - return *o.PwdResetKba -} - -// GetPwdResetKbaOk returns a tuple with the PwdResetKba field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetPwdResetKbaOk() (*bool, bool) { - if o == nil || isNil(o.PwdResetKba) { - return nil, false - } - return o.PwdResetKba, true -} - -// HasPwdResetKba returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasPwdResetKba() bool { - if o != nil && !isNil(o.PwdResetKba) { - return true - } - - return false -} - -// SetPwdResetKba gets a reference to the given bool and assigns it to the PwdResetKba field. -func (o *GetIdentity200ResponseOrg) SetPwdResetKba(v bool) { - o.PwdResetKba = &v -} - -// GetPwdResetEmail returns the PwdResetEmail field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetPwdResetEmail() bool { - if o == nil || isNil(o.PwdResetEmail) { - var ret bool - return ret - } - return *o.PwdResetEmail -} - -// GetPwdResetEmailOk returns a tuple with the PwdResetEmail field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetPwdResetEmailOk() (*bool, bool) { - if o == nil || isNil(o.PwdResetEmail) { - return nil, false - } - return o.PwdResetEmail, true -} - -// HasPwdResetEmail returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasPwdResetEmail() bool { - if o != nil && !isNil(o.PwdResetEmail) { - return true - } - - return false -} - -// SetPwdResetEmail gets a reference to the given bool and assigns it to the PwdResetEmail field. -func (o *GetIdentity200ResponseOrg) SetPwdResetEmail(v bool) { - o.PwdResetEmail = &v -} - -// GetPwdResetDuo returns the PwdResetDuo field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetPwdResetDuo() bool { - if o == nil || isNil(o.PwdResetDuo) { - var ret bool - return ret - } - return *o.PwdResetDuo -} - -// GetPwdResetDuoOk returns a tuple with the PwdResetDuo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetPwdResetDuoOk() (*bool, bool) { - if o == nil || isNil(o.PwdResetDuo) { - return nil, false - } - return o.PwdResetDuo, true -} - -// HasPwdResetDuo returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasPwdResetDuo() bool { - if o != nil && !isNil(o.PwdResetDuo) { - return true - } - - return false -} - -// SetPwdResetDuo gets a reference to the given bool and assigns it to the PwdResetDuo field. -func (o *GetIdentity200ResponseOrg) SetPwdResetDuo(v bool) { - o.PwdResetDuo = &v -} - -// GetPwdResetPhoneMask returns the PwdResetPhoneMask field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetPwdResetPhoneMask() bool { - if o == nil || isNil(o.PwdResetPhoneMask) { - var ret bool - return ret - } - return *o.PwdResetPhoneMask -} - -// GetPwdResetPhoneMaskOk returns a tuple with the PwdResetPhoneMask field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetPwdResetPhoneMaskOk() (*bool, bool) { - if o == nil || isNil(o.PwdResetPhoneMask) { - return nil, false - } - return o.PwdResetPhoneMask, true -} - -// HasPwdResetPhoneMask returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasPwdResetPhoneMask() bool { - if o != nil && !isNil(o.PwdResetPhoneMask) { - return true - } - - return false -} - -// SetPwdResetPhoneMask gets a reference to the given bool and assigns it to the PwdResetPhoneMask field. -func (o *GetIdentity200ResponseOrg) SetPwdResetPhoneMask(v bool) { - o.PwdResetPhoneMask = &v -} - -// GetAuthErrorText returns the AuthErrorText field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetAuthErrorText() map[string]interface{} { - if o == nil || isNil(o.AuthErrorText) { - var ret map[string]interface{} - return ret - } - return o.AuthErrorText -} - -// GetAuthErrorTextOk returns a tuple with the AuthErrorText field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetAuthErrorTextOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.AuthErrorText) { - return map[string]interface{}{}, false - } - return o.AuthErrorText, true -} - -// HasAuthErrorText returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasAuthErrorText() bool { - if o != nil && !isNil(o.AuthErrorText) { - return true - } - - return false -} - -// SetAuthErrorText gets a reference to the given map[string]interface{} and assigns it to the AuthErrorText field. -func (o *GetIdentity200ResponseOrg) SetAuthErrorText(v map[string]interface{}) { - o.AuthErrorText = v -} - -// GetStrongAuthKba returns the StrongAuthKba field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetStrongAuthKba() bool { - if o == nil || isNil(o.StrongAuthKba) { - var ret bool - return ret - } - return *o.StrongAuthKba -} - -// GetStrongAuthKbaOk returns a tuple with the StrongAuthKba field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetStrongAuthKbaOk() (*bool, bool) { - if o == nil || isNil(o.StrongAuthKba) { - return nil, false - } - return o.StrongAuthKba, true -} - -// HasStrongAuthKba returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasStrongAuthKba() bool { - if o != nil && !isNil(o.StrongAuthKba) { - return true - } - - return false -} - -// SetStrongAuthKba gets a reference to the given bool and assigns it to the StrongAuthKba field. -func (o *GetIdentity200ResponseOrg) SetStrongAuthKba(v bool) { - o.StrongAuthKba = &v -} - -// GetStrongAuthPersonalPhone returns the StrongAuthPersonalPhone field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetStrongAuthPersonalPhone() bool { - if o == nil || isNil(o.StrongAuthPersonalPhone) { - var ret bool - return ret - } - return *o.StrongAuthPersonalPhone -} - -// GetStrongAuthPersonalPhoneOk returns a tuple with the StrongAuthPersonalPhone field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetStrongAuthPersonalPhoneOk() (*bool, bool) { - if o == nil || isNil(o.StrongAuthPersonalPhone) { - return nil, false - } - return o.StrongAuthPersonalPhone, true -} - -// HasStrongAuthPersonalPhone returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasStrongAuthPersonalPhone() bool { - if o != nil && !isNil(o.StrongAuthPersonalPhone) { - return true - } - - return false -} - -// SetStrongAuthPersonalPhone gets a reference to the given bool and assigns it to the StrongAuthPersonalPhone field. -func (o *GetIdentity200ResponseOrg) SetStrongAuthPersonalPhone(v bool) { - o.StrongAuthPersonalPhone = &v -} - -// GetStrongAuthPersonalEmail returns the StrongAuthPersonalEmail field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetStrongAuthPersonalEmail() bool { - if o == nil || isNil(o.StrongAuthPersonalEmail) { - var ret bool - return ret - } - return *o.StrongAuthPersonalEmail -} - -// GetStrongAuthPersonalEmailOk returns a tuple with the StrongAuthPersonalEmail field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetStrongAuthPersonalEmailOk() (*bool, bool) { - if o == nil || isNil(o.StrongAuthPersonalEmail) { - return nil, false - } - return o.StrongAuthPersonalEmail, true -} - -// HasStrongAuthPersonalEmail returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasStrongAuthPersonalEmail() bool { - if o != nil && !isNil(o.StrongAuthPersonalEmail) { - return true - } - - return false -} - -// SetStrongAuthPersonalEmail gets a reference to the given bool and assigns it to the StrongAuthPersonalEmail field. -func (o *GetIdentity200ResponseOrg) SetStrongAuthPersonalEmail(v bool) { - o.StrongAuthPersonalEmail = &v -} - -// GetIntegrations returns the Integrations field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetIntegrations() []map[string]interface{} { - if o == nil || isNil(o.Integrations) { - var ret []map[string]interface{} - return ret - } - return o.Integrations -} - -// GetIntegrationsOk returns a tuple with the Integrations field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetIntegrationsOk() ([]map[string]interface{}, bool) { - if o == nil || isNil(o.Integrations) { - return nil, false - } - return o.Integrations, true -} - -// HasIntegrations returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasIntegrations() bool { - if o != nil && !isNil(o.Integrations) { - return true - } - - return false -} - -// SetIntegrations gets a reference to the given []map[string]interface{} and assigns it to the Integrations field. -func (o *GetIdentity200ResponseOrg) SetIntegrations(v []map[string]interface{}) { - o.Integrations = v -} - -// GetProductName returns the ProductName field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetProductName() string { - if o == nil || isNil(o.ProductName) { - var ret string - return ret - } - return *o.ProductName -} - -// GetProductNameOk returns a tuple with the ProductName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetProductNameOk() (*string, bool) { - if o == nil || isNil(o.ProductName) { - return nil, false - } - return o.ProductName, true -} - -// HasProductName returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasProductName() bool { - if o != nil && !isNil(o.ProductName) { - return true - } - - return false -} - -// SetProductName gets a reference to the given string and assigns it to the ProductName field. -func (o *GetIdentity200ResponseOrg) SetProductName(v string) { - o.ProductName = &v -} - -// GetKbaReqForAuthn returns the KbaReqForAuthn field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetKbaReqForAuthn() float32 { - if o == nil || isNil(o.KbaReqForAuthn) { - var ret float32 - return ret - } - return *o.KbaReqForAuthn -} - -// GetKbaReqForAuthnOk returns a tuple with the KbaReqForAuthn field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetKbaReqForAuthnOk() (*float32, bool) { - if o == nil || isNil(o.KbaReqForAuthn) { - return nil, false - } - return o.KbaReqForAuthn, true -} - -// HasKbaReqForAuthn returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasKbaReqForAuthn() bool { - if o != nil && !isNil(o.KbaReqForAuthn) { - return true - } - - return false -} - -// SetKbaReqForAuthn gets a reference to the given float32 and assigns it to the KbaReqForAuthn field. -func (o *GetIdentity200ResponseOrg) SetKbaReqForAuthn(v float32) { - o.KbaReqForAuthn = &v -} - -// GetKbaReqAnswers returns the KbaReqAnswers field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetKbaReqAnswers() float32 { - if o == nil || isNil(o.KbaReqAnswers) { - var ret float32 - return ret - } - return *o.KbaReqAnswers -} - -// GetKbaReqAnswersOk returns a tuple with the KbaReqAnswers field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetKbaReqAnswersOk() (*float32, bool) { - if o == nil || isNil(o.KbaReqAnswers) { - return nil, false - } - return o.KbaReqAnswers, true -} - -// HasKbaReqAnswers returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasKbaReqAnswers() bool { - if o != nil && !isNil(o.KbaReqAnswers) { - return true - } - - return false -} - -// SetKbaReqAnswers gets a reference to the given float32 and assigns it to the KbaReqAnswers field. -func (o *GetIdentity200ResponseOrg) SetKbaReqAnswers(v float32) { - o.KbaReqAnswers = &v -} - -// GetLockoutAttemptThreshold returns the LockoutAttemptThreshold field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetLockoutAttemptThreshold() float32 { - if o == nil || isNil(o.LockoutAttemptThreshold) { - var ret float32 - return ret - } - return *o.LockoutAttemptThreshold -} - -// GetLockoutAttemptThresholdOk returns a tuple with the LockoutAttemptThreshold field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetLockoutAttemptThresholdOk() (*float32, bool) { - if o == nil || isNil(o.LockoutAttemptThreshold) { - return nil, false - } - return o.LockoutAttemptThreshold, true -} - -// HasLockoutAttemptThreshold returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasLockoutAttemptThreshold() bool { - if o != nil && !isNil(o.LockoutAttemptThreshold) { - return true - } - - return false -} - -// SetLockoutAttemptThreshold gets a reference to the given float32 and assigns it to the LockoutAttemptThreshold field. -func (o *GetIdentity200ResponseOrg) SetLockoutAttemptThreshold(v float32) { - o.LockoutAttemptThreshold = &v -} - -// GetLockoutTimeMinutes returns the LockoutTimeMinutes field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetLockoutTimeMinutes() float32 { - if o == nil || isNil(o.LockoutTimeMinutes) { - var ret float32 - return ret - } - return *o.LockoutTimeMinutes -} - -// GetLockoutTimeMinutesOk returns a tuple with the LockoutTimeMinutes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetLockoutTimeMinutesOk() (*float32, bool) { - if o == nil || isNil(o.LockoutTimeMinutes) { - return nil, false - } - return o.LockoutTimeMinutes, true -} - -// HasLockoutTimeMinutes returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasLockoutTimeMinutes() bool { - if o != nil && !isNil(o.LockoutTimeMinutes) { - return true - } - - return false -} - -// SetLockoutTimeMinutes gets a reference to the given float32 and assigns it to the LockoutTimeMinutes field. -func (o *GetIdentity200ResponseOrg) SetLockoutTimeMinutes(v float32) { - o.LockoutTimeMinutes = &v -} - -// GetUsageCertRequired returns the UsageCertRequired field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetUsageCertRequired() bool { - if o == nil || isNil(o.UsageCertRequired) { - var ret bool - return ret - } - return *o.UsageCertRequired -} - -// GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetUsageCertRequiredOk() (*bool, bool) { - if o == nil || isNil(o.UsageCertRequired) { - return nil, false - } - return o.UsageCertRequired, true -} - -// HasUsageCertRequired returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasUsageCertRequired() bool { - if o != nil && !isNil(o.UsageCertRequired) { - return true - } - - return false -} - -// SetUsageCertRequired gets a reference to the given bool and assigns it to the UsageCertRequired field. -func (o *GetIdentity200ResponseOrg) SetUsageCertRequired(v bool) { - o.UsageCertRequired = &v -} - -// GetAdminStrongAuthRequired returns the AdminStrongAuthRequired field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetAdminStrongAuthRequired() bool { - if o == nil || isNil(o.AdminStrongAuthRequired) { - var ret bool - return ret - } - return *o.AdminStrongAuthRequired -} - -// GetAdminStrongAuthRequiredOk returns a tuple with the AdminStrongAuthRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetAdminStrongAuthRequiredOk() (*bool, bool) { - if o == nil || isNil(o.AdminStrongAuthRequired) { - return nil, false - } - return o.AdminStrongAuthRequired, true -} - -// HasAdminStrongAuthRequired returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasAdminStrongAuthRequired() bool { - if o != nil && !isNil(o.AdminStrongAuthRequired) { - return true - } - - return false -} - -// SetAdminStrongAuthRequired gets a reference to the given bool and assigns it to the AdminStrongAuthRequired field. -func (o *GetIdentity200ResponseOrg) SetAdminStrongAuthRequired(v bool) { - o.AdminStrongAuthRequired = &v -} - -// GetEnableExternalPasswordChange returns the EnableExternalPasswordChange field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetEnableExternalPasswordChange() bool { - if o == nil || isNil(o.EnableExternalPasswordChange) { - var ret bool - return ret - } - return *o.EnableExternalPasswordChange -} - -// GetEnableExternalPasswordChangeOk returns a tuple with the EnableExternalPasswordChange field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetEnableExternalPasswordChangeOk() (*bool, bool) { - if o == nil || isNil(o.EnableExternalPasswordChange) { - return nil, false - } - return o.EnableExternalPasswordChange, true -} - -// HasEnableExternalPasswordChange returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasEnableExternalPasswordChange() bool { - if o != nil && !isNil(o.EnableExternalPasswordChange) { - return true - } - - return false -} - -// SetEnableExternalPasswordChange gets a reference to the given bool and assigns it to the EnableExternalPasswordChange field. -func (o *GetIdentity200ResponseOrg) SetEnableExternalPasswordChange(v bool) { - o.EnableExternalPasswordChange = &v -} - -// GetEnablePasswordReplay returns the EnablePasswordReplay field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetEnablePasswordReplay() bool { - if o == nil || isNil(o.EnablePasswordReplay) { - var ret bool - return ret - } - return *o.EnablePasswordReplay -} - -// GetEnablePasswordReplayOk returns a tuple with the EnablePasswordReplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetEnablePasswordReplayOk() (*bool, bool) { - if o == nil || isNil(o.EnablePasswordReplay) { - return nil, false - } - return o.EnablePasswordReplay, true -} - -// HasEnablePasswordReplay returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasEnablePasswordReplay() bool { - if o != nil && !isNil(o.EnablePasswordReplay) { - return true - } - - return false -} - -// SetEnablePasswordReplay gets a reference to the given bool and assigns it to the EnablePasswordReplay field. -func (o *GetIdentity200ResponseOrg) SetEnablePasswordReplay(v bool) { - o.EnablePasswordReplay = &v -} - -// GetEnableAutomaticPasswordReplay returns the EnableAutomaticPasswordReplay field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetEnableAutomaticPasswordReplay() bool { - if o == nil || isNil(o.EnableAutomaticPasswordReplay) { - var ret bool - return ret - } - return *o.EnableAutomaticPasswordReplay -} - -// GetEnableAutomaticPasswordReplayOk returns a tuple with the EnableAutomaticPasswordReplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetEnableAutomaticPasswordReplayOk() (*bool, bool) { - if o == nil || isNil(o.EnableAutomaticPasswordReplay) { - return nil, false - } - return o.EnableAutomaticPasswordReplay, true -} - -// HasEnableAutomaticPasswordReplay returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasEnableAutomaticPasswordReplay() bool { - if o != nil && !isNil(o.EnableAutomaticPasswordReplay) { - return true - } - - return false -} - -// SetEnableAutomaticPasswordReplay gets a reference to the given bool and assigns it to the EnableAutomaticPasswordReplay field. -func (o *GetIdentity200ResponseOrg) SetEnableAutomaticPasswordReplay(v bool) { - o.EnableAutomaticPasswordReplay = &v -} - -// GetNotifyAuthenticationSettingChange returns the NotifyAuthenticationSettingChange field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetNotifyAuthenticationSettingChange() bool { - if o == nil || isNil(o.NotifyAuthenticationSettingChange) { - var ret bool - return ret - } - return *o.NotifyAuthenticationSettingChange -} - -// GetNotifyAuthenticationSettingChangeOk returns a tuple with the NotifyAuthenticationSettingChange field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetNotifyAuthenticationSettingChangeOk() (*bool, bool) { - if o == nil || isNil(o.NotifyAuthenticationSettingChange) { - return nil, false - } - return o.NotifyAuthenticationSettingChange, true -} - -// HasNotifyAuthenticationSettingChange returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasNotifyAuthenticationSettingChange() bool { - if o != nil && !isNil(o.NotifyAuthenticationSettingChange) { - return true - } - - return false -} - -// SetNotifyAuthenticationSettingChange gets a reference to the given bool and assigns it to the NotifyAuthenticationSettingChange field. -func (o *GetIdentity200ResponseOrg) SetNotifyAuthenticationSettingChange(v bool) { - o.NotifyAuthenticationSettingChange = &v -} - -// GetNetmasks returns the Netmasks field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetNetmasks() map[string]interface{} { - if o == nil || isNil(o.Netmasks) { - var ret map[string]interface{} - return ret - } - return o.Netmasks -} - -// GetNetmasksOk returns a tuple with the Netmasks field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetNetmasksOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.Netmasks) { - return map[string]interface{}{}, false - } - return o.Netmasks, true -} - -// HasNetmasks returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasNetmasks() bool { - if o != nil && !isNil(o.Netmasks) { - return true - } - - return false -} - -// SetNetmasks gets a reference to the given map[string]interface{} and assigns it to the Netmasks field. -func (o *GetIdentity200ResponseOrg) SetNetmasks(v map[string]interface{}) { - o.Netmasks = v -} - -// GetCountryCodes returns the CountryCodes field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetCountryCodes() map[string]interface{} { - if o == nil || isNil(o.CountryCodes) { - var ret map[string]interface{} - return ret - } - return o.CountryCodes -} - -// GetCountryCodesOk returns a tuple with the CountryCodes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetCountryCodesOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.CountryCodes) { - return map[string]interface{}{}, false - } - return o.CountryCodes, true -} - -// HasCountryCodes returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasCountryCodes() bool { - if o != nil && !isNil(o.CountryCodes) { - return true - } - - return false -} - -// SetCountryCodes gets a reference to the given map[string]interface{} and assigns it to the CountryCodes field. -func (o *GetIdentity200ResponseOrg) SetCountryCodes(v map[string]interface{}) { - o.CountryCodes = v -} - -// GetWhiteList returns the WhiteList field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetWhiteList() bool { - if o == nil || isNil(o.WhiteList) { - var ret bool - return ret - } - return *o.WhiteList -} - -// GetWhiteListOk returns a tuple with the WhiteList field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetWhiteListOk() (*bool, bool) { - if o == nil || isNil(o.WhiteList) { - return nil, false - } - return o.WhiteList, true -} - -// HasWhiteList returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasWhiteList() bool { - if o != nil && !isNil(o.WhiteList) { - return true - } - - return false -} - -// SetWhiteList gets a reference to the given bool and assigns it to the WhiteList field. -func (o *GetIdentity200ResponseOrg) SetWhiteList(v bool) { - o.WhiteList = &v -} - -// GetUsernameEmptyText returns the UsernameEmptyText field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetUsernameEmptyText() map[string]interface{} { - if o == nil || isNil(o.UsernameEmptyText) { - var ret map[string]interface{} - return ret - } - return o.UsernameEmptyText -} - -// GetUsernameEmptyTextOk returns a tuple with the UsernameEmptyText field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetUsernameEmptyTextOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.UsernameEmptyText) { - return map[string]interface{}{}, false - } - return o.UsernameEmptyText, true -} - -// HasUsernameEmptyText returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasUsernameEmptyText() bool { - if o != nil && !isNil(o.UsernameEmptyText) { - return true - } - - return false -} - -// SetUsernameEmptyText gets a reference to the given map[string]interface{} and assigns it to the UsernameEmptyText field. -func (o *GetIdentity200ResponseOrg) SetUsernameEmptyText(v map[string]interface{}) { - o.UsernameEmptyText = v -} - -// GetUsernameLabel returns the UsernameLabel field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetUsernameLabel() map[string]interface{} { - if o == nil || isNil(o.UsernameLabel) { - var ret map[string]interface{} - return ret - } - return o.UsernameLabel -} - -// GetUsernameLabelOk returns a tuple with the UsernameLabel field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetUsernameLabelOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.UsernameLabel) { - return map[string]interface{}{}, false - } - return o.UsernameLabel, true -} - -// HasUsernameLabel returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasUsernameLabel() bool { - if o != nil && !isNil(o.UsernameLabel) { - return true - } - - return false -} - -// SetUsernameLabel gets a reference to the given map[string]interface{} and assigns it to the UsernameLabel field. -func (o *GetIdentity200ResponseOrg) SetUsernameLabel(v map[string]interface{}) { - o.UsernameLabel = v -} - -// GetEnableAutomationGeneration returns the EnableAutomationGeneration field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetEnableAutomationGeneration() bool { - if o == nil || isNil(o.EnableAutomationGeneration) { - var ret bool - return ret - } - return *o.EnableAutomationGeneration -} - -// GetEnableAutomationGenerationOk returns a tuple with the EnableAutomationGeneration field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetEnableAutomationGenerationOk() (*bool, bool) { - if o == nil || isNil(o.EnableAutomationGeneration) { - return nil, false - } - return o.EnableAutomationGeneration, true -} - -// HasEnableAutomationGeneration returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasEnableAutomationGeneration() bool { - if o != nil && !isNil(o.EnableAutomationGeneration) { - return true - } - - return false -} - -// SetEnableAutomationGeneration gets a reference to the given bool and assigns it to the EnableAutomationGeneration field. -func (o *GetIdentity200ResponseOrg) SetEnableAutomationGeneration(v bool) { - o.EnableAutomationGeneration = &v -} - -// GetEmailTestMode returns the EmailTestMode field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetEmailTestMode() bool { - if o == nil || isNil(o.EmailTestMode) { - var ret bool - return ret - } - return *o.EmailTestMode -} - -// GetEmailTestModeOk returns a tuple with the EmailTestMode field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetEmailTestModeOk() (*bool, bool) { - if o == nil || isNil(o.EmailTestMode) { - return nil, false - } - return o.EmailTestMode, true -} - -// HasEmailTestMode returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasEmailTestMode() bool { - if o != nil && !isNil(o.EmailTestMode) { - return true - } - - return false -} - -// SetEmailTestMode gets a reference to the given bool and assigns it to the EmailTestMode field. -func (o *GetIdentity200ResponseOrg) SetEmailTestMode(v bool) { - o.EmailTestMode = &v -} - -// GetEmailTestAddress returns the EmailTestAddress field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetEmailTestAddress() string { - if o == nil || isNil(o.EmailTestAddress) { - var ret string - return ret - } - return *o.EmailTestAddress -} - -// GetEmailTestAddressOk returns a tuple with the EmailTestAddress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetEmailTestAddressOk() (*string, bool) { - if o == nil || isNil(o.EmailTestAddress) { - return nil, false - } - return o.EmailTestAddress, true -} - -// HasEmailTestAddress returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasEmailTestAddress() bool { - if o != nil && !isNil(o.EmailTestAddress) { - return true - } - - return false -} - -// SetEmailTestAddress gets a reference to the given string and assigns it to the EmailTestAddress field. -func (o *GetIdentity200ResponseOrg) SetEmailTestAddress(v string) { - o.EmailTestAddress = &v -} - -// GetOrgType returns the OrgType field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetOrgType() string { - if o == nil || isNil(o.OrgType) { - var ret string - return ret - } - return *o.OrgType -} - -// GetOrgTypeOk returns a tuple with the OrgType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetOrgTypeOk() (*string, bool) { - if o == nil || isNil(o.OrgType) { - return nil, false - } - return o.OrgType, true -} - -// HasOrgType returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasOrgType() bool { - if o != nil && !isNil(o.OrgType) { - return true - } - - return false -} - -// SetOrgType gets a reference to the given string and assigns it to the OrgType field. -func (o *GetIdentity200ResponseOrg) SetOrgType(v string) { - o.OrgType = &v -} - -// GetPasswordReplayState returns the PasswordReplayState field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetPasswordReplayState() string { - if o == nil || isNil(o.PasswordReplayState) { - var ret string - return ret - } - return *o.PasswordReplayState -} - -// GetPasswordReplayStateOk returns a tuple with the PasswordReplayState field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetPasswordReplayStateOk() (*string, bool) { - if o == nil || isNil(o.PasswordReplayState) { - return nil, false - } - return o.PasswordReplayState, true -} - -// HasPasswordReplayState returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasPasswordReplayState() bool { - if o != nil && !isNil(o.PasswordReplayState) { - return true - } - - return false -} - -// SetPasswordReplayState gets a reference to the given string and assigns it to the PasswordReplayState field. -func (o *GetIdentity200ResponseOrg) SetPasswordReplayState(v string) { - o.PasswordReplayState = &v -} - -// GetSystemNotificationConfig returns the SystemNotificationConfig field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetSystemNotificationConfig() string { - if o == nil || isNil(o.SystemNotificationConfig) { - var ret string - return ret - } - return *o.SystemNotificationConfig -} - -// GetSystemNotificationConfigOk returns a tuple with the SystemNotificationConfig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetSystemNotificationConfigOk() (*string, bool) { - if o == nil || isNil(o.SystemNotificationConfig) { - return nil, false - } - return o.SystemNotificationConfig, true -} - -// HasSystemNotificationConfig returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasSystemNotificationConfig() bool { - if o != nil && !isNil(o.SystemNotificationConfig) { - return true - } - - return false -} - -// SetSystemNotificationConfig gets a reference to the given string and assigns it to the SystemNotificationConfig field. -func (o *GetIdentity200ResponseOrg) SetSystemNotificationConfig(v string) { - o.SystemNotificationConfig = &v -} - -// GetRedirectPatterns returns the RedirectPatterns field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetRedirectPatterns() string { - if o == nil || isNil(o.RedirectPatterns) { - var ret string - return ret - } - return *o.RedirectPatterns -} - -// GetRedirectPatternsOk returns a tuple with the RedirectPatterns field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetRedirectPatternsOk() (*string, bool) { - if o == nil || isNil(o.RedirectPatterns) { - return nil, false - } - return o.RedirectPatterns, true -} - -// HasRedirectPatterns returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasRedirectPatterns() bool { - if o != nil && !isNil(o.RedirectPatterns) { - return true - } - - return false -} - -// SetRedirectPatterns gets a reference to the given string and assigns it to the RedirectPatterns field. -func (o *GetIdentity200ResponseOrg) SetRedirectPatterns(v string) { - o.RedirectPatterns = &v -} - -// GetMaxClusterDebugHours returns the MaxClusterDebugHours field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetMaxClusterDebugHours() string { - if o == nil || isNil(o.MaxClusterDebugHours) { - var ret string - return ret - } - return *o.MaxClusterDebugHours -} - -// GetMaxClusterDebugHoursOk returns a tuple with the MaxClusterDebugHours field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetMaxClusterDebugHoursOk() (*string, bool) { - if o == nil || isNil(o.MaxClusterDebugHours) { - return nil, false - } - return o.MaxClusterDebugHours, true -} - -// HasMaxClusterDebugHours returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasMaxClusterDebugHours() bool { - if o != nil && !isNil(o.MaxClusterDebugHours) { - return true - } - - return false -} - -// SetMaxClusterDebugHours gets a reference to the given string and assigns it to the MaxClusterDebugHours field. -func (o *GetIdentity200ResponseOrg) SetMaxClusterDebugHours(v string) { - o.MaxClusterDebugHours = &v -} - -// GetBrandName returns the BrandName field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetBrandName() string { - if o == nil || isNil(o.BrandName) { - var ret string - return ret - } - return *o.BrandName -} - -// GetBrandNameOk returns a tuple with the BrandName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetBrandNameOk() (*string, bool) { - if o == nil || isNil(o.BrandName) { - return nil, false - } - return o.BrandName, true -} - -// HasBrandName returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasBrandName() bool { - if o != nil && !isNil(o.BrandName) { - return true - } - - return false -} - -// SetBrandName gets a reference to the given string and assigns it to the BrandName field. -func (o *GetIdentity200ResponseOrg) SetBrandName(v string) { - o.BrandName = &v -} - -// GetLogo returns the Logo field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetLogo() map[string]interface{} { - if o == nil || isNil(o.Logo) { - var ret map[string]interface{} - return ret - } - return o.Logo -} - -// GetLogoOk returns a tuple with the Logo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetLogoOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.Logo) { - return map[string]interface{}{}, false - } - return o.Logo, true -} - -// HasLogo returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasLogo() bool { - if o != nil && !isNil(o.Logo) { - return true - } - - return false -} - -// SetLogo gets a reference to the given map[string]interface{} and assigns it to the Logo field. -func (o *GetIdentity200ResponseOrg) SetLogo(v map[string]interface{}) { - o.Logo = v -} - -// GetEmailFromAddress returns the EmailFromAddress field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetEmailFromAddress() map[string]interface{} { - if o == nil || isNil(o.EmailFromAddress) { - var ret map[string]interface{} - return ret - } - return o.EmailFromAddress -} - -// GetEmailFromAddressOk returns a tuple with the EmailFromAddress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetEmailFromAddressOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.EmailFromAddress) { - return map[string]interface{}{}, false - } - return o.EmailFromAddress, true -} - -// HasEmailFromAddress returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasEmailFromAddress() bool { - if o != nil && !isNil(o.EmailFromAddress) { - return true - } - - return false -} - -// SetEmailFromAddress gets a reference to the given map[string]interface{} and assigns it to the EmailFromAddress field. -func (o *GetIdentity200ResponseOrg) SetEmailFromAddress(v map[string]interface{}) { - o.EmailFromAddress = v -} - -// GetStandardLogoUrl returns the StandardLogoUrl field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetStandardLogoUrl() map[string]interface{} { - if o == nil || isNil(o.StandardLogoUrl) { - var ret map[string]interface{} - return ret - } - return o.StandardLogoUrl -} - -// GetStandardLogoUrlOk returns a tuple with the StandardLogoUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetStandardLogoUrlOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.StandardLogoUrl) { - return map[string]interface{}{}, false - } - return o.StandardLogoUrl, true -} - -// HasStandardLogoUrl returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasStandardLogoUrl() bool { - if o != nil && !isNil(o.StandardLogoUrl) { - return true - } - - return false -} - -// SetStandardLogoUrl gets a reference to the given map[string]interface{} and assigns it to the StandardLogoUrl field. -func (o *GetIdentity200ResponseOrg) SetStandardLogoUrl(v map[string]interface{}) { - o.StandardLogoUrl = v -} - -// GetNarrowLogoUrl returns the NarrowLogoUrl field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetNarrowLogoUrl() map[string]interface{} { - if o == nil || isNil(o.NarrowLogoUrl) { - var ret map[string]interface{} - return ret - } - return o.NarrowLogoUrl -} - -// GetNarrowLogoUrlOk returns a tuple with the NarrowLogoUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetNarrowLogoUrlOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.NarrowLogoUrl) { - return map[string]interface{}{}, false - } - return o.NarrowLogoUrl, true -} - -// HasNarrowLogoUrl returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasNarrowLogoUrl() bool { - if o != nil && !isNil(o.NarrowLogoUrl) { - return true - } - - return false -} - -// SetNarrowLogoUrl gets a reference to the given map[string]interface{} and assigns it to the NarrowLogoUrl field. -func (o *GetIdentity200ResponseOrg) SetNarrowLogoUrl(v map[string]interface{}) { - o.NarrowLogoUrl = v -} - -// GetActionButtonColor returns the ActionButtonColor field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetActionButtonColor() string { - if o == nil || isNil(o.ActionButtonColor) { - var ret string - return ret - } - return *o.ActionButtonColor -} - -// GetActionButtonColorOk returns a tuple with the ActionButtonColor field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetActionButtonColorOk() (*string, bool) { - if o == nil || isNil(o.ActionButtonColor) { - return nil, false - } - return o.ActionButtonColor, true -} - -// HasActionButtonColor returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasActionButtonColor() bool { - if o != nil && !isNil(o.ActionButtonColor) { - return true - } - - return false -} - -// SetActionButtonColor gets a reference to the given string and assigns it to the ActionButtonColor field. -func (o *GetIdentity200ResponseOrg) SetActionButtonColor(v string) { - o.ActionButtonColor = &v -} - -// GetActiveLinkColor returns the ActiveLinkColor field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetActiveLinkColor() string { - if o == nil || isNil(o.ActiveLinkColor) { - var ret string - return ret - } - return *o.ActiveLinkColor -} - -// GetActiveLinkColorOk returns a tuple with the ActiveLinkColor field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetActiveLinkColorOk() (*string, bool) { - if o == nil || isNil(o.ActiveLinkColor) { - return nil, false - } - return o.ActiveLinkColor, true -} - -// HasActiveLinkColor returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasActiveLinkColor() bool { - if o != nil && !isNil(o.ActiveLinkColor) { - return true - } - - return false -} - -// SetActiveLinkColor gets a reference to the given string and assigns it to the ActiveLinkColor field. -func (o *GetIdentity200ResponseOrg) SetActiveLinkColor(v string) { - o.ActiveLinkColor = &v -} - -// GetNavigationColor returns the NavigationColor field value if set, zero value otherwise. -func (o *GetIdentity200ResponseOrg) GetNavigationColor() string { - if o == nil || isNil(o.NavigationColor) { - var ret string - return ret - } - return *o.NavigationColor -} - -// GetNavigationColorOk returns a tuple with the NavigationColor field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetIdentity200ResponseOrg) GetNavigationColorOk() (*string, bool) { - if o == nil || isNil(o.NavigationColor) { - return nil, false - } - return o.NavigationColor, true -} - -// HasNavigationColor returns a boolean if a field has been set. -func (o *GetIdentity200ResponseOrg) HasNavigationColor() bool { - if o != nil && !isNil(o.NavigationColor) { - return true - } - - return false -} - -// SetNavigationColor gets a reference to the given string and assigns it to the NavigationColor field. -func (o *GetIdentity200ResponseOrg) SetNavigationColor(v string) { - o.NavigationColor = &v -} - -func (o GetIdentity200ResponseOrg) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GetIdentity200ResponseOrg) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.ScriptName) { - toSerialize["scriptName"] = o.ScriptName - } - if !isNil(o.Mode) { - toSerialize["mode"] = o.Mode - } - if !isNil(o.NumQuestions) { - toSerialize["numQuestions"] = o.NumQuestions - } - if !isNil(o.Status) { - toSerialize["status"] = o.Status - } - if !isNil(o.MaxRegisteredUsers) { - toSerialize["maxRegisteredUsers"] = o.MaxRegisteredUsers - } - if !isNil(o.Pod) { - toSerialize["pod"] = o.Pod - } - if !isNil(o.PwdResetPersonalPhone) { - toSerialize["pwdResetPersonalPhone"] = o.PwdResetPersonalPhone - } - if !isNil(o.PwdResetPersonalEmail) { - toSerialize["pwdResetPersonalEmail"] = o.PwdResetPersonalEmail - } - if !isNil(o.PwdResetKba) { - toSerialize["pwdResetKba"] = o.PwdResetKba - } - if !isNil(o.PwdResetEmail) { - toSerialize["pwdResetEmail"] = o.PwdResetEmail - } - if !isNil(o.PwdResetDuo) { - toSerialize["pwdResetDuo"] = o.PwdResetDuo - } - if !isNil(o.PwdResetPhoneMask) { - toSerialize["pwdResetPhoneMask"] = o.PwdResetPhoneMask - } - if !isNil(o.AuthErrorText) { - toSerialize["authErrorText"] = o.AuthErrorText - } - if !isNil(o.StrongAuthKba) { - toSerialize["strongAuthKba"] = o.StrongAuthKba - } - if !isNil(o.StrongAuthPersonalPhone) { - toSerialize["strongAuthPersonalPhone"] = o.StrongAuthPersonalPhone - } - if !isNil(o.StrongAuthPersonalEmail) { - toSerialize["strongAuthPersonalEmail"] = o.StrongAuthPersonalEmail - } - if !isNil(o.Integrations) { - toSerialize["integrations"] = o.Integrations - } - if !isNil(o.ProductName) { - toSerialize["productName"] = o.ProductName - } - if !isNil(o.KbaReqForAuthn) { - toSerialize["kbaReqForAuthn"] = o.KbaReqForAuthn - } - if !isNil(o.KbaReqAnswers) { - toSerialize["kbaReqAnswers"] = o.KbaReqAnswers - } - if !isNil(o.LockoutAttemptThreshold) { - toSerialize["lockoutAttemptThreshold"] = o.LockoutAttemptThreshold - } - if !isNil(o.LockoutTimeMinutes) { - toSerialize["lockoutTimeMinutes"] = o.LockoutTimeMinutes - } - if !isNil(o.UsageCertRequired) { - toSerialize["usageCertRequired"] = o.UsageCertRequired - } - if !isNil(o.AdminStrongAuthRequired) { - toSerialize["adminStrongAuthRequired"] = o.AdminStrongAuthRequired - } - if !isNil(o.EnableExternalPasswordChange) { - toSerialize["enableExternalPasswordChange"] = o.EnableExternalPasswordChange - } - if !isNil(o.EnablePasswordReplay) { - toSerialize["enablePasswordReplay"] = o.EnablePasswordReplay - } - if !isNil(o.EnableAutomaticPasswordReplay) { - toSerialize["enableAutomaticPasswordReplay"] = o.EnableAutomaticPasswordReplay - } - if !isNil(o.NotifyAuthenticationSettingChange) { - toSerialize["notifyAuthenticationSettingChange"] = o.NotifyAuthenticationSettingChange - } - if !isNil(o.Netmasks) { - toSerialize["netmasks"] = o.Netmasks - } - if !isNil(o.CountryCodes) { - toSerialize["countryCodes"] = o.CountryCodes - } - if !isNil(o.WhiteList) { - toSerialize["whiteList"] = o.WhiteList - } - if !isNil(o.UsernameEmptyText) { - toSerialize["usernameEmptyText"] = o.UsernameEmptyText - } - if !isNil(o.UsernameLabel) { - toSerialize["usernameLabel"] = o.UsernameLabel - } - if !isNil(o.EnableAutomationGeneration) { - toSerialize["enableAutomationGeneration"] = o.EnableAutomationGeneration - } - if !isNil(o.EmailTestMode) { - toSerialize["emailTestMode"] = o.EmailTestMode - } - if !isNil(o.EmailTestAddress) { - toSerialize["emailTestAddress"] = o.EmailTestAddress - } - if !isNil(o.OrgType) { - toSerialize["orgType"] = o.OrgType - } - if !isNil(o.PasswordReplayState) { - toSerialize["passwordReplayState"] = o.PasswordReplayState - } - if !isNil(o.SystemNotificationConfig) { - toSerialize["systemNotificationConfig"] = o.SystemNotificationConfig - } - if !isNil(o.RedirectPatterns) { - toSerialize["redirectPatterns"] = o.RedirectPatterns - } - if !isNil(o.MaxClusterDebugHours) { - toSerialize["maxClusterDebugHours"] = o.MaxClusterDebugHours - } - if !isNil(o.BrandName) { - toSerialize["brandName"] = o.BrandName - } - if !isNil(o.Logo) { - toSerialize["logo"] = o.Logo - } - if !isNil(o.EmailFromAddress) { - toSerialize["emailFromAddress"] = o.EmailFromAddress - } - if !isNil(o.StandardLogoUrl) { - toSerialize["standardLogoUrl"] = o.StandardLogoUrl - } - if !isNil(o.NarrowLogoUrl) { - toSerialize["narrowLogoUrl"] = o.NarrowLogoUrl - } - if !isNil(o.ActionButtonColor) { - toSerialize["actionButtonColor"] = o.ActionButtonColor - } - if !isNil(o.ActiveLinkColor) { - toSerialize["activeLinkColor"] = o.ActiveLinkColor - } - if !isNil(o.NavigationColor) { - toSerialize["navigationColor"] = o.NavigationColor - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *GetIdentity200ResponseOrg) UnmarshalJSON(bytes []byte) (err error) { - varGetIdentity200ResponseOrg := _GetIdentity200ResponseOrg{} - - if err = json.Unmarshal(bytes, &varGetIdentity200ResponseOrg); err == nil { - *o = GetIdentity200ResponseOrg(varGetIdentity200ResponseOrg) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "name") - delete(additionalProperties, "scriptName") - delete(additionalProperties, "mode") - delete(additionalProperties, "numQuestions") - delete(additionalProperties, "status") - delete(additionalProperties, "maxRegisteredUsers") - delete(additionalProperties, "pod") - delete(additionalProperties, "pwdResetPersonalPhone") - delete(additionalProperties, "pwdResetPersonalEmail") - delete(additionalProperties, "pwdResetKba") - delete(additionalProperties, "pwdResetEmail") - delete(additionalProperties, "pwdResetDuo") - delete(additionalProperties, "pwdResetPhoneMask") - delete(additionalProperties, "authErrorText") - delete(additionalProperties, "strongAuthKba") - delete(additionalProperties, "strongAuthPersonalPhone") - delete(additionalProperties, "strongAuthPersonalEmail") - delete(additionalProperties, "integrations") - delete(additionalProperties, "productName") - delete(additionalProperties, "kbaReqForAuthn") - delete(additionalProperties, "kbaReqAnswers") - delete(additionalProperties, "lockoutAttemptThreshold") - delete(additionalProperties, "lockoutTimeMinutes") - delete(additionalProperties, "usageCertRequired") - delete(additionalProperties, "adminStrongAuthRequired") - delete(additionalProperties, "enableExternalPasswordChange") - delete(additionalProperties, "enablePasswordReplay") - delete(additionalProperties, "enableAutomaticPasswordReplay") - delete(additionalProperties, "notifyAuthenticationSettingChange") - delete(additionalProperties, "netmasks") - delete(additionalProperties, "countryCodes") - delete(additionalProperties, "whiteList") - delete(additionalProperties, "usernameEmptyText") - delete(additionalProperties, "usernameLabel") - delete(additionalProperties, "enableAutomationGeneration") - delete(additionalProperties, "emailTestMode") - delete(additionalProperties, "emailTestAddress") - delete(additionalProperties, "orgType") - delete(additionalProperties, "passwordReplayState") - delete(additionalProperties, "systemNotificationConfig") - delete(additionalProperties, "redirectPatterns") - delete(additionalProperties, "maxClusterDebugHours") - delete(additionalProperties, "brandName") - delete(additionalProperties, "logo") - delete(additionalProperties, "emailFromAddress") - delete(additionalProperties, "standardLogoUrl") - delete(additionalProperties, "narrowLogoUrl") - delete(additionalProperties, "actionButtonColor") - delete(additionalProperties, "activeLinkColor") - delete(additionalProperties, "navigationColor") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableGetIdentity200ResponseOrg struct { - value *GetIdentity200ResponseOrg - isSet bool -} - -func (v NullableGetIdentity200ResponseOrg) Get() *GetIdentity200ResponseOrg { - return v.value -} - -func (v *NullableGetIdentity200ResponseOrg) Set(val *GetIdentity200ResponseOrg) { - v.value = val - v.isSet = true -} - -func (v NullableGetIdentity200ResponseOrg) IsSet() bool { - return v.isSet -} - -func (v *NullableGetIdentity200ResponseOrg) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetIdentity200ResponseOrg(val *GetIdentity200ResponseOrg) *NullableGetIdentity200ResponseOrg { - return &NullableGetIdentity200ResponseOrg{value: val, isSet: true} -} - -func (v NullableGetIdentity200ResponseOrg) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetIdentity200ResponseOrg) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_import_connector_config_request.go b/api_cc/model_import_connector_config_request.go deleted file mode 100644 index bbeaa935d..000000000 --- a/api_cc/model_import_connector_config_request.go +++ /dev/null @@ -1,153 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" - "os" -) - -// checks if the ImportConnectorConfigRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ImportConnectorConfigRequest{} - -// ImportConnectorConfigRequest struct for ImportConnectorConfigRequest -type ImportConnectorConfigRequest struct { - // This is the connector config zip bundle which gets uploaded. - File **os.File `json:"file,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ImportConnectorConfigRequest ImportConnectorConfigRequest - -// NewImportConnectorConfigRequest instantiates a new ImportConnectorConfigRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewImportConnectorConfigRequest() *ImportConnectorConfigRequest { - this := ImportConnectorConfigRequest{} - return &this -} - -// NewImportConnectorConfigRequestWithDefaults instantiates a new ImportConnectorConfigRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewImportConnectorConfigRequestWithDefaults() *ImportConnectorConfigRequest { - this := ImportConnectorConfigRequest{} - return &this -} - -// GetFile returns the File field value if set, zero value otherwise. -func (o *ImportConnectorConfigRequest) GetFile() *os.File { - if o == nil || isNil(o.File) { - var ret *os.File - return ret - } - return *o.File -} - -// GetFileOk returns a tuple with the File field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ImportConnectorConfigRequest) GetFileOk() (**os.File, bool) { - if o == nil || isNil(o.File) { - return nil, false - } - return o.File, true -} - -// HasFile returns a boolean if a field has been set. -func (o *ImportConnectorConfigRequest) HasFile() bool { - if o != nil && !isNil(o.File) { - return true - } - - return false -} - -// SetFile gets a reference to the given *os.File and assigns it to the File field. -func (o *ImportConnectorConfigRequest) SetFile(v *os.File) { - o.File = &v -} - -func (o ImportConnectorConfigRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ImportConnectorConfigRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.File) { - toSerialize["file"] = o.File - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ImportConnectorConfigRequest) UnmarshalJSON(bytes []byte) (err error) { - varImportConnectorConfigRequest := _ImportConnectorConfigRequest{} - - if err = json.Unmarshal(bytes, &varImportConnectorConfigRequest); err == nil { - *o = ImportConnectorConfigRequest(varImportConnectorConfigRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "file") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableImportConnectorConfigRequest struct { - value *ImportConnectorConfigRequest - isSet bool -} - -func (v NullableImportConnectorConfigRequest) Get() *ImportConnectorConfigRequest { - return v.value -} - -func (v *NullableImportConnectorConfigRequest) Set(val *ImportConnectorConfigRequest) { - v.value = val - v.isSet = true -} - -func (v NullableImportConnectorConfigRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableImportConnectorConfigRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableImportConnectorConfigRequest(val *ImportConnectorConfigRequest) *NullableImportConnectorConfigRequest { - return &NullableImportConnectorConfigRequest{value: val, isSet: true} -} - -func (v NullableImportConnectorConfigRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableImportConnectorConfigRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_list_accounts_200_response_inner.go b/api_cc/model_list_accounts_200_response_inner.go deleted file mode 100644 index 77ca1ca91..000000000 --- a/api_cc/model_list_accounts_200_response_inner.go +++ /dev/null @@ -1,810 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the ListAccounts200ResponseInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListAccounts200ResponseInner{} - -// ListAccounts200ResponseInner struct for ListAccounts200ResponseInner -type ListAccounts200ResponseInner struct { - Id *string `json:"id,omitempty"` - Type *string `json:"type,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - Username *string `json:"username,omitempty"` - PasswordRequired *bool `json:"passwordRequired,omitempty"` - PasswordProvided *bool `json:"passwordProvided,omitempty"` - Apps []map[string]interface{} `json:"apps,omitempty"` - SsoMethod *string `json:"ssoMethod,omitempty"` - IdEncryption *string `json:"idEncryption,omitempty"` - PasswordEncryption *string `json:"passwordEncryption,omitempty"` - LastPasswdChange NullableString `json:"lastPasswdChange,omitempty"` - ServiceName *string `json:"serviceName,omitempty"` - DateDisabled NullableString `json:"dateDisabled,omitempty"` - AccountServiceId *int32 `json:"accountServiceId,omitempty"` - ServiceId *int32 `json:"serviceId,omitempty"` - PendingPasswordRequestId NullableString `json:"pendingPasswordRequestId,omitempty"` - PasswordChangeStatus *string `json:"passwordChangeStatus,omitempty"` - PasswordChangeResult *ListAccounts200ResponseInnerPasswordChangeResult `json:"passwordChangeResult,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListAccounts200ResponseInner ListAccounts200ResponseInner - -// NewListAccounts200ResponseInner instantiates a new ListAccounts200ResponseInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListAccounts200ResponseInner() *ListAccounts200ResponseInner { - this := ListAccounts200ResponseInner{} - return &this -} - -// NewListAccounts200ResponseInnerWithDefaults instantiates a new ListAccounts200ResponseInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListAccounts200ResponseInnerWithDefaults() *ListAccounts200ResponseInner { - this := ListAccounts200ResponseInner{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetId() string { - if o == nil || isNil(o.Id) { - var ret string - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetIdOk() (*string, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given string and assigns it to the Id field. -func (o *ListAccounts200ResponseInner) SetId(v string) { - o.Id = &v -} - -// GetType returns the Type field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetType() string { - if o == nil || isNil(o.Type) { - var ret string - return ret - } - return *o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetTypeOk() (*string, bool) { - if o == nil || isNil(o.Type) { - return nil, false - } - return o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasType() bool { - if o != nil && !isNil(o.Type) { - return true - } - - return false -} - -// SetType gets a reference to the given string and assigns it to the Type field. -func (o *ListAccounts200ResponseInner) SetType(v string) { - o.Type = &v -} - -// GetDisplayName returns the DisplayName field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetDisplayName() string { - if o == nil || isNil(o.DisplayName) { - var ret string - return ret - } - return *o.DisplayName -} - -// GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetDisplayNameOk() (*string, bool) { - if o == nil || isNil(o.DisplayName) { - return nil, false - } - return o.DisplayName, true -} - -// HasDisplayName returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasDisplayName() bool { - if o != nil && !isNil(o.DisplayName) { - return true - } - - return false -} - -// SetDisplayName gets a reference to the given string and assigns it to the DisplayName field. -func (o *ListAccounts200ResponseInner) SetDisplayName(v string) { - o.DisplayName = &v -} - -// GetUsername returns the Username field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetUsername() string { - if o == nil || isNil(o.Username) { - 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 *ListAccounts200ResponseInner) GetUsernameOk() (*string, bool) { - if o == nil || isNil(o.Username) { - return nil, false - } - return o.Username, true -} - -// HasUsername returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasUsername() bool { - if o != nil && !isNil(o.Username) { - return true - } - - return false -} - -// SetUsername gets a reference to the given string and assigns it to the Username field. -func (o *ListAccounts200ResponseInner) SetUsername(v string) { - o.Username = &v -} - -// GetPasswordRequired returns the PasswordRequired field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetPasswordRequired() bool { - if o == nil || isNil(o.PasswordRequired) { - var ret bool - return ret - } - return *o.PasswordRequired -} - -// GetPasswordRequiredOk returns a tuple with the PasswordRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetPasswordRequiredOk() (*bool, bool) { - if o == nil || isNil(o.PasswordRequired) { - return nil, false - } - return o.PasswordRequired, true -} - -// HasPasswordRequired returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasPasswordRequired() bool { - if o != nil && !isNil(o.PasswordRequired) { - return true - } - - return false -} - -// SetPasswordRequired gets a reference to the given bool and assigns it to the PasswordRequired field. -func (o *ListAccounts200ResponseInner) SetPasswordRequired(v bool) { - o.PasswordRequired = &v -} - -// GetPasswordProvided returns the PasswordProvided field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetPasswordProvided() bool { - if o == nil || isNil(o.PasswordProvided) { - var ret bool - return ret - } - return *o.PasswordProvided -} - -// GetPasswordProvidedOk returns a tuple with the PasswordProvided field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetPasswordProvidedOk() (*bool, bool) { - if o == nil || isNil(o.PasswordProvided) { - return nil, false - } - return o.PasswordProvided, true -} - -// HasPasswordProvided returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasPasswordProvided() bool { - if o != nil && !isNil(o.PasswordProvided) { - return true - } - - return false -} - -// SetPasswordProvided gets a reference to the given bool and assigns it to the PasswordProvided field. -func (o *ListAccounts200ResponseInner) SetPasswordProvided(v bool) { - o.PasswordProvided = &v -} - -// GetApps returns the Apps field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetApps() []map[string]interface{} { - if o == nil || isNil(o.Apps) { - var ret []map[string]interface{} - return ret - } - return o.Apps -} - -// GetAppsOk returns a tuple with the Apps field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetAppsOk() ([]map[string]interface{}, bool) { - if o == nil || isNil(o.Apps) { - return nil, false - } - return o.Apps, true -} - -// HasApps returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasApps() bool { - if o != nil && !isNil(o.Apps) { - return true - } - - return false -} - -// SetApps gets a reference to the given []map[string]interface{} and assigns it to the Apps field. -func (o *ListAccounts200ResponseInner) SetApps(v []map[string]interface{}) { - o.Apps = v -} - -// GetSsoMethod returns the SsoMethod field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetSsoMethod() string { - if o == nil || isNil(o.SsoMethod) { - var ret string - return ret - } - return *o.SsoMethod -} - -// GetSsoMethodOk returns a tuple with the SsoMethod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetSsoMethodOk() (*string, bool) { - if o == nil || isNil(o.SsoMethod) { - return nil, false - } - return o.SsoMethod, true -} - -// HasSsoMethod returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasSsoMethod() bool { - if o != nil && !isNil(o.SsoMethod) { - return true - } - - return false -} - -// SetSsoMethod gets a reference to the given string and assigns it to the SsoMethod field. -func (o *ListAccounts200ResponseInner) SetSsoMethod(v string) { - o.SsoMethod = &v -} - -// GetIdEncryption returns the IdEncryption field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetIdEncryption() string { - if o == nil || isNil(o.IdEncryption) { - var ret string - return ret - } - return *o.IdEncryption -} - -// GetIdEncryptionOk returns a tuple with the IdEncryption field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetIdEncryptionOk() (*string, bool) { - if o == nil || isNil(o.IdEncryption) { - return nil, false - } - return o.IdEncryption, true -} - -// HasIdEncryption returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasIdEncryption() bool { - if o != nil && !isNil(o.IdEncryption) { - return true - } - - return false -} - -// SetIdEncryption gets a reference to the given string and assigns it to the IdEncryption field. -func (o *ListAccounts200ResponseInner) SetIdEncryption(v string) { - o.IdEncryption = &v -} - -// GetPasswordEncryption returns the PasswordEncryption field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetPasswordEncryption() string { - if o == nil || isNil(o.PasswordEncryption) { - var ret string - return ret - } - return *o.PasswordEncryption -} - -// GetPasswordEncryptionOk returns a tuple with the PasswordEncryption field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetPasswordEncryptionOk() (*string, bool) { - if o == nil || isNil(o.PasswordEncryption) { - return nil, false - } - return o.PasswordEncryption, true -} - -// HasPasswordEncryption returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasPasswordEncryption() bool { - if o != nil && !isNil(o.PasswordEncryption) { - return true - } - - return false -} - -// SetPasswordEncryption gets a reference to the given string and assigns it to the PasswordEncryption field. -func (o *ListAccounts200ResponseInner) SetPasswordEncryption(v string) { - o.PasswordEncryption = &v -} - -// GetLastPasswdChange returns the LastPasswdChange field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListAccounts200ResponseInner) GetLastPasswdChange() string { - if o == nil || isNil(o.LastPasswdChange.Get()) { - var ret string - return ret - } - return *o.LastPasswdChange.Get() -} - -// GetLastPasswdChangeOk returns a tuple with the LastPasswdChange 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 *ListAccounts200ResponseInner) GetLastPasswdChangeOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.LastPasswdChange.Get(), o.LastPasswdChange.IsSet() -} - -// HasLastPasswdChange returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasLastPasswdChange() bool { - if o != nil && o.LastPasswdChange.IsSet() { - return true - } - - return false -} - -// SetLastPasswdChange gets a reference to the given NullableString and assigns it to the LastPasswdChange field. -func (o *ListAccounts200ResponseInner) SetLastPasswdChange(v string) { - o.LastPasswdChange.Set(&v) -} -// SetLastPasswdChangeNil sets the value for LastPasswdChange to be an explicit nil -func (o *ListAccounts200ResponseInner) SetLastPasswdChangeNil() { - o.LastPasswdChange.Set(nil) -} - -// UnsetLastPasswdChange ensures that no value is present for LastPasswdChange, not even an explicit nil -func (o *ListAccounts200ResponseInner) UnsetLastPasswdChange() { - o.LastPasswdChange.Unset() -} - -// GetServiceName returns the ServiceName field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetServiceName() string { - if o == nil || isNil(o.ServiceName) { - var ret string - return ret - } - return *o.ServiceName -} - -// GetServiceNameOk returns a tuple with the ServiceName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetServiceNameOk() (*string, bool) { - if o == nil || isNil(o.ServiceName) { - return nil, false - } - return o.ServiceName, true -} - -// HasServiceName returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasServiceName() bool { - if o != nil && !isNil(o.ServiceName) { - return true - } - - return false -} - -// SetServiceName gets a reference to the given string and assigns it to the ServiceName field. -func (o *ListAccounts200ResponseInner) SetServiceName(v string) { - o.ServiceName = &v -} - -// GetDateDisabled returns the DateDisabled field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListAccounts200ResponseInner) GetDateDisabled() string { - if o == nil || isNil(o.DateDisabled.Get()) { - var ret string - return ret - } - return *o.DateDisabled.Get() -} - -// GetDateDisabledOk returns a tuple with the DateDisabled 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 *ListAccounts200ResponseInner) GetDateDisabledOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.DateDisabled.Get(), o.DateDisabled.IsSet() -} - -// HasDateDisabled returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasDateDisabled() bool { - if o != nil && o.DateDisabled.IsSet() { - return true - } - - return false -} - -// SetDateDisabled gets a reference to the given NullableString and assigns it to the DateDisabled field. -func (o *ListAccounts200ResponseInner) SetDateDisabled(v string) { - o.DateDisabled.Set(&v) -} -// SetDateDisabledNil sets the value for DateDisabled to be an explicit nil -func (o *ListAccounts200ResponseInner) SetDateDisabledNil() { - o.DateDisabled.Set(nil) -} - -// UnsetDateDisabled ensures that no value is present for DateDisabled, not even an explicit nil -func (o *ListAccounts200ResponseInner) UnsetDateDisabled() { - o.DateDisabled.Unset() -} - -// GetAccountServiceId returns the AccountServiceId field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetAccountServiceId() int32 { - if o == nil || isNil(o.AccountServiceId) { - var ret int32 - return ret - } - return *o.AccountServiceId -} - -// GetAccountServiceIdOk returns a tuple with the AccountServiceId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetAccountServiceIdOk() (*int32, bool) { - if o == nil || isNil(o.AccountServiceId) { - return nil, false - } - return o.AccountServiceId, true -} - -// HasAccountServiceId returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasAccountServiceId() bool { - if o != nil && !isNil(o.AccountServiceId) { - return true - } - - return false -} - -// SetAccountServiceId gets a reference to the given int32 and assigns it to the AccountServiceId field. -func (o *ListAccounts200ResponseInner) SetAccountServiceId(v int32) { - o.AccountServiceId = &v -} - -// GetServiceId returns the ServiceId field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetServiceId() int32 { - if o == nil || isNil(o.ServiceId) { - var ret int32 - return ret - } - return *o.ServiceId -} - -// GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetServiceIdOk() (*int32, bool) { - if o == nil || isNil(o.ServiceId) { - return nil, false - } - return o.ServiceId, true -} - -// HasServiceId returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasServiceId() bool { - if o != nil && !isNil(o.ServiceId) { - return true - } - - return false -} - -// SetServiceId gets a reference to the given int32 and assigns it to the ServiceId field. -func (o *ListAccounts200ResponseInner) SetServiceId(v int32) { - o.ServiceId = &v -} - -// GetPendingPasswordRequestId returns the PendingPasswordRequestId field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListAccounts200ResponseInner) GetPendingPasswordRequestId() string { - if o == nil || isNil(o.PendingPasswordRequestId.Get()) { - var ret string - return ret - } - return *o.PendingPasswordRequestId.Get() -} - -// GetPendingPasswordRequestIdOk returns a tuple with the PendingPasswordRequestId 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 *ListAccounts200ResponseInner) GetPendingPasswordRequestIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.PendingPasswordRequestId.Get(), o.PendingPasswordRequestId.IsSet() -} - -// HasPendingPasswordRequestId returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasPendingPasswordRequestId() bool { - if o != nil && o.PendingPasswordRequestId.IsSet() { - return true - } - - return false -} - -// SetPendingPasswordRequestId gets a reference to the given NullableString and assigns it to the PendingPasswordRequestId field. -func (o *ListAccounts200ResponseInner) SetPendingPasswordRequestId(v string) { - o.PendingPasswordRequestId.Set(&v) -} -// SetPendingPasswordRequestIdNil sets the value for PendingPasswordRequestId to be an explicit nil -func (o *ListAccounts200ResponseInner) SetPendingPasswordRequestIdNil() { - o.PendingPasswordRequestId.Set(nil) -} - -// UnsetPendingPasswordRequestId ensures that no value is present for PendingPasswordRequestId, not even an explicit nil -func (o *ListAccounts200ResponseInner) UnsetPendingPasswordRequestId() { - o.PendingPasswordRequestId.Unset() -} - -// GetPasswordChangeStatus returns the PasswordChangeStatus field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetPasswordChangeStatus() string { - if o == nil || isNil(o.PasswordChangeStatus) { - var ret string - return ret - } - return *o.PasswordChangeStatus -} - -// GetPasswordChangeStatusOk returns a tuple with the PasswordChangeStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetPasswordChangeStatusOk() (*string, bool) { - if o == nil || isNil(o.PasswordChangeStatus) { - return nil, false - } - return o.PasswordChangeStatus, true -} - -// HasPasswordChangeStatus returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasPasswordChangeStatus() bool { - if o != nil && !isNil(o.PasswordChangeStatus) { - return true - } - - return false -} - -// SetPasswordChangeStatus gets a reference to the given string and assigns it to the PasswordChangeStatus field. -func (o *ListAccounts200ResponseInner) SetPasswordChangeStatus(v string) { - o.PasswordChangeStatus = &v -} - -// GetPasswordChangeResult returns the PasswordChangeResult field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInner) GetPasswordChangeResult() ListAccounts200ResponseInnerPasswordChangeResult { - if o == nil || isNil(o.PasswordChangeResult) { - var ret ListAccounts200ResponseInnerPasswordChangeResult - return ret - } - return *o.PasswordChangeResult -} - -// GetPasswordChangeResultOk returns a tuple with the PasswordChangeResult field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInner) GetPasswordChangeResultOk() (*ListAccounts200ResponseInnerPasswordChangeResult, bool) { - if o == nil || isNil(o.PasswordChangeResult) { - return nil, false - } - return o.PasswordChangeResult, true -} - -// HasPasswordChangeResult returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInner) HasPasswordChangeResult() bool { - if o != nil && !isNil(o.PasswordChangeResult) { - return true - } - - return false -} - -// SetPasswordChangeResult gets a reference to the given ListAccounts200ResponseInnerPasswordChangeResult and assigns it to the PasswordChangeResult field. -func (o *ListAccounts200ResponseInner) SetPasswordChangeResult(v ListAccounts200ResponseInnerPasswordChangeResult) { - o.PasswordChangeResult = &v -} - -func (o ListAccounts200ResponseInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListAccounts200ResponseInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.Type) { - toSerialize["type"] = o.Type - } - if !isNil(o.DisplayName) { - toSerialize["displayName"] = o.DisplayName - } - if !isNil(o.Username) { - toSerialize["username"] = o.Username - } - if !isNil(o.PasswordRequired) { - toSerialize["passwordRequired"] = o.PasswordRequired - } - if !isNil(o.PasswordProvided) { - toSerialize["passwordProvided"] = o.PasswordProvided - } - if !isNil(o.Apps) { - toSerialize["apps"] = o.Apps - } - if !isNil(o.SsoMethod) { - toSerialize["ssoMethod"] = o.SsoMethod - } - if !isNil(o.IdEncryption) { - toSerialize["idEncryption"] = o.IdEncryption - } - if !isNil(o.PasswordEncryption) { - toSerialize["passwordEncryption"] = o.PasswordEncryption - } - if o.LastPasswdChange.IsSet() { - toSerialize["lastPasswdChange"] = o.LastPasswdChange.Get() - } - if !isNil(o.ServiceName) { - toSerialize["serviceName"] = o.ServiceName - } - if o.DateDisabled.IsSet() { - toSerialize["dateDisabled"] = o.DateDisabled.Get() - } - if !isNil(o.AccountServiceId) { - toSerialize["accountServiceId"] = o.AccountServiceId - } - if !isNil(o.ServiceId) { - toSerialize["serviceId"] = o.ServiceId - } - if o.PendingPasswordRequestId.IsSet() { - toSerialize["pendingPasswordRequestId"] = o.PendingPasswordRequestId.Get() - } - if !isNil(o.PasswordChangeStatus) { - toSerialize["passwordChangeStatus"] = o.PasswordChangeStatus - } - if !isNil(o.PasswordChangeResult) { - toSerialize["passwordChangeResult"] = o.PasswordChangeResult - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListAccounts200ResponseInner) UnmarshalJSON(bytes []byte) (err error) { - varListAccounts200ResponseInner := _ListAccounts200ResponseInner{} - - if err = json.Unmarshal(bytes, &varListAccounts200ResponseInner); err == nil { - *o = ListAccounts200ResponseInner(varListAccounts200ResponseInner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "id") - delete(additionalProperties, "type") - delete(additionalProperties, "displayName") - delete(additionalProperties, "username") - delete(additionalProperties, "passwordRequired") - delete(additionalProperties, "passwordProvided") - delete(additionalProperties, "apps") - delete(additionalProperties, "ssoMethod") - delete(additionalProperties, "idEncryption") - delete(additionalProperties, "passwordEncryption") - delete(additionalProperties, "lastPasswdChange") - delete(additionalProperties, "serviceName") - delete(additionalProperties, "dateDisabled") - delete(additionalProperties, "accountServiceId") - delete(additionalProperties, "serviceId") - delete(additionalProperties, "pendingPasswordRequestId") - delete(additionalProperties, "passwordChangeStatus") - delete(additionalProperties, "passwordChangeResult") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListAccounts200ResponseInner struct { - value *ListAccounts200ResponseInner - isSet bool -} - -func (v NullableListAccounts200ResponseInner) Get() *ListAccounts200ResponseInner { - return v.value -} - -func (v *NullableListAccounts200ResponseInner) Set(val *ListAccounts200ResponseInner) { - v.value = val - v.isSet = true -} - -func (v NullableListAccounts200ResponseInner) IsSet() bool { - return v.isSet -} - -func (v *NullableListAccounts200ResponseInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListAccounts200ResponseInner(val *ListAccounts200ResponseInner) *NullableListAccounts200ResponseInner { - return &NullableListAccounts200ResponseInner{value: val, isSet: true} -} - -func (v NullableListAccounts200ResponseInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListAccounts200ResponseInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_list_accounts_200_response_inner_password_change_result.go b/api_cc/model_list_accounts_200_response_inner_password_change_result.go deleted file mode 100644 index 5dc0f5d55..000000000 --- a/api_cc/model_list_accounts_200_response_inner_password_change_result.go +++ /dev/null @@ -1,151 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the ListAccounts200ResponseInnerPasswordChangeResult type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListAccounts200ResponseInnerPasswordChangeResult{} - -// ListAccounts200ResponseInnerPasswordChangeResult struct for ListAccounts200ResponseInnerPasswordChangeResult -type ListAccounts200ResponseInnerPasswordChangeResult struct { - CompletionStatus *string `json:"completionStatus,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListAccounts200ResponseInnerPasswordChangeResult ListAccounts200ResponseInnerPasswordChangeResult - -// NewListAccounts200ResponseInnerPasswordChangeResult instantiates a new ListAccounts200ResponseInnerPasswordChangeResult object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListAccounts200ResponseInnerPasswordChangeResult() *ListAccounts200ResponseInnerPasswordChangeResult { - this := ListAccounts200ResponseInnerPasswordChangeResult{} - return &this -} - -// NewListAccounts200ResponseInnerPasswordChangeResultWithDefaults instantiates a new ListAccounts200ResponseInnerPasswordChangeResult object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListAccounts200ResponseInnerPasswordChangeResultWithDefaults() *ListAccounts200ResponseInnerPasswordChangeResult { - this := ListAccounts200ResponseInnerPasswordChangeResult{} - return &this -} - -// GetCompletionStatus returns the CompletionStatus field value if set, zero value otherwise. -func (o *ListAccounts200ResponseInnerPasswordChangeResult) GetCompletionStatus() string { - if o == nil || isNil(o.CompletionStatus) { - var ret string - return ret - } - return *o.CompletionStatus -} - -// GetCompletionStatusOk returns a tuple with the CompletionStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListAccounts200ResponseInnerPasswordChangeResult) GetCompletionStatusOk() (*string, bool) { - if o == nil || isNil(o.CompletionStatus) { - return nil, false - } - return o.CompletionStatus, true -} - -// HasCompletionStatus returns a boolean if a field has been set. -func (o *ListAccounts200ResponseInnerPasswordChangeResult) HasCompletionStatus() bool { - if o != nil && !isNil(o.CompletionStatus) { - return true - } - - return false -} - -// SetCompletionStatus gets a reference to the given string and assigns it to the CompletionStatus field. -func (o *ListAccounts200ResponseInnerPasswordChangeResult) SetCompletionStatus(v string) { - o.CompletionStatus = &v -} - -func (o ListAccounts200ResponseInnerPasswordChangeResult) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListAccounts200ResponseInnerPasswordChangeResult) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.CompletionStatus) { - toSerialize["completionStatus"] = o.CompletionStatus - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListAccounts200ResponseInnerPasswordChangeResult) UnmarshalJSON(bytes []byte) (err error) { - varListAccounts200ResponseInnerPasswordChangeResult := _ListAccounts200ResponseInnerPasswordChangeResult{} - - if err = json.Unmarshal(bytes, &varListAccounts200ResponseInnerPasswordChangeResult); err == nil { - *o = ListAccounts200ResponseInnerPasswordChangeResult(varListAccounts200ResponseInnerPasswordChangeResult) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "completionStatus") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListAccounts200ResponseInnerPasswordChangeResult struct { - value *ListAccounts200ResponseInnerPasswordChangeResult - isSet bool -} - -func (v NullableListAccounts200ResponseInnerPasswordChangeResult) Get() *ListAccounts200ResponseInnerPasswordChangeResult { - return v.value -} - -func (v *NullableListAccounts200ResponseInnerPasswordChangeResult) Set(val *ListAccounts200ResponseInnerPasswordChangeResult) { - v.value = val - v.isSet = true -} - -func (v NullableListAccounts200ResponseInnerPasswordChangeResult) IsSet() bool { - return v.isSet -} - -func (v *NullableListAccounts200ResponseInnerPasswordChangeResult) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListAccounts200ResponseInnerPasswordChangeResult(val *ListAccounts200ResponseInnerPasswordChangeResult) *NullableListAccounts200ResponseInnerPasswordChangeResult { - return &NullableListAccounts200ResponseInnerPasswordChangeResult{value: val, isSet: true} -} - -func (v NullableListAccounts200ResponseInnerPasswordChangeResult) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListAccounts200ResponseInnerPasswordChangeResult) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_list_applications_200_response_inner.go b/api_cc/model_list_applications_200_response_inner.go deleted file mode 100644 index 1205bd832..000000000 --- a/api_cc/model_list_applications_200_response_inner.go +++ /dev/null @@ -1,1964 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the ListApplications200ResponseInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListApplications200ResponseInner{} - -// ListApplications200ResponseInner struct for ListApplications200ResponseInner -type ListApplications200ResponseInner struct { - Id *string `json:"id,omitempty"` - AppId *string `json:"appId,omitempty"` - ServiceId *string `json:"serviceId,omitempty"` - ServiceAppId *string `json:"serviceAppId,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - AppCenterEnabled *bool `json:"appCenterEnabled,omitempty"` - ProvisionRequestEnabled *bool `json:"provisionRequestEnabled,omitempty"` - ControlType *string `json:"controlType,omitempty"` - Mobile *bool `json:"mobile,omitempty"` - PrivateApp *bool `json:"privateApp,omitempty"` - ScriptName *string `json:"scriptName,omitempty"` - Status *string `json:"status,omitempty"` - Icon *string `json:"icon,omitempty"` - Health *ListApplications200ResponseInnerHealth `json:"health,omitempty"` - EnableSso *bool `json:"enableSso,omitempty"` - SsoMethod *string `json:"ssoMethod,omitempty"` - HasLinks *bool `json:"hasLinks,omitempty"` - HasAutomations *bool `json:"hasAutomations,omitempty"` - StepUpAuthData map[string]interface{} `json:"stepUpAuthData,omitempty"` - StepUpAuthType *string `json:"stepUpAuthType,omitempty"` - UsageAnalytics *bool `json:"usageAnalytics,omitempty"` - UsageCertRequired *bool `json:"usageCertRequired,omitempty"` - UsageCertText map[string]interface{} `json:"usageCertText,omitempty"` - LaunchpadEnabled *bool `json:"launchpadEnabled,omitempty"` - PasswordManaged *bool `json:"passwordManaged,omitempty"` - Owner *ListApplications200ResponseInnerOwner `json:"owner,omitempty"` - DateCreated *float32 `json:"dateCreated,omitempty"` - LastUpdated *float32 `json:"lastUpdated,omitempty"` - DefaultAccessProfile map[string]interface{} `json:"defaultAccessProfile,omitempty"` - Service *string `json:"service,omitempty"` - SelectedSsoMethod *string `json:"selectedSsoMethod,omitempty"` - SupportedSsoMethods *float32 `json:"supportedSsoMethods,omitempty"` - OffNetworkBlockedRoles map[string]interface{} `json:"offNetworkBlockedRoles,omitempty"` - SupportedOffNetwork *string `json:"supportedOffNetwork,omitempty"` - AccountServiceId *float32 `json:"accountServiceId,omitempty"` - LauncherCount *float32 `json:"launcherCount,omitempty"` - AccountServiceName *string `json:"accountServiceName,omitempty"` - AccountServiceExternalId *string `json:"accountServiceExternalId,omitempty"` - AccountServiceMatchAllAccounts *bool `json:"accountServiceMatchAllAccounts,omitempty"` - ExternalId *string `json:"externalId,omitempty"` - AccountServiceUseForPasswordManagement *bool `json:"accountServiceUseForPasswordManagement,omitempty"` - AccountServicePolicyId *string `json:"accountServicePolicyId,omitempty"` - AccountServicePolicyName *string `json:"accountServicePolicyName,omitempty"` - RequireStrongAuthn *bool `json:"requireStrongAuthn,omitempty"` - AccountServicePolicies []ListApplications200ResponseInnerAccountServicePoliciesInner `json:"accountServicePolicies,omitempty"` - XsdVersion *string `json:"xsdVersion,omitempty"` - AppProfiles []ListApplications200ResponseInnerAppProfilesInner `json:"appProfiles,omitempty"` - PasswordServiceId *float32 `json:"passwordServiceId,omitempty"` - AccessProfileIds []string `json:"accessProfileIds,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListApplications200ResponseInner ListApplications200ResponseInner - -// NewListApplications200ResponseInner instantiates a new ListApplications200ResponseInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListApplications200ResponseInner() *ListApplications200ResponseInner { - this := ListApplications200ResponseInner{} - return &this -} - -// NewListApplications200ResponseInnerWithDefaults instantiates a new ListApplications200ResponseInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListApplications200ResponseInnerWithDefaults() *ListApplications200ResponseInner { - this := ListApplications200ResponseInner{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetId() string { - if o == nil || isNil(o.Id) { - var ret string - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetIdOk() (*string, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given string and assigns it to the Id field. -func (o *ListApplications200ResponseInner) SetId(v string) { - o.Id = &v -} - -// GetAppId returns the AppId field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAppId() string { - if o == nil || isNil(o.AppId) { - var ret string - return ret - } - return *o.AppId -} - -// GetAppIdOk returns a tuple with the AppId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAppIdOk() (*string, bool) { - if o == nil || isNil(o.AppId) { - return nil, false - } - return o.AppId, true -} - -// HasAppId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAppId() bool { - if o != nil && !isNil(o.AppId) { - return true - } - - return false -} - -// SetAppId gets a reference to the given string and assigns it to the AppId field. -func (o *ListApplications200ResponseInner) SetAppId(v string) { - o.AppId = &v -} - -// GetServiceId returns the ServiceId field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetServiceId() string { - if o == nil || isNil(o.ServiceId) { - var ret string - return ret - } - return *o.ServiceId -} - -// GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetServiceIdOk() (*string, bool) { - if o == nil || isNil(o.ServiceId) { - return nil, false - } - return o.ServiceId, true -} - -// HasServiceId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasServiceId() bool { - if o != nil && !isNil(o.ServiceId) { - return true - } - - return false -} - -// SetServiceId gets a reference to the given string and assigns it to the ServiceId field. -func (o *ListApplications200ResponseInner) SetServiceId(v string) { - o.ServiceId = &v -} - -// GetServiceAppId returns the ServiceAppId field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetServiceAppId() string { - if o == nil || isNil(o.ServiceAppId) { - var ret string - return ret - } - return *o.ServiceAppId -} - -// GetServiceAppIdOk returns a tuple with the ServiceAppId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetServiceAppIdOk() (*string, bool) { - if o == nil || isNil(o.ServiceAppId) { - return nil, false - } - return o.ServiceAppId, true -} - -// HasServiceAppId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasServiceAppId() bool { - if o != nil && !isNil(o.ServiceAppId) { - return true - } - - return false -} - -// SetServiceAppId gets a reference to the given string and assigns it to the ServiceAppId field. -func (o *ListApplications200ResponseInner) SetServiceAppId(v string) { - o.ServiceAppId = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *ListApplications200ResponseInner) SetName(v string) { - o.Name = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetDescription() string { - if o == nil || isNil(o.Description) { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetDescriptionOk() (*string, bool) { - if o == nil || isNil(o.Description) { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasDescription() bool { - if o != nil && !isNil(o.Description) { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *ListApplications200ResponseInner) SetDescription(v string) { - o.Description = &v -} - -// GetAppCenterEnabled returns the AppCenterEnabled field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAppCenterEnabled() bool { - if o == nil || isNil(o.AppCenterEnabled) { - var ret bool - return ret - } - return *o.AppCenterEnabled -} - -// GetAppCenterEnabledOk returns a tuple with the AppCenterEnabled field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAppCenterEnabledOk() (*bool, bool) { - if o == nil || isNil(o.AppCenterEnabled) { - return nil, false - } - return o.AppCenterEnabled, true -} - -// HasAppCenterEnabled returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAppCenterEnabled() bool { - if o != nil && !isNil(o.AppCenterEnabled) { - return true - } - - return false -} - -// SetAppCenterEnabled gets a reference to the given bool and assigns it to the AppCenterEnabled field. -func (o *ListApplications200ResponseInner) SetAppCenterEnabled(v bool) { - o.AppCenterEnabled = &v -} - -// GetProvisionRequestEnabled returns the ProvisionRequestEnabled field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetProvisionRequestEnabled() bool { - if o == nil || isNil(o.ProvisionRequestEnabled) { - var ret bool - return ret - } - return *o.ProvisionRequestEnabled -} - -// GetProvisionRequestEnabledOk returns a tuple with the ProvisionRequestEnabled field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetProvisionRequestEnabledOk() (*bool, bool) { - if o == nil || isNil(o.ProvisionRequestEnabled) { - return nil, false - } - return o.ProvisionRequestEnabled, true -} - -// HasProvisionRequestEnabled returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasProvisionRequestEnabled() bool { - if o != nil && !isNil(o.ProvisionRequestEnabled) { - return true - } - - return false -} - -// SetProvisionRequestEnabled gets a reference to the given bool and assigns it to the ProvisionRequestEnabled field. -func (o *ListApplications200ResponseInner) SetProvisionRequestEnabled(v bool) { - o.ProvisionRequestEnabled = &v -} - -// GetControlType returns the ControlType field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetControlType() string { - if o == nil || isNil(o.ControlType) { - var ret string - return ret - } - return *o.ControlType -} - -// GetControlTypeOk returns a tuple with the ControlType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetControlTypeOk() (*string, bool) { - if o == nil || isNil(o.ControlType) { - return nil, false - } - return o.ControlType, true -} - -// HasControlType returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasControlType() bool { - if o != nil && !isNil(o.ControlType) { - return true - } - - return false -} - -// SetControlType gets a reference to the given string and assigns it to the ControlType field. -func (o *ListApplications200ResponseInner) SetControlType(v string) { - o.ControlType = &v -} - -// GetMobile returns the Mobile field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetMobile() bool { - if o == nil || isNil(o.Mobile) { - var ret bool - return ret - } - return *o.Mobile -} - -// GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetMobileOk() (*bool, bool) { - if o == nil || isNil(o.Mobile) { - return nil, false - } - return o.Mobile, true -} - -// HasMobile returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasMobile() bool { - if o != nil && !isNil(o.Mobile) { - return true - } - - return false -} - -// SetMobile gets a reference to the given bool and assigns it to the Mobile field. -func (o *ListApplications200ResponseInner) SetMobile(v bool) { - o.Mobile = &v -} - -// GetPrivateApp returns the PrivateApp field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetPrivateApp() bool { - if o == nil || isNil(o.PrivateApp) { - var ret bool - return ret - } - return *o.PrivateApp -} - -// GetPrivateAppOk returns a tuple with the PrivateApp field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetPrivateAppOk() (*bool, bool) { - if o == nil || isNil(o.PrivateApp) { - return nil, false - } - return o.PrivateApp, true -} - -// HasPrivateApp returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasPrivateApp() bool { - if o != nil && !isNil(o.PrivateApp) { - return true - } - - return false -} - -// SetPrivateApp gets a reference to the given bool and assigns it to the PrivateApp field. -func (o *ListApplications200ResponseInner) SetPrivateApp(v bool) { - o.PrivateApp = &v -} - -// GetScriptName returns the ScriptName field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetScriptName() string { - if o == nil || isNil(o.ScriptName) { - var ret string - return ret - } - return *o.ScriptName -} - -// GetScriptNameOk returns a tuple with the ScriptName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetScriptNameOk() (*string, bool) { - if o == nil || isNil(o.ScriptName) { - return nil, false - } - return o.ScriptName, true -} - -// HasScriptName returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasScriptName() bool { - if o != nil && !isNil(o.ScriptName) { - return true - } - - return false -} - -// SetScriptName gets a reference to the given string and assigns it to the ScriptName field. -func (o *ListApplications200ResponseInner) SetScriptName(v string) { - o.ScriptName = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetStatus() string { - if o == nil || isNil(o.Status) { - var ret string - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetStatusOk() (*string, bool) { - if o == nil || isNil(o.Status) { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasStatus() bool { - if o != nil && !isNil(o.Status) { - return true - } - - return false -} - -// SetStatus gets a reference to the given string and assigns it to the Status field. -func (o *ListApplications200ResponseInner) SetStatus(v string) { - o.Status = &v -} - -// GetIcon returns the Icon field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetIcon() string { - if o == nil || isNil(o.Icon) { - var ret string - return ret - } - return *o.Icon -} - -// GetIconOk returns a tuple with the Icon field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetIconOk() (*string, bool) { - if o == nil || isNil(o.Icon) { - return nil, false - } - return o.Icon, true -} - -// HasIcon returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasIcon() bool { - if o != nil && !isNil(o.Icon) { - return true - } - - return false -} - -// SetIcon gets a reference to the given string and assigns it to the Icon field. -func (o *ListApplications200ResponseInner) SetIcon(v string) { - o.Icon = &v -} - -// GetHealth returns the Health field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetHealth() ListApplications200ResponseInnerHealth { - if o == nil || isNil(o.Health) { - var ret ListApplications200ResponseInnerHealth - return ret - } - return *o.Health -} - -// GetHealthOk returns a tuple with the Health field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetHealthOk() (*ListApplications200ResponseInnerHealth, bool) { - if o == nil || isNil(o.Health) { - return nil, false - } - return o.Health, true -} - -// HasHealth returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasHealth() bool { - if o != nil && !isNil(o.Health) { - return true - } - - return false -} - -// SetHealth gets a reference to the given ListApplications200ResponseInnerHealth and assigns it to the Health field. -func (o *ListApplications200ResponseInner) SetHealth(v ListApplications200ResponseInnerHealth) { - o.Health = &v -} - -// GetEnableSso returns the EnableSso field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetEnableSso() bool { - if o == nil || isNil(o.EnableSso) { - var ret bool - return ret - } - return *o.EnableSso -} - -// GetEnableSsoOk returns a tuple with the EnableSso field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetEnableSsoOk() (*bool, bool) { - if o == nil || isNil(o.EnableSso) { - return nil, false - } - return o.EnableSso, true -} - -// HasEnableSso returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasEnableSso() bool { - if o != nil && !isNil(o.EnableSso) { - return true - } - - return false -} - -// SetEnableSso gets a reference to the given bool and assigns it to the EnableSso field. -func (o *ListApplications200ResponseInner) SetEnableSso(v bool) { - o.EnableSso = &v -} - -// GetSsoMethod returns the SsoMethod field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetSsoMethod() string { - if o == nil || isNil(o.SsoMethod) { - var ret string - return ret - } - return *o.SsoMethod -} - -// GetSsoMethodOk returns a tuple with the SsoMethod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetSsoMethodOk() (*string, bool) { - if o == nil || isNil(o.SsoMethod) { - return nil, false - } - return o.SsoMethod, true -} - -// HasSsoMethod returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasSsoMethod() bool { - if o != nil && !isNil(o.SsoMethod) { - return true - } - - return false -} - -// SetSsoMethod gets a reference to the given string and assigns it to the SsoMethod field. -func (o *ListApplications200ResponseInner) SetSsoMethod(v string) { - o.SsoMethod = &v -} - -// GetHasLinks returns the HasLinks field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetHasLinks() bool { - if o == nil || isNil(o.HasLinks) { - var ret bool - return ret - } - return *o.HasLinks -} - -// GetHasLinksOk returns a tuple with the HasLinks field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetHasLinksOk() (*bool, bool) { - if o == nil || isNil(o.HasLinks) { - return nil, false - } - return o.HasLinks, true -} - -// HasHasLinks returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasHasLinks() bool { - if o != nil && !isNil(o.HasLinks) { - return true - } - - return false -} - -// SetHasLinks gets a reference to the given bool and assigns it to the HasLinks field. -func (o *ListApplications200ResponseInner) SetHasLinks(v bool) { - o.HasLinks = &v -} - -// GetHasAutomations returns the HasAutomations field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetHasAutomations() bool { - if o == nil || isNil(o.HasAutomations) { - var ret bool - return ret - } - return *o.HasAutomations -} - -// GetHasAutomationsOk returns a tuple with the HasAutomations field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetHasAutomationsOk() (*bool, bool) { - if o == nil || isNil(o.HasAutomations) { - return nil, false - } - return o.HasAutomations, true -} - -// HasHasAutomations returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasHasAutomations() bool { - if o != nil && !isNil(o.HasAutomations) { - return true - } - - return false -} - -// SetHasAutomations gets a reference to the given bool and assigns it to the HasAutomations field. -func (o *ListApplications200ResponseInner) SetHasAutomations(v bool) { - o.HasAutomations = &v -} - -// GetStepUpAuthData returns the StepUpAuthData field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetStepUpAuthData() map[string]interface{} { - if o == nil || isNil(o.StepUpAuthData) { - var ret map[string]interface{} - return ret - } - return o.StepUpAuthData -} - -// GetStepUpAuthDataOk returns a tuple with the StepUpAuthData field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetStepUpAuthDataOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.StepUpAuthData) { - return map[string]interface{}{}, false - } - return o.StepUpAuthData, true -} - -// HasStepUpAuthData returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasStepUpAuthData() bool { - if o != nil && !isNil(o.StepUpAuthData) { - return true - } - - return false -} - -// SetStepUpAuthData gets a reference to the given map[string]interface{} and assigns it to the StepUpAuthData field. -func (o *ListApplications200ResponseInner) SetStepUpAuthData(v map[string]interface{}) { - o.StepUpAuthData = v -} - -// GetStepUpAuthType returns the StepUpAuthType field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetStepUpAuthType() string { - if o == nil || isNil(o.StepUpAuthType) { - var ret string - return ret - } - return *o.StepUpAuthType -} - -// GetStepUpAuthTypeOk returns a tuple with the StepUpAuthType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetStepUpAuthTypeOk() (*string, bool) { - if o == nil || isNil(o.StepUpAuthType) { - return nil, false - } - return o.StepUpAuthType, true -} - -// HasStepUpAuthType returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasStepUpAuthType() bool { - if o != nil && !isNil(o.StepUpAuthType) { - return true - } - - return false -} - -// SetStepUpAuthType gets a reference to the given string and assigns it to the StepUpAuthType field. -func (o *ListApplications200ResponseInner) SetStepUpAuthType(v string) { - o.StepUpAuthType = &v -} - -// GetUsageAnalytics returns the UsageAnalytics field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetUsageAnalytics() bool { - if o == nil || isNil(o.UsageAnalytics) { - var ret bool - return ret - } - return *o.UsageAnalytics -} - -// GetUsageAnalyticsOk returns a tuple with the UsageAnalytics field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetUsageAnalyticsOk() (*bool, bool) { - if o == nil || isNil(o.UsageAnalytics) { - return nil, false - } - return o.UsageAnalytics, true -} - -// HasUsageAnalytics returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasUsageAnalytics() bool { - if o != nil && !isNil(o.UsageAnalytics) { - return true - } - - return false -} - -// SetUsageAnalytics gets a reference to the given bool and assigns it to the UsageAnalytics field. -func (o *ListApplications200ResponseInner) SetUsageAnalytics(v bool) { - o.UsageAnalytics = &v -} - -// GetUsageCertRequired returns the UsageCertRequired field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetUsageCertRequired() bool { - if o == nil || isNil(o.UsageCertRequired) { - var ret bool - return ret - } - return *o.UsageCertRequired -} - -// GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetUsageCertRequiredOk() (*bool, bool) { - if o == nil || isNil(o.UsageCertRequired) { - return nil, false - } - return o.UsageCertRequired, true -} - -// HasUsageCertRequired returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasUsageCertRequired() bool { - if o != nil && !isNil(o.UsageCertRequired) { - return true - } - - return false -} - -// SetUsageCertRequired gets a reference to the given bool and assigns it to the UsageCertRequired field. -func (o *ListApplications200ResponseInner) SetUsageCertRequired(v bool) { - o.UsageCertRequired = &v -} - -// GetUsageCertText returns the UsageCertText field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetUsageCertText() map[string]interface{} { - if o == nil || isNil(o.UsageCertText) { - var ret map[string]interface{} - return ret - } - return o.UsageCertText -} - -// GetUsageCertTextOk returns a tuple with the UsageCertText field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetUsageCertTextOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.UsageCertText) { - return map[string]interface{}{}, false - } - return o.UsageCertText, true -} - -// HasUsageCertText returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasUsageCertText() bool { - if o != nil && !isNil(o.UsageCertText) { - return true - } - - return false -} - -// SetUsageCertText gets a reference to the given map[string]interface{} and assigns it to the UsageCertText field. -func (o *ListApplications200ResponseInner) SetUsageCertText(v map[string]interface{}) { - o.UsageCertText = v -} - -// GetLaunchpadEnabled returns the LaunchpadEnabled field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetLaunchpadEnabled() bool { - if o == nil || isNil(o.LaunchpadEnabled) { - var ret bool - return ret - } - return *o.LaunchpadEnabled -} - -// GetLaunchpadEnabledOk returns a tuple with the LaunchpadEnabled field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetLaunchpadEnabledOk() (*bool, bool) { - if o == nil || isNil(o.LaunchpadEnabled) { - return nil, false - } - return o.LaunchpadEnabled, true -} - -// HasLaunchpadEnabled returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasLaunchpadEnabled() bool { - if o != nil && !isNil(o.LaunchpadEnabled) { - return true - } - - return false -} - -// SetLaunchpadEnabled gets a reference to the given bool and assigns it to the LaunchpadEnabled field. -func (o *ListApplications200ResponseInner) SetLaunchpadEnabled(v bool) { - o.LaunchpadEnabled = &v -} - -// GetPasswordManaged returns the PasswordManaged field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetPasswordManaged() bool { - if o == nil || isNil(o.PasswordManaged) { - var ret bool - return ret - } - return *o.PasswordManaged -} - -// GetPasswordManagedOk returns a tuple with the PasswordManaged field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetPasswordManagedOk() (*bool, bool) { - if o == nil || isNil(o.PasswordManaged) { - return nil, false - } - return o.PasswordManaged, true -} - -// HasPasswordManaged returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasPasswordManaged() bool { - if o != nil && !isNil(o.PasswordManaged) { - return true - } - - return false -} - -// SetPasswordManaged gets a reference to the given bool and assigns it to the PasswordManaged field. -func (o *ListApplications200ResponseInner) SetPasswordManaged(v bool) { - o.PasswordManaged = &v -} - -// GetOwner returns the Owner field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetOwner() ListApplications200ResponseInnerOwner { - if o == nil || isNil(o.Owner) { - var ret ListApplications200ResponseInnerOwner - return ret - } - return *o.Owner -} - -// GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetOwnerOk() (*ListApplications200ResponseInnerOwner, bool) { - if o == nil || isNil(o.Owner) { - return nil, false - } - return o.Owner, true -} - -// HasOwner returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasOwner() bool { - if o != nil && !isNil(o.Owner) { - return true - } - - return false -} - -// SetOwner gets a reference to the given ListApplications200ResponseInnerOwner and assigns it to the Owner field. -func (o *ListApplications200ResponseInner) SetOwner(v ListApplications200ResponseInnerOwner) { - o.Owner = &v -} - -// GetDateCreated returns the DateCreated field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetDateCreated() float32 { - if o == nil || isNil(o.DateCreated) { - var ret float32 - return ret - } - return *o.DateCreated -} - -// GetDateCreatedOk returns a tuple with the DateCreated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetDateCreatedOk() (*float32, bool) { - if o == nil || isNil(o.DateCreated) { - return nil, false - } - return o.DateCreated, true -} - -// HasDateCreated returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasDateCreated() bool { - if o != nil && !isNil(o.DateCreated) { - return true - } - - return false -} - -// SetDateCreated gets a reference to the given float32 and assigns it to the DateCreated field. -func (o *ListApplications200ResponseInner) SetDateCreated(v float32) { - o.DateCreated = &v -} - -// GetLastUpdated returns the LastUpdated field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetLastUpdated() float32 { - if o == nil || isNil(o.LastUpdated) { - var ret float32 - return ret - } - return *o.LastUpdated -} - -// GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetLastUpdatedOk() (*float32, bool) { - if o == nil || isNil(o.LastUpdated) { - return nil, false - } - return o.LastUpdated, true -} - -// HasLastUpdated returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasLastUpdated() bool { - if o != nil && !isNil(o.LastUpdated) { - return true - } - - return false -} - -// SetLastUpdated gets a reference to the given float32 and assigns it to the LastUpdated field. -func (o *ListApplications200ResponseInner) SetLastUpdated(v float32) { - o.LastUpdated = &v -} - -// GetDefaultAccessProfile returns the DefaultAccessProfile field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetDefaultAccessProfile() map[string]interface{} { - if o == nil || isNil(o.DefaultAccessProfile) { - var ret map[string]interface{} - return ret - } - return o.DefaultAccessProfile -} - -// GetDefaultAccessProfileOk returns a tuple with the DefaultAccessProfile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetDefaultAccessProfileOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.DefaultAccessProfile) { - return map[string]interface{}{}, false - } - return o.DefaultAccessProfile, true -} - -// HasDefaultAccessProfile returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasDefaultAccessProfile() bool { - if o != nil && !isNil(o.DefaultAccessProfile) { - return true - } - - return false -} - -// SetDefaultAccessProfile gets a reference to the given map[string]interface{} and assigns it to the DefaultAccessProfile field. -func (o *ListApplications200ResponseInner) SetDefaultAccessProfile(v map[string]interface{}) { - o.DefaultAccessProfile = v -} - -// GetService returns the Service field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetService() string { - if o == nil || isNil(o.Service) { - var ret string - return ret - } - return *o.Service -} - -// GetServiceOk returns a tuple with the Service field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetServiceOk() (*string, bool) { - if o == nil || isNil(o.Service) { - return nil, false - } - return o.Service, true -} - -// HasService returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasService() bool { - if o != nil && !isNil(o.Service) { - return true - } - - return false -} - -// SetService gets a reference to the given string and assigns it to the Service field. -func (o *ListApplications200ResponseInner) SetService(v string) { - o.Service = &v -} - -// GetSelectedSsoMethod returns the SelectedSsoMethod field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetSelectedSsoMethod() string { - if o == nil || isNil(o.SelectedSsoMethod) { - var ret string - return ret - } - return *o.SelectedSsoMethod -} - -// GetSelectedSsoMethodOk returns a tuple with the SelectedSsoMethod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetSelectedSsoMethodOk() (*string, bool) { - if o == nil || isNil(o.SelectedSsoMethod) { - return nil, false - } - return o.SelectedSsoMethod, true -} - -// HasSelectedSsoMethod returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasSelectedSsoMethod() bool { - if o != nil && !isNil(o.SelectedSsoMethod) { - return true - } - - return false -} - -// SetSelectedSsoMethod gets a reference to the given string and assigns it to the SelectedSsoMethod field. -func (o *ListApplications200ResponseInner) SetSelectedSsoMethod(v string) { - o.SelectedSsoMethod = &v -} - -// GetSupportedSsoMethods returns the SupportedSsoMethods field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetSupportedSsoMethods() float32 { - if o == nil || isNil(o.SupportedSsoMethods) { - var ret float32 - return ret - } - return *o.SupportedSsoMethods -} - -// GetSupportedSsoMethodsOk returns a tuple with the SupportedSsoMethods field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetSupportedSsoMethodsOk() (*float32, bool) { - if o == nil || isNil(o.SupportedSsoMethods) { - return nil, false - } - return o.SupportedSsoMethods, true -} - -// HasSupportedSsoMethods returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasSupportedSsoMethods() bool { - if o != nil && !isNil(o.SupportedSsoMethods) { - return true - } - - return false -} - -// SetSupportedSsoMethods gets a reference to the given float32 and assigns it to the SupportedSsoMethods field. -func (o *ListApplications200ResponseInner) SetSupportedSsoMethods(v float32) { - o.SupportedSsoMethods = &v -} - -// GetOffNetworkBlockedRoles returns the OffNetworkBlockedRoles field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetOffNetworkBlockedRoles() map[string]interface{} { - if o == nil || isNil(o.OffNetworkBlockedRoles) { - var ret map[string]interface{} - return ret - } - return o.OffNetworkBlockedRoles -} - -// GetOffNetworkBlockedRolesOk returns a tuple with the OffNetworkBlockedRoles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetOffNetworkBlockedRolesOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.OffNetworkBlockedRoles) { - return map[string]interface{}{}, false - } - return o.OffNetworkBlockedRoles, true -} - -// HasOffNetworkBlockedRoles returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasOffNetworkBlockedRoles() bool { - if o != nil && !isNil(o.OffNetworkBlockedRoles) { - return true - } - - return false -} - -// SetOffNetworkBlockedRoles gets a reference to the given map[string]interface{} and assigns it to the OffNetworkBlockedRoles field. -func (o *ListApplications200ResponseInner) SetOffNetworkBlockedRoles(v map[string]interface{}) { - o.OffNetworkBlockedRoles = v -} - -// GetSupportedOffNetwork returns the SupportedOffNetwork field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetSupportedOffNetwork() string { - if o == nil || isNil(o.SupportedOffNetwork) { - var ret string - return ret - } - return *o.SupportedOffNetwork -} - -// GetSupportedOffNetworkOk returns a tuple with the SupportedOffNetwork field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetSupportedOffNetworkOk() (*string, bool) { - if o == nil || isNil(o.SupportedOffNetwork) { - return nil, false - } - return o.SupportedOffNetwork, true -} - -// HasSupportedOffNetwork returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasSupportedOffNetwork() bool { - if o != nil && !isNil(o.SupportedOffNetwork) { - return true - } - - return false -} - -// SetSupportedOffNetwork gets a reference to the given string and assigns it to the SupportedOffNetwork field. -func (o *ListApplications200ResponseInner) SetSupportedOffNetwork(v string) { - o.SupportedOffNetwork = &v -} - -// GetAccountServiceId returns the AccountServiceId field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAccountServiceId() float32 { - if o == nil || isNil(o.AccountServiceId) { - var ret float32 - return ret - } - return *o.AccountServiceId -} - -// GetAccountServiceIdOk returns a tuple with the AccountServiceId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAccountServiceIdOk() (*float32, bool) { - if o == nil || isNil(o.AccountServiceId) { - return nil, false - } - return o.AccountServiceId, true -} - -// HasAccountServiceId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAccountServiceId() bool { - if o != nil && !isNil(o.AccountServiceId) { - return true - } - - return false -} - -// SetAccountServiceId gets a reference to the given float32 and assigns it to the AccountServiceId field. -func (o *ListApplications200ResponseInner) SetAccountServiceId(v float32) { - o.AccountServiceId = &v -} - -// GetLauncherCount returns the LauncherCount field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetLauncherCount() float32 { - if o == nil || isNil(o.LauncherCount) { - var ret float32 - return ret - } - return *o.LauncherCount -} - -// GetLauncherCountOk returns a tuple with the LauncherCount field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetLauncherCountOk() (*float32, bool) { - if o == nil || isNil(o.LauncherCount) { - return nil, false - } - return o.LauncherCount, true -} - -// HasLauncherCount returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasLauncherCount() bool { - if o != nil && !isNil(o.LauncherCount) { - return true - } - - return false -} - -// SetLauncherCount gets a reference to the given float32 and assigns it to the LauncherCount field. -func (o *ListApplications200ResponseInner) SetLauncherCount(v float32) { - o.LauncherCount = &v -} - -// GetAccountServiceName returns the AccountServiceName field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAccountServiceName() string { - if o == nil || isNil(o.AccountServiceName) { - var ret string - return ret - } - return *o.AccountServiceName -} - -// GetAccountServiceNameOk returns a tuple with the AccountServiceName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAccountServiceNameOk() (*string, bool) { - if o == nil || isNil(o.AccountServiceName) { - return nil, false - } - return o.AccountServiceName, true -} - -// HasAccountServiceName returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAccountServiceName() bool { - if o != nil && !isNil(o.AccountServiceName) { - return true - } - - return false -} - -// SetAccountServiceName gets a reference to the given string and assigns it to the AccountServiceName field. -func (o *ListApplications200ResponseInner) SetAccountServiceName(v string) { - o.AccountServiceName = &v -} - -// GetAccountServiceExternalId returns the AccountServiceExternalId field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAccountServiceExternalId() string { - if o == nil || isNil(o.AccountServiceExternalId) { - var ret string - return ret - } - return *o.AccountServiceExternalId -} - -// GetAccountServiceExternalIdOk returns a tuple with the AccountServiceExternalId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAccountServiceExternalIdOk() (*string, bool) { - if o == nil || isNil(o.AccountServiceExternalId) { - return nil, false - } - return o.AccountServiceExternalId, true -} - -// HasAccountServiceExternalId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAccountServiceExternalId() bool { - if o != nil && !isNil(o.AccountServiceExternalId) { - return true - } - - return false -} - -// SetAccountServiceExternalId gets a reference to the given string and assigns it to the AccountServiceExternalId field. -func (o *ListApplications200ResponseInner) SetAccountServiceExternalId(v string) { - o.AccountServiceExternalId = &v -} - -// GetAccountServiceMatchAllAccounts returns the AccountServiceMatchAllAccounts field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAccountServiceMatchAllAccounts() bool { - if o == nil || isNil(o.AccountServiceMatchAllAccounts) { - var ret bool - return ret - } - return *o.AccountServiceMatchAllAccounts -} - -// GetAccountServiceMatchAllAccountsOk returns a tuple with the AccountServiceMatchAllAccounts field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAccountServiceMatchAllAccountsOk() (*bool, bool) { - if o == nil || isNil(o.AccountServiceMatchAllAccounts) { - return nil, false - } - return o.AccountServiceMatchAllAccounts, true -} - -// HasAccountServiceMatchAllAccounts returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAccountServiceMatchAllAccounts() bool { - if o != nil && !isNil(o.AccountServiceMatchAllAccounts) { - return true - } - - return false -} - -// SetAccountServiceMatchAllAccounts gets a reference to the given bool and assigns it to the AccountServiceMatchAllAccounts field. -func (o *ListApplications200ResponseInner) SetAccountServiceMatchAllAccounts(v bool) { - o.AccountServiceMatchAllAccounts = &v -} - -// GetExternalId returns the ExternalId field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetExternalId() string { - if o == nil || isNil(o.ExternalId) { - var ret string - return ret - } - return *o.ExternalId -} - -// GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetExternalIdOk() (*string, bool) { - if o == nil || isNil(o.ExternalId) { - return nil, false - } - return o.ExternalId, true -} - -// HasExternalId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasExternalId() bool { - if o != nil && !isNil(o.ExternalId) { - return true - } - - return false -} - -// SetExternalId gets a reference to the given string and assigns it to the ExternalId field. -func (o *ListApplications200ResponseInner) SetExternalId(v string) { - o.ExternalId = &v -} - -// GetAccountServiceUseForPasswordManagement returns the AccountServiceUseForPasswordManagement field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAccountServiceUseForPasswordManagement() bool { - if o == nil || isNil(o.AccountServiceUseForPasswordManagement) { - var ret bool - return ret - } - return *o.AccountServiceUseForPasswordManagement -} - -// GetAccountServiceUseForPasswordManagementOk returns a tuple with the AccountServiceUseForPasswordManagement field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAccountServiceUseForPasswordManagementOk() (*bool, bool) { - if o == nil || isNil(o.AccountServiceUseForPasswordManagement) { - return nil, false - } - return o.AccountServiceUseForPasswordManagement, true -} - -// HasAccountServiceUseForPasswordManagement returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAccountServiceUseForPasswordManagement() bool { - if o != nil && !isNil(o.AccountServiceUseForPasswordManagement) { - return true - } - - return false -} - -// SetAccountServiceUseForPasswordManagement gets a reference to the given bool and assigns it to the AccountServiceUseForPasswordManagement field. -func (o *ListApplications200ResponseInner) SetAccountServiceUseForPasswordManagement(v bool) { - o.AccountServiceUseForPasswordManagement = &v -} - -// GetAccountServicePolicyId returns the AccountServicePolicyId field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAccountServicePolicyId() string { - if o == nil || isNil(o.AccountServicePolicyId) { - var ret string - return ret - } - return *o.AccountServicePolicyId -} - -// GetAccountServicePolicyIdOk returns a tuple with the AccountServicePolicyId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAccountServicePolicyIdOk() (*string, bool) { - if o == nil || isNil(o.AccountServicePolicyId) { - return nil, false - } - return o.AccountServicePolicyId, true -} - -// HasAccountServicePolicyId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAccountServicePolicyId() bool { - if o != nil && !isNil(o.AccountServicePolicyId) { - return true - } - - return false -} - -// SetAccountServicePolicyId gets a reference to the given string and assigns it to the AccountServicePolicyId field. -func (o *ListApplications200ResponseInner) SetAccountServicePolicyId(v string) { - o.AccountServicePolicyId = &v -} - -// GetAccountServicePolicyName returns the AccountServicePolicyName field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAccountServicePolicyName() string { - if o == nil || isNil(o.AccountServicePolicyName) { - var ret string - return ret - } - return *o.AccountServicePolicyName -} - -// GetAccountServicePolicyNameOk returns a tuple with the AccountServicePolicyName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAccountServicePolicyNameOk() (*string, bool) { - if o == nil || isNil(o.AccountServicePolicyName) { - return nil, false - } - return o.AccountServicePolicyName, true -} - -// HasAccountServicePolicyName returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAccountServicePolicyName() bool { - if o != nil && !isNil(o.AccountServicePolicyName) { - return true - } - - return false -} - -// SetAccountServicePolicyName gets a reference to the given string and assigns it to the AccountServicePolicyName field. -func (o *ListApplications200ResponseInner) SetAccountServicePolicyName(v string) { - o.AccountServicePolicyName = &v -} - -// GetRequireStrongAuthn returns the RequireStrongAuthn field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetRequireStrongAuthn() bool { - if o == nil || isNil(o.RequireStrongAuthn) { - var ret bool - return ret - } - return *o.RequireStrongAuthn -} - -// GetRequireStrongAuthnOk returns a tuple with the RequireStrongAuthn field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetRequireStrongAuthnOk() (*bool, bool) { - if o == nil || isNil(o.RequireStrongAuthn) { - return nil, false - } - return o.RequireStrongAuthn, true -} - -// HasRequireStrongAuthn returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasRequireStrongAuthn() bool { - if o != nil && !isNil(o.RequireStrongAuthn) { - return true - } - - return false -} - -// SetRequireStrongAuthn gets a reference to the given bool and assigns it to the RequireStrongAuthn field. -func (o *ListApplications200ResponseInner) SetRequireStrongAuthn(v bool) { - o.RequireStrongAuthn = &v -} - -// GetAccountServicePolicies returns the AccountServicePolicies field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAccountServicePolicies() []ListApplications200ResponseInnerAccountServicePoliciesInner { - if o == nil || isNil(o.AccountServicePolicies) { - var ret []ListApplications200ResponseInnerAccountServicePoliciesInner - return ret - } - return o.AccountServicePolicies -} - -// GetAccountServicePoliciesOk returns a tuple with the AccountServicePolicies field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAccountServicePoliciesOk() ([]ListApplications200ResponseInnerAccountServicePoliciesInner, bool) { - if o == nil || isNil(o.AccountServicePolicies) { - return nil, false - } - return o.AccountServicePolicies, true -} - -// HasAccountServicePolicies returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAccountServicePolicies() bool { - if o != nil && !isNil(o.AccountServicePolicies) { - return true - } - - return false -} - -// SetAccountServicePolicies gets a reference to the given []ListApplications200ResponseInnerAccountServicePoliciesInner and assigns it to the AccountServicePolicies field. -func (o *ListApplications200ResponseInner) SetAccountServicePolicies(v []ListApplications200ResponseInnerAccountServicePoliciesInner) { - o.AccountServicePolicies = v -} - -// GetXsdVersion returns the XsdVersion field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetXsdVersion() string { - if o == nil || isNil(o.XsdVersion) { - var ret string - return ret - } - return *o.XsdVersion -} - -// GetXsdVersionOk returns a tuple with the XsdVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetXsdVersionOk() (*string, bool) { - if o == nil || isNil(o.XsdVersion) { - return nil, false - } - return o.XsdVersion, true -} - -// HasXsdVersion returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasXsdVersion() bool { - if o != nil && !isNil(o.XsdVersion) { - return true - } - - return false -} - -// SetXsdVersion gets a reference to the given string and assigns it to the XsdVersion field. -func (o *ListApplications200ResponseInner) SetXsdVersion(v string) { - o.XsdVersion = &v -} - -// GetAppProfiles returns the AppProfiles field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAppProfiles() []ListApplications200ResponseInnerAppProfilesInner { - if o == nil || isNil(o.AppProfiles) { - var ret []ListApplications200ResponseInnerAppProfilesInner - return ret - } - return o.AppProfiles -} - -// GetAppProfilesOk returns a tuple with the AppProfiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAppProfilesOk() ([]ListApplications200ResponseInnerAppProfilesInner, bool) { - if o == nil || isNil(o.AppProfiles) { - return nil, false - } - return o.AppProfiles, true -} - -// HasAppProfiles returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAppProfiles() bool { - if o != nil && !isNil(o.AppProfiles) { - return true - } - - return false -} - -// SetAppProfiles gets a reference to the given []ListApplications200ResponseInnerAppProfilesInner and assigns it to the AppProfiles field. -func (o *ListApplications200ResponseInner) SetAppProfiles(v []ListApplications200ResponseInnerAppProfilesInner) { - o.AppProfiles = v -} - -// GetPasswordServiceId returns the PasswordServiceId field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetPasswordServiceId() float32 { - if o == nil || isNil(o.PasswordServiceId) { - var ret float32 - return ret - } - return *o.PasswordServiceId -} - -// GetPasswordServiceIdOk returns a tuple with the PasswordServiceId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetPasswordServiceIdOk() (*float32, bool) { - if o == nil || isNil(o.PasswordServiceId) { - return nil, false - } - return o.PasswordServiceId, true -} - -// HasPasswordServiceId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasPasswordServiceId() bool { - if o != nil && !isNil(o.PasswordServiceId) { - return true - } - - return false -} - -// SetPasswordServiceId gets a reference to the given float32 and assigns it to the PasswordServiceId field. -func (o *ListApplications200ResponseInner) SetPasswordServiceId(v float32) { - o.PasswordServiceId = &v -} - -// GetAccessProfileIds returns the AccessProfileIds field value if set, zero value otherwise. -func (o *ListApplications200ResponseInner) GetAccessProfileIds() []string { - if o == nil || isNil(o.AccessProfileIds) { - var ret []string - return ret - } - return o.AccessProfileIds -} - -// GetAccessProfileIdsOk returns a tuple with the AccessProfileIds field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInner) GetAccessProfileIdsOk() ([]string, bool) { - if o == nil || isNil(o.AccessProfileIds) { - return nil, false - } - return o.AccessProfileIds, true -} - -// HasAccessProfileIds returns a boolean if a field has been set. -func (o *ListApplications200ResponseInner) HasAccessProfileIds() bool { - if o != nil && !isNil(o.AccessProfileIds) { - return true - } - - return false -} - -// SetAccessProfileIds gets a reference to the given []string and assigns it to the AccessProfileIds field. -func (o *ListApplications200ResponseInner) SetAccessProfileIds(v []string) { - o.AccessProfileIds = v -} - -func (o ListApplications200ResponseInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListApplications200ResponseInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.AppId) { - toSerialize["appId"] = o.AppId - } - if !isNil(o.ServiceId) { - toSerialize["serviceId"] = o.ServiceId - } - if !isNil(o.ServiceAppId) { - toSerialize["serviceAppId"] = o.ServiceAppId - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.Description) { - toSerialize["description"] = o.Description - } - if !isNil(o.AppCenterEnabled) { - toSerialize["appCenterEnabled"] = o.AppCenterEnabled - } - if !isNil(o.ProvisionRequestEnabled) { - toSerialize["provisionRequestEnabled"] = o.ProvisionRequestEnabled - } - if !isNil(o.ControlType) { - toSerialize["controlType"] = o.ControlType - } - if !isNil(o.Mobile) { - toSerialize["mobile"] = o.Mobile - } - if !isNil(o.PrivateApp) { - toSerialize["privateApp"] = o.PrivateApp - } - if !isNil(o.ScriptName) { - toSerialize["scriptName"] = o.ScriptName - } - if !isNil(o.Status) { - toSerialize["status"] = o.Status - } - if !isNil(o.Icon) { - toSerialize["icon"] = o.Icon - } - if !isNil(o.Health) { - toSerialize["health"] = o.Health - } - if !isNil(o.EnableSso) { - toSerialize["enableSso"] = o.EnableSso - } - if !isNil(o.SsoMethod) { - toSerialize["ssoMethod"] = o.SsoMethod - } - if !isNil(o.HasLinks) { - toSerialize["hasLinks"] = o.HasLinks - } - if !isNil(o.HasAutomations) { - toSerialize["hasAutomations"] = o.HasAutomations - } - if !isNil(o.StepUpAuthData) { - toSerialize["stepUpAuthData"] = o.StepUpAuthData - } - if !isNil(o.StepUpAuthType) { - toSerialize["stepUpAuthType"] = o.StepUpAuthType - } - if !isNil(o.UsageAnalytics) { - toSerialize["usageAnalytics"] = o.UsageAnalytics - } - if !isNil(o.UsageCertRequired) { - toSerialize["usageCertRequired"] = o.UsageCertRequired - } - if !isNil(o.UsageCertText) { - toSerialize["usageCertText"] = o.UsageCertText - } - if !isNil(o.LaunchpadEnabled) { - toSerialize["launchpadEnabled"] = o.LaunchpadEnabled - } - if !isNil(o.PasswordManaged) { - toSerialize["passwordManaged"] = o.PasswordManaged - } - if !isNil(o.Owner) { - toSerialize["owner"] = o.Owner - } - if !isNil(o.DateCreated) { - toSerialize["dateCreated"] = o.DateCreated - } - if !isNil(o.LastUpdated) { - toSerialize["lastUpdated"] = o.LastUpdated - } - if !isNil(o.DefaultAccessProfile) { - toSerialize["defaultAccessProfile"] = o.DefaultAccessProfile - } - if !isNil(o.Service) { - toSerialize["service"] = o.Service - } - if !isNil(o.SelectedSsoMethod) { - toSerialize["selectedSsoMethod"] = o.SelectedSsoMethod - } - if !isNil(o.SupportedSsoMethods) { - toSerialize["supportedSsoMethods"] = o.SupportedSsoMethods - } - if !isNil(o.OffNetworkBlockedRoles) { - toSerialize["offNetworkBlockedRoles"] = o.OffNetworkBlockedRoles - } - if !isNil(o.SupportedOffNetwork) { - toSerialize["supportedOffNetwork"] = o.SupportedOffNetwork - } - if !isNil(o.AccountServiceId) { - toSerialize["accountServiceId"] = o.AccountServiceId - } - if !isNil(o.LauncherCount) { - toSerialize["launcherCount"] = o.LauncherCount - } - if !isNil(o.AccountServiceName) { - toSerialize["accountServiceName"] = o.AccountServiceName - } - if !isNil(o.AccountServiceExternalId) { - toSerialize["accountServiceExternalId"] = o.AccountServiceExternalId - } - if !isNil(o.AccountServiceMatchAllAccounts) { - toSerialize["accountServiceMatchAllAccounts"] = o.AccountServiceMatchAllAccounts - } - if !isNil(o.ExternalId) { - toSerialize["externalId"] = o.ExternalId - } - if !isNil(o.AccountServiceUseForPasswordManagement) { - toSerialize["accountServiceUseForPasswordManagement"] = o.AccountServiceUseForPasswordManagement - } - if !isNil(o.AccountServicePolicyId) { - toSerialize["accountServicePolicyId"] = o.AccountServicePolicyId - } - if !isNil(o.AccountServicePolicyName) { - toSerialize["accountServicePolicyName"] = o.AccountServicePolicyName - } - if !isNil(o.RequireStrongAuthn) { - toSerialize["requireStrongAuthn"] = o.RequireStrongAuthn - } - if !isNil(o.AccountServicePolicies) { - toSerialize["accountServicePolicies"] = o.AccountServicePolicies - } - if !isNil(o.XsdVersion) { - toSerialize["xsdVersion"] = o.XsdVersion - } - if !isNil(o.AppProfiles) { - toSerialize["appProfiles"] = o.AppProfiles - } - if !isNil(o.PasswordServiceId) { - toSerialize["passwordServiceId"] = o.PasswordServiceId - } - if !isNil(o.AccessProfileIds) { - toSerialize["accessProfileIds"] = o.AccessProfileIds - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListApplications200ResponseInner) UnmarshalJSON(bytes []byte) (err error) { - varListApplications200ResponseInner := _ListApplications200ResponseInner{} - - if err = json.Unmarshal(bytes, &varListApplications200ResponseInner); err == nil { - *o = ListApplications200ResponseInner(varListApplications200ResponseInner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "id") - delete(additionalProperties, "appId") - delete(additionalProperties, "serviceId") - delete(additionalProperties, "serviceAppId") - delete(additionalProperties, "name") - delete(additionalProperties, "description") - delete(additionalProperties, "appCenterEnabled") - delete(additionalProperties, "provisionRequestEnabled") - delete(additionalProperties, "controlType") - delete(additionalProperties, "mobile") - delete(additionalProperties, "privateApp") - delete(additionalProperties, "scriptName") - delete(additionalProperties, "status") - delete(additionalProperties, "icon") - delete(additionalProperties, "health") - delete(additionalProperties, "enableSso") - delete(additionalProperties, "ssoMethod") - delete(additionalProperties, "hasLinks") - delete(additionalProperties, "hasAutomations") - delete(additionalProperties, "stepUpAuthData") - delete(additionalProperties, "stepUpAuthType") - delete(additionalProperties, "usageAnalytics") - delete(additionalProperties, "usageCertRequired") - delete(additionalProperties, "usageCertText") - delete(additionalProperties, "launchpadEnabled") - delete(additionalProperties, "passwordManaged") - delete(additionalProperties, "owner") - delete(additionalProperties, "dateCreated") - delete(additionalProperties, "lastUpdated") - delete(additionalProperties, "defaultAccessProfile") - delete(additionalProperties, "service") - delete(additionalProperties, "selectedSsoMethod") - delete(additionalProperties, "supportedSsoMethods") - delete(additionalProperties, "offNetworkBlockedRoles") - delete(additionalProperties, "supportedOffNetwork") - delete(additionalProperties, "accountServiceId") - delete(additionalProperties, "launcherCount") - delete(additionalProperties, "accountServiceName") - delete(additionalProperties, "accountServiceExternalId") - delete(additionalProperties, "accountServiceMatchAllAccounts") - delete(additionalProperties, "externalId") - delete(additionalProperties, "accountServiceUseForPasswordManagement") - delete(additionalProperties, "accountServicePolicyId") - delete(additionalProperties, "accountServicePolicyName") - delete(additionalProperties, "requireStrongAuthn") - delete(additionalProperties, "accountServicePolicies") - delete(additionalProperties, "xsdVersion") - delete(additionalProperties, "appProfiles") - delete(additionalProperties, "passwordServiceId") - delete(additionalProperties, "accessProfileIds") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListApplications200ResponseInner struct { - value *ListApplications200ResponseInner - isSet bool -} - -func (v NullableListApplications200ResponseInner) Get() *ListApplications200ResponseInner { - return v.value -} - -func (v *NullableListApplications200ResponseInner) Set(val *ListApplications200ResponseInner) { - v.value = val - v.isSet = true -} - -func (v NullableListApplications200ResponseInner) IsSet() bool { - return v.isSet -} - -func (v *NullableListApplications200ResponseInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListApplications200ResponseInner(val *ListApplications200ResponseInner) *NullableListApplications200ResponseInner { - return &NullableListApplications200ResponseInner{value: val, isSet: true} -} - -func (v NullableListApplications200ResponseInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListApplications200ResponseInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_list_applications_200_response_inner_account_service_policies_inner.go b/api_cc/model_list_applications_200_response_inner_account_service_policies_inner.go deleted file mode 100644 index a6fd55dd8..000000000 --- a/api_cc/model_list_applications_200_response_inner_account_service_policies_inner.go +++ /dev/null @@ -1,225 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the ListApplications200ResponseInnerAccountServicePoliciesInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListApplications200ResponseInnerAccountServicePoliciesInner{} - -// ListApplications200ResponseInnerAccountServicePoliciesInner struct for ListApplications200ResponseInnerAccountServicePoliciesInner -type ListApplications200ResponseInnerAccountServicePoliciesInner struct { - PolicyId *string `json:"policyId,omitempty"` - PolicyName *string `json:"policyName,omitempty"` - Selectors map[string]interface{} `json:"selectors,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListApplications200ResponseInnerAccountServicePoliciesInner ListApplications200ResponseInnerAccountServicePoliciesInner - -// NewListApplications200ResponseInnerAccountServicePoliciesInner instantiates a new ListApplications200ResponseInnerAccountServicePoliciesInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListApplications200ResponseInnerAccountServicePoliciesInner() *ListApplications200ResponseInnerAccountServicePoliciesInner { - this := ListApplications200ResponseInnerAccountServicePoliciesInner{} - return &this -} - -// NewListApplications200ResponseInnerAccountServicePoliciesInnerWithDefaults instantiates a new ListApplications200ResponseInnerAccountServicePoliciesInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListApplications200ResponseInnerAccountServicePoliciesInnerWithDefaults() *ListApplications200ResponseInnerAccountServicePoliciesInner { - this := ListApplications200ResponseInnerAccountServicePoliciesInner{} - return &this -} - -// GetPolicyId returns the PolicyId field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetPolicyId() string { - if o == nil || isNil(o.PolicyId) { - var ret string - return ret - } - return *o.PolicyId -} - -// GetPolicyIdOk returns a tuple with the PolicyId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetPolicyIdOk() (*string, bool) { - if o == nil || isNil(o.PolicyId) { - return nil, false - } - return o.PolicyId, true -} - -// HasPolicyId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) HasPolicyId() bool { - if o != nil && !isNil(o.PolicyId) { - return true - } - - return false -} - -// SetPolicyId gets a reference to the given string and assigns it to the PolicyId field. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) SetPolicyId(v string) { - o.PolicyId = &v -} - -// GetPolicyName returns the PolicyName field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetPolicyName() string { - if o == nil || isNil(o.PolicyName) { - var ret string - return ret - } - return *o.PolicyName -} - -// GetPolicyNameOk returns a tuple with the PolicyName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetPolicyNameOk() (*string, bool) { - if o == nil || isNil(o.PolicyName) { - return nil, false - } - return o.PolicyName, true -} - -// HasPolicyName returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) HasPolicyName() bool { - if o != nil && !isNil(o.PolicyName) { - return true - } - - return false -} - -// SetPolicyName gets a reference to the given string and assigns it to the PolicyName field. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) SetPolicyName(v string) { - o.PolicyName = &v -} - -// GetSelectors returns the Selectors field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetSelectors() map[string]interface{} { - if o == nil || isNil(o.Selectors) { - var ret map[string]interface{} - return ret - } - return o.Selectors -} - -// GetSelectorsOk returns a tuple with the Selectors field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) GetSelectorsOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.Selectors) { - return map[string]interface{}{}, false - } - return o.Selectors, true -} - -// HasSelectors returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) HasSelectors() bool { - if o != nil && !isNil(o.Selectors) { - return true - } - - return false -} - -// SetSelectors gets a reference to the given map[string]interface{} and assigns it to the Selectors field. -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) SetSelectors(v map[string]interface{}) { - o.Selectors = v -} - -func (o ListApplications200ResponseInnerAccountServicePoliciesInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListApplications200ResponseInnerAccountServicePoliciesInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.PolicyId) { - toSerialize["policyId"] = o.PolicyId - } - if !isNil(o.PolicyName) { - toSerialize["policyName"] = o.PolicyName - } - if !isNil(o.Selectors) { - toSerialize["selectors"] = o.Selectors - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListApplications200ResponseInnerAccountServicePoliciesInner) UnmarshalJSON(bytes []byte) (err error) { - varListApplications200ResponseInnerAccountServicePoliciesInner := _ListApplications200ResponseInnerAccountServicePoliciesInner{} - - if err = json.Unmarshal(bytes, &varListApplications200ResponseInnerAccountServicePoliciesInner); err == nil { - *o = ListApplications200ResponseInnerAccountServicePoliciesInner(varListApplications200ResponseInnerAccountServicePoliciesInner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "policyId") - delete(additionalProperties, "policyName") - delete(additionalProperties, "selectors") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListApplications200ResponseInnerAccountServicePoliciesInner struct { - value *ListApplications200ResponseInnerAccountServicePoliciesInner - isSet bool -} - -func (v NullableListApplications200ResponseInnerAccountServicePoliciesInner) Get() *ListApplications200ResponseInnerAccountServicePoliciesInner { - return v.value -} - -func (v *NullableListApplications200ResponseInnerAccountServicePoliciesInner) Set(val *ListApplications200ResponseInnerAccountServicePoliciesInner) { - v.value = val - v.isSet = true -} - -func (v NullableListApplications200ResponseInnerAccountServicePoliciesInner) IsSet() bool { - return v.isSet -} - -func (v *NullableListApplications200ResponseInnerAccountServicePoliciesInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListApplications200ResponseInnerAccountServicePoliciesInner(val *ListApplications200ResponseInnerAccountServicePoliciesInner) *NullableListApplications200ResponseInnerAccountServicePoliciesInner { - return &NullableListApplications200ResponseInnerAccountServicePoliciesInner{value: val, isSet: true} -} - -func (v NullableListApplications200ResponseInnerAccountServicePoliciesInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListApplications200ResponseInnerAccountServicePoliciesInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_list_applications_200_response_inner_app_profiles_inner.go b/api_cc/model_list_applications_200_response_inner_app_profiles_inner.go deleted file mode 100644 index d751aabab..000000000 --- a/api_cc/model_list_applications_200_response_inner_app_profiles_inner.go +++ /dev/null @@ -1,299 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the ListApplications200ResponseInnerAppProfilesInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListApplications200ResponseInnerAppProfilesInner{} - -// ListApplications200ResponseInnerAppProfilesInner struct for ListApplications200ResponseInnerAppProfilesInner -type ListApplications200ResponseInnerAppProfilesInner struct { - Id *float32 `json:"id,omitempty"` - Filename *string `json:"filename,omitempty"` - CreatedBy *string `json:"createdBy,omitempty"` - DateCreated *string `json:"dateCreated,omitempty"` - XsdVersion *string `json:"xsdVersion,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListApplications200ResponseInnerAppProfilesInner ListApplications200ResponseInnerAppProfilesInner - -// NewListApplications200ResponseInnerAppProfilesInner instantiates a new ListApplications200ResponseInnerAppProfilesInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListApplications200ResponseInnerAppProfilesInner() *ListApplications200ResponseInnerAppProfilesInner { - this := ListApplications200ResponseInnerAppProfilesInner{} - return &this -} - -// NewListApplications200ResponseInnerAppProfilesInnerWithDefaults instantiates a new ListApplications200ResponseInnerAppProfilesInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListApplications200ResponseInnerAppProfilesInnerWithDefaults() *ListApplications200ResponseInnerAppProfilesInner { - this := ListApplications200ResponseInnerAppProfilesInner{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetId() float32 { - if o == nil || isNil(o.Id) { - var ret float32 - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetIdOk() (*float32, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given float32 and assigns it to the Id field. -func (o *ListApplications200ResponseInnerAppProfilesInner) SetId(v float32) { - o.Id = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetFilename() string { - if o == nil || isNil(o.Filename) { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetFilenameOk() (*string, bool) { - if o == nil || isNil(o.Filename) { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) HasFilename() bool { - if o != nil && !isNil(o.Filename) { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *ListApplications200ResponseInnerAppProfilesInner) SetFilename(v string) { - o.Filename = &v -} - -// GetCreatedBy returns the CreatedBy field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetCreatedBy() string { - if o == nil || isNil(o.CreatedBy) { - var ret string - return ret - } - return *o.CreatedBy -} - -// GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetCreatedByOk() (*string, bool) { - if o == nil || isNil(o.CreatedBy) { - return nil, false - } - return o.CreatedBy, true -} - -// HasCreatedBy returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) HasCreatedBy() bool { - if o != nil && !isNil(o.CreatedBy) { - return true - } - - return false -} - -// SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field. -func (o *ListApplications200ResponseInnerAppProfilesInner) SetCreatedBy(v string) { - o.CreatedBy = &v -} - -// GetDateCreated returns the DateCreated field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetDateCreated() string { - if o == nil || isNil(o.DateCreated) { - var ret string - return ret - } - return *o.DateCreated -} - -// GetDateCreatedOk returns a tuple with the DateCreated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetDateCreatedOk() (*string, bool) { - if o == nil || isNil(o.DateCreated) { - return nil, false - } - return o.DateCreated, true -} - -// HasDateCreated returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) HasDateCreated() bool { - if o != nil && !isNil(o.DateCreated) { - return true - } - - return false -} - -// SetDateCreated gets a reference to the given string and assigns it to the DateCreated field. -func (o *ListApplications200ResponseInnerAppProfilesInner) SetDateCreated(v string) { - o.DateCreated = &v -} - -// GetXsdVersion returns the XsdVersion field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetXsdVersion() string { - if o == nil || isNil(o.XsdVersion) { - var ret string - return ret - } - return *o.XsdVersion -} - -// GetXsdVersionOk returns a tuple with the XsdVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) GetXsdVersionOk() (*string, bool) { - if o == nil || isNil(o.XsdVersion) { - return nil, false - } - return o.XsdVersion, true -} - -// HasXsdVersion returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerAppProfilesInner) HasXsdVersion() bool { - if o != nil && !isNil(o.XsdVersion) { - return true - } - - return false -} - -// SetXsdVersion gets a reference to the given string and assigns it to the XsdVersion field. -func (o *ListApplications200ResponseInnerAppProfilesInner) SetXsdVersion(v string) { - o.XsdVersion = &v -} - -func (o ListApplications200ResponseInnerAppProfilesInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListApplications200ResponseInnerAppProfilesInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.Filename) { - toSerialize["filename"] = o.Filename - } - if !isNil(o.CreatedBy) { - toSerialize["createdBy"] = o.CreatedBy - } - if !isNil(o.DateCreated) { - toSerialize["dateCreated"] = o.DateCreated - } - if !isNil(o.XsdVersion) { - toSerialize["xsdVersion"] = o.XsdVersion - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListApplications200ResponseInnerAppProfilesInner) UnmarshalJSON(bytes []byte) (err error) { - varListApplications200ResponseInnerAppProfilesInner := _ListApplications200ResponseInnerAppProfilesInner{} - - if err = json.Unmarshal(bytes, &varListApplications200ResponseInnerAppProfilesInner); err == nil { - *o = ListApplications200ResponseInnerAppProfilesInner(varListApplications200ResponseInnerAppProfilesInner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "id") - delete(additionalProperties, "filename") - delete(additionalProperties, "createdBy") - delete(additionalProperties, "dateCreated") - delete(additionalProperties, "xsdVersion") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListApplications200ResponseInnerAppProfilesInner struct { - value *ListApplications200ResponseInnerAppProfilesInner - isSet bool -} - -func (v NullableListApplications200ResponseInnerAppProfilesInner) Get() *ListApplications200ResponseInnerAppProfilesInner { - return v.value -} - -func (v *NullableListApplications200ResponseInnerAppProfilesInner) Set(val *ListApplications200ResponseInnerAppProfilesInner) { - v.value = val - v.isSet = true -} - -func (v NullableListApplications200ResponseInnerAppProfilesInner) IsSet() bool { - return v.isSet -} - -func (v *NullableListApplications200ResponseInnerAppProfilesInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListApplications200ResponseInnerAppProfilesInner(val *ListApplications200ResponseInnerAppProfilesInner) *NullableListApplications200ResponseInnerAppProfilesInner { - return &NullableListApplications200ResponseInnerAppProfilesInner{value: val, isSet: true} -} - -func (v NullableListApplications200ResponseInnerAppProfilesInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListApplications200ResponseInnerAppProfilesInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_list_applications_200_response_inner_health.go b/api_cc/model_list_applications_200_response_inner_health.go deleted file mode 100644 index 27eca49c3..000000000 --- a/api_cc/model_list_applications_200_response_inner_health.go +++ /dev/null @@ -1,262 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the ListApplications200ResponseInnerHealth type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListApplications200ResponseInnerHealth{} - -// ListApplications200ResponseInnerHealth struct for ListApplications200ResponseInnerHealth -type ListApplications200ResponseInnerHealth struct { - Status *string `json:"status,omitempty"` - LastChanged *string `json:"lastChanged,omitempty"` - Since *float32 `json:"since,omitempty"` - Healthy *bool `json:"healthy,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListApplications200ResponseInnerHealth ListApplications200ResponseInnerHealth - -// NewListApplications200ResponseInnerHealth instantiates a new ListApplications200ResponseInnerHealth object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListApplications200ResponseInnerHealth() *ListApplications200ResponseInnerHealth { - this := ListApplications200ResponseInnerHealth{} - return &this -} - -// NewListApplications200ResponseInnerHealthWithDefaults instantiates a new ListApplications200ResponseInnerHealth object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListApplications200ResponseInnerHealthWithDefaults() *ListApplications200ResponseInnerHealth { - this := ListApplications200ResponseInnerHealth{} - return &this -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerHealth) GetStatus() string { - if o == nil || isNil(o.Status) { - var ret string - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerHealth) GetStatusOk() (*string, bool) { - if o == nil || isNil(o.Status) { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerHealth) HasStatus() bool { - if o != nil && !isNil(o.Status) { - return true - } - - return false -} - -// SetStatus gets a reference to the given string and assigns it to the Status field. -func (o *ListApplications200ResponseInnerHealth) SetStatus(v string) { - o.Status = &v -} - -// GetLastChanged returns the LastChanged field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerHealth) GetLastChanged() string { - if o == nil || isNil(o.LastChanged) { - var ret string - return ret - } - return *o.LastChanged -} - -// GetLastChangedOk returns a tuple with the LastChanged field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerHealth) GetLastChangedOk() (*string, bool) { - if o == nil || isNil(o.LastChanged) { - return nil, false - } - return o.LastChanged, true -} - -// HasLastChanged returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerHealth) HasLastChanged() bool { - if o != nil && !isNil(o.LastChanged) { - return true - } - - return false -} - -// SetLastChanged gets a reference to the given string and assigns it to the LastChanged field. -func (o *ListApplications200ResponseInnerHealth) SetLastChanged(v string) { - o.LastChanged = &v -} - -// GetSince returns the Since field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerHealth) GetSince() float32 { - if o == nil || isNil(o.Since) { - var ret float32 - return ret - } - return *o.Since -} - -// GetSinceOk returns a tuple with the Since field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerHealth) GetSinceOk() (*float32, bool) { - if o == nil || isNil(o.Since) { - return nil, false - } - return o.Since, true -} - -// HasSince returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerHealth) HasSince() bool { - if o != nil && !isNil(o.Since) { - return true - } - - return false -} - -// SetSince gets a reference to the given float32 and assigns it to the Since field. -func (o *ListApplications200ResponseInnerHealth) SetSince(v float32) { - o.Since = &v -} - -// GetHealthy returns the Healthy field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerHealth) GetHealthy() bool { - if o == nil || isNil(o.Healthy) { - var ret bool - return ret - } - return *o.Healthy -} - -// GetHealthyOk returns a tuple with the Healthy field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerHealth) GetHealthyOk() (*bool, bool) { - if o == nil || isNil(o.Healthy) { - return nil, false - } - return o.Healthy, true -} - -// HasHealthy returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerHealth) HasHealthy() bool { - if o != nil && !isNil(o.Healthy) { - return true - } - - return false -} - -// SetHealthy gets a reference to the given bool and assigns it to the Healthy field. -func (o *ListApplications200ResponseInnerHealth) SetHealthy(v bool) { - o.Healthy = &v -} - -func (o ListApplications200ResponseInnerHealth) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListApplications200ResponseInnerHealth) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Status) { - toSerialize["status"] = o.Status - } - if !isNil(o.LastChanged) { - toSerialize["lastChanged"] = o.LastChanged - } - if !isNil(o.Since) { - toSerialize["since"] = o.Since - } - if !isNil(o.Healthy) { - toSerialize["healthy"] = o.Healthy - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListApplications200ResponseInnerHealth) UnmarshalJSON(bytes []byte) (err error) { - varListApplications200ResponseInnerHealth := _ListApplications200ResponseInnerHealth{} - - if err = json.Unmarshal(bytes, &varListApplications200ResponseInnerHealth); err == nil { - *o = ListApplications200ResponseInnerHealth(varListApplications200ResponseInnerHealth) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "status") - delete(additionalProperties, "lastChanged") - delete(additionalProperties, "since") - delete(additionalProperties, "healthy") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListApplications200ResponseInnerHealth struct { - value *ListApplications200ResponseInnerHealth - isSet bool -} - -func (v NullableListApplications200ResponseInnerHealth) Get() *ListApplications200ResponseInnerHealth { - return v.value -} - -func (v *NullableListApplications200ResponseInnerHealth) Set(val *ListApplications200ResponseInnerHealth) { - v.value = val - v.isSet = true -} - -func (v NullableListApplications200ResponseInnerHealth) IsSet() bool { - return v.isSet -} - -func (v *NullableListApplications200ResponseInnerHealth) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListApplications200ResponseInnerHealth(val *ListApplications200ResponseInnerHealth) *NullableListApplications200ResponseInnerHealth { - return &NullableListApplications200ResponseInnerHealth{value: val, isSet: true} -} - -func (v NullableListApplications200ResponseInnerHealth) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListApplications200ResponseInnerHealth) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_list_applications_200_response_inner_owner.go b/api_cc/model_list_applications_200_response_inner_owner.go deleted file mode 100644 index f7a3e044c..000000000 --- a/api_cc/model_list_applications_200_response_inner_owner.go +++ /dev/null @@ -1,188 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the ListApplications200ResponseInnerOwner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListApplications200ResponseInnerOwner{} - -// ListApplications200ResponseInnerOwner struct for ListApplications200ResponseInnerOwner -type ListApplications200ResponseInnerOwner struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListApplications200ResponseInnerOwner ListApplications200ResponseInnerOwner - -// NewListApplications200ResponseInnerOwner instantiates a new ListApplications200ResponseInnerOwner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListApplications200ResponseInnerOwner() *ListApplications200ResponseInnerOwner { - this := ListApplications200ResponseInnerOwner{} - return &this -} - -// NewListApplications200ResponseInnerOwnerWithDefaults instantiates a new ListApplications200ResponseInnerOwner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListApplications200ResponseInnerOwnerWithDefaults() *ListApplications200ResponseInnerOwner { - this := ListApplications200ResponseInnerOwner{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerOwner) GetId() string { - if o == nil || isNil(o.Id) { - var ret string - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerOwner) GetIdOk() (*string, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerOwner) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given string and assigns it to the Id field. -func (o *ListApplications200ResponseInnerOwner) SetId(v string) { - o.Id = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *ListApplications200ResponseInnerOwner) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListApplications200ResponseInnerOwner) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *ListApplications200ResponseInnerOwner) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *ListApplications200ResponseInnerOwner) SetName(v string) { - o.Name = &v -} - -func (o ListApplications200ResponseInnerOwner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListApplications200ResponseInnerOwner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListApplications200ResponseInnerOwner) UnmarshalJSON(bytes []byte) (err error) { - varListApplications200ResponseInnerOwner := _ListApplications200ResponseInnerOwner{} - - if err = json.Unmarshal(bytes, &varListApplications200ResponseInnerOwner); err == nil { - *o = ListApplications200ResponseInnerOwner(varListApplications200ResponseInnerOwner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "id") - delete(additionalProperties, "name") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListApplications200ResponseInnerOwner struct { - value *ListApplications200ResponseInnerOwner - isSet bool -} - -func (v NullableListApplications200ResponseInnerOwner) Get() *ListApplications200ResponseInnerOwner { - return v.value -} - -func (v *NullableListApplications200ResponseInnerOwner) Set(val *ListApplications200ResponseInnerOwner) { - v.value = val - v.isSet = true -} - -func (v NullableListApplications200ResponseInnerOwner) IsSet() bool { - return v.isSet -} - -func (v *NullableListApplications200ResponseInnerOwner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListApplications200ResponseInnerOwner(val *ListApplications200ResponseInnerOwner) *NullableListApplications200ResponseInnerOwner { - return &NullableListApplications200ResponseInnerOwner{value: val, isSet: true} -} - -func (v NullableListApplications200ResponseInnerOwner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListApplications200ResponseInnerOwner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_list_connectors_200_response.go b/api_cc/model_list_connectors_200_response.go deleted file mode 100644 index 1ec5a5503..000000000 --- a/api_cc/model_list_connectors_200_response.go +++ /dev/null @@ -1,188 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the ListConnectors200Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListConnectors200Response{} - -// ListConnectors200Response struct for ListConnectors200Response -type ListConnectors200Response struct { - Total *float32 `json:"total,omitempty"` - Items []ListConnectors200ResponseItemsInner `json:"items,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListConnectors200Response ListConnectors200Response - -// NewListConnectors200Response instantiates a new ListConnectors200Response object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListConnectors200Response() *ListConnectors200Response { - this := ListConnectors200Response{} - return &this -} - -// NewListConnectors200ResponseWithDefaults instantiates a new ListConnectors200Response object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListConnectors200ResponseWithDefaults() *ListConnectors200Response { - this := ListConnectors200Response{} - return &this -} - -// GetTotal returns the Total field value if set, zero value otherwise. -func (o *ListConnectors200Response) GetTotal() float32 { - if o == nil || isNil(o.Total) { - var ret float32 - return ret - } - return *o.Total -} - -// GetTotalOk returns a tuple with the Total field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200Response) GetTotalOk() (*float32, bool) { - if o == nil || isNil(o.Total) { - return nil, false - } - return o.Total, true -} - -// HasTotal returns a boolean if a field has been set. -func (o *ListConnectors200Response) HasTotal() bool { - if o != nil && !isNil(o.Total) { - return true - } - - return false -} - -// SetTotal gets a reference to the given float32 and assigns it to the Total field. -func (o *ListConnectors200Response) SetTotal(v float32) { - o.Total = &v -} - -// GetItems returns the Items field value if set, zero value otherwise. -func (o *ListConnectors200Response) GetItems() []ListConnectors200ResponseItemsInner { - if o == nil || isNil(o.Items) { - var ret []ListConnectors200ResponseItemsInner - return ret - } - return o.Items -} - -// GetItemsOk returns a tuple with the Items field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200Response) GetItemsOk() ([]ListConnectors200ResponseItemsInner, bool) { - if o == nil || isNil(o.Items) { - return nil, false - } - return o.Items, true -} - -// HasItems returns a boolean if a field has been set. -func (o *ListConnectors200Response) HasItems() bool { - if o != nil && !isNil(o.Items) { - return true - } - - return false -} - -// SetItems gets a reference to the given []ListConnectors200ResponseItemsInner and assigns it to the Items field. -func (o *ListConnectors200Response) SetItems(v []ListConnectors200ResponseItemsInner) { - o.Items = v -} - -func (o ListConnectors200Response) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListConnectors200Response) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Total) { - toSerialize["total"] = o.Total - } - if !isNil(o.Items) { - toSerialize["items"] = o.Items - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListConnectors200Response) UnmarshalJSON(bytes []byte) (err error) { - varListConnectors200Response := _ListConnectors200Response{} - - if err = json.Unmarshal(bytes, &varListConnectors200Response); err == nil { - *o = ListConnectors200Response(varListConnectors200Response) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "total") - delete(additionalProperties, "items") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListConnectors200Response struct { - value *ListConnectors200Response - isSet bool -} - -func (v NullableListConnectors200Response) Get() *ListConnectors200Response { - return v.value -} - -func (v *NullableListConnectors200Response) Set(val *ListConnectors200Response) { - v.value = val - v.isSet = true -} - -func (v NullableListConnectors200Response) IsSet() bool { - return v.isSet -} - -func (v *NullableListConnectors200Response) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListConnectors200Response(val *ListConnectors200Response) *NullableListConnectors200Response { - return &NullableListConnectors200Response{value: val, isSet: true} -} - -func (v NullableListConnectors200Response) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListConnectors200Response) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_list_connectors_200_response_items_inner.go b/api_cc/model_list_connectors_200_response_items_inner.go deleted file mode 100644 index b950ff130..000000000 --- a/api_cc/model_list_connectors_200_response_items_inner.go +++ /dev/null @@ -1,850 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the ListConnectors200ResponseItemsInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListConnectors200ResponseItemsInner{} - -// ListConnectors200ResponseItemsInner struct for ListConnectors200ResponseItemsInner -type ListConnectors200ResponseItemsInner struct { - ApplicationXml NullableString `json:"applicationXml,omitempty"` - ClassName NullableString `json:"className,omitempty"` - ConnectorMetadata map[string]interface{} `json:"connectorMetadata,omitempty"` - CorrelationConfigXml NullableString `json:"correlationConfigXml,omitempty"` - DirectConnect *bool `json:"directConnect,omitempty"` - FileUpload *bool `json:"fileUpload,omitempty"` - Id *int32 `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - S3Location NullableString `json:"s3Location,omitempty"` - Scope *string `json:"scope,omitempty"` - ScriptName *string `json:"scriptName,omitempty"` - SourceConfig NullableString `json:"sourceConfig,omitempty"` - SourceConfigFrom NullableString `json:"sourceConfigFrom,omitempty"` - SourceConfigXml NullableString `json:"sourceConfigXml,omitempty"` - Status *string `json:"status,omitempty"` - TranslationProperties map[string]interface{} `json:"translationProperties,omitempty"` - Type *string `json:"type,omitempty"` - UploadedFiles []map[string]interface{} `json:"uploadedFiles,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListConnectors200ResponseItemsInner ListConnectors200ResponseItemsInner - -// NewListConnectors200ResponseItemsInner instantiates a new ListConnectors200ResponseItemsInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListConnectors200ResponseItemsInner() *ListConnectors200ResponseItemsInner { - this := ListConnectors200ResponseItemsInner{} - return &this -} - -// NewListConnectors200ResponseItemsInnerWithDefaults instantiates a new ListConnectors200ResponseItemsInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListConnectors200ResponseItemsInnerWithDefaults() *ListConnectors200ResponseItemsInner { - this := ListConnectors200ResponseItemsInner{} - return &this -} - -// GetApplicationXml returns the ApplicationXml field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListConnectors200ResponseItemsInner) GetApplicationXml() string { - if o == nil || isNil(o.ApplicationXml.Get()) { - var ret string - return ret - } - return *o.ApplicationXml.Get() -} - -// GetApplicationXmlOk returns a tuple with the ApplicationXml 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 *ListConnectors200ResponseItemsInner) GetApplicationXmlOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.ApplicationXml.Get(), o.ApplicationXml.IsSet() -} - -// HasApplicationXml returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasApplicationXml() bool { - if o != nil && o.ApplicationXml.IsSet() { - return true - } - - return false -} - -// SetApplicationXml gets a reference to the given NullableString and assigns it to the ApplicationXml field. -func (o *ListConnectors200ResponseItemsInner) SetApplicationXml(v string) { - o.ApplicationXml.Set(&v) -} -// SetApplicationXmlNil sets the value for ApplicationXml to be an explicit nil -func (o *ListConnectors200ResponseItemsInner) SetApplicationXmlNil() { - o.ApplicationXml.Set(nil) -} - -// UnsetApplicationXml ensures that no value is present for ApplicationXml, not even an explicit nil -func (o *ListConnectors200ResponseItemsInner) UnsetApplicationXml() { - o.ApplicationXml.Unset() -} - -// GetClassName returns the ClassName field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListConnectors200ResponseItemsInner) GetClassName() string { - if o == nil || isNil(o.ClassName.Get()) { - var ret string - return ret - } - return *o.ClassName.Get() -} - -// GetClassNameOk returns a tuple with the ClassName 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 *ListConnectors200ResponseItemsInner) GetClassNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.ClassName.Get(), o.ClassName.IsSet() -} - -// HasClassName returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasClassName() bool { - if o != nil && o.ClassName.IsSet() { - return true - } - - return false -} - -// SetClassName gets a reference to the given NullableString and assigns it to the ClassName field. -func (o *ListConnectors200ResponseItemsInner) SetClassName(v string) { - o.ClassName.Set(&v) -} -// SetClassNameNil sets the value for ClassName to be an explicit nil -func (o *ListConnectors200ResponseItemsInner) SetClassNameNil() { - o.ClassName.Set(nil) -} - -// UnsetClassName ensures that no value is present for ClassName, not even an explicit nil -func (o *ListConnectors200ResponseItemsInner) UnsetClassName() { - o.ClassName.Unset() -} - -// GetConnectorMetadata returns the ConnectorMetadata field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetConnectorMetadata() map[string]interface{} { - if o == nil || isNil(o.ConnectorMetadata) { - var ret map[string]interface{} - return ret - } - return o.ConnectorMetadata -} - -// GetConnectorMetadataOk returns a tuple with the ConnectorMetadata field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetConnectorMetadataOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.ConnectorMetadata) { - return map[string]interface{}{}, false - } - return o.ConnectorMetadata, true -} - -// HasConnectorMetadata returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasConnectorMetadata() bool { - if o != nil && !isNil(o.ConnectorMetadata) { - return true - } - - return false -} - -// SetConnectorMetadata gets a reference to the given map[string]interface{} and assigns it to the ConnectorMetadata field. -func (o *ListConnectors200ResponseItemsInner) SetConnectorMetadata(v map[string]interface{}) { - o.ConnectorMetadata = v -} - -// GetCorrelationConfigXml returns the CorrelationConfigXml field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListConnectors200ResponseItemsInner) GetCorrelationConfigXml() string { - if o == nil || isNil(o.CorrelationConfigXml.Get()) { - var ret string - return ret - } - return *o.CorrelationConfigXml.Get() -} - -// GetCorrelationConfigXmlOk returns a tuple with the CorrelationConfigXml 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 *ListConnectors200ResponseItemsInner) GetCorrelationConfigXmlOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.CorrelationConfigXml.Get(), o.CorrelationConfigXml.IsSet() -} - -// HasCorrelationConfigXml returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasCorrelationConfigXml() bool { - if o != nil && o.CorrelationConfigXml.IsSet() { - return true - } - - return false -} - -// SetCorrelationConfigXml gets a reference to the given NullableString and assigns it to the CorrelationConfigXml field. -func (o *ListConnectors200ResponseItemsInner) SetCorrelationConfigXml(v string) { - o.CorrelationConfigXml.Set(&v) -} -// SetCorrelationConfigXmlNil sets the value for CorrelationConfigXml to be an explicit nil -func (o *ListConnectors200ResponseItemsInner) SetCorrelationConfigXmlNil() { - o.CorrelationConfigXml.Set(nil) -} - -// UnsetCorrelationConfigXml ensures that no value is present for CorrelationConfigXml, not even an explicit nil -func (o *ListConnectors200ResponseItemsInner) UnsetCorrelationConfigXml() { - o.CorrelationConfigXml.Unset() -} - -// GetDirectConnect returns the DirectConnect field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetDirectConnect() bool { - if o == nil || isNil(o.DirectConnect) { - var ret bool - return ret - } - return *o.DirectConnect -} - -// GetDirectConnectOk returns a tuple with the DirectConnect field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetDirectConnectOk() (*bool, bool) { - if o == nil || isNil(o.DirectConnect) { - return nil, false - } - return o.DirectConnect, true -} - -// HasDirectConnect returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasDirectConnect() bool { - if o != nil && !isNil(o.DirectConnect) { - return true - } - - return false -} - -// SetDirectConnect gets a reference to the given bool and assigns it to the DirectConnect field. -func (o *ListConnectors200ResponseItemsInner) SetDirectConnect(v bool) { - o.DirectConnect = &v -} - -// GetFileUpload returns the FileUpload field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetFileUpload() bool { - if o == nil || isNil(o.FileUpload) { - var ret bool - return ret - } - return *o.FileUpload -} - -// GetFileUploadOk returns a tuple with the FileUpload field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetFileUploadOk() (*bool, bool) { - if o == nil || isNil(o.FileUpload) { - return nil, false - } - return o.FileUpload, true -} - -// HasFileUpload returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasFileUpload() bool { - if o != nil && !isNil(o.FileUpload) { - return true - } - - return false -} - -// SetFileUpload gets a reference to the given bool and assigns it to the FileUpload field. -func (o *ListConnectors200ResponseItemsInner) SetFileUpload(v bool) { - o.FileUpload = &v -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetId() int32 { - if o == nil || isNil(o.Id) { - var ret int32 - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetIdOk() (*int32, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given int32 and assigns it to the Id field. -func (o *ListConnectors200ResponseItemsInner) SetId(v int32) { - o.Id = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *ListConnectors200ResponseItemsInner) SetName(v string) { - o.Name = &v -} - -// GetS3Location returns the S3Location field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListConnectors200ResponseItemsInner) GetS3Location() string { - if o == nil || isNil(o.S3Location.Get()) { - var ret string - return ret - } - return *o.S3Location.Get() -} - -// GetS3LocationOk returns a tuple with the S3Location 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 *ListConnectors200ResponseItemsInner) GetS3LocationOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.S3Location.Get(), o.S3Location.IsSet() -} - -// HasS3Location returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasS3Location() bool { - if o != nil && o.S3Location.IsSet() { - return true - } - - return false -} - -// SetS3Location gets a reference to the given NullableString and assigns it to the S3Location field. -func (o *ListConnectors200ResponseItemsInner) SetS3Location(v string) { - o.S3Location.Set(&v) -} -// SetS3LocationNil sets the value for S3Location to be an explicit nil -func (o *ListConnectors200ResponseItemsInner) SetS3LocationNil() { - o.S3Location.Set(nil) -} - -// UnsetS3Location ensures that no value is present for S3Location, not even an explicit nil -func (o *ListConnectors200ResponseItemsInner) UnsetS3Location() { - o.S3Location.Unset() -} - -// GetScope returns the Scope field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetScope() string { - if o == nil || isNil(o.Scope) { - var ret string - return ret - } - return *o.Scope -} - -// GetScopeOk returns a tuple with the Scope field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetScopeOk() (*string, bool) { - if o == nil || isNil(o.Scope) { - return nil, false - } - return o.Scope, true -} - -// HasScope returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasScope() bool { - if o != nil && !isNil(o.Scope) { - return true - } - - return false -} - -// SetScope gets a reference to the given string and assigns it to the Scope field. -func (o *ListConnectors200ResponseItemsInner) SetScope(v string) { - o.Scope = &v -} - -// GetScriptName returns the ScriptName field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetScriptName() string { - if o == nil || isNil(o.ScriptName) { - var ret string - return ret - } - return *o.ScriptName -} - -// GetScriptNameOk returns a tuple with the ScriptName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetScriptNameOk() (*string, bool) { - if o == nil || isNil(o.ScriptName) { - return nil, false - } - return o.ScriptName, true -} - -// HasScriptName returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasScriptName() bool { - if o != nil && !isNil(o.ScriptName) { - return true - } - - return false -} - -// SetScriptName gets a reference to the given string and assigns it to the ScriptName field. -func (o *ListConnectors200ResponseItemsInner) SetScriptName(v string) { - o.ScriptName = &v -} - -// GetSourceConfig returns the SourceConfig field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListConnectors200ResponseItemsInner) GetSourceConfig() string { - if o == nil || isNil(o.SourceConfig.Get()) { - var ret string - return ret - } - return *o.SourceConfig.Get() -} - -// GetSourceConfigOk returns a tuple with the SourceConfig 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 *ListConnectors200ResponseItemsInner) GetSourceConfigOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.SourceConfig.Get(), o.SourceConfig.IsSet() -} - -// HasSourceConfig returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasSourceConfig() bool { - if o != nil && o.SourceConfig.IsSet() { - return true - } - - return false -} - -// SetSourceConfig gets a reference to the given NullableString and assigns it to the SourceConfig field. -func (o *ListConnectors200ResponseItemsInner) SetSourceConfig(v string) { - o.SourceConfig.Set(&v) -} -// SetSourceConfigNil sets the value for SourceConfig to be an explicit nil -func (o *ListConnectors200ResponseItemsInner) SetSourceConfigNil() { - o.SourceConfig.Set(nil) -} - -// UnsetSourceConfig ensures that no value is present for SourceConfig, not even an explicit nil -func (o *ListConnectors200ResponseItemsInner) UnsetSourceConfig() { - o.SourceConfig.Unset() -} - -// GetSourceConfigFrom returns the SourceConfigFrom field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListConnectors200ResponseItemsInner) GetSourceConfigFrom() string { - if o == nil || isNil(o.SourceConfigFrom.Get()) { - var ret string - return ret - } - return *o.SourceConfigFrom.Get() -} - -// GetSourceConfigFromOk returns a tuple with the SourceConfigFrom 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 *ListConnectors200ResponseItemsInner) GetSourceConfigFromOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.SourceConfigFrom.Get(), o.SourceConfigFrom.IsSet() -} - -// HasSourceConfigFrom returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasSourceConfigFrom() bool { - if o != nil && o.SourceConfigFrom.IsSet() { - return true - } - - return false -} - -// SetSourceConfigFrom gets a reference to the given NullableString and assigns it to the SourceConfigFrom field. -func (o *ListConnectors200ResponseItemsInner) SetSourceConfigFrom(v string) { - o.SourceConfigFrom.Set(&v) -} -// SetSourceConfigFromNil sets the value for SourceConfigFrom to be an explicit nil -func (o *ListConnectors200ResponseItemsInner) SetSourceConfigFromNil() { - o.SourceConfigFrom.Set(nil) -} - -// UnsetSourceConfigFrom ensures that no value is present for SourceConfigFrom, not even an explicit nil -func (o *ListConnectors200ResponseItemsInner) UnsetSourceConfigFrom() { - o.SourceConfigFrom.Unset() -} - -// GetSourceConfigXml returns the SourceConfigXml field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ListConnectors200ResponseItemsInner) GetSourceConfigXml() string { - if o == nil || isNil(o.SourceConfigXml.Get()) { - var ret string - return ret - } - return *o.SourceConfigXml.Get() -} - -// GetSourceConfigXmlOk returns a tuple with the SourceConfigXml 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 *ListConnectors200ResponseItemsInner) GetSourceConfigXmlOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.SourceConfigXml.Get(), o.SourceConfigXml.IsSet() -} - -// HasSourceConfigXml returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasSourceConfigXml() bool { - if o != nil && o.SourceConfigXml.IsSet() { - return true - } - - return false -} - -// SetSourceConfigXml gets a reference to the given NullableString and assigns it to the SourceConfigXml field. -func (o *ListConnectors200ResponseItemsInner) SetSourceConfigXml(v string) { - o.SourceConfigXml.Set(&v) -} -// SetSourceConfigXmlNil sets the value for SourceConfigXml to be an explicit nil -func (o *ListConnectors200ResponseItemsInner) SetSourceConfigXmlNil() { - o.SourceConfigXml.Set(nil) -} - -// UnsetSourceConfigXml ensures that no value is present for SourceConfigXml, not even an explicit nil -func (o *ListConnectors200ResponseItemsInner) UnsetSourceConfigXml() { - o.SourceConfigXml.Unset() -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetStatus() string { - if o == nil || isNil(o.Status) { - var ret string - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetStatusOk() (*string, bool) { - if o == nil || isNil(o.Status) { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasStatus() bool { - if o != nil && !isNil(o.Status) { - return true - } - - return false -} - -// SetStatus gets a reference to the given string and assigns it to the Status field. -func (o *ListConnectors200ResponseItemsInner) SetStatus(v string) { - o.Status = &v -} - -// GetTranslationProperties returns the TranslationProperties field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetTranslationProperties() map[string]interface{} { - if o == nil || isNil(o.TranslationProperties) { - var ret map[string]interface{} - return ret - } - return o.TranslationProperties -} - -// GetTranslationPropertiesOk returns a tuple with the TranslationProperties field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetTranslationPropertiesOk() (map[string]interface{}, bool) { - if o == nil || isNil(o.TranslationProperties) { - return map[string]interface{}{}, false - } - return o.TranslationProperties, true -} - -// HasTranslationProperties returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasTranslationProperties() bool { - if o != nil && !isNil(o.TranslationProperties) { - return true - } - - return false -} - -// SetTranslationProperties gets a reference to the given map[string]interface{} and assigns it to the TranslationProperties field. -func (o *ListConnectors200ResponseItemsInner) SetTranslationProperties(v map[string]interface{}) { - o.TranslationProperties = v -} - -// GetType returns the Type field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetType() string { - if o == nil || isNil(o.Type) { - var ret string - return ret - } - return *o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetTypeOk() (*string, bool) { - if o == nil || isNil(o.Type) { - return nil, false - } - return o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasType() bool { - if o != nil && !isNil(o.Type) { - return true - } - - return false -} - -// SetType gets a reference to the given string and assigns it to the Type field. -func (o *ListConnectors200ResponseItemsInner) SetType(v string) { - o.Type = &v -} - -// GetUploadedFiles returns the UploadedFiles field value if set, zero value otherwise. -func (o *ListConnectors200ResponseItemsInner) GetUploadedFiles() []map[string]interface{} { - if o == nil || isNil(o.UploadedFiles) { - var ret []map[string]interface{} - return ret - } - return o.UploadedFiles -} - -// GetUploadedFilesOk returns a tuple with the UploadedFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListConnectors200ResponseItemsInner) GetUploadedFilesOk() ([]map[string]interface{}, bool) { - if o == nil || isNil(o.UploadedFiles) { - return nil, false - } - return o.UploadedFiles, true -} - -// HasUploadedFiles returns a boolean if a field has been set. -func (o *ListConnectors200ResponseItemsInner) HasUploadedFiles() bool { - if o != nil && !isNil(o.UploadedFiles) { - return true - } - - return false -} - -// SetUploadedFiles gets a reference to the given []map[string]interface{} and assigns it to the UploadedFiles field. -func (o *ListConnectors200ResponseItemsInner) SetUploadedFiles(v []map[string]interface{}) { - o.UploadedFiles = v -} - -func (o ListConnectors200ResponseItemsInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListConnectors200ResponseItemsInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.ApplicationXml.IsSet() { - toSerialize["applicationXml"] = o.ApplicationXml.Get() - } - if o.ClassName.IsSet() { - toSerialize["className"] = o.ClassName.Get() - } - if !isNil(o.ConnectorMetadata) { - toSerialize["connectorMetadata"] = o.ConnectorMetadata - } - if o.CorrelationConfigXml.IsSet() { - toSerialize["correlationConfigXml"] = o.CorrelationConfigXml.Get() - } - if !isNil(o.DirectConnect) { - toSerialize["directConnect"] = o.DirectConnect - } - if !isNil(o.FileUpload) { - toSerialize["fileUpload"] = o.FileUpload - } - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if o.S3Location.IsSet() { - toSerialize["s3Location"] = o.S3Location.Get() - } - if !isNil(o.Scope) { - toSerialize["scope"] = o.Scope - } - if !isNil(o.ScriptName) { - toSerialize["scriptName"] = o.ScriptName - } - if o.SourceConfig.IsSet() { - toSerialize["sourceConfig"] = o.SourceConfig.Get() - } - if o.SourceConfigFrom.IsSet() { - toSerialize["sourceConfigFrom"] = o.SourceConfigFrom.Get() - } - if o.SourceConfigXml.IsSet() { - toSerialize["sourceConfigXml"] = o.SourceConfigXml.Get() - } - if !isNil(o.Status) { - toSerialize["status"] = o.Status - } - if !isNil(o.TranslationProperties) { - toSerialize["translationProperties"] = o.TranslationProperties - } - if !isNil(o.Type) { - toSerialize["type"] = o.Type - } - if !isNil(o.UploadedFiles) { - toSerialize["uploadedFiles"] = o.UploadedFiles - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListConnectors200ResponseItemsInner) UnmarshalJSON(bytes []byte) (err error) { - varListConnectors200ResponseItemsInner := _ListConnectors200ResponseItemsInner{} - - if err = json.Unmarshal(bytes, &varListConnectors200ResponseItemsInner); err == nil { - *o = ListConnectors200ResponseItemsInner(varListConnectors200ResponseItemsInner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "applicationXml") - delete(additionalProperties, "className") - delete(additionalProperties, "connectorMetadata") - delete(additionalProperties, "correlationConfigXml") - delete(additionalProperties, "directConnect") - delete(additionalProperties, "fileUpload") - delete(additionalProperties, "id") - delete(additionalProperties, "name") - delete(additionalProperties, "s3Location") - delete(additionalProperties, "scope") - delete(additionalProperties, "scriptName") - delete(additionalProperties, "sourceConfig") - delete(additionalProperties, "sourceConfigFrom") - delete(additionalProperties, "sourceConfigXml") - delete(additionalProperties, "status") - delete(additionalProperties, "translationProperties") - delete(additionalProperties, "type") - delete(additionalProperties, "uploadedFiles") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListConnectors200ResponseItemsInner struct { - value *ListConnectors200ResponseItemsInner - isSet bool -} - -func (v NullableListConnectors200ResponseItemsInner) Get() *ListConnectors200ResponseItemsInner { - return v.value -} - -func (v *NullableListConnectors200ResponseItemsInner) Set(val *ListConnectors200ResponseItemsInner) { - v.value = val - v.isSet = true -} - -func (v NullableListConnectors200ResponseItemsInner) IsSet() bool { - return v.isSet -} - -func (v *NullableListConnectors200ResponseItemsInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListConnectors200ResponseItemsInner(val *ListConnectors200ResponseItemsInner) *NullableListConnectors200ResponseItemsInner { - return &NullableListConnectors200ResponseItemsInner{value: val, isSet: true} -} - -func (v NullableListConnectors200ResponseItemsInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListConnectors200ResponseItemsInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_load_accounts_request.go b/api_cc/model_load_accounts_request.go deleted file mode 100644 index aafc2245e..000000000 --- a/api_cc/model_load_accounts_request.go +++ /dev/null @@ -1,189 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" - "os" -) - -// checks if the LoadAccountsRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &LoadAccountsRequest{} - -// LoadAccountsRequest struct for LoadAccountsRequest -type LoadAccountsRequest struct { - DisableOptimization *bool `json:"disableOptimization,omitempty"` - File **os.File `json:"file,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _LoadAccountsRequest LoadAccountsRequest - -// NewLoadAccountsRequest instantiates a new LoadAccountsRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewLoadAccountsRequest() *LoadAccountsRequest { - this := LoadAccountsRequest{} - return &this -} - -// NewLoadAccountsRequestWithDefaults instantiates a new LoadAccountsRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewLoadAccountsRequestWithDefaults() *LoadAccountsRequest { - this := LoadAccountsRequest{} - return &this -} - -// GetDisableOptimization returns the DisableOptimization field value if set, zero value otherwise. -func (o *LoadAccountsRequest) GetDisableOptimization() bool { - if o == nil || isNil(o.DisableOptimization) { - var ret bool - return ret - } - return *o.DisableOptimization -} - -// GetDisableOptimizationOk returns a tuple with the DisableOptimization field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LoadAccountsRequest) GetDisableOptimizationOk() (*bool, bool) { - if o == nil || isNil(o.DisableOptimization) { - return nil, false - } - return o.DisableOptimization, true -} - -// HasDisableOptimization returns a boolean if a field has been set. -func (o *LoadAccountsRequest) HasDisableOptimization() bool { - if o != nil && !isNil(o.DisableOptimization) { - return true - } - - return false -} - -// SetDisableOptimization gets a reference to the given bool and assigns it to the DisableOptimization field. -func (o *LoadAccountsRequest) SetDisableOptimization(v bool) { - o.DisableOptimization = &v -} - -// GetFile returns the File field value if set, zero value otherwise. -func (o *LoadAccountsRequest) GetFile() *os.File { - if o == nil || isNil(o.File) { - var ret *os.File - return ret - } - return *o.File -} - -// GetFileOk returns a tuple with the File field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LoadAccountsRequest) GetFileOk() (**os.File, bool) { - if o == nil || isNil(o.File) { - return nil, false - } - return o.File, true -} - -// HasFile returns a boolean if a field has been set. -func (o *LoadAccountsRequest) HasFile() bool { - if o != nil && !isNil(o.File) { - return true - } - - return false -} - -// SetFile gets a reference to the given *os.File and assigns it to the File field. -func (o *LoadAccountsRequest) SetFile(v *os.File) { - o.File = &v -} - -func (o LoadAccountsRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o LoadAccountsRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.DisableOptimization) { - toSerialize["disableOptimization"] = o.DisableOptimization - } - if !isNil(o.File) { - toSerialize["file"] = o.File - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *LoadAccountsRequest) UnmarshalJSON(bytes []byte) (err error) { - varLoadAccountsRequest := _LoadAccountsRequest{} - - if err = json.Unmarshal(bytes, &varLoadAccountsRequest); err == nil { - *o = LoadAccountsRequest(varLoadAccountsRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "disableOptimization") - delete(additionalProperties, "file") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableLoadAccountsRequest struct { - value *LoadAccountsRequest - isSet bool -} - -func (v NullableLoadAccountsRequest) Get() *LoadAccountsRequest { - return v.value -} - -func (v *NullableLoadAccountsRequest) Set(val *LoadAccountsRequest) { - v.value = val - v.isSet = true -} - -func (v NullableLoadAccountsRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableLoadAccountsRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableLoadAccountsRequest(val *LoadAccountsRequest) *NullableLoadAccountsRequest { - return &NullableLoadAccountsRequest{value: val, isSet: true} -} - -func (v NullableLoadAccountsRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableLoadAccountsRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_load_entitlements_request.go b/api_cc/model_load_entitlements_request.go deleted file mode 100644 index 477559c6c..000000000 --- a/api_cc/model_load_entitlements_request.go +++ /dev/null @@ -1,152 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" - "os" -) - -// checks if the LoadEntitlementsRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &LoadEntitlementsRequest{} - -// LoadEntitlementsRequest struct for LoadEntitlementsRequest -type LoadEntitlementsRequest struct { - File **os.File `json:"file,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _LoadEntitlementsRequest LoadEntitlementsRequest - -// NewLoadEntitlementsRequest instantiates a new LoadEntitlementsRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewLoadEntitlementsRequest() *LoadEntitlementsRequest { - this := LoadEntitlementsRequest{} - return &this -} - -// NewLoadEntitlementsRequestWithDefaults instantiates a new LoadEntitlementsRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewLoadEntitlementsRequestWithDefaults() *LoadEntitlementsRequest { - this := LoadEntitlementsRequest{} - return &this -} - -// GetFile returns the File field value if set, zero value otherwise. -func (o *LoadEntitlementsRequest) GetFile() *os.File { - if o == nil || isNil(o.File) { - var ret *os.File - return ret - } - return *o.File -} - -// GetFileOk returns a tuple with the File field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LoadEntitlementsRequest) GetFileOk() (**os.File, bool) { - if o == nil || isNil(o.File) { - return nil, false - } - return o.File, true -} - -// HasFile returns a boolean if a field has been set. -func (o *LoadEntitlementsRequest) HasFile() bool { - if o != nil && !isNil(o.File) { - return true - } - - return false -} - -// SetFile gets a reference to the given *os.File and assigns it to the File field. -func (o *LoadEntitlementsRequest) SetFile(v *os.File) { - o.File = &v -} - -func (o LoadEntitlementsRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o LoadEntitlementsRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.File) { - toSerialize["file"] = o.File - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *LoadEntitlementsRequest) UnmarshalJSON(bytes []byte) (err error) { - varLoadEntitlementsRequest := _LoadEntitlementsRequest{} - - if err = json.Unmarshal(bytes, &varLoadEntitlementsRequest); err == nil { - *o = LoadEntitlementsRequest(varLoadEntitlementsRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "file") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableLoadEntitlementsRequest struct { - value *LoadEntitlementsRequest - isSet bool -} - -func (v NullableLoadEntitlementsRequest) Get() *LoadEntitlementsRequest { - return v.value -} - -func (v *NullableLoadEntitlementsRequest) Set(val *LoadEntitlementsRequest) { - v.value = val - v.isSet = true -} - -func (v NullableLoadEntitlementsRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableLoadEntitlementsRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableLoadEntitlementsRequest(val *LoadEntitlementsRequest) *NullableLoadEntitlementsRequest { - return &NullableLoadEntitlementsRequest{value: val, isSet: true} -} - -func (v NullableLoadEntitlementsRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableLoadEntitlementsRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_refresh_identities_request.go b/api_cc/model_refresh_identities_request.go deleted file mode 100644 index 0a0b4d821..000000000 --- a/api_cc/model_refresh_identities_request.go +++ /dev/null @@ -1,189 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the RefreshIdentitiesRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &RefreshIdentitiesRequest{} - -// RefreshIdentitiesRequest struct for RefreshIdentitiesRequest -type RefreshIdentitiesRequest struct { - // Defines the identity or identities which this refresh applies to. The filter must use searchable identity attributes. If the filter cannot be understood or parsed, all identities will be refreshed. - Filter *string `json:"filter,omitempty"` - RefreshArgs *RefreshIdentitiesRequestRefreshArgs `json:"refreshArgs,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _RefreshIdentitiesRequest RefreshIdentitiesRequest - -// NewRefreshIdentitiesRequest instantiates a new RefreshIdentitiesRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewRefreshIdentitiesRequest() *RefreshIdentitiesRequest { - this := RefreshIdentitiesRequest{} - return &this -} - -// NewRefreshIdentitiesRequestWithDefaults instantiates a new RefreshIdentitiesRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRefreshIdentitiesRequestWithDefaults() *RefreshIdentitiesRequest { - this := RefreshIdentitiesRequest{} - return &this -} - -// GetFilter returns the Filter field value if set, zero value otherwise. -func (o *RefreshIdentitiesRequest) GetFilter() string { - if o == nil || isNil(o.Filter) { - var ret string - return ret - } - return *o.Filter -} - -// GetFilterOk returns a tuple with the Filter field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RefreshIdentitiesRequest) GetFilterOk() (*string, bool) { - if o == nil || isNil(o.Filter) { - return nil, false - } - return o.Filter, true -} - -// HasFilter returns a boolean if a field has been set. -func (o *RefreshIdentitiesRequest) HasFilter() bool { - if o != nil && !isNil(o.Filter) { - return true - } - - return false -} - -// SetFilter gets a reference to the given string and assigns it to the Filter field. -func (o *RefreshIdentitiesRequest) SetFilter(v string) { - o.Filter = &v -} - -// GetRefreshArgs returns the RefreshArgs field value if set, zero value otherwise. -func (o *RefreshIdentitiesRequest) GetRefreshArgs() RefreshIdentitiesRequestRefreshArgs { - if o == nil || isNil(o.RefreshArgs) { - var ret RefreshIdentitiesRequestRefreshArgs - return ret - } - return *o.RefreshArgs -} - -// GetRefreshArgsOk returns a tuple with the RefreshArgs field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RefreshIdentitiesRequest) GetRefreshArgsOk() (*RefreshIdentitiesRequestRefreshArgs, bool) { - if o == nil || isNil(o.RefreshArgs) { - return nil, false - } - return o.RefreshArgs, true -} - -// HasRefreshArgs returns a boolean if a field has been set. -func (o *RefreshIdentitiesRequest) HasRefreshArgs() bool { - if o != nil && !isNil(o.RefreshArgs) { - return true - } - - return false -} - -// SetRefreshArgs gets a reference to the given RefreshIdentitiesRequestRefreshArgs and assigns it to the RefreshArgs field. -func (o *RefreshIdentitiesRequest) SetRefreshArgs(v RefreshIdentitiesRequestRefreshArgs) { - o.RefreshArgs = &v -} - -func (o RefreshIdentitiesRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o RefreshIdentitiesRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Filter) { - toSerialize["filter"] = o.Filter - } - if !isNil(o.RefreshArgs) { - toSerialize["refreshArgs"] = o.RefreshArgs - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *RefreshIdentitiesRequest) UnmarshalJSON(bytes []byte) (err error) { - varRefreshIdentitiesRequest := _RefreshIdentitiesRequest{} - - if err = json.Unmarshal(bytes, &varRefreshIdentitiesRequest); err == nil { - *o = RefreshIdentitiesRequest(varRefreshIdentitiesRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "filter") - delete(additionalProperties, "refreshArgs") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableRefreshIdentitiesRequest struct { - value *RefreshIdentitiesRequest - isSet bool -} - -func (v NullableRefreshIdentitiesRequest) Get() *RefreshIdentitiesRequest { - return v.value -} - -func (v *NullableRefreshIdentitiesRequest) Set(val *RefreshIdentitiesRequest) { - v.value = val - v.isSet = true -} - -func (v NullableRefreshIdentitiesRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableRefreshIdentitiesRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRefreshIdentitiesRequest(val *RefreshIdentitiesRequest) *NullableRefreshIdentitiesRequest { - return &NullableRefreshIdentitiesRequest{value: val, isSet: true} -} - -func (v NullableRefreshIdentitiesRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRefreshIdentitiesRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_refresh_identities_request_refresh_args.go b/api_cc/model_refresh_identities_request_refresh_args.go deleted file mode 100644 index c5a98b4b4..000000000 --- a/api_cc/model_refresh_identities_request_refresh_args.go +++ /dev/null @@ -1,342 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the RefreshIdentitiesRequestRefreshArgs type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &RefreshIdentitiesRequestRefreshArgs{} - -// RefreshIdentitiesRequestRefreshArgs struct for RefreshIdentitiesRequestRefreshArgs -type RefreshIdentitiesRequestRefreshArgs struct { - // This will refresh entitlement, role, and access profile calculations. - CorrelateEntitlements *bool `json:"correlateEntitlements,omitempty"` - // This will calculate identity attributes. - PromoteAttributes *bool `json:"promoteAttributes,omitempty"` - // This recalculates manager correlation and manager status. Note: This is computationally expensive to run. - RefreshManagerStatus *bool `json:"refreshManagerStatus,omitempty"` - // Enables attribute synchronization. - SynchronizeAttributes *bool `json:"synchronizeAttributes,omitempty"` - // Option that will enable deletion of an identity objects if there are no account objects. Note: This is not typically used in IdentityNow, except by guidance from SailPoint. - PruneIdentities *bool `json:"pruneIdentities,omitempty"` - // Enables provisioning of role assignments with entitlements that are not currently fulfilled. - Provision *bool `json:"provision,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _RefreshIdentitiesRequestRefreshArgs RefreshIdentitiesRequestRefreshArgs - -// NewRefreshIdentitiesRequestRefreshArgs instantiates a new RefreshIdentitiesRequestRefreshArgs object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewRefreshIdentitiesRequestRefreshArgs() *RefreshIdentitiesRequestRefreshArgs { - this := RefreshIdentitiesRequestRefreshArgs{} - return &this -} - -// NewRefreshIdentitiesRequestRefreshArgsWithDefaults instantiates a new RefreshIdentitiesRequestRefreshArgs object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRefreshIdentitiesRequestRefreshArgsWithDefaults() *RefreshIdentitiesRequestRefreshArgs { - this := RefreshIdentitiesRequestRefreshArgs{} - return &this -} - -// GetCorrelateEntitlements returns the CorrelateEntitlements field value if set, zero value otherwise. -func (o *RefreshIdentitiesRequestRefreshArgs) GetCorrelateEntitlements() bool { - if o == nil || isNil(o.CorrelateEntitlements) { - var ret bool - return ret - } - return *o.CorrelateEntitlements -} - -// GetCorrelateEntitlementsOk returns a tuple with the CorrelateEntitlements field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) GetCorrelateEntitlementsOk() (*bool, bool) { - if o == nil || isNil(o.CorrelateEntitlements) { - return nil, false - } - return o.CorrelateEntitlements, true -} - -// HasCorrelateEntitlements returns a boolean if a field has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) HasCorrelateEntitlements() bool { - if o != nil && !isNil(o.CorrelateEntitlements) { - return true - } - - return false -} - -// SetCorrelateEntitlements gets a reference to the given bool and assigns it to the CorrelateEntitlements field. -func (o *RefreshIdentitiesRequestRefreshArgs) SetCorrelateEntitlements(v bool) { - o.CorrelateEntitlements = &v -} - -// GetPromoteAttributes returns the PromoteAttributes field value if set, zero value otherwise. -func (o *RefreshIdentitiesRequestRefreshArgs) GetPromoteAttributes() bool { - if o == nil || isNil(o.PromoteAttributes) { - var ret bool - return ret - } - return *o.PromoteAttributes -} - -// GetPromoteAttributesOk returns a tuple with the PromoteAttributes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) GetPromoteAttributesOk() (*bool, bool) { - if o == nil || isNil(o.PromoteAttributes) { - return nil, false - } - return o.PromoteAttributes, true -} - -// HasPromoteAttributes returns a boolean if a field has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) HasPromoteAttributes() bool { - if o != nil && !isNil(o.PromoteAttributes) { - return true - } - - return false -} - -// SetPromoteAttributes gets a reference to the given bool and assigns it to the PromoteAttributes field. -func (o *RefreshIdentitiesRequestRefreshArgs) SetPromoteAttributes(v bool) { - o.PromoteAttributes = &v -} - -// GetRefreshManagerStatus returns the RefreshManagerStatus field value if set, zero value otherwise. -func (o *RefreshIdentitiesRequestRefreshArgs) GetRefreshManagerStatus() bool { - if o == nil || isNil(o.RefreshManagerStatus) { - var ret bool - return ret - } - return *o.RefreshManagerStatus -} - -// GetRefreshManagerStatusOk returns a tuple with the RefreshManagerStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) GetRefreshManagerStatusOk() (*bool, bool) { - if o == nil || isNil(o.RefreshManagerStatus) { - return nil, false - } - return o.RefreshManagerStatus, true -} - -// HasRefreshManagerStatus returns a boolean if a field has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) HasRefreshManagerStatus() bool { - if o != nil && !isNil(o.RefreshManagerStatus) { - return true - } - - return false -} - -// SetRefreshManagerStatus gets a reference to the given bool and assigns it to the RefreshManagerStatus field. -func (o *RefreshIdentitiesRequestRefreshArgs) SetRefreshManagerStatus(v bool) { - o.RefreshManagerStatus = &v -} - -// GetSynchronizeAttributes returns the SynchronizeAttributes field value if set, zero value otherwise. -func (o *RefreshIdentitiesRequestRefreshArgs) GetSynchronizeAttributes() bool { - if o == nil || isNil(o.SynchronizeAttributes) { - var ret bool - return ret - } - return *o.SynchronizeAttributes -} - -// GetSynchronizeAttributesOk returns a tuple with the SynchronizeAttributes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) GetSynchronizeAttributesOk() (*bool, bool) { - if o == nil || isNil(o.SynchronizeAttributes) { - return nil, false - } - return o.SynchronizeAttributes, true -} - -// HasSynchronizeAttributes returns a boolean if a field has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) HasSynchronizeAttributes() bool { - if o != nil && !isNil(o.SynchronizeAttributes) { - return true - } - - return false -} - -// SetSynchronizeAttributes gets a reference to the given bool and assigns it to the SynchronizeAttributes field. -func (o *RefreshIdentitiesRequestRefreshArgs) SetSynchronizeAttributes(v bool) { - o.SynchronizeAttributes = &v -} - -// GetPruneIdentities returns the PruneIdentities field value if set, zero value otherwise. -func (o *RefreshIdentitiesRequestRefreshArgs) GetPruneIdentities() bool { - if o == nil || isNil(o.PruneIdentities) { - var ret bool - return ret - } - return *o.PruneIdentities -} - -// GetPruneIdentitiesOk returns a tuple with the PruneIdentities field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) GetPruneIdentitiesOk() (*bool, bool) { - if o == nil || isNil(o.PruneIdentities) { - return nil, false - } - return o.PruneIdentities, true -} - -// HasPruneIdentities returns a boolean if a field has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) HasPruneIdentities() bool { - if o != nil && !isNil(o.PruneIdentities) { - return true - } - - return false -} - -// SetPruneIdentities gets a reference to the given bool and assigns it to the PruneIdentities field. -func (o *RefreshIdentitiesRequestRefreshArgs) SetPruneIdentities(v bool) { - o.PruneIdentities = &v -} - -// GetProvision returns the Provision field value if set, zero value otherwise. -func (o *RefreshIdentitiesRequestRefreshArgs) GetProvision() bool { - if o == nil || isNil(o.Provision) { - var ret bool - return ret - } - return *o.Provision -} - -// GetProvisionOk returns a tuple with the Provision field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) GetProvisionOk() (*bool, bool) { - if o == nil || isNil(o.Provision) { - return nil, false - } - return o.Provision, true -} - -// HasProvision returns a boolean if a field has been set. -func (o *RefreshIdentitiesRequestRefreshArgs) HasProvision() bool { - if o != nil && !isNil(o.Provision) { - return true - } - - return false -} - -// SetProvision gets a reference to the given bool and assigns it to the Provision field. -func (o *RefreshIdentitiesRequestRefreshArgs) SetProvision(v bool) { - o.Provision = &v -} - -func (o RefreshIdentitiesRequestRefreshArgs) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o RefreshIdentitiesRequestRefreshArgs) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.CorrelateEntitlements) { - toSerialize["correlateEntitlements"] = o.CorrelateEntitlements - } - if !isNil(o.PromoteAttributes) { - toSerialize["promoteAttributes"] = o.PromoteAttributes - } - if !isNil(o.RefreshManagerStatus) { - toSerialize["refreshManagerStatus"] = o.RefreshManagerStatus - } - if !isNil(o.SynchronizeAttributes) { - toSerialize["synchronizeAttributes"] = o.SynchronizeAttributes - } - if !isNil(o.PruneIdentities) { - toSerialize["pruneIdentities"] = o.PruneIdentities - } - if !isNil(o.Provision) { - toSerialize["provision"] = o.Provision - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *RefreshIdentitiesRequestRefreshArgs) UnmarshalJSON(bytes []byte) (err error) { - varRefreshIdentitiesRequestRefreshArgs := _RefreshIdentitiesRequestRefreshArgs{} - - if err = json.Unmarshal(bytes, &varRefreshIdentitiesRequestRefreshArgs); err == nil { - *o = RefreshIdentitiesRequestRefreshArgs(varRefreshIdentitiesRequestRefreshArgs) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "correlateEntitlements") - delete(additionalProperties, "promoteAttributes") - delete(additionalProperties, "refreshManagerStatus") - delete(additionalProperties, "synchronizeAttributes") - delete(additionalProperties, "pruneIdentities") - delete(additionalProperties, "provision") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableRefreshIdentitiesRequestRefreshArgs struct { - value *RefreshIdentitiesRequestRefreshArgs - isSet bool -} - -func (v NullableRefreshIdentitiesRequestRefreshArgs) Get() *RefreshIdentitiesRequestRefreshArgs { - return v.value -} - -func (v *NullableRefreshIdentitiesRequestRefreshArgs) Set(val *RefreshIdentitiesRequestRefreshArgs) { - v.value = val - v.isSet = true -} - -func (v NullableRefreshIdentitiesRequestRefreshArgs) IsSet() bool { - return v.isSet -} - -func (v *NullableRefreshIdentitiesRequestRefreshArgs) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRefreshIdentitiesRequestRefreshArgs(val *RefreshIdentitiesRequestRefreshArgs) *NullableRefreshIdentitiesRequestRefreshArgs { - return &NullableRefreshIdentitiesRequestRefreshArgs{value: val, isSet: true} -} - -func (v NullableRefreshIdentitiesRequestRefreshArgs) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRefreshIdentitiesRequestRefreshArgs) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/model_update_user_permissions_request.go b/api_cc/model_update_user_permissions_request.go deleted file mode 100644 index da7c4ef27..000000000 --- a/api_cc/model_update_user_permissions_request.go +++ /dev/null @@ -1,226 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" -) - -// checks if the UpdateUserPermissionsRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &UpdateUserPermissionsRequest{} - -// UpdateUserPermissionsRequest struct for UpdateUserPermissionsRequest -type UpdateUserPermissionsRequest struct { - Ids *string `json:"ids,omitempty"` - // Indicates if user should be an IDN Admin. \"0\" for false, \"1\" for true. - IsAdmin *string `json:"isAdmin,omitempty"` - AdminType *string `json:"adminType,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _UpdateUserPermissionsRequest UpdateUserPermissionsRequest - -// NewUpdateUserPermissionsRequest instantiates a new UpdateUserPermissionsRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewUpdateUserPermissionsRequest() *UpdateUserPermissionsRequest { - this := UpdateUserPermissionsRequest{} - return &this -} - -// NewUpdateUserPermissionsRequestWithDefaults instantiates a new UpdateUserPermissionsRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewUpdateUserPermissionsRequestWithDefaults() *UpdateUserPermissionsRequest { - this := UpdateUserPermissionsRequest{} - return &this -} - -// GetIds returns the Ids field value if set, zero value otherwise. -func (o *UpdateUserPermissionsRequest) GetIds() string { - if o == nil || isNil(o.Ids) { - var ret string - return ret - } - return *o.Ids -} - -// GetIdsOk returns a tuple with the Ids field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateUserPermissionsRequest) GetIdsOk() (*string, bool) { - if o == nil || isNil(o.Ids) { - return nil, false - } - return o.Ids, true -} - -// HasIds returns a boolean if a field has been set. -func (o *UpdateUserPermissionsRequest) HasIds() bool { - if o != nil && !isNil(o.Ids) { - return true - } - - return false -} - -// SetIds gets a reference to the given string and assigns it to the Ids field. -func (o *UpdateUserPermissionsRequest) SetIds(v string) { - o.Ids = &v -} - -// GetIsAdmin returns the IsAdmin field value if set, zero value otherwise. -func (o *UpdateUserPermissionsRequest) GetIsAdmin() string { - if o == nil || isNil(o.IsAdmin) { - var ret string - return ret - } - return *o.IsAdmin -} - -// GetIsAdminOk returns a tuple with the IsAdmin field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateUserPermissionsRequest) GetIsAdminOk() (*string, bool) { - if o == nil || isNil(o.IsAdmin) { - return nil, false - } - return o.IsAdmin, true -} - -// HasIsAdmin returns a boolean if a field has been set. -func (o *UpdateUserPermissionsRequest) HasIsAdmin() bool { - if o != nil && !isNil(o.IsAdmin) { - return true - } - - return false -} - -// SetIsAdmin gets a reference to the given string and assigns it to the IsAdmin field. -func (o *UpdateUserPermissionsRequest) SetIsAdmin(v string) { - o.IsAdmin = &v -} - -// GetAdminType returns the AdminType field value if set, zero value otherwise. -func (o *UpdateUserPermissionsRequest) GetAdminType() string { - if o == nil || isNil(o.AdminType) { - var ret string - return ret - } - return *o.AdminType -} - -// GetAdminTypeOk returns a tuple with the AdminType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateUserPermissionsRequest) GetAdminTypeOk() (*string, bool) { - if o == nil || isNil(o.AdminType) { - return nil, false - } - return o.AdminType, true -} - -// HasAdminType returns a boolean if a field has been set. -func (o *UpdateUserPermissionsRequest) HasAdminType() bool { - if o != nil && !isNil(o.AdminType) { - return true - } - - return false -} - -// SetAdminType gets a reference to the given string and assigns it to the AdminType field. -func (o *UpdateUserPermissionsRequest) SetAdminType(v string) { - o.AdminType = &v -} - -func (o UpdateUserPermissionsRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o UpdateUserPermissionsRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Ids) { - toSerialize["ids"] = o.Ids - } - if !isNil(o.IsAdmin) { - toSerialize["isAdmin"] = o.IsAdmin - } - if !isNil(o.AdminType) { - toSerialize["adminType"] = o.AdminType - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *UpdateUserPermissionsRequest) UnmarshalJSON(bytes []byte) (err error) { - varUpdateUserPermissionsRequest := _UpdateUserPermissionsRequest{} - - if err = json.Unmarshal(bytes, &varUpdateUserPermissionsRequest); err == nil { - *o = UpdateUserPermissionsRequest(varUpdateUserPermissionsRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "ids") - delete(additionalProperties, "isAdmin") - delete(additionalProperties, "adminType") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableUpdateUserPermissionsRequest struct { - value *UpdateUserPermissionsRequest - isSet bool -} - -func (v NullableUpdateUserPermissionsRequest) Get() *UpdateUserPermissionsRequest { - return v.value -} - -func (v *NullableUpdateUserPermissionsRequest) Set(val *UpdateUserPermissionsRequest) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateUserPermissionsRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateUserPermissionsRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateUserPermissionsRequest(val *UpdateUserPermissionsRequest) *NullableUpdateUserPermissionsRequest { - return &NullableUpdateUserPermissionsRequest{value: val, isSet: true} -} - -func (v NullableUpdateUserPermissionsRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateUserPermissionsRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_cc/response.go b/api_cc/response.go deleted file mode 100644 index f8aec44f4..000000000 --- a/api_cc/response.go +++ /dev/null @@ -1,47 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "net/http" -) - -// APIResponse stores the API response returned by the server. -type APIResponse struct { - *http.Response `json:"-"` - Message string `json:"message,omitempty"` - // Operation is the name of the OpenAPI operation. - Operation string `json:"operation,omitempty"` - // RequestURL is the request URL. This value is always available, even if the - // embedded *http.Response is nil. - RequestURL string `json:"url,omitempty"` - // Method is the HTTP method used for the request. This value is always - // available, even if the embedded *http.Response is nil. - Method string `json:"method,omitempty"` - // Payload holds the contents of the response body (which may be nil or empty). - // This is provided here as the raw response.Body() reader will have already - // been drained. - Payload []byte `json:"-"` -} - -// NewAPIResponse returns a new APIResponse object. -func NewAPIResponse(r *http.Response) *APIResponse { - - response := &APIResponse{Response: r} - return response -} - -// NewAPIResponseWithError returns a new APIResponse object with the provided error message. -func NewAPIResponseWithError(errorMessage string) *APIResponse { - - response := &APIResponse{Message: errorMessage} - return response -} diff --git a/api_cc/test/api_accounts_test.go b/api_cc/test/api_accounts_test.go deleted file mode 100644 index a6772d600..000000000 --- a/api_cc/test/api_accounts_test.go +++ /dev/null @@ -1,50 +0,0 @@ -/* -IdentityNow cc (private) APIs - -Testing AccountsAPIService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api_cc - -import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func Test_api_cc_AccountsAPIService(t *testing.T) { - - configuration := openapiclient.NewDefaultConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AccountsAPIService ListAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_CC.AccountsAPI.ListAccounts(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AccountsAPIService RemoveAccount", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - httpRes, err := apiClient.API_CC.AccountsAPI.RemoveAccount(context.Background(), id).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api_cc/test/api_applications_test.go b/api_cc/test/api_applications_test.go deleted file mode 100644 index 8449d2430..000000000 --- a/api_cc/test/api_applications_test.go +++ /dev/null @@ -1,104 +0,0 @@ -/* -IdentityNow cc (private) APIs - -Testing ApplicationsAPIService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api_cc - -import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func Test_api_cc_ApplicationsAPIService(t *testing.T) { - - configuration := openapiclient.NewDefaultConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ApplicationsAPIService CreateApplication", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_CC.ApplicationsAPI.CreateApplication(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ApplicationsAPIService DeleteApplication", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - httpRes, err := apiClient.API_CC.ApplicationsAPI.DeleteApplication(context.Background(), id).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ApplicationsAPIService GetApplication", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.API_CC.ApplicationsAPI.GetApplication(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ApplicationsAPIService GetApplicationAccessProfiles", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.API_CC.ApplicationsAPI.GetApplicationAccessProfiles(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ApplicationsAPIService ListApplications", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_CC.ApplicationsAPI.ListApplications(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ApplicationsAPIService UpdateApplication", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.API_CC.ApplicationsAPI.UpdateApplication(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api_cc/test/api_connectors_test.go b/api_cc/test/api_connectors_test.go deleted file mode 100644 index 9e911eaca..000000000 --- a/api_cc/test/api_connectors_test.go +++ /dev/null @@ -1,87 +0,0 @@ -/* -IdentityNow cc (private) APIs - -Testing ConnectorsAPIService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api_cc - -import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func Test_api_cc_ConnectorsAPIService(t *testing.T) { - - configuration := openapiclient.NewDefaultConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ConnectorsAPIService CreateConnector", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - httpRes, err := apiClient.API_CC.ConnectorsAPI.CreateConnector(context.Background()).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ConnectorsAPIService DeleteConnector", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - httpRes, err := apiClient.API_CC.ConnectorsAPI.DeleteConnector(context.Background(), id).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ConnectorsAPIService ExportConnectorConfig", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - httpRes, err := apiClient.API_CC.ConnectorsAPI.ExportConnectorConfig(context.Background(), id).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ConnectorsAPIService ImportConnectorConfig", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - httpRes, err := apiClient.API_CC.ConnectorsAPI.ImportConnectorConfig(context.Background(), id).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ConnectorsAPIService ListConnectors", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_CC.ConnectorsAPI.ListConnectors(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api_cc/test/api_sources_accounts_test.go b/api_cc/test/api_sources_accounts_test.go deleted file mode 100644 index d5dc5a2bd..000000000 --- a/api_cc/test/api_sources_accounts_test.go +++ /dev/null @@ -1,38 +0,0 @@ -/* -IdentityNow cc (private) APIs - -Testing SourcesAccountsAPIService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api_cc - -import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func Test_api_cc_SourcesAccountsAPIService(t *testing.T) { - - configuration := openapiclient.NewDefaultConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SourcesAccountsAPIService ExportAccountFeed", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - httpRes, err := apiClient.API_CC.SourcesAccountsAPI.ExportAccountFeed(context.Background(), id).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api_cc/test/api_sources_aggregation_test.go b/api_cc/test/api_sources_aggregation_test.go deleted file mode 100644 index 01d0cf60c..000000000 --- a/api_cc/test/api_sources_aggregation_test.go +++ /dev/null @@ -1,53 +0,0 @@ -/* -IdentityNow cc (private) APIs - -Testing SourcesAggregationAPIService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api_cc - -import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func Test_api_cc_SourcesAggregationAPIService(t *testing.T) { - - configuration := openapiclient.NewDefaultConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SourcesAggregationAPIService LoadAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.API_CC.SourcesAggregationAPI.LoadAccounts(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SourcesAggregationAPIService LoadEntitlements", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.API_CC.SourcesAggregationAPI.LoadEntitlements(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api_cc/test/api_system_test.go b/api_cc/test/api_system_test.go deleted file mode 100644 index da47cbc8a..000000000 --- a/api_cc/test/api_system_test.go +++ /dev/null @@ -1,37 +0,0 @@ -/* -IdentityNow cc (private) APIs - -Testing SystemAPIService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api_cc - -import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func Test_api_cc_SystemAPIService(t *testing.T) { - - configuration := openapiclient.NewDefaultConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SystemAPIService RefreshIdentities", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_CC.SystemAPI.RefreshIdentities(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api_cc/test/api_user_test.go b/api_cc/test/api_user_test.go deleted file mode 100644 index 8842efbb9..000000000 --- a/api_cc/test/api_user_test.go +++ /dev/null @@ -1,50 +0,0 @@ -/* -IdentityNow cc (private) APIs - -Testing UserAPIService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api_cc - -import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func Test_api_cc_UserAPIService(t *testing.T) { - - configuration := openapiclient.NewDefaultConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test UserAPIService GetIdentity", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var id string - - resp, httpRes, err := apiClient.API_CC.UserAPI.GetIdentity(context.Background(), id).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test UserAPIService UpdateUserPermissions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - httpRes, err := apiClient.API_CC.UserAPI.UpdateUserPermissions(context.Background()).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api_cc/utils.go b/api_cc/utils.go deleted file mode 100644 index bfc904665..000000000 --- a/api_cc/utils.go +++ /dev/null @@ -1,347 +0,0 @@ -/* -IdentityNow cc (private) APIs - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 1.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_cc - -import ( - "encoding/json" - "reflect" - "time" -) - -// PtrBool is a helper routine that returns a pointer to given boolean value. -func PtrBool(v bool) *bool { return &v } - -// PtrInt is a helper routine that returns a pointer to given integer value. -func PtrInt(v int) *int { return &v } - -// PtrInt32 is a helper routine that returns a pointer to given integer value. -func PtrInt32(v int32) *int32 { return &v } - -// PtrInt64 is a helper routine that returns a pointer to given integer value. -func PtrInt64(v int64) *int64 { return &v } - -// PtrFloat32 is a helper routine that returns a pointer to given float value. -func PtrFloat32(v float32) *float32 { return &v } - -// PtrFloat64 is a helper routine that returns a pointer to given float value. -func PtrFloat64(v float64) *float64 { return &v } - -// PtrString is a helper routine that returns a pointer to given string value. -func PtrString(v string) *string { return &v } - -// PtrTime is helper routine that returns a pointer to given Time value. -func PtrTime(v time.Time) *time.Time { return &v } - -type NullableBool struct { - value *bool - isSet bool -} - -func (v NullableBool) Get() *bool { - return v.value -} - -func (v *NullableBool) Set(val *bool) { - v.value = val - v.isSet = true -} - -func (v NullableBool) IsSet() bool { - return v.isSet -} - -func (v *NullableBool) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBool(val *bool) *NullableBool { - return &NullableBool{value: val, isSet: true} -} - -func (v NullableBool) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBool) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableInt struct { - value *int - isSet bool -} - -func (v NullableInt) Get() *int { - return v.value -} - -func (v *NullableInt) Set(val *int) { - v.value = val - v.isSet = true -} - -func (v NullableInt) IsSet() bool { - return v.isSet -} - -func (v *NullableInt) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableInt(val *int) *NullableInt { - return &NullableInt{value: val, isSet: true} -} - -func (v NullableInt) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableInt) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableInt32 struct { - value *int32 - isSet bool -} - -func (v NullableInt32) Get() *int32 { - return v.value -} - -func (v *NullableInt32) Set(val *int32) { - v.value = val - v.isSet = true -} - -func (v NullableInt32) IsSet() bool { - return v.isSet -} - -func (v *NullableInt32) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableInt32(val *int32) *NullableInt32 { - return &NullableInt32{value: val, isSet: true} -} - -func (v NullableInt32) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableInt32) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableInt64 struct { - value *int64 - isSet bool -} - -func (v NullableInt64) Get() *int64 { - return v.value -} - -func (v *NullableInt64) Set(val *int64) { - v.value = val - v.isSet = true -} - -func (v NullableInt64) IsSet() bool { - return v.isSet -} - -func (v *NullableInt64) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableInt64(val *int64) *NullableInt64 { - return &NullableInt64{value: val, isSet: true} -} - -func (v NullableInt64) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableInt64) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableFloat32 struct { - value *float32 - isSet bool -} - -func (v NullableFloat32) Get() *float32 { - return v.value -} - -func (v *NullableFloat32) Set(val *float32) { - v.value = val - v.isSet = true -} - -func (v NullableFloat32) IsSet() bool { - return v.isSet -} - -func (v *NullableFloat32) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFloat32(val *float32) *NullableFloat32 { - return &NullableFloat32{value: val, isSet: true} -} - -func (v NullableFloat32) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFloat32) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableFloat64 struct { - value *float64 - isSet bool -} - -func (v NullableFloat64) Get() *float64 { - return v.value -} - -func (v *NullableFloat64) Set(val *float64) { - v.value = val - v.isSet = true -} - -func (v NullableFloat64) IsSet() bool { - return v.isSet -} - -func (v *NullableFloat64) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFloat64(val *float64) *NullableFloat64 { - return &NullableFloat64{value: val, isSet: true} -} - -func (v NullableFloat64) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFloat64) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableString struct { - value *string - isSet bool -} - -func (v NullableString) Get() *string { - return v.value -} - -func (v *NullableString) Set(val *string) { - v.value = val - v.isSet = true -} - -func (v NullableString) IsSet() bool { - return v.isSet -} - -func (v *NullableString) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableString(val *string) *NullableString { - return &NullableString{value: val, isSet: true} -} - -func (v NullableString) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableString) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableTime struct { - value *time.Time - isSet bool -} - -func (v NullableTime) Get() *time.Time { - return v.value -} - -func (v *NullableTime) Set(val *time.Time) { - v.value = val - v.isSet = true -} - -func (v NullableTime) IsSet() bool { - return v.isSet -} - -func (v *NullableTime) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableTime(val *time.Time) *NullableTime { - return &NullableTime{value: val, isSet: true} -} - -func (v NullableTime) MarshalJSON() ([]byte, error) { - return v.value.MarshalJSON() -} - -func (v *NullableTime) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -// isNil checks if an input is nil -func isNil(i interface{}) bool { - if i == nil { - return true - } - switch reflect.TypeOf(i).Kind() { - case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: - return reflect.ValueOf(i).IsNil() - case reflect.Array: - return reflect.ValueOf(i).IsZero() - } - return false -} - -type MappedNullable interface { - ToMap() (map[string]interface{}, error) -} diff --git a/api_v2/.gitignore b/api_v2/.gitignore deleted file mode 100644 index daf913b1b..000000000 --- a/api_v2/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so - -# Folders -_obj -_test - -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out - -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* - -_testmain.go - -*.exe -*.test -*.prof diff --git a/api_v2/.openapi-generator-ignore b/api_v2/.openapi-generator-ignore deleted file mode 100644 index 7484ee590..000000000 --- a/api_v2/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/api_v2/.openapi-generator/FILES b/api_v2/.openapi-generator/FILES deleted file mode 100644 index 1e1e08c58..000000000 --- a/api_v2/.openapi-generator/FILES +++ /dev/null @@ -1,48 +0,0 @@ -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -api/openapi.yaml -api_governance_groups.go -api_org.go -client.go -configuration.go -docs/BulkDeleteWorkGroups200Response.md -docs/BulkDeleteWorkGroupsRequest.md -docs/CreateWorkgroupRequest.md -docs/CreateWorkgroupRequestOwner.md -docs/GetOrgSettings200Response.md -docs/GetOrgSettings200ResponseApprovalConfig.md -docs/GetOrgSettings200ResponseSystemNotificationConfig.md -docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner.md -docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds.md -docs/GovernanceGroupsAPI.md -docs/ListWorkgroupConnections200ResponseInner.md -docs/ListWorkgroupMembers200ResponseInner.md -docs/ListWorkgroups200ResponseInner.md -docs/ListWorkgroups200ResponseInnerOwner.md -docs/ModifyWorkgroupMembersRequest.md -docs/OrgAPI.md -docs/UpdateOrgSettingsRequest.md -git_push.sh -go.mod -go.sum -model_bulk_delete_work_groups_200_response.go -model_bulk_delete_work_groups_request.go -model_create_workgroup_request.go -model_create_workgroup_request_owner.go -model_get_org_settings_200_response.go -model_get_org_settings_200_response_approval_config.go -model_get_org_settings_200_response_system_notification_config.go -model_get_org_settings_200_response_system_notification_config_notifications_inner.go -model_get_org_settings_200_response_system_notification_config_notifications_inner_thresholds.go -model_list_workgroup_connections_200_response_inner.go -model_list_workgroup_members_200_response_inner.go -model_list_workgroups_200_response_inner.go -model_list_workgroups_200_response_inner_owner.go -model_modify_workgroup_members_request.go -model_update_org_settings_request.go -response.go -test/api_governance_groups_test.go -test/api_org_test.go -utils.go diff --git a/api_v2/.openapi-generator/VERSION b/api_v2/.openapi-generator/VERSION deleted file mode 100644 index 3769235d3..000000000 --- a/api_v2/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.1.0 \ No newline at end of file diff --git a/api_v2/.travis.yml b/api_v2/.travis.yml deleted file mode 100644 index f5cb2ce9a..000000000 --- a/api_v2/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: go - -install: - - go get -d -v . - -script: - - go build -v ./ - diff --git a/api_v2/README.md b/api_v2/README.md deleted file mode 100644 index e9746fd71..000000000 --- a/api_v2/README.md +++ /dev/null @@ -1,195 +0,0 @@ -# Go API client for api_v2 - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -## 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. - -- API version: 2.0.0 -- Package version: 2.0.1 -- Build package: org.openapitools.codegen.languages.GoClientCodegen - -## Installation - -Install the following dependencies: - -```shell -go get github.com/stretchr/testify/assert -go get golang.org/x/oauth2 -go get golang.org/x/net/context -``` - -Put the package under your project folder and add the following in import: - -```golang -import api_v2 "github.com/sailpoint-oss/golang-sdk/v2" -``` - -To use a proxy, set the environment variable `HTTP_PROXY`: - -```golang -os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") -``` - -## Configuration of Server URL - -Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. - -### Select Server Configuration - -For using other server than the one defined on index 0 set context value `api_v2.ContextServerIndex` of type `int`. - -```golang -ctx := context.WithValue(context.Background(), api_v2.ContextServerIndex, 1) -``` - -### Templated Server URL - -Templated server URL is formatted using default variables from configuration or from context value `api_v2.ContextServerVariables` of type `map[string]string`. - -```golang -ctx := context.WithValue(context.Background(), api_v2.ContextServerVariables, map[string]string{ - "basePath": "v2", -}) -``` - -Note, enum values are always validated and all unused variables are silently ignored. - -### URLs Configuration per Operation - -Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. -An operation is uniquely identified by `"{classname}Service.{nickname}"` string. -Similar rules for overriding default operation server index and variables applies by using `api_v2.ContextOperationServerIndices` and `api_v2.ContextOperationServerVariables` context maps. - -```golang -ctx := context.WithValue(context.Background(), api_v2.ContextOperationServerIndices, map[string]int{ - "{classname}Service.{nickname}": 2, -}) -ctx = context.WithValue(context.Background(), api_v2.ContextOperationServerVariables, map[string]map[string]string{ - "{classname}Service.{nickname}": { - "port": "8443", - }, -}) -``` - -## Documentation for API Endpoints - -All URIs are relative to *https://sailpoint.api.identitynow.com/v2* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*GovernanceGroupsAPI* | [**BulkDeleteWorkGroups**](docs/GovernanceGroupsAPI.md#bulkdeleteworkgroups) | **Post** /workgroups/bulk-delete | Bulk delete work groups -*GovernanceGroupsAPI* | [**CreateWorkgroup**](docs/GovernanceGroupsAPI.md#createworkgroup) | **Post** /workgroups | Create Work Group -*GovernanceGroupsAPI* | [**DeleteWorkgroup**](docs/GovernanceGroupsAPI.md#deleteworkgroup) | **Delete** /workgroups/{workgroupId} | Delete Work Group By Id -*GovernanceGroupsAPI* | [**GetWorkgroup**](docs/GovernanceGroupsAPI.md#getworkgroup) | **Get** /workgroups/{workgroupId} | Get Work Group By Id -*GovernanceGroupsAPI* | [**ListWorkgroupConnections**](docs/GovernanceGroupsAPI.md#listworkgroupconnections) | **Get** /workgroups/{workgroupId}/connections | List Work Group Connections -*GovernanceGroupsAPI* | [**ListWorkgroupMembers**](docs/GovernanceGroupsAPI.md#listworkgroupmembers) | **Get** /workgroups/{workgroupId}/members | List Work Group Members -*GovernanceGroupsAPI* | [**ListWorkgroups**](docs/GovernanceGroupsAPI.md#listworkgroups) | **Get** /workgroups | List Work Groups -*GovernanceGroupsAPI* | [**ModifyWorkgroupMembers**](docs/GovernanceGroupsAPI.md#modifyworkgroupmembers) | **Post** /workgroups/{workgroupId}/members | Modify Work Group Members -*GovernanceGroupsAPI* | [**UpdateWorkgroup**](docs/GovernanceGroupsAPI.md#updateworkgroup) | **Patch** /workgroups/{workgroupId} | Update Work Group By Id -*OrgAPI* | [**GetOrgSettings**](docs/OrgAPI.md#getorgsettings) | **Get** /org | Retrieves your org settings. -*OrgAPI* | [**UpdateOrgSettings**](docs/OrgAPI.md#updateorgsettings) | **Patch** /org | Updates one or more org attributes. - - -## Documentation For Models - - - [BulkDeleteWorkGroups200Response](docs/BulkDeleteWorkGroups200Response.md) - - [BulkDeleteWorkGroupsRequest](docs/BulkDeleteWorkGroupsRequest.md) - - [CreateWorkgroupRequest](docs/CreateWorkgroupRequest.md) - - [CreateWorkgroupRequestOwner](docs/CreateWorkgroupRequestOwner.md) - - [GetOrgSettings200Response](docs/GetOrgSettings200Response.md) - - [GetOrgSettings200ResponseApprovalConfig](docs/GetOrgSettings200ResponseApprovalConfig.md) - - [GetOrgSettings200ResponseSystemNotificationConfig](docs/GetOrgSettings200ResponseSystemNotificationConfig.md) - - [GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner](docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner.md) - - [GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds](docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds.md) - - [ListWorkgroupConnections200ResponseInner](docs/ListWorkgroupConnections200ResponseInner.md) - - [ListWorkgroupMembers200ResponseInner](docs/ListWorkgroupMembers200ResponseInner.md) - - [ListWorkgroups200ResponseInner](docs/ListWorkgroups200ResponseInner.md) - - [ListWorkgroups200ResponseInnerOwner](docs/ListWorkgroups200ResponseInnerOwner.md) - - [ModifyWorkgroupMembersRequest](docs/ModifyWorkgroupMembersRequest.md) - - [UpdateOrgSettingsRequest](docs/UpdateOrgSettingsRequest.md) - - -## Documentation For Authorization - - -Authentication schemes defined for the API: -### UserContextAuth - - -- **Type**: OAuth -- **Flow**: application -- **Authorization URL**: -- **Scopes**: - - **sp:scopes:default**: default scope - - **sp:scopes:all**: access to all scopes - -Example - -```golang -auth := context.WithValue(context.Background(), api_v2.ContextAccessToken, "ACCESSTOKENSTRING") -r, err := client.Service.Operation(auth, args) -``` - -Or via OAuth2 module to automatically refresh tokens and perform user authentication. - -```golang -import "golang.org/x/oauth2" - -/* Perform OAuth2 round trip request and obtain a token */ - -tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token) -auth := context.WithValue(oauth2.NoContext, api_v2.ContextOAuth2, tokenSource) -r, err := client.Service.Operation(auth, args) -``` - -### UserContextAuth - - -- **Type**: OAuth -- **Flow**: accessCode -- **Authorization URL**: https://tenant.login.sailpoint.com/oauth/authorize -- **Scopes**: - - **sp:scopes:default**: default scope - - **sp:scopes:all**: access to all scopes - -Example - -```golang -auth := context.WithValue(context.Background(), api_v2.ContextAccessToken, "ACCESSTOKENSTRING") -r, err := client.Service.Operation(auth, args) -``` - -Or via OAuth2 module to automatically refresh tokens and perform user authentication. - -```golang -import "golang.org/x/oauth2" - -/* Perform OAuth2 round trip request and obtain a token */ - -tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token) -auth := context.WithValue(oauth2.NoContext, api_v2.ContextOAuth2, tokenSource) -r, err := client.Service.Operation(auth, args) -``` - - -## Documentation for Utility Methods - -Due to the fact that model structure members are all pointers, this package contains -a number of utility functions to easily obtain pointers to values of basic types. -Each of these functions takes a value of the given basic type and returns a pointer to it: - -* `PtrBool` -* `PtrInt` -* `PtrInt32` -* `PtrInt64` -* `PtrFloat` -* `PtrFloat32` -* `PtrFloat64` -* `PtrString` -* `PtrTime` - -## Author - - - diff --git a/api_v2/api/openapi.yaml b/api_v2/api/openapi.yaml deleted file mode 100644 index ae06f8098..000000000 --- a/api_v2/api/openapi.yaml +++ /dev/null @@ -1,899 +0,0 @@ -openapi: 3.0.1 -info: - title: SailPoint SaaS API - version: 2.0.0 -servers: -- description: This is the production API server. - url: "https://{tenant}.api.identitynow.com/v2" - variables: - tenant: - default: sailpoint - description: "This is the name of your tenant, typically your company's name." -- description: This is the V2 API server. - url: "https://{apiUrl}/v2" - variables: - apiUrl: - default: sailpoint.api.identitynow.com - description: This is the api url of your tenant -tags: -- name: org -paths: - /org: - get: - description: Retrieves information and operational settings for your org (as - determined by the URL domain). - operationId: getOrgSettings - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/getOrgSettings_200_response' - description: OK. - headers: - ETag: - description: Entity tag. - explode: false - schema: - type: string - style: simple - Last-Modified: - description: Last modified date. - explode: false - schema: - format: date-time - type: string - style: simple - Link: - description: Links to alternate or related resources. - explode: false - schema: - type: string - style: simple - summary: Retrieves your org settings. - tags: - - org - patch: - description: Updates one or more attributes for your org. - operationId: updateOrgSettings - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/updateOrgSettings_request' - description: Org settings to update. - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/getOrgSettings_200_response' - description: OK. - headers: - ETag: - description: Entity tag. - explode: false - schema: - type: string - style: simple - Last-Modified: - description: Last modified date. - explode: false - schema: - format: date-time - type: string - style: simple - Link: - description: Links to alternate or related resources. - explode: false - schema: - type: string - style: simple - summary: Updates one or more org attributes. - tags: - - org - /workgroups: - get: - description: This API returns a list of work groups - operationId: listWorkgroups - parameters: - - description: Max number of results to return - example: 250 - explode: true - in: query - name: limit - required: false - schema: - default: 250 - format: int32 - maximum: 250 - minimum: 0 - type: integer - style: form - - description: Offset into the full result set. Usually specified with *limit* - to paginate through the results. - example: 0 - explode: true - in: query - name: offset - required: false - schema: - default: 0 - format: int32 - minimum: 0 - type: integer - style: form - - description: |- - Filter results using the following syntax. - [{property:name, value: "Tyler", operation: EQ}] - explode: true - in: query - name: filters - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/listWorkgroups_200_response_inner' - type: array - description: List of work group objects - security: - - UserContextAuth: [] - summary: List Work Groups - tags: - - Governance Groups - post: - description: This API allows you to create a work group - operationId: createWorkgroup - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/createWorkgroup_request' - description: Work group to create. - required: true - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/listWorkgroups_200_response_inner' - type: array - description: List of work group objects - security: - - UserContextAuth: [] - summary: Create Work Group - tags: - - Governance Groups - /workgroups/{workgroupId}: - delete: - description: This API deletes a single workgroup based on the ID - operationId: deleteWorkgroup - parameters: - - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - explode: false - in: path - name: workgroupId - required: true - schema: - type: string - style: simple - responses: - "204": - content: - application/json: {} - description: Empty response on successful deletion - security: - - UserContextAuth: [] - summary: Delete Work Group By Id - tags: - - Governance Groups - get: - description: This API returns the details for a single workgroup based on the - ID - operationId: getWorkgroup - parameters: - - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - explode: false - in: path - name: workgroupId - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/listWorkgroups_200_response_inner' - description: Workgroup object - security: - - UserContextAuth: [] - summary: Get Work Group By Id - tags: - - Governance Groups - patch: - description: This API updates and returns the details for a single workgroup - based on the ID - operationId: updateWorkgroup - parameters: - - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - explode: false - in: path - name: workgroupId - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/createWorkgroup_request' - description: Work group to modify. - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/listWorkgroups_200_response_inner' - description: Workgroup object - security: - - UserContextAuth: [] - summary: Update Work Group By Id - tags: - - Governance Groups - /workgroups/{workgroupId}/members: - get: - description: This API returns the members of a work group - operationId: listWorkgroupMembers - parameters: - - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - explode: false - in: path - name: workgroupId - required: true - schema: - type: string - style: simple - - description: Max number of results to return - example: 250 - explode: true - in: query - name: limit - required: false - schema: - default: 250 - format: int32 - maximum: 250 - minimum: 0 - type: integer - style: form - - description: Offset into the full result set. Usually specified with *limit* - to paginate through the results. - example: 0 - explode: true - in: query - name: offset - required: false - schema: - default: 0 - format: int32 - minimum: 0 - type: integer - style: form - - description: |- - Filter results using the following syntax. - [{property:name, value: "Tyler", operation: EQ}] - explode: true - in: query - name: filters - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/listWorkgroupMembers_200_response_inner' - type: array - description: List of work group member objects - security: - - UserContextAuth: [] - summary: List Work Group Members - tags: - - Governance Groups - post: - description: This API allows you to modify the members of a work group - operationId: modifyWorkgroupMembers - parameters: - - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - explode: false - in: path - name: workgroupId - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/modifyWorkgroupMembers_request' - description: Add/Remove workgroup member ids. - required: true - responses: - "204": - content: - application/json: {} - description: Empty response on successful deletion - security: - - UserContextAuth: [] - summary: Modify Work Group Members - tags: - - Governance Groups - /workgroups/{workgroupId}/connections: - get: - description: This API returns the connections of a work group - operationId: listWorkgroupConnections - parameters: - - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - explode: false - in: path - name: workgroupId - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/listWorkgroupConnections_200_response_inner' - type: array - description: List of work group connection objects - security: - - UserContextAuth: [] - summary: List Work Group Connections - tags: - - Governance Groups - /workgroups/bulk-delete: - post: - description: This API allows you to bulk-delete work groups - operationId: bulkDeleteWorkGroups - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/bulkDeleteWorkGroups_request' - description: Work group ids to delete - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/bulkDeleteWorkGroups_200_response' - description: List of work group objects - security: - - UserContextAuth: [] - summary: Bulk delete work groups - tags: - - Governance Groups -components: - schemas: - createWorkgroup_request: - properties: - name: - example: Test group 3 - type: string - description: - example: This is a test - type: string - owner: - $ref: '#/components/schemas/createWorkgroup_request_owner' - type: object - getOrgSettings_200_response_systemNotificationConfig_notifications_inner: - example: - thresholds: - healthy: healthy - unhealthy: unhealthy - byEmail: true - type: type - properties: - type: - type: string - byEmail: - type: boolean - thresholds: - $ref: '#/components/schemas/getOrgSettings_200_response_systemNotificationConfig_notifications_inner_thresholds' - type: object - listWorkgroupMembers_200_response_inner: - example: - name: Jerry.Bennett - alias: Jerry.Bennett - externalId: 2c9180837dfe6949017e208e26027b23 - id: 3497959 - email: Jerry.Bennett@sailpointdemo.com - properties: - alias: - example: Jerry.Bennett - type: string - email: - example: Jerry.Bennett@sailpointdemo.com - type: string - externalId: - example: 2c9180837dfe6949017e208e26027b23 - type: string - id: - example: 3497959 - format: int32 - type: integer - name: - example: Jerry.Bennett - type: string - type: object - getOrgSettings_200_response: - example: - maxRegisteredIdentities: 0 - approvalConfig: - fallbackApprover: fallbackApprover - maxReminders: 3 - daysTillEscalation: 7 - daysBetweenReminders: 9 - enableExternalPasswordChange: true - description: description - emailTestAddress: emailTestAddress - styleHash: styleHash - identityCount: 6 - kbaReqAnswers: 5 - adminStrongAuthRequired: true - lastUpdated: 2000-01-23T04:56:07.000+00:00 - dateCreated: 2000-01-23T04:56:07.000+00:00 - loginUrl: loginUrl - systemNotificationEmails: - - systemNotificationEmails - - systemNotificationEmails - id: id - redirectPatterns: - - redirectPatterns - - redirectPatterns - ssoDomain: ssoDomain - kbaReqForAuthn: 1 - emailTestMode: true - usernameEmptyText: usernameEmptyText - ssoPartnerSource: ssoPartnerSource - usernameLabel: usernameLabel - lockoutAttemptThreshold: 5 - enableAutomationGeneration: true - enablePasswordReplay: true - usageCertRequired: true - enableAutomaticPasswordReplay: true - countryCodes: - - countryCodes - - countryCodes - name: name - scriptName: scriptName - passwordReplayState: enabled - whiteList: true - netmasks: - - netmasks - - netmasks - systemNotificationConfig: - recipientType: allAdmins - notifications: - - thresholds: - healthy: healthy - unhealthy: unhealthy - byEmail: true - type: type - - thresholds: - healthy: healthy - unhealthy: unhealthy - byEmail: true - type: type - lockoutTimeMinutes: 2 - status: inactive - properties: - id: - type: string - name: - type: string - description: - type: string - dateCreated: - format: date-time - type: string - lastUpdated: - format: date-time - type: string - scriptName: - type: string - ssoDomain: - type: string - status: - enum: - - inactive - - active - - demo - - test - type: string - maxRegisteredIdentities: - type: integer - identityCount: - type: integer - kbaReqForAuthn: - type: integer - kbaReqAnswers: - type: integer - lockoutAttemptThreshold: - type: integer - lockoutTimeMinutes: - type: integer - usageCertRequired: - type: boolean - adminStrongAuthRequired: - type: boolean - enableExternalPasswordChange: - type: boolean - enablePasswordReplay: - type: boolean - enableAutomaticPasswordReplay: - type: boolean - netmasks: - items: - type: string - type: array - countryCodes: - items: - type: string - type: array - whiteList: - type: boolean - emailTestMode: - type: boolean - emailTestAddress: - format: email - type: string - usernameEmptyText: - type: string - usernameLabel: - type: string - enableAutomationGeneration: - type: boolean - passwordReplayState: - enum: - - enabled - - passive - - disabled - type: string - systemNotificationConfig: - $ref: '#/components/schemas/getOrgSettings_200_response_systemNotificationConfig' - systemNotificationEmails: - items: - format: email - type: string - type: array - loginUrl: - type: string - redirectPatterns: - items: - type: string - type: array - styleHash: - type: string - approvalConfig: - $ref: '#/components/schemas/getOrgSettings_200_response_approvalConfig' - ssoPartnerSource: - type: string - type: object - listWorkgroupConnections_200_response_inner: - example: - workgroupId: b0c131fa-5133-4efb-9bb2-e22529f44cad - name: Test Approval Scheme - description: description - connectionType: AccessRequestReviewer - objectId: 8c24b31fe23947b28e42691a4a6faaee - objectType: AccessProfile - properties: - connectionType: - example: AccessRequestReviewer - type: string - description: - format: nullable - type: string - name: - example: Test Approval Scheme - type: string - objectId: - example: 8c24b31fe23947b28e42691a4a6faaee - type: string - objectType: - example: AccessProfile - type: string - workgroupId: - example: b0c131fa-5133-4efb-9bb2-e22529f44cad - type: string - type: object - updateOrgSettings_request: - properties: - countryCodes: - items: - type: string - type: array - enableExternalPasswordChange: - type: boolean - enableAutomaticPasswordReplay: - type: boolean - enableAutomationGeneration: - type: boolean - kbaReqAnswers: - format: int32 - type: integer - kbaReqForAuthn: - format: int32 - type: integer - lockoutAttemptThreshold: - format: int32 - type: integer - lockoutTimeMinutes: - format: int32 - type: integer - loginUrl: - type: string - netmasks: - items: - type: string - type: array - notifyAuthenticationSettingChange: - type: boolean - passwordReplayState: - enum: - - enabled - - passive - - disabled - type: string - preferredIdentityInviteTemplate: - type: string - redirectPatterns: - items: - type: string - type: array - ssoPartnerSource: - type: string - systemNotificationEmails: - items: - format: email - type: string - type: array - trackAnalytics: - type: boolean - usageCertRequired: - type: boolean - usageCertText: - type: string - usernameEmptyText: - type: string - usernameLabel: - type: string - whiteList: - type: boolean - approvalConfig: - $ref: '#/components/schemas/getOrgSettings_200_response_approvalConfig' - type: object - listWorkgroups_200_response_inner: - example: - owner: - emailAddress: philip.ellis@sailpoint.com - displayName: Philip Ellis - name: philip.ellis - id: 2c9180897d2cb80b017d39ccb26c1804 - connectionCount: 2 - created: 1641498673000 - memberCount: 2 - name: Phil Governance Group - description: Phil Governance Group - modified: 1641498673000 - id: b0c131fa-5133-4efb-9bb2-e22529f44cad - properties: - connectionCount: - example: 2 - format: int32 - type: integer - created: - example: 1641498673000 - format: int64 - type: integer - description: - example: Phil Governance Group - type: string - id: - example: b0c131fa-5133-4efb-9bb2-e22529f44cad - type: string - memberCount: - example: 2 - format: int32 - type: integer - modified: - example: 1641498673000 - format: int64 - type: integer - name: - example: Phil Governance Group - type: string - owner: - $ref: '#/components/schemas/listWorkgroups_200_response_inner_owner' - type: object - createWorkgroup_request_owner: - properties: - id: - example: 2c9180867624cbd7017642d8c8c81f67 - type: string - type: object - getOrgSettings_200_response_systemNotificationConfig_notifications_inner_thresholds: - example: - healthy: healthy - unhealthy: unhealthy - properties: - healthy: - type: string - unhealthy: - type: string - type: object - modifyWorkgroupMembers_request: - properties: - add: - items: - example: 2c9180867624cbd7017642d8c8c81f67 - type: string - type: array - remove: - items: - example: 2c9180867624cbd7017642d8c8c81f67 - type: string - type: array - type: object - bulkDeleteWorkGroups_200_response: - example: - deleted: - - 4518f275-e7de-40b8-9951-b67d6273421c - - 4518f275-e7de-40b8-9951-b67d6273421c - inUse: - - 12538dlg-60d0-44b4-9273-d1ba578ef384 - - 12538dlg-60d0-44b4-9273-d1ba578ef384 - notFound: - - 12538ecf-60d0-44b4-9273-d1ba578ef384 - - 12538ecf-60d0-44b4-9273-d1ba578ef384 - properties: - deleted: - items: - example: 4518f275-e7de-40b8-9951-b67d6273421c - type: string - type: array - inUse: - items: - example: 12538dlg-60d0-44b4-9273-d1ba578ef384 - type: string - type: array - notFound: - items: - example: 12538ecf-60d0-44b4-9273-d1ba578ef384 - type: string - type: array - type: object - getOrgSettings_200_response_approvalConfig: - example: - fallbackApprover: fallbackApprover - maxReminders: 3 - daysTillEscalation: 7 - daysBetweenReminders: 9 - properties: - daysTillEscalation: - type: integer - daysBetweenReminders: - type: integer - maxReminders: - type: integer - fallbackApprover: - type: string - required: - - daysBetweenReminders - - daysTillEscalation - - fallbackApprover - - maxReminders - type: object - bulkDeleteWorkGroups_request: - properties: - ids: - items: - example: 868edef1-222b-40e4-8787-b56cfd78b100 - type: string - type: array - type: object - listWorkgroups_200_response_inner_owner: - example: - emailAddress: philip.ellis@sailpoint.com - displayName: Philip Ellis - name: philip.ellis - id: 2c9180897d2cb80b017d39ccb26c1804 - properties: - displayName: - example: Philip Ellis - type: string - emailAddress: - example: philip.ellis@sailpoint.com - type: string - id: - example: 2c9180897d2cb80b017d39ccb26c1804 - type: string - name: - example: philip.ellis - type: string - type: object - getOrgSettings_200_response_systemNotificationConfig: - example: - recipientType: allAdmins - notifications: - - thresholds: - healthy: healthy - unhealthy: unhealthy - byEmail: true - type: type - - thresholds: - healthy: healthy - unhealthy: unhealthy - byEmail: true - type: type - properties: - notifications: - items: - $ref: '#/components/schemas/getOrgSettings_200_response_systemNotificationConfig_notifications_inner' - type: array - recipientType: - enum: - - allAdmins - - specificIdentities - type: string - type: object - securitySchemes: - UserContextAuth: - description: | - OAuth2 Bearer token (JWT). See [IdentityNow REST API Authentication](https://developer.sailpoint.com/idn/api/authentication) for more information. - - Directions for generating a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) - - Directions using [client credentials flow](https://developer.sailpoint.com/idn/api/authentication#client-credentials-grant-flow) - - Directions for using [authorization code flow](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow) - Which authentication method should I choose? See our [guide](https://developer.sailpoint.com/idn/api/authentication#which-oauth-20-grant-flow-should-i-use) - Learn more about how to find your `tokenUrl` and `authorizationUrl` [in our docs](https://developer.sailpoint.com/idn/api/authentication#find-your-tenants-oauth-details) - flows: - authorizationCode: - authorizationUrl: https://tenant.login.sailpoint.com/oauth/authorize - scopes: - sp:scopes:default: default scope - sp:scopes:all: access to all scopes - tokenUrl: https://tenant.api.identitynow.com/oauth/token - clientCredentials: - scopes: - sp:scopes:default: default scope - sp:scopes:all: access to all scopes - tokenUrl: https://tenant.api.identitynow.com/oauth/token - type: oauth2 diff --git a/api_v2/api_governance_groups.go b/api_v2/api_governance_groups.go deleted file mode 100644 index 1637ff3d2..000000000 --- a/api_v2/api_governance_groups.go +++ /dev/null @@ -1,1037 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" - "strings" -) - - -// GovernanceGroupsAPIService GovernanceGroupsAPI service -type GovernanceGroupsAPIService service - -type ApiBulkDeleteWorkGroupsRequest struct { - ctx context.Context - ApiService *GovernanceGroupsAPIService - bulkDeleteWorkGroupsRequest *BulkDeleteWorkGroupsRequest -} - -// Work group ids to delete -func (r ApiBulkDeleteWorkGroupsRequest) BulkDeleteWorkGroupsRequest(bulkDeleteWorkGroupsRequest BulkDeleteWorkGroupsRequest) ApiBulkDeleteWorkGroupsRequest { - r.bulkDeleteWorkGroupsRequest = &bulkDeleteWorkGroupsRequest - return r -} - -func (r ApiBulkDeleteWorkGroupsRequest) Execute() (*BulkDeleteWorkGroups200Response, *http.Response, error) { - return r.ApiService.BulkDeleteWorkGroupsExecute(r) -} - -/* -BulkDeleteWorkGroups Bulk delete work groups - -This API allows you to bulk-delete work groups - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiBulkDeleteWorkGroupsRequest -*/ -func (a *GovernanceGroupsAPIService) BulkDeleteWorkGroups(ctx context.Context) ApiBulkDeleteWorkGroupsRequest { - return ApiBulkDeleteWorkGroupsRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return BulkDeleteWorkGroups200Response -func (a *GovernanceGroupsAPIService) BulkDeleteWorkGroupsExecute(r ApiBulkDeleteWorkGroupsRequest) (*BulkDeleteWorkGroups200Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *BulkDeleteWorkGroups200Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GovernanceGroupsAPIService.BulkDeleteWorkGroups") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/workgroups/bulk-delete" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if r.bulkDeleteWorkGroupsRequest == nil { - return localVarReturnValue, nil, reportError("bulkDeleteWorkGroupsRequest is required and must be specified") - } - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.bulkDeleteWorkGroupsRequest - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiCreateWorkgroupRequest struct { - ctx context.Context - ApiService *GovernanceGroupsAPIService - createWorkgroupRequest *CreateWorkgroupRequest -} - -// Work group to create. -func (r ApiCreateWorkgroupRequest) CreateWorkgroupRequest(createWorkgroupRequest CreateWorkgroupRequest) ApiCreateWorkgroupRequest { - r.createWorkgroupRequest = &createWorkgroupRequest - return r -} - -func (r ApiCreateWorkgroupRequest) Execute() ([]ListWorkgroups200ResponseInner, *http.Response, error) { - return r.ApiService.CreateWorkgroupExecute(r) -} - -/* -CreateWorkgroup Create Work Group - -This API allows you to create a work group - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCreateWorkgroupRequest -*/ -func (a *GovernanceGroupsAPIService) CreateWorkgroup(ctx context.Context) ApiCreateWorkgroupRequest { - return ApiCreateWorkgroupRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return []ListWorkgroups200ResponseInner -func (a *GovernanceGroupsAPIService) CreateWorkgroupExecute(r ApiCreateWorkgroupRequest) ([]ListWorkgroups200ResponseInner, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ListWorkgroups200ResponseInner - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GovernanceGroupsAPIService.CreateWorkgroup") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/workgroups" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if r.createWorkgroupRequest == nil { - return localVarReturnValue, nil, reportError("createWorkgroupRequest is required and must be specified") - } - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.createWorkgroupRequest - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiDeleteWorkgroupRequest struct { - ctx context.Context - ApiService *GovernanceGroupsAPIService - workgroupId string -} - -func (r ApiDeleteWorkgroupRequest) Execute() (*http.Response, error) { - return r.ApiService.DeleteWorkgroupExecute(r) -} - -/* -DeleteWorkgroup Delete Work Group By Id - -This API deletes a single workgroup based on the ID - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param workgroupId The workgroup ID - @return ApiDeleteWorkgroupRequest -*/ -func (a *GovernanceGroupsAPIService) DeleteWorkgroup(ctx context.Context, workgroupId string) ApiDeleteWorkgroupRequest { - return ApiDeleteWorkgroupRequest{ - ApiService: a, - ctx: ctx, - workgroupId: workgroupId, - } -} - -// Execute executes the request -func (a *GovernanceGroupsAPIService) DeleteWorkgroupExecute(r ApiDeleteWorkgroupRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GovernanceGroupsAPIService.DeleteWorkgroup") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/workgroups/{workgroupId}" - localVarPath = strings.Replace(localVarPath, "{"+"workgroupId"+"}", url.PathEscape(parameterValueToString(r.workgroupId, "workgroupId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type ApiGetWorkgroupRequest struct { - ctx context.Context - ApiService *GovernanceGroupsAPIService - workgroupId string -} - -func (r ApiGetWorkgroupRequest) Execute() (*ListWorkgroups200ResponseInner, *http.Response, error) { - return r.ApiService.GetWorkgroupExecute(r) -} - -/* -GetWorkgroup Get Work Group By Id - -This API returns the details for a single workgroup based on the ID - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param workgroupId The workgroup ID - @return ApiGetWorkgroupRequest -*/ -func (a *GovernanceGroupsAPIService) GetWorkgroup(ctx context.Context, workgroupId string) ApiGetWorkgroupRequest { - return ApiGetWorkgroupRequest{ - ApiService: a, - ctx: ctx, - workgroupId: workgroupId, - } -} - -// Execute executes the request -// @return ListWorkgroups200ResponseInner -func (a *GovernanceGroupsAPIService) GetWorkgroupExecute(r ApiGetWorkgroupRequest) (*ListWorkgroups200ResponseInner, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ListWorkgroups200ResponseInner - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GovernanceGroupsAPIService.GetWorkgroup") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/workgroups/{workgroupId}" - localVarPath = strings.Replace(localVarPath, "{"+"workgroupId"+"}", url.PathEscape(parameterValueToString(r.workgroupId, "workgroupId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiListWorkgroupConnectionsRequest struct { - ctx context.Context - ApiService *GovernanceGroupsAPIService - workgroupId string -} - -func (r ApiListWorkgroupConnectionsRequest) Execute() ([]ListWorkgroupConnections200ResponseInner, *http.Response, error) { - return r.ApiService.ListWorkgroupConnectionsExecute(r) -} - -/* -ListWorkgroupConnections List Work Group Connections - -This API returns the connections of a work group - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param workgroupId The workgroup ID - @return ApiListWorkgroupConnectionsRequest -*/ -func (a *GovernanceGroupsAPIService) ListWorkgroupConnections(ctx context.Context, workgroupId string) ApiListWorkgroupConnectionsRequest { - return ApiListWorkgroupConnectionsRequest{ - ApiService: a, - ctx: ctx, - workgroupId: workgroupId, - } -} - -// Execute executes the request -// @return []ListWorkgroupConnections200ResponseInner -func (a *GovernanceGroupsAPIService) ListWorkgroupConnectionsExecute(r ApiListWorkgroupConnectionsRequest) ([]ListWorkgroupConnections200ResponseInner, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ListWorkgroupConnections200ResponseInner - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GovernanceGroupsAPIService.ListWorkgroupConnections") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/workgroups/{workgroupId}/connections" - localVarPath = strings.Replace(localVarPath, "{"+"workgroupId"+"}", url.PathEscape(parameterValueToString(r.workgroupId, "workgroupId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiListWorkgroupMembersRequest struct { - ctx context.Context - ApiService *GovernanceGroupsAPIService - workgroupId string - limit *int32 - offset *int32 - filters *string -} - -// Max number of results to return -func (r ApiListWorkgroupMembersRequest) Limit(limit int32) ApiListWorkgroupMembersRequest { - r.limit = &limit - return r -} - -// Offset into the full result set. Usually specified with *limit* to paginate through the results. -func (r ApiListWorkgroupMembersRequest) Offset(offset int32) ApiListWorkgroupMembersRequest { - r.offset = &offset - return r -} - -// Filter results using the following syntax. [{property:name, value: \"Tyler\", operation: EQ}] -func (r ApiListWorkgroupMembersRequest) Filters(filters string) ApiListWorkgroupMembersRequest { - r.filters = &filters - return r -} - -func (r ApiListWorkgroupMembersRequest) Execute() ([]ListWorkgroupMembers200ResponseInner, *http.Response, error) { - return r.ApiService.ListWorkgroupMembersExecute(r) -} - -/* -ListWorkgroupMembers List Work Group Members - -This API returns the members of a work group - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param workgroupId The workgroup ID - @return ApiListWorkgroupMembersRequest -*/ -func (a *GovernanceGroupsAPIService) ListWorkgroupMembers(ctx context.Context, workgroupId string) ApiListWorkgroupMembersRequest { - return ApiListWorkgroupMembersRequest{ - ApiService: a, - ctx: ctx, - workgroupId: workgroupId, - } -} - -// Execute executes the request -// @return []ListWorkgroupMembers200ResponseInner -func (a *GovernanceGroupsAPIService) ListWorkgroupMembersExecute(r ApiListWorkgroupMembersRequest) ([]ListWorkgroupMembers200ResponseInner, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ListWorkgroupMembers200ResponseInner - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GovernanceGroupsAPIService.ListWorkgroupMembers") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/workgroups/{workgroupId}/members" - localVarPath = strings.Replace(localVarPath, "{"+"workgroupId"+"}", url.PathEscape(parameterValueToString(r.workgroupId, "workgroupId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if r.limit != nil { - parameterAddToQuery(localVarQueryParams, "limit", r.limit, "") - } else { - var defaultValue int32 = 250 - r.limit = &defaultValue - } - if r.offset != nil { - parameterAddToQuery(localVarQueryParams, "offset", r.offset, "") - } else { - var defaultValue int32 = 0 - r.offset = &defaultValue - } - if r.filters != nil { - parameterAddToQuery(localVarQueryParams, "filters", r.filters, "") - } - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiListWorkgroupsRequest struct { - ctx context.Context - ApiService *GovernanceGroupsAPIService - limit *int32 - offset *int32 - filters *string -} - -// Max number of results to return -func (r ApiListWorkgroupsRequest) Limit(limit int32) ApiListWorkgroupsRequest { - r.limit = &limit - return r -} - -// Offset into the full result set. Usually specified with *limit* to paginate through the results. -func (r ApiListWorkgroupsRequest) Offset(offset int32) ApiListWorkgroupsRequest { - r.offset = &offset - return r -} - -// Filter results using the following syntax. [{property:name, value: \"Tyler\", operation: EQ}] -func (r ApiListWorkgroupsRequest) Filters(filters string) ApiListWorkgroupsRequest { - r.filters = &filters - return r -} - -func (r ApiListWorkgroupsRequest) Execute() ([]ListWorkgroups200ResponseInner, *http.Response, error) { - return r.ApiService.ListWorkgroupsExecute(r) -} - -/* -ListWorkgroups List Work Groups - -This API returns a list of work groups - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListWorkgroupsRequest -*/ -func (a *GovernanceGroupsAPIService) ListWorkgroups(ctx context.Context) ApiListWorkgroupsRequest { - return ApiListWorkgroupsRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return []ListWorkgroups200ResponseInner -func (a *GovernanceGroupsAPIService) ListWorkgroupsExecute(r ApiListWorkgroupsRequest) ([]ListWorkgroups200ResponseInner, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ListWorkgroups200ResponseInner - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GovernanceGroupsAPIService.ListWorkgroups") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/workgroups" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if r.limit != nil { - parameterAddToQuery(localVarQueryParams, "limit", r.limit, "") - } else { - var defaultValue int32 = 250 - r.limit = &defaultValue - } - if r.offset != nil { - parameterAddToQuery(localVarQueryParams, "offset", r.offset, "") - } else { - var defaultValue int32 = 0 - r.offset = &defaultValue - } - if r.filters != nil { - parameterAddToQuery(localVarQueryParams, "filters", r.filters, "") - } - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiModifyWorkgroupMembersRequest struct { - ctx context.Context - ApiService *GovernanceGroupsAPIService - workgroupId string - modifyWorkgroupMembersRequest *ModifyWorkgroupMembersRequest -} - -// Add/Remove workgroup member ids. -func (r ApiModifyWorkgroupMembersRequest) ModifyWorkgroupMembersRequest(modifyWorkgroupMembersRequest ModifyWorkgroupMembersRequest) ApiModifyWorkgroupMembersRequest { - r.modifyWorkgroupMembersRequest = &modifyWorkgroupMembersRequest - return r -} - -func (r ApiModifyWorkgroupMembersRequest) Execute() (*http.Response, error) { - return r.ApiService.ModifyWorkgroupMembersExecute(r) -} - -/* -ModifyWorkgroupMembers Modify Work Group Members - -This API allows you to modify the members of a work group - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param workgroupId The workgroup ID - @return ApiModifyWorkgroupMembersRequest -*/ -func (a *GovernanceGroupsAPIService) ModifyWorkgroupMembers(ctx context.Context, workgroupId string) ApiModifyWorkgroupMembersRequest { - return ApiModifyWorkgroupMembersRequest{ - ApiService: a, - ctx: ctx, - workgroupId: workgroupId, - } -} - -// Execute executes the request -func (a *GovernanceGroupsAPIService) ModifyWorkgroupMembersExecute(r ApiModifyWorkgroupMembersRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GovernanceGroupsAPIService.ModifyWorkgroupMembers") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/workgroups/{workgroupId}/members" - localVarPath = strings.Replace(localVarPath, "{"+"workgroupId"+"}", url.PathEscape(parameterValueToString(r.workgroupId, "workgroupId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if r.modifyWorkgroupMembersRequest == nil { - return nil, reportError("modifyWorkgroupMembersRequest is required and must be specified") - } - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.modifyWorkgroupMembersRequest - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type ApiUpdateWorkgroupRequest struct { - ctx context.Context - ApiService *GovernanceGroupsAPIService - workgroupId string - createWorkgroupRequest *CreateWorkgroupRequest -} - -// Work group to modify. -func (r ApiUpdateWorkgroupRequest) CreateWorkgroupRequest(createWorkgroupRequest CreateWorkgroupRequest) ApiUpdateWorkgroupRequest { - r.createWorkgroupRequest = &createWorkgroupRequest - return r -} - -func (r ApiUpdateWorkgroupRequest) Execute() (*ListWorkgroups200ResponseInner, *http.Response, error) { - return r.ApiService.UpdateWorkgroupExecute(r) -} - -/* -UpdateWorkgroup Update Work Group By Id - -This API updates and returns the details for a single workgroup based on the ID - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param workgroupId The workgroup ID - @return ApiUpdateWorkgroupRequest -*/ -func (a *GovernanceGroupsAPIService) UpdateWorkgroup(ctx context.Context, workgroupId string) ApiUpdateWorkgroupRequest { - return ApiUpdateWorkgroupRequest{ - ApiService: a, - ctx: ctx, - workgroupId: workgroupId, - } -} - -// Execute executes the request -// @return ListWorkgroups200ResponseInner -func (a *GovernanceGroupsAPIService) UpdateWorkgroupExecute(r ApiUpdateWorkgroupRequest) (*ListWorkgroups200ResponseInner, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPatch - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ListWorkgroups200ResponseInner - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GovernanceGroupsAPIService.UpdateWorkgroup") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/workgroups/{workgroupId}" - localVarPath = strings.Replace(localVarPath, "{"+"workgroupId"+"}", url.PathEscape(parameterValueToString(r.workgroupId, "workgroupId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if r.createWorkgroupRequest == nil { - return localVarReturnValue, nil, reportError("createWorkgroupRequest is required and must be specified") - } - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.createWorkgroupRequest - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/api_v2/api_org.go b/api_v2/api_org.go deleted file mode 100644 index dddd0d129..000000000 --- a/api_v2/api_org.go +++ /dev/null @@ -1,233 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" -) - - -// OrgAPIService OrgAPI service -type OrgAPIService service - -type ApiGetOrgSettingsRequest struct { - ctx context.Context - ApiService *OrgAPIService -} - -func (r ApiGetOrgSettingsRequest) Execute() (*GetOrgSettings200Response, *http.Response, error) { - return r.ApiService.GetOrgSettingsExecute(r) -} - -/* -GetOrgSettings Retrieves your org settings. - -Retrieves information and operational settings for your org (as determined by the URL domain). - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiGetOrgSettingsRequest -*/ -func (a *OrgAPIService) GetOrgSettings(ctx context.Context) ApiGetOrgSettingsRequest { - return ApiGetOrgSettingsRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return GetOrgSettings200Response -func (a *OrgAPIService) GetOrgSettingsExecute(r ApiGetOrgSettingsRequest) (*GetOrgSettings200Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GetOrgSettings200Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgAPIService.GetOrgSettings") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/org" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type ApiUpdateOrgSettingsRequest struct { - ctx context.Context - ApiService *OrgAPIService - updateOrgSettingsRequest *UpdateOrgSettingsRequest -} - -// Org settings to update. -func (r ApiUpdateOrgSettingsRequest) UpdateOrgSettingsRequest(updateOrgSettingsRequest UpdateOrgSettingsRequest) ApiUpdateOrgSettingsRequest { - r.updateOrgSettingsRequest = &updateOrgSettingsRequest - return r -} - -func (r ApiUpdateOrgSettingsRequest) Execute() (*GetOrgSettings200Response, *http.Response, error) { - return r.ApiService.UpdateOrgSettingsExecute(r) -} - -/* -UpdateOrgSettings Updates one or more org attributes. - -Updates one or more attributes for your org. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiUpdateOrgSettingsRequest -*/ -func (a *OrgAPIService) UpdateOrgSettings(ctx context.Context) ApiUpdateOrgSettingsRequest { - return ApiUpdateOrgSettingsRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return GetOrgSettings200Response -func (a *OrgAPIService) UpdateOrgSettingsExecute(r ApiUpdateOrgSettingsRequest) (*GetOrgSettings200Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPatch - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GetOrgSettings200Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgAPIService.UpdateOrgSettings") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/org" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if r.updateOrgSettingsRequest == nil { - return localVarReturnValue, nil, reportError("updateOrgSettingsRequest is required and must be specified") - } - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.updateOrgSettingsRequest - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/api_v2/client.go b/api_v2/client.go deleted file mode 100644 index a624abf88..000000000 --- a/api_v2/client.go +++ /dev/null @@ -1,739 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "bytes" - "context" - "encoding/json" - "encoding/xml" - "errors" - "fmt" - "io" -"io/ioutil" - "log" - "mime/multipart" - "net/http" - "net/http/httputil" - "net/url" - "os" - "path/filepath" - "reflect" - "regexp" - "strconv" - "strings" - "time" - "unicode/utf8" - - "golang.org/x/oauth2" -retryablehttp "github.com/hashicorp/go-retryablehttp" -) - -var ( - jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) - xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) - queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) - queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) -) - -// APIClient manages communication with the SailPoint SaaS API API v2.0.0 -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - - GovernanceGroupsAPI *GovernanceGroupsAPIService - - OrgAPI *OrgAPIService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - if cfg.HTTPClient == nil { - cfg.HTTPClient = retryablehttp.NewClient() - } - - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.GovernanceGroupsAPI = (*GovernanceGroupsAPIService)(&c.common) - c.OrgAPI = (*OrgAPIService)(&c.common) - - return c -} - -func atoi(in string) (int, error) { - return strconv.Atoi(in) -} - -// selectHeaderContentType select a content type from the available list. -func selectHeaderContentType(contentTypes []string) string { - if len(contentTypes) == 0 { - return "" - } - if contains(contentTypes, "application/json") { - return "application/json" - } - return contentTypes[0] // use the first content type specified in 'consumes' -} - -// selectHeaderAccept join all accept types and return -func selectHeaderAccept(accepts []string) string { - if len(accepts) == 0 { - return "" - } - - if contains(accepts, "application/json") { - return "application/json" - } - - return strings.Join(accepts, ",") -} - -// contains is a case insensitive match, finding needle in a haystack -func contains(haystack []string, needle string) bool { - for _, a := range haystack { - if strings.EqualFold(a, needle) { - return true - } - } - return false -} - -// Verify optional parameters are of the correct type. -func typeCheckParameter(obj interface{}, expected string, name string) error { - // Make sure there is an object. - if obj == nil { - return nil - } - - // Check the type is as expected. - if reflect.TypeOf(obj).String() != expected { - return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) - } - return nil -} - -func parameterValueToString( obj interface{}, key string ) string { - if reflect.TypeOf(obj).Kind() != reflect.Ptr { - return fmt.Sprintf("%v", obj) - } - var param,ok = obj.(MappedNullable) - if !ok { - return "" - } - dataMap,err := param.ToMap() - if err != nil { - return "" - } - return fmt.Sprintf("%v", dataMap[key]) -} - -// parameterAddToQuery adds the provided object to the url query supporting deep object syntax -func parameterAddToQuery(queryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { - var v = reflect.ValueOf(obj) - var value = "" - if v == reflect.ValueOf(nil) { - value = "null" - } else { - switch v.Kind() { - case reflect.Invalid: - value = "invalid" - - case reflect.Struct: - if t,ok := obj.(MappedNullable); ok { - dataMap,err := t.ToMap() - if err != nil { - return - } - parameterAddToQuery(queryParams, keyPrefix, dataMap, collectionType) - return - } - if t, ok := obj.(time.Time); ok { - parameterAddToQuery(queryParams, keyPrefix, t.Format(time.RFC3339), collectionType) - return - } - value = v.Type().String() + " value" - case reflect.Slice: - var indValue = reflect.ValueOf(obj) - if indValue == reflect.ValueOf(nil) { - return - } - var lenIndValue = indValue.Len() - for i:=0;i 0 || (len(formFiles) > 0) { - if body != nil { - return nil, errors.New("Cannot specify postBody and multipart form at the same time.") - } - body = &bytes.Buffer{} - w := multipart.NewWriter(body) - - for k, v := range formParams { - for _, iv := range v { - if strings.HasPrefix(k, "@") { // file - err = addFile(w, k[1:], iv) - if err != nil { - return nil, err - } - } else { // form value - w.WriteField(k, iv) - } - } - } - for _, formFile := range formFiles { - if len(formFile.fileBytes) > 0 && formFile.fileName != "" { - w.Boundary() - part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) - if err != nil { - return nil, err - } - _, err = part.Write(formFile.fileBytes) - if err != nil { - return nil, err - } - } - } - - // Set the Boundary in the Content-Type - headerParams["Content-Type"] = w.FormDataContentType() - - // Set Content-Length - headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) - w.Close() - } - - if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { - if body != nil { - return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") - } - body = &bytes.Buffer{} - body.WriteString(formParams.Encode()) - // Set Content-Length - headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) - } - - // Setup path and query parameters - url, err := url.Parse(path) - if err != nil { - return nil, err - } - - // Override request host, if applicable - if c.cfg.Host != "" { - url.Host = c.cfg.Host - } - - // Override request scheme, if applicable - if c.cfg.Scheme != "" { - url.Scheme = c.cfg.Scheme - } - - // Adding Query Param - query := url.Query() - for k, v := range queryParams { - for _, iv := range v { - query.Add(k, iv) - } - } - - // Encode the parameters. - url.RawQuery = queryParamSplit.ReplaceAllStringFunc(query.Encode(), func(s string) string { - pieces := strings.Split(s, "=") - pieces[0] = queryDescape.Replace(pieces[0]) - return strings.Join(pieces, "=") - }) - - // Generate a new request - if body != nil { - localVarRequest, err = http.NewRequest(method, url.String(), body) - } else { - localVarRequest, err = http.NewRequest(method, url.String(), nil) - } - if err != nil { - return nil, err - } - - // add header parameters, if any - if len(headerParams) > 0 { - headers := http.Header{} - for h, v := range headerParams { - headers[h] = []string{v} - } - localVarRequest.Header = headers - } - - // Add the user agent to the request. - localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) -localVarRequest.Header.Add("X-SailPoint-SDK", "2.0.1") - - if ctx != nil { - // add context to the request - localVarRequest = localVarRequest.WithContext(ctx) - - // Walk through any authentication. - - // OAuth2 authentication - if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok { - // We were able to grab an oauth2 token from the context - var latestToken *oauth2.Token - if latestToken, err = tok.Token(); err != nil { - return nil, err - } - - latestToken.SetAuthHeader(localVarRequest) - } -if c.cfg.Token == "" && c.cfg.ClientId != "" && c.cfg.ClientSecret != "" && c.cfg.TokenURL != "" { - auth, err := getAccessToken(c.cfg.ClientId, c.cfg.ClientSecret, c.cfg.TokenURL) - if err != nil { - return nil, err - } - c.cfg.Token = auth - localVarRequest.Header.Add("Authorization", "Bearer "+auth) - } else { - localVarRequest.Header.Add("Authorization", "Bearer "+c.cfg.Token) - } - } - - for header, value := range c.cfg.DefaultHeader { - localVarRequest.Header.Add(header, value) - } - return localVarRequest, nil -} - -type AccessToken struct { - AccessToken string `json:"access_token"` - TokenType string `json:"token_type"` - ExpiresIn int `json:"expires_in"` - Scope string `json:"scope"` - TenantId string `json:"tenant_id"` - Pod string `json:"pod"` - StrongAuthSupported bool `json:"strong_auth_supported"` - Org string `json:"org"` - IdentityId string `json:"identity_id"` - UserName string `json:"user_name"` - StrongAuth bool `json:"strong_auth"` - Jti string `json:"jti"` -} - -func getAccessToken(clientId string, clientSecret string, tokenURL string) (string, error) { - requestUrl := tokenURL - method := "POST" - client := &http.Client{} - form := url.Values{ - "grant_type": {"client_credentials"}, - "client_id": {clientId}, - "client_secret": {clientSecret}, - } - req, err := http.NewRequest(method, requestUrl, strings.NewReader(form.Encode())) - req.Header.Set("Content-Type", "application/x-www-form-urlencoded") - - if err != nil { - fmt.Println(err) - return "", err - } - res, err := client.Do(req) - if err != nil { - fmt.Println(err) - return "", err - } - defer res.Body.Close() - - body, err := ioutil.ReadAll(res.Body) - if err != nil { - fmt.Println(err) - return "", err - } - - var jsonMap AccessToken - json.Unmarshal([]byte(body), &jsonMap) - - return jsonMap.AccessToken, nil -} - -func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { - if len(b) == 0 { - return nil - } - if s, ok := v.(*string); ok { - *s = string(b) - return nil - } - if f, ok := v.(*os.File); ok { - f, err = ioutil.TempFile("", "HttpClientFile") - if err != nil { - return - } - _, err = f.Write(b) - if err != nil { - return - } - _, err = f.Seek(0, io.SeekStart) - return - } - if f, ok := v.(**os.File); ok { - *f, err = ioutil.TempFile("", "HttpClientFile") - if err != nil { - return - } - _, err = (*f).Write(b) - if err != nil { - return - } - _, err = (*f).Seek(0, io.SeekStart) - return - } - if xmlCheck.MatchString(contentType) { - if err = xml.Unmarshal(b, v); err != nil { - return err - } - return nil - } - if jsonCheck.MatchString(contentType) { - if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas - if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined - if err = unmarshalObj.UnmarshalJSON(b); err != nil { - return err - } - } else { - return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") - } - } else if err = json.Unmarshal(b, v); err != nil { // simple model - return err - } - return nil - } - return errors.New("undefined response type") -} - -// Add a file to the multipart request -func addFile(w *multipart.Writer, fieldName, path string) error { - file, err := os.Open(filepath.Clean(path)) - if err != nil { - return err - } - err = file.Close() - if err != nil { - return err - } - - part, err := w.CreateFormFile(fieldName, filepath.Base(path)) - if err != nil { - return err - } - _, err = io.Copy(part, file) - - return err -} - -// Prevent trying to import "fmt" -func reportError(format string, a ...interface{}) error { - return fmt.Errorf(format, a...) -} - -// A wrapper for strict JSON decoding -func newStrictDecoder(data []byte) *json.Decoder { - dec := json.NewDecoder(bytes.NewBuffer(data)) - dec.DisallowUnknownFields() - return dec -} - -// Set request body from an interface{} -func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { - if bodyBuf == nil { - bodyBuf = &bytes.Buffer{} - } - - if reader, ok := body.(io.Reader); ok { - _, err = bodyBuf.ReadFrom(reader) - } else if fp, ok := body.(*os.File); ok { - _, err = bodyBuf.ReadFrom(fp) - } else if b, ok := body.([]byte); ok { - _, err = bodyBuf.Write(b) - } else if s, ok := body.(string); ok { - _, err = bodyBuf.WriteString(s) - } else if s, ok := body.(*string); ok { - _, err = bodyBuf.WriteString(*s) - } else if jsonCheck.MatchString(contentType) { - err = json.NewEncoder(bodyBuf).Encode(body) - } else if xmlCheck.MatchString(contentType) { - err = xml.NewEncoder(bodyBuf).Encode(body) - } - - if err != nil { - return nil, err - } - - if bodyBuf.Len() == 0 { - err = fmt.Errorf("invalid body type %s\n", contentType) - return nil, err - } - return bodyBuf, nil -} - -// detectContentType method is used to figure out `Request.Body` content type for request header -func detectContentType(body interface{}) string { - contentType := "text/plain; charset=utf-8" - kind := reflect.TypeOf(body).Kind() - - switch kind { - case reflect.Struct, reflect.Map, reflect.Ptr: - contentType = "application/json; charset=utf-8" - case reflect.String: - contentType = "text/plain; charset=utf-8" - default: - if b, ok := body.([]byte); ok { - contentType = http.DetectContentType(b) - } else if kind == reflect.Slice { - contentType = "application/json; charset=utf-8" - } - } - - return contentType -} - -// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go -type cacheControl map[string]string - -func parseCacheControl(headers http.Header) cacheControl { - cc := cacheControl{} - ccHeader := headers.Get("Cache-Control") - for _, part := range strings.Split(ccHeader, ",") { - part = strings.Trim(part, " ") - if part == "" { - continue - } - if strings.ContainsRune(part, '=') { - keyval := strings.Split(part, "=") - cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") - } else { - cc[part] = "" - } - } - return cc -} - -// CacheExpires helper function to determine remaining time before repeating a request. -func CacheExpires(r *http.Response) time.Time { - // Figure out when the cache expires. - var expires time.Time - now, err := time.Parse(time.RFC1123, r.Header.Get("date")) - if err != nil { - return time.Now() - } - respCacheControl := parseCacheControl(r.Header) - - if maxAge, ok := respCacheControl["max-age"]; ok { - lifetime, err := time.ParseDuration(maxAge + "s") - if err != nil { - expires = now - } else { - expires = now.Add(lifetime) - } - } else { - expiresHeader := r.Header.Get("Expires") - if expiresHeader != "" { - expires, err = time.Parse(time.RFC1123, expiresHeader) - if err != nil { - expires = now - } - } - } - return expires -} - -func strlen(s string) int { - return utf8.RuneCountInString(s) -} - -// GenericOpenAPIError Provides access to the body, error and model on returned errors. -type GenericOpenAPIError struct { - body []byte - error string - model interface{} -} - -// Error returns non-empty string if there was an error. -func (e GenericOpenAPIError) Error() string { - return e.error -} - -// Body returns the raw bytes of the response -func (e GenericOpenAPIError) Body() []byte { - return e.body -} - -// Model returns the unpacked model of the error -func (e GenericOpenAPIError) Model() interface{} { - return e.model -} - -// format error message using title and detail when model implements rfc7807 -func formatErrorMessage(status string, v interface{}) string { - str := "" - metaValue := reflect.ValueOf(v).Elem() - - field := metaValue.FieldByName("Title") - if field != (reflect.Value{}) { - str = fmt.Sprintf("%s", field.Interface()) - } - - field = metaValue.FieldByName("Detail") - if field != (reflect.Value{}) { - str = fmt.Sprintf("%s (%s)", str, field.Interface()) - } - -// status title (detail) - return strings.TrimSpace(fmt.Sprintf("%s %s", status, str)) -} diff --git a/api_v2/configuration.go b/api_v2/configuration.go deleted file mode 100644 index f79020d77..000000000 --- a/api_v2/configuration.go +++ /dev/null @@ -1,245 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "context" - "fmt" - "strings" - - retryablehttp "github.com/hashicorp/go-retryablehttp" -) - -// contextKeys are used to identify the type of value in the context. -// Since these are string, it is possible to get a short description of the -// context key for logging and debugging using key.String(). - -type contextKey string - -func (c contextKey) String() string { - return "auth " + string(c) -} - -var ( - // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. - ContextOAuth2 = contextKey("token") - - // ContextServerIndex uses a server configuration from the index. - ContextServerIndex = contextKey("serverIndex") - - // ContextOperationServerIndices uses a server configuration from the index mapping. - ContextOperationServerIndices = contextKey("serverOperationIndices") - - // ContextServerVariables overrides a server configuration variables. - ContextServerVariables = contextKey("serverVariables") - - // ContextOperationServerVariables overrides a server configuration variables using operation specific values. - ContextOperationServerVariables = contextKey("serverOperationVariables") -) - -// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth -type BasicAuth struct { - UserName string `json:"userName,omitempty"` - Password string `json:"password,omitempty"` -} - -// APIKey provides API key based authentication to a request passed via context using ContextAPIKey -type APIKey struct { - Key string - Prefix string -} - -// ServerVariable stores the information about a server variable -type ServerVariable struct { - Description string - DefaultValue string - EnumValues []string -} - -// ServerConfiguration stores the information about a server -type ServerConfiguration struct { - URL string - Description string - Variables map[string]ServerVariable -} - -// ServerConfigurations stores multiple ServerConfiguration items -type ServerConfigurations []ServerConfiguration - -// Configuration stores the configuration of the API client -type Configuration struct { - Host string `json:"host,omitempty"` - Scheme string `json:"scheme,omitempty"` - DefaultHeader map[string]string `json:"defaultHeader,omitempty"` - UserAgent string `json:"userAgent,omitempty"` - Debug bool `json:"debug,omitempty"` - Servers ServerConfigurations - OperationServers map[string]ServerConfigurations - HTTPClient *retryablehttp.Client -ClientId string - ClientSecret string - BaseURL string - TokenURL string - Token string -} - -// NewConfiguration returns a new Configuration object -func NewConfiguration(clientId string, clientSecret string, baseURL string, tokenURL string, token string) *Configuration { - cfg := &Configuration{ -ClientId: clientId, - ClientSecret: clientSecret, - BaseURL: baseURL, - TokenURL: tokenURL, - Token: token, - DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/2.0.1/go", - Debug: false, - Servers: ServerConfigurations{ - { - URL: baseURL, - Description: "This is the production API server.", - Variables: map[string]ServerVariable{ - "tenant": ServerVariable{ - Description: "This is the name of your tenant, typically your company's name.", - DefaultValue: "sailpoint", - }, - }, - }, - { - URL: baseURL, - Description: "This is the V2 API server.", - Variables: map[string]ServerVariable{ - "apiUrl": ServerVariable{ - Description: "This is the api url of your tenant", - DefaultValue: "sailpoint.api.identitynow.com", - }, - }, - }, - }, - OperationServers: map[string]ServerConfigurations{ - }, - } - return cfg -} - -// AddDefaultHeader adds a new HTTP header to the default header in the request -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.DefaultHeader[key] = value -} - -// URL formats template on a index using given variables -func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { - if index < 0 || len(sc) <= index { - return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) - } - server := sc[index] - url := server.URL - - // go through variables and replace placeholders - for name, variable := range server.Variables { - if value, ok := variables[name]; ok { - found := bool(len(variable.EnumValues) == 0) - for _, enumValue := range variable.EnumValues { - if value == enumValue { - found = true - } - } - if !found { - return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) - } - url = strings.Replace(url, "{"+name+"}", value, -1) - } else { - url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) - } - } - return url, nil -} - -// ServerURL returns URL based on server settings -func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { - return c.Servers.URL(index, variables) -} - -func getServerIndex(ctx context.Context) (int, error) { - si := ctx.Value(ContextServerIndex) - if si != nil { - if index, ok := si.(int); ok { - return index, nil - } - return 0, reportError("Invalid type %T should be int", si) - } - return 0, nil -} - -func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { - osi := ctx.Value(ContextOperationServerIndices) - if osi != nil { - if operationIndices, ok := osi.(map[string]int); !ok { - return 0, reportError("Invalid type %T should be map[string]int", osi) - } else { - index, ok := operationIndices[endpoint] - if ok { - return index, nil - } - } - } - return getServerIndex(ctx) -} - -func getServerVariables(ctx context.Context) (map[string]string, error) { - sv := ctx.Value(ContextServerVariables) - if sv != nil { - if variables, ok := sv.(map[string]string); ok { - return variables, nil - } - return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) - } - return nil, nil -} - -func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { - osv := ctx.Value(ContextOperationServerVariables) - if osv != nil { - if operationVariables, ok := osv.(map[string]map[string]string); !ok { - return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) - } else { - variables, ok := operationVariables[endpoint] - if ok { - return variables, nil - } - } - } - return getServerVariables(ctx) -} - -// ServerURLWithContext returns a new server URL given an endpoint -func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { - sc, ok := c.OperationServers[endpoint] - if !ok { - sc = c.Servers - } - - if ctx == nil { - return sc.URL(0, nil) - } - - index, err := getServerOperationIndex(ctx, endpoint) - if err != nil { - return "", err - } - - variables, err := getServerOperationVariables(ctx, endpoint) - if err != nil { - return "", err - } - - return sc.URL(index, variables) -} diff --git a/api_v2/docs/BulkDeleteWorkGroups200Response.md b/api_v2/docs/BulkDeleteWorkGroups200Response.md deleted file mode 100644 index ff2b987bf..000000000 --- a/api_v2/docs/BulkDeleteWorkGroups200Response.md +++ /dev/null @@ -1,108 +0,0 @@ -# BulkDeleteWorkGroups200Response - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Deleted** | Pointer to **[]string** | | [optional] -**InUse** | Pointer to **[]string** | | [optional] -**NotFound** | Pointer to **[]string** | | [optional] - -## Methods - -### NewBulkDeleteWorkGroups200Response - -`func NewBulkDeleteWorkGroups200Response() *BulkDeleteWorkGroups200Response` - -NewBulkDeleteWorkGroups200Response instantiates a new BulkDeleteWorkGroups200Response object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBulkDeleteWorkGroups200ResponseWithDefaults - -`func NewBulkDeleteWorkGroups200ResponseWithDefaults() *BulkDeleteWorkGroups200Response` - -NewBulkDeleteWorkGroups200ResponseWithDefaults instantiates a new BulkDeleteWorkGroups200Response object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetDeleted - -`func (o *BulkDeleteWorkGroups200Response) GetDeleted() []string` - -GetDeleted returns the Deleted field if non-nil, zero value otherwise. - -### GetDeletedOk - -`func (o *BulkDeleteWorkGroups200Response) GetDeletedOk() (*[]string, bool)` - -GetDeletedOk returns a tuple with the Deleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDeleted - -`func (o *BulkDeleteWorkGroups200Response) SetDeleted(v []string)` - -SetDeleted sets Deleted field to given value. - -### HasDeleted - -`func (o *BulkDeleteWorkGroups200Response) HasDeleted() bool` - -HasDeleted returns a boolean if a field has been set. - -### GetInUse - -`func (o *BulkDeleteWorkGroups200Response) GetInUse() []string` - -GetInUse returns the InUse field if non-nil, zero value otherwise. - -### GetInUseOk - -`func (o *BulkDeleteWorkGroups200Response) GetInUseOk() (*[]string, bool)` - -GetInUseOk returns a tuple with the InUse field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInUse - -`func (o *BulkDeleteWorkGroups200Response) SetInUse(v []string)` - -SetInUse sets InUse field to given value. - -### HasInUse - -`func (o *BulkDeleteWorkGroups200Response) HasInUse() bool` - -HasInUse returns a boolean if a field has been set. - -### GetNotFound - -`func (o *BulkDeleteWorkGroups200Response) GetNotFound() []string` - -GetNotFound returns the NotFound field if non-nil, zero value otherwise. - -### GetNotFoundOk - -`func (o *BulkDeleteWorkGroups200Response) GetNotFoundOk() (*[]string, bool)` - -GetNotFoundOk returns a tuple with the NotFound field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNotFound - -`func (o *BulkDeleteWorkGroups200Response) SetNotFound(v []string)` - -SetNotFound sets NotFound field to given value. - -### HasNotFound - -`func (o *BulkDeleteWorkGroups200Response) HasNotFound() bool` - -HasNotFound returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/BulkDeleteWorkGroupsRequest.md b/api_v2/docs/BulkDeleteWorkGroupsRequest.md deleted file mode 100644 index 5fc2c01c4..000000000 --- a/api_v2/docs/BulkDeleteWorkGroupsRequest.md +++ /dev/null @@ -1,56 +0,0 @@ -# BulkDeleteWorkGroupsRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Ids** | Pointer to **[]string** | | [optional] - -## Methods - -### NewBulkDeleteWorkGroupsRequest - -`func NewBulkDeleteWorkGroupsRequest() *BulkDeleteWorkGroupsRequest` - -NewBulkDeleteWorkGroupsRequest instantiates a new BulkDeleteWorkGroupsRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBulkDeleteWorkGroupsRequestWithDefaults - -`func NewBulkDeleteWorkGroupsRequestWithDefaults() *BulkDeleteWorkGroupsRequest` - -NewBulkDeleteWorkGroupsRequestWithDefaults instantiates a new BulkDeleteWorkGroupsRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetIds - -`func (o *BulkDeleteWorkGroupsRequest) GetIds() []string` - -GetIds returns the Ids field if non-nil, zero value otherwise. - -### GetIdsOk - -`func (o *BulkDeleteWorkGroupsRequest) GetIdsOk() (*[]string, bool)` - -GetIdsOk returns a tuple with the Ids field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIds - -`func (o *BulkDeleteWorkGroupsRequest) SetIds(v []string)` - -SetIds sets Ids field to given value. - -### HasIds - -`func (o *BulkDeleteWorkGroupsRequest) HasIds() bool` - -HasIds returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/CreateWorkgroupRequest.md b/api_v2/docs/CreateWorkgroupRequest.md deleted file mode 100644 index 42937231b..000000000 --- a/api_v2/docs/CreateWorkgroupRequest.md +++ /dev/null @@ -1,108 +0,0 @@ -# CreateWorkgroupRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | | [optional] -**Owner** | Pointer to [**CreateWorkgroupRequestOwner**](CreateWorkgroupRequestOwner.md) | | [optional] - -## Methods - -### NewCreateWorkgroupRequest - -`func NewCreateWorkgroupRequest() *CreateWorkgroupRequest` - -NewCreateWorkgroupRequest instantiates a new CreateWorkgroupRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateWorkgroupRequestWithDefaults - -`func NewCreateWorkgroupRequestWithDefaults() *CreateWorkgroupRequest` - -NewCreateWorkgroupRequestWithDefaults instantiates a new CreateWorkgroupRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *CreateWorkgroupRequest) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *CreateWorkgroupRequest) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *CreateWorkgroupRequest) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *CreateWorkgroupRequest) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetDescription - -`func (o *CreateWorkgroupRequest) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *CreateWorkgroupRequest) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *CreateWorkgroupRequest) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *CreateWorkgroupRequest) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetOwner - -`func (o *CreateWorkgroupRequest) GetOwner() CreateWorkgroupRequestOwner` - -GetOwner returns the Owner field if non-nil, zero value otherwise. - -### GetOwnerOk - -`func (o *CreateWorkgroupRequest) GetOwnerOk() (*CreateWorkgroupRequestOwner, bool)` - -GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOwner - -`func (o *CreateWorkgroupRequest) SetOwner(v CreateWorkgroupRequestOwner)` - -SetOwner sets Owner field to given value. - -### HasOwner - -`func (o *CreateWorkgroupRequest) HasOwner() bool` - -HasOwner returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/CreateWorkgroupRequestOwner.md b/api_v2/docs/CreateWorkgroupRequestOwner.md deleted file mode 100644 index a100a30b0..000000000 --- a/api_v2/docs/CreateWorkgroupRequestOwner.md +++ /dev/null @@ -1,56 +0,0 @@ -# CreateWorkgroupRequestOwner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **string** | | [optional] - -## Methods - -### NewCreateWorkgroupRequestOwner - -`func NewCreateWorkgroupRequestOwner() *CreateWorkgroupRequestOwner` - -NewCreateWorkgroupRequestOwner instantiates a new CreateWorkgroupRequestOwner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateWorkgroupRequestOwnerWithDefaults - -`func NewCreateWorkgroupRequestOwnerWithDefaults() *CreateWorkgroupRequestOwner` - -NewCreateWorkgroupRequestOwnerWithDefaults instantiates a new CreateWorkgroupRequestOwner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *CreateWorkgroupRequestOwner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *CreateWorkgroupRequestOwner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *CreateWorkgroupRequestOwner) SetId(v string)` - -SetId sets Id field to given value. - -### HasId - -`func (o *CreateWorkgroupRequestOwner) HasId() bool` - -HasId returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/GetOrgSettings200Response.md b/api_v2/docs/GetOrgSettings200Response.md deleted file mode 100644 index fdd09fd61..000000000 --- a/api_v2/docs/GetOrgSettings200Response.md +++ /dev/null @@ -1,940 +0,0 @@ -# GetOrgSettings200Response - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | | [optional] -**DateCreated** | Pointer to **time.Time** | | [optional] -**LastUpdated** | Pointer to **time.Time** | | [optional] -**ScriptName** | Pointer to **string** | | [optional] -**SsoDomain** | Pointer to **string** | | [optional] -**Status** | Pointer to **string** | | [optional] -**MaxRegisteredIdentities** | Pointer to **int32** | | [optional] -**IdentityCount** | Pointer to **int32** | | [optional] -**KbaReqForAuthn** | Pointer to **int32** | | [optional] -**KbaReqAnswers** | Pointer to **int32** | | [optional] -**LockoutAttemptThreshold** | Pointer to **int32** | | [optional] -**LockoutTimeMinutes** | Pointer to **int32** | | [optional] -**UsageCertRequired** | Pointer to **bool** | | [optional] -**AdminStrongAuthRequired** | Pointer to **bool** | | [optional] -**EnableExternalPasswordChange** | Pointer to **bool** | | [optional] -**EnablePasswordReplay** | Pointer to **bool** | | [optional] -**EnableAutomaticPasswordReplay** | Pointer to **bool** | | [optional] -**Netmasks** | Pointer to **[]string** | | [optional] -**CountryCodes** | Pointer to **[]string** | | [optional] -**WhiteList** | Pointer to **bool** | | [optional] -**EmailTestMode** | Pointer to **bool** | | [optional] -**EmailTestAddress** | Pointer to **string** | | [optional] -**UsernameEmptyText** | Pointer to **string** | | [optional] -**UsernameLabel** | Pointer to **string** | | [optional] -**EnableAutomationGeneration** | Pointer to **bool** | | [optional] -**PasswordReplayState** | Pointer to **string** | | [optional] -**SystemNotificationConfig** | Pointer to [**GetOrgSettings200ResponseSystemNotificationConfig**](GetOrgSettings200ResponseSystemNotificationConfig.md) | | [optional] -**SystemNotificationEmails** | Pointer to **[]string** | | [optional] -**LoginUrl** | Pointer to **string** | | [optional] -**RedirectPatterns** | Pointer to **[]string** | | [optional] -**StyleHash** | Pointer to **string** | | [optional] -**ApprovalConfig** | Pointer to [**GetOrgSettings200ResponseApprovalConfig**](GetOrgSettings200ResponseApprovalConfig.md) | | [optional] -**SsoPartnerSource** | Pointer to **string** | | [optional] - -## Methods - -### NewGetOrgSettings200Response - -`func NewGetOrgSettings200Response() *GetOrgSettings200Response` - -NewGetOrgSettings200Response instantiates a new GetOrgSettings200Response object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetOrgSettings200ResponseWithDefaults - -`func NewGetOrgSettings200ResponseWithDefaults() *GetOrgSettings200Response` - -NewGetOrgSettings200ResponseWithDefaults instantiates a new GetOrgSettings200Response object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *GetOrgSettings200Response) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *GetOrgSettings200Response) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *GetOrgSettings200Response) SetId(v string)` - -SetId sets Id field to given value. - -### HasId - -`func (o *GetOrgSettings200Response) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetName - -`func (o *GetOrgSettings200Response) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *GetOrgSettings200Response) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *GetOrgSettings200Response) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *GetOrgSettings200Response) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetDescription - -`func (o *GetOrgSettings200Response) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *GetOrgSettings200Response) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *GetOrgSettings200Response) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *GetOrgSettings200Response) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDateCreated - -`func (o *GetOrgSettings200Response) GetDateCreated() time.Time` - -GetDateCreated returns the DateCreated field if non-nil, zero value otherwise. - -### GetDateCreatedOk - -`func (o *GetOrgSettings200Response) GetDateCreatedOk() (*time.Time, bool)` - -GetDateCreatedOk returns a tuple with the DateCreated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDateCreated - -`func (o *GetOrgSettings200Response) SetDateCreated(v time.Time)` - -SetDateCreated sets DateCreated field to given value. - -### HasDateCreated - -`func (o *GetOrgSettings200Response) HasDateCreated() bool` - -HasDateCreated returns a boolean if a field has been set. - -### GetLastUpdated - -`func (o *GetOrgSettings200Response) GetLastUpdated() time.Time` - -GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. - -### GetLastUpdatedOk - -`func (o *GetOrgSettings200Response) GetLastUpdatedOk() (*time.Time, bool)` - -GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLastUpdated - -`func (o *GetOrgSettings200Response) SetLastUpdated(v time.Time)` - -SetLastUpdated sets LastUpdated field to given value. - -### HasLastUpdated - -`func (o *GetOrgSettings200Response) HasLastUpdated() bool` - -HasLastUpdated returns a boolean if a field has been set. - -### GetScriptName - -`func (o *GetOrgSettings200Response) GetScriptName() string` - -GetScriptName returns the ScriptName field if non-nil, zero value otherwise. - -### GetScriptNameOk - -`func (o *GetOrgSettings200Response) GetScriptNameOk() (*string, bool)` - -GetScriptNameOk returns a tuple with the ScriptName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScriptName - -`func (o *GetOrgSettings200Response) SetScriptName(v string)` - -SetScriptName sets ScriptName field to given value. - -### HasScriptName - -`func (o *GetOrgSettings200Response) HasScriptName() bool` - -HasScriptName returns a boolean if a field has been set. - -### GetSsoDomain - -`func (o *GetOrgSettings200Response) GetSsoDomain() string` - -GetSsoDomain returns the SsoDomain field if non-nil, zero value otherwise. - -### GetSsoDomainOk - -`func (o *GetOrgSettings200Response) GetSsoDomainOk() (*string, bool)` - -GetSsoDomainOk returns a tuple with the SsoDomain field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSsoDomain - -`func (o *GetOrgSettings200Response) SetSsoDomain(v string)` - -SetSsoDomain sets SsoDomain field to given value. - -### HasSsoDomain - -`func (o *GetOrgSettings200Response) HasSsoDomain() bool` - -HasSsoDomain returns a boolean if a field has been set. - -### GetStatus - -`func (o *GetOrgSettings200Response) GetStatus() string` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetOrgSettings200Response) GetStatusOk() (*string, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetOrgSettings200Response) SetStatus(v string)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *GetOrgSettings200Response) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetMaxRegisteredIdentities - -`func (o *GetOrgSettings200Response) GetMaxRegisteredIdentities() int32` - -GetMaxRegisteredIdentities returns the MaxRegisteredIdentities field if non-nil, zero value otherwise. - -### GetMaxRegisteredIdentitiesOk - -`func (o *GetOrgSettings200Response) GetMaxRegisteredIdentitiesOk() (*int32, bool)` - -GetMaxRegisteredIdentitiesOk returns a tuple with the MaxRegisteredIdentities field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxRegisteredIdentities - -`func (o *GetOrgSettings200Response) SetMaxRegisteredIdentities(v int32)` - -SetMaxRegisteredIdentities sets MaxRegisteredIdentities field to given value. - -### HasMaxRegisteredIdentities - -`func (o *GetOrgSettings200Response) HasMaxRegisteredIdentities() bool` - -HasMaxRegisteredIdentities returns a boolean if a field has been set. - -### GetIdentityCount - -`func (o *GetOrgSettings200Response) GetIdentityCount() int32` - -GetIdentityCount returns the IdentityCount field if non-nil, zero value otherwise. - -### GetIdentityCountOk - -`func (o *GetOrgSettings200Response) GetIdentityCountOk() (*int32, bool)` - -GetIdentityCountOk returns a tuple with the IdentityCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentityCount - -`func (o *GetOrgSettings200Response) SetIdentityCount(v int32)` - -SetIdentityCount sets IdentityCount field to given value. - -### HasIdentityCount - -`func (o *GetOrgSettings200Response) HasIdentityCount() bool` - -HasIdentityCount returns a boolean if a field has been set. - -### GetKbaReqForAuthn - -`func (o *GetOrgSettings200Response) GetKbaReqForAuthn() int32` - -GetKbaReqForAuthn returns the KbaReqForAuthn field if non-nil, zero value otherwise. - -### GetKbaReqForAuthnOk - -`func (o *GetOrgSettings200Response) GetKbaReqForAuthnOk() (*int32, bool)` - -GetKbaReqForAuthnOk returns a tuple with the KbaReqForAuthn field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetKbaReqForAuthn - -`func (o *GetOrgSettings200Response) SetKbaReqForAuthn(v int32)` - -SetKbaReqForAuthn sets KbaReqForAuthn field to given value. - -### HasKbaReqForAuthn - -`func (o *GetOrgSettings200Response) HasKbaReqForAuthn() bool` - -HasKbaReqForAuthn returns a boolean if a field has been set. - -### GetKbaReqAnswers - -`func (o *GetOrgSettings200Response) GetKbaReqAnswers() int32` - -GetKbaReqAnswers returns the KbaReqAnswers field if non-nil, zero value otherwise. - -### GetKbaReqAnswersOk - -`func (o *GetOrgSettings200Response) GetKbaReqAnswersOk() (*int32, bool)` - -GetKbaReqAnswersOk returns a tuple with the KbaReqAnswers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetKbaReqAnswers - -`func (o *GetOrgSettings200Response) SetKbaReqAnswers(v int32)` - -SetKbaReqAnswers sets KbaReqAnswers field to given value. - -### HasKbaReqAnswers - -`func (o *GetOrgSettings200Response) HasKbaReqAnswers() bool` - -HasKbaReqAnswers returns a boolean if a field has been set. - -### GetLockoutAttemptThreshold - -`func (o *GetOrgSettings200Response) GetLockoutAttemptThreshold() int32` - -GetLockoutAttemptThreshold returns the LockoutAttemptThreshold field if non-nil, zero value otherwise. - -### GetLockoutAttemptThresholdOk - -`func (o *GetOrgSettings200Response) GetLockoutAttemptThresholdOk() (*int32, bool)` - -GetLockoutAttemptThresholdOk returns a tuple with the LockoutAttemptThreshold field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLockoutAttemptThreshold - -`func (o *GetOrgSettings200Response) SetLockoutAttemptThreshold(v int32)` - -SetLockoutAttemptThreshold sets LockoutAttemptThreshold field to given value. - -### HasLockoutAttemptThreshold - -`func (o *GetOrgSettings200Response) HasLockoutAttemptThreshold() bool` - -HasLockoutAttemptThreshold returns a boolean if a field has been set. - -### GetLockoutTimeMinutes - -`func (o *GetOrgSettings200Response) GetLockoutTimeMinutes() int32` - -GetLockoutTimeMinutes returns the LockoutTimeMinutes field if non-nil, zero value otherwise. - -### GetLockoutTimeMinutesOk - -`func (o *GetOrgSettings200Response) GetLockoutTimeMinutesOk() (*int32, bool)` - -GetLockoutTimeMinutesOk returns a tuple with the LockoutTimeMinutes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLockoutTimeMinutes - -`func (o *GetOrgSettings200Response) SetLockoutTimeMinutes(v int32)` - -SetLockoutTimeMinutes sets LockoutTimeMinutes field to given value. - -### HasLockoutTimeMinutes - -`func (o *GetOrgSettings200Response) HasLockoutTimeMinutes() bool` - -HasLockoutTimeMinutes returns a boolean if a field has been set. - -### GetUsageCertRequired - -`func (o *GetOrgSettings200Response) GetUsageCertRequired() bool` - -GetUsageCertRequired returns the UsageCertRequired field if non-nil, zero value otherwise. - -### GetUsageCertRequiredOk - -`func (o *GetOrgSettings200Response) GetUsageCertRequiredOk() (*bool, bool)` - -GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageCertRequired - -`func (o *GetOrgSettings200Response) SetUsageCertRequired(v bool)` - -SetUsageCertRequired sets UsageCertRequired field to given value. - -### HasUsageCertRequired - -`func (o *GetOrgSettings200Response) HasUsageCertRequired() bool` - -HasUsageCertRequired returns a boolean if a field has been set. - -### GetAdminStrongAuthRequired - -`func (o *GetOrgSettings200Response) GetAdminStrongAuthRequired() bool` - -GetAdminStrongAuthRequired returns the AdminStrongAuthRequired field if non-nil, zero value otherwise. - -### GetAdminStrongAuthRequiredOk - -`func (o *GetOrgSettings200Response) GetAdminStrongAuthRequiredOk() (*bool, bool)` - -GetAdminStrongAuthRequiredOk returns a tuple with the AdminStrongAuthRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAdminStrongAuthRequired - -`func (o *GetOrgSettings200Response) SetAdminStrongAuthRequired(v bool)` - -SetAdminStrongAuthRequired sets AdminStrongAuthRequired field to given value. - -### HasAdminStrongAuthRequired - -`func (o *GetOrgSettings200Response) HasAdminStrongAuthRequired() bool` - -HasAdminStrongAuthRequired returns a boolean if a field has been set. - -### GetEnableExternalPasswordChange - -`func (o *GetOrgSettings200Response) GetEnableExternalPasswordChange() bool` - -GetEnableExternalPasswordChange returns the EnableExternalPasswordChange field if non-nil, zero value otherwise. - -### GetEnableExternalPasswordChangeOk - -`func (o *GetOrgSettings200Response) GetEnableExternalPasswordChangeOk() (*bool, bool)` - -GetEnableExternalPasswordChangeOk returns a tuple with the EnableExternalPasswordChange field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableExternalPasswordChange - -`func (o *GetOrgSettings200Response) SetEnableExternalPasswordChange(v bool)` - -SetEnableExternalPasswordChange sets EnableExternalPasswordChange field to given value. - -### HasEnableExternalPasswordChange - -`func (o *GetOrgSettings200Response) HasEnableExternalPasswordChange() bool` - -HasEnableExternalPasswordChange returns a boolean if a field has been set. - -### GetEnablePasswordReplay - -`func (o *GetOrgSettings200Response) GetEnablePasswordReplay() bool` - -GetEnablePasswordReplay returns the EnablePasswordReplay field if non-nil, zero value otherwise. - -### GetEnablePasswordReplayOk - -`func (o *GetOrgSettings200Response) GetEnablePasswordReplayOk() (*bool, bool)` - -GetEnablePasswordReplayOk returns a tuple with the EnablePasswordReplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnablePasswordReplay - -`func (o *GetOrgSettings200Response) SetEnablePasswordReplay(v bool)` - -SetEnablePasswordReplay sets EnablePasswordReplay field to given value. - -### HasEnablePasswordReplay - -`func (o *GetOrgSettings200Response) HasEnablePasswordReplay() bool` - -HasEnablePasswordReplay returns a boolean if a field has been set. - -### GetEnableAutomaticPasswordReplay - -`func (o *GetOrgSettings200Response) GetEnableAutomaticPasswordReplay() bool` - -GetEnableAutomaticPasswordReplay returns the EnableAutomaticPasswordReplay field if non-nil, zero value otherwise. - -### GetEnableAutomaticPasswordReplayOk - -`func (o *GetOrgSettings200Response) GetEnableAutomaticPasswordReplayOk() (*bool, bool)` - -GetEnableAutomaticPasswordReplayOk returns a tuple with the EnableAutomaticPasswordReplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableAutomaticPasswordReplay - -`func (o *GetOrgSettings200Response) SetEnableAutomaticPasswordReplay(v bool)` - -SetEnableAutomaticPasswordReplay sets EnableAutomaticPasswordReplay field to given value. - -### HasEnableAutomaticPasswordReplay - -`func (o *GetOrgSettings200Response) HasEnableAutomaticPasswordReplay() bool` - -HasEnableAutomaticPasswordReplay returns a boolean if a field has been set. - -### GetNetmasks - -`func (o *GetOrgSettings200Response) GetNetmasks() []string` - -GetNetmasks returns the Netmasks field if non-nil, zero value otherwise. - -### GetNetmasksOk - -`func (o *GetOrgSettings200Response) GetNetmasksOk() (*[]string, bool)` - -GetNetmasksOk returns a tuple with the Netmasks field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNetmasks - -`func (o *GetOrgSettings200Response) SetNetmasks(v []string)` - -SetNetmasks sets Netmasks field to given value. - -### HasNetmasks - -`func (o *GetOrgSettings200Response) HasNetmasks() bool` - -HasNetmasks returns a boolean if a field has been set. - -### GetCountryCodes - -`func (o *GetOrgSettings200Response) GetCountryCodes() []string` - -GetCountryCodes returns the CountryCodes field if non-nil, zero value otherwise. - -### GetCountryCodesOk - -`func (o *GetOrgSettings200Response) GetCountryCodesOk() (*[]string, bool)` - -GetCountryCodesOk returns a tuple with the CountryCodes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCountryCodes - -`func (o *GetOrgSettings200Response) SetCountryCodes(v []string)` - -SetCountryCodes sets CountryCodes field to given value. - -### HasCountryCodes - -`func (o *GetOrgSettings200Response) HasCountryCodes() bool` - -HasCountryCodes returns a boolean if a field has been set. - -### GetWhiteList - -`func (o *GetOrgSettings200Response) GetWhiteList() bool` - -GetWhiteList returns the WhiteList field if non-nil, zero value otherwise. - -### GetWhiteListOk - -`func (o *GetOrgSettings200Response) GetWhiteListOk() (*bool, bool)` - -GetWhiteListOk returns a tuple with the WhiteList field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWhiteList - -`func (o *GetOrgSettings200Response) SetWhiteList(v bool)` - -SetWhiteList sets WhiteList field to given value. - -### HasWhiteList - -`func (o *GetOrgSettings200Response) HasWhiteList() bool` - -HasWhiteList returns a boolean if a field has been set. - -### GetEmailTestMode - -`func (o *GetOrgSettings200Response) GetEmailTestMode() bool` - -GetEmailTestMode returns the EmailTestMode field if non-nil, zero value otherwise. - -### GetEmailTestModeOk - -`func (o *GetOrgSettings200Response) GetEmailTestModeOk() (*bool, bool)` - -GetEmailTestModeOk returns a tuple with the EmailTestMode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailTestMode - -`func (o *GetOrgSettings200Response) SetEmailTestMode(v bool)` - -SetEmailTestMode sets EmailTestMode field to given value. - -### HasEmailTestMode - -`func (o *GetOrgSettings200Response) HasEmailTestMode() bool` - -HasEmailTestMode returns a boolean if a field has been set. - -### GetEmailTestAddress - -`func (o *GetOrgSettings200Response) GetEmailTestAddress() string` - -GetEmailTestAddress returns the EmailTestAddress field if non-nil, zero value otherwise. - -### GetEmailTestAddressOk - -`func (o *GetOrgSettings200Response) GetEmailTestAddressOk() (*string, bool)` - -GetEmailTestAddressOk returns a tuple with the EmailTestAddress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailTestAddress - -`func (o *GetOrgSettings200Response) SetEmailTestAddress(v string)` - -SetEmailTestAddress sets EmailTestAddress field to given value. - -### HasEmailTestAddress - -`func (o *GetOrgSettings200Response) HasEmailTestAddress() bool` - -HasEmailTestAddress returns a boolean if a field has been set. - -### GetUsernameEmptyText - -`func (o *GetOrgSettings200Response) GetUsernameEmptyText() string` - -GetUsernameEmptyText returns the UsernameEmptyText field if non-nil, zero value otherwise. - -### GetUsernameEmptyTextOk - -`func (o *GetOrgSettings200Response) GetUsernameEmptyTextOk() (*string, bool)` - -GetUsernameEmptyTextOk returns a tuple with the UsernameEmptyText field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsernameEmptyText - -`func (o *GetOrgSettings200Response) SetUsernameEmptyText(v string)` - -SetUsernameEmptyText sets UsernameEmptyText field to given value. - -### HasUsernameEmptyText - -`func (o *GetOrgSettings200Response) HasUsernameEmptyText() bool` - -HasUsernameEmptyText returns a boolean if a field has been set. - -### GetUsernameLabel - -`func (o *GetOrgSettings200Response) GetUsernameLabel() string` - -GetUsernameLabel returns the UsernameLabel field if non-nil, zero value otherwise. - -### GetUsernameLabelOk - -`func (o *GetOrgSettings200Response) GetUsernameLabelOk() (*string, bool)` - -GetUsernameLabelOk returns a tuple with the UsernameLabel field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsernameLabel - -`func (o *GetOrgSettings200Response) SetUsernameLabel(v string)` - -SetUsernameLabel sets UsernameLabel field to given value. - -### HasUsernameLabel - -`func (o *GetOrgSettings200Response) HasUsernameLabel() bool` - -HasUsernameLabel returns a boolean if a field has been set. - -### GetEnableAutomationGeneration - -`func (o *GetOrgSettings200Response) GetEnableAutomationGeneration() bool` - -GetEnableAutomationGeneration returns the EnableAutomationGeneration field if non-nil, zero value otherwise. - -### GetEnableAutomationGenerationOk - -`func (o *GetOrgSettings200Response) GetEnableAutomationGenerationOk() (*bool, bool)` - -GetEnableAutomationGenerationOk returns a tuple with the EnableAutomationGeneration field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableAutomationGeneration - -`func (o *GetOrgSettings200Response) SetEnableAutomationGeneration(v bool)` - -SetEnableAutomationGeneration sets EnableAutomationGeneration field to given value. - -### HasEnableAutomationGeneration - -`func (o *GetOrgSettings200Response) HasEnableAutomationGeneration() bool` - -HasEnableAutomationGeneration returns a boolean if a field has been set. - -### GetPasswordReplayState - -`func (o *GetOrgSettings200Response) GetPasswordReplayState() string` - -GetPasswordReplayState returns the PasswordReplayState field if non-nil, zero value otherwise. - -### GetPasswordReplayStateOk - -`func (o *GetOrgSettings200Response) GetPasswordReplayStateOk() (*string, bool)` - -GetPasswordReplayStateOk returns a tuple with the PasswordReplayState field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordReplayState - -`func (o *GetOrgSettings200Response) SetPasswordReplayState(v string)` - -SetPasswordReplayState sets PasswordReplayState field to given value. - -### HasPasswordReplayState - -`func (o *GetOrgSettings200Response) HasPasswordReplayState() bool` - -HasPasswordReplayState returns a boolean if a field has been set. - -### GetSystemNotificationConfig - -`func (o *GetOrgSettings200Response) GetSystemNotificationConfig() GetOrgSettings200ResponseSystemNotificationConfig` - -GetSystemNotificationConfig returns the SystemNotificationConfig field if non-nil, zero value otherwise. - -### GetSystemNotificationConfigOk - -`func (o *GetOrgSettings200Response) GetSystemNotificationConfigOk() (*GetOrgSettings200ResponseSystemNotificationConfig, bool)` - -GetSystemNotificationConfigOk returns a tuple with the SystemNotificationConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSystemNotificationConfig - -`func (o *GetOrgSettings200Response) SetSystemNotificationConfig(v GetOrgSettings200ResponseSystemNotificationConfig)` - -SetSystemNotificationConfig sets SystemNotificationConfig field to given value. - -### HasSystemNotificationConfig - -`func (o *GetOrgSettings200Response) HasSystemNotificationConfig() bool` - -HasSystemNotificationConfig returns a boolean if a field has been set. - -### GetSystemNotificationEmails - -`func (o *GetOrgSettings200Response) GetSystemNotificationEmails() []string` - -GetSystemNotificationEmails returns the SystemNotificationEmails field if non-nil, zero value otherwise. - -### GetSystemNotificationEmailsOk - -`func (o *GetOrgSettings200Response) GetSystemNotificationEmailsOk() (*[]string, bool)` - -GetSystemNotificationEmailsOk returns a tuple with the SystemNotificationEmails field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSystemNotificationEmails - -`func (o *GetOrgSettings200Response) SetSystemNotificationEmails(v []string)` - -SetSystemNotificationEmails sets SystemNotificationEmails field to given value. - -### HasSystemNotificationEmails - -`func (o *GetOrgSettings200Response) HasSystemNotificationEmails() bool` - -HasSystemNotificationEmails returns a boolean if a field has been set. - -### GetLoginUrl - -`func (o *GetOrgSettings200Response) GetLoginUrl() string` - -GetLoginUrl returns the LoginUrl field if non-nil, zero value otherwise. - -### GetLoginUrlOk - -`func (o *GetOrgSettings200Response) GetLoginUrlOk() (*string, bool)` - -GetLoginUrlOk returns a tuple with the LoginUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLoginUrl - -`func (o *GetOrgSettings200Response) SetLoginUrl(v string)` - -SetLoginUrl sets LoginUrl field to given value. - -### HasLoginUrl - -`func (o *GetOrgSettings200Response) HasLoginUrl() bool` - -HasLoginUrl returns a boolean if a field has been set. - -### GetRedirectPatterns - -`func (o *GetOrgSettings200Response) GetRedirectPatterns() []string` - -GetRedirectPatterns returns the RedirectPatterns field if non-nil, zero value otherwise. - -### GetRedirectPatternsOk - -`func (o *GetOrgSettings200Response) GetRedirectPatternsOk() (*[]string, bool)` - -GetRedirectPatternsOk returns a tuple with the RedirectPatterns field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRedirectPatterns - -`func (o *GetOrgSettings200Response) SetRedirectPatterns(v []string)` - -SetRedirectPatterns sets RedirectPatterns field to given value. - -### HasRedirectPatterns - -`func (o *GetOrgSettings200Response) HasRedirectPatterns() bool` - -HasRedirectPatterns returns a boolean if a field has been set. - -### GetStyleHash - -`func (o *GetOrgSettings200Response) GetStyleHash() string` - -GetStyleHash returns the StyleHash field if non-nil, zero value otherwise. - -### GetStyleHashOk - -`func (o *GetOrgSettings200Response) GetStyleHashOk() (*string, bool)` - -GetStyleHashOk returns a tuple with the StyleHash field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStyleHash - -`func (o *GetOrgSettings200Response) SetStyleHash(v string)` - -SetStyleHash sets StyleHash field to given value. - -### HasStyleHash - -`func (o *GetOrgSettings200Response) HasStyleHash() bool` - -HasStyleHash returns a boolean if a field has been set. - -### GetApprovalConfig - -`func (o *GetOrgSettings200Response) GetApprovalConfig() GetOrgSettings200ResponseApprovalConfig` - -GetApprovalConfig returns the ApprovalConfig field if non-nil, zero value otherwise. - -### GetApprovalConfigOk - -`func (o *GetOrgSettings200Response) GetApprovalConfigOk() (*GetOrgSettings200ResponseApprovalConfig, bool)` - -GetApprovalConfigOk returns a tuple with the ApprovalConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetApprovalConfig - -`func (o *GetOrgSettings200Response) SetApprovalConfig(v GetOrgSettings200ResponseApprovalConfig)` - -SetApprovalConfig sets ApprovalConfig field to given value. - -### HasApprovalConfig - -`func (o *GetOrgSettings200Response) HasApprovalConfig() bool` - -HasApprovalConfig returns a boolean if a field has been set. - -### GetSsoPartnerSource - -`func (o *GetOrgSettings200Response) GetSsoPartnerSource() string` - -GetSsoPartnerSource returns the SsoPartnerSource field if non-nil, zero value otherwise. - -### GetSsoPartnerSourceOk - -`func (o *GetOrgSettings200Response) GetSsoPartnerSourceOk() (*string, bool)` - -GetSsoPartnerSourceOk returns a tuple with the SsoPartnerSource field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSsoPartnerSource - -`func (o *GetOrgSettings200Response) SetSsoPartnerSource(v string)` - -SetSsoPartnerSource sets SsoPartnerSource field to given value. - -### HasSsoPartnerSource - -`func (o *GetOrgSettings200Response) HasSsoPartnerSource() bool` - -HasSsoPartnerSource returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/GetOrgSettings200ResponseApprovalConfig.md b/api_v2/docs/GetOrgSettings200ResponseApprovalConfig.md deleted file mode 100644 index 075a43f2f..000000000 --- a/api_v2/docs/GetOrgSettings200ResponseApprovalConfig.md +++ /dev/null @@ -1,114 +0,0 @@ -# GetOrgSettings200ResponseApprovalConfig - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**DaysTillEscalation** | **int32** | | -**DaysBetweenReminders** | **int32** | | -**MaxReminders** | **int32** | | -**FallbackApprover** | **string** | | - -## Methods - -### NewGetOrgSettings200ResponseApprovalConfig - -`func NewGetOrgSettings200ResponseApprovalConfig(daysTillEscalation int32, daysBetweenReminders int32, maxReminders int32, fallbackApprover string, ) *GetOrgSettings200ResponseApprovalConfig` - -NewGetOrgSettings200ResponseApprovalConfig instantiates a new GetOrgSettings200ResponseApprovalConfig object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetOrgSettings200ResponseApprovalConfigWithDefaults - -`func NewGetOrgSettings200ResponseApprovalConfigWithDefaults() *GetOrgSettings200ResponseApprovalConfig` - -NewGetOrgSettings200ResponseApprovalConfigWithDefaults instantiates a new GetOrgSettings200ResponseApprovalConfig object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetDaysTillEscalation - -`func (o *GetOrgSettings200ResponseApprovalConfig) GetDaysTillEscalation() int32` - -GetDaysTillEscalation returns the DaysTillEscalation field if non-nil, zero value otherwise. - -### GetDaysTillEscalationOk - -`func (o *GetOrgSettings200ResponseApprovalConfig) GetDaysTillEscalationOk() (*int32, bool)` - -GetDaysTillEscalationOk returns a tuple with the DaysTillEscalation field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDaysTillEscalation - -`func (o *GetOrgSettings200ResponseApprovalConfig) SetDaysTillEscalation(v int32)` - -SetDaysTillEscalation sets DaysTillEscalation field to given value. - - -### GetDaysBetweenReminders - -`func (o *GetOrgSettings200ResponseApprovalConfig) GetDaysBetweenReminders() int32` - -GetDaysBetweenReminders returns the DaysBetweenReminders field if non-nil, zero value otherwise. - -### GetDaysBetweenRemindersOk - -`func (o *GetOrgSettings200ResponseApprovalConfig) GetDaysBetweenRemindersOk() (*int32, bool)` - -GetDaysBetweenRemindersOk returns a tuple with the DaysBetweenReminders field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDaysBetweenReminders - -`func (o *GetOrgSettings200ResponseApprovalConfig) SetDaysBetweenReminders(v int32)` - -SetDaysBetweenReminders sets DaysBetweenReminders field to given value. - - -### GetMaxReminders - -`func (o *GetOrgSettings200ResponseApprovalConfig) GetMaxReminders() int32` - -GetMaxReminders returns the MaxReminders field if non-nil, zero value otherwise. - -### GetMaxRemindersOk - -`func (o *GetOrgSettings200ResponseApprovalConfig) GetMaxRemindersOk() (*int32, bool)` - -GetMaxRemindersOk returns a tuple with the MaxReminders field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxReminders - -`func (o *GetOrgSettings200ResponseApprovalConfig) SetMaxReminders(v int32)` - -SetMaxReminders sets MaxReminders field to given value. - - -### GetFallbackApprover - -`func (o *GetOrgSettings200ResponseApprovalConfig) GetFallbackApprover() string` - -GetFallbackApprover returns the FallbackApprover field if non-nil, zero value otherwise. - -### GetFallbackApproverOk - -`func (o *GetOrgSettings200ResponseApprovalConfig) GetFallbackApproverOk() (*string, bool)` - -GetFallbackApproverOk returns a tuple with the FallbackApprover field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFallbackApprover - -`func (o *GetOrgSettings200ResponseApprovalConfig) SetFallbackApprover(v string)` - -SetFallbackApprover sets FallbackApprover field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/GetOrgSettings200ResponseSystemNotificationConfig.md b/api_v2/docs/GetOrgSettings200ResponseSystemNotificationConfig.md deleted file mode 100644 index 22110fff5..000000000 --- a/api_v2/docs/GetOrgSettings200ResponseSystemNotificationConfig.md +++ /dev/null @@ -1,82 +0,0 @@ -# GetOrgSettings200ResponseSystemNotificationConfig - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Notifications** | Pointer to [**[]GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner**](GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner.md) | | [optional] -**RecipientType** | Pointer to **string** | | [optional] - -## Methods - -### NewGetOrgSettings200ResponseSystemNotificationConfig - -`func NewGetOrgSettings200ResponseSystemNotificationConfig() *GetOrgSettings200ResponseSystemNotificationConfig` - -NewGetOrgSettings200ResponseSystemNotificationConfig instantiates a new GetOrgSettings200ResponseSystemNotificationConfig object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetOrgSettings200ResponseSystemNotificationConfigWithDefaults - -`func NewGetOrgSettings200ResponseSystemNotificationConfigWithDefaults() *GetOrgSettings200ResponseSystemNotificationConfig` - -NewGetOrgSettings200ResponseSystemNotificationConfigWithDefaults instantiates a new GetOrgSettings200ResponseSystemNotificationConfig object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetNotifications - -`func (o *GetOrgSettings200ResponseSystemNotificationConfig) GetNotifications() []GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner` - -GetNotifications returns the Notifications field if non-nil, zero value otherwise. - -### GetNotificationsOk - -`func (o *GetOrgSettings200ResponseSystemNotificationConfig) GetNotificationsOk() (*[]GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner, bool)` - -GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNotifications - -`func (o *GetOrgSettings200ResponseSystemNotificationConfig) SetNotifications(v []GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner)` - -SetNotifications sets Notifications field to given value. - -### HasNotifications - -`func (o *GetOrgSettings200ResponseSystemNotificationConfig) HasNotifications() bool` - -HasNotifications returns a boolean if a field has been set. - -### GetRecipientType - -`func (o *GetOrgSettings200ResponseSystemNotificationConfig) GetRecipientType() string` - -GetRecipientType returns the RecipientType field if non-nil, zero value otherwise. - -### GetRecipientTypeOk - -`func (o *GetOrgSettings200ResponseSystemNotificationConfig) GetRecipientTypeOk() (*string, bool)` - -GetRecipientTypeOk returns a tuple with the RecipientType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRecipientType - -`func (o *GetOrgSettings200ResponseSystemNotificationConfig) SetRecipientType(v string)` - -SetRecipientType sets RecipientType field to given value. - -### HasRecipientType - -`func (o *GetOrgSettings200ResponseSystemNotificationConfig) HasRecipientType() bool` - -HasRecipientType returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner.md b/api_v2/docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner.md deleted file mode 100644 index 1ba832d80..000000000 --- a/api_v2/docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner.md +++ /dev/null @@ -1,108 +0,0 @@ -# GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Type** | Pointer to **string** | | [optional] -**ByEmail** | Pointer to **bool** | | [optional] -**Thresholds** | Pointer to [**GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds**](GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds.md) | | [optional] - -## Methods - -### NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner - -`func NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner` - -NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner instantiates a new GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerWithDefaults - -`func NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerWithDefaults() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner` - -NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerWithDefaults instantiates a new GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetType - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetType() string` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetTypeOk() (*string, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) SetType(v string)` - -SetType sets Type field to given value. - -### HasType - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) HasType() bool` - -HasType returns a boolean if a field has been set. - -### GetByEmail - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetByEmail() bool` - -GetByEmail returns the ByEmail field if non-nil, zero value otherwise. - -### GetByEmailOk - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetByEmailOk() (*bool, bool)` - -GetByEmailOk returns a tuple with the ByEmail field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetByEmail - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) SetByEmail(v bool)` - -SetByEmail sets ByEmail field to given value. - -### HasByEmail - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) HasByEmail() bool` - -HasByEmail returns a boolean if a field has been set. - -### GetThresholds - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetThresholds() GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds` - -GetThresholds returns the Thresholds field if non-nil, zero value otherwise. - -### GetThresholdsOk - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetThresholdsOk() (*GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds, bool)` - -GetThresholdsOk returns a tuple with the Thresholds field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetThresholds - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) SetThresholds(v GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds)` - -SetThresholds sets Thresholds field to given value. - -### HasThresholds - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) HasThresholds() bool` - -HasThresholds returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds.md b/api_v2/docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds.md deleted file mode 100644 index 39b6227f9..000000000 --- a/api_v2/docs/GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds.md +++ /dev/null @@ -1,82 +0,0 @@ -# GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Healthy** | Pointer to **string** | | [optional] -**Unhealthy** | Pointer to **string** | | [optional] - -## Methods - -### NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds - -`func NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds` - -NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds instantiates a new GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsWithDefaults - -`func NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsWithDefaults() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds` - -NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsWithDefaults instantiates a new GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetHealthy - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) GetHealthy() string` - -GetHealthy returns the Healthy field if non-nil, zero value otherwise. - -### GetHealthyOk - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) GetHealthyOk() (*string, bool)` - -GetHealthyOk returns a tuple with the Healthy field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHealthy - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) SetHealthy(v string)` - -SetHealthy sets Healthy field to given value. - -### HasHealthy - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) HasHealthy() bool` - -HasHealthy returns a boolean if a field has been set. - -### GetUnhealthy - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) GetUnhealthy() string` - -GetUnhealthy returns the Unhealthy field if non-nil, zero value otherwise. - -### GetUnhealthyOk - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) GetUnhealthyOk() (*string, bool)` - -GetUnhealthyOk returns a tuple with the Unhealthy field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUnhealthy - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) SetUnhealthy(v string)` - -SetUnhealthy sets Unhealthy field to given value. - -### HasUnhealthy - -`func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) HasUnhealthy() bool` - -HasUnhealthy returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/GovernanceGroupsAPI.md b/api_v2/docs/GovernanceGroupsAPI.md deleted file mode 100644 index cfe48f21b..000000000 --- a/api_v2/docs/GovernanceGroupsAPI.md +++ /dev/null @@ -1,645 +0,0 @@ -# \GovernanceGroupsAPI - -All URIs are relative to *https://sailpoint.api.identitynow.com/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**BulkDeleteWorkGroups**](GovernanceGroupsAPI.md#BulkDeleteWorkGroups) | **Post** /workgroups/bulk-delete | Bulk delete work groups -[**CreateWorkgroup**](GovernanceGroupsAPI.md#CreateWorkgroup) | **Post** /workgroups | Create Work Group -[**DeleteWorkgroup**](GovernanceGroupsAPI.md#DeleteWorkgroup) | **Delete** /workgroups/{workgroupId} | Delete Work Group By Id -[**GetWorkgroup**](GovernanceGroupsAPI.md#GetWorkgroup) | **Get** /workgroups/{workgroupId} | Get Work Group By Id -[**ListWorkgroupConnections**](GovernanceGroupsAPI.md#ListWorkgroupConnections) | **Get** /workgroups/{workgroupId}/connections | List Work Group Connections -[**ListWorkgroupMembers**](GovernanceGroupsAPI.md#ListWorkgroupMembers) | **Get** /workgroups/{workgroupId}/members | List Work Group Members -[**ListWorkgroups**](GovernanceGroupsAPI.md#ListWorkgroups) | **Get** /workgroups | List Work Groups -[**ModifyWorkgroupMembers**](GovernanceGroupsAPI.md#ModifyWorkgroupMembers) | **Post** /workgroups/{workgroupId}/members | Modify Work Group Members -[**UpdateWorkgroup**](GovernanceGroupsAPI.md#UpdateWorkgroup) | **Patch** /workgroups/{workgroupId} | Update Work Group By Id - - - -## BulkDeleteWorkGroups - -> BulkDeleteWorkGroups200Response BulkDeleteWorkGroups(ctx).BulkDeleteWorkGroupsRequest(bulkDeleteWorkGroupsRequest).Execute() - -Bulk delete work groups - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - bulkDeleteWorkGroupsRequest := *openapiclient.NewBulkDeleteWorkGroupsRequest() // BulkDeleteWorkGroupsRequest | Work group ids to delete - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.GovernanceGroupsAPI.BulkDeleteWorkGroups(context.Background()).BulkDeleteWorkGroupsRequest(bulkDeleteWorkGroupsRequest).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.BulkDeleteWorkGroups``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `BulkDeleteWorkGroups`: BulkDeleteWorkGroups200Response - fmt.Fprintf(os.Stdout, "Response from `GovernanceGroupsAPI.BulkDeleteWorkGroups`: %v\n", resp) -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiBulkDeleteWorkGroupsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **bulkDeleteWorkGroupsRequest** | [**BulkDeleteWorkGroupsRequest**](BulkDeleteWorkGroupsRequest.md) | Work group ids to delete | - -### Return type - -[**BulkDeleteWorkGroups200Response**](BulkDeleteWorkGroups200Response.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## CreateWorkgroup - -> []ListWorkgroups200ResponseInner CreateWorkgroup(ctx).CreateWorkgroupRequest(createWorkgroupRequest).Execute() - -Create Work Group - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - createWorkgroupRequest := *openapiclient.NewCreateWorkgroupRequest() // CreateWorkgroupRequest | Work group to create. - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.GovernanceGroupsAPI.CreateWorkgroup(context.Background()).CreateWorkgroupRequest(createWorkgroupRequest).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.CreateWorkgroup``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `CreateWorkgroup`: []ListWorkgroups200ResponseInner - fmt.Fprintf(os.Stdout, "Response from `GovernanceGroupsAPI.CreateWorkgroup`: %v\n", resp) -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiCreateWorkgroupRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **createWorkgroupRequest** | [**CreateWorkgroupRequest**](CreateWorkgroupRequest.md) | Work group to create. | - -### Return type - -[**[]ListWorkgroups200ResponseInner**](ListWorkgroups200ResponseInner.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## DeleteWorkgroup - -> DeleteWorkgroup(ctx, workgroupId).Execute() - -Delete Work Group By Id - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - workgroupId := "ef38f94347e94562b5bb8424a56397d8" // string | The workgroup ID - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.GovernanceGroupsAPI.DeleteWorkgroup(context.Background(), workgroupId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.DeleteWorkgroup``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**workgroupId** | **string** | The workgroup ID | - -### Other Parameters - -Other parameters are passed through a pointer to a apiDeleteWorkgroupRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## GetWorkgroup - -> ListWorkgroups200ResponseInner GetWorkgroup(ctx, workgroupId).Execute() - -Get Work Group By Id - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - workgroupId := "ef38f94347e94562b5bb8424a56397d8" // string | The workgroup ID - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.GovernanceGroupsAPI.GetWorkgroup(context.Background(), workgroupId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.GetWorkgroup``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `GetWorkgroup`: ListWorkgroups200ResponseInner - fmt.Fprintf(os.Stdout, "Response from `GovernanceGroupsAPI.GetWorkgroup`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**workgroupId** | **string** | The workgroup ID | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGetWorkgroupRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - -[**ListWorkgroups200ResponseInner**](ListWorkgroups200ResponseInner.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## ListWorkgroupConnections - -> []ListWorkgroupConnections200ResponseInner ListWorkgroupConnections(ctx, workgroupId).Execute() - -List Work Group Connections - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - workgroupId := "ef38f94347e94562b5bb8424a56397d8" // string | The workgroup ID - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.GovernanceGroupsAPI.ListWorkgroupConnections(context.Background(), workgroupId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.ListWorkgroupConnections``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `ListWorkgroupConnections`: []ListWorkgroupConnections200ResponseInner - fmt.Fprintf(os.Stdout, "Response from `GovernanceGroupsAPI.ListWorkgroupConnections`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**workgroupId** | **string** | The workgroup ID | - -### Other Parameters - -Other parameters are passed through a pointer to a apiListWorkgroupConnectionsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - -[**[]ListWorkgroupConnections200ResponseInner**](ListWorkgroupConnections200ResponseInner.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## ListWorkgroupMembers - -> []ListWorkgroupMembers200ResponseInner ListWorkgroupMembers(ctx, workgroupId).Limit(limit).Offset(offset).Filters(filters).Execute() - -List Work Group Members - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - workgroupId := "ef38f94347e94562b5bb8424a56397d8" // string | The workgroup ID - limit := int32(250) // int32 | Max number of results to return (optional) (default to 250) - offset := int32(0) // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. (optional) (default to 0) - filters := "filters_example" // string | Filter results using the following syntax. [{property:name, value: \"Tyler\", operation: EQ}] (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.GovernanceGroupsAPI.ListWorkgroupMembers(context.Background(), workgroupId).Limit(limit).Offset(offset).Filters(filters).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.ListWorkgroupMembers``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `ListWorkgroupMembers`: []ListWorkgroupMembers200ResponseInner - fmt.Fprintf(os.Stdout, "Response from `GovernanceGroupsAPI.ListWorkgroupMembers`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**workgroupId** | **string** | The workgroup ID | - -### Other Parameters - -Other parameters are passed through a pointer to a apiListWorkgroupMembersRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **limit** | **int32** | Max number of results to return | [default to 250] - **offset** | **int32** | Offset into the full result set. Usually specified with *limit* to paginate through the results. | [default to 0] - **filters** | **string** | Filter results using the following syntax. [{property:name, value: \"Tyler\", operation: EQ}] | - -### Return type - -[**[]ListWorkgroupMembers200ResponseInner**](ListWorkgroupMembers200ResponseInner.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## ListWorkgroups - -> []ListWorkgroups200ResponseInner ListWorkgroups(ctx).Limit(limit).Offset(offset).Filters(filters).Execute() - -List Work Groups - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - limit := int32(250) // int32 | Max number of results to return (optional) (default to 250) - offset := int32(0) // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. (optional) (default to 0) - filters := "filters_example" // string | Filter results using the following syntax. [{property:name, value: \"Tyler\", operation: EQ}] (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.GovernanceGroupsAPI.ListWorkgroups(context.Background()).Limit(limit).Offset(offset).Filters(filters).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.ListWorkgroups``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `ListWorkgroups`: []ListWorkgroups200ResponseInner - fmt.Fprintf(os.Stdout, "Response from `GovernanceGroupsAPI.ListWorkgroups`: %v\n", resp) -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiListWorkgroupsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **int32** | Max number of results to return | [default to 250] - **offset** | **int32** | Offset into the full result set. Usually specified with *limit* to paginate through the results. | [default to 0] - **filters** | **string** | Filter results using the following syntax. [{property:name, value: \"Tyler\", operation: EQ}] | - -### Return type - -[**[]ListWorkgroups200ResponseInner**](ListWorkgroups200ResponseInner.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## ModifyWorkgroupMembers - -> ModifyWorkgroupMembers(ctx, workgroupId).ModifyWorkgroupMembersRequest(modifyWorkgroupMembersRequest).Execute() - -Modify Work Group Members - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - workgroupId := "ef38f94347e94562b5bb8424a56397d8" // string | The workgroup ID - modifyWorkgroupMembersRequest := *openapiclient.NewModifyWorkgroupMembersRequest() // ModifyWorkgroupMembersRequest | Add/Remove workgroup member ids. - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.GovernanceGroupsAPI.ModifyWorkgroupMembers(context.Background(), workgroupId).ModifyWorkgroupMembersRequest(modifyWorkgroupMembersRequest).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.ModifyWorkgroupMembers``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**workgroupId** | **string** | The workgroup ID | - -### Other Parameters - -Other parameters are passed through a pointer to a apiModifyWorkgroupMembersRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **modifyWorkgroupMembersRequest** | [**ModifyWorkgroupMembersRequest**](ModifyWorkgroupMembersRequest.md) | Add/Remove workgroup member ids. | - -### Return type - - (empty response body) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## UpdateWorkgroup - -> ListWorkgroups200ResponseInner UpdateWorkgroup(ctx, workgroupId).CreateWorkgroupRequest(createWorkgroupRequest).Execute() - -Update Work Group By Id - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - workgroupId := "ef38f94347e94562b5bb8424a56397d8" // string | The workgroup ID - createWorkgroupRequest := *openapiclient.NewCreateWorkgroupRequest() // CreateWorkgroupRequest | Work group to modify. - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.GovernanceGroupsAPI.UpdateWorkgroup(context.Background(), workgroupId).CreateWorkgroupRequest(createWorkgroupRequest).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.UpdateWorkgroup``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `UpdateWorkgroup`: ListWorkgroups200ResponseInner - fmt.Fprintf(os.Stdout, "Response from `GovernanceGroupsAPI.UpdateWorkgroup`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**workgroupId** | **string** | The workgroup ID | - -### Other Parameters - -Other parameters are passed through a pointer to a apiUpdateWorkgroupRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **createWorkgroupRequest** | [**CreateWorkgroupRequest**](CreateWorkgroupRequest.md) | Work group to modify. | - -### Return type - -[**ListWorkgroups200ResponseInner**](ListWorkgroups200ResponseInner.md) - -### Authorization - -[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api_v2/docs/ListWorkgroupConnections200ResponseInner.md b/api_v2/docs/ListWorkgroupConnections200ResponseInner.md deleted file mode 100644 index 333b8babf..000000000 --- a/api_v2/docs/ListWorkgroupConnections200ResponseInner.md +++ /dev/null @@ -1,186 +0,0 @@ -# ListWorkgroupConnections200ResponseInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ConnectionType** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | | [optional] -**ObjectId** | Pointer to **string** | | [optional] -**ObjectType** | Pointer to **string** | | [optional] -**WorkgroupId** | Pointer to **string** | | [optional] - -## Methods - -### NewListWorkgroupConnections200ResponseInner - -`func NewListWorkgroupConnections200ResponseInner() *ListWorkgroupConnections200ResponseInner` - -NewListWorkgroupConnections200ResponseInner instantiates a new ListWorkgroupConnections200ResponseInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListWorkgroupConnections200ResponseInnerWithDefaults - -`func NewListWorkgroupConnections200ResponseInnerWithDefaults() *ListWorkgroupConnections200ResponseInner` - -NewListWorkgroupConnections200ResponseInnerWithDefaults instantiates a new ListWorkgroupConnections200ResponseInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetConnectionType - -`func (o *ListWorkgroupConnections200ResponseInner) GetConnectionType() string` - -GetConnectionType returns the ConnectionType field if non-nil, zero value otherwise. - -### GetConnectionTypeOk - -`func (o *ListWorkgroupConnections200ResponseInner) GetConnectionTypeOk() (*string, bool)` - -GetConnectionTypeOk returns a tuple with the ConnectionType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetConnectionType - -`func (o *ListWorkgroupConnections200ResponseInner) SetConnectionType(v string)` - -SetConnectionType sets ConnectionType field to given value. - -### HasConnectionType - -`func (o *ListWorkgroupConnections200ResponseInner) HasConnectionType() bool` - -HasConnectionType returns a boolean if a field has been set. - -### GetDescription - -`func (o *ListWorkgroupConnections200ResponseInner) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *ListWorkgroupConnections200ResponseInner) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *ListWorkgroupConnections200ResponseInner) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *ListWorkgroupConnections200ResponseInner) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetName - -`func (o *ListWorkgroupConnections200ResponseInner) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *ListWorkgroupConnections200ResponseInner) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *ListWorkgroupConnections200ResponseInner) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *ListWorkgroupConnections200ResponseInner) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetObjectId - -`func (o *ListWorkgroupConnections200ResponseInner) GetObjectId() string` - -GetObjectId returns the ObjectId field if non-nil, zero value otherwise. - -### GetObjectIdOk - -`func (o *ListWorkgroupConnections200ResponseInner) GetObjectIdOk() (*string, bool)` - -GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetObjectId - -`func (o *ListWorkgroupConnections200ResponseInner) SetObjectId(v string)` - -SetObjectId sets ObjectId field to given value. - -### HasObjectId - -`func (o *ListWorkgroupConnections200ResponseInner) HasObjectId() bool` - -HasObjectId returns a boolean if a field has been set. - -### GetObjectType - -`func (o *ListWorkgroupConnections200ResponseInner) GetObjectType() string` - -GetObjectType returns the ObjectType field if non-nil, zero value otherwise. - -### GetObjectTypeOk - -`func (o *ListWorkgroupConnections200ResponseInner) GetObjectTypeOk() (*string, bool)` - -GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetObjectType - -`func (o *ListWorkgroupConnections200ResponseInner) SetObjectType(v string)` - -SetObjectType sets ObjectType field to given value. - -### HasObjectType - -`func (o *ListWorkgroupConnections200ResponseInner) HasObjectType() bool` - -HasObjectType returns a boolean if a field has been set. - -### GetWorkgroupId - -`func (o *ListWorkgroupConnections200ResponseInner) GetWorkgroupId() string` - -GetWorkgroupId returns the WorkgroupId field if non-nil, zero value otherwise. - -### GetWorkgroupIdOk - -`func (o *ListWorkgroupConnections200ResponseInner) GetWorkgroupIdOk() (*string, bool)` - -GetWorkgroupIdOk returns a tuple with the WorkgroupId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWorkgroupId - -`func (o *ListWorkgroupConnections200ResponseInner) SetWorkgroupId(v string)` - -SetWorkgroupId sets WorkgroupId field to given value. - -### HasWorkgroupId - -`func (o *ListWorkgroupConnections200ResponseInner) HasWorkgroupId() bool` - -HasWorkgroupId returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/ListWorkgroupMembers200ResponseInner.md b/api_v2/docs/ListWorkgroupMembers200ResponseInner.md deleted file mode 100644 index 3336ef7d9..000000000 --- a/api_v2/docs/ListWorkgroupMembers200ResponseInner.md +++ /dev/null @@ -1,160 +0,0 @@ -# ListWorkgroupMembers200ResponseInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Alias** | Pointer to **string** | | [optional] -**Email** | Pointer to **string** | | [optional] -**ExternalId** | Pointer to **string** | | [optional] -**Id** | Pointer to **int32** | | [optional] -**Name** | Pointer to **string** | | [optional] - -## Methods - -### NewListWorkgroupMembers200ResponseInner - -`func NewListWorkgroupMembers200ResponseInner() *ListWorkgroupMembers200ResponseInner` - -NewListWorkgroupMembers200ResponseInner instantiates a new ListWorkgroupMembers200ResponseInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListWorkgroupMembers200ResponseInnerWithDefaults - -`func NewListWorkgroupMembers200ResponseInnerWithDefaults() *ListWorkgroupMembers200ResponseInner` - -NewListWorkgroupMembers200ResponseInnerWithDefaults instantiates a new ListWorkgroupMembers200ResponseInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAlias - -`func (o *ListWorkgroupMembers200ResponseInner) GetAlias() string` - -GetAlias returns the Alias field if non-nil, zero value otherwise. - -### GetAliasOk - -`func (o *ListWorkgroupMembers200ResponseInner) GetAliasOk() (*string, bool)` - -GetAliasOk returns a tuple with the Alias field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAlias - -`func (o *ListWorkgroupMembers200ResponseInner) SetAlias(v string)` - -SetAlias sets Alias field to given value. - -### HasAlias - -`func (o *ListWorkgroupMembers200ResponseInner) HasAlias() bool` - -HasAlias returns a boolean if a field has been set. - -### GetEmail - -`func (o *ListWorkgroupMembers200ResponseInner) GetEmail() string` - -GetEmail returns the Email field if non-nil, zero value otherwise. - -### GetEmailOk - -`func (o *ListWorkgroupMembers200ResponseInner) GetEmailOk() (*string, bool)` - -GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmail - -`func (o *ListWorkgroupMembers200ResponseInner) SetEmail(v string)` - -SetEmail sets Email field to given value. - -### HasEmail - -`func (o *ListWorkgroupMembers200ResponseInner) HasEmail() bool` - -HasEmail returns a boolean if a field has been set. - -### GetExternalId - -`func (o *ListWorkgroupMembers200ResponseInner) GetExternalId() string` - -GetExternalId returns the ExternalId field if non-nil, zero value otherwise. - -### GetExternalIdOk - -`func (o *ListWorkgroupMembers200ResponseInner) GetExternalIdOk() (*string, bool)` - -GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExternalId - -`func (o *ListWorkgroupMembers200ResponseInner) SetExternalId(v string)` - -SetExternalId sets ExternalId field to given value. - -### HasExternalId - -`func (o *ListWorkgroupMembers200ResponseInner) HasExternalId() bool` - -HasExternalId returns a boolean if a field has been set. - -### GetId - -`func (o *ListWorkgroupMembers200ResponseInner) GetId() int32` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ListWorkgroupMembers200ResponseInner) GetIdOk() (*int32, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ListWorkgroupMembers200ResponseInner) SetId(v int32)` - -SetId sets Id field to given value. - -### HasId - -`func (o *ListWorkgroupMembers200ResponseInner) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetName - -`func (o *ListWorkgroupMembers200ResponseInner) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *ListWorkgroupMembers200ResponseInner) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *ListWorkgroupMembers200ResponseInner) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *ListWorkgroupMembers200ResponseInner) HasName() bool` - -HasName returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/ListWorkgroups200ResponseInner.md b/api_v2/docs/ListWorkgroups200ResponseInner.md deleted file mode 100644 index 727eb29db..000000000 --- a/api_v2/docs/ListWorkgroups200ResponseInner.md +++ /dev/null @@ -1,238 +0,0 @@ -# ListWorkgroups200ResponseInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ConnectionCount** | Pointer to **int32** | | [optional] -**Created** | Pointer to **int64** | | [optional] -**Description** | Pointer to **string** | | [optional] -**Id** | Pointer to **string** | | [optional] -**MemberCount** | Pointer to **int32** | | [optional] -**Modified** | Pointer to **int64** | | [optional] -**Name** | Pointer to **string** | | [optional] -**Owner** | Pointer to [**ListWorkgroups200ResponseInnerOwner**](ListWorkgroups200ResponseInnerOwner.md) | | [optional] - -## Methods - -### NewListWorkgroups200ResponseInner - -`func NewListWorkgroups200ResponseInner() *ListWorkgroups200ResponseInner` - -NewListWorkgroups200ResponseInner instantiates a new ListWorkgroups200ResponseInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListWorkgroups200ResponseInnerWithDefaults - -`func NewListWorkgroups200ResponseInnerWithDefaults() *ListWorkgroups200ResponseInner` - -NewListWorkgroups200ResponseInnerWithDefaults instantiates a new ListWorkgroups200ResponseInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetConnectionCount - -`func (o *ListWorkgroups200ResponseInner) GetConnectionCount() int32` - -GetConnectionCount returns the ConnectionCount field if non-nil, zero value otherwise. - -### GetConnectionCountOk - -`func (o *ListWorkgroups200ResponseInner) GetConnectionCountOk() (*int32, bool)` - -GetConnectionCountOk returns a tuple with the ConnectionCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetConnectionCount - -`func (o *ListWorkgroups200ResponseInner) SetConnectionCount(v int32)` - -SetConnectionCount sets ConnectionCount field to given value. - -### HasConnectionCount - -`func (o *ListWorkgroups200ResponseInner) HasConnectionCount() bool` - -HasConnectionCount returns a boolean if a field has been set. - -### GetCreated - -`func (o *ListWorkgroups200ResponseInner) GetCreated() int64` - -GetCreated returns the Created field if non-nil, zero value otherwise. - -### GetCreatedOk - -`func (o *ListWorkgroups200ResponseInner) GetCreatedOk() (*int64, bool)` - -GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCreated - -`func (o *ListWorkgroups200ResponseInner) SetCreated(v int64)` - -SetCreated sets Created field to given value. - -### HasCreated - -`func (o *ListWorkgroups200ResponseInner) HasCreated() bool` - -HasCreated returns a boolean if a field has been set. - -### GetDescription - -`func (o *ListWorkgroups200ResponseInner) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *ListWorkgroups200ResponseInner) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *ListWorkgroups200ResponseInner) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *ListWorkgroups200ResponseInner) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetId - -`func (o *ListWorkgroups200ResponseInner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ListWorkgroups200ResponseInner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ListWorkgroups200ResponseInner) SetId(v string)` - -SetId sets Id field to given value. - -### HasId - -`func (o *ListWorkgroups200ResponseInner) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetMemberCount - -`func (o *ListWorkgroups200ResponseInner) GetMemberCount() int32` - -GetMemberCount returns the MemberCount field if non-nil, zero value otherwise. - -### GetMemberCountOk - -`func (o *ListWorkgroups200ResponseInner) GetMemberCountOk() (*int32, bool)` - -GetMemberCountOk returns a tuple with the MemberCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMemberCount - -`func (o *ListWorkgroups200ResponseInner) SetMemberCount(v int32)` - -SetMemberCount sets MemberCount field to given value. - -### HasMemberCount - -`func (o *ListWorkgroups200ResponseInner) HasMemberCount() bool` - -HasMemberCount returns a boolean if a field has been set. - -### GetModified - -`func (o *ListWorkgroups200ResponseInner) GetModified() int64` - -GetModified returns the Modified field if non-nil, zero value otherwise. - -### GetModifiedOk - -`func (o *ListWorkgroups200ResponseInner) GetModifiedOk() (*int64, bool)` - -GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModified - -`func (o *ListWorkgroups200ResponseInner) SetModified(v int64)` - -SetModified sets Modified field to given value. - -### HasModified - -`func (o *ListWorkgroups200ResponseInner) HasModified() bool` - -HasModified returns a boolean if a field has been set. - -### GetName - -`func (o *ListWorkgroups200ResponseInner) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *ListWorkgroups200ResponseInner) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *ListWorkgroups200ResponseInner) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *ListWorkgroups200ResponseInner) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetOwner - -`func (o *ListWorkgroups200ResponseInner) GetOwner() ListWorkgroups200ResponseInnerOwner` - -GetOwner returns the Owner field if non-nil, zero value otherwise. - -### GetOwnerOk - -`func (o *ListWorkgroups200ResponseInner) GetOwnerOk() (*ListWorkgroups200ResponseInnerOwner, bool)` - -GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOwner - -`func (o *ListWorkgroups200ResponseInner) SetOwner(v ListWorkgroups200ResponseInnerOwner)` - -SetOwner sets Owner field to given value. - -### HasOwner - -`func (o *ListWorkgroups200ResponseInner) HasOwner() bool` - -HasOwner returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/ListWorkgroups200ResponseInnerOwner.md b/api_v2/docs/ListWorkgroups200ResponseInnerOwner.md deleted file mode 100644 index d88f54dd0..000000000 --- a/api_v2/docs/ListWorkgroups200ResponseInnerOwner.md +++ /dev/null @@ -1,134 +0,0 @@ -# ListWorkgroups200ResponseInnerOwner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**DisplayName** | Pointer to **string** | | [optional] -**EmailAddress** | Pointer to **string** | | [optional] -**Id** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | | [optional] - -## Methods - -### NewListWorkgroups200ResponseInnerOwner - -`func NewListWorkgroups200ResponseInnerOwner() *ListWorkgroups200ResponseInnerOwner` - -NewListWorkgroups200ResponseInnerOwner instantiates a new ListWorkgroups200ResponseInnerOwner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListWorkgroups200ResponseInnerOwnerWithDefaults - -`func NewListWorkgroups200ResponseInnerOwnerWithDefaults() *ListWorkgroups200ResponseInnerOwner` - -NewListWorkgroups200ResponseInnerOwnerWithDefaults instantiates a new ListWorkgroups200ResponseInnerOwner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetDisplayName - -`func (o *ListWorkgroups200ResponseInnerOwner) GetDisplayName() string` - -GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. - -### GetDisplayNameOk - -`func (o *ListWorkgroups200ResponseInnerOwner) GetDisplayNameOk() (*string, bool)` - -GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDisplayName - -`func (o *ListWorkgroups200ResponseInnerOwner) SetDisplayName(v string)` - -SetDisplayName sets DisplayName field to given value. - -### HasDisplayName - -`func (o *ListWorkgroups200ResponseInnerOwner) HasDisplayName() bool` - -HasDisplayName returns a boolean if a field has been set. - -### GetEmailAddress - -`func (o *ListWorkgroups200ResponseInnerOwner) GetEmailAddress() string` - -GetEmailAddress returns the EmailAddress field if non-nil, zero value otherwise. - -### GetEmailAddressOk - -`func (o *ListWorkgroups200ResponseInnerOwner) GetEmailAddressOk() (*string, bool)` - -GetEmailAddressOk returns a tuple with the EmailAddress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailAddress - -`func (o *ListWorkgroups200ResponseInnerOwner) SetEmailAddress(v string)` - -SetEmailAddress sets EmailAddress field to given value. - -### HasEmailAddress - -`func (o *ListWorkgroups200ResponseInnerOwner) HasEmailAddress() bool` - -HasEmailAddress returns a boolean if a field has been set. - -### GetId - -`func (o *ListWorkgroups200ResponseInnerOwner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ListWorkgroups200ResponseInnerOwner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ListWorkgroups200ResponseInnerOwner) SetId(v string)` - -SetId sets Id field to given value. - -### HasId - -`func (o *ListWorkgroups200ResponseInnerOwner) HasId() bool` - -HasId returns a boolean if a field has been set. - -### GetName - -`func (o *ListWorkgroups200ResponseInnerOwner) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *ListWorkgroups200ResponseInnerOwner) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *ListWorkgroups200ResponseInnerOwner) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *ListWorkgroups200ResponseInnerOwner) HasName() bool` - -HasName returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/ModifyWorkgroupMembersRequest.md b/api_v2/docs/ModifyWorkgroupMembersRequest.md deleted file mode 100644 index 14b8fa770..000000000 --- a/api_v2/docs/ModifyWorkgroupMembersRequest.md +++ /dev/null @@ -1,82 +0,0 @@ -# ModifyWorkgroupMembersRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Add** | Pointer to **[]string** | | [optional] -**Remove** | Pointer to **[]string** | | [optional] - -## Methods - -### NewModifyWorkgroupMembersRequest - -`func NewModifyWorkgroupMembersRequest() *ModifyWorkgroupMembersRequest` - -NewModifyWorkgroupMembersRequest instantiates a new ModifyWorkgroupMembersRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewModifyWorkgroupMembersRequestWithDefaults - -`func NewModifyWorkgroupMembersRequestWithDefaults() *ModifyWorkgroupMembersRequest` - -NewModifyWorkgroupMembersRequestWithDefaults instantiates a new ModifyWorkgroupMembersRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAdd - -`func (o *ModifyWorkgroupMembersRequest) GetAdd() []string` - -GetAdd returns the Add field if non-nil, zero value otherwise. - -### GetAddOk - -`func (o *ModifyWorkgroupMembersRequest) GetAddOk() (*[]string, bool)` - -GetAddOk returns a tuple with the Add field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAdd - -`func (o *ModifyWorkgroupMembersRequest) SetAdd(v []string)` - -SetAdd sets Add field to given value. - -### HasAdd - -`func (o *ModifyWorkgroupMembersRequest) HasAdd() bool` - -HasAdd returns a boolean if a field has been set. - -### GetRemove - -`func (o *ModifyWorkgroupMembersRequest) GetRemove() []string` - -GetRemove returns the Remove field if non-nil, zero value otherwise. - -### GetRemoveOk - -`func (o *ModifyWorkgroupMembersRequest) GetRemoveOk() (*[]string, bool)` - -GetRemoveOk returns a tuple with the Remove field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRemove - -`func (o *ModifyWorkgroupMembersRequest) SetRemove(v []string)` - -SetRemove sets Remove field to given value. - -### HasRemove - -`func (o *ModifyWorkgroupMembersRequest) HasRemove() bool` - -HasRemove returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/docs/OrgAPI.md b/api_v2/docs/OrgAPI.md deleted file mode 100644 index c4dae94bc..000000000 --- a/api_v2/docs/OrgAPI.md +++ /dev/null @@ -1,137 +0,0 @@ -# \OrgAPI - -All URIs are relative to *https://sailpoint.api.identitynow.com/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**GetOrgSettings**](OrgAPI.md#GetOrgSettings) | **Get** /org | Retrieves your org settings. -[**UpdateOrgSettings**](OrgAPI.md#UpdateOrgSettings) | **Patch** /org | Updates one or more org attributes. - - - -## GetOrgSettings - -> GetOrgSettings200Response GetOrgSettings(ctx).Execute() - -Retrieves your org settings. - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgAPI.GetOrgSettings(context.Background()).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrgAPI.GetOrgSettings``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `GetOrgSettings`: GetOrgSettings200Response - fmt.Fprintf(os.Stdout, "Response from `OrgAPI.GetOrgSettings`: %v\n", resp) -} -``` - -### Path Parameters - -This endpoint does not need any parameter. - -### Other Parameters - -Other parameters are passed through a pointer to a apiGetOrgSettingsRequest struct via the builder pattern - - -### Return type - -[**GetOrgSettings200Response**](GetOrgSettings200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## UpdateOrgSettings - -> GetOrgSettings200Response UpdateOrgSettings(ctx).UpdateOrgSettingsRequest(updateOrgSettingsRequest).Execute() - -Updates one or more org attributes. - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func main() { - updateOrgSettingsRequest := *openapiclient.NewUpdateOrgSettingsRequest() // UpdateOrgSettingsRequest | Org settings to update. - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgAPI.UpdateOrgSettings(context.Background()).UpdateOrgSettingsRequest(updateOrgSettingsRequest).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrgAPI.UpdateOrgSettings``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `UpdateOrgSettings`: GetOrgSettings200Response - fmt.Fprintf(os.Stdout, "Response from `OrgAPI.UpdateOrgSettings`: %v\n", resp) -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiUpdateOrgSettingsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **updateOrgSettingsRequest** | [**UpdateOrgSettingsRequest**](UpdateOrgSettingsRequest.md) | Org settings to update. | - -### Return type - -[**GetOrgSettings200Response**](GetOrgSettings200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api_v2/docs/UpdateOrgSettingsRequest.md b/api_v2/docs/UpdateOrgSettingsRequest.md deleted file mode 100644 index f79a92973..000000000 --- a/api_v2/docs/UpdateOrgSettingsRequest.md +++ /dev/null @@ -1,628 +0,0 @@ -# UpdateOrgSettingsRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CountryCodes** | Pointer to **[]string** | | [optional] -**EnableExternalPasswordChange** | Pointer to **bool** | | [optional] -**EnableAutomaticPasswordReplay** | Pointer to **bool** | | [optional] -**EnableAutomationGeneration** | Pointer to **bool** | | [optional] -**KbaReqAnswers** | Pointer to **int32** | | [optional] -**KbaReqForAuthn** | Pointer to **int32** | | [optional] -**LockoutAttemptThreshold** | Pointer to **int32** | | [optional] -**LockoutTimeMinutes** | Pointer to **int32** | | [optional] -**LoginUrl** | Pointer to **string** | | [optional] -**Netmasks** | Pointer to **[]string** | | [optional] -**NotifyAuthenticationSettingChange** | Pointer to **bool** | | [optional] -**PasswordReplayState** | Pointer to **string** | | [optional] -**PreferredIdentityInviteTemplate** | Pointer to **string** | | [optional] -**RedirectPatterns** | Pointer to **[]string** | | [optional] -**SsoPartnerSource** | Pointer to **string** | | [optional] -**SystemNotificationEmails** | Pointer to **[]string** | | [optional] -**TrackAnalytics** | Pointer to **bool** | | [optional] -**UsageCertRequired** | Pointer to **bool** | | [optional] -**UsageCertText** | Pointer to **string** | | [optional] -**UsernameEmptyText** | Pointer to **string** | | [optional] -**UsernameLabel** | Pointer to **string** | | [optional] -**WhiteList** | Pointer to **bool** | | [optional] -**ApprovalConfig** | Pointer to [**GetOrgSettings200ResponseApprovalConfig**](GetOrgSettings200ResponseApprovalConfig.md) | | [optional] - -## Methods - -### NewUpdateOrgSettingsRequest - -`func NewUpdateOrgSettingsRequest() *UpdateOrgSettingsRequest` - -NewUpdateOrgSettingsRequest instantiates a new UpdateOrgSettingsRequest object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateOrgSettingsRequestWithDefaults - -`func NewUpdateOrgSettingsRequestWithDefaults() *UpdateOrgSettingsRequest` - -NewUpdateOrgSettingsRequestWithDefaults instantiates a new UpdateOrgSettingsRequest object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCountryCodes - -`func (o *UpdateOrgSettingsRequest) GetCountryCodes() []string` - -GetCountryCodes returns the CountryCodes field if non-nil, zero value otherwise. - -### GetCountryCodesOk - -`func (o *UpdateOrgSettingsRequest) GetCountryCodesOk() (*[]string, bool)` - -GetCountryCodesOk returns a tuple with the CountryCodes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCountryCodes - -`func (o *UpdateOrgSettingsRequest) SetCountryCodes(v []string)` - -SetCountryCodes sets CountryCodes field to given value. - -### HasCountryCodes - -`func (o *UpdateOrgSettingsRequest) HasCountryCodes() bool` - -HasCountryCodes returns a boolean if a field has been set. - -### GetEnableExternalPasswordChange - -`func (o *UpdateOrgSettingsRequest) GetEnableExternalPasswordChange() bool` - -GetEnableExternalPasswordChange returns the EnableExternalPasswordChange field if non-nil, zero value otherwise. - -### GetEnableExternalPasswordChangeOk - -`func (o *UpdateOrgSettingsRequest) GetEnableExternalPasswordChangeOk() (*bool, bool)` - -GetEnableExternalPasswordChangeOk returns a tuple with the EnableExternalPasswordChange field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableExternalPasswordChange - -`func (o *UpdateOrgSettingsRequest) SetEnableExternalPasswordChange(v bool)` - -SetEnableExternalPasswordChange sets EnableExternalPasswordChange field to given value. - -### HasEnableExternalPasswordChange - -`func (o *UpdateOrgSettingsRequest) HasEnableExternalPasswordChange() bool` - -HasEnableExternalPasswordChange returns a boolean if a field has been set. - -### GetEnableAutomaticPasswordReplay - -`func (o *UpdateOrgSettingsRequest) GetEnableAutomaticPasswordReplay() bool` - -GetEnableAutomaticPasswordReplay returns the EnableAutomaticPasswordReplay field if non-nil, zero value otherwise. - -### GetEnableAutomaticPasswordReplayOk - -`func (o *UpdateOrgSettingsRequest) GetEnableAutomaticPasswordReplayOk() (*bool, bool)` - -GetEnableAutomaticPasswordReplayOk returns a tuple with the EnableAutomaticPasswordReplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableAutomaticPasswordReplay - -`func (o *UpdateOrgSettingsRequest) SetEnableAutomaticPasswordReplay(v bool)` - -SetEnableAutomaticPasswordReplay sets EnableAutomaticPasswordReplay field to given value. - -### HasEnableAutomaticPasswordReplay - -`func (o *UpdateOrgSettingsRequest) HasEnableAutomaticPasswordReplay() bool` - -HasEnableAutomaticPasswordReplay returns a boolean if a field has been set. - -### GetEnableAutomationGeneration - -`func (o *UpdateOrgSettingsRequest) GetEnableAutomationGeneration() bool` - -GetEnableAutomationGeneration returns the EnableAutomationGeneration field if non-nil, zero value otherwise. - -### GetEnableAutomationGenerationOk - -`func (o *UpdateOrgSettingsRequest) GetEnableAutomationGenerationOk() (*bool, bool)` - -GetEnableAutomationGenerationOk returns a tuple with the EnableAutomationGeneration field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableAutomationGeneration - -`func (o *UpdateOrgSettingsRequest) SetEnableAutomationGeneration(v bool)` - -SetEnableAutomationGeneration sets EnableAutomationGeneration field to given value. - -### HasEnableAutomationGeneration - -`func (o *UpdateOrgSettingsRequest) HasEnableAutomationGeneration() bool` - -HasEnableAutomationGeneration returns a boolean if a field has been set. - -### GetKbaReqAnswers - -`func (o *UpdateOrgSettingsRequest) GetKbaReqAnswers() int32` - -GetKbaReqAnswers returns the KbaReqAnswers field if non-nil, zero value otherwise. - -### GetKbaReqAnswersOk - -`func (o *UpdateOrgSettingsRequest) GetKbaReqAnswersOk() (*int32, bool)` - -GetKbaReqAnswersOk returns a tuple with the KbaReqAnswers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetKbaReqAnswers - -`func (o *UpdateOrgSettingsRequest) SetKbaReqAnswers(v int32)` - -SetKbaReqAnswers sets KbaReqAnswers field to given value. - -### HasKbaReqAnswers - -`func (o *UpdateOrgSettingsRequest) HasKbaReqAnswers() bool` - -HasKbaReqAnswers returns a boolean if a field has been set. - -### GetKbaReqForAuthn - -`func (o *UpdateOrgSettingsRequest) GetKbaReqForAuthn() int32` - -GetKbaReqForAuthn returns the KbaReqForAuthn field if non-nil, zero value otherwise. - -### GetKbaReqForAuthnOk - -`func (o *UpdateOrgSettingsRequest) GetKbaReqForAuthnOk() (*int32, bool)` - -GetKbaReqForAuthnOk returns a tuple with the KbaReqForAuthn field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetKbaReqForAuthn - -`func (o *UpdateOrgSettingsRequest) SetKbaReqForAuthn(v int32)` - -SetKbaReqForAuthn sets KbaReqForAuthn field to given value. - -### HasKbaReqForAuthn - -`func (o *UpdateOrgSettingsRequest) HasKbaReqForAuthn() bool` - -HasKbaReqForAuthn returns a boolean if a field has been set. - -### GetLockoutAttemptThreshold - -`func (o *UpdateOrgSettingsRequest) GetLockoutAttemptThreshold() int32` - -GetLockoutAttemptThreshold returns the LockoutAttemptThreshold field if non-nil, zero value otherwise. - -### GetLockoutAttemptThresholdOk - -`func (o *UpdateOrgSettingsRequest) GetLockoutAttemptThresholdOk() (*int32, bool)` - -GetLockoutAttemptThresholdOk returns a tuple with the LockoutAttemptThreshold field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLockoutAttemptThreshold - -`func (o *UpdateOrgSettingsRequest) SetLockoutAttemptThreshold(v int32)` - -SetLockoutAttemptThreshold sets LockoutAttemptThreshold field to given value. - -### HasLockoutAttemptThreshold - -`func (o *UpdateOrgSettingsRequest) HasLockoutAttemptThreshold() bool` - -HasLockoutAttemptThreshold returns a boolean if a field has been set. - -### GetLockoutTimeMinutes - -`func (o *UpdateOrgSettingsRequest) GetLockoutTimeMinutes() int32` - -GetLockoutTimeMinutes returns the LockoutTimeMinutes field if non-nil, zero value otherwise. - -### GetLockoutTimeMinutesOk - -`func (o *UpdateOrgSettingsRequest) GetLockoutTimeMinutesOk() (*int32, bool)` - -GetLockoutTimeMinutesOk returns a tuple with the LockoutTimeMinutes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLockoutTimeMinutes - -`func (o *UpdateOrgSettingsRequest) SetLockoutTimeMinutes(v int32)` - -SetLockoutTimeMinutes sets LockoutTimeMinutes field to given value. - -### HasLockoutTimeMinutes - -`func (o *UpdateOrgSettingsRequest) HasLockoutTimeMinutes() bool` - -HasLockoutTimeMinutes returns a boolean if a field has been set. - -### GetLoginUrl - -`func (o *UpdateOrgSettingsRequest) GetLoginUrl() string` - -GetLoginUrl returns the LoginUrl field if non-nil, zero value otherwise. - -### GetLoginUrlOk - -`func (o *UpdateOrgSettingsRequest) GetLoginUrlOk() (*string, bool)` - -GetLoginUrlOk returns a tuple with the LoginUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLoginUrl - -`func (o *UpdateOrgSettingsRequest) SetLoginUrl(v string)` - -SetLoginUrl sets LoginUrl field to given value. - -### HasLoginUrl - -`func (o *UpdateOrgSettingsRequest) HasLoginUrl() bool` - -HasLoginUrl returns a boolean if a field has been set. - -### GetNetmasks - -`func (o *UpdateOrgSettingsRequest) GetNetmasks() []string` - -GetNetmasks returns the Netmasks field if non-nil, zero value otherwise. - -### GetNetmasksOk - -`func (o *UpdateOrgSettingsRequest) GetNetmasksOk() (*[]string, bool)` - -GetNetmasksOk returns a tuple with the Netmasks field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNetmasks - -`func (o *UpdateOrgSettingsRequest) SetNetmasks(v []string)` - -SetNetmasks sets Netmasks field to given value. - -### HasNetmasks - -`func (o *UpdateOrgSettingsRequest) HasNetmasks() bool` - -HasNetmasks returns a boolean if a field has been set. - -### GetNotifyAuthenticationSettingChange - -`func (o *UpdateOrgSettingsRequest) GetNotifyAuthenticationSettingChange() bool` - -GetNotifyAuthenticationSettingChange returns the NotifyAuthenticationSettingChange field if non-nil, zero value otherwise. - -### GetNotifyAuthenticationSettingChangeOk - -`func (o *UpdateOrgSettingsRequest) GetNotifyAuthenticationSettingChangeOk() (*bool, bool)` - -GetNotifyAuthenticationSettingChangeOk returns a tuple with the NotifyAuthenticationSettingChange field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNotifyAuthenticationSettingChange - -`func (o *UpdateOrgSettingsRequest) SetNotifyAuthenticationSettingChange(v bool)` - -SetNotifyAuthenticationSettingChange sets NotifyAuthenticationSettingChange field to given value. - -### HasNotifyAuthenticationSettingChange - -`func (o *UpdateOrgSettingsRequest) HasNotifyAuthenticationSettingChange() bool` - -HasNotifyAuthenticationSettingChange returns a boolean if a field has been set. - -### GetPasswordReplayState - -`func (o *UpdateOrgSettingsRequest) GetPasswordReplayState() string` - -GetPasswordReplayState returns the PasswordReplayState field if non-nil, zero value otherwise. - -### GetPasswordReplayStateOk - -`func (o *UpdateOrgSettingsRequest) GetPasswordReplayStateOk() (*string, bool)` - -GetPasswordReplayStateOk returns a tuple with the PasswordReplayState field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPasswordReplayState - -`func (o *UpdateOrgSettingsRequest) SetPasswordReplayState(v string)` - -SetPasswordReplayState sets PasswordReplayState field to given value. - -### HasPasswordReplayState - -`func (o *UpdateOrgSettingsRequest) HasPasswordReplayState() bool` - -HasPasswordReplayState returns a boolean if a field has been set. - -### GetPreferredIdentityInviteTemplate - -`func (o *UpdateOrgSettingsRequest) GetPreferredIdentityInviteTemplate() string` - -GetPreferredIdentityInviteTemplate returns the PreferredIdentityInviteTemplate field if non-nil, zero value otherwise. - -### GetPreferredIdentityInviteTemplateOk - -`func (o *UpdateOrgSettingsRequest) GetPreferredIdentityInviteTemplateOk() (*string, bool)` - -GetPreferredIdentityInviteTemplateOk returns a tuple with the PreferredIdentityInviteTemplate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPreferredIdentityInviteTemplate - -`func (o *UpdateOrgSettingsRequest) SetPreferredIdentityInviteTemplate(v string)` - -SetPreferredIdentityInviteTemplate sets PreferredIdentityInviteTemplate field to given value. - -### HasPreferredIdentityInviteTemplate - -`func (o *UpdateOrgSettingsRequest) HasPreferredIdentityInviteTemplate() bool` - -HasPreferredIdentityInviteTemplate returns a boolean if a field has been set. - -### GetRedirectPatterns - -`func (o *UpdateOrgSettingsRequest) GetRedirectPatterns() []string` - -GetRedirectPatterns returns the RedirectPatterns field if non-nil, zero value otherwise. - -### GetRedirectPatternsOk - -`func (o *UpdateOrgSettingsRequest) GetRedirectPatternsOk() (*[]string, bool)` - -GetRedirectPatternsOk returns a tuple with the RedirectPatterns field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRedirectPatterns - -`func (o *UpdateOrgSettingsRequest) SetRedirectPatterns(v []string)` - -SetRedirectPatterns sets RedirectPatterns field to given value. - -### HasRedirectPatterns - -`func (o *UpdateOrgSettingsRequest) HasRedirectPatterns() bool` - -HasRedirectPatterns returns a boolean if a field has been set. - -### GetSsoPartnerSource - -`func (o *UpdateOrgSettingsRequest) GetSsoPartnerSource() string` - -GetSsoPartnerSource returns the SsoPartnerSource field if non-nil, zero value otherwise. - -### GetSsoPartnerSourceOk - -`func (o *UpdateOrgSettingsRequest) GetSsoPartnerSourceOk() (*string, bool)` - -GetSsoPartnerSourceOk returns a tuple with the SsoPartnerSource field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSsoPartnerSource - -`func (o *UpdateOrgSettingsRequest) SetSsoPartnerSource(v string)` - -SetSsoPartnerSource sets SsoPartnerSource field to given value. - -### HasSsoPartnerSource - -`func (o *UpdateOrgSettingsRequest) HasSsoPartnerSource() bool` - -HasSsoPartnerSource returns a boolean if a field has been set. - -### GetSystemNotificationEmails - -`func (o *UpdateOrgSettingsRequest) GetSystemNotificationEmails() []string` - -GetSystemNotificationEmails returns the SystemNotificationEmails field if non-nil, zero value otherwise. - -### GetSystemNotificationEmailsOk - -`func (o *UpdateOrgSettingsRequest) GetSystemNotificationEmailsOk() (*[]string, bool)` - -GetSystemNotificationEmailsOk returns a tuple with the SystemNotificationEmails field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSystemNotificationEmails - -`func (o *UpdateOrgSettingsRequest) SetSystemNotificationEmails(v []string)` - -SetSystemNotificationEmails sets SystemNotificationEmails field to given value. - -### HasSystemNotificationEmails - -`func (o *UpdateOrgSettingsRequest) HasSystemNotificationEmails() bool` - -HasSystemNotificationEmails returns a boolean if a field has been set. - -### GetTrackAnalytics - -`func (o *UpdateOrgSettingsRequest) GetTrackAnalytics() bool` - -GetTrackAnalytics returns the TrackAnalytics field if non-nil, zero value otherwise. - -### GetTrackAnalyticsOk - -`func (o *UpdateOrgSettingsRequest) GetTrackAnalyticsOk() (*bool, bool)` - -GetTrackAnalyticsOk returns a tuple with the TrackAnalytics field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTrackAnalytics - -`func (o *UpdateOrgSettingsRequest) SetTrackAnalytics(v bool)` - -SetTrackAnalytics sets TrackAnalytics field to given value. - -### HasTrackAnalytics - -`func (o *UpdateOrgSettingsRequest) HasTrackAnalytics() bool` - -HasTrackAnalytics returns a boolean if a field has been set. - -### GetUsageCertRequired - -`func (o *UpdateOrgSettingsRequest) GetUsageCertRequired() bool` - -GetUsageCertRequired returns the UsageCertRequired field if non-nil, zero value otherwise. - -### GetUsageCertRequiredOk - -`func (o *UpdateOrgSettingsRequest) GetUsageCertRequiredOk() (*bool, bool)` - -GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageCertRequired - -`func (o *UpdateOrgSettingsRequest) SetUsageCertRequired(v bool)` - -SetUsageCertRequired sets UsageCertRequired field to given value. - -### HasUsageCertRequired - -`func (o *UpdateOrgSettingsRequest) HasUsageCertRequired() bool` - -HasUsageCertRequired returns a boolean if a field has been set. - -### GetUsageCertText - -`func (o *UpdateOrgSettingsRequest) GetUsageCertText() string` - -GetUsageCertText returns the UsageCertText field if non-nil, zero value otherwise. - -### GetUsageCertTextOk - -`func (o *UpdateOrgSettingsRequest) GetUsageCertTextOk() (*string, bool)` - -GetUsageCertTextOk returns a tuple with the UsageCertText field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsageCertText - -`func (o *UpdateOrgSettingsRequest) SetUsageCertText(v string)` - -SetUsageCertText sets UsageCertText field to given value. - -### HasUsageCertText - -`func (o *UpdateOrgSettingsRequest) HasUsageCertText() bool` - -HasUsageCertText returns a boolean if a field has been set. - -### GetUsernameEmptyText - -`func (o *UpdateOrgSettingsRequest) GetUsernameEmptyText() string` - -GetUsernameEmptyText returns the UsernameEmptyText field if non-nil, zero value otherwise. - -### GetUsernameEmptyTextOk - -`func (o *UpdateOrgSettingsRequest) GetUsernameEmptyTextOk() (*string, bool)` - -GetUsernameEmptyTextOk returns a tuple with the UsernameEmptyText field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsernameEmptyText - -`func (o *UpdateOrgSettingsRequest) SetUsernameEmptyText(v string)` - -SetUsernameEmptyText sets UsernameEmptyText field to given value. - -### HasUsernameEmptyText - -`func (o *UpdateOrgSettingsRequest) HasUsernameEmptyText() bool` - -HasUsernameEmptyText returns a boolean if a field has been set. - -### GetUsernameLabel - -`func (o *UpdateOrgSettingsRequest) GetUsernameLabel() string` - -GetUsernameLabel returns the UsernameLabel field if non-nil, zero value otherwise. - -### GetUsernameLabelOk - -`func (o *UpdateOrgSettingsRequest) GetUsernameLabelOk() (*string, bool)` - -GetUsernameLabelOk returns a tuple with the UsernameLabel field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsernameLabel - -`func (o *UpdateOrgSettingsRequest) SetUsernameLabel(v string)` - -SetUsernameLabel sets UsernameLabel field to given value. - -### HasUsernameLabel - -`func (o *UpdateOrgSettingsRequest) HasUsernameLabel() bool` - -HasUsernameLabel returns a boolean if a field has been set. - -### GetWhiteList - -`func (o *UpdateOrgSettingsRequest) GetWhiteList() bool` - -GetWhiteList returns the WhiteList field if non-nil, zero value otherwise. - -### GetWhiteListOk - -`func (o *UpdateOrgSettingsRequest) GetWhiteListOk() (*bool, bool)` - -GetWhiteListOk returns a tuple with the WhiteList field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWhiteList - -`func (o *UpdateOrgSettingsRequest) SetWhiteList(v bool)` - -SetWhiteList sets WhiteList field to given value. - -### HasWhiteList - -`func (o *UpdateOrgSettingsRequest) HasWhiteList() bool` - -HasWhiteList returns a boolean if a field has been set. - -### GetApprovalConfig - -`func (o *UpdateOrgSettingsRequest) GetApprovalConfig() GetOrgSettings200ResponseApprovalConfig` - -GetApprovalConfig returns the ApprovalConfig field if non-nil, zero value otherwise. - -### GetApprovalConfigOk - -`func (o *UpdateOrgSettingsRequest) GetApprovalConfigOk() (*GetOrgSettings200ResponseApprovalConfig, bool)` - -GetApprovalConfigOk returns a tuple with the ApprovalConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetApprovalConfig - -`func (o *UpdateOrgSettingsRequest) SetApprovalConfig(v GetOrgSettings200ResponseApprovalConfig)` - -SetApprovalConfig sets ApprovalConfig field to given value. - -### HasApprovalConfig - -`func (o *UpdateOrgSettingsRequest) HasApprovalConfig() bool` - -HasApprovalConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api_v2/git_push.sh b/api_v2/git_push.sh deleted file mode 100644 index 33f67d59b..000000000 --- a/api_v2/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="sailpoint-oss" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="golang-sdk/v2" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/api_v2/model_bulk_delete_work_groups_200_response.go b/api_v2/model_bulk_delete_work_groups_200_response.go deleted file mode 100644 index 901904ae0..000000000 --- a/api_v2/model_bulk_delete_work_groups_200_response.go +++ /dev/null @@ -1,225 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the BulkDeleteWorkGroups200Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BulkDeleteWorkGroups200Response{} - -// BulkDeleteWorkGroups200Response struct for BulkDeleteWorkGroups200Response -type BulkDeleteWorkGroups200Response struct { - Deleted []string `json:"deleted,omitempty"` - InUse []string `json:"inUse,omitempty"` - NotFound []string `json:"notFound,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _BulkDeleteWorkGroups200Response BulkDeleteWorkGroups200Response - -// NewBulkDeleteWorkGroups200Response instantiates a new BulkDeleteWorkGroups200Response object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBulkDeleteWorkGroups200Response() *BulkDeleteWorkGroups200Response { - this := BulkDeleteWorkGroups200Response{} - return &this -} - -// NewBulkDeleteWorkGroups200ResponseWithDefaults instantiates a new BulkDeleteWorkGroups200Response object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBulkDeleteWorkGroups200ResponseWithDefaults() *BulkDeleteWorkGroups200Response { - this := BulkDeleteWorkGroups200Response{} - return &this -} - -// GetDeleted returns the Deleted field value if set, zero value otherwise. -func (o *BulkDeleteWorkGroups200Response) GetDeleted() []string { - if o == nil || isNil(o.Deleted) { - var ret []string - return ret - } - return o.Deleted -} - -// GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BulkDeleteWorkGroups200Response) GetDeletedOk() ([]string, bool) { - if o == nil || isNil(o.Deleted) { - return nil, false - } - return o.Deleted, true -} - -// HasDeleted returns a boolean if a field has been set. -func (o *BulkDeleteWorkGroups200Response) HasDeleted() bool { - if o != nil && !isNil(o.Deleted) { - return true - } - - return false -} - -// SetDeleted gets a reference to the given []string and assigns it to the Deleted field. -func (o *BulkDeleteWorkGroups200Response) SetDeleted(v []string) { - o.Deleted = v -} - -// GetInUse returns the InUse field value if set, zero value otherwise. -func (o *BulkDeleteWorkGroups200Response) GetInUse() []string { - if o == nil || isNil(o.InUse) { - var ret []string - return ret - } - return o.InUse -} - -// GetInUseOk returns a tuple with the InUse field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BulkDeleteWorkGroups200Response) GetInUseOk() ([]string, bool) { - if o == nil || isNil(o.InUse) { - return nil, false - } - return o.InUse, true -} - -// HasInUse returns a boolean if a field has been set. -func (o *BulkDeleteWorkGroups200Response) HasInUse() bool { - if o != nil && !isNil(o.InUse) { - return true - } - - return false -} - -// SetInUse gets a reference to the given []string and assigns it to the InUse field. -func (o *BulkDeleteWorkGroups200Response) SetInUse(v []string) { - o.InUse = v -} - -// GetNotFound returns the NotFound field value if set, zero value otherwise. -func (o *BulkDeleteWorkGroups200Response) GetNotFound() []string { - if o == nil || isNil(o.NotFound) { - var ret []string - return ret - } - return o.NotFound -} - -// GetNotFoundOk returns a tuple with the NotFound field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BulkDeleteWorkGroups200Response) GetNotFoundOk() ([]string, bool) { - if o == nil || isNil(o.NotFound) { - return nil, false - } - return o.NotFound, true -} - -// HasNotFound returns a boolean if a field has been set. -func (o *BulkDeleteWorkGroups200Response) HasNotFound() bool { - if o != nil && !isNil(o.NotFound) { - return true - } - - return false -} - -// SetNotFound gets a reference to the given []string and assigns it to the NotFound field. -func (o *BulkDeleteWorkGroups200Response) SetNotFound(v []string) { - o.NotFound = v -} - -func (o BulkDeleteWorkGroups200Response) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BulkDeleteWorkGroups200Response) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Deleted) { - toSerialize["deleted"] = o.Deleted - } - if !isNil(o.InUse) { - toSerialize["inUse"] = o.InUse - } - if !isNil(o.NotFound) { - toSerialize["notFound"] = o.NotFound - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *BulkDeleteWorkGroups200Response) UnmarshalJSON(bytes []byte) (err error) { - varBulkDeleteWorkGroups200Response := _BulkDeleteWorkGroups200Response{} - - if err = json.Unmarshal(bytes, &varBulkDeleteWorkGroups200Response); err == nil { - *o = BulkDeleteWorkGroups200Response(varBulkDeleteWorkGroups200Response) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "deleted") - delete(additionalProperties, "inUse") - delete(additionalProperties, "notFound") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableBulkDeleteWorkGroups200Response struct { - value *BulkDeleteWorkGroups200Response - isSet bool -} - -func (v NullableBulkDeleteWorkGroups200Response) Get() *BulkDeleteWorkGroups200Response { - return v.value -} - -func (v *NullableBulkDeleteWorkGroups200Response) Set(val *BulkDeleteWorkGroups200Response) { - v.value = val - v.isSet = true -} - -func (v NullableBulkDeleteWorkGroups200Response) IsSet() bool { - return v.isSet -} - -func (v *NullableBulkDeleteWorkGroups200Response) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBulkDeleteWorkGroups200Response(val *BulkDeleteWorkGroups200Response) *NullableBulkDeleteWorkGroups200Response { - return &NullableBulkDeleteWorkGroups200Response{value: val, isSet: true} -} - -func (v NullableBulkDeleteWorkGroups200Response) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBulkDeleteWorkGroups200Response) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_bulk_delete_work_groups_request.go b/api_v2/model_bulk_delete_work_groups_request.go deleted file mode 100644 index f3a7513b9..000000000 --- a/api_v2/model_bulk_delete_work_groups_request.go +++ /dev/null @@ -1,151 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the BulkDeleteWorkGroupsRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BulkDeleteWorkGroupsRequest{} - -// BulkDeleteWorkGroupsRequest struct for BulkDeleteWorkGroupsRequest -type BulkDeleteWorkGroupsRequest struct { - Ids []string `json:"ids,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _BulkDeleteWorkGroupsRequest BulkDeleteWorkGroupsRequest - -// NewBulkDeleteWorkGroupsRequest instantiates a new BulkDeleteWorkGroupsRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBulkDeleteWorkGroupsRequest() *BulkDeleteWorkGroupsRequest { - this := BulkDeleteWorkGroupsRequest{} - return &this -} - -// NewBulkDeleteWorkGroupsRequestWithDefaults instantiates a new BulkDeleteWorkGroupsRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBulkDeleteWorkGroupsRequestWithDefaults() *BulkDeleteWorkGroupsRequest { - this := BulkDeleteWorkGroupsRequest{} - return &this -} - -// GetIds returns the Ids field value if set, zero value otherwise. -func (o *BulkDeleteWorkGroupsRequest) GetIds() []string { - if o == nil || isNil(o.Ids) { - var ret []string - return ret - } - return o.Ids -} - -// GetIdsOk returns a tuple with the Ids field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BulkDeleteWorkGroupsRequest) GetIdsOk() ([]string, bool) { - if o == nil || isNil(o.Ids) { - return nil, false - } - return o.Ids, true -} - -// HasIds returns a boolean if a field has been set. -func (o *BulkDeleteWorkGroupsRequest) HasIds() bool { - if o != nil && !isNil(o.Ids) { - return true - } - - return false -} - -// SetIds gets a reference to the given []string and assigns it to the Ids field. -func (o *BulkDeleteWorkGroupsRequest) SetIds(v []string) { - o.Ids = v -} - -func (o BulkDeleteWorkGroupsRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BulkDeleteWorkGroupsRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Ids) { - toSerialize["ids"] = o.Ids - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *BulkDeleteWorkGroupsRequest) UnmarshalJSON(bytes []byte) (err error) { - varBulkDeleteWorkGroupsRequest := _BulkDeleteWorkGroupsRequest{} - - if err = json.Unmarshal(bytes, &varBulkDeleteWorkGroupsRequest); err == nil { - *o = BulkDeleteWorkGroupsRequest(varBulkDeleteWorkGroupsRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "ids") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableBulkDeleteWorkGroupsRequest struct { - value *BulkDeleteWorkGroupsRequest - isSet bool -} - -func (v NullableBulkDeleteWorkGroupsRequest) Get() *BulkDeleteWorkGroupsRequest { - return v.value -} - -func (v *NullableBulkDeleteWorkGroupsRequest) Set(val *BulkDeleteWorkGroupsRequest) { - v.value = val - v.isSet = true -} - -func (v NullableBulkDeleteWorkGroupsRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableBulkDeleteWorkGroupsRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBulkDeleteWorkGroupsRequest(val *BulkDeleteWorkGroupsRequest) *NullableBulkDeleteWorkGroupsRequest { - return &NullableBulkDeleteWorkGroupsRequest{value: val, isSet: true} -} - -func (v NullableBulkDeleteWorkGroupsRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBulkDeleteWorkGroupsRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_create_workgroup_request.go b/api_v2/model_create_workgroup_request.go deleted file mode 100644 index 5bcfa5f76..000000000 --- a/api_v2/model_create_workgroup_request.go +++ /dev/null @@ -1,225 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the CreateWorkgroupRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &CreateWorkgroupRequest{} - -// CreateWorkgroupRequest struct for CreateWorkgroupRequest -type CreateWorkgroupRequest struct { - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Owner *CreateWorkgroupRequestOwner `json:"owner,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _CreateWorkgroupRequest CreateWorkgroupRequest - -// NewCreateWorkgroupRequest instantiates a new CreateWorkgroupRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewCreateWorkgroupRequest() *CreateWorkgroupRequest { - this := CreateWorkgroupRequest{} - return &this -} - -// NewCreateWorkgroupRequestWithDefaults instantiates a new CreateWorkgroupRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCreateWorkgroupRequestWithDefaults() *CreateWorkgroupRequest { - this := CreateWorkgroupRequest{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *CreateWorkgroupRequest) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateWorkgroupRequest) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *CreateWorkgroupRequest) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *CreateWorkgroupRequest) SetName(v string) { - o.Name = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *CreateWorkgroupRequest) GetDescription() string { - if o == nil || isNil(o.Description) { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateWorkgroupRequest) GetDescriptionOk() (*string, bool) { - if o == nil || isNil(o.Description) { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *CreateWorkgroupRequest) HasDescription() bool { - if o != nil && !isNil(o.Description) { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *CreateWorkgroupRequest) SetDescription(v string) { - o.Description = &v -} - -// GetOwner returns the Owner field value if set, zero value otherwise. -func (o *CreateWorkgroupRequest) GetOwner() CreateWorkgroupRequestOwner { - if o == nil || isNil(o.Owner) { - var ret CreateWorkgroupRequestOwner - return ret - } - return *o.Owner -} - -// GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateWorkgroupRequest) GetOwnerOk() (*CreateWorkgroupRequestOwner, bool) { - if o == nil || isNil(o.Owner) { - return nil, false - } - return o.Owner, true -} - -// HasOwner returns a boolean if a field has been set. -func (o *CreateWorkgroupRequest) HasOwner() bool { - if o != nil && !isNil(o.Owner) { - return true - } - - return false -} - -// SetOwner gets a reference to the given CreateWorkgroupRequestOwner and assigns it to the Owner field. -func (o *CreateWorkgroupRequest) SetOwner(v CreateWorkgroupRequestOwner) { - o.Owner = &v -} - -func (o CreateWorkgroupRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o CreateWorkgroupRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.Description) { - toSerialize["description"] = o.Description - } - if !isNil(o.Owner) { - toSerialize["owner"] = o.Owner - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *CreateWorkgroupRequest) UnmarshalJSON(bytes []byte) (err error) { - varCreateWorkgroupRequest := _CreateWorkgroupRequest{} - - if err = json.Unmarshal(bytes, &varCreateWorkgroupRequest); err == nil { - *o = CreateWorkgroupRequest(varCreateWorkgroupRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "name") - delete(additionalProperties, "description") - delete(additionalProperties, "owner") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableCreateWorkgroupRequest struct { - value *CreateWorkgroupRequest - isSet bool -} - -func (v NullableCreateWorkgroupRequest) Get() *CreateWorkgroupRequest { - return v.value -} - -func (v *NullableCreateWorkgroupRequest) Set(val *CreateWorkgroupRequest) { - v.value = val - v.isSet = true -} - -func (v NullableCreateWorkgroupRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateWorkgroupRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateWorkgroupRequest(val *CreateWorkgroupRequest) *NullableCreateWorkgroupRequest { - return &NullableCreateWorkgroupRequest{value: val, isSet: true} -} - -func (v NullableCreateWorkgroupRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateWorkgroupRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_create_workgroup_request_owner.go b/api_v2/model_create_workgroup_request_owner.go deleted file mode 100644 index 2a4fcc8c5..000000000 --- a/api_v2/model_create_workgroup_request_owner.go +++ /dev/null @@ -1,151 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the CreateWorkgroupRequestOwner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &CreateWorkgroupRequestOwner{} - -// CreateWorkgroupRequestOwner struct for CreateWorkgroupRequestOwner -type CreateWorkgroupRequestOwner struct { - Id *string `json:"id,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _CreateWorkgroupRequestOwner CreateWorkgroupRequestOwner - -// NewCreateWorkgroupRequestOwner instantiates a new CreateWorkgroupRequestOwner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewCreateWorkgroupRequestOwner() *CreateWorkgroupRequestOwner { - this := CreateWorkgroupRequestOwner{} - return &this -} - -// NewCreateWorkgroupRequestOwnerWithDefaults instantiates a new CreateWorkgroupRequestOwner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCreateWorkgroupRequestOwnerWithDefaults() *CreateWorkgroupRequestOwner { - this := CreateWorkgroupRequestOwner{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *CreateWorkgroupRequestOwner) GetId() string { - if o == nil || isNil(o.Id) { - var ret string - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CreateWorkgroupRequestOwner) GetIdOk() (*string, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *CreateWorkgroupRequestOwner) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given string and assigns it to the Id field. -func (o *CreateWorkgroupRequestOwner) SetId(v string) { - o.Id = &v -} - -func (o CreateWorkgroupRequestOwner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o CreateWorkgroupRequestOwner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *CreateWorkgroupRequestOwner) UnmarshalJSON(bytes []byte) (err error) { - varCreateWorkgroupRequestOwner := _CreateWorkgroupRequestOwner{} - - if err = json.Unmarshal(bytes, &varCreateWorkgroupRequestOwner); err == nil { - *o = CreateWorkgroupRequestOwner(varCreateWorkgroupRequestOwner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "id") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableCreateWorkgroupRequestOwner struct { - value *CreateWorkgroupRequestOwner - isSet bool -} - -func (v NullableCreateWorkgroupRequestOwner) Get() *CreateWorkgroupRequestOwner { - return v.value -} - -func (v *NullableCreateWorkgroupRequestOwner) Set(val *CreateWorkgroupRequestOwner) { - v.value = val - v.isSet = true -} - -func (v NullableCreateWorkgroupRequestOwner) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateWorkgroupRequestOwner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateWorkgroupRequestOwner(val *CreateWorkgroupRequestOwner) *NullableCreateWorkgroupRequestOwner { - return &NullableCreateWorkgroupRequestOwner{value: val, isSet: true} -} - -func (v NullableCreateWorkgroupRequestOwner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateWorkgroupRequestOwner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_get_org_settings_200_response.go b/api_v2/model_get_org_settings_200_response.go deleted file mode 100644 index 98aa60301..000000000 --- a/api_v2/model_get_org_settings_200_response.go +++ /dev/null @@ -1,1410 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" - "time" -) - -// checks if the GetOrgSettings200Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GetOrgSettings200Response{} - -// GetOrgSettings200Response struct for GetOrgSettings200Response -type GetOrgSettings200Response struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - DateCreated *time.Time `json:"dateCreated,omitempty"` - LastUpdated *time.Time `json:"lastUpdated,omitempty"` - ScriptName *string `json:"scriptName,omitempty"` - SsoDomain *string `json:"ssoDomain,omitempty"` - Status *string `json:"status,omitempty"` - MaxRegisteredIdentities *int32 `json:"maxRegisteredIdentities,omitempty"` - IdentityCount *int32 `json:"identityCount,omitempty"` - KbaReqForAuthn *int32 `json:"kbaReqForAuthn,omitempty"` - KbaReqAnswers *int32 `json:"kbaReqAnswers,omitempty"` - LockoutAttemptThreshold *int32 `json:"lockoutAttemptThreshold,omitempty"` - LockoutTimeMinutes *int32 `json:"lockoutTimeMinutes,omitempty"` - UsageCertRequired *bool `json:"usageCertRequired,omitempty"` - AdminStrongAuthRequired *bool `json:"adminStrongAuthRequired,omitempty"` - EnableExternalPasswordChange *bool `json:"enableExternalPasswordChange,omitempty"` - EnablePasswordReplay *bool `json:"enablePasswordReplay,omitempty"` - EnableAutomaticPasswordReplay *bool `json:"enableAutomaticPasswordReplay,omitempty"` - Netmasks []string `json:"netmasks,omitempty"` - CountryCodes []string `json:"countryCodes,omitempty"` - WhiteList *bool `json:"whiteList,omitempty"` - EmailTestMode *bool `json:"emailTestMode,omitempty"` - EmailTestAddress *string `json:"emailTestAddress,omitempty"` - UsernameEmptyText *string `json:"usernameEmptyText,omitempty"` - UsernameLabel *string `json:"usernameLabel,omitempty"` - EnableAutomationGeneration *bool `json:"enableAutomationGeneration,omitempty"` - PasswordReplayState *string `json:"passwordReplayState,omitempty"` - SystemNotificationConfig *GetOrgSettings200ResponseSystemNotificationConfig `json:"systemNotificationConfig,omitempty"` - SystemNotificationEmails []string `json:"systemNotificationEmails,omitempty"` - LoginUrl *string `json:"loginUrl,omitempty"` - RedirectPatterns []string `json:"redirectPatterns,omitempty"` - StyleHash *string `json:"styleHash,omitempty"` - ApprovalConfig *GetOrgSettings200ResponseApprovalConfig `json:"approvalConfig,omitempty"` - SsoPartnerSource *string `json:"ssoPartnerSource,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _GetOrgSettings200Response GetOrgSettings200Response - -// NewGetOrgSettings200Response instantiates a new GetOrgSettings200Response object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGetOrgSettings200Response() *GetOrgSettings200Response { - this := GetOrgSettings200Response{} - return &this -} - -// NewGetOrgSettings200ResponseWithDefaults instantiates a new GetOrgSettings200Response object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGetOrgSettings200ResponseWithDefaults() *GetOrgSettings200Response { - this := GetOrgSettings200Response{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetId() string { - if o == nil || isNil(o.Id) { - var ret string - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetIdOk() (*string, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given string and assigns it to the Id field. -func (o *GetOrgSettings200Response) SetId(v string) { - o.Id = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *GetOrgSettings200Response) SetName(v string) { - o.Name = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetDescription() string { - if o == nil || isNil(o.Description) { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetDescriptionOk() (*string, bool) { - if o == nil || isNil(o.Description) { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasDescription() bool { - if o != nil && !isNil(o.Description) { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *GetOrgSettings200Response) SetDescription(v string) { - o.Description = &v -} - -// GetDateCreated returns the DateCreated field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetDateCreated() time.Time { - if o == nil || isNil(o.DateCreated) { - var ret time.Time - return ret - } - return *o.DateCreated -} - -// GetDateCreatedOk returns a tuple with the DateCreated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetDateCreatedOk() (*time.Time, bool) { - if o == nil || isNil(o.DateCreated) { - return nil, false - } - return o.DateCreated, true -} - -// HasDateCreated returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasDateCreated() bool { - if o != nil && !isNil(o.DateCreated) { - return true - } - - return false -} - -// SetDateCreated gets a reference to the given time.Time and assigns it to the DateCreated field. -func (o *GetOrgSettings200Response) SetDateCreated(v time.Time) { - o.DateCreated = &v -} - -// GetLastUpdated returns the LastUpdated field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetLastUpdated() time.Time { - if o == nil || isNil(o.LastUpdated) { - var ret time.Time - return ret - } - return *o.LastUpdated -} - -// GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetLastUpdatedOk() (*time.Time, bool) { - if o == nil || isNil(o.LastUpdated) { - return nil, false - } - return o.LastUpdated, true -} - -// HasLastUpdated returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasLastUpdated() bool { - if o != nil && !isNil(o.LastUpdated) { - return true - } - - return false -} - -// SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field. -func (o *GetOrgSettings200Response) SetLastUpdated(v time.Time) { - o.LastUpdated = &v -} - -// GetScriptName returns the ScriptName field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetScriptName() string { - if o == nil || isNil(o.ScriptName) { - var ret string - return ret - } - return *o.ScriptName -} - -// GetScriptNameOk returns a tuple with the ScriptName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetScriptNameOk() (*string, bool) { - if o == nil || isNil(o.ScriptName) { - return nil, false - } - return o.ScriptName, true -} - -// HasScriptName returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasScriptName() bool { - if o != nil && !isNil(o.ScriptName) { - return true - } - - return false -} - -// SetScriptName gets a reference to the given string and assigns it to the ScriptName field. -func (o *GetOrgSettings200Response) SetScriptName(v string) { - o.ScriptName = &v -} - -// GetSsoDomain returns the SsoDomain field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetSsoDomain() string { - if o == nil || isNil(o.SsoDomain) { - var ret string - return ret - } - return *o.SsoDomain -} - -// GetSsoDomainOk returns a tuple with the SsoDomain field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetSsoDomainOk() (*string, bool) { - if o == nil || isNil(o.SsoDomain) { - return nil, false - } - return o.SsoDomain, true -} - -// HasSsoDomain returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasSsoDomain() bool { - if o != nil && !isNil(o.SsoDomain) { - return true - } - - return false -} - -// SetSsoDomain gets a reference to the given string and assigns it to the SsoDomain field. -func (o *GetOrgSettings200Response) SetSsoDomain(v string) { - o.SsoDomain = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetStatus() string { - if o == nil || isNil(o.Status) { - var ret string - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetStatusOk() (*string, bool) { - if o == nil || isNil(o.Status) { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasStatus() bool { - if o != nil && !isNil(o.Status) { - return true - } - - return false -} - -// SetStatus gets a reference to the given string and assigns it to the Status field. -func (o *GetOrgSettings200Response) SetStatus(v string) { - o.Status = &v -} - -// GetMaxRegisteredIdentities returns the MaxRegisteredIdentities field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetMaxRegisteredIdentities() int32 { - if o == nil || isNil(o.MaxRegisteredIdentities) { - var ret int32 - return ret - } - return *o.MaxRegisteredIdentities -} - -// GetMaxRegisteredIdentitiesOk returns a tuple with the MaxRegisteredIdentities field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetMaxRegisteredIdentitiesOk() (*int32, bool) { - if o == nil || isNil(o.MaxRegisteredIdentities) { - return nil, false - } - return o.MaxRegisteredIdentities, true -} - -// HasMaxRegisteredIdentities returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasMaxRegisteredIdentities() bool { - if o != nil && !isNil(o.MaxRegisteredIdentities) { - return true - } - - return false -} - -// SetMaxRegisteredIdentities gets a reference to the given int32 and assigns it to the MaxRegisteredIdentities field. -func (o *GetOrgSettings200Response) SetMaxRegisteredIdentities(v int32) { - o.MaxRegisteredIdentities = &v -} - -// GetIdentityCount returns the IdentityCount field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetIdentityCount() int32 { - if o == nil || isNil(o.IdentityCount) { - var ret int32 - return ret - } - return *o.IdentityCount -} - -// GetIdentityCountOk returns a tuple with the IdentityCount field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetIdentityCountOk() (*int32, bool) { - if o == nil || isNil(o.IdentityCount) { - return nil, false - } - return o.IdentityCount, true -} - -// HasIdentityCount returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasIdentityCount() bool { - if o != nil && !isNil(o.IdentityCount) { - return true - } - - return false -} - -// SetIdentityCount gets a reference to the given int32 and assigns it to the IdentityCount field. -func (o *GetOrgSettings200Response) SetIdentityCount(v int32) { - o.IdentityCount = &v -} - -// GetKbaReqForAuthn returns the KbaReqForAuthn field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetKbaReqForAuthn() int32 { - if o == nil || isNil(o.KbaReqForAuthn) { - var ret int32 - return ret - } - return *o.KbaReqForAuthn -} - -// GetKbaReqForAuthnOk returns a tuple with the KbaReqForAuthn field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetKbaReqForAuthnOk() (*int32, bool) { - if o == nil || isNil(o.KbaReqForAuthn) { - return nil, false - } - return o.KbaReqForAuthn, true -} - -// HasKbaReqForAuthn returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasKbaReqForAuthn() bool { - if o != nil && !isNil(o.KbaReqForAuthn) { - return true - } - - return false -} - -// SetKbaReqForAuthn gets a reference to the given int32 and assigns it to the KbaReqForAuthn field. -func (o *GetOrgSettings200Response) SetKbaReqForAuthn(v int32) { - o.KbaReqForAuthn = &v -} - -// GetKbaReqAnswers returns the KbaReqAnswers field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetKbaReqAnswers() int32 { - if o == nil || isNil(o.KbaReqAnswers) { - var ret int32 - return ret - } - return *o.KbaReqAnswers -} - -// GetKbaReqAnswersOk returns a tuple with the KbaReqAnswers field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetKbaReqAnswersOk() (*int32, bool) { - if o == nil || isNil(o.KbaReqAnswers) { - return nil, false - } - return o.KbaReqAnswers, true -} - -// HasKbaReqAnswers returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasKbaReqAnswers() bool { - if o != nil && !isNil(o.KbaReqAnswers) { - return true - } - - return false -} - -// SetKbaReqAnswers gets a reference to the given int32 and assigns it to the KbaReqAnswers field. -func (o *GetOrgSettings200Response) SetKbaReqAnswers(v int32) { - o.KbaReqAnswers = &v -} - -// GetLockoutAttemptThreshold returns the LockoutAttemptThreshold field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetLockoutAttemptThreshold() int32 { - if o == nil || isNil(o.LockoutAttemptThreshold) { - var ret int32 - return ret - } - return *o.LockoutAttemptThreshold -} - -// GetLockoutAttemptThresholdOk returns a tuple with the LockoutAttemptThreshold field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetLockoutAttemptThresholdOk() (*int32, bool) { - if o == nil || isNil(o.LockoutAttemptThreshold) { - return nil, false - } - return o.LockoutAttemptThreshold, true -} - -// HasLockoutAttemptThreshold returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasLockoutAttemptThreshold() bool { - if o != nil && !isNil(o.LockoutAttemptThreshold) { - return true - } - - return false -} - -// SetLockoutAttemptThreshold gets a reference to the given int32 and assigns it to the LockoutAttemptThreshold field. -func (o *GetOrgSettings200Response) SetLockoutAttemptThreshold(v int32) { - o.LockoutAttemptThreshold = &v -} - -// GetLockoutTimeMinutes returns the LockoutTimeMinutes field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetLockoutTimeMinutes() int32 { - if o == nil || isNil(o.LockoutTimeMinutes) { - var ret int32 - return ret - } - return *o.LockoutTimeMinutes -} - -// GetLockoutTimeMinutesOk returns a tuple with the LockoutTimeMinutes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetLockoutTimeMinutesOk() (*int32, bool) { - if o == nil || isNil(o.LockoutTimeMinutes) { - return nil, false - } - return o.LockoutTimeMinutes, true -} - -// HasLockoutTimeMinutes returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasLockoutTimeMinutes() bool { - if o != nil && !isNil(o.LockoutTimeMinutes) { - return true - } - - return false -} - -// SetLockoutTimeMinutes gets a reference to the given int32 and assigns it to the LockoutTimeMinutes field. -func (o *GetOrgSettings200Response) SetLockoutTimeMinutes(v int32) { - o.LockoutTimeMinutes = &v -} - -// GetUsageCertRequired returns the UsageCertRequired field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetUsageCertRequired() bool { - if o == nil || isNil(o.UsageCertRequired) { - var ret bool - return ret - } - return *o.UsageCertRequired -} - -// GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetUsageCertRequiredOk() (*bool, bool) { - if o == nil || isNil(o.UsageCertRequired) { - return nil, false - } - return o.UsageCertRequired, true -} - -// HasUsageCertRequired returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasUsageCertRequired() bool { - if o != nil && !isNil(o.UsageCertRequired) { - return true - } - - return false -} - -// SetUsageCertRequired gets a reference to the given bool and assigns it to the UsageCertRequired field. -func (o *GetOrgSettings200Response) SetUsageCertRequired(v bool) { - o.UsageCertRequired = &v -} - -// GetAdminStrongAuthRequired returns the AdminStrongAuthRequired field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetAdminStrongAuthRequired() bool { - if o == nil || isNil(o.AdminStrongAuthRequired) { - var ret bool - return ret - } - return *o.AdminStrongAuthRequired -} - -// GetAdminStrongAuthRequiredOk returns a tuple with the AdminStrongAuthRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetAdminStrongAuthRequiredOk() (*bool, bool) { - if o == nil || isNil(o.AdminStrongAuthRequired) { - return nil, false - } - return o.AdminStrongAuthRequired, true -} - -// HasAdminStrongAuthRequired returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasAdminStrongAuthRequired() bool { - if o != nil && !isNil(o.AdminStrongAuthRequired) { - return true - } - - return false -} - -// SetAdminStrongAuthRequired gets a reference to the given bool and assigns it to the AdminStrongAuthRequired field. -func (o *GetOrgSettings200Response) SetAdminStrongAuthRequired(v bool) { - o.AdminStrongAuthRequired = &v -} - -// GetEnableExternalPasswordChange returns the EnableExternalPasswordChange field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetEnableExternalPasswordChange() bool { - if o == nil || isNil(o.EnableExternalPasswordChange) { - var ret bool - return ret - } - return *o.EnableExternalPasswordChange -} - -// GetEnableExternalPasswordChangeOk returns a tuple with the EnableExternalPasswordChange field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetEnableExternalPasswordChangeOk() (*bool, bool) { - if o == nil || isNil(o.EnableExternalPasswordChange) { - return nil, false - } - return o.EnableExternalPasswordChange, true -} - -// HasEnableExternalPasswordChange returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasEnableExternalPasswordChange() bool { - if o != nil && !isNil(o.EnableExternalPasswordChange) { - return true - } - - return false -} - -// SetEnableExternalPasswordChange gets a reference to the given bool and assigns it to the EnableExternalPasswordChange field. -func (o *GetOrgSettings200Response) SetEnableExternalPasswordChange(v bool) { - o.EnableExternalPasswordChange = &v -} - -// GetEnablePasswordReplay returns the EnablePasswordReplay field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetEnablePasswordReplay() bool { - if o == nil || isNil(o.EnablePasswordReplay) { - var ret bool - return ret - } - return *o.EnablePasswordReplay -} - -// GetEnablePasswordReplayOk returns a tuple with the EnablePasswordReplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetEnablePasswordReplayOk() (*bool, bool) { - if o == nil || isNil(o.EnablePasswordReplay) { - return nil, false - } - return o.EnablePasswordReplay, true -} - -// HasEnablePasswordReplay returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasEnablePasswordReplay() bool { - if o != nil && !isNil(o.EnablePasswordReplay) { - return true - } - - return false -} - -// SetEnablePasswordReplay gets a reference to the given bool and assigns it to the EnablePasswordReplay field. -func (o *GetOrgSettings200Response) SetEnablePasswordReplay(v bool) { - o.EnablePasswordReplay = &v -} - -// GetEnableAutomaticPasswordReplay returns the EnableAutomaticPasswordReplay field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetEnableAutomaticPasswordReplay() bool { - if o == nil || isNil(o.EnableAutomaticPasswordReplay) { - var ret bool - return ret - } - return *o.EnableAutomaticPasswordReplay -} - -// GetEnableAutomaticPasswordReplayOk returns a tuple with the EnableAutomaticPasswordReplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetEnableAutomaticPasswordReplayOk() (*bool, bool) { - if o == nil || isNil(o.EnableAutomaticPasswordReplay) { - return nil, false - } - return o.EnableAutomaticPasswordReplay, true -} - -// HasEnableAutomaticPasswordReplay returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasEnableAutomaticPasswordReplay() bool { - if o != nil && !isNil(o.EnableAutomaticPasswordReplay) { - return true - } - - return false -} - -// SetEnableAutomaticPasswordReplay gets a reference to the given bool and assigns it to the EnableAutomaticPasswordReplay field. -func (o *GetOrgSettings200Response) SetEnableAutomaticPasswordReplay(v bool) { - o.EnableAutomaticPasswordReplay = &v -} - -// GetNetmasks returns the Netmasks field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetNetmasks() []string { - if o == nil || isNil(o.Netmasks) { - var ret []string - return ret - } - return o.Netmasks -} - -// GetNetmasksOk returns a tuple with the Netmasks field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetNetmasksOk() ([]string, bool) { - if o == nil || isNil(o.Netmasks) { - return nil, false - } - return o.Netmasks, true -} - -// HasNetmasks returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasNetmasks() bool { - if o != nil && !isNil(o.Netmasks) { - return true - } - - return false -} - -// SetNetmasks gets a reference to the given []string and assigns it to the Netmasks field. -func (o *GetOrgSettings200Response) SetNetmasks(v []string) { - o.Netmasks = v -} - -// GetCountryCodes returns the CountryCodes field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetCountryCodes() []string { - if o == nil || isNil(o.CountryCodes) { - var ret []string - return ret - } - return o.CountryCodes -} - -// GetCountryCodesOk returns a tuple with the CountryCodes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetCountryCodesOk() ([]string, bool) { - if o == nil || isNil(o.CountryCodes) { - return nil, false - } - return o.CountryCodes, true -} - -// HasCountryCodes returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasCountryCodes() bool { - if o != nil && !isNil(o.CountryCodes) { - return true - } - - return false -} - -// SetCountryCodes gets a reference to the given []string and assigns it to the CountryCodes field. -func (o *GetOrgSettings200Response) SetCountryCodes(v []string) { - o.CountryCodes = v -} - -// GetWhiteList returns the WhiteList field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetWhiteList() bool { - if o == nil || isNil(o.WhiteList) { - var ret bool - return ret - } - return *o.WhiteList -} - -// GetWhiteListOk returns a tuple with the WhiteList field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetWhiteListOk() (*bool, bool) { - if o == nil || isNil(o.WhiteList) { - return nil, false - } - return o.WhiteList, true -} - -// HasWhiteList returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasWhiteList() bool { - if o != nil && !isNil(o.WhiteList) { - return true - } - - return false -} - -// SetWhiteList gets a reference to the given bool and assigns it to the WhiteList field. -func (o *GetOrgSettings200Response) SetWhiteList(v bool) { - o.WhiteList = &v -} - -// GetEmailTestMode returns the EmailTestMode field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetEmailTestMode() bool { - if o == nil || isNil(o.EmailTestMode) { - var ret bool - return ret - } - return *o.EmailTestMode -} - -// GetEmailTestModeOk returns a tuple with the EmailTestMode field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetEmailTestModeOk() (*bool, bool) { - if o == nil || isNil(o.EmailTestMode) { - return nil, false - } - return o.EmailTestMode, true -} - -// HasEmailTestMode returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasEmailTestMode() bool { - if o != nil && !isNil(o.EmailTestMode) { - return true - } - - return false -} - -// SetEmailTestMode gets a reference to the given bool and assigns it to the EmailTestMode field. -func (o *GetOrgSettings200Response) SetEmailTestMode(v bool) { - o.EmailTestMode = &v -} - -// GetEmailTestAddress returns the EmailTestAddress field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetEmailTestAddress() string { - if o == nil || isNil(o.EmailTestAddress) { - var ret string - return ret - } - return *o.EmailTestAddress -} - -// GetEmailTestAddressOk returns a tuple with the EmailTestAddress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetEmailTestAddressOk() (*string, bool) { - if o == nil || isNil(o.EmailTestAddress) { - return nil, false - } - return o.EmailTestAddress, true -} - -// HasEmailTestAddress returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasEmailTestAddress() bool { - if o != nil && !isNil(o.EmailTestAddress) { - return true - } - - return false -} - -// SetEmailTestAddress gets a reference to the given string and assigns it to the EmailTestAddress field. -func (o *GetOrgSettings200Response) SetEmailTestAddress(v string) { - o.EmailTestAddress = &v -} - -// GetUsernameEmptyText returns the UsernameEmptyText field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetUsernameEmptyText() string { - if o == nil || isNil(o.UsernameEmptyText) { - var ret string - return ret - } - return *o.UsernameEmptyText -} - -// GetUsernameEmptyTextOk returns a tuple with the UsernameEmptyText field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetUsernameEmptyTextOk() (*string, bool) { - if o == nil || isNil(o.UsernameEmptyText) { - return nil, false - } - return o.UsernameEmptyText, true -} - -// HasUsernameEmptyText returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasUsernameEmptyText() bool { - if o != nil && !isNil(o.UsernameEmptyText) { - return true - } - - return false -} - -// SetUsernameEmptyText gets a reference to the given string and assigns it to the UsernameEmptyText field. -func (o *GetOrgSettings200Response) SetUsernameEmptyText(v string) { - o.UsernameEmptyText = &v -} - -// GetUsernameLabel returns the UsernameLabel field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetUsernameLabel() string { - if o == nil || isNil(o.UsernameLabel) { - var ret string - return ret - } - return *o.UsernameLabel -} - -// GetUsernameLabelOk returns a tuple with the UsernameLabel field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetUsernameLabelOk() (*string, bool) { - if o == nil || isNil(o.UsernameLabel) { - return nil, false - } - return o.UsernameLabel, true -} - -// HasUsernameLabel returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasUsernameLabel() bool { - if o != nil && !isNil(o.UsernameLabel) { - return true - } - - return false -} - -// SetUsernameLabel gets a reference to the given string and assigns it to the UsernameLabel field. -func (o *GetOrgSettings200Response) SetUsernameLabel(v string) { - o.UsernameLabel = &v -} - -// GetEnableAutomationGeneration returns the EnableAutomationGeneration field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetEnableAutomationGeneration() bool { - if o == nil || isNil(o.EnableAutomationGeneration) { - var ret bool - return ret - } - return *o.EnableAutomationGeneration -} - -// GetEnableAutomationGenerationOk returns a tuple with the EnableAutomationGeneration field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetEnableAutomationGenerationOk() (*bool, bool) { - if o == nil || isNil(o.EnableAutomationGeneration) { - return nil, false - } - return o.EnableAutomationGeneration, true -} - -// HasEnableAutomationGeneration returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasEnableAutomationGeneration() bool { - if o != nil && !isNil(o.EnableAutomationGeneration) { - return true - } - - return false -} - -// SetEnableAutomationGeneration gets a reference to the given bool and assigns it to the EnableAutomationGeneration field. -func (o *GetOrgSettings200Response) SetEnableAutomationGeneration(v bool) { - o.EnableAutomationGeneration = &v -} - -// GetPasswordReplayState returns the PasswordReplayState field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetPasswordReplayState() string { - if o == nil || isNil(o.PasswordReplayState) { - var ret string - return ret - } - return *o.PasswordReplayState -} - -// GetPasswordReplayStateOk returns a tuple with the PasswordReplayState field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetPasswordReplayStateOk() (*string, bool) { - if o == nil || isNil(o.PasswordReplayState) { - return nil, false - } - return o.PasswordReplayState, true -} - -// HasPasswordReplayState returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasPasswordReplayState() bool { - if o != nil && !isNil(o.PasswordReplayState) { - return true - } - - return false -} - -// SetPasswordReplayState gets a reference to the given string and assigns it to the PasswordReplayState field. -func (o *GetOrgSettings200Response) SetPasswordReplayState(v string) { - o.PasswordReplayState = &v -} - -// GetSystemNotificationConfig returns the SystemNotificationConfig field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetSystemNotificationConfig() GetOrgSettings200ResponseSystemNotificationConfig { - if o == nil || isNil(o.SystemNotificationConfig) { - var ret GetOrgSettings200ResponseSystemNotificationConfig - return ret - } - return *o.SystemNotificationConfig -} - -// GetSystemNotificationConfigOk returns a tuple with the SystemNotificationConfig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetSystemNotificationConfigOk() (*GetOrgSettings200ResponseSystemNotificationConfig, bool) { - if o == nil || isNil(o.SystemNotificationConfig) { - return nil, false - } - return o.SystemNotificationConfig, true -} - -// HasSystemNotificationConfig returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasSystemNotificationConfig() bool { - if o != nil && !isNil(o.SystemNotificationConfig) { - return true - } - - return false -} - -// SetSystemNotificationConfig gets a reference to the given GetOrgSettings200ResponseSystemNotificationConfig and assigns it to the SystemNotificationConfig field. -func (o *GetOrgSettings200Response) SetSystemNotificationConfig(v GetOrgSettings200ResponseSystemNotificationConfig) { - o.SystemNotificationConfig = &v -} - -// GetSystemNotificationEmails returns the SystemNotificationEmails field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetSystemNotificationEmails() []string { - if o == nil || isNil(o.SystemNotificationEmails) { - var ret []string - return ret - } - return o.SystemNotificationEmails -} - -// GetSystemNotificationEmailsOk returns a tuple with the SystemNotificationEmails field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetSystemNotificationEmailsOk() ([]string, bool) { - if o == nil || isNil(o.SystemNotificationEmails) { - return nil, false - } - return o.SystemNotificationEmails, true -} - -// HasSystemNotificationEmails returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasSystemNotificationEmails() bool { - if o != nil && !isNil(o.SystemNotificationEmails) { - return true - } - - return false -} - -// SetSystemNotificationEmails gets a reference to the given []string and assigns it to the SystemNotificationEmails field. -func (o *GetOrgSettings200Response) SetSystemNotificationEmails(v []string) { - o.SystemNotificationEmails = v -} - -// GetLoginUrl returns the LoginUrl field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetLoginUrl() string { - if o == nil || isNil(o.LoginUrl) { - var ret string - return ret - } - return *o.LoginUrl -} - -// GetLoginUrlOk returns a tuple with the LoginUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetLoginUrlOk() (*string, bool) { - if o == nil || isNil(o.LoginUrl) { - return nil, false - } - return o.LoginUrl, true -} - -// HasLoginUrl returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasLoginUrl() bool { - if o != nil && !isNil(o.LoginUrl) { - return true - } - - return false -} - -// SetLoginUrl gets a reference to the given string and assigns it to the LoginUrl field. -func (o *GetOrgSettings200Response) SetLoginUrl(v string) { - o.LoginUrl = &v -} - -// GetRedirectPatterns returns the RedirectPatterns field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetRedirectPatterns() []string { - if o == nil || isNil(o.RedirectPatterns) { - var ret []string - return ret - } - return o.RedirectPatterns -} - -// GetRedirectPatternsOk returns a tuple with the RedirectPatterns field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetRedirectPatternsOk() ([]string, bool) { - if o == nil || isNil(o.RedirectPatterns) { - return nil, false - } - return o.RedirectPatterns, true -} - -// HasRedirectPatterns returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasRedirectPatterns() bool { - if o != nil && !isNil(o.RedirectPatterns) { - return true - } - - return false -} - -// SetRedirectPatterns gets a reference to the given []string and assigns it to the RedirectPatterns field. -func (o *GetOrgSettings200Response) SetRedirectPatterns(v []string) { - o.RedirectPatterns = v -} - -// GetStyleHash returns the StyleHash field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetStyleHash() string { - if o == nil || isNil(o.StyleHash) { - var ret string - return ret - } - return *o.StyleHash -} - -// GetStyleHashOk returns a tuple with the StyleHash field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetStyleHashOk() (*string, bool) { - if o == nil || isNil(o.StyleHash) { - return nil, false - } - return o.StyleHash, true -} - -// HasStyleHash returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasStyleHash() bool { - if o != nil && !isNil(o.StyleHash) { - return true - } - - return false -} - -// SetStyleHash gets a reference to the given string and assigns it to the StyleHash field. -func (o *GetOrgSettings200Response) SetStyleHash(v string) { - o.StyleHash = &v -} - -// GetApprovalConfig returns the ApprovalConfig field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetApprovalConfig() GetOrgSettings200ResponseApprovalConfig { - if o == nil || isNil(o.ApprovalConfig) { - var ret GetOrgSettings200ResponseApprovalConfig - return ret - } - return *o.ApprovalConfig -} - -// GetApprovalConfigOk returns a tuple with the ApprovalConfig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetApprovalConfigOk() (*GetOrgSettings200ResponseApprovalConfig, bool) { - if o == nil || isNil(o.ApprovalConfig) { - return nil, false - } - return o.ApprovalConfig, true -} - -// HasApprovalConfig returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasApprovalConfig() bool { - if o != nil && !isNil(o.ApprovalConfig) { - return true - } - - return false -} - -// SetApprovalConfig gets a reference to the given GetOrgSettings200ResponseApprovalConfig and assigns it to the ApprovalConfig field. -func (o *GetOrgSettings200Response) SetApprovalConfig(v GetOrgSettings200ResponseApprovalConfig) { - o.ApprovalConfig = &v -} - -// GetSsoPartnerSource returns the SsoPartnerSource field value if set, zero value otherwise. -func (o *GetOrgSettings200Response) GetSsoPartnerSource() string { - if o == nil || isNil(o.SsoPartnerSource) { - var ret string - return ret - } - return *o.SsoPartnerSource -} - -// GetSsoPartnerSourceOk returns a tuple with the SsoPartnerSource field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200Response) GetSsoPartnerSourceOk() (*string, bool) { - if o == nil || isNil(o.SsoPartnerSource) { - return nil, false - } - return o.SsoPartnerSource, true -} - -// HasSsoPartnerSource returns a boolean if a field has been set. -func (o *GetOrgSettings200Response) HasSsoPartnerSource() bool { - if o != nil && !isNil(o.SsoPartnerSource) { - return true - } - - return false -} - -// SetSsoPartnerSource gets a reference to the given string and assigns it to the SsoPartnerSource field. -func (o *GetOrgSettings200Response) SetSsoPartnerSource(v string) { - o.SsoPartnerSource = &v -} - -func (o GetOrgSettings200Response) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GetOrgSettings200Response) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.Description) { - toSerialize["description"] = o.Description - } - if !isNil(o.DateCreated) { - toSerialize["dateCreated"] = o.DateCreated - } - if !isNil(o.LastUpdated) { - toSerialize["lastUpdated"] = o.LastUpdated - } - if !isNil(o.ScriptName) { - toSerialize["scriptName"] = o.ScriptName - } - if !isNil(o.SsoDomain) { - toSerialize["ssoDomain"] = o.SsoDomain - } - if !isNil(o.Status) { - toSerialize["status"] = o.Status - } - if !isNil(o.MaxRegisteredIdentities) { - toSerialize["maxRegisteredIdentities"] = o.MaxRegisteredIdentities - } - if !isNil(o.IdentityCount) { - toSerialize["identityCount"] = o.IdentityCount - } - if !isNil(o.KbaReqForAuthn) { - toSerialize["kbaReqForAuthn"] = o.KbaReqForAuthn - } - if !isNil(o.KbaReqAnswers) { - toSerialize["kbaReqAnswers"] = o.KbaReqAnswers - } - if !isNil(o.LockoutAttemptThreshold) { - toSerialize["lockoutAttemptThreshold"] = o.LockoutAttemptThreshold - } - if !isNil(o.LockoutTimeMinutes) { - toSerialize["lockoutTimeMinutes"] = o.LockoutTimeMinutes - } - if !isNil(o.UsageCertRequired) { - toSerialize["usageCertRequired"] = o.UsageCertRequired - } - if !isNil(o.AdminStrongAuthRequired) { - toSerialize["adminStrongAuthRequired"] = o.AdminStrongAuthRequired - } - if !isNil(o.EnableExternalPasswordChange) { - toSerialize["enableExternalPasswordChange"] = o.EnableExternalPasswordChange - } - if !isNil(o.EnablePasswordReplay) { - toSerialize["enablePasswordReplay"] = o.EnablePasswordReplay - } - if !isNil(o.EnableAutomaticPasswordReplay) { - toSerialize["enableAutomaticPasswordReplay"] = o.EnableAutomaticPasswordReplay - } - if !isNil(o.Netmasks) { - toSerialize["netmasks"] = o.Netmasks - } - if !isNil(o.CountryCodes) { - toSerialize["countryCodes"] = o.CountryCodes - } - if !isNil(o.WhiteList) { - toSerialize["whiteList"] = o.WhiteList - } - if !isNil(o.EmailTestMode) { - toSerialize["emailTestMode"] = o.EmailTestMode - } - if !isNil(o.EmailTestAddress) { - toSerialize["emailTestAddress"] = o.EmailTestAddress - } - if !isNil(o.UsernameEmptyText) { - toSerialize["usernameEmptyText"] = o.UsernameEmptyText - } - if !isNil(o.UsernameLabel) { - toSerialize["usernameLabel"] = o.UsernameLabel - } - if !isNil(o.EnableAutomationGeneration) { - toSerialize["enableAutomationGeneration"] = o.EnableAutomationGeneration - } - if !isNil(o.PasswordReplayState) { - toSerialize["passwordReplayState"] = o.PasswordReplayState - } - if !isNil(o.SystemNotificationConfig) { - toSerialize["systemNotificationConfig"] = o.SystemNotificationConfig - } - if !isNil(o.SystemNotificationEmails) { - toSerialize["systemNotificationEmails"] = o.SystemNotificationEmails - } - if !isNil(o.LoginUrl) { - toSerialize["loginUrl"] = o.LoginUrl - } - if !isNil(o.RedirectPatterns) { - toSerialize["redirectPatterns"] = o.RedirectPatterns - } - if !isNil(o.StyleHash) { - toSerialize["styleHash"] = o.StyleHash - } - if !isNil(o.ApprovalConfig) { - toSerialize["approvalConfig"] = o.ApprovalConfig - } - if !isNil(o.SsoPartnerSource) { - toSerialize["ssoPartnerSource"] = o.SsoPartnerSource - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *GetOrgSettings200Response) UnmarshalJSON(bytes []byte) (err error) { - varGetOrgSettings200Response := _GetOrgSettings200Response{} - - if err = json.Unmarshal(bytes, &varGetOrgSettings200Response); err == nil { - *o = GetOrgSettings200Response(varGetOrgSettings200Response) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "id") - delete(additionalProperties, "name") - delete(additionalProperties, "description") - delete(additionalProperties, "dateCreated") - delete(additionalProperties, "lastUpdated") - delete(additionalProperties, "scriptName") - delete(additionalProperties, "ssoDomain") - delete(additionalProperties, "status") - delete(additionalProperties, "maxRegisteredIdentities") - delete(additionalProperties, "identityCount") - delete(additionalProperties, "kbaReqForAuthn") - delete(additionalProperties, "kbaReqAnswers") - delete(additionalProperties, "lockoutAttemptThreshold") - delete(additionalProperties, "lockoutTimeMinutes") - delete(additionalProperties, "usageCertRequired") - delete(additionalProperties, "adminStrongAuthRequired") - delete(additionalProperties, "enableExternalPasswordChange") - delete(additionalProperties, "enablePasswordReplay") - delete(additionalProperties, "enableAutomaticPasswordReplay") - delete(additionalProperties, "netmasks") - delete(additionalProperties, "countryCodes") - delete(additionalProperties, "whiteList") - delete(additionalProperties, "emailTestMode") - delete(additionalProperties, "emailTestAddress") - delete(additionalProperties, "usernameEmptyText") - delete(additionalProperties, "usernameLabel") - delete(additionalProperties, "enableAutomationGeneration") - delete(additionalProperties, "passwordReplayState") - delete(additionalProperties, "systemNotificationConfig") - delete(additionalProperties, "systemNotificationEmails") - delete(additionalProperties, "loginUrl") - delete(additionalProperties, "redirectPatterns") - delete(additionalProperties, "styleHash") - delete(additionalProperties, "approvalConfig") - delete(additionalProperties, "ssoPartnerSource") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableGetOrgSettings200Response struct { - value *GetOrgSettings200Response - isSet bool -} - -func (v NullableGetOrgSettings200Response) Get() *GetOrgSettings200Response { - return v.value -} - -func (v *NullableGetOrgSettings200Response) Set(val *GetOrgSettings200Response) { - v.value = val - v.isSet = true -} - -func (v NullableGetOrgSettings200Response) IsSet() bool { - return v.isSet -} - -func (v *NullableGetOrgSettings200Response) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetOrgSettings200Response(val *GetOrgSettings200Response) *NullableGetOrgSettings200Response { - return &NullableGetOrgSettings200Response{value: val, isSet: true} -} - -func (v NullableGetOrgSettings200Response) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetOrgSettings200Response) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_get_org_settings_200_response_approval_config.go b/api_v2/model_get_org_settings_200_response_approval_config.go deleted file mode 100644 index a55d0850d..000000000 --- a/api_v2/model_get_org_settings_200_response_approval_config.go +++ /dev/null @@ -1,251 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" - "fmt" -) - -// checks if the GetOrgSettings200ResponseApprovalConfig type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GetOrgSettings200ResponseApprovalConfig{} - -// GetOrgSettings200ResponseApprovalConfig struct for GetOrgSettings200ResponseApprovalConfig -type GetOrgSettings200ResponseApprovalConfig struct { - DaysTillEscalation int32 `json:"daysTillEscalation"` - DaysBetweenReminders int32 `json:"daysBetweenReminders"` - MaxReminders int32 `json:"maxReminders"` - FallbackApprover string `json:"fallbackApprover"` - AdditionalProperties map[string]interface{} -} - -type _GetOrgSettings200ResponseApprovalConfig GetOrgSettings200ResponseApprovalConfig - -// NewGetOrgSettings200ResponseApprovalConfig instantiates a new GetOrgSettings200ResponseApprovalConfig object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGetOrgSettings200ResponseApprovalConfig(daysTillEscalation int32, daysBetweenReminders int32, maxReminders int32, fallbackApprover string) *GetOrgSettings200ResponseApprovalConfig { - this := GetOrgSettings200ResponseApprovalConfig{} - this.DaysTillEscalation = daysTillEscalation - this.DaysBetweenReminders = daysBetweenReminders - this.MaxReminders = maxReminders - this.FallbackApprover = fallbackApprover - return &this -} - -// NewGetOrgSettings200ResponseApprovalConfigWithDefaults instantiates a new GetOrgSettings200ResponseApprovalConfig object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGetOrgSettings200ResponseApprovalConfigWithDefaults() *GetOrgSettings200ResponseApprovalConfig { - this := GetOrgSettings200ResponseApprovalConfig{} - return &this -} - -// GetDaysTillEscalation returns the DaysTillEscalation field value -func (o *GetOrgSettings200ResponseApprovalConfig) GetDaysTillEscalation() int32 { - if o == nil { - var ret int32 - return ret - } - - return o.DaysTillEscalation -} - -// GetDaysTillEscalationOk returns a tuple with the DaysTillEscalation field value -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseApprovalConfig) GetDaysTillEscalationOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.DaysTillEscalation, true -} - -// SetDaysTillEscalation sets field value -func (o *GetOrgSettings200ResponseApprovalConfig) SetDaysTillEscalation(v int32) { - o.DaysTillEscalation = v -} - -// GetDaysBetweenReminders returns the DaysBetweenReminders field value -func (o *GetOrgSettings200ResponseApprovalConfig) GetDaysBetweenReminders() int32 { - if o == nil { - var ret int32 - return ret - } - - return o.DaysBetweenReminders -} - -// GetDaysBetweenRemindersOk returns a tuple with the DaysBetweenReminders field value -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseApprovalConfig) GetDaysBetweenRemindersOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.DaysBetweenReminders, true -} - -// SetDaysBetweenReminders sets field value -func (o *GetOrgSettings200ResponseApprovalConfig) SetDaysBetweenReminders(v int32) { - o.DaysBetweenReminders = v -} - -// GetMaxReminders returns the MaxReminders field value -func (o *GetOrgSettings200ResponseApprovalConfig) GetMaxReminders() int32 { - if o == nil { - var ret int32 - return ret - } - - return o.MaxReminders -} - -// GetMaxRemindersOk returns a tuple with the MaxReminders field value -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseApprovalConfig) GetMaxRemindersOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.MaxReminders, true -} - -// SetMaxReminders sets field value -func (o *GetOrgSettings200ResponseApprovalConfig) SetMaxReminders(v int32) { - o.MaxReminders = v -} - -// GetFallbackApprover returns the FallbackApprover field value -func (o *GetOrgSettings200ResponseApprovalConfig) GetFallbackApprover() string { - if o == nil { - var ret string - return ret - } - - return o.FallbackApprover -} - -// GetFallbackApproverOk returns a tuple with the FallbackApprover field value -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseApprovalConfig) GetFallbackApproverOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.FallbackApprover, true -} - -// SetFallbackApprover sets field value -func (o *GetOrgSettings200ResponseApprovalConfig) SetFallbackApprover(v string) { - o.FallbackApprover = v -} - -func (o GetOrgSettings200ResponseApprovalConfig) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GetOrgSettings200ResponseApprovalConfig) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - toSerialize["daysTillEscalation"] = o.DaysTillEscalation - toSerialize["daysBetweenReminders"] = o.DaysBetweenReminders - toSerialize["maxReminders"] = o.MaxReminders - toSerialize["fallbackApprover"] = o.FallbackApprover - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *GetOrgSettings200ResponseApprovalConfig) UnmarshalJSON(bytes []byte) (err error) { - // This validates that all required properties are included in the JSON object - // by unmarshalling the object into a generic map with string keys and checking - // that every required field exists as a key in the generic map. - requiredProperties := []string{ - "daysTillEscalation", - "daysBetweenReminders", - "maxReminders", - "fallbackApprover", - } - - allProperties := make(map[string]interface{}) - - err = json.Unmarshal(bytes, &allProperties) - - if err != nil { - return err; - } - - for _, requiredProperty := range(requiredProperties) { - if _, exists := allProperties[requiredProperty]; !exists { - return fmt.Errorf("no value given for required property %v", requiredProperty) - } - } - - varGetOrgSettings200ResponseApprovalConfig := _GetOrgSettings200ResponseApprovalConfig{} - - if err = json.Unmarshal(bytes, &varGetOrgSettings200ResponseApprovalConfig); err == nil { - *o = GetOrgSettings200ResponseApprovalConfig(varGetOrgSettings200ResponseApprovalConfig) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "daysTillEscalation") - delete(additionalProperties, "daysBetweenReminders") - delete(additionalProperties, "maxReminders") - delete(additionalProperties, "fallbackApprover") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableGetOrgSettings200ResponseApprovalConfig struct { - value *GetOrgSettings200ResponseApprovalConfig - isSet bool -} - -func (v NullableGetOrgSettings200ResponseApprovalConfig) Get() *GetOrgSettings200ResponseApprovalConfig { - return v.value -} - -func (v *NullableGetOrgSettings200ResponseApprovalConfig) Set(val *GetOrgSettings200ResponseApprovalConfig) { - v.value = val - v.isSet = true -} - -func (v NullableGetOrgSettings200ResponseApprovalConfig) IsSet() bool { - return v.isSet -} - -func (v *NullableGetOrgSettings200ResponseApprovalConfig) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetOrgSettings200ResponseApprovalConfig(val *GetOrgSettings200ResponseApprovalConfig) *NullableGetOrgSettings200ResponseApprovalConfig { - return &NullableGetOrgSettings200ResponseApprovalConfig{value: val, isSet: true} -} - -func (v NullableGetOrgSettings200ResponseApprovalConfig) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetOrgSettings200ResponseApprovalConfig) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_get_org_settings_200_response_system_notification_config.go b/api_v2/model_get_org_settings_200_response_system_notification_config.go deleted file mode 100644 index 2369885f8..000000000 --- a/api_v2/model_get_org_settings_200_response_system_notification_config.go +++ /dev/null @@ -1,188 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the GetOrgSettings200ResponseSystemNotificationConfig type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GetOrgSettings200ResponseSystemNotificationConfig{} - -// GetOrgSettings200ResponseSystemNotificationConfig struct for GetOrgSettings200ResponseSystemNotificationConfig -type GetOrgSettings200ResponseSystemNotificationConfig struct { - Notifications []GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner `json:"notifications,omitempty"` - RecipientType *string `json:"recipientType,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _GetOrgSettings200ResponseSystemNotificationConfig GetOrgSettings200ResponseSystemNotificationConfig - -// NewGetOrgSettings200ResponseSystemNotificationConfig instantiates a new GetOrgSettings200ResponseSystemNotificationConfig object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGetOrgSettings200ResponseSystemNotificationConfig() *GetOrgSettings200ResponseSystemNotificationConfig { - this := GetOrgSettings200ResponseSystemNotificationConfig{} - return &this -} - -// NewGetOrgSettings200ResponseSystemNotificationConfigWithDefaults instantiates a new GetOrgSettings200ResponseSystemNotificationConfig object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGetOrgSettings200ResponseSystemNotificationConfigWithDefaults() *GetOrgSettings200ResponseSystemNotificationConfig { - this := GetOrgSettings200ResponseSystemNotificationConfig{} - return &this -} - -// GetNotifications returns the Notifications field value if set, zero value otherwise. -func (o *GetOrgSettings200ResponseSystemNotificationConfig) GetNotifications() []GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner { - if o == nil || isNil(o.Notifications) { - var ret []GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner - return ret - } - return o.Notifications -} - -// GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfig) GetNotificationsOk() ([]GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner, bool) { - if o == nil || isNil(o.Notifications) { - return nil, false - } - return o.Notifications, true -} - -// HasNotifications returns a boolean if a field has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfig) HasNotifications() bool { - if o != nil && !isNil(o.Notifications) { - return true - } - - return false -} - -// SetNotifications gets a reference to the given []GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner and assigns it to the Notifications field. -func (o *GetOrgSettings200ResponseSystemNotificationConfig) SetNotifications(v []GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) { - o.Notifications = v -} - -// GetRecipientType returns the RecipientType field value if set, zero value otherwise. -func (o *GetOrgSettings200ResponseSystemNotificationConfig) GetRecipientType() string { - if o == nil || isNil(o.RecipientType) { - var ret string - return ret - } - return *o.RecipientType -} - -// GetRecipientTypeOk returns a tuple with the RecipientType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfig) GetRecipientTypeOk() (*string, bool) { - if o == nil || isNil(o.RecipientType) { - return nil, false - } - return o.RecipientType, true -} - -// HasRecipientType returns a boolean if a field has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfig) HasRecipientType() bool { - if o != nil && !isNil(o.RecipientType) { - return true - } - - return false -} - -// SetRecipientType gets a reference to the given string and assigns it to the RecipientType field. -func (o *GetOrgSettings200ResponseSystemNotificationConfig) SetRecipientType(v string) { - o.RecipientType = &v -} - -func (o GetOrgSettings200ResponseSystemNotificationConfig) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GetOrgSettings200ResponseSystemNotificationConfig) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Notifications) { - toSerialize["notifications"] = o.Notifications - } - if !isNil(o.RecipientType) { - toSerialize["recipientType"] = o.RecipientType - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *GetOrgSettings200ResponseSystemNotificationConfig) UnmarshalJSON(bytes []byte) (err error) { - varGetOrgSettings200ResponseSystemNotificationConfig := _GetOrgSettings200ResponseSystemNotificationConfig{} - - if err = json.Unmarshal(bytes, &varGetOrgSettings200ResponseSystemNotificationConfig); err == nil { - *o = GetOrgSettings200ResponseSystemNotificationConfig(varGetOrgSettings200ResponseSystemNotificationConfig) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "notifications") - delete(additionalProperties, "recipientType") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableGetOrgSettings200ResponseSystemNotificationConfig struct { - value *GetOrgSettings200ResponseSystemNotificationConfig - isSet bool -} - -func (v NullableGetOrgSettings200ResponseSystemNotificationConfig) Get() *GetOrgSettings200ResponseSystemNotificationConfig { - return v.value -} - -func (v *NullableGetOrgSettings200ResponseSystemNotificationConfig) Set(val *GetOrgSettings200ResponseSystemNotificationConfig) { - v.value = val - v.isSet = true -} - -func (v NullableGetOrgSettings200ResponseSystemNotificationConfig) IsSet() bool { - return v.isSet -} - -func (v *NullableGetOrgSettings200ResponseSystemNotificationConfig) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetOrgSettings200ResponseSystemNotificationConfig(val *GetOrgSettings200ResponseSystemNotificationConfig) *NullableGetOrgSettings200ResponseSystemNotificationConfig { - return &NullableGetOrgSettings200ResponseSystemNotificationConfig{value: val, isSet: true} -} - -func (v NullableGetOrgSettings200ResponseSystemNotificationConfig) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetOrgSettings200ResponseSystemNotificationConfig) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_get_org_settings_200_response_system_notification_config_notifications_inner.go b/api_v2/model_get_org_settings_200_response_system_notification_config_notifications_inner.go deleted file mode 100644 index 6b3b0722e..000000000 --- a/api_v2/model_get_org_settings_200_response_system_notification_config_notifications_inner.go +++ /dev/null @@ -1,225 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner{} - -// GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner struct for GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner -type GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner struct { - Type *string `json:"type,omitempty"` - ByEmail *bool `json:"byEmail,omitempty"` - Thresholds *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds `json:"thresholds,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner - -// NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner instantiates a new GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner { - this := GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner{} - return &this -} - -// NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerWithDefaults instantiates a new GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerWithDefaults() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner { - this := GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner{} - return &this -} - -// GetType returns the Type field value if set, zero value otherwise. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetType() string { - if o == nil || isNil(o.Type) { - var ret string - return ret - } - return *o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetTypeOk() (*string, bool) { - if o == nil || isNil(o.Type) { - return nil, false - } - return o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) HasType() bool { - if o != nil && !isNil(o.Type) { - return true - } - - return false -} - -// SetType gets a reference to the given string and assigns it to the Type field. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) SetType(v string) { - o.Type = &v -} - -// GetByEmail returns the ByEmail field value if set, zero value otherwise. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetByEmail() bool { - if o == nil || isNil(o.ByEmail) { - var ret bool - return ret - } - return *o.ByEmail -} - -// GetByEmailOk returns a tuple with the ByEmail field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetByEmailOk() (*bool, bool) { - if o == nil || isNil(o.ByEmail) { - return nil, false - } - return o.ByEmail, true -} - -// HasByEmail returns a boolean if a field has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) HasByEmail() bool { - if o != nil && !isNil(o.ByEmail) { - return true - } - - return false -} - -// SetByEmail gets a reference to the given bool and assigns it to the ByEmail field. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) SetByEmail(v bool) { - o.ByEmail = &v -} - -// GetThresholds returns the Thresholds field value if set, zero value otherwise. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetThresholds() GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds { - if o == nil || isNil(o.Thresholds) { - var ret GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds - return ret - } - return *o.Thresholds -} - -// GetThresholdsOk returns a tuple with the Thresholds field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) GetThresholdsOk() (*GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds, bool) { - if o == nil || isNil(o.Thresholds) { - return nil, false - } - return o.Thresholds, true -} - -// HasThresholds returns a boolean if a field has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) HasThresholds() bool { - if o != nil && !isNil(o.Thresholds) { - return true - } - - return false -} - -// SetThresholds gets a reference to the given GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds and assigns it to the Thresholds field. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) SetThresholds(v GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) { - o.Thresholds = &v -} - -func (o GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Type) { - toSerialize["type"] = o.Type - } - if !isNil(o.ByEmail) { - toSerialize["byEmail"] = o.ByEmail - } - if !isNil(o.Thresholds) { - toSerialize["thresholds"] = o.Thresholds - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) UnmarshalJSON(bytes []byte) (err error) { - varGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner := _GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner{} - - if err = json.Unmarshal(bytes, &varGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner); err == nil { - *o = GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner(varGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "type") - delete(additionalProperties, "byEmail") - delete(additionalProperties, "thresholds") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner struct { - value *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner - isSet bool -} - -func (v NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) Get() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner { - return v.value -} - -func (v *NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) Set(val *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) { - v.value = val - v.isSet = true -} - -func (v NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) IsSet() bool { - return v.isSet -} - -func (v *NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner(val *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) *NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner { - return &NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner{value: val, isSet: true} -} - -func (v NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_get_org_settings_200_response_system_notification_config_notifications_inner_thresholds.go b/api_v2/model_get_org_settings_200_response_system_notification_config_notifications_inner_thresholds.go deleted file mode 100644 index 61c2955cc..000000000 --- a/api_v2/model_get_org_settings_200_response_system_notification_config_notifications_inner_thresholds.go +++ /dev/null @@ -1,188 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds{} - -// GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds struct for GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds -type GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds struct { - Healthy *string `json:"healthy,omitempty"` - Unhealthy *string `json:"unhealthy,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds - -// NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds instantiates a new GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds { - this := GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds{} - return &this -} - -// NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsWithDefaults instantiates a new GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholdsWithDefaults() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds { - this := GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds{} - return &this -} - -// GetHealthy returns the Healthy field value if set, zero value otherwise. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) GetHealthy() string { - if o == nil || isNil(o.Healthy) { - var ret string - return ret - } - return *o.Healthy -} - -// GetHealthyOk returns a tuple with the Healthy field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) GetHealthyOk() (*string, bool) { - if o == nil || isNil(o.Healthy) { - return nil, false - } - return o.Healthy, true -} - -// HasHealthy returns a boolean if a field has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) HasHealthy() bool { - if o != nil && !isNil(o.Healthy) { - return true - } - - return false -} - -// SetHealthy gets a reference to the given string and assigns it to the Healthy field. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) SetHealthy(v string) { - o.Healthy = &v -} - -// GetUnhealthy returns the Unhealthy field value if set, zero value otherwise. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) GetUnhealthy() string { - if o == nil || isNil(o.Unhealthy) { - var ret string - return ret - } - return *o.Unhealthy -} - -// GetUnhealthyOk returns a tuple with the Unhealthy field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) GetUnhealthyOk() (*string, bool) { - if o == nil || isNil(o.Unhealthy) { - return nil, false - } - return o.Unhealthy, true -} - -// HasUnhealthy returns a boolean if a field has been set. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) HasUnhealthy() bool { - if o != nil && !isNil(o.Unhealthy) { - return true - } - - return false -} - -// SetUnhealthy gets a reference to the given string and assigns it to the Unhealthy field. -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) SetUnhealthy(v string) { - o.Unhealthy = &v -} - -func (o GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Healthy) { - toSerialize["healthy"] = o.Healthy - } - if !isNil(o.Unhealthy) { - toSerialize["unhealthy"] = o.Unhealthy - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) UnmarshalJSON(bytes []byte) (err error) { - varGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds := _GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds{} - - if err = json.Unmarshal(bytes, &varGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds); err == nil { - *o = GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds(varGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "healthy") - delete(additionalProperties, "unhealthy") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds struct { - value *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds - isSet bool -} - -func (v NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) Get() *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds { - return v.value -} - -func (v *NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) Set(val *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) { - v.value = val - v.isSet = true -} - -func (v NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) IsSet() bool { - return v.isSet -} - -func (v *NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds(val *GetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) *NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds { - return &NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds{value: val, isSet: true} -} - -func (v NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetOrgSettings200ResponseSystemNotificationConfigNotificationsInnerThresholds) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_list_workgroup_connections_200_response_inner.go b/api_v2/model_list_workgroup_connections_200_response_inner.go deleted file mode 100644 index 9f3a797da..000000000 --- a/api_v2/model_list_workgroup_connections_200_response_inner.go +++ /dev/null @@ -1,336 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the ListWorkgroupConnections200ResponseInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListWorkgroupConnections200ResponseInner{} - -// ListWorkgroupConnections200ResponseInner struct for ListWorkgroupConnections200ResponseInner -type ListWorkgroupConnections200ResponseInner struct { - ConnectionType *string `json:"connectionType,omitempty"` - Description *string `json:"description,omitempty"` - Name *string `json:"name,omitempty"` - ObjectId *string `json:"objectId,omitempty"` - ObjectType *string `json:"objectType,omitempty"` - WorkgroupId *string `json:"workgroupId,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListWorkgroupConnections200ResponseInner ListWorkgroupConnections200ResponseInner - -// NewListWorkgroupConnections200ResponseInner instantiates a new ListWorkgroupConnections200ResponseInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListWorkgroupConnections200ResponseInner() *ListWorkgroupConnections200ResponseInner { - this := ListWorkgroupConnections200ResponseInner{} - return &this -} - -// NewListWorkgroupConnections200ResponseInnerWithDefaults instantiates a new ListWorkgroupConnections200ResponseInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListWorkgroupConnections200ResponseInnerWithDefaults() *ListWorkgroupConnections200ResponseInner { - this := ListWorkgroupConnections200ResponseInner{} - return &this -} - -// GetConnectionType returns the ConnectionType field value if set, zero value otherwise. -func (o *ListWorkgroupConnections200ResponseInner) GetConnectionType() string { - if o == nil || isNil(o.ConnectionType) { - var ret string - return ret - } - return *o.ConnectionType -} - -// GetConnectionTypeOk returns a tuple with the ConnectionType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupConnections200ResponseInner) GetConnectionTypeOk() (*string, bool) { - if o == nil || isNil(o.ConnectionType) { - return nil, false - } - return o.ConnectionType, true -} - -// HasConnectionType returns a boolean if a field has been set. -func (o *ListWorkgroupConnections200ResponseInner) HasConnectionType() bool { - if o != nil && !isNil(o.ConnectionType) { - return true - } - - return false -} - -// SetConnectionType gets a reference to the given string and assigns it to the ConnectionType field. -func (o *ListWorkgroupConnections200ResponseInner) SetConnectionType(v string) { - o.ConnectionType = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *ListWorkgroupConnections200ResponseInner) GetDescription() string { - if o == nil || isNil(o.Description) { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupConnections200ResponseInner) GetDescriptionOk() (*string, bool) { - if o == nil || isNil(o.Description) { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *ListWorkgroupConnections200ResponseInner) HasDescription() bool { - if o != nil && !isNil(o.Description) { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *ListWorkgroupConnections200ResponseInner) SetDescription(v string) { - o.Description = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *ListWorkgroupConnections200ResponseInner) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupConnections200ResponseInner) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *ListWorkgroupConnections200ResponseInner) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *ListWorkgroupConnections200ResponseInner) SetName(v string) { - o.Name = &v -} - -// GetObjectId returns the ObjectId field value if set, zero value otherwise. -func (o *ListWorkgroupConnections200ResponseInner) GetObjectId() string { - if o == nil || isNil(o.ObjectId) { - var ret string - return ret - } - return *o.ObjectId -} - -// GetObjectIdOk returns a tuple with the ObjectId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupConnections200ResponseInner) GetObjectIdOk() (*string, bool) { - if o == nil || isNil(o.ObjectId) { - return nil, false - } - return o.ObjectId, true -} - -// HasObjectId returns a boolean if a field has been set. -func (o *ListWorkgroupConnections200ResponseInner) HasObjectId() bool { - if o != nil && !isNil(o.ObjectId) { - return true - } - - return false -} - -// SetObjectId gets a reference to the given string and assigns it to the ObjectId field. -func (o *ListWorkgroupConnections200ResponseInner) SetObjectId(v string) { - o.ObjectId = &v -} - -// GetObjectType returns the ObjectType field value if set, zero value otherwise. -func (o *ListWorkgroupConnections200ResponseInner) GetObjectType() string { - if o == nil || isNil(o.ObjectType) { - var ret string - return ret - } - return *o.ObjectType -} - -// GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupConnections200ResponseInner) GetObjectTypeOk() (*string, bool) { - if o == nil || isNil(o.ObjectType) { - return nil, false - } - return o.ObjectType, true -} - -// HasObjectType returns a boolean if a field has been set. -func (o *ListWorkgroupConnections200ResponseInner) HasObjectType() bool { - if o != nil && !isNil(o.ObjectType) { - return true - } - - return false -} - -// SetObjectType gets a reference to the given string and assigns it to the ObjectType field. -func (o *ListWorkgroupConnections200ResponseInner) SetObjectType(v string) { - o.ObjectType = &v -} - -// GetWorkgroupId returns the WorkgroupId field value if set, zero value otherwise. -func (o *ListWorkgroupConnections200ResponseInner) GetWorkgroupId() string { - if o == nil || isNil(o.WorkgroupId) { - var ret string - return ret - } - return *o.WorkgroupId -} - -// GetWorkgroupIdOk returns a tuple with the WorkgroupId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupConnections200ResponseInner) GetWorkgroupIdOk() (*string, bool) { - if o == nil || isNil(o.WorkgroupId) { - return nil, false - } - return o.WorkgroupId, true -} - -// HasWorkgroupId returns a boolean if a field has been set. -func (o *ListWorkgroupConnections200ResponseInner) HasWorkgroupId() bool { - if o != nil && !isNil(o.WorkgroupId) { - return true - } - - return false -} - -// SetWorkgroupId gets a reference to the given string and assigns it to the WorkgroupId field. -func (o *ListWorkgroupConnections200ResponseInner) SetWorkgroupId(v string) { - o.WorkgroupId = &v -} - -func (o ListWorkgroupConnections200ResponseInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListWorkgroupConnections200ResponseInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.ConnectionType) { - toSerialize["connectionType"] = o.ConnectionType - } - if !isNil(o.Description) { - toSerialize["description"] = o.Description - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.ObjectId) { - toSerialize["objectId"] = o.ObjectId - } - if !isNil(o.ObjectType) { - toSerialize["objectType"] = o.ObjectType - } - if !isNil(o.WorkgroupId) { - toSerialize["workgroupId"] = o.WorkgroupId - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListWorkgroupConnections200ResponseInner) UnmarshalJSON(bytes []byte) (err error) { - varListWorkgroupConnections200ResponseInner := _ListWorkgroupConnections200ResponseInner{} - - if err = json.Unmarshal(bytes, &varListWorkgroupConnections200ResponseInner); err == nil { - *o = ListWorkgroupConnections200ResponseInner(varListWorkgroupConnections200ResponseInner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "connectionType") - delete(additionalProperties, "description") - delete(additionalProperties, "name") - delete(additionalProperties, "objectId") - delete(additionalProperties, "objectType") - delete(additionalProperties, "workgroupId") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListWorkgroupConnections200ResponseInner struct { - value *ListWorkgroupConnections200ResponseInner - isSet bool -} - -func (v NullableListWorkgroupConnections200ResponseInner) Get() *ListWorkgroupConnections200ResponseInner { - return v.value -} - -func (v *NullableListWorkgroupConnections200ResponseInner) Set(val *ListWorkgroupConnections200ResponseInner) { - v.value = val - v.isSet = true -} - -func (v NullableListWorkgroupConnections200ResponseInner) IsSet() bool { - return v.isSet -} - -func (v *NullableListWorkgroupConnections200ResponseInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListWorkgroupConnections200ResponseInner(val *ListWorkgroupConnections200ResponseInner) *NullableListWorkgroupConnections200ResponseInner { - return &NullableListWorkgroupConnections200ResponseInner{value: val, isSet: true} -} - -func (v NullableListWorkgroupConnections200ResponseInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListWorkgroupConnections200ResponseInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_list_workgroup_members_200_response_inner.go b/api_v2/model_list_workgroup_members_200_response_inner.go deleted file mode 100644 index 088e9bc92..000000000 --- a/api_v2/model_list_workgroup_members_200_response_inner.go +++ /dev/null @@ -1,299 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the ListWorkgroupMembers200ResponseInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListWorkgroupMembers200ResponseInner{} - -// ListWorkgroupMembers200ResponseInner struct for ListWorkgroupMembers200ResponseInner -type ListWorkgroupMembers200ResponseInner struct { - Alias *string `json:"alias,omitempty"` - Email *string `json:"email,omitempty"` - ExternalId *string `json:"externalId,omitempty"` - Id *int32 `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListWorkgroupMembers200ResponseInner ListWorkgroupMembers200ResponseInner - -// NewListWorkgroupMembers200ResponseInner instantiates a new ListWorkgroupMembers200ResponseInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListWorkgroupMembers200ResponseInner() *ListWorkgroupMembers200ResponseInner { - this := ListWorkgroupMembers200ResponseInner{} - return &this -} - -// NewListWorkgroupMembers200ResponseInnerWithDefaults instantiates a new ListWorkgroupMembers200ResponseInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListWorkgroupMembers200ResponseInnerWithDefaults() *ListWorkgroupMembers200ResponseInner { - this := ListWorkgroupMembers200ResponseInner{} - return &this -} - -// GetAlias returns the Alias field value if set, zero value otherwise. -func (o *ListWorkgroupMembers200ResponseInner) GetAlias() string { - if o == nil || isNil(o.Alias) { - var ret string - return ret - } - return *o.Alias -} - -// GetAliasOk returns a tuple with the Alias field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupMembers200ResponseInner) GetAliasOk() (*string, bool) { - if o == nil || isNil(o.Alias) { - return nil, false - } - return o.Alias, true -} - -// HasAlias returns a boolean if a field has been set. -func (o *ListWorkgroupMembers200ResponseInner) HasAlias() bool { - if o != nil && !isNil(o.Alias) { - return true - } - - return false -} - -// SetAlias gets a reference to the given string and assigns it to the Alias field. -func (o *ListWorkgroupMembers200ResponseInner) SetAlias(v string) { - o.Alias = &v -} - -// GetEmail returns the Email field value if set, zero value otherwise. -func (o *ListWorkgroupMembers200ResponseInner) GetEmail() string { - if o == nil || isNil(o.Email) { - var ret string - return ret - } - return *o.Email -} - -// GetEmailOk returns a tuple with the Email field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupMembers200ResponseInner) GetEmailOk() (*string, bool) { - if o == nil || isNil(o.Email) { - return nil, false - } - return o.Email, true -} - -// HasEmail returns a boolean if a field has been set. -func (o *ListWorkgroupMembers200ResponseInner) HasEmail() bool { - if o != nil && !isNil(o.Email) { - return true - } - - return false -} - -// SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *ListWorkgroupMembers200ResponseInner) SetEmail(v string) { - o.Email = &v -} - -// GetExternalId returns the ExternalId field value if set, zero value otherwise. -func (o *ListWorkgroupMembers200ResponseInner) GetExternalId() string { - if o == nil || isNil(o.ExternalId) { - var ret string - return ret - } - return *o.ExternalId -} - -// GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupMembers200ResponseInner) GetExternalIdOk() (*string, bool) { - if o == nil || isNil(o.ExternalId) { - return nil, false - } - return o.ExternalId, true -} - -// HasExternalId returns a boolean if a field has been set. -func (o *ListWorkgroupMembers200ResponseInner) HasExternalId() bool { - if o != nil && !isNil(o.ExternalId) { - return true - } - - return false -} - -// SetExternalId gets a reference to the given string and assigns it to the ExternalId field. -func (o *ListWorkgroupMembers200ResponseInner) SetExternalId(v string) { - o.ExternalId = &v -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *ListWorkgroupMembers200ResponseInner) GetId() int32 { - if o == nil || isNil(o.Id) { - var ret int32 - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupMembers200ResponseInner) GetIdOk() (*int32, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *ListWorkgroupMembers200ResponseInner) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given int32 and assigns it to the Id field. -func (o *ListWorkgroupMembers200ResponseInner) SetId(v int32) { - o.Id = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *ListWorkgroupMembers200ResponseInner) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroupMembers200ResponseInner) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *ListWorkgroupMembers200ResponseInner) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *ListWorkgroupMembers200ResponseInner) SetName(v string) { - o.Name = &v -} - -func (o ListWorkgroupMembers200ResponseInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListWorkgroupMembers200ResponseInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Alias) { - toSerialize["alias"] = o.Alias - } - if !isNil(o.Email) { - toSerialize["email"] = o.Email - } - if !isNil(o.ExternalId) { - toSerialize["externalId"] = o.ExternalId - } - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListWorkgroupMembers200ResponseInner) UnmarshalJSON(bytes []byte) (err error) { - varListWorkgroupMembers200ResponseInner := _ListWorkgroupMembers200ResponseInner{} - - if err = json.Unmarshal(bytes, &varListWorkgroupMembers200ResponseInner); err == nil { - *o = ListWorkgroupMembers200ResponseInner(varListWorkgroupMembers200ResponseInner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "alias") - delete(additionalProperties, "email") - delete(additionalProperties, "externalId") - delete(additionalProperties, "id") - delete(additionalProperties, "name") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListWorkgroupMembers200ResponseInner struct { - value *ListWorkgroupMembers200ResponseInner - isSet bool -} - -func (v NullableListWorkgroupMembers200ResponseInner) Get() *ListWorkgroupMembers200ResponseInner { - return v.value -} - -func (v *NullableListWorkgroupMembers200ResponseInner) Set(val *ListWorkgroupMembers200ResponseInner) { - v.value = val - v.isSet = true -} - -func (v NullableListWorkgroupMembers200ResponseInner) IsSet() bool { - return v.isSet -} - -func (v *NullableListWorkgroupMembers200ResponseInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListWorkgroupMembers200ResponseInner(val *ListWorkgroupMembers200ResponseInner) *NullableListWorkgroupMembers200ResponseInner { - return &NullableListWorkgroupMembers200ResponseInner{value: val, isSet: true} -} - -func (v NullableListWorkgroupMembers200ResponseInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListWorkgroupMembers200ResponseInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_list_workgroups_200_response_inner.go b/api_v2/model_list_workgroups_200_response_inner.go deleted file mode 100644 index e21bb5089..000000000 --- a/api_v2/model_list_workgroups_200_response_inner.go +++ /dev/null @@ -1,410 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the ListWorkgroups200ResponseInner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListWorkgroups200ResponseInner{} - -// ListWorkgroups200ResponseInner struct for ListWorkgroups200ResponseInner -type ListWorkgroups200ResponseInner struct { - ConnectionCount *int32 `json:"connectionCount,omitempty"` - Created *int64 `json:"created,omitempty"` - Description *string `json:"description,omitempty"` - Id *string `json:"id,omitempty"` - MemberCount *int32 `json:"memberCount,omitempty"` - Modified *int64 `json:"modified,omitempty"` - Name *string `json:"name,omitempty"` - Owner *ListWorkgroups200ResponseInnerOwner `json:"owner,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListWorkgroups200ResponseInner ListWorkgroups200ResponseInner - -// NewListWorkgroups200ResponseInner instantiates a new ListWorkgroups200ResponseInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListWorkgroups200ResponseInner() *ListWorkgroups200ResponseInner { - this := ListWorkgroups200ResponseInner{} - return &this -} - -// NewListWorkgroups200ResponseInnerWithDefaults instantiates a new ListWorkgroups200ResponseInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListWorkgroups200ResponseInnerWithDefaults() *ListWorkgroups200ResponseInner { - this := ListWorkgroups200ResponseInner{} - return &this -} - -// GetConnectionCount returns the ConnectionCount field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInner) GetConnectionCount() int32 { - if o == nil || isNil(o.ConnectionCount) { - var ret int32 - return ret - } - return *o.ConnectionCount -} - -// GetConnectionCountOk returns a tuple with the ConnectionCount field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInner) GetConnectionCountOk() (*int32, bool) { - if o == nil || isNil(o.ConnectionCount) { - return nil, false - } - return o.ConnectionCount, true -} - -// HasConnectionCount returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInner) HasConnectionCount() bool { - if o != nil && !isNil(o.ConnectionCount) { - return true - } - - return false -} - -// SetConnectionCount gets a reference to the given int32 and assigns it to the ConnectionCount field. -func (o *ListWorkgroups200ResponseInner) SetConnectionCount(v int32) { - o.ConnectionCount = &v -} - -// GetCreated returns the Created field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInner) GetCreated() int64 { - if o == nil || isNil(o.Created) { - var ret int64 - return ret - } - return *o.Created -} - -// GetCreatedOk returns a tuple with the Created field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInner) GetCreatedOk() (*int64, bool) { - if o == nil || isNil(o.Created) { - return nil, false - } - return o.Created, true -} - -// HasCreated returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInner) HasCreated() bool { - if o != nil && !isNil(o.Created) { - return true - } - - return false -} - -// SetCreated gets a reference to the given int64 and assigns it to the Created field. -func (o *ListWorkgroups200ResponseInner) SetCreated(v int64) { - o.Created = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInner) GetDescription() string { - if o == nil || isNil(o.Description) { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInner) GetDescriptionOk() (*string, bool) { - if o == nil || isNil(o.Description) { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInner) HasDescription() bool { - if o != nil && !isNil(o.Description) { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *ListWorkgroups200ResponseInner) SetDescription(v string) { - o.Description = &v -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInner) GetId() string { - if o == nil || isNil(o.Id) { - var ret string - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInner) GetIdOk() (*string, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInner) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given string and assigns it to the Id field. -func (o *ListWorkgroups200ResponseInner) SetId(v string) { - o.Id = &v -} - -// GetMemberCount returns the MemberCount field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInner) GetMemberCount() int32 { - if o == nil || isNil(o.MemberCount) { - var ret int32 - return ret - } - return *o.MemberCount -} - -// GetMemberCountOk returns a tuple with the MemberCount field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInner) GetMemberCountOk() (*int32, bool) { - if o == nil || isNil(o.MemberCount) { - return nil, false - } - return o.MemberCount, true -} - -// HasMemberCount returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInner) HasMemberCount() bool { - if o != nil && !isNil(o.MemberCount) { - return true - } - - return false -} - -// SetMemberCount gets a reference to the given int32 and assigns it to the MemberCount field. -func (o *ListWorkgroups200ResponseInner) SetMemberCount(v int32) { - o.MemberCount = &v -} - -// GetModified returns the Modified field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInner) GetModified() int64 { - if o == nil || isNil(o.Modified) { - var ret int64 - return ret - } - return *o.Modified -} - -// GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInner) GetModifiedOk() (*int64, bool) { - if o == nil || isNil(o.Modified) { - return nil, false - } - return o.Modified, true -} - -// HasModified returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInner) HasModified() bool { - if o != nil && !isNil(o.Modified) { - return true - } - - return false -} - -// SetModified gets a reference to the given int64 and assigns it to the Modified field. -func (o *ListWorkgroups200ResponseInner) SetModified(v int64) { - o.Modified = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInner) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInner) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInner) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *ListWorkgroups200ResponseInner) SetName(v string) { - o.Name = &v -} - -// GetOwner returns the Owner field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInner) GetOwner() ListWorkgroups200ResponseInnerOwner { - if o == nil || isNil(o.Owner) { - var ret ListWorkgroups200ResponseInnerOwner - return ret - } - return *o.Owner -} - -// GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInner) GetOwnerOk() (*ListWorkgroups200ResponseInnerOwner, bool) { - if o == nil || isNil(o.Owner) { - return nil, false - } - return o.Owner, true -} - -// HasOwner returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInner) HasOwner() bool { - if o != nil && !isNil(o.Owner) { - return true - } - - return false -} - -// SetOwner gets a reference to the given ListWorkgroups200ResponseInnerOwner and assigns it to the Owner field. -func (o *ListWorkgroups200ResponseInner) SetOwner(v ListWorkgroups200ResponseInnerOwner) { - o.Owner = &v -} - -func (o ListWorkgroups200ResponseInner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListWorkgroups200ResponseInner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.ConnectionCount) { - toSerialize["connectionCount"] = o.ConnectionCount - } - if !isNil(o.Created) { - toSerialize["created"] = o.Created - } - if !isNil(o.Description) { - toSerialize["description"] = o.Description - } - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.MemberCount) { - toSerialize["memberCount"] = o.MemberCount - } - if !isNil(o.Modified) { - toSerialize["modified"] = o.Modified - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - if !isNil(o.Owner) { - toSerialize["owner"] = o.Owner - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListWorkgroups200ResponseInner) UnmarshalJSON(bytes []byte) (err error) { - varListWorkgroups200ResponseInner := _ListWorkgroups200ResponseInner{} - - if err = json.Unmarshal(bytes, &varListWorkgroups200ResponseInner); err == nil { - *o = ListWorkgroups200ResponseInner(varListWorkgroups200ResponseInner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "connectionCount") - delete(additionalProperties, "created") - delete(additionalProperties, "description") - delete(additionalProperties, "id") - delete(additionalProperties, "memberCount") - delete(additionalProperties, "modified") - delete(additionalProperties, "name") - delete(additionalProperties, "owner") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListWorkgroups200ResponseInner struct { - value *ListWorkgroups200ResponseInner - isSet bool -} - -func (v NullableListWorkgroups200ResponseInner) Get() *ListWorkgroups200ResponseInner { - return v.value -} - -func (v *NullableListWorkgroups200ResponseInner) Set(val *ListWorkgroups200ResponseInner) { - v.value = val - v.isSet = true -} - -func (v NullableListWorkgroups200ResponseInner) IsSet() bool { - return v.isSet -} - -func (v *NullableListWorkgroups200ResponseInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListWorkgroups200ResponseInner(val *ListWorkgroups200ResponseInner) *NullableListWorkgroups200ResponseInner { - return &NullableListWorkgroups200ResponseInner{value: val, isSet: true} -} - -func (v NullableListWorkgroups200ResponseInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListWorkgroups200ResponseInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_list_workgroups_200_response_inner_owner.go b/api_v2/model_list_workgroups_200_response_inner_owner.go deleted file mode 100644 index a269f0e7f..000000000 --- a/api_v2/model_list_workgroups_200_response_inner_owner.go +++ /dev/null @@ -1,262 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the ListWorkgroups200ResponseInnerOwner type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ListWorkgroups200ResponseInnerOwner{} - -// ListWorkgroups200ResponseInnerOwner struct for ListWorkgroups200ResponseInnerOwner -type ListWorkgroups200ResponseInnerOwner struct { - DisplayName *string `json:"displayName,omitempty"` - EmailAddress *string `json:"emailAddress,omitempty"` - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ListWorkgroups200ResponseInnerOwner ListWorkgroups200ResponseInnerOwner - -// NewListWorkgroups200ResponseInnerOwner instantiates a new ListWorkgroups200ResponseInnerOwner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListWorkgroups200ResponseInnerOwner() *ListWorkgroups200ResponseInnerOwner { - this := ListWorkgroups200ResponseInnerOwner{} - return &this -} - -// NewListWorkgroups200ResponseInnerOwnerWithDefaults instantiates a new ListWorkgroups200ResponseInnerOwner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListWorkgroups200ResponseInnerOwnerWithDefaults() *ListWorkgroups200ResponseInnerOwner { - this := ListWorkgroups200ResponseInnerOwner{} - return &this -} - -// GetDisplayName returns the DisplayName field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInnerOwner) GetDisplayName() string { - if o == nil || isNil(o.DisplayName) { - var ret string - return ret - } - return *o.DisplayName -} - -// GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInnerOwner) GetDisplayNameOk() (*string, bool) { - if o == nil || isNil(o.DisplayName) { - return nil, false - } - return o.DisplayName, true -} - -// HasDisplayName returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInnerOwner) HasDisplayName() bool { - if o != nil && !isNil(o.DisplayName) { - return true - } - - return false -} - -// SetDisplayName gets a reference to the given string and assigns it to the DisplayName field. -func (o *ListWorkgroups200ResponseInnerOwner) SetDisplayName(v string) { - o.DisplayName = &v -} - -// GetEmailAddress returns the EmailAddress field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInnerOwner) GetEmailAddress() string { - if o == nil || isNil(o.EmailAddress) { - var ret string - return ret - } - return *o.EmailAddress -} - -// GetEmailAddressOk returns a tuple with the EmailAddress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInnerOwner) GetEmailAddressOk() (*string, bool) { - if o == nil || isNil(o.EmailAddress) { - return nil, false - } - return o.EmailAddress, true -} - -// HasEmailAddress returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInnerOwner) HasEmailAddress() bool { - if o != nil && !isNil(o.EmailAddress) { - return true - } - - return false -} - -// SetEmailAddress gets a reference to the given string and assigns it to the EmailAddress field. -func (o *ListWorkgroups200ResponseInnerOwner) SetEmailAddress(v string) { - o.EmailAddress = &v -} - -// GetId returns the Id field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInnerOwner) GetId() string { - if o == nil || isNil(o.Id) { - var ret string - return ret - } - return *o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInnerOwner) GetIdOk() (*string, bool) { - if o == nil || isNil(o.Id) { - return nil, false - } - return o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInnerOwner) HasId() bool { - if o != nil && !isNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given string and assigns it to the Id field. -func (o *ListWorkgroups200ResponseInnerOwner) SetId(v string) { - o.Id = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *ListWorkgroups200ResponseInnerOwner) GetName() string { - if o == nil || isNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListWorkgroups200ResponseInnerOwner) GetNameOk() (*string, bool) { - if o == nil || isNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *ListWorkgroups200ResponseInnerOwner) HasName() bool { - if o != nil && !isNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *ListWorkgroups200ResponseInnerOwner) SetName(v string) { - o.Name = &v -} - -func (o ListWorkgroups200ResponseInnerOwner) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ListWorkgroups200ResponseInnerOwner) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.DisplayName) { - toSerialize["displayName"] = o.DisplayName - } - if !isNil(o.EmailAddress) { - toSerialize["emailAddress"] = o.EmailAddress - } - if !isNil(o.Id) { - toSerialize["id"] = o.Id - } - if !isNil(o.Name) { - toSerialize["name"] = o.Name - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ListWorkgroups200ResponseInnerOwner) UnmarshalJSON(bytes []byte) (err error) { - varListWorkgroups200ResponseInnerOwner := _ListWorkgroups200ResponseInnerOwner{} - - if err = json.Unmarshal(bytes, &varListWorkgroups200ResponseInnerOwner); err == nil { - *o = ListWorkgroups200ResponseInnerOwner(varListWorkgroups200ResponseInnerOwner) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "displayName") - delete(additionalProperties, "emailAddress") - delete(additionalProperties, "id") - delete(additionalProperties, "name") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableListWorkgroups200ResponseInnerOwner struct { - value *ListWorkgroups200ResponseInnerOwner - isSet bool -} - -func (v NullableListWorkgroups200ResponseInnerOwner) Get() *ListWorkgroups200ResponseInnerOwner { - return v.value -} - -func (v *NullableListWorkgroups200ResponseInnerOwner) Set(val *ListWorkgroups200ResponseInnerOwner) { - v.value = val - v.isSet = true -} - -func (v NullableListWorkgroups200ResponseInnerOwner) IsSet() bool { - return v.isSet -} - -func (v *NullableListWorkgroups200ResponseInnerOwner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListWorkgroups200ResponseInnerOwner(val *ListWorkgroups200ResponseInnerOwner) *NullableListWorkgroups200ResponseInnerOwner { - return &NullableListWorkgroups200ResponseInnerOwner{value: val, isSet: true} -} - -func (v NullableListWorkgroups200ResponseInnerOwner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListWorkgroups200ResponseInnerOwner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_modify_workgroup_members_request.go b/api_v2/model_modify_workgroup_members_request.go deleted file mode 100644 index 453165efe..000000000 --- a/api_v2/model_modify_workgroup_members_request.go +++ /dev/null @@ -1,188 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the ModifyWorkgroupMembersRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ModifyWorkgroupMembersRequest{} - -// ModifyWorkgroupMembersRequest struct for ModifyWorkgroupMembersRequest -type ModifyWorkgroupMembersRequest struct { - Add []string `json:"add,omitempty"` - Remove []string `json:"remove,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ModifyWorkgroupMembersRequest ModifyWorkgroupMembersRequest - -// NewModifyWorkgroupMembersRequest instantiates a new ModifyWorkgroupMembersRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewModifyWorkgroupMembersRequest() *ModifyWorkgroupMembersRequest { - this := ModifyWorkgroupMembersRequest{} - return &this -} - -// NewModifyWorkgroupMembersRequestWithDefaults instantiates a new ModifyWorkgroupMembersRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewModifyWorkgroupMembersRequestWithDefaults() *ModifyWorkgroupMembersRequest { - this := ModifyWorkgroupMembersRequest{} - return &this -} - -// GetAdd returns the Add field value if set, zero value otherwise. -func (o *ModifyWorkgroupMembersRequest) GetAdd() []string { - if o == nil || isNil(o.Add) { - var ret []string - return ret - } - return o.Add -} - -// GetAddOk returns a tuple with the Add field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ModifyWorkgroupMembersRequest) GetAddOk() ([]string, bool) { - if o == nil || isNil(o.Add) { - return nil, false - } - return o.Add, true -} - -// HasAdd returns a boolean if a field has been set. -func (o *ModifyWorkgroupMembersRequest) HasAdd() bool { - if o != nil && !isNil(o.Add) { - return true - } - - return false -} - -// SetAdd gets a reference to the given []string and assigns it to the Add field. -func (o *ModifyWorkgroupMembersRequest) SetAdd(v []string) { - o.Add = v -} - -// GetRemove returns the Remove field value if set, zero value otherwise. -func (o *ModifyWorkgroupMembersRequest) GetRemove() []string { - if o == nil || isNil(o.Remove) { - var ret []string - return ret - } - return o.Remove -} - -// GetRemoveOk returns a tuple with the Remove field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ModifyWorkgroupMembersRequest) GetRemoveOk() ([]string, bool) { - if o == nil || isNil(o.Remove) { - return nil, false - } - return o.Remove, true -} - -// HasRemove returns a boolean if a field has been set. -func (o *ModifyWorkgroupMembersRequest) HasRemove() bool { - if o != nil && !isNil(o.Remove) { - return true - } - - return false -} - -// SetRemove gets a reference to the given []string and assigns it to the Remove field. -func (o *ModifyWorkgroupMembersRequest) SetRemove(v []string) { - o.Remove = v -} - -func (o ModifyWorkgroupMembersRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ModifyWorkgroupMembersRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.Add) { - toSerialize["add"] = o.Add - } - if !isNil(o.Remove) { - toSerialize["remove"] = o.Remove - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ModifyWorkgroupMembersRequest) UnmarshalJSON(bytes []byte) (err error) { - varModifyWorkgroupMembersRequest := _ModifyWorkgroupMembersRequest{} - - if err = json.Unmarshal(bytes, &varModifyWorkgroupMembersRequest); err == nil { - *o = ModifyWorkgroupMembersRequest(varModifyWorkgroupMembersRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "add") - delete(additionalProperties, "remove") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableModifyWorkgroupMembersRequest struct { - value *ModifyWorkgroupMembersRequest - isSet bool -} - -func (v NullableModifyWorkgroupMembersRequest) Get() *ModifyWorkgroupMembersRequest { - return v.value -} - -func (v *NullableModifyWorkgroupMembersRequest) Set(val *ModifyWorkgroupMembersRequest) { - v.value = val - v.isSet = true -} - -func (v NullableModifyWorkgroupMembersRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableModifyWorkgroupMembersRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableModifyWorkgroupMembersRequest(val *ModifyWorkgroupMembersRequest) *NullableModifyWorkgroupMembersRequest { - return &NullableModifyWorkgroupMembersRequest{value: val, isSet: true} -} - -func (v NullableModifyWorkgroupMembersRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableModifyWorkgroupMembersRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/model_update_org_settings_request.go b/api_v2/model_update_org_settings_request.go deleted file mode 100644 index a175ee1f4..000000000 --- a/api_v2/model_update_org_settings_request.go +++ /dev/null @@ -1,965 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" -) - -// checks if the UpdateOrgSettingsRequest type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &UpdateOrgSettingsRequest{} - -// UpdateOrgSettingsRequest struct for UpdateOrgSettingsRequest -type UpdateOrgSettingsRequest struct { - CountryCodes []string `json:"countryCodes,omitempty"` - EnableExternalPasswordChange *bool `json:"enableExternalPasswordChange,omitempty"` - EnableAutomaticPasswordReplay *bool `json:"enableAutomaticPasswordReplay,omitempty"` - EnableAutomationGeneration *bool `json:"enableAutomationGeneration,omitempty"` - KbaReqAnswers *int32 `json:"kbaReqAnswers,omitempty"` - KbaReqForAuthn *int32 `json:"kbaReqForAuthn,omitempty"` - LockoutAttemptThreshold *int32 `json:"lockoutAttemptThreshold,omitempty"` - LockoutTimeMinutes *int32 `json:"lockoutTimeMinutes,omitempty"` - LoginUrl *string `json:"loginUrl,omitempty"` - Netmasks []string `json:"netmasks,omitempty"` - NotifyAuthenticationSettingChange *bool `json:"notifyAuthenticationSettingChange,omitempty"` - PasswordReplayState *string `json:"passwordReplayState,omitempty"` - PreferredIdentityInviteTemplate *string `json:"preferredIdentityInviteTemplate,omitempty"` - RedirectPatterns []string `json:"redirectPatterns,omitempty"` - SsoPartnerSource *string `json:"ssoPartnerSource,omitempty"` - SystemNotificationEmails []string `json:"systemNotificationEmails,omitempty"` - TrackAnalytics *bool `json:"trackAnalytics,omitempty"` - UsageCertRequired *bool `json:"usageCertRequired,omitempty"` - UsageCertText *string `json:"usageCertText,omitempty"` - UsernameEmptyText *string `json:"usernameEmptyText,omitempty"` - UsernameLabel *string `json:"usernameLabel,omitempty"` - WhiteList *bool `json:"whiteList,omitempty"` - ApprovalConfig *GetOrgSettings200ResponseApprovalConfig `json:"approvalConfig,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _UpdateOrgSettingsRequest UpdateOrgSettingsRequest - -// NewUpdateOrgSettingsRequest instantiates a new UpdateOrgSettingsRequest object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewUpdateOrgSettingsRequest() *UpdateOrgSettingsRequest { - this := UpdateOrgSettingsRequest{} - return &this -} - -// NewUpdateOrgSettingsRequestWithDefaults instantiates a new UpdateOrgSettingsRequest object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewUpdateOrgSettingsRequestWithDefaults() *UpdateOrgSettingsRequest { - this := UpdateOrgSettingsRequest{} - return &this -} - -// GetCountryCodes returns the CountryCodes field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetCountryCodes() []string { - if o == nil || isNil(o.CountryCodes) { - var ret []string - return ret - } - return o.CountryCodes -} - -// GetCountryCodesOk returns a tuple with the CountryCodes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetCountryCodesOk() ([]string, bool) { - if o == nil || isNil(o.CountryCodes) { - return nil, false - } - return o.CountryCodes, true -} - -// HasCountryCodes returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasCountryCodes() bool { - if o != nil && !isNil(o.CountryCodes) { - return true - } - - return false -} - -// SetCountryCodes gets a reference to the given []string and assigns it to the CountryCodes field. -func (o *UpdateOrgSettingsRequest) SetCountryCodes(v []string) { - o.CountryCodes = v -} - -// GetEnableExternalPasswordChange returns the EnableExternalPasswordChange field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetEnableExternalPasswordChange() bool { - if o == nil || isNil(o.EnableExternalPasswordChange) { - var ret bool - return ret - } - return *o.EnableExternalPasswordChange -} - -// GetEnableExternalPasswordChangeOk returns a tuple with the EnableExternalPasswordChange field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetEnableExternalPasswordChangeOk() (*bool, bool) { - if o == nil || isNil(o.EnableExternalPasswordChange) { - return nil, false - } - return o.EnableExternalPasswordChange, true -} - -// HasEnableExternalPasswordChange returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasEnableExternalPasswordChange() bool { - if o != nil && !isNil(o.EnableExternalPasswordChange) { - return true - } - - return false -} - -// SetEnableExternalPasswordChange gets a reference to the given bool and assigns it to the EnableExternalPasswordChange field. -func (o *UpdateOrgSettingsRequest) SetEnableExternalPasswordChange(v bool) { - o.EnableExternalPasswordChange = &v -} - -// GetEnableAutomaticPasswordReplay returns the EnableAutomaticPasswordReplay field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetEnableAutomaticPasswordReplay() bool { - if o == nil || isNil(o.EnableAutomaticPasswordReplay) { - var ret bool - return ret - } - return *o.EnableAutomaticPasswordReplay -} - -// GetEnableAutomaticPasswordReplayOk returns a tuple with the EnableAutomaticPasswordReplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetEnableAutomaticPasswordReplayOk() (*bool, bool) { - if o == nil || isNil(o.EnableAutomaticPasswordReplay) { - return nil, false - } - return o.EnableAutomaticPasswordReplay, true -} - -// HasEnableAutomaticPasswordReplay returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasEnableAutomaticPasswordReplay() bool { - if o != nil && !isNil(o.EnableAutomaticPasswordReplay) { - return true - } - - return false -} - -// SetEnableAutomaticPasswordReplay gets a reference to the given bool and assigns it to the EnableAutomaticPasswordReplay field. -func (o *UpdateOrgSettingsRequest) SetEnableAutomaticPasswordReplay(v bool) { - o.EnableAutomaticPasswordReplay = &v -} - -// GetEnableAutomationGeneration returns the EnableAutomationGeneration field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetEnableAutomationGeneration() bool { - if o == nil || isNil(o.EnableAutomationGeneration) { - var ret bool - return ret - } - return *o.EnableAutomationGeneration -} - -// GetEnableAutomationGenerationOk returns a tuple with the EnableAutomationGeneration field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetEnableAutomationGenerationOk() (*bool, bool) { - if o == nil || isNil(o.EnableAutomationGeneration) { - return nil, false - } - return o.EnableAutomationGeneration, true -} - -// HasEnableAutomationGeneration returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasEnableAutomationGeneration() bool { - if o != nil && !isNil(o.EnableAutomationGeneration) { - return true - } - - return false -} - -// SetEnableAutomationGeneration gets a reference to the given bool and assigns it to the EnableAutomationGeneration field. -func (o *UpdateOrgSettingsRequest) SetEnableAutomationGeneration(v bool) { - o.EnableAutomationGeneration = &v -} - -// GetKbaReqAnswers returns the KbaReqAnswers field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetKbaReqAnswers() int32 { - if o == nil || isNil(o.KbaReqAnswers) { - var ret int32 - return ret - } - return *o.KbaReqAnswers -} - -// GetKbaReqAnswersOk returns a tuple with the KbaReqAnswers field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetKbaReqAnswersOk() (*int32, bool) { - if o == nil || isNil(o.KbaReqAnswers) { - return nil, false - } - return o.KbaReqAnswers, true -} - -// HasKbaReqAnswers returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasKbaReqAnswers() bool { - if o != nil && !isNil(o.KbaReqAnswers) { - return true - } - - return false -} - -// SetKbaReqAnswers gets a reference to the given int32 and assigns it to the KbaReqAnswers field. -func (o *UpdateOrgSettingsRequest) SetKbaReqAnswers(v int32) { - o.KbaReqAnswers = &v -} - -// GetKbaReqForAuthn returns the KbaReqForAuthn field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetKbaReqForAuthn() int32 { - if o == nil || isNil(o.KbaReqForAuthn) { - var ret int32 - return ret - } - return *o.KbaReqForAuthn -} - -// GetKbaReqForAuthnOk returns a tuple with the KbaReqForAuthn field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetKbaReqForAuthnOk() (*int32, bool) { - if o == nil || isNil(o.KbaReqForAuthn) { - return nil, false - } - return o.KbaReqForAuthn, true -} - -// HasKbaReqForAuthn returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasKbaReqForAuthn() bool { - if o != nil && !isNil(o.KbaReqForAuthn) { - return true - } - - return false -} - -// SetKbaReqForAuthn gets a reference to the given int32 and assigns it to the KbaReqForAuthn field. -func (o *UpdateOrgSettingsRequest) SetKbaReqForAuthn(v int32) { - o.KbaReqForAuthn = &v -} - -// GetLockoutAttemptThreshold returns the LockoutAttemptThreshold field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetLockoutAttemptThreshold() int32 { - if o == nil || isNil(o.LockoutAttemptThreshold) { - var ret int32 - return ret - } - return *o.LockoutAttemptThreshold -} - -// GetLockoutAttemptThresholdOk returns a tuple with the LockoutAttemptThreshold field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetLockoutAttemptThresholdOk() (*int32, bool) { - if o == nil || isNil(o.LockoutAttemptThreshold) { - return nil, false - } - return o.LockoutAttemptThreshold, true -} - -// HasLockoutAttemptThreshold returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasLockoutAttemptThreshold() bool { - if o != nil && !isNil(o.LockoutAttemptThreshold) { - return true - } - - return false -} - -// SetLockoutAttemptThreshold gets a reference to the given int32 and assigns it to the LockoutAttemptThreshold field. -func (o *UpdateOrgSettingsRequest) SetLockoutAttemptThreshold(v int32) { - o.LockoutAttemptThreshold = &v -} - -// GetLockoutTimeMinutes returns the LockoutTimeMinutes field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetLockoutTimeMinutes() int32 { - if o == nil || isNil(o.LockoutTimeMinutes) { - var ret int32 - return ret - } - return *o.LockoutTimeMinutes -} - -// GetLockoutTimeMinutesOk returns a tuple with the LockoutTimeMinutes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetLockoutTimeMinutesOk() (*int32, bool) { - if o == nil || isNil(o.LockoutTimeMinutes) { - return nil, false - } - return o.LockoutTimeMinutes, true -} - -// HasLockoutTimeMinutes returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasLockoutTimeMinutes() bool { - if o != nil && !isNil(o.LockoutTimeMinutes) { - return true - } - - return false -} - -// SetLockoutTimeMinutes gets a reference to the given int32 and assigns it to the LockoutTimeMinutes field. -func (o *UpdateOrgSettingsRequest) SetLockoutTimeMinutes(v int32) { - o.LockoutTimeMinutes = &v -} - -// GetLoginUrl returns the LoginUrl field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetLoginUrl() string { - if o == nil || isNil(o.LoginUrl) { - var ret string - return ret - } - return *o.LoginUrl -} - -// GetLoginUrlOk returns a tuple with the LoginUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetLoginUrlOk() (*string, bool) { - if o == nil || isNil(o.LoginUrl) { - return nil, false - } - return o.LoginUrl, true -} - -// HasLoginUrl returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasLoginUrl() bool { - if o != nil && !isNil(o.LoginUrl) { - return true - } - - return false -} - -// SetLoginUrl gets a reference to the given string and assigns it to the LoginUrl field. -func (o *UpdateOrgSettingsRequest) SetLoginUrl(v string) { - o.LoginUrl = &v -} - -// GetNetmasks returns the Netmasks field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetNetmasks() []string { - if o == nil || isNil(o.Netmasks) { - var ret []string - return ret - } - return o.Netmasks -} - -// GetNetmasksOk returns a tuple with the Netmasks field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetNetmasksOk() ([]string, bool) { - if o == nil || isNil(o.Netmasks) { - return nil, false - } - return o.Netmasks, true -} - -// HasNetmasks returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasNetmasks() bool { - if o != nil && !isNil(o.Netmasks) { - return true - } - - return false -} - -// SetNetmasks gets a reference to the given []string and assigns it to the Netmasks field. -func (o *UpdateOrgSettingsRequest) SetNetmasks(v []string) { - o.Netmasks = v -} - -// GetNotifyAuthenticationSettingChange returns the NotifyAuthenticationSettingChange field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetNotifyAuthenticationSettingChange() bool { - if o == nil || isNil(o.NotifyAuthenticationSettingChange) { - var ret bool - return ret - } - return *o.NotifyAuthenticationSettingChange -} - -// GetNotifyAuthenticationSettingChangeOk returns a tuple with the NotifyAuthenticationSettingChange field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetNotifyAuthenticationSettingChangeOk() (*bool, bool) { - if o == nil || isNil(o.NotifyAuthenticationSettingChange) { - return nil, false - } - return o.NotifyAuthenticationSettingChange, true -} - -// HasNotifyAuthenticationSettingChange returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasNotifyAuthenticationSettingChange() bool { - if o != nil && !isNil(o.NotifyAuthenticationSettingChange) { - return true - } - - return false -} - -// SetNotifyAuthenticationSettingChange gets a reference to the given bool and assigns it to the NotifyAuthenticationSettingChange field. -func (o *UpdateOrgSettingsRequest) SetNotifyAuthenticationSettingChange(v bool) { - o.NotifyAuthenticationSettingChange = &v -} - -// GetPasswordReplayState returns the PasswordReplayState field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetPasswordReplayState() string { - if o == nil || isNil(o.PasswordReplayState) { - var ret string - return ret - } - return *o.PasswordReplayState -} - -// GetPasswordReplayStateOk returns a tuple with the PasswordReplayState field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetPasswordReplayStateOk() (*string, bool) { - if o == nil || isNil(o.PasswordReplayState) { - return nil, false - } - return o.PasswordReplayState, true -} - -// HasPasswordReplayState returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasPasswordReplayState() bool { - if o != nil && !isNil(o.PasswordReplayState) { - return true - } - - return false -} - -// SetPasswordReplayState gets a reference to the given string and assigns it to the PasswordReplayState field. -func (o *UpdateOrgSettingsRequest) SetPasswordReplayState(v string) { - o.PasswordReplayState = &v -} - -// GetPreferredIdentityInviteTemplate returns the PreferredIdentityInviteTemplate field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetPreferredIdentityInviteTemplate() string { - if o == nil || isNil(o.PreferredIdentityInviteTemplate) { - var ret string - return ret - } - return *o.PreferredIdentityInviteTemplate -} - -// GetPreferredIdentityInviteTemplateOk returns a tuple with the PreferredIdentityInviteTemplate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetPreferredIdentityInviteTemplateOk() (*string, bool) { - if o == nil || isNil(o.PreferredIdentityInviteTemplate) { - return nil, false - } - return o.PreferredIdentityInviteTemplate, true -} - -// HasPreferredIdentityInviteTemplate returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasPreferredIdentityInviteTemplate() bool { - if o != nil && !isNil(o.PreferredIdentityInviteTemplate) { - return true - } - - return false -} - -// SetPreferredIdentityInviteTemplate gets a reference to the given string and assigns it to the PreferredIdentityInviteTemplate field. -func (o *UpdateOrgSettingsRequest) SetPreferredIdentityInviteTemplate(v string) { - o.PreferredIdentityInviteTemplate = &v -} - -// GetRedirectPatterns returns the RedirectPatterns field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetRedirectPatterns() []string { - if o == nil || isNil(o.RedirectPatterns) { - var ret []string - return ret - } - return o.RedirectPatterns -} - -// GetRedirectPatternsOk returns a tuple with the RedirectPatterns field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetRedirectPatternsOk() ([]string, bool) { - if o == nil || isNil(o.RedirectPatterns) { - return nil, false - } - return o.RedirectPatterns, true -} - -// HasRedirectPatterns returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasRedirectPatterns() bool { - if o != nil && !isNil(o.RedirectPatterns) { - return true - } - - return false -} - -// SetRedirectPatterns gets a reference to the given []string and assigns it to the RedirectPatterns field. -func (o *UpdateOrgSettingsRequest) SetRedirectPatterns(v []string) { - o.RedirectPatterns = v -} - -// GetSsoPartnerSource returns the SsoPartnerSource field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetSsoPartnerSource() string { - if o == nil || isNil(o.SsoPartnerSource) { - var ret string - return ret - } - return *o.SsoPartnerSource -} - -// GetSsoPartnerSourceOk returns a tuple with the SsoPartnerSource field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetSsoPartnerSourceOk() (*string, bool) { - if o == nil || isNil(o.SsoPartnerSource) { - return nil, false - } - return o.SsoPartnerSource, true -} - -// HasSsoPartnerSource returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasSsoPartnerSource() bool { - if o != nil && !isNil(o.SsoPartnerSource) { - return true - } - - return false -} - -// SetSsoPartnerSource gets a reference to the given string and assigns it to the SsoPartnerSource field. -func (o *UpdateOrgSettingsRequest) SetSsoPartnerSource(v string) { - o.SsoPartnerSource = &v -} - -// GetSystemNotificationEmails returns the SystemNotificationEmails field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetSystemNotificationEmails() []string { - if o == nil || isNil(o.SystemNotificationEmails) { - var ret []string - return ret - } - return o.SystemNotificationEmails -} - -// GetSystemNotificationEmailsOk returns a tuple with the SystemNotificationEmails field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetSystemNotificationEmailsOk() ([]string, bool) { - if o == nil || isNil(o.SystemNotificationEmails) { - return nil, false - } - return o.SystemNotificationEmails, true -} - -// HasSystemNotificationEmails returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasSystemNotificationEmails() bool { - if o != nil && !isNil(o.SystemNotificationEmails) { - return true - } - - return false -} - -// SetSystemNotificationEmails gets a reference to the given []string and assigns it to the SystemNotificationEmails field. -func (o *UpdateOrgSettingsRequest) SetSystemNotificationEmails(v []string) { - o.SystemNotificationEmails = v -} - -// GetTrackAnalytics returns the TrackAnalytics field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetTrackAnalytics() bool { - if o == nil || isNil(o.TrackAnalytics) { - var ret bool - return ret - } - return *o.TrackAnalytics -} - -// GetTrackAnalyticsOk returns a tuple with the TrackAnalytics field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetTrackAnalyticsOk() (*bool, bool) { - if o == nil || isNil(o.TrackAnalytics) { - return nil, false - } - return o.TrackAnalytics, true -} - -// HasTrackAnalytics returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasTrackAnalytics() bool { - if o != nil && !isNil(o.TrackAnalytics) { - return true - } - - return false -} - -// SetTrackAnalytics gets a reference to the given bool and assigns it to the TrackAnalytics field. -func (o *UpdateOrgSettingsRequest) SetTrackAnalytics(v bool) { - o.TrackAnalytics = &v -} - -// GetUsageCertRequired returns the UsageCertRequired field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetUsageCertRequired() bool { - if o == nil || isNil(o.UsageCertRequired) { - var ret bool - return ret - } - return *o.UsageCertRequired -} - -// GetUsageCertRequiredOk returns a tuple with the UsageCertRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetUsageCertRequiredOk() (*bool, bool) { - if o == nil || isNil(o.UsageCertRequired) { - return nil, false - } - return o.UsageCertRequired, true -} - -// HasUsageCertRequired returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasUsageCertRequired() bool { - if o != nil && !isNil(o.UsageCertRequired) { - return true - } - - return false -} - -// SetUsageCertRequired gets a reference to the given bool and assigns it to the UsageCertRequired field. -func (o *UpdateOrgSettingsRequest) SetUsageCertRequired(v bool) { - o.UsageCertRequired = &v -} - -// GetUsageCertText returns the UsageCertText field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetUsageCertText() string { - if o == nil || isNil(o.UsageCertText) { - var ret string - return ret - } - return *o.UsageCertText -} - -// GetUsageCertTextOk returns a tuple with the UsageCertText field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetUsageCertTextOk() (*string, bool) { - if o == nil || isNil(o.UsageCertText) { - return nil, false - } - return o.UsageCertText, true -} - -// HasUsageCertText returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasUsageCertText() bool { - if o != nil && !isNil(o.UsageCertText) { - return true - } - - return false -} - -// SetUsageCertText gets a reference to the given string and assigns it to the UsageCertText field. -func (o *UpdateOrgSettingsRequest) SetUsageCertText(v string) { - o.UsageCertText = &v -} - -// GetUsernameEmptyText returns the UsernameEmptyText field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetUsernameEmptyText() string { - if o == nil || isNil(o.UsernameEmptyText) { - var ret string - return ret - } - return *o.UsernameEmptyText -} - -// GetUsernameEmptyTextOk returns a tuple with the UsernameEmptyText field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetUsernameEmptyTextOk() (*string, bool) { - if o == nil || isNil(o.UsernameEmptyText) { - return nil, false - } - return o.UsernameEmptyText, true -} - -// HasUsernameEmptyText returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasUsernameEmptyText() bool { - if o != nil && !isNil(o.UsernameEmptyText) { - return true - } - - return false -} - -// SetUsernameEmptyText gets a reference to the given string and assigns it to the UsernameEmptyText field. -func (o *UpdateOrgSettingsRequest) SetUsernameEmptyText(v string) { - o.UsernameEmptyText = &v -} - -// GetUsernameLabel returns the UsernameLabel field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetUsernameLabel() string { - if o == nil || isNil(o.UsernameLabel) { - var ret string - return ret - } - return *o.UsernameLabel -} - -// GetUsernameLabelOk returns a tuple with the UsernameLabel field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetUsernameLabelOk() (*string, bool) { - if o == nil || isNil(o.UsernameLabel) { - return nil, false - } - return o.UsernameLabel, true -} - -// HasUsernameLabel returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasUsernameLabel() bool { - if o != nil && !isNil(o.UsernameLabel) { - return true - } - - return false -} - -// SetUsernameLabel gets a reference to the given string and assigns it to the UsernameLabel field. -func (o *UpdateOrgSettingsRequest) SetUsernameLabel(v string) { - o.UsernameLabel = &v -} - -// GetWhiteList returns the WhiteList field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetWhiteList() bool { - if o == nil || isNil(o.WhiteList) { - var ret bool - return ret - } - return *o.WhiteList -} - -// GetWhiteListOk returns a tuple with the WhiteList field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetWhiteListOk() (*bool, bool) { - if o == nil || isNil(o.WhiteList) { - return nil, false - } - return o.WhiteList, true -} - -// HasWhiteList returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasWhiteList() bool { - if o != nil && !isNil(o.WhiteList) { - return true - } - - return false -} - -// SetWhiteList gets a reference to the given bool and assigns it to the WhiteList field. -func (o *UpdateOrgSettingsRequest) SetWhiteList(v bool) { - o.WhiteList = &v -} - -// GetApprovalConfig returns the ApprovalConfig field value if set, zero value otherwise. -func (o *UpdateOrgSettingsRequest) GetApprovalConfig() GetOrgSettings200ResponseApprovalConfig { - if o == nil || isNil(o.ApprovalConfig) { - var ret GetOrgSettings200ResponseApprovalConfig - return ret - } - return *o.ApprovalConfig -} - -// GetApprovalConfigOk returns a tuple with the ApprovalConfig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UpdateOrgSettingsRequest) GetApprovalConfigOk() (*GetOrgSettings200ResponseApprovalConfig, bool) { - if o == nil || isNil(o.ApprovalConfig) { - return nil, false - } - return o.ApprovalConfig, true -} - -// HasApprovalConfig returns a boolean if a field has been set. -func (o *UpdateOrgSettingsRequest) HasApprovalConfig() bool { - if o != nil && !isNil(o.ApprovalConfig) { - return true - } - - return false -} - -// SetApprovalConfig gets a reference to the given GetOrgSettings200ResponseApprovalConfig and assigns it to the ApprovalConfig field. -func (o *UpdateOrgSettingsRequest) SetApprovalConfig(v GetOrgSettings200ResponseApprovalConfig) { - o.ApprovalConfig = &v -} - -func (o UpdateOrgSettingsRequest) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o UpdateOrgSettingsRequest) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !isNil(o.CountryCodes) { - toSerialize["countryCodes"] = o.CountryCodes - } - if !isNil(o.EnableExternalPasswordChange) { - toSerialize["enableExternalPasswordChange"] = o.EnableExternalPasswordChange - } - if !isNil(o.EnableAutomaticPasswordReplay) { - toSerialize["enableAutomaticPasswordReplay"] = o.EnableAutomaticPasswordReplay - } - if !isNil(o.EnableAutomationGeneration) { - toSerialize["enableAutomationGeneration"] = o.EnableAutomationGeneration - } - if !isNil(o.KbaReqAnswers) { - toSerialize["kbaReqAnswers"] = o.KbaReqAnswers - } - if !isNil(o.KbaReqForAuthn) { - toSerialize["kbaReqForAuthn"] = o.KbaReqForAuthn - } - if !isNil(o.LockoutAttemptThreshold) { - toSerialize["lockoutAttemptThreshold"] = o.LockoutAttemptThreshold - } - if !isNil(o.LockoutTimeMinutes) { - toSerialize["lockoutTimeMinutes"] = o.LockoutTimeMinutes - } - if !isNil(o.LoginUrl) { - toSerialize["loginUrl"] = o.LoginUrl - } - if !isNil(o.Netmasks) { - toSerialize["netmasks"] = o.Netmasks - } - if !isNil(o.NotifyAuthenticationSettingChange) { - toSerialize["notifyAuthenticationSettingChange"] = o.NotifyAuthenticationSettingChange - } - if !isNil(o.PasswordReplayState) { - toSerialize["passwordReplayState"] = o.PasswordReplayState - } - if !isNil(o.PreferredIdentityInviteTemplate) { - toSerialize["preferredIdentityInviteTemplate"] = o.PreferredIdentityInviteTemplate - } - if !isNil(o.RedirectPatterns) { - toSerialize["redirectPatterns"] = o.RedirectPatterns - } - if !isNil(o.SsoPartnerSource) { - toSerialize["ssoPartnerSource"] = o.SsoPartnerSource - } - if !isNil(o.SystemNotificationEmails) { - toSerialize["systemNotificationEmails"] = o.SystemNotificationEmails - } - if !isNil(o.TrackAnalytics) { - toSerialize["trackAnalytics"] = o.TrackAnalytics - } - if !isNil(o.UsageCertRequired) { - toSerialize["usageCertRequired"] = o.UsageCertRequired - } - if !isNil(o.UsageCertText) { - toSerialize["usageCertText"] = o.UsageCertText - } - if !isNil(o.UsernameEmptyText) { - toSerialize["usernameEmptyText"] = o.UsernameEmptyText - } - if !isNil(o.UsernameLabel) { - toSerialize["usernameLabel"] = o.UsernameLabel - } - if !isNil(o.WhiteList) { - toSerialize["whiteList"] = o.WhiteList - } - if !isNil(o.ApprovalConfig) { - toSerialize["approvalConfig"] = o.ApprovalConfig - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *UpdateOrgSettingsRequest) UnmarshalJSON(bytes []byte) (err error) { - varUpdateOrgSettingsRequest := _UpdateOrgSettingsRequest{} - - if err = json.Unmarshal(bytes, &varUpdateOrgSettingsRequest); err == nil { - *o = UpdateOrgSettingsRequest(varUpdateOrgSettingsRequest) -} - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(bytes, &additionalProperties); err == nil { - delete(additionalProperties, "countryCodes") - delete(additionalProperties, "enableExternalPasswordChange") - delete(additionalProperties, "enableAutomaticPasswordReplay") - delete(additionalProperties, "enableAutomationGeneration") - delete(additionalProperties, "kbaReqAnswers") - delete(additionalProperties, "kbaReqForAuthn") - delete(additionalProperties, "lockoutAttemptThreshold") - delete(additionalProperties, "lockoutTimeMinutes") - delete(additionalProperties, "loginUrl") - delete(additionalProperties, "netmasks") - delete(additionalProperties, "notifyAuthenticationSettingChange") - delete(additionalProperties, "passwordReplayState") - delete(additionalProperties, "preferredIdentityInviteTemplate") - delete(additionalProperties, "redirectPatterns") - delete(additionalProperties, "ssoPartnerSource") - delete(additionalProperties, "systemNotificationEmails") - delete(additionalProperties, "trackAnalytics") - delete(additionalProperties, "usageCertRequired") - delete(additionalProperties, "usageCertText") - delete(additionalProperties, "usernameEmptyText") - delete(additionalProperties, "usernameLabel") - delete(additionalProperties, "whiteList") - delete(additionalProperties, "approvalConfig") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableUpdateOrgSettingsRequest struct { - value *UpdateOrgSettingsRequest - isSet bool -} - -func (v NullableUpdateOrgSettingsRequest) Get() *UpdateOrgSettingsRequest { - return v.value -} - -func (v *NullableUpdateOrgSettingsRequest) Set(val *UpdateOrgSettingsRequest) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateOrgSettingsRequest) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateOrgSettingsRequest) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateOrgSettingsRequest(val *UpdateOrgSettingsRequest) *NullableUpdateOrgSettingsRequest { - return &NullableUpdateOrgSettingsRequest{value: val, isSet: true} -} - -func (v NullableUpdateOrgSettingsRequest) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateOrgSettingsRequest) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/api_v2/response.go b/api_v2/response.go deleted file mode 100644 index 7a59456b8..000000000 --- a/api_v2/response.go +++ /dev/null @@ -1,47 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "net/http" -) - -// APIResponse stores the API response returned by the server. -type APIResponse struct { - *http.Response `json:"-"` - Message string `json:"message,omitempty"` - // Operation is the name of the OpenAPI operation. - Operation string `json:"operation,omitempty"` - // RequestURL is the request URL. This value is always available, even if the - // embedded *http.Response is nil. - RequestURL string `json:"url,omitempty"` - // Method is the HTTP method used for the request. This value is always - // available, even if the embedded *http.Response is nil. - Method string `json:"method,omitempty"` - // Payload holds the contents of the response body (which may be nil or empty). - // This is provided here as the raw response.Body() reader will have already - // been drained. - Payload []byte `json:"-"` -} - -// NewAPIResponse returns a new APIResponse object. -func NewAPIResponse(r *http.Response) *APIResponse { - - response := &APIResponse{Response: r} - return response -} - -// NewAPIResponseWithError returns a new APIResponse object with the provided error message. -func NewAPIResponseWithError(errorMessage string) *APIResponse { - - response := &APIResponse{Message: errorMessage} - return response -} diff --git a/api_v2/test/api_governance_groups_test.go b/api_v2/test/api_governance_groups_test.go deleted file mode 100644 index 2c8ef783d..000000000 --- a/api_v2/test/api_governance_groups_test.go +++ /dev/null @@ -1,143 +0,0 @@ -/* -SailPoint SaaS API - -Testing GovernanceGroupsAPIService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api_v2 - -import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func Test_api_v2_GovernanceGroupsAPIService(t *testing.T) { - - configuration := openapiclient.NewDefaultConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test GovernanceGroupsAPIService BulkDeleteWorkGroups", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_V2.GovernanceGroupsAPI.BulkDeleteWorkGroups(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GovernanceGroupsAPIService CreateWorkgroup", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_V2.GovernanceGroupsAPI.CreateWorkgroup(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GovernanceGroupsAPIService DeleteWorkgroup", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var workgroupId string - - httpRes, err := apiClient.API_V2.GovernanceGroupsAPI.DeleteWorkgroup(context.Background(), workgroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GovernanceGroupsAPIService GetWorkgroup", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var workgroupId string - - resp, httpRes, err := apiClient.API_V2.GovernanceGroupsAPI.GetWorkgroup(context.Background(), workgroupId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GovernanceGroupsAPIService ListWorkgroupConnections", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var workgroupId string - - resp, httpRes, err := apiClient.API_V2.GovernanceGroupsAPI.ListWorkgroupConnections(context.Background(), workgroupId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GovernanceGroupsAPIService ListWorkgroupMembers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var workgroupId string - - resp, httpRes, err := apiClient.API_V2.GovernanceGroupsAPI.ListWorkgroupMembers(context.Background(), workgroupId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GovernanceGroupsAPIService ListWorkgroups", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_V2.GovernanceGroupsAPI.ListWorkgroups(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GovernanceGroupsAPIService ModifyWorkgroupMembers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var workgroupId string - - httpRes, err := apiClient.API_V2.GovernanceGroupsAPI.ModifyWorkgroupMembers(context.Background(), workgroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GovernanceGroupsAPIService UpdateWorkgroup", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var workgroupId string - - resp, httpRes, err := apiClient.API_V2.GovernanceGroupsAPI.UpdateWorkgroup(context.Background(), workgroupId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api_v2/test/api_org_test.go b/api_v2/test/api_org_test.go deleted file mode 100644 index 21be5211e..000000000 --- a/api_v2/test/api_org_test.go +++ /dev/null @@ -1,49 +0,0 @@ -/* -SailPoint SaaS API - -Testing OrgAPIService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api_v2 - -import ( - "context" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" - openapiclient "github.com/sailpoint-oss/golang-sdk/v2" -) - -func Test_api_v2_OrgAPIService(t *testing.T) { - - configuration := openapiclient.NewDefaultConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test OrgAPIService GetOrgSettings", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_V2.OrgAPI.GetOrgSettings(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrgAPIService UpdateOrgSettings", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.API_V2.OrgAPI.UpdateOrgSettings(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api_v2/utils.go b/api_v2/utils.go deleted file mode 100644 index c47dd3114..000000000 --- a/api_v2/utils.go +++ /dev/null @@ -1,347 +0,0 @@ -/* -SailPoint SaaS API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 2.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api_v2 - -import ( - "encoding/json" - "reflect" - "time" -) - -// PtrBool is a helper routine that returns a pointer to given boolean value. -func PtrBool(v bool) *bool { return &v } - -// PtrInt is a helper routine that returns a pointer to given integer value. -func PtrInt(v int) *int { return &v } - -// PtrInt32 is a helper routine that returns a pointer to given integer value. -func PtrInt32(v int32) *int32 { return &v } - -// PtrInt64 is a helper routine that returns a pointer to given integer value. -func PtrInt64(v int64) *int64 { return &v } - -// PtrFloat32 is a helper routine that returns a pointer to given float value. -func PtrFloat32(v float32) *float32 { return &v } - -// PtrFloat64 is a helper routine that returns a pointer to given float value. -func PtrFloat64(v float64) *float64 { return &v } - -// PtrString is a helper routine that returns a pointer to given string value. -func PtrString(v string) *string { return &v } - -// PtrTime is helper routine that returns a pointer to given Time value. -func PtrTime(v time.Time) *time.Time { return &v } - -type NullableBool struct { - value *bool - isSet bool -} - -func (v NullableBool) Get() *bool { - return v.value -} - -func (v *NullableBool) Set(val *bool) { - v.value = val - v.isSet = true -} - -func (v NullableBool) IsSet() bool { - return v.isSet -} - -func (v *NullableBool) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBool(val *bool) *NullableBool { - return &NullableBool{value: val, isSet: true} -} - -func (v NullableBool) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBool) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableInt struct { - value *int - isSet bool -} - -func (v NullableInt) Get() *int { - return v.value -} - -func (v *NullableInt) Set(val *int) { - v.value = val - v.isSet = true -} - -func (v NullableInt) IsSet() bool { - return v.isSet -} - -func (v *NullableInt) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableInt(val *int) *NullableInt { - return &NullableInt{value: val, isSet: true} -} - -func (v NullableInt) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableInt) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableInt32 struct { - value *int32 - isSet bool -} - -func (v NullableInt32) Get() *int32 { - return v.value -} - -func (v *NullableInt32) Set(val *int32) { - v.value = val - v.isSet = true -} - -func (v NullableInt32) IsSet() bool { - return v.isSet -} - -func (v *NullableInt32) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableInt32(val *int32) *NullableInt32 { - return &NullableInt32{value: val, isSet: true} -} - -func (v NullableInt32) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableInt32) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableInt64 struct { - value *int64 - isSet bool -} - -func (v NullableInt64) Get() *int64 { - return v.value -} - -func (v *NullableInt64) Set(val *int64) { - v.value = val - v.isSet = true -} - -func (v NullableInt64) IsSet() bool { - return v.isSet -} - -func (v *NullableInt64) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableInt64(val *int64) *NullableInt64 { - return &NullableInt64{value: val, isSet: true} -} - -func (v NullableInt64) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableInt64) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableFloat32 struct { - value *float32 - isSet bool -} - -func (v NullableFloat32) Get() *float32 { - return v.value -} - -func (v *NullableFloat32) Set(val *float32) { - v.value = val - v.isSet = true -} - -func (v NullableFloat32) IsSet() bool { - return v.isSet -} - -func (v *NullableFloat32) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFloat32(val *float32) *NullableFloat32 { - return &NullableFloat32{value: val, isSet: true} -} - -func (v NullableFloat32) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFloat32) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableFloat64 struct { - value *float64 - isSet bool -} - -func (v NullableFloat64) Get() *float64 { - return v.value -} - -func (v *NullableFloat64) Set(val *float64) { - v.value = val - v.isSet = true -} - -func (v NullableFloat64) IsSet() bool { - return v.isSet -} - -func (v *NullableFloat64) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFloat64(val *float64) *NullableFloat64 { - return &NullableFloat64{value: val, isSet: true} -} - -func (v NullableFloat64) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFloat64) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableString struct { - value *string - isSet bool -} - -func (v NullableString) Get() *string { - return v.value -} - -func (v *NullableString) Set(val *string) { - v.value = val - v.isSet = true -} - -func (v NullableString) IsSet() bool { - return v.isSet -} - -func (v *NullableString) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableString(val *string) *NullableString { - return &NullableString{value: val, isSet: true} -} - -func (v NullableString) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableString) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -type NullableTime struct { - value *time.Time - isSet bool -} - -func (v NullableTime) Get() *time.Time { - return v.value -} - -func (v *NullableTime) Set(val *time.Time) { - v.value = val - v.isSet = true -} - -func (v NullableTime) IsSet() bool { - return v.isSet -} - -func (v *NullableTime) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableTime(val *time.Time) *NullableTime { - return &NullableTime{value: val, isSet: true} -} - -func (v NullableTime) MarshalJSON() ([]byte, error) { - return v.value.MarshalJSON() -} - -func (v *NullableTime) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - -// isNil checks if an input is nil -func isNil(i interface{}) bool { - if i == nil { - return true - } - switch reflect.TypeOf(i).Kind() { - case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: - return reflect.ValueOf(i).IsNil() - case reflect.Array: - return reflect.ValueOf(i).IsZero() - } - return false -} - -type MappedNullable interface { - ToMap() (map[string]interface{}, error) -} diff --git a/client.go b/client.go index 86d7cd0e2..6aaaccfa1 100644 --- a/client.go +++ b/client.go @@ -13,8 +13,6 @@ import ( "github.com/hashicorp/go-retryablehttp" beta "github.com/sailpoint-oss/golang-sdk/v2/api_beta" - cc "github.com/sailpoint-oss/golang-sdk/v2/api_cc" - v2 "github.com/sailpoint-oss/golang-sdk/v2/api_v2" v3 "github.com/sailpoint-oss/golang-sdk/v2/api_v3" ) @@ -32,17 +30,13 @@ type APIClient struct { // API Services V3 *v3.APIClient - V2 *v2.APIClient Beta *beta.APIClient - CC *cc.APIClient token string } type service struct { client *v3.APIClient - v2client *v2.APIClient betaClient *beta.APIClient - ccClient *cc.APIClient } // NewAPIClient creates a new API client. Requires a userAgent string describing your application. @@ -55,19 +49,13 @@ func NewAPIClient(cfg *Configuration) *APIClient { c := &APIClient{} CV3 := v3.NewConfiguration(cfg.ClientConfiguration.ClientId, cfg.ClientConfiguration.ClientSecret, cfg.ClientConfiguration.BaseURL+"/v3", cfg.ClientConfiguration.TokenURL, cfg.ClientConfiguration.Token) - CV2 := v2.NewConfiguration(cfg.ClientConfiguration.ClientId, cfg.ClientConfiguration.ClientSecret, cfg.ClientConfiguration.BaseURL+"/v2", cfg.ClientConfiguration.TokenURL, cfg.ClientConfiguration.Token) CBeta := beta.NewConfiguration(cfg.ClientConfiguration.ClientId, cfg.ClientConfiguration.ClientSecret, cfg.ClientConfiguration.BaseURL+"/beta", cfg.ClientConfiguration.TokenURL, cfg.ClientConfiguration.Token) - CCC := cc.NewConfiguration(cfg.ClientConfiguration.ClientId, cfg.ClientConfiguration.ClientSecret, cfg.ClientConfiguration.BaseURL, cfg.ClientConfiguration.TokenURL, cfg.ClientConfiguration.Token) CV3.HTTPClient = cfg.HTTPClient - CV2.HTTPClient = cfg.HTTPClient CBeta.HTTPClient = cfg.HTTPClient - CCC.HTTPClient = cfg.HTTPClient c.V3 = v3.NewAPIClient(CV3) - c.V2 = v2.NewAPIClient(CV2) c.Beta = beta.NewAPIClient(CBeta) - c.CC = cc.NewAPIClient(CCC) // API Services diff --git a/examples/sdk.go b/examples/sdk.go index b3ea1b09a..87b1365df 100644 --- a/examples/sdk.go +++ b/examples/sdk.go @@ -7,7 +7,7 @@ import ( "os" sailpoint "github.com/sailpoint-oss/golang-sdk/v2" - v3 "github.com/sailpoint-oss/golang-sdk/v2/v3" + v3 "github.com/sailpoint-oss/golang-sdk/v2/api_v3" ) func main() { @@ -26,7 +26,7 @@ func main() { } func getResults(ctx context.Context, apiClient *sailpoint.APIClient) { - resp, r, err := apiClient.V3.AccountsApi.ListAccounts(ctx).Execute() + resp, r, err := apiClient.V3.AccountsAPI.ListAccounts(ctx).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AccountsApi.ListAccount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -64,7 +64,7 @@ func getSearchResults(ctx context.Context, apiClient *sailpoint.APIClient) { } func getTransformResults(ctx context.Context, apiClient *sailpoint.APIClient) { - resp, r, err := apiClient.V3.TransformsApi.ListTransforms(ctx).Execute() + resp, r, err := apiClient.V3.TransformsAPI.ListTransforms(ctx).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TransformsApi.GetTransformsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -74,7 +74,7 @@ func getTransformResults(ctx context.Context, apiClient *sailpoint.APIClient) { } func getAllPaginatedResults(ctx context.Context, apiClient *sailpoint.APIClient) { - resp, r, err := sailpoint.PaginateWithDefaults[v3.Account](apiClient.V3.AccountsApi.ListAccounts(ctx)) + resp, r, err := sailpoint.PaginateWithDefaults[v3.Account](apiClient.V3.AccountsAPI.ListAccounts(ctx)) if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AccountsApi.ListAccount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -84,7 +84,7 @@ func getAllPaginatedResults(ctx context.Context, apiClient *sailpoint.APIClient) } func getBeta(ctx context.Context, apiClient *sailpoint.APIClient) { - resp, _, err := apiClient.Beta.AccountsApi.ListAccounts(context.TODO()).Execute() + resp, _, err := apiClient.Beta.AccountsAPI.ListAccounts(context.TODO()).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AccountsApi.ListAccount``: %v\n", err) //fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/sdk-resources/cc-config.yaml b/sdk-resources/cc-config.yaml deleted file mode 100644 index d1492c459..000000000 --- a/sdk-resources/cc-config.yaml +++ /dev/null @@ -1,9 +0,0 @@ -templateDir: ./sdk-resources/resources -packageName: api_cc -packageVersion: 2.0.1 -generateInterfaces: false -disallowAdditionalPropertiesIfNotPresent: false -useOneOfDiscriminatorLookup: false -enumClassPrefix: true -gitRepoId: golang-sdk/v2 -gitUserId: sailpoint-oss diff --git a/sdk-resources/v2-config.yaml b/sdk-resources/v2-config.yaml deleted file mode 100644 index 64768d397..000000000 --- a/sdk-resources/v2-config.yaml +++ /dev/null @@ -1,9 +0,0 @@ -templateDir: ./sdk-resources/resources -packageName: api_v2 -packageVersion: 2.0.1 -generateInterfaces: false -disallowAdditionalPropertiesIfNotPresent: false -useOneOfDiscriminatorLookup: false -enumClassPrefix: true -gitRepoId: golang-sdk/v2 -gitUserId: sailpoint-oss diff --git a/validation_test.go b/validation_test.go index dbc998946..d90be1841 100644 --- a/validation_test.go +++ b/validation_test.go @@ -132,24 +132,3 @@ func Test_beta(t *testing.T) { }) } -func Test_v2(t *testing.T) { - configuration := NewDefaultConfiguration() - apiClient := NewAPIClient(configuration) - - resp, r, err := apiClient.V2.GovernanceGroupsAPI.ListWorkgroups(context.TODO()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, r.StatusCode) -} - -func Test_cc(t *testing.T) { - configuration := NewDefaultConfiguration() - apiClient := NewAPIClient(configuration) - - resp, r, err := apiClient.CC.AccountsAPI.ListAccounts(context.TODO()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, r.StatusCode) -}