Skip to content

Commit

Permalink
Merge pull request #4 from mulesoft-consulting/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
soufi authored Mar 23, 2021
2 parents 395ad54 + b801624 commit c8b41e7
Show file tree
Hide file tree
Showing 15 changed files with 185 additions and 503 deletions.
13 changes: 7 additions & 6 deletions vpc/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml
Expand All @@ -8,22 +9,22 @@ configuration.go
docs/DefaultApi.md
docs/InlineResponse200.md
docs/InlineResponse400.md
docs/TheFirstAnyOfSchema.md
docs/TheInternalDnsSchema.md
docs/InternalDnsSchema.md
docs/Vpc.md
docs/VpcAllOf.md
docs/VpcCore.md
docs/VpcCoreFirewallRules.md
docs/VpcIdSchema.md
docs/VpcRouteSchema.md
git_push.sh
go.mod
go.sum
model_inline_response_200.go
model_inline_response_400.go
model_the_first_any_of_schema.go
model_the_internal_dns_schema.go
model_internal_dns_schema.go
model_vpc.go
model_vpc_all_of.go
model_vpc_core.go
model_vpc_core_firewall_rules.go
model_vpc_id_schema.go
model_vpc_route_schema.go
response.go
utils.go
6 changes: 3 additions & 3 deletions vpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ Class | Method | HTTP request | Description

- [InlineResponse200](docs/InlineResponse200.md)
- [InlineResponse400](docs/InlineResponse400.md)
- [TheFirstAnyOfSchema](docs/TheFirstAnyOfSchema.md)
- [TheInternalDnsSchema](docs/TheInternalDnsSchema.md)
- [InternalDnsSchema](docs/InternalDnsSchema.md)
- [Vpc](docs/Vpc.md)
- [VpcAllOf](docs/VpcAllOf.md)
- [VpcCore](docs/VpcCore.md)
- [VpcCoreFirewallRules](docs/VpcCoreFirewallRules.md)
- [VpcIdSchema](docs/VpcIdSchema.md)
- [VpcRouteSchema](docs/VpcRouteSchema.md)


## Documentation For Authorization
Expand Down
52 changes: 27 additions & 25 deletions vpc/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,21 +194,22 @@ components:
schemas:
vpc:
allOf:
- $ref: '#/components/schemas/vpc_allOf'
- $ref: '#/components/schemas/vpcId_schema'
- $ref: '#/components/schemas/vpcCore'
title: vpc schema
vpcCore:
properties:
isDefault:
default: false
title: The isDefault schema
title: isDefault schema
type: boolean
name:
example: myAwesomeVPC
title: The name schema
title: name schema
type: string
ownerId:
example: 0000-1111-2222-3333-4444
title: The ownerId schema
title: ownerId schema
type: string
region:
example: us-east-1
Expand All @@ -220,22 +221,22 @@ components:
- 0000000-1111-2222-3333-44444444444
items:
type: string
title: List of Organization Ids to share the vpc with
title: sharedWith schema
type: array
associatedEnvironments:
default: []
example:
- eeeeb145-6f79-402d-85fc-8c90905d2490
items:
description: Environment Id.
title: The first anyOf schema
title: associatedEnvironment schema
type: string
title: The associatedEnvironments schema
title: associatedEnvironments schema
type: array
cidrBlock:
default: 10.0.0.0/20
description: An explanation about the purpose of this instance.
title: The cidrBlock schema
title: cidrBlock schema
type: string
firewallRules:
default: []
Expand All @@ -250,10 +251,10 @@ components:
toPort: 8092
items:
$ref: '#/components/schemas/vpcCore_firewallRules'
title: The firewallRules schema
title: firewallRules schema
type: array
internalDns:
$ref: '#/components/schemas/The_internalDns_schema'
$ref: '#/components/schemas/internalDns_schema'
vpcRoutes:
default: []
example:
Expand All @@ -262,10 +263,10 @@ components:
- Next Hop: Internet Gateway
CIDR: 0.0.0.0/0
items:
$ref: '#/components/schemas/The_first_anyOf_schema'
title: The vpcRoutes schema
$ref: '#/components/schemas/vpcRoute_schema'
title: vpcRoutes schema
type: array
title: VPC Object Schema
title: vpcCore schema
type: object
inline_response_200:
example:
Expand Down Expand Up @@ -294,64 +295,65 @@ components:
title: the error message
type: string
type: object
vpc_allOf:
vpcId_schema:
properties:
id:
description: The vpc Id
example: vpc-0b111d1a1ace2a12f
title: The id schema
title: id schema
type: string
required:
- id
title: vpcId schema
type: object
vpcCore_firewallRules:
properties:
cidrBlock:
default: ""
description: An explanation about the purpose of this instance.
title: The cidrBlock schema
title: cidrBlock schema
type: string
fromPort:
default: 0
description: An explanation about the purpose of this instance.
title: The fromPort schema
title: fromPort schema
type: integer
protocol:
default: ""
description: An explanation about the purpose of this instance.
title: The protocol schema
title: protocol schema
type: string
toPort:
default: 0
description: An explanation about the purpose of this instance.
title: The toPort schema
title: toPort schema
type: integer
required:
- cidrBlock
- fromPort
- protocol
- toPort
type: object
The_internalDns_schema:
internalDns_schema:
properties:
dnsServers:
default: []
items:
type: string
title: The dnsServers schema
title: dnsServers schema
type: array
specialDomains:
default: []
items:
type: string
title: The specialDomains schema
title: specialDomains schema
type: array
required:
- dnsServers
- specialDomains
title: The internalDns schema
title: internalDns schema
type: object
The_first_anyOf_schema:
vpcRoute_schema:
properties:
CIDR:
default: ""
Expand All @@ -364,7 +366,7 @@ components:
required:
- CIDR
- Next Hop
title: The first anyOf schema
title: vpcRoute schema
type: object
securitySchemes:
bearerAuth:
Expand Down
26 changes: 13 additions & 13 deletions vpc/docs/TheInternalDnsSchema.md → vpc/docs/InternalDnsSchema.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TheInternalDnsSchema
# InternalDnsSchema

## Properties

Expand All @@ -9,59 +9,59 @@ Name | Type | Description | Notes

## Methods

### NewTheInternalDnsSchema
### NewInternalDnsSchema

`func NewTheInternalDnsSchema(dnsServers []string, specialDomains []string, ) *TheInternalDnsSchema`
`func NewInternalDnsSchema(dnsServers []string, specialDomains []string, ) *InternalDnsSchema`

NewTheInternalDnsSchema instantiates a new TheInternalDnsSchema object
NewInternalDnsSchema instantiates a new InternalDnsSchema 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

### NewTheInternalDnsSchemaWithDefaults
### NewInternalDnsSchemaWithDefaults

`func NewTheInternalDnsSchemaWithDefaults() *TheInternalDnsSchema`
`func NewInternalDnsSchemaWithDefaults() *InternalDnsSchema`

NewTheInternalDnsSchemaWithDefaults instantiates a new TheInternalDnsSchema object
NewInternalDnsSchemaWithDefaults instantiates a new InternalDnsSchema 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

### GetDnsServers

`func (o *TheInternalDnsSchema) GetDnsServers() []string`
`func (o *InternalDnsSchema) GetDnsServers() []string`

GetDnsServers returns the DnsServers field if non-nil, zero value otherwise.

### GetDnsServersOk

`func (o *TheInternalDnsSchema) GetDnsServersOk() (*[]string, bool)`
`func (o *InternalDnsSchema) GetDnsServersOk() (*[]string, bool)`

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

### SetDnsServers

`func (o *TheInternalDnsSchema) SetDnsServers(v []string)`
`func (o *InternalDnsSchema) SetDnsServers(v []string)`

SetDnsServers sets DnsServers field to given value.


### GetSpecialDomains

`func (o *TheInternalDnsSchema) GetSpecialDomains() []string`
`func (o *InternalDnsSchema) GetSpecialDomains() []string`

GetSpecialDomains returns the SpecialDomains field if non-nil, zero value otherwise.

### GetSpecialDomainsOk

`func (o *TheInternalDnsSchema) GetSpecialDomainsOk() (*[]string, bool)`
`func (o *InternalDnsSchema) GetSpecialDomainsOk() (*[]string, bool)`

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

### SetSpecialDomains

`func (o *TheInternalDnsSchema) SetSpecialDomains(v []string)`
`func (o *InternalDnsSchema) SetSpecialDomains(v []string)`

SetSpecialDomains sets SpecialDomains field to given value.

Expand Down
16 changes: 8 additions & 8 deletions vpc/docs/Vpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Name | Type | Description | Notes
**AssociatedEnvironments** | Pointer to **[]string** | | [optional] [default to []]
**CidrBlock** | Pointer to **string** | An explanation about the purpose of this instance. | [optional] [default to "10.0.0.0/20"]
**FirewallRules** | Pointer to [**[]VpcCoreFirewallRules**](VpcCoreFirewallRules.md) | | [optional] [default to []]
**InternalDns** | Pointer to [**TheInternalDnsSchema**](TheInternalDnsSchema.md) | | [optional]
**VpcRoutes** | Pointer to [**[]TheFirstAnyOfSchema**](TheFirstAnyOfSchema.md) | | [optional] [default to []]
**InternalDns** | Pointer to [**InternalDnsSchema**](InternalDnsSchema.md) | | [optional]
**VpcRoutes** | Pointer to [**[]VpcRouteSchema**](VpcRouteSchema.md) | | [optional] [default to []]

## Methods

Expand Down Expand Up @@ -257,20 +257,20 @@ HasFirewallRules returns a boolean if a field has been set.

### GetInternalDns

`func (o *Vpc) GetInternalDns() TheInternalDnsSchema`
`func (o *Vpc) GetInternalDns() InternalDnsSchema`

GetInternalDns returns the InternalDns field if non-nil, zero value otherwise.

### GetInternalDnsOk

`func (o *Vpc) GetInternalDnsOk() (*TheInternalDnsSchema, bool)`
`func (o *Vpc) GetInternalDnsOk() (*InternalDnsSchema, bool)`

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

### SetInternalDns

`func (o *Vpc) SetInternalDns(v TheInternalDnsSchema)`
`func (o *Vpc) SetInternalDns(v InternalDnsSchema)`

SetInternalDns sets InternalDns field to given value.

Expand All @@ -282,20 +282,20 @@ HasInternalDns returns a boolean if a field has been set.

### GetVpcRoutes

`func (o *Vpc) GetVpcRoutes() []TheFirstAnyOfSchema`
`func (o *Vpc) GetVpcRoutes() []VpcRouteSchema`

GetVpcRoutes returns the VpcRoutes field if non-nil, zero value otherwise.

### GetVpcRoutesOk

`func (o *Vpc) GetVpcRoutesOk() (*[]TheFirstAnyOfSchema, bool)`
`func (o *Vpc) GetVpcRoutesOk() (*[]VpcRouteSchema, bool)`

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

### SetVpcRoutes

`func (o *Vpc) SetVpcRoutes(v []TheFirstAnyOfSchema)`
`func (o *Vpc) SetVpcRoutes(v []VpcRouteSchema)`

SetVpcRoutes sets VpcRoutes field to given value.

Expand Down
Loading

0 comments on commit c8b41e7

Please sign in to comment.