@@ -387,7 +387,7 @@ func (enum *VolumeType) UnmarshalJSON(data []byte) error {
387387
388388// EndpointPrivateNetworkDetails: Private Network details.
389389type EndpointPrivateNetworkDetails struct {
390- // PrivateNetworkID: UUID of the private network .
390+ // PrivateNetworkID: UUID of the Private Network .
391391 PrivateNetworkID string `json:"private_network_id"`
392392}
393393
@@ -397,7 +397,7 @@ type EndpointPublicDetails struct {
397397
398398// EndpointSpecPrivateNetworkDetails: endpoint spec private network details.
399399type EndpointSpecPrivateNetworkDetails struct {
400- // PrivateNetworkID: UUID of the private network .
400+ // PrivateNetworkID: UUID of the Private Network .
401401 PrivateNetworkID string `json:"private_network_id"`
402402}
403403
@@ -453,13 +453,13 @@ type NodeTypeVolumeType struct {
453453 // Default value: unknown_type
454454 Type VolumeType `json:"type"`
455455
456- // Description: the description of the Volume .
456+ // Description: the description of the volume .
457457 Description string `json:"description"`
458458
459- // MinSize: mimimum size required for the Volume .
459+ // MinSize: mimimum size required for the volume .
460460 MinSize scw.Size `json:"min_size"`
461461
462- // MaxSize: maximum size required for the Volume .
462+ // MaxSize: maximum size required for the volume .
463463 MaxSize scw.Size `json:"max_size"`
464464
465465 // ChunkSize: minimum increment level for a Block Storage volume size.
@@ -543,7 +543,7 @@ type Instance struct {
543543 // Default value: unknown_status
544544 Status InstanceStatus `json:"status"`
545545
546- // Version: mongoDB™ engine version of the Database Instance.
546+ // Version: mongoDB® engine version of the Database Instance.
547547 Version string `json:"version"`
548548
549549 // Tags: list of tags applied to the Database Instance.
@@ -573,10 +573,10 @@ type Instance struct {
573573
574574// NodeType: node type.
575575type NodeType struct {
576- // Name: node Type name identifier.
576+ // Name: node type name identifier.
577577 Name string `json:"name"`
578578
579- // StockStatus: current stock status for the Node Type .
579+ // StockStatus: current stock status for the node type .
580580 // Default value: unknown_stock
581581 StockStatus NodeTypeStock `json:"stock_status"`
582582
@@ -589,16 +589,16 @@ type NodeType struct {
589589 // Memory: quantity of RAM.
590590 Memory scw.Size `json:"memory"`
591591
592- // AvailableVolumeTypes: available storage options for the Node Type .
592+ // AvailableVolumeTypes: available storage options for the node type .
593593 AvailableVolumeTypes []* NodeTypeVolumeType `json:"available_volume_types"`
594594
595- // Disabled: the Node Type is currently disabled.
595+ // Disabled: the node type is currently disabled.
596596 Disabled bool `json:"disabled"`
597597
598- // Beta: the Node Type is currently in beta.
598+ // Beta: the node type is currently in beta.
599599 Beta bool `json:"beta"`
600600
601- // InstanceRange: instance range associated with the NodeType offer.
601+ // InstanceRange: instance range associated with the node type offer.
602602 InstanceRange string `json:"instance_range"`
603603}
604604
@@ -635,10 +635,10 @@ type Snapshot struct {
635635 // NodeType: source node type.
636636 NodeType string `json:"node_type"`
637637
638- // VolumeType: type of volume where data is stored sbs_5k or sbs_15k.
638+ // VolumeType: type of volume where data is stored - sbs_5k or sbs_15k.
639639 VolumeType * SnapshotVolumeType `json:"volume_type"`
640640
641- // Region: region of this snapshot.
641+ // Region: region of the snapshot.
642642 Region scw.Region `json:"region"`
643643}
644644
@@ -650,7 +650,7 @@ type User struct {
650650
651651// Version: version.
652652type Version struct {
653- // Version: mongoDB™ engine version.
653+ // Version: mongoDB® engine version.
654654 Version string `json:"version"`
655655
656656 // EndOfLifeAt: date of End of Life.
@@ -678,7 +678,7 @@ type CreateInstanceRequest struct {
678678 // Name: name of the Database Instance.
679679 Name string `json:"name"`
680680
681- // Version: version of the MongoDB™ engine.
681+ // Version: version of the MongoDB® engine.
682682 Version string `json:"version"`
683683
684684 // Tags: tags to apply to the Database Instance.
@@ -778,10 +778,10 @@ type ListInstancesRequest struct {
778778 // Default value: created_at_asc
779779 OrderBy ListInstancesRequestOrderBy `json:"-"`
780780
781- // OrganizationID: organization ID the Database Instance belongs to .
781+ // OrganizationID: organization ID of the Database Instance.
782782 OrganizationID * string `json:"-"`
783783
784- // ProjectID: project ID to list the Database Instance of .
784+ // ProjectID: project ID.
785785 ProjectID * string `json:"-"`
786786
787787 Page * int32 `json:"-"`
@@ -794,7 +794,7 @@ type ListInstancesResponse struct {
794794 // Instances: list of all Database Instances available in an Organization or Project.
795795 Instances []* Instance `json:"instances"`
796796
797- // TotalCount: total count of Database Instances available in a Organization or Project.
797+ // TotalCount: total count of Database Instances available in an Organization or Project.
798798 TotalCount uint64 `json:"total_count"`
799799}
800800
@@ -866,7 +866,7 @@ type ListSnapshotsRequest struct {
866866 // InstanceID: instance ID the snapshots belongs to.
867867 InstanceID * string `json:"-"`
868868
869- // Name: lists Database snapshots that match a name pattern.
869+ // Name: lists database snapshots that match a name pattern.
870870 Name * string `json:"-"`
871871
872872 // OrderBy: criteria to use when ordering snapshot listings.
@@ -886,10 +886,10 @@ type ListSnapshotsRequest struct {
886886
887887// ListSnapshotsResponse: list snapshots response.
888888type ListSnapshotsResponse struct {
889- // Snapshots: list of all Database Snapshots available in an Organization or Project.
889+ // Snapshots: list of all database snapshots available in an Organization or Project.
890890 Snapshots []* Snapshot `json:"snapshots"`
891891
892- // TotalCount: total count of Database Snapshots available in a Organization or Project.
892+ // TotalCount: total count of database snapshots available in a Organization or Project.
893893 TotalCount uint64 `json:"total_count"`
894894}
895895
@@ -974,10 +974,10 @@ type ListVersionsRequest struct {
974974
975975// ListVersionsResponse: list versions response.
976976type ListVersionsResponse struct {
977- // Versions: available MongoDB™ engine version.
977+ // Versions: available MongoDB® engine version.
978978 Versions []* Version `json:"versions"`
979979
980- // TotalCount: total count of MongoDB™ engine version available.
980+ // TotalCount: total count of MongoDB® engine version available.
981981 TotalCount uint64 `json:"total_count"`
982982}
983983
@@ -1074,12 +1074,12 @@ type UpgradeInstanceRequest struct {
10741074 // InstanceID: UUID of the Database Instance you want to upgrade.
10751075 InstanceID string `json:"-"`
10761076
1077- // VolumeSize: increase your block storage volume size.
1077+ // VolumeSize: increase your Block Storage volume size.
10781078 // Precisely one of VolumeSize must be set.
10791079 VolumeSize * scw.Size `json:"volume_size,omitempty"`
10801080}
10811081
1082- // This API allows you to manage your Managed Databases for MongoDB.
1082+ // This API allows you to manage your Managed Databases for MongoDB® .
10831083type API struct {
10841084 client * scw.Client
10851085}
@@ -1132,7 +1132,7 @@ func (s *API) ListNodeTypes(req *ListNodeTypesRequest, opts ...scw.RequestOption
11321132 return & resp , nil
11331133}
11341134
1135- // ListVersions: List available MongoDB™ versions.
1135+ // ListVersions: List available MongoDB® versions.
11361136func (s * API ) ListVersions (req * ListVersionsRequest , opts ... scw.RequestOption ) (* ListVersionsResponse , error ) {
11371137 var err error
11381138
@@ -1170,7 +1170,7 @@ func (s *API) ListVersions(req *ListVersionsRequest, opts ...scw.RequestOption)
11701170 return & resp , nil
11711171}
11721172
1173- // ListInstances: List all MongoDB™ Database Instances in the specified region, for a given Scaleway Project . By default, the MongoDB™ Database Instances returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `tags` and `name`. For the `name` parameter, the value you include will be checked against the whole name string to see if it includes the string you put in the parameter.
1173+ // ListInstances: List all MongoDB® Database Instances in the specified region. By default, the MongoDB® Database Instances returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `tags` and `name`. For the `name` parameter, the value you include will be checked against the whole name string to see if it includes the string you put in the parameter.
11741174func (s * API ) ListInstances (req * ListInstancesRequest , opts ... scw.RequestOption ) (* ListInstancesResponse , error ) {
11751175 var err error
11761176
@@ -1212,7 +1212,7 @@ func (s *API) ListInstances(req *ListInstancesRequest, opts ...scw.RequestOption
12121212 return & resp , nil
12131213}
12141214
1215- // GetInstance: Retrieve information about a given MongoDB™ Database Instance, specified by the `region` and `instance_id` parameters. Its full details, including name, status, IP address and port, are returned in the response object.
1215+ // GetInstance: Retrieve information about a given MongoDB® Database Instance, specified by the `region` and `instance_id` parameters. Its full details, including name, status, IP address and port, are returned in the response object.
12161216func (s * API ) GetInstance (req * GetInstanceRequest , opts ... scw.RequestOption ) (* Instance , error ) {
12171217 var err error
12181218
@@ -1243,7 +1243,7 @@ func (s *API) GetInstance(req *GetInstanceRequest, opts ...scw.RequestOption) (*
12431243 return & resp , nil
12441244}
12451245
1246- // CreateInstance: Create a new MongoDB™ Database Instance.
1246+ // CreateInstance: Create a new MongoDB® Database Instance.
12471247func (s * API ) CreateInstance (req * CreateInstanceRequest , opts ... scw.RequestOption ) (* Instance , error ) {
12481248 var err error
12491249
@@ -1284,7 +1284,7 @@ func (s *API) CreateInstance(req *CreateInstanceRequest, opts ...scw.RequestOpti
12841284 return & resp , nil
12851285}
12861286
1287- // UpdateInstance: Update the parameters of a MongoDB™ Database Instance.
1287+ // UpdateInstance: Update the parameters of a MongoDB® Database Instance.
12881288func (s * API ) UpdateInstance (req * UpdateInstanceRequest , opts ... scw.RequestOption ) (* Instance , error ) {
12891289 var err error
12901290
@@ -1320,7 +1320,7 @@ func (s *API) UpdateInstance(req *UpdateInstanceRequest, opts ...scw.RequestOpti
13201320 return & resp , nil
13211321}
13221322
1323- // DeleteInstance: Delete a given MongoDB™ Database Instance, specified by the `region` and `instance_id` parameters. Deleting a MongoDB™ Database Instance is permanent, and cannot be undone. Note that upon deletion all your data will be lost.
1323+ // DeleteInstance: Delete a given MongoDB® Database Instance, specified by the `region` and `instance_id` parameters. Deleting a MongoDB® Database Instance is permanent, and cannot be undone. Note that upon deletion all your data will be lost.
13241324func (s * API ) DeleteInstance (req * DeleteInstanceRequest , opts ... scw.RequestOption ) (* Instance , error ) {
13251325 var err error
13261326
@@ -1599,7 +1599,7 @@ func (s *API) ListSnapshots(req *ListSnapshotsRequest, opts ...scw.RequestOption
15991599 return & resp , nil
16001600}
16011601
1602- // DeleteSnapshot: Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `snapshot_id` parameter of the snapshot you want to delete.
1602+ // DeleteSnapshot: Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `snapshot_id` parameter of the snapshot you want to delete.
16031603func (s * API ) DeleteSnapshot (req * DeleteSnapshotRequest , opts ... scw.RequestOption ) (* Snapshot , error ) {
16041604 var err error
16051605
0 commit comments