You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin/model_advanced_cluster_description.go
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,9 @@ type AdvancedClusterDescription struct {
29
29
Id*string`json:"id,omitempty"`
30
30
// Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead.
31
31
// Deprecated
32
-
Labels []ComponentLabel`json:"labels,omitempty"`
32
+
Labels*[]ComponentLabel`json:"labels,omitempty"`
33
33
// List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships.
34
-
Links []Link`json:"links,omitempty"`
34
+
Links*[]Link`json:"links,omitempty"`
35
35
// Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version.
@@ -43,13 +43,13 @@ type AdvancedClusterDescription struct {
43
43
// Flag that indicates whether the cluster uses continuous cloud backups.
44
44
PitEnabled*bool`json:"pitEnabled,omitempty"`
45
45
// List of settings that configure your cluster regions. For Global Clusters, each object in the array represents a zone where your clusters nodes deploy. For non-Global sharded clusters and replica sets, this array has one object representing where your clusters nodes deploy.
// Human-readable label that indicates the current operating condition of this cluster.
50
50
StateName*string`json:"stateName,omitempty"`
51
51
// List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster.
52
-
Tags []ResourceTag`json:"tags,omitempty"`
52
+
Tags*[]ResourceTag`json:"tags,omitempty"`
53
53
// Flag that indicates whether termination protection is enabled on the cluster. If set to `true`, MongoDB Cloud won't delete the cluster. If set to `false`, MongoDB Cloud will delete the cluster.
Copy file name to clipboardExpand all lines: admin/model_alert_view_for_nds_group.go
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ type AlertViewForNdsGroup struct {
28
28
// Date and time that any notifications were last sent for this alert. This parameter expresses its value in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\" rel=\"noopener noreferrer\">ISO 8601</a> timestamp format in UTC. The resource returns this parameter if MongoDB Cloud has sent notifications for this alert.
// List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships.
31
-
Links []Link`json:"links,omitempty"`
31
+
Links*[]Link`json:"links,omitempty"`
32
32
// Unique 24-hexadecimal character string that identifies the organization that owns the project to which this alert applies.
33
33
OrgId*string`json:"orgId,omitempty"`
34
34
// Date and time that this alert changed to `\"status\" : \"CLOSED\"`. This parameter expresses its value in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\" rel=\"noopener noreferrer\">ISO 8601</a> timestamp format in UTC. The resource returns this parameter once `\"status\" : \"CLOSED\"`.
@@ -47,7 +47,7 @@ type AlertViewForNdsGroup struct {
47
47
// Name of the metric against which Atlas checks the configured `metricThreshold.threshold`. To learn more about the available metrics, see <a href=\"https://www.mongodb.com/docs/atlas/reference/alert-host-metrics/#std-label-measurement-types\" target=\"_blank\">Host Metrics</a>. **NOTE**: If you set eventTypeName to OUTSIDE_SERVERLESS_METRIC_THRESHOLD, you can specify only metrics available for serverless. To learn more, see <a href=\"https://dochub.mongodb.org/core/alert-config-serverless-measurements\" target=\"_blank\">Serverless Measurements</a>.
48
48
MetricName*string`json:"metricName,omitempty"`
49
49
// List of unique 24-hexadecimal character strings that identify the replica set members that are not in PRIMARY nor SECONDARY state.
// Unique 24-hexadecimal character string that identifies the parent cluster to which this alert applies. The parent cluster contains the sharded nodes. MongoDB Cloud returns this parameter only for alerts of events impacting sharded clusters.
Copy file name to clipboardExpand all lines: admin/model_alerts_notification_root_for_group.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ type AlertsNotificationRootForGroup struct {
25
25
// Flag that indicates whether MongoDB Cloud should send email notifications. The resource requires this parameter when one of the following values have been set: - `\"notifications.[n].typeName\" : \"ORG\"` - `\"notifications.[n].typeName\" : \"GROUP\"` - `\"notifications.[n].typeName\" : \"USER\"`
26
26
EmailEnabled*bool`json:"emailEnabled,omitempty"`
27
27
// List that contains the one or more [organization](https://dochub.mongodb.org/core/atlas-org-roles) or [project roles](https://dochub.mongodb.org/core/atlas-proj-roles) that receive the configured alert. The resource requires this parameter when `\"notifications.[n].typeName\" : \"GROUP\"` or `\"notifications.[n].typeName\" : \"ORG\"`. If you include this parameter, MongoDB Cloud sends alerts only to users assigned the roles you specify in the array. If you omit this parameter, MongoDB Cloud sends alerts to users assigned any role.
28
-
Roles []string`json:"roles,omitempty"`
28
+
Roles*[]string`json:"roles,omitempty"`
29
29
// Flag that indicates whether MongoDB Cloud should send text message notifications. The resource requires this parameter when one of the following values have been set: - `\"notifications.[n].typeName\" : \"ORG\"` - `\"notifications.[n].typeName\" : \"GROUP\"` - `\"notifications.[n].typeName\" : \"USER\"`
30
30
SmsEnabled*bool`json:"smsEnabled,omitempty"`
31
31
// HipChat API token that MongoDB Cloud needs to send alert notifications to HipChat. The resource requires this parameter when `\"notifications.[n].typeName\" : \"HIP_CHAT\"`\". If the token later becomes invalid, MongoDB Cloud sends an email to the project owners. If the token remains invalid, MongoDB Cloud removes it. **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you: * View or edit the alert through the Atlas UI. * Query the alert for the notification through the Atlas Administration API.
@@ -363,12 +363,12 @@ func (o *AlertsNotificationRootForGroup) GetRoles() []string {
363
363
varret []string
364
364
returnret
365
365
}
366
-
returno.Roles
366
+
return*o.Roles
367
367
}
368
368
369
369
// GetRolesOk returns a tuple with the Roles field value if set, nil otherwise
370
370
// and a boolean to check if the value has been set.
Copy file name to clipboardExpand all lines: admin/model_api_atlas_checkpoint.go
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,9 @@ type ApiAtlasCheckpoint struct {
18
18
// Unique 24-hexadecimal digit string that identifies checkpoint.
19
19
Id*string`json:"id,omitempty"`
20
20
// List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships.
21
-
Links []Link`json:"links,omitempty"`
21
+
Links*[]Link`json:"links,omitempty"`
22
22
// Metadata that describes the complete snapshot. - For a replica set, this array contains a single document. - For a sharded cluster, this array contains one document for each shard plus one document for the config host.
23
-
Parts []ApiCheckpointPart`json:"parts,omitempty"`
23
+
Parts*[]ApiCheckpointPart`json:"parts,omitempty"`
24
24
// Flag that indicates whether MongoDB Cloud can use the checkpoint for a restore.
25
25
Restorable*bool`json:"restorable,omitempty"`
26
26
// Date and time when the balancer stopped and began the checkpoint. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
@@ -184,12 +184,12 @@ func (o *ApiAtlasCheckpoint) GetLinks() []Link {
184
184
varret []Link
185
185
returnret
186
186
}
187
-
returno.Links
187
+
return*o.Links
188
188
}
189
189
190
190
// GetLinksOk returns a tuple with the Links field value if set, nil otherwise
191
191
// and a boolean to check if the value has been set.
// Human-readable name that identifies the custom analyzer. Names must be unique within an index, and must not start with any of the following strings: - `lucene.` - `builtin.` - `mongodb.`
14
14
Namestring`json:"name"`
15
15
// Filter that performs operations such as: - Stemming, which reduces related words, such as \"talking\", \"talked\", and \"talks\" to their root word \"talk\". - Redaction, the removal of sensitive information from public documents.
0 commit comments