Skip to content

Commit

Permalink
Merge pull request #12 from mulesoft-consulting/dev
Browse files Browse the repository at this point in the history
Fixes issue on Org
  • Loading branch information
soufi authored Apr 28, 2021
2 parents bf07b4c + 2da9e5e commit ff375ac
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 46 deletions.
14 changes: 10 additions & 4 deletions org/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,16 +256,22 @@ components:
designCenter:
api: false
mozart: false
name: '{}'
ownerId: '{}'
name: name
ownerId: ownerId
parentOrganizationId: parentOrganizationId
properties:
entitlements:
$ref: '#/components/schemas/BGCore/properties/entitlements'
name:
$ref: '#/components/schemas/BGCore/properties/name'
default: ""
description: An explanation about the purpose of this instance.
title: name
type: string
ownerId:
$ref: '#/components/schemas/BGCore/properties/ownerId'
default: ""
description: An explanation about the purpose of this instance.
title: ownerId
type: string
parentOrganizationId:
default: ""
description: An explanation about the purpose of this instance.
Expand Down
18 changes: 9 additions & 9 deletions org/docs/BGPostReqBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Entitlements** | [**Entitlements**](Entitlements.md) | |
**Name** | [**Name**](Name.md) | |
**OwnerId** | [**OwnerId**](OwnerId.md) | |
**Name** | **string** | An explanation about the purpose of this instance. | [default to ""]
**OwnerId** | **string** | An explanation about the purpose of this instance. | [default to ""]
**ParentOrganizationId** | **string** | An explanation about the purpose of this instance. | [default to ""]

## Methods

### NewBGPostReqBody

`func NewBGPostReqBody(entitlements Entitlements, name Name, ownerId OwnerId, parentOrganizationId string, ) *BGPostReqBody`
`func NewBGPostReqBody(entitlements Entitlements, name string, ownerId string, parentOrganizationId string, ) *BGPostReqBody`

NewBGPostReqBody instantiates a new BGPostReqBody object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -50,40 +50,40 @@ SetEntitlements sets Entitlements field to given value.

### GetName

`func (o *BGPostReqBody) GetName() Name`
`func (o *BGPostReqBody) GetName() string`

GetName returns the Name field if non-nil, zero value otherwise.

### GetNameOk

`func (o *BGPostReqBody) GetNameOk() (*Name, bool)`
`func (o *BGPostReqBody) 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 *BGPostReqBody) SetName(v Name)`
`func (o *BGPostReqBody) SetName(v string)`

SetName sets Name field to given value.


### GetOwnerId

`func (o *BGPostReqBody) GetOwnerId() OwnerId`
`func (o *BGPostReqBody) GetOwnerId() string`

GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.

### GetOwnerIdOk

`func (o *BGPostReqBody) GetOwnerIdOk() (*OwnerId, bool)`
`func (o *BGPostReqBody) GetOwnerIdOk() (*string, bool)`

GetOwnerIdOk returns a tuple with the OwnerId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetOwnerId

`func (o *BGPostReqBody) SetOwnerId(v OwnerId)`
`func (o *BGPostReqBody) SetOwnerId(v string)`

SetOwnerId sets OwnerId field to given value.

Expand Down
18 changes: 9 additions & 9 deletions org/docs/BGPutReqBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Entitlements** | [**Entitlements**](Entitlements.md) | |
**Name** | [**Name**](Name.md) | |
**OwnerId** | [**OwnerId**](OwnerId.md) | |
**Name** | **string** | An explanation about the purpose of this instance. | [default to ""]
**OwnerId** | **string** | An explanation about the purpose of this instance. | [default to ""]
**ParentOrganizationId** | **string** | An explanation about the purpose of this instance. | [default to ""]
**SessionTimeout** | **int32** | An explanation about the purpose of this instance. | [default to 0]

## Methods

### NewBGPutReqBody

`func NewBGPutReqBody(entitlements Entitlements, name Name, ownerId OwnerId, parentOrganizationId string, sessionTimeout int32, ) *BGPutReqBody`
`func NewBGPutReqBody(entitlements Entitlements, name string, ownerId string, parentOrganizationId string, sessionTimeout int32, ) *BGPutReqBody`

NewBGPutReqBody instantiates a new BGPutReqBody object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -51,40 +51,40 @@ SetEntitlements sets Entitlements field to given value.

### GetName

`func (o *BGPutReqBody) GetName() Name`
`func (o *BGPutReqBody) GetName() string`

GetName returns the Name field if non-nil, zero value otherwise.

### GetNameOk

`func (o *BGPutReqBody) GetNameOk() (*Name, bool)`
`func (o *BGPutReqBody) 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 *BGPutReqBody) SetName(v Name)`
`func (o *BGPutReqBody) SetName(v string)`

SetName sets Name field to given value.


### GetOwnerId

`func (o *BGPutReqBody) GetOwnerId() OwnerId`
`func (o *BGPutReqBody) GetOwnerId() string`

GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.

### GetOwnerIdOk

`func (o *BGPutReqBody) GetOwnerIdOk() (*OwnerId, bool)`
`func (o *BGPutReqBody) GetOwnerIdOk() (*string, bool)`

GetOwnerIdOk returns a tuple with the OwnerId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetOwnerId

`func (o *BGPutReqBody) SetOwnerId(v OwnerId)`
`func (o *BGPutReqBody) SetOwnerId(v string)`

SetOwnerId sets OwnerId field to given value.

Expand Down
4 changes: 2 additions & 2 deletions org/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ import (

func main() {
orgId := "orgId_example" // string | The organization Id
bGPutReqBody := *openapiclient.NewBGPutReqBody(*openapiclient.NewEntitlements(*openapiclient.NewAngGovernance(int32(123)), *openapiclient.NewAnypointSecurityEdgePolicies(false), *openapiclient.NewAnypointSecurityTokenization(false), *openapiclient.NewApiCommunityManager(false), *openapiclient.NewApiMonitoring(int32(123)), *openapiclient.NewApiQuery(false, int32(123)), *openapiclient.NewApiQueryC360(false), *openapiclient.NewApis(false), false, false, false, *openapiclient.NewCam(false), false, false, *openapiclient.NewCrowd(false, false, false), *openapiclient.NewCrowdSelfServiceMigration(false), *openapiclient.NewTheDesignCenterSchema(false, false), *openapiclient.NewExchange2(false), false, *openapiclient.NewGateways(int32(123)), false, *openapiclient.NewTheHybridSchema(false), false, false, *openapiclient.NewKpiDashboard(false), *openapiclient.NewLoadBalancer(int32(123), int32(123)), *openapiclient.NewMessaging(int32(123)), *openapiclient.NewMonitoringCenter(int32(123)), *openapiclient.NewMqAdvancedFeatures(false), *openapiclient.NewMqMessages(int32(123), int32(123)), *openapiclient.NewMqRequests(int32(123), int32(123)), *openapiclient.NewObjectStoreKeys(int32(123), int32(123)), *openapiclient.NewObjectStoreRequestUnits(int32(123), int32(123)), *openapiclient.NewPartnersProduction(int32(123)), *openapiclient.NewPartnersSandbox(int32(123)), false, false, *openapiclient.NewRuntimeFabricCloud(false), *openapiclient.NewServiceMesh(false), *openapiclient.NewStaticIps(int32(123), int32(123)), *openapiclient.NewTradingPartnersProduction(int32(123)), *openapiclient.NewTradingPartnersSandbox(int32(123)), *openapiclient.NewVCoresDesign(int32(123), float32(123)), *openapiclient.NewVCoresProduction(int32(123), float32(123)), *openapiclient.NewVCoresSandbox(int32(123), float32(123)), *openapiclient.NewVpcs(int32(123), int32(123)), *openapiclient.NewVpns(int32(123), int32(123)), *openapiclient.NewWorkerClouds(int32(123), int32(123)), *openapiclient.NewWorkerLoggingOverride(false)), "TODO", "TODO", "ParentOrganizationId_example", int32(123)) // BGPutReqBody | Business Group Request Body Object
bGPutReqBody := *openapiclient.NewBGPutReqBody(*openapiclient.NewEntitlements(*openapiclient.NewAngGovernance(int32(123)), *openapiclient.NewAnypointSecurityEdgePolicies(false), *openapiclient.NewAnypointSecurityTokenization(false), *openapiclient.NewApiCommunityManager(false), *openapiclient.NewApiMonitoring(int32(123)), *openapiclient.NewApiQuery(false, int32(123)), *openapiclient.NewApiQueryC360(false), *openapiclient.NewApis(false), false, false, false, *openapiclient.NewCam(false), false, false, *openapiclient.NewCrowd(false, false, false), *openapiclient.NewCrowdSelfServiceMigration(false), *openapiclient.NewTheDesignCenterSchema(false, false), *openapiclient.NewExchange2(false), false, *openapiclient.NewGateways(int32(123)), false, *openapiclient.NewTheHybridSchema(false), false, false, *openapiclient.NewKpiDashboard(false), *openapiclient.NewLoadBalancer(int32(123), int32(123)), *openapiclient.NewMessaging(int32(123)), *openapiclient.NewMonitoringCenter(int32(123)), *openapiclient.NewMqAdvancedFeatures(false), *openapiclient.NewMqMessages(int32(123), int32(123)), *openapiclient.NewMqRequests(int32(123), int32(123)), *openapiclient.NewObjectStoreKeys(int32(123), int32(123)), *openapiclient.NewObjectStoreRequestUnits(int32(123), int32(123)), *openapiclient.NewPartnersProduction(int32(123)), *openapiclient.NewPartnersSandbox(int32(123)), false, false, *openapiclient.NewRuntimeFabricCloud(false), *openapiclient.NewServiceMesh(false), *openapiclient.NewStaticIps(int32(123), int32(123)), *openapiclient.NewTradingPartnersProduction(int32(123)), *openapiclient.NewTradingPartnersSandbox(int32(123)), *openapiclient.NewVCoresDesign(int32(123), float32(123)), *openapiclient.NewVCoresProduction(int32(123), float32(123)), *openapiclient.NewVCoresSandbox(int32(123), float32(123)), *openapiclient.NewVpcs(int32(123), int32(123)), *openapiclient.NewVpns(int32(123), int32(123)), *openapiclient.NewWorkerClouds(int32(123), int32(123)), *openapiclient.NewWorkerLoggingOverride(false)), "Name_example", "OwnerId_example", "ParentOrganizationId_example", int32(123)) // BGPutReqBody | Business Group Request Body Object

configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
Expand Down Expand Up @@ -244,7 +244,7 @@ import (
)

func main() {
bGPostReqBody := *openapiclient.NewBGPostReqBody(*openapiclient.NewEntitlements(*openapiclient.NewAngGovernance(int32(123)), *openapiclient.NewAnypointSecurityEdgePolicies(false), *openapiclient.NewAnypointSecurityTokenization(false), *openapiclient.NewApiCommunityManager(false), *openapiclient.NewApiMonitoring(int32(123)), *openapiclient.NewApiQuery(false, int32(123)), *openapiclient.NewApiQueryC360(false), *openapiclient.NewApis(false), false, false, false, *openapiclient.NewCam(false), false, false, *openapiclient.NewCrowd(false, false, false), *openapiclient.NewCrowdSelfServiceMigration(false), *openapiclient.NewTheDesignCenterSchema(false, false), *openapiclient.NewExchange2(false), false, *openapiclient.NewGateways(int32(123)), false, *openapiclient.NewTheHybridSchema(false), false, false, *openapiclient.NewKpiDashboard(false), *openapiclient.NewLoadBalancer(int32(123), int32(123)), *openapiclient.NewMessaging(int32(123)), *openapiclient.NewMonitoringCenter(int32(123)), *openapiclient.NewMqAdvancedFeatures(false), *openapiclient.NewMqMessages(int32(123), int32(123)), *openapiclient.NewMqRequests(int32(123), int32(123)), *openapiclient.NewObjectStoreKeys(int32(123), int32(123)), *openapiclient.NewObjectStoreRequestUnits(int32(123), int32(123)), *openapiclient.NewPartnersProduction(int32(123)), *openapiclient.NewPartnersSandbox(int32(123)), false, false, *openapiclient.NewRuntimeFabricCloud(false), *openapiclient.NewServiceMesh(false), *openapiclient.NewStaticIps(int32(123), int32(123)), *openapiclient.NewTradingPartnersProduction(int32(123)), *openapiclient.NewTradingPartnersSandbox(int32(123)), *openapiclient.NewVCoresDesign(int32(123), float32(123)), *openapiclient.NewVCoresProduction(int32(123), float32(123)), *openapiclient.NewVCoresSandbox(int32(123), float32(123)), *openapiclient.NewVpcs(int32(123), int32(123)), *openapiclient.NewVpns(int32(123), int32(123)), *openapiclient.NewWorkerClouds(int32(123), int32(123)), *openapiclient.NewWorkerLoggingOverride(false)), "TODO", "TODO", "ParentOrganizationId_example") // BGPostReqBody | Business Group Request Body Object
bGPostReqBody := *openapiclient.NewBGPostReqBody(*openapiclient.NewEntitlements(*openapiclient.NewAngGovernance(int32(123)), *openapiclient.NewAnypointSecurityEdgePolicies(false), *openapiclient.NewAnypointSecurityTokenization(false), *openapiclient.NewApiCommunityManager(false), *openapiclient.NewApiMonitoring(int32(123)), *openapiclient.NewApiQuery(false, int32(123)), *openapiclient.NewApiQueryC360(false), *openapiclient.NewApis(false), false, false, false, *openapiclient.NewCam(false), false, false, *openapiclient.NewCrowd(false, false, false), *openapiclient.NewCrowdSelfServiceMigration(false), *openapiclient.NewTheDesignCenterSchema(false, false), *openapiclient.NewExchange2(false), false, *openapiclient.NewGateways(int32(123)), false, *openapiclient.NewTheHybridSchema(false), false, false, *openapiclient.NewKpiDashboard(false), *openapiclient.NewLoadBalancer(int32(123), int32(123)), *openapiclient.NewMessaging(int32(123)), *openapiclient.NewMonitoringCenter(int32(123)), *openapiclient.NewMqAdvancedFeatures(false), *openapiclient.NewMqMessages(int32(123), int32(123)), *openapiclient.NewMqRequests(int32(123), int32(123)), *openapiclient.NewObjectStoreKeys(int32(123), int32(123)), *openapiclient.NewObjectStoreRequestUnits(int32(123), int32(123)), *openapiclient.NewPartnersProduction(int32(123)), *openapiclient.NewPartnersSandbox(int32(123)), false, false, *openapiclient.NewRuntimeFabricCloud(false), *openapiclient.NewServiceMesh(false), *openapiclient.NewStaticIps(int32(123), int32(123)), *openapiclient.NewTradingPartnersProduction(int32(123)), *openapiclient.NewTradingPartnersSandbox(int32(123)), *openapiclient.NewVCoresDesign(int32(123), float32(123)), *openapiclient.NewVCoresProduction(int32(123), float32(123)), *openapiclient.NewVCoresSandbox(int32(123), float32(123)), *openapiclient.NewVpcs(int32(123), int32(123)), *openapiclient.NewVpns(int32(123), int32(123)), *openapiclient.NewWorkerClouds(int32(123), int32(123)), *openapiclient.NewWorkerLoggingOverride(false)), "Name_example", "OwnerId_example", "ParentOrganizationId_example") // BGPostReqBody | Business Group Request Body Object

configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
Expand Down
28 changes: 17 additions & 11 deletions org/model_bg_post_req_body.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ff375ac

Please sign in to comment.