github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v3/notification/notification.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/monitoring/proto/v3/notification.proto 3 // DO NOT EDIT!!! 4 5 package notification 6 7 // proto imports 8 import ( 9 alert "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/alert" 10 alerting_condition "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/alerting_condition" 11 alerting_policy "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/alerting_policy" 12 common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/common" 13 notification_channel "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/notification_channel" 14 project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/project" 15 meta "github.com/cloudwan/goten-sdk/types/meta" 16 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 17 durationpb "google.golang.org/protobuf/types/known/durationpb" 18 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 19 ) 20 21 // make sure we're using proto imports 22 var ( 23 _ = &alert.Alert{} 24 _ = &alerting_condition.AlertingCondition{} 25 _ = &alerting_policy.AlertingPolicy{} 26 _ = &common.LabelDescriptor{} 27 _ = ¬ification_channel.NotificationChannel{} 28 _ = &project.Project{} 29 _ = &durationpb.Duration{} 30 _ = ×tamppb.Timestamp{} 31 _ = &meta.Meta{} 32 _ = &multi_region_policy.MultiRegionPolicy{} 33 ) 34 35 type NotificationFieldPathBuilder struct{} 36 37 func NewNotificationFieldPathBuilder() NotificationFieldPathBuilder { 38 return NotificationFieldPathBuilder{} 39 } 40 func (NotificationFieldPathBuilder) Name() NotificationPathSelectorName { 41 return NotificationPathSelectorName{} 42 } 43 func (NotificationFieldPathBuilder) Metadata() NotificationPathSelectorMetadata { 44 return NotificationPathSelectorMetadata{} 45 } 46 func (NotificationFieldPathBuilder) AlertingPolicy() NotificationPathSelectorAlertingPolicy { 47 return NotificationPathSelectorAlertingPolicy{} 48 } 49 func (NotificationFieldPathBuilder) Alerts() NotificationPathSelectorAlerts { 50 return NotificationPathSelectorAlerts{} 51 } 52 func (NotificationFieldPathBuilder) State() NotificationPathSelectorState { 53 return NotificationPathSelectorState{} 54 } 55 56 type NotificationPathSelectorName struct{} 57 58 func (NotificationPathSelectorName) FieldPath() *Notification_FieldTerminalPath { 59 return &Notification_FieldTerminalPath{selector: Notification_FieldPathSelectorName} 60 } 61 62 func (s NotificationPathSelectorName) WithValue(value *Name) *Notification_FieldTerminalPathValue { 63 return s.FieldPath().WithIValue(value).(*Notification_FieldTerminalPathValue) 64 } 65 66 func (s NotificationPathSelectorName) WithArrayOfValues(values []*Name) *Notification_FieldTerminalPathArrayOfValues { 67 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldTerminalPathArrayOfValues) 68 } 69 70 type NotificationPathSelectorMetadata struct{} 71 72 func (NotificationPathSelectorMetadata) FieldPath() *Notification_FieldTerminalPath { 73 return &Notification_FieldTerminalPath{selector: Notification_FieldPathSelectorMetadata} 74 } 75 76 func (s NotificationPathSelectorMetadata) WithValue(value *meta.Meta) *Notification_FieldTerminalPathValue { 77 return s.FieldPath().WithIValue(value).(*Notification_FieldTerminalPathValue) 78 } 79 80 func (s NotificationPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *Notification_FieldTerminalPathArrayOfValues { 81 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldTerminalPathArrayOfValues) 82 } 83 84 func (NotificationPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *Notification_FieldSubPath { 85 return &Notification_FieldSubPath{selector: Notification_FieldPathSelectorMetadata, subPath: subPath} 86 } 87 88 func (s NotificationPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *Notification_FieldSubPathValue { 89 return &Notification_FieldSubPathValue{Notification_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 90 } 91 92 func (s NotificationPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *Notification_FieldSubPathArrayOfValues { 93 return &Notification_FieldSubPathArrayOfValues{Notification_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 94 } 95 96 func (s NotificationPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *Notification_FieldSubPathArrayItemValue { 97 return &Notification_FieldSubPathArrayItemValue{Notification_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 98 } 99 100 func (NotificationPathSelectorMetadata) CreateTime() NotificationPathSelectorMetadataCreateTime { 101 return NotificationPathSelectorMetadataCreateTime{} 102 } 103 104 func (NotificationPathSelectorMetadata) UpdateTime() NotificationPathSelectorMetadataUpdateTime { 105 return NotificationPathSelectorMetadataUpdateTime{} 106 } 107 108 func (NotificationPathSelectorMetadata) DeleteTime() NotificationPathSelectorMetadataDeleteTime { 109 return NotificationPathSelectorMetadataDeleteTime{} 110 } 111 112 func (NotificationPathSelectorMetadata) Uuid() NotificationPathSelectorMetadataUuid { 113 return NotificationPathSelectorMetadataUuid{} 114 } 115 116 func (NotificationPathSelectorMetadata) Tags() NotificationPathSelectorMetadataTags { 117 return NotificationPathSelectorMetadataTags{} 118 } 119 120 func (NotificationPathSelectorMetadata) Labels() NotificationPathSelectorMetadataLabels { 121 return NotificationPathSelectorMetadataLabels{} 122 } 123 124 func (NotificationPathSelectorMetadata) Annotations() NotificationPathSelectorMetadataAnnotations { 125 return NotificationPathSelectorMetadataAnnotations{} 126 } 127 128 func (NotificationPathSelectorMetadata) Generation() NotificationPathSelectorMetadataGeneration { 129 return NotificationPathSelectorMetadataGeneration{} 130 } 131 132 func (NotificationPathSelectorMetadata) ResourceVersion() NotificationPathSelectorMetadataResourceVersion { 133 return NotificationPathSelectorMetadataResourceVersion{} 134 } 135 136 func (NotificationPathSelectorMetadata) OwnerReferences() NotificationPathSelectorMetadataOwnerReferences { 137 return NotificationPathSelectorMetadataOwnerReferences{} 138 } 139 140 func (NotificationPathSelectorMetadata) Shards() NotificationPathSelectorMetadataShards { 141 return NotificationPathSelectorMetadataShards{} 142 } 143 144 func (NotificationPathSelectorMetadata) Syncing() NotificationPathSelectorMetadataSyncing { 145 return NotificationPathSelectorMetadataSyncing{} 146 } 147 148 func (NotificationPathSelectorMetadata) Lifecycle() NotificationPathSelectorMetadataLifecycle { 149 return NotificationPathSelectorMetadataLifecycle{} 150 } 151 152 func (NotificationPathSelectorMetadata) Services() NotificationPathSelectorMetadataServices { 153 return NotificationPathSelectorMetadataServices{} 154 } 155 156 type NotificationPathSelectorMetadataCreateTime struct{} 157 158 func (NotificationPathSelectorMetadataCreateTime) FieldPath() *Notification_FieldSubPath { 159 return &Notification_FieldSubPath{ 160 selector: Notification_FieldPathSelectorMetadata, 161 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 162 } 163 } 164 165 func (s NotificationPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *Notification_FieldSubPathValue { 166 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 167 } 168 169 func (s NotificationPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Notification_FieldSubPathArrayOfValues { 170 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 171 } 172 173 type NotificationPathSelectorMetadataUpdateTime struct{} 174 175 func (NotificationPathSelectorMetadataUpdateTime) FieldPath() *Notification_FieldSubPath { 176 return &Notification_FieldSubPath{ 177 selector: Notification_FieldPathSelectorMetadata, 178 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 179 } 180 } 181 182 func (s NotificationPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *Notification_FieldSubPathValue { 183 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 184 } 185 186 func (s NotificationPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Notification_FieldSubPathArrayOfValues { 187 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 188 } 189 190 type NotificationPathSelectorMetadataDeleteTime struct{} 191 192 func (NotificationPathSelectorMetadataDeleteTime) FieldPath() *Notification_FieldSubPath { 193 return &Notification_FieldSubPath{ 194 selector: Notification_FieldPathSelectorMetadata, 195 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 196 } 197 } 198 199 func (s NotificationPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *Notification_FieldSubPathValue { 200 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 201 } 202 203 func (s NotificationPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Notification_FieldSubPathArrayOfValues { 204 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 205 } 206 207 type NotificationPathSelectorMetadataUuid struct{} 208 209 func (NotificationPathSelectorMetadataUuid) FieldPath() *Notification_FieldSubPath { 210 return &Notification_FieldSubPath{ 211 selector: Notification_FieldPathSelectorMetadata, 212 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 213 } 214 } 215 216 func (s NotificationPathSelectorMetadataUuid) WithValue(value string) *Notification_FieldSubPathValue { 217 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 218 } 219 220 func (s NotificationPathSelectorMetadataUuid) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 221 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 222 } 223 224 type NotificationPathSelectorMetadataTags struct{} 225 226 func (NotificationPathSelectorMetadataTags) FieldPath() *Notification_FieldSubPath { 227 return &Notification_FieldSubPath{ 228 selector: Notification_FieldPathSelectorMetadata, 229 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 230 } 231 } 232 233 func (s NotificationPathSelectorMetadataTags) WithValue(value []string) *Notification_FieldSubPathValue { 234 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 235 } 236 237 func (s NotificationPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Notification_FieldSubPathArrayOfValues { 238 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 239 } 240 241 func (s NotificationPathSelectorMetadataTags) WithItemValue(value string) *Notification_FieldSubPathArrayItemValue { 242 return s.FieldPath().WithIArrayItemValue(value).(*Notification_FieldSubPathArrayItemValue) 243 } 244 245 type NotificationPathSelectorMetadataLabels struct{} 246 247 func (NotificationPathSelectorMetadataLabels) FieldPath() *Notification_FieldSubPath { 248 return &Notification_FieldSubPath{ 249 selector: Notification_FieldPathSelectorMetadata, 250 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 251 } 252 } 253 254 func (s NotificationPathSelectorMetadataLabels) WithValue(value map[string]string) *Notification_FieldSubPathValue { 255 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 256 } 257 258 func (s NotificationPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Notification_FieldSubPathArrayOfValues { 259 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 260 } 261 262 func (NotificationPathSelectorMetadataLabels) WithKey(key string) NotificationMapPathSelectorMetadataLabels { 263 return NotificationMapPathSelectorMetadataLabels{key: key} 264 } 265 266 type NotificationMapPathSelectorMetadataLabels struct { 267 key string 268 } 269 270 func (s NotificationMapPathSelectorMetadataLabels) FieldPath() *Notification_FieldSubPath { 271 return &Notification_FieldSubPath{ 272 selector: Notification_FieldPathSelectorMetadata, 273 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 274 } 275 } 276 277 func (s NotificationMapPathSelectorMetadataLabels) WithValue(value string) *Notification_FieldSubPathValue { 278 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 279 } 280 281 func (s NotificationMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 282 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 283 } 284 285 type NotificationPathSelectorMetadataAnnotations struct{} 286 287 func (NotificationPathSelectorMetadataAnnotations) FieldPath() *Notification_FieldSubPath { 288 return &Notification_FieldSubPath{ 289 selector: Notification_FieldPathSelectorMetadata, 290 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 291 } 292 } 293 294 func (s NotificationPathSelectorMetadataAnnotations) WithValue(value map[string]string) *Notification_FieldSubPathValue { 295 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 296 } 297 298 func (s NotificationPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Notification_FieldSubPathArrayOfValues { 299 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 300 } 301 302 func (NotificationPathSelectorMetadataAnnotations) WithKey(key string) NotificationMapPathSelectorMetadataAnnotations { 303 return NotificationMapPathSelectorMetadataAnnotations{key: key} 304 } 305 306 type NotificationMapPathSelectorMetadataAnnotations struct { 307 key string 308 } 309 310 func (s NotificationMapPathSelectorMetadataAnnotations) FieldPath() *Notification_FieldSubPath { 311 return &Notification_FieldSubPath{ 312 selector: Notification_FieldPathSelectorMetadata, 313 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 314 } 315 } 316 317 func (s NotificationMapPathSelectorMetadataAnnotations) WithValue(value string) *Notification_FieldSubPathValue { 318 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 319 } 320 321 func (s NotificationMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 322 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 323 } 324 325 type NotificationPathSelectorMetadataGeneration struct{} 326 327 func (NotificationPathSelectorMetadataGeneration) FieldPath() *Notification_FieldSubPath { 328 return &Notification_FieldSubPath{ 329 selector: Notification_FieldPathSelectorMetadata, 330 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 331 } 332 } 333 334 func (s NotificationPathSelectorMetadataGeneration) WithValue(value int64) *Notification_FieldSubPathValue { 335 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 336 } 337 338 func (s NotificationPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *Notification_FieldSubPathArrayOfValues { 339 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 340 } 341 342 type NotificationPathSelectorMetadataResourceVersion struct{} 343 344 func (NotificationPathSelectorMetadataResourceVersion) FieldPath() *Notification_FieldSubPath { 345 return &Notification_FieldSubPath{ 346 selector: Notification_FieldPathSelectorMetadata, 347 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 348 } 349 } 350 351 func (s NotificationPathSelectorMetadataResourceVersion) WithValue(value string) *Notification_FieldSubPathValue { 352 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 353 } 354 355 func (s NotificationPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 356 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 357 } 358 359 type NotificationPathSelectorMetadataOwnerReferences struct{} 360 361 func (NotificationPathSelectorMetadataOwnerReferences) FieldPath() *Notification_FieldSubPath { 362 return &Notification_FieldSubPath{ 363 selector: Notification_FieldPathSelectorMetadata, 364 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 365 } 366 } 367 368 func (s NotificationPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *Notification_FieldSubPathValue { 369 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 370 } 371 372 func (s NotificationPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *Notification_FieldSubPathArrayOfValues { 373 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 374 } 375 376 func (s NotificationPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *Notification_FieldSubPathArrayItemValue { 377 return s.FieldPath().WithIArrayItemValue(value).(*Notification_FieldSubPathArrayItemValue) 378 } 379 380 func (NotificationPathSelectorMetadataOwnerReferences) Kind() NotificationPathSelectorMetadataOwnerReferencesKind { 381 return NotificationPathSelectorMetadataOwnerReferencesKind{} 382 } 383 384 func (NotificationPathSelectorMetadataOwnerReferences) Version() NotificationPathSelectorMetadataOwnerReferencesVersion { 385 return NotificationPathSelectorMetadataOwnerReferencesVersion{} 386 } 387 388 func (NotificationPathSelectorMetadataOwnerReferences) Name() NotificationPathSelectorMetadataOwnerReferencesName { 389 return NotificationPathSelectorMetadataOwnerReferencesName{} 390 } 391 392 func (NotificationPathSelectorMetadataOwnerReferences) Region() NotificationPathSelectorMetadataOwnerReferencesRegion { 393 return NotificationPathSelectorMetadataOwnerReferencesRegion{} 394 } 395 396 func (NotificationPathSelectorMetadataOwnerReferences) Controller() NotificationPathSelectorMetadataOwnerReferencesController { 397 return NotificationPathSelectorMetadataOwnerReferencesController{} 398 } 399 400 func (NotificationPathSelectorMetadataOwnerReferences) RequiresOwnerReference() NotificationPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 401 return NotificationPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 402 } 403 404 func (NotificationPathSelectorMetadataOwnerReferences) UnsetOnDelete() NotificationPathSelectorMetadataOwnerReferencesUnsetOnDelete { 405 return NotificationPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 406 } 407 408 type NotificationPathSelectorMetadataOwnerReferencesKind struct{} 409 410 func (NotificationPathSelectorMetadataOwnerReferencesKind) FieldPath() *Notification_FieldSubPath { 411 return &Notification_FieldSubPath{ 412 selector: Notification_FieldPathSelectorMetadata, 413 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 414 } 415 } 416 417 func (s NotificationPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Notification_FieldSubPathValue { 418 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 419 } 420 421 func (s NotificationPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 422 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 423 } 424 425 type NotificationPathSelectorMetadataOwnerReferencesVersion struct{} 426 427 func (NotificationPathSelectorMetadataOwnerReferencesVersion) FieldPath() *Notification_FieldSubPath { 428 return &Notification_FieldSubPath{ 429 selector: Notification_FieldPathSelectorMetadata, 430 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 431 } 432 } 433 434 func (s NotificationPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Notification_FieldSubPathValue { 435 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 436 } 437 438 func (s NotificationPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 439 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 440 } 441 442 type NotificationPathSelectorMetadataOwnerReferencesName struct{} 443 444 func (NotificationPathSelectorMetadataOwnerReferencesName) FieldPath() *Notification_FieldSubPath { 445 return &Notification_FieldSubPath{ 446 selector: Notification_FieldPathSelectorMetadata, 447 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 448 } 449 } 450 451 func (s NotificationPathSelectorMetadataOwnerReferencesName) WithValue(value string) *Notification_FieldSubPathValue { 452 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 453 } 454 455 func (s NotificationPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 456 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 457 } 458 459 type NotificationPathSelectorMetadataOwnerReferencesRegion struct{} 460 461 func (NotificationPathSelectorMetadataOwnerReferencesRegion) FieldPath() *Notification_FieldSubPath { 462 return &Notification_FieldSubPath{ 463 selector: Notification_FieldPathSelectorMetadata, 464 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 465 } 466 } 467 468 func (s NotificationPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Notification_FieldSubPathValue { 469 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 470 } 471 472 func (s NotificationPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 473 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 474 } 475 476 type NotificationPathSelectorMetadataOwnerReferencesController struct{} 477 478 func (NotificationPathSelectorMetadataOwnerReferencesController) FieldPath() *Notification_FieldSubPath { 479 return &Notification_FieldSubPath{ 480 selector: Notification_FieldPathSelectorMetadata, 481 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 482 } 483 } 484 485 func (s NotificationPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Notification_FieldSubPathValue { 486 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 487 } 488 489 func (s NotificationPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Notification_FieldSubPathArrayOfValues { 490 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 491 } 492 493 type NotificationPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 494 495 func (NotificationPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *Notification_FieldSubPath { 496 return &Notification_FieldSubPath{ 497 selector: Notification_FieldPathSelectorMetadata, 498 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 499 } 500 } 501 502 func (s NotificationPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Notification_FieldSubPathValue { 503 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 504 } 505 506 func (s NotificationPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Notification_FieldSubPathArrayOfValues { 507 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 508 } 509 510 type NotificationPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 511 512 func (NotificationPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *Notification_FieldSubPath { 513 return &Notification_FieldSubPath{ 514 selector: Notification_FieldPathSelectorMetadata, 515 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 516 } 517 } 518 519 func (s NotificationPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *Notification_FieldSubPathValue { 520 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 521 } 522 523 func (s NotificationPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *Notification_FieldSubPathArrayOfValues { 524 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 525 } 526 527 type NotificationPathSelectorMetadataShards struct{} 528 529 func (NotificationPathSelectorMetadataShards) FieldPath() *Notification_FieldSubPath { 530 return &Notification_FieldSubPath{ 531 selector: Notification_FieldPathSelectorMetadata, 532 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 533 } 534 } 535 536 func (s NotificationPathSelectorMetadataShards) WithValue(value map[string]int64) *Notification_FieldSubPathValue { 537 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 538 } 539 540 func (s NotificationPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Notification_FieldSubPathArrayOfValues { 541 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 542 } 543 544 func (NotificationPathSelectorMetadataShards) WithKey(key string) NotificationMapPathSelectorMetadataShards { 545 return NotificationMapPathSelectorMetadataShards{key: key} 546 } 547 548 type NotificationMapPathSelectorMetadataShards struct { 549 key string 550 } 551 552 func (s NotificationMapPathSelectorMetadataShards) FieldPath() *Notification_FieldSubPath { 553 return &Notification_FieldSubPath{ 554 selector: Notification_FieldPathSelectorMetadata, 555 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 556 } 557 } 558 559 func (s NotificationMapPathSelectorMetadataShards) WithValue(value int64) *Notification_FieldSubPathValue { 560 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 561 } 562 563 func (s NotificationMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *Notification_FieldSubPathArrayOfValues { 564 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 565 } 566 567 type NotificationPathSelectorMetadataSyncing struct{} 568 569 func (NotificationPathSelectorMetadataSyncing) FieldPath() *Notification_FieldSubPath { 570 return &Notification_FieldSubPath{ 571 selector: Notification_FieldPathSelectorMetadata, 572 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 573 } 574 } 575 576 func (s NotificationPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *Notification_FieldSubPathValue { 577 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 578 } 579 580 func (s NotificationPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *Notification_FieldSubPathArrayOfValues { 581 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 582 } 583 584 func (NotificationPathSelectorMetadataSyncing) OwningRegion() NotificationPathSelectorMetadataSyncingOwningRegion { 585 return NotificationPathSelectorMetadataSyncingOwningRegion{} 586 } 587 588 func (NotificationPathSelectorMetadataSyncing) Regions() NotificationPathSelectorMetadataSyncingRegions { 589 return NotificationPathSelectorMetadataSyncingRegions{} 590 } 591 592 type NotificationPathSelectorMetadataSyncingOwningRegion struct{} 593 594 func (NotificationPathSelectorMetadataSyncingOwningRegion) FieldPath() *Notification_FieldSubPath { 595 return &Notification_FieldSubPath{ 596 selector: Notification_FieldPathSelectorMetadata, 597 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 598 } 599 } 600 601 func (s NotificationPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Notification_FieldSubPathValue { 602 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 603 } 604 605 func (s NotificationPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 606 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 607 } 608 609 type NotificationPathSelectorMetadataSyncingRegions struct{} 610 611 func (NotificationPathSelectorMetadataSyncingRegions) FieldPath() *Notification_FieldSubPath { 612 return &Notification_FieldSubPath{ 613 selector: Notification_FieldPathSelectorMetadata, 614 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 615 } 616 } 617 618 func (s NotificationPathSelectorMetadataSyncingRegions) WithValue(value []string) *Notification_FieldSubPathValue { 619 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 620 } 621 622 func (s NotificationPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Notification_FieldSubPathArrayOfValues { 623 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 624 } 625 626 func (s NotificationPathSelectorMetadataSyncingRegions) WithItemValue(value string) *Notification_FieldSubPathArrayItemValue { 627 return s.FieldPath().WithIArrayItemValue(value).(*Notification_FieldSubPathArrayItemValue) 628 } 629 630 type NotificationPathSelectorMetadataLifecycle struct{} 631 632 func (NotificationPathSelectorMetadataLifecycle) FieldPath() *Notification_FieldSubPath { 633 return &Notification_FieldSubPath{ 634 selector: Notification_FieldPathSelectorMetadata, 635 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 636 } 637 } 638 639 func (s NotificationPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *Notification_FieldSubPathValue { 640 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 641 } 642 643 func (s NotificationPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *Notification_FieldSubPathArrayOfValues { 644 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 645 } 646 647 func (NotificationPathSelectorMetadataLifecycle) State() NotificationPathSelectorMetadataLifecycleState { 648 return NotificationPathSelectorMetadataLifecycleState{} 649 } 650 651 func (NotificationPathSelectorMetadataLifecycle) BlockDeletion() NotificationPathSelectorMetadataLifecycleBlockDeletion { 652 return NotificationPathSelectorMetadataLifecycleBlockDeletion{} 653 } 654 655 type NotificationPathSelectorMetadataLifecycleState struct{} 656 657 func (NotificationPathSelectorMetadataLifecycleState) FieldPath() *Notification_FieldSubPath { 658 return &Notification_FieldSubPath{ 659 selector: Notification_FieldPathSelectorMetadata, 660 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 661 } 662 } 663 664 func (s NotificationPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *Notification_FieldSubPathValue { 665 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 666 } 667 668 func (s NotificationPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *Notification_FieldSubPathArrayOfValues { 669 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 670 } 671 672 type NotificationPathSelectorMetadataLifecycleBlockDeletion struct{} 673 674 func (NotificationPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Notification_FieldSubPath { 675 return &Notification_FieldSubPath{ 676 selector: Notification_FieldPathSelectorMetadata, 677 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 678 } 679 } 680 681 func (s NotificationPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Notification_FieldSubPathValue { 682 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 683 } 684 685 func (s NotificationPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Notification_FieldSubPathArrayOfValues { 686 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 687 } 688 689 type NotificationPathSelectorMetadataServices struct{} 690 691 func (NotificationPathSelectorMetadataServices) FieldPath() *Notification_FieldSubPath { 692 return &Notification_FieldSubPath{ 693 selector: Notification_FieldPathSelectorMetadata, 694 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 695 } 696 } 697 698 func (s NotificationPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *Notification_FieldSubPathValue { 699 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 700 } 701 702 func (s NotificationPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *Notification_FieldSubPathArrayOfValues { 703 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 704 } 705 706 func (NotificationPathSelectorMetadataServices) OwningService() NotificationPathSelectorMetadataServicesOwningService { 707 return NotificationPathSelectorMetadataServicesOwningService{} 708 } 709 710 func (NotificationPathSelectorMetadataServices) AllowedServices() NotificationPathSelectorMetadataServicesAllowedServices { 711 return NotificationPathSelectorMetadataServicesAllowedServices{} 712 } 713 714 type NotificationPathSelectorMetadataServicesOwningService struct{} 715 716 func (NotificationPathSelectorMetadataServicesOwningService) FieldPath() *Notification_FieldSubPath { 717 return &Notification_FieldSubPath{ 718 selector: Notification_FieldPathSelectorMetadata, 719 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 720 } 721 } 722 723 func (s NotificationPathSelectorMetadataServicesOwningService) WithValue(value string) *Notification_FieldSubPathValue { 724 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 725 } 726 727 func (s NotificationPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 728 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 729 } 730 731 type NotificationPathSelectorMetadataServicesAllowedServices struct{} 732 733 func (NotificationPathSelectorMetadataServicesAllowedServices) FieldPath() *Notification_FieldSubPath { 734 return &Notification_FieldSubPath{ 735 selector: Notification_FieldPathSelectorMetadata, 736 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 737 } 738 } 739 740 func (s NotificationPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *Notification_FieldSubPathValue { 741 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 742 } 743 744 func (s NotificationPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *Notification_FieldSubPathArrayOfValues { 745 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 746 } 747 748 func (s NotificationPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *Notification_FieldSubPathArrayItemValue { 749 return s.FieldPath().WithIArrayItemValue(value).(*Notification_FieldSubPathArrayItemValue) 750 } 751 752 type NotificationPathSelectorAlertingPolicy struct{} 753 754 func (NotificationPathSelectorAlertingPolicy) FieldPath() *Notification_FieldTerminalPath { 755 return &Notification_FieldTerminalPath{selector: Notification_FieldPathSelectorAlertingPolicy} 756 } 757 758 func (s NotificationPathSelectorAlertingPolicy) WithValue(value *alerting_policy.Name) *Notification_FieldTerminalPathValue { 759 return s.FieldPath().WithIValue(value).(*Notification_FieldTerminalPathValue) 760 } 761 762 func (s NotificationPathSelectorAlertingPolicy) WithArrayOfValues(values []*alerting_policy.Name) *Notification_FieldTerminalPathArrayOfValues { 763 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldTerminalPathArrayOfValues) 764 } 765 766 type NotificationPathSelectorAlerts struct{} 767 768 func (NotificationPathSelectorAlerts) FieldPath() *Notification_FieldTerminalPath { 769 return &Notification_FieldTerminalPath{selector: Notification_FieldPathSelectorAlerts} 770 } 771 772 func (s NotificationPathSelectorAlerts) WithValue(value []*alert.Name) *Notification_FieldTerminalPathValue { 773 return s.FieldPath().WithIValue(value).(*Notification_FieldTerminalPathValue) 774 } 775 776 func (s NotificationPathSelectorAlerts) WithArrayOfValues(values [][]*alert.Name) *Notification_FieldTerminalPathArrayOfValues { 777 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldTerminalPathArrayOfValues) 778 } 779 780 func (s NotificationPathSelectorAlerts) WithItemValue(value *alert.Name) *Notification_FieldTerminalPathArrayItemValue { 781 return s.FieldPath().WithIArrayItemValue(value).(*Notification_FieldTerminalPathArrayItemValue) 782 } 783 784 type NotificationPathSelectorState struct{} 785 786 func (NotificationPathSelectorState) FieldPath() *Notification_FieldTerminalPath { 787 return &Notification_FieldTerminalPath{selector: Notification_FieldPathSelectorState} 788 } 789 790 func (s NotificationPathSelectorState) WithValue(value *Notification_State) *Notification_FieldTerminalPathValue { 791 return s.FieldPath().WithIValue(value).(*Notification_FieldTerminalPathValue) 792 } 793 794 func (s NotificationPathSelectorState) WithArrayOfValues(values []*Notification_State) *Notification_FieldTerminalPathArrayOfValues { 795 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldTerminalPathArrayOfValues) 796 } 797 798 func (NotificationPathSelectorState) WithSubPath(subPath NotificationState_FieldPath) *Notification_FieldSubPath { 799 return &Notification_FieldSubPath{selector: Notification_FieldPathSelectorState, subPath: subPath} 800 } 801 802 func (s NotificationPathSelectorState) WithSubValue(subPathValue NotificationState_FieldPathValue) *Notification_FieldSubPathValue { 803 return &Notification_FieldSubPathValue{Notification_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 804 } 805 806 func (s NotificationPathSelectorState) WithSubArrayOfValues(subPathArrayOfValues NotificationState_FieldPathArrayOfValues) *Notification_FieldSubPathArrayOfValues { 807 return &Notification_FieldSubPathArrayOfValues{Notification_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 808 } 809 810 func (s NotificationPathSelectorState) WithSubArrayItemValue(subPathArrayItemValue NotificationState_FieldPathArrayItemValue) *Notification_FieldSubPathArrayItemValue { 811 return &Notification_FieldSubPathArrayItemValue{Notification_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 812 } 813 814 func (NotificationPathSelectorState) IsResolved() NotificationPathSelectorStateIsResolved { 815 return NotificationPathSelectorStateIsResolved{} 816 } 817 818 func (NotificationPathSelectorState) NotificationState() NotificationPathSelectorStateNotificationState { 819 return NotificationPathSelectorStateNotificationState{} 820 } 821 822 func (NotificationPathSelectorState) IncidentNotifyAttemptsDone() NotificationPathSelectorStateIncidentNotifyAttemptsDone { 823 return NotificationPathSelectorStateIncidentNotifyAttemptsDone{} 824 } 825 826 func (NotificationPathSelectorState) ResolutionNotifyAttemptsDone() NotificationPathSelectorStateResolutionNotifyAttemptsDone { 827 return NotificationPathSelectorStateResolutionNotifyAttemptsDone{} 828 } 829 830 func (NotificationPathSelectorState) AlertsLifetime() NotificationPathSelectorStateAlertsLifetime { 831 return NotificationPathSelectorStateAlertsLifetime{} 832 } 833 834 func (NotificationPathSelectorState) ResolutionNotificationState() NotificationPathSelectorStateResolutionNotificationState { 835 return NotificationPathSelectorStateResolutionNotificationState{} 836 } 837 838 func (NotificationPathSelectorState) LifecycleCompleted() NotificationPathSelectorStateLifecycleCompleted { 839 return NotificationPathSelectorStateLifecycleCompleted{} 840 } 841 842 type NotificationPathSelectorStateIsResolved struct{} 843 844 func (NotificationPathSelectorStateIsResolved) FieldPath() *Notification_FieldSubPath { 845 return &Notification_FieldSubPath{ 846 selector: Notification_FieldPathSelectorState, 847 subPath: NewNotificationStateFieldPathBuilder().IsResolved().FieldPath(), 848 } 849 } 850 851 func (s NotificationPathSelectorStateIsResolved) WithValue(value bool) *Notification_FieldSubPathValue { 852 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 853 } 854 855 func (s NotificationPathSelectorStateIsResolved) WithArrayOfValues(values []bool) *Notification_FieldSubPathArrayOfValues { 856 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 857 } 858 859 type NotificationPathSelectorStateNotificationState struct{} 860 861 func (NotificationPathSelectorStateNotificationState) FieldPath() *Notification_FieldSubPath { 862 return &Notification_FieldSubPath{ 863 selector: Notification_FieldPathSelectorState, 864 subPath: NewNotificationStateFieldPathBuilder().NotificationState().FieldPath(), 865 } 866 } 867 868 func (s NotificationPathSelectorStateNotificationState) WithValue(value []*Notification_State_NotificationState) *Notification_FieldSubPathValue { 869 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 870 } 871 872 func (s NotificationPathSelectorStateNotificationState) WithArrayOfValues(values [][]*Notification_State_NotificationState) *Notification_FieldSubPathArrayOfValues { 873 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 874 } 875 876 func (s NotificationPathSelectorStateNotificationState) WithItemValue(value *Notification_State_NotificationState) *Notification_FieldSubPathArrayItemValue { 877 return s.FieldPath().WithIArrayItemValue(value).(*Notification_FieldSubPathArrayItemValue) 878 } 879 880 func (NotificationPathSelectorStateNotificationState) NotificationChannel() NotificationPathSelectorStateNotificationStateNotificationChannel { 881 return NotificationPathSelectorStateNotificationStateNotificationChannel{} 882 } 883 884 func (NotificationPathSelectorStateNotificationState) Status() NotificationPathSelectorStateNotificationStateStatus { 885 return NotificationPathSelectorStateNotificationStateStatus{} 886 } 887 888 func (NotificationPathSelectorStateNotificationState) Error() NotificationPathSelectorStateNotificationStateError { 889 return NotificationPathSelectorStateNotificationStateError{} 890 } 891 892 func (NotificationPathSelectorStateNotificationState) ProviderData() NotificationPathSelectorStateNotificationStateProviderData { 893 return NotificationPathSelectorStateNotificationStateProviderData{} 894 } 895 896 func (NotificationPathSelectorStateNotificationState) NotifyAttempts() NotificationPathSelectorStateNotificationStateNotifyAttempts { 897 return NotificationPathSelectorStateNotificationStateNotifyAttempts{} 898 } 899 900 type NotificationPathSelectorStateNotificationStateNotificationChannel struct{} 901 902 func (NotificationPathSelectorStateNotificationStateNotificationChannel) FieldPath() *Notification_FieldSubPath { 903 return &Notification_FieldSubPath{ 904 selector: Notification_FieldPathSelectorState, 905 subPath: NewNotificationStateFieldPathBuilder().NotificationState().NotificationChannel().FieldPath(), 906 } 907 } 908 909 func (s NotificationPathSelectorStateNotificationStateNotificationChannel) WithValue(value *notification_channel.Name) *Notification_FieldSubPathValue { 910 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 911 } 912 913 func (s NotificationPathSelectorStateNotificationStateNotificationChannel) WithArrayOfValues(values []*notification_channel.Name) *Notification_FieldSubPathArrayOfValues { 914 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 915 } 916 917 type NotificationPathSelectorStateNotificationStateStatus struct{} 918 919 func (NotificationPathSelectorStateNotificationStateStatus) FieldPath() *Notification_FieldSubPath { 920 return &Notification_FieldSubPath{ 921 selector: Notification_FieldPathSelectorState, 922 subPath: NewNotificationStateFieldPathBuilder().NotificationState().Status().FieldPath(), 923 } 924 } 925 926 func (s NotificationPathSelectorStateNotificationStateStatus) WithValue(value Notification_State_NotificationState_Status) *Notification_FieldSubPathValue { 927 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 928 } 929 930 func (s NotificationPathSelectorStateNotificationStateStatus) WithArrayOfValues(values []Notification_State_NotificationState_Status) *Notification_FieldSubPathArrayOfValues { 931 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 932 } 933 934 type NotificationPathSelectorStateNotificationStateError struct{} 935 936 func (NotificationPathSelectorStateNotificationStateError) FieldPath() *Notification_FieldSubPath { 937 return &Notification_FieldSubPath{ 938 selector: Notification_FieldPathSelectorState, 939 subPath: NewNotificationStateFieldPathBuilder().NotificationState().Error().FieldPath(), 940 } 941 } 942 943 func (s NotificationPathSelectorStateNotificationStateError) WithValue(value string) *Notification_FieldSubPathValue { 944 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 945 } 946 947 func (s NotificationPathSelectorStateNotificationStateError) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 948 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 949 } 950 951 type NotificationPathSelectorStateNotificationStateProviderData struct{} 952 953 func (NotificationPathSelectorStateNotificationStateProviderData) FieldPath() *Notification_FieldSubPath { 954 return &Notification_FieldSubPath{ 955 selector: Notification_FieldPathSelectorState, 956 subPath: NewNotificationStateFieldPathBuilder().NotificationState().ProviderData().FieldPath(), 957 } 958 } 959 960 func (s NotificationPathSelectorStateNotificationStateProviderData) WithValue(value *Notification_State_NotificationState_ProviderData) *Notification_FieldSubPathValue { 961 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 962 } 963 964 func (s NotificationPathSelectorStateNotificationStateProviderData) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData) *Notification_FieldSubPathArrayOfValues { 965 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 966 } 967 968 func (NotificationPathSelectorStateNotificationStateProviderData) Slack() NotificationPathSelectorStateNotificationStateProviderDataSlack { 969 return NotificationPathSelectorStateNotificationStateProviderDataSlack{} 970 } 971 972 func (NotificationPathSelectorStateNotificationStateProviderData) PagerDuty() NotificationPathSelectorStateNotificationStateProviderDataPagerDuty { 973 return NotificationPathSelectorStateNotificationStateProviderDataPagerDuty{} 974 } 975 976 type NotificationPathSelectorStateNotificationStateProviderDataSlack struct{} 977 978 func (NotificationPathSelectorStateNotificationStateProviderDataSlack) FieldPath() *Notification_FieldSubPath { 979 return &Notification_FieldSubPath{ 980 selector: Notification_FieldPathSelectorState, 981 subPath: NewNotificationStateFieldPathBuilder().NotificationState().ProviderData().Slack().FieldPath(), 982 } 983 } 984 985 func (s NotificationPathSelectorStateNotificationStateProviderDataSlack) WithValue(value *Notification_State_NotificationState_ProviderData_Slack) *Notification_FieldSubPathValue { 986 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 987 } 988 989 func (s NotificationPathSelectorStateNotificationStateProviderDataSlack) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_Slack) *Notification_FieldSubPathArrayOfValues { 990 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 991 } 992 993 func (NotificationPathSelectorStateNotificationStateProviderDataSlack) Ts() NotificationPathSelectorStateNotificationStateProviderDataSlackTs { 994 return NotificationPathSelectorStateNotificationStateProviderDataSlackTs{} 995 } 996 997 type NotificationPathSelectorStateNotificationStateProviderDataSlackTs struct{} 998 999 func (NotificationPathSelectorStateNotificationStateProviderDataSlackTs) FieldPath() *Notification_FieldSubPath { 1000 return &Notification_FieldSubPath{ 1001 selector: Notification_FieldPathSelectorState, 1002 subPath: NewNotificationStateFieldPathBuilder().NotificationState().ProviderData().Slack().Ts().FieldPath(), 1003 } 1004 } 1005 1006 func (s NotificationPathSelectorStateNotificationStateProviderDataSlackTs) WithValue(value string) *Notification_FieldSubPathValue { 1007 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1008 } 1009 1010 func (s NotificationPathSelectorStateNotificationStateProviderDataSlackTs) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 1011 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1012 } 1013 1014 type NotificationPathSelectorStateNotificationStateProviderDataPagerDuty struct{} 1015 1016 func (NotificationPathSelectorStateNotificationStateProviderDataPagerDuty) FieldPath() *Notification_FieldSubPath { 1017 return &Notification_FieldSubPath{ 1018 selector: Notification_FieldPathSelectorState, 1019 subPath: NewNotificationStateFieldPathBuilder().NotificationState().ProviderData().PagerDuty().FieldPath(), 1020 } 1021 } 1022 1023 func (s NotificationPathSelectorStateNotificationStateProviderDataPagerDuty) WithValue(value *Notification_State_NotificationState_ProviderData_PagerDuty) *Notification_FieldSubPathValue { 1024 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1025 } 1026 1027 func (s NotificationPathSelectorStateNotificationStateProviderDataPagerDuty) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_PagerDuty) *Notification_FieldSubPathArrayOfValues { 1028 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1029 } 1030 1031 func (NotificationPathSelectorStateNotificationStateProviderDataPagerDuty) IncidentKey() NotificationPathSelectorStateNotificationStateProviderDataPagerDutyIncidentKey { 1032 return NotificationPathSelectorStateNotificationStateProviderDataPagerDutyIncidentKey{} 1033 } 1034 1035 type NotificationPathSelectorStateNotificationStateProviderDataPagerDutyIncidentKey struct{} 1036 1037 func (NotificationPathSelectorStateNotificationStateProviderDataPagerDutyIncidentKey) FieldPath() *Notification_FieldSubPath { 1038 return &Notification_FieldSubPath{ 1039 selector: Notification_FieldPathSelectorState, 1040 subPath: NewNotificationStateFieldPathBuilder().NotificationState().ProviderData().PagerDuty().IncidentKey().FieldPath(), 1041 } 1042 } 1043 1044 func (s NotificationPathSelectorStateNotificationStateProviderDataPagerDutyIncidentKey) WithValue(value string) *Notification_FieldSubPathValue { 1045 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1046 } 1047 1048 func (s NotificationPathSelectorStateNotificationStateProviderDataPagerDutyIncidentKey) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 1049 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1050 } 1051 1052 type NotificationPathSelectorStateNotificationStateNotifyAttempts struct{} 1053 1054 func (NotificationPathSelectorStateNotificationStateNotifyAttempts) FieldPath() *Notification_FieldSubPath { 1055 return &Notification_FieldSubPath{ 1056 selector: Notification_FieldPathSelectorState, 1057 subPath: NewNotificationStateFieldPathBuilder().NotificationState().NotifyAttempts().FieldPath(), 1058 } 1059 } 1060 1061 func (s NotificationPathSelectorStateNotificationStateNotifyAttempts) WithValue(value int64) *Notification_FieldSubPathValue { 1062 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1063 } 1064 1065 func (s NotificationPathSelectorStateNotificationStateNotifyAttempts) WithArrayOfValues(values []int64) *Notification_FieldSubPathArrayOfValues { 1066 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1067 } 1068 1069 type NotificationPathSelectorStateIncidentNotifyAttemptsDone struct{} 1070 1071 func (NotificationPathSelectorStateIncidentNotifyAttemptsDone) FieldPath() *Notification_FieldSubPath { 1072 return &Notification_FieldSubPath{ 1073 selector: Notification_FieldPathSelectorState, 1074 subPath: NewNotificationStateFieldPathBuilder().IncidentNotifyAttemptsDone().FieldPath(), 1075 } 1076 } 1077 1078 func (s NotificationPathSelectorStateIncidentNotifyAttemptsDone) WithValue(value bool) *Notification_FieldSubPathValue { 1079 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1080 } 1081 1082 func (s NotificationPathSelectorStateIncidentNotifyAttemptsDone) WithArrayOfValues(values []bool) *Notification_FieldSubPathArrayOfValues { 1083 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1084 } 1085 1086 type NotificationPathSelectorStateResolutionNotifyAttemptsDone struct{} 1087 1088 func (NotificationPathSelectorStateResolutionNotifyAttemptsDone) FieldPath() *Notification_FieldSubPath { 1089 return &Notification_FieldSubPath{ 1090 selector: Notification_FieldPathSelectorState, 1091 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotifyAttemptsDone().FieldPath(), 1092 } 1093 } 1094 1095 func (s NotificationPathSelectorStateResolutionNotifyAttemptsDone) WithValue(value bool) *Notification_FieldSubPathValue { 1096 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1097 } 1098 1099 func (s NotificationPathSelectorStateResolutionNotifyAttemptsDone) WithArrayOfValues(values []bool) *Notification_FieldSubPathArrayOfValues { 1100 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1101 } 1102 1103 type NotificationPathSelectorStateAlertsLifetime struct{} 1104 1105 func (NotificationPathSelectorStateAlertsLifetime) FieldPath() *Notification_FieldSubPath { 1106 return &Notification_FieldSubPath{ 1107 selector: Notification_FieldPathSelectorState, 1108 subPath: NewNotificationStateFieldPathBuilder().AlertsLifetime().FieldPath(), 1109 } 1110 } 1111 1112 func (s NotificationPathSelectorStateAlertsLifetime) WithValue(value *common.TimeRange) *Notification_FieldSubPathValue { 1113 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1114 } 1115 1116 func (s NotificationPathSelectorStateAlertsLifetime) WithArrayOfValues(values []*common.TimeRange) *Notification_FieldSubPathArrayOfValues { 1117 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1118 } 1119 1120 func (NotificationPathSelectorStateAlertsLifetime) StartTime() NotificationPathSelectorStateAlertsLifetimeStartTime { 1121 return NotificationPathSelectorStateAlertsLifetimeStartTime{} 1122 } 1123 1124 func (NotificationPathSelectorStateAlertsLifetime) EndTime() NotificationPathSelectorStateAlertsLifetimeEndTime { 1125 return NotificationPathSelectorStateAlertsLifetimeEndTime{} 1126 } 1127 1128 type NotificationPathSelectorStateAlertsLifetimeStartTime struct{} 1129 1130 func (NotificationPathSelectorStateAlertsLifetimeStartTime) FieldPath() *Notification_FieldSubPath { 1131 return &Notification_FieldSubPath{ 1132 selector: Notification_FieldPathSelectorState, 1133 subPath: NewNotificationStateFieldPathBuilder().AlertsLifetime().StartTime().FieldPath(), 1134 } 1135 } 1136 1137 func (s NotificationPathSelectorStateAlertsLifetimeStartTime) WithValue(value *timestamppb.Timestamp) *Notification_FieldSubPathValue { 1138 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1139 } 1140 1141 func (s NotificationPathSelectorStateAlertsLifetimeStartTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Notification_FieldSubPathArrayOfValues { 1142 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1143 } 1144 1145 type NotificationPathSelectorStateAlertsLifetimeEndTime struct{} 1146 1147 func (NotificationPathSelectorStateAlertsLifetimeEndTime) FieldPath() *Notification_FieldSubPath { 1148 return &Notification_FieldSubPath{ 1149 selector: Notification_FieldPathSelectorState, 1150 subPath: NewNotificationStateFieldPathBuilder().AlertsLifetime().EndTime().FieldPath(), 1151 } 1152 } 1153 1154 func (s NotificationPathSelectorStateAlertsLifetimeEndTime) WithValue(value *timestamppb.Timestamp) *Notification_FieldSubPathValue { 1155 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1156 } 1157 1158 func (s NotificationPathSelectorStateAlertsLifetimeEndTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Notification_FieldSubPathArrayOfValues { 1159 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1160 } 1161 1162 type NotificationPathSelectorStateResolutionNotificationState struct{} 1163 1164 func (NotificationPathSelectorStateResolutionNotificationState) FieldPath() *Notification_FieldSubPath { 1165 return &Notification_FieldSubPath{ 1166 selector: Notification_FieldPathSelectorState, 1167 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().FieldPath(), 1168 } 1169 } 1170 1171 func (s NotificationPathSelectorStateResolutionNotificationState) WithValue(value []*Notification_State_NotificationState) *Notification_FieldSubPathValue { 1172 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1173 } 1174 1175 func (s NotificationPathSelectorStateResolutionNotificationState) WithArrayOfValues(values [][]*Notification_State_NotificationState) *Notification_FieldSubPathArrayOfValues { 1176 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1177 } 1178 1179 func (s NotificationPathSelectorStateResolutionNotificationState) WithItemValue(value *Notification_State_NotificationState) *Notification_FieldSubPathArrayItemValue { 1180 return s.FieldPath().WithIArrayItemValue(value).(*Notification_FieldSubPathArrayItemValue) 1181 } 1182 1183 func (NotificationPathSelectorStateResolutionNotificationState) NotificationChannel() NotificationPathSelectorStateResolutionNotificationStateNotificationChannel { 1184 return NotificationPathSelectorStateResolutionNotificationStateNotificationChannel{} 1185 } 1186 1187 func (NotificationPathSelectorStateResolutionNotificationState) Status() NotificationPathSelectorStateResolutionNotificationStateStatus { 1188 return NotificationPathSelectorStateResolutionNotificationStateStatus{} 1189 } 1190 1191 func (NotificationPathSelectorStateResolutionNotificationState) Error() NotificationPathSelectorStateResolutionNotificationStateError { 1192 return NotificationPathSelectorStateResolutionNotificationStateError{} 1193 } 1194 1195 func (NotificationPathSelectorStateResolutionNotificationState) ProviderData() NotificationPathSelectorStateResolutionNotificationStateProviderData { 1196 return NotificationPathSelectorStateResolutionNotificationStateProviderData{} 1197 } 1198 1199 func (NotificationPathSelectorStateResolutionNotificationState) NotifyAttempts() NotificationPathSelectorStateResolutionNotificationStateNotifyAttempts { 1200 return NotificationPathSelectorStateResolutionNotificationStateNotifyAttempts{} 1201 } 1202 1203 type NotificationPathSelectorStateResolutionNotificationStateNotificationChannel struct{} 1204 1205 func (NotificationPathSelectorStateResolutionNotificationStateNotificationChannel) FieldPath() *Notification_FieldSubPath { 1206 return &Notification_FieldSubPath{ 1207 selector: Notification_FieldPathSelectorState, 1208 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().NotificationChannel().FieldPath(), 1209 } 1210 } 1211 1212 func (s NotificationPathSelectorStateResolutionNotificationStateNotificationChannel) WithValue(value *notification_channel.Name) *Notification_FieldSubPathValue { 1213 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1214 } 1215 1216 func (s NotificationPathSelectorStateResolutionNotificationStateNotificationChannel) WithArrayOfValues(values []*notification_channel.Name) *Notification_FieldSubPathArrayOfValues { 1217 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1218 } 1219 1220 type NotificationPathSelectorStateResolutionNotificationStateStatus struct{} 1221 1222 func (NotificationPathSelectorStateResolutionNotificationStateStatus) FieldPath() *Notification_FieldSubPath { 1223 return &Notification_FieldSubPath{ 1224 selector: Notification_FieldPathSelectorState, 1225 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().Status().FieldPath(), 1226 } 1227 } 1228 1229 func (s NotificationPathSelectorStateResolutionNotificationStateStatus) WithValue(value Notification_State_NotificationState_Status) *Notification_FieldSubPathValue { 1230 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1231 } 1232 1233 func (s NotificationPathSelectorStateResolutionNotificationStateStatus) WithArrayOfValues(values []Notification_State_NotificationState_Status) *Notification_FieldSubPathArrayOfValues { 1234 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1235 } 1236 1237 type NotificationPathSelectorStateResolutionNotificationStateError struct{} 1238 1239 func (NotificationPathSelectorStateResolutionNotificationStateError) FieldPath() *Notification_FieldSubPath { 1240 return &Notification_FieldSubPath{ 1241 selector: Notification_FieldPathSelectorState, 1242 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().Error().FieldPath(), 1243 } 1244 } 1245 1246 func (s NotificationPathSelectorStateResolutionNotificationStateError) WithValue(value string) *Notification_FieldSubPathValue { 1247 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1248 } 1249 1250 func (s NotificationPathSelectorStateResolutionNotificationStateError) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 1251 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1252 } 1253 1254 type NotificationPathSelectorStateResolutionNotificationStateProviderData struct{} 1255 1256 func (NotificationPathSelectorStateResolutionNotificationStateProviderData) FieldPath() *Notification_FieldSubPath { 1257 return &Notification_FieldSubPath{ 1258 selector: Notification_FieldPathSelectorState, 1259 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().ProviderData().FieldPath(), 1260 } 1261 } 1262 1263 func (s NotificationPathSelectorStateResolutionNotificationStateProviderData) WithValue(value *Notification_State_NotificationState_ProviderData) *Notification_FieldSubPathValue { 1264 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1265 } 1266 1267 func (s NotificationPathSelectorStateResolutionNotificationStateProviderData) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData) *Notification_FieldSubPathArrayOfValues { 1268 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1269 } 1270 1271 func (NotificationPathSelectorStateResolutionNotificationStateProviderData) Slack() NotificationPathSelectorStateResolutionNotificationStateProviderDataSlack { 1272 return NotificationPathSelectorStateResolutionNotificationStateProviderDataSlack{} 1273 } 1274 1275 func (NotificationPathSelectorStateResolutionNotificationStateProviderData) PagerDuty() NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDuty { 1276 return NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDuty{} 1277 } 1278 1279 type NotificationPathSelectorStateResolutionNotificationStateProviderDataSlack struct{} 1280 1281 func (NotificationPathSelectorStateResolutionNotificationStateProviderDataSlack) FieldPath() *Notification_FieldSubPath { 1282 return &Notification_FieldSubPath{ 1283 selector: Notification_FieldPathSelectorState, 1284 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().ProviderData().Slack().FieldPath(), 1285 } 1286 } 1287 1288 func (s NotificationPathSelectorStateResolutionNotificationStateProviderDataSlack) WithValue(value *Notification_State_NotificationState_ProviderData_Slack) *Notification_FieldSubPathValue { 1289 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1290 } 1291 1292 func (s NotificationPathSelectorStateResolutionNotificationStateProviderDataSlack) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_Slack) *Notification_FieldSubPathArrayOfValues { 1293 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1294 } 1295 1296 func (NotificationPathSelectorStateResolutionNotificationStateProviderDataSlack) Ts() NotificationPathSelectorStateResolutionNotificationStateProviderDataSlackTs { 1297 return NotificationPathSelectorStateResolutionNotificationStateProviderDataSlackTs{} 1298 } 1299 1300 type NotificationPathSelectorStateResolutionNotificationStateProviderDataSlackTs struct{} 1301 1302 func (NotificationPathSelectorStateResolutionNotificationStateProviderDataSlackTs) FieldPath() *Notification_FieldSubPath { 1303 return &Notification_FieldSubPath{ 1304 selector: Notification_FieldPathSelectorState, 1305 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().ProviderData().Slack().Ts().FieldPath(), 1306 } 1307 } 1308 1309 func (s NotificationPathSelectorStateResolutionNotificationStateProviderDataSlackTs) WithValue(value string) *Notification_FieldSubPathValue { 1310 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1311 } 1312 1313 func (s NotificationPathSelectorStateResolutionNotificationStateProviderDataSlackTs) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 1314 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1315 } 1316 1317 type NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDuty struct{} 1318 1319 func (NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDuty) FieldPath() *Notification_FieldSubPath { 1320 return &Notification_FieldSubPath{ 1321 selector: Notification_FieldPathSelectorState, 1322 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().ProviderData().PagerDuty().FieldPath(), 1323 } 1324 } 1325 1326 func (s NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDuty) WithValue(value *Notification_State_NotificationState_ProviderData_PagerDuty) *Notification_FieldSubPathValue { 1327 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1328 } 1329 1330 func (s NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDuty) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_PagerDuty) *Notification_FieldSubPathArrayOfValues { 1331 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1332 } 1333 1334 func (NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDuty) IncidentKey() NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDutyIncidentKey { 1335 return NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDutyIncidentKey{} 1336 } 1337 1338 type NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDutyIncidentKey struct{} 1339 1340 func (NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDutyIncidentKey) FieldPath() *Notification_FieldSubPath { 1341 return &Notification_FieldSubPath{ 1342 selector: Notification_FieldPathSelectorState, 1343 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().ProviderData().PagerDuty().IncidentKey().FieldPath(), 1344 } 1345 } 1346 1347 func (s NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDutyIncidentKey) WithValue(value string) *Notification_FieldSubPathValue { 1348 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1349 } 1350 1351 func (s NotificationPathSelectorStateResolutionNotificationStateProviderDataPagerDutyIncidentKey) WithArrayOfValues(values []string) *Notification_FieldSubPathArrayOfValues { 1352 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1353 } 1354 1355 type NotificationPathSelectorStateResolutionNotificationStateNotifyAttempts struct{} 1356 1357 func (NotificationPathSelectorStateResolutionNotificationStateNotifyAttempts) FieldPath() *Notification_FieldSubPath { 1358 return &Notification_FieldSubPath{ 1359 selector: Notification_FieldPathSelectorState, 1360 subPath: NewNotificationStateFieldPathBuilder().ResolutionNotificationState().NotifyAttempts().FieldPath(), 1361 } 1362 } 1363 1364 func (s NotificationPathSelectorStateResolutionNotificationStateNotifyAttempts) WithValue(value int64) *Notification_FieldSubPathValue { 1365 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1366 } 1367 1368 func (s NotificationPathSelectorStateResolutionNotificationStateNotifyAttempts) WithArrayOfValues(values []int64) *Notification_FieldSubPathArrayOfValues { 1369 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1370 } 1371 1372 type NotificationPathSelectorStateLifecycleCompleted struct{} 1373 1374 func (NotificationPathSelectorStateLifecycleCompleted) FieldPath() *Notification_FieldSubPath { 1375 return &Notification_FieldSubPath{ 1376 selector: Notification_FieldPathSelectorState, 1377 subPath: NewNotificationStateFieldPathBuilder().LifecycleCompleted().FieldPath(), 1378 } 1379 } 1380 1381 func (s NotificationPathSelectorStateLifecycleCompleted) WithValue(value bool) *Notification_FieldSubPathValue { 1382 return s.FieldPath().WithIValue(value).(*Notification_FieldSubPathValue) 1383 } 1384 1385 func (s NotificationPathSelectorStateLifecycleCompleted) WithArrayOfValues(values []bool) *Notification_FieldSubPathArrayOfValues { 1386 return s.FieldPath().WithIArrayOfValues(values).(*Notification_FieldSubPathArrayOfValues) 1387 } 1388 1389 type NotificationStateFieldPathBuilder struct{} 1390 1391 func NewNotificationStateFieldPathBuilder() NotificationStateFieldPathBuilder { 1392 return NotificationStateFieldPathBuilder{} 1393 } 1394 func (NotificationStateFieldPathBuilder) IsResolved() Notification_StatePathSelectorIsResolved { 1395 return Notification_StatePathSelectorIsResolved{} 1396 } 1397 func (NotificationStateFieldPathBuilder) NotificationState() Notification_StatePathSelectorNotificationState { 1398 return Notification_StatePathSelectorNotificationState{} 1399 } 1400 func (NotificationStateFieldPathBuilder) IncidentNotifyAttemptsDone() Notification_StatePathSelectorIncidentNotifyAttemptsDone { 1401 return Notification_StatePathSelectorIncidentNotifyAttemptsDone{} 1402 } 1403 func (NotificationStateFieldPathBuilder) ResolutionNotifyAttemptsDone() Notification_StatePathSelectorResolutionNotifyAttemptsDone { 1404 return Notification_StatePathSelectorResolutionNotifyAttemptsDone{} 1405 } 1406 func (NotificationStateFieldPathBuilder) AlertsLifetime() Notification_StatePathSelectorAlertsLifetime { 1407 return Notification_StatePathSelectorAlertsLifetime{} 1408 } 1409 func (NotificationStateFieldPathBuilder) ResolutionNotificationState() Notification_StatePathSelectorResolutionNotificationState { 1410 return Notification_StatePathSelectorResolutionNotificationState{} 1411 } 1412 func (NotificationStateFieldPathBuilder) LifecycleCompleted() Notification_StatePathSelectorLifecycleCompleted { 1413 return Notification_StatePathSelectorLifecycleCompleted{} 1414 } 1415 1416 type Notification_StatePathSelectorIsResolved struct{} 1417 1418 func (Notification_StatePathSelectorIsResolved) FieldPath() *NotificationState_FieldTerminalPath { 1419 return &NotificationState_FieldTerminalPath{selector: NotificationState_FieldPathSelectorIsResolved} 1420 } 1421 1422 func (s Notification_StatePathSelectorIsResolved) WithValue(value bool) *NotificationState_FieldTerminalPathValue { 1423 return s.FieldPath().WithIValue(value).(*NotificationState_FieldTerminalPathValue) 1424 } 1425 1426 func (s Notification_StatePathSelectorIsResolved) WithArrayOfValues(values []bool) *NotificationState_FieldTerminalPathArrayOfValues { 1427 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldTerminalPathArrayOfValues) 1428 } 1429 1430 type Notification_StatePathSelectorNotificationState struct{} 1431 1432 func (Notification_StatePathSelectorNotificationState) FieldPath() *NotificationState_FieldTerminalPath { 1433 return &NotificationState_FieldTerminalPath{selector: NotificationState_FieldPathSelectorNotificationState} 1434 } 1435 1436 func (s Notification_StatePathSelectorNotificationState) WithValue(value []*Notification_State_NotificationState) *NotificationState_FieldTerminalPathValue { 1437 return s.FieldPath().WithIValue(value).(*NotificationState_FieldTerminalPathValue) 1438 } 1439 1440 func (s Notification_StatePathSelectorNotificationState) WithArrayOfValues(values [][]*Notification_State_NotificationState) *NotificationState_FieldTerminalPathArrayOfValues { 1441 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldTerminalPathArrayOfValues) 1442 } 1443 1444 func (s Notification_StatePathSelectorNotificationState) WithItemValue(value *Notification_State_NotificationState) *NotificationState_FieldTerminalPathArrayItemValue { 1445 return s.FieldPath().WithIArrayItemValue(value).(*NotificationState_FieldTerminalPathArrayItemValue) 1446 } 1447 func (Notification_StatePathSelectorNotificationState) WithSubPath(subPath NotificationStateNotificationState_FieldPath) *NotificationState_FieldSubPath { 1448 return &NotificationState_FieldSubPath{selector: NotificationState_FieldPathSelectorNotificationState, subPath: subPath} 1449 } 1450 1451 func (s Notification_StatePathSelectorNotificationState) WithSubValue(subPathValue NotificationStateNotificationState_FieldPathValue) *NotificationState_FieldSubPathValue { 1452 return &NotificationState_FieldSubPathValue{NotificationState_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1453 } 1454 1455 func (s Notification_StatePathSelectorNotificationState) WithSubArrayOfValues(subPathArrayOfValues NotificationStateNotificationState_FieldPathArrayOfValues) *NotificationState_FieldSubPathArrayOfValues { 1456 return &NotificationState_FieldSubPathArrayOfValues{NotificationState_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1457 } 1458 1459 func (s Notification_StatePathSelectorNotificationState) WithSubArrayItemValue(subPathArrayItemValue NotificationStateNotificationState_FieldPathArrayItemValue) *NotificationState_FieldSubPathArrayItemValue { 1460 return &NotificationState_FieldSubPathArrayItemValue{NotificationState_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1461 } 1462 1463 func (Notification_StatePathSelectorNotificationState) NotificationChannel() Notification_StatePathSelectorNotificationStateNotificationChannel { 1464 return Notification_StatePathSelectorNotificationStateNotificationChannel{} 1465 } 1466 1467 func (Notification_StatePathSelectorNotificationState) Status() Notification_StatePathSelectorNotificationStateStatus { 1468 return Notification_StatePathSelectorNotificationStateStatus{} 1469 } 1470 1471 func (Notification_StatePathSelectorNotificationState) Error() Notification_StatePathSelectorNotificationStateError { 1472 return Notification_StatePathSelectorNotificationStateError{} 1473 } 1474 1475 func (Notification_StatePathSelectorNotificationState) ProviderData() Notification_StatePathSelectorNotificationStateProviderData { 1476 return Notification_StatePathSelectorNotificationStateProviderData{} 1477 } 1478 1479 func (Notification_StatePathSelectorNotificationState) NotifyAttempts() Notification_StatePathSelectorNotificationStateNotifyAttempts { 1480 return Notification_StatePathSelectorNotificationStateNotifyAttempts{} 1481 } 1482 1483 type Notification_StatePathSelectorNotificationStateNotificationChannel struct{} 1484 1485 func (Notification_StatePathSelectorNotificationStateNotificationChannel) FieldPath() *NotificationState_FieldSubPath { 1486 return &NotificationState_FieldSubPath{ 1487 selector: NotificationState_FieldPathSelectorNotificationState, 1488 subPath: NewNotificationStateNotificationStateFieldPathBuilder().NotificationChannel().FieldPath(), 1489 } 1490 } 1491 1492 func (s Notification_StatePathSelectorNotificationStateNotificationChannel) WithValue(value *notification_channel.Name) *NotificationState_FieldSubPathValue { 1493 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1494 } 1495 1496 func (s Notification_StatePathSelectorNotificationStateNotificationChannel) WithArrayOfValues(values []*notification_channel.Name) *NotificationState_FieldSubPathArrayOfValues { 1497 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1498 } 1499 1500 type Notification_StatePathSelectorNotificationStateStatus struct{} 1501 1502 func (Notification_StatePathSelectorNotificationStateStatus) FieldPath() *NotificationState_FieldSubPath { 1503 return &NotificationState_FieldSubPath{ 1504 selector: NotificationState_FieldPathSelectorNotificationState, 1505 subPath: NewNotificationStateNotificationStateFieldPathBuilder().Status().FieldPath(), 1506 } 1507 } 1508 1509 func (s Notification_StatePathSelectorNotificationStateStatus) WithValue(value Notification_State_NotificationState_Status) *NotificationState_FieldSubPathValue { 1510 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1511 } 1512 1513 func (s Notification_StatePathSelectorNotificationStateStatus) WithArrayOfValues(values []Notification_State_NotificationState_Status) *NotificationState_FieldSubPathArrayOfValues { 1514 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1515 } 1516 1517 type Notification_StatePathSelectorNotificationStateError struct{} 1518 1519 func (Notification_StatePathSelectorNotificationStateError) FieldPath() *NotificationState_FieldSubPath { 1520 return &NotificationState_FieldSubPath{ 1521 selector: NotificationState_FieldPathSelectorNotificationState, 1522 subPath: NewNotificationStateNotificationStateFieldPathBuilder().Error().FieldPath(), 1523 } 1524 } 1525 1526 func (s Notification_StatePathSelectorNotificationStateError) WithValue(value string) *NotificationState_FieldSubPathValue { 1527 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1528 } 1529 1530 func (s Notification_StatePathSelectorNotificationStateError) WithArrayOfValues(values []string) *NotificationState_FieldSubPathArrayOfValues { 1531 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1532 } 1533 1534 type Notification_StatePathSelectorNotificationStateProviderData struct{} 1535 1536 func (Notification_StatePathSelectorNotificationStateProviderData) FieldPath() *NotificationState_FieldSubPath { 1537 return &NotificationState_FieldSubPath{ 1538 selector: NotificationState_FieldPathSelectorNotificationState, 1539 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().FieldPath(), 1540 } 1541 } 1542 1543 func (s Notification_StatePathSelectorNotificationStateProviderData) WithValue(value *Notification_State_NotificationState_ProviderData) *NotificationState_FieldSubPathValue { 1544 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1545 } 1546 1547 func (s Notification_StatePathSelectorNotificationStateProviderData) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData) *NotificationState_FieldSubPathArrayOfValues { 1548 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1549 } 1550 1551 func (Notification_StatePathSelectorNotificationStateProviderData) Slack() Notification_StatePathSelectorNotificationStateProviderDataSlack { 1552 return Notification_StatePathSelectorNotificationStateProviderDataSlack{} 1553 } 1554 1555 func (Notification_StatePathSelectorNotificationStateProviderData) PagerDuty() Notification_StatePathSelectorNotificationStateProviderDataPagerDuty { 1556 return Notification_StatePathSelectorNotificationStateProviderDataPagerDuty{} 1557 } 1558 1559 type Notification_StatePathSelectorNotificationStateProviderDataSlack struct{} 1560 1561 func (Notification_StatePathSelectorNotificationStateProviderDataSlack) FieldPath() *NotificationState_FieldSubPath { 1562 return &NotificationState_FieldSubPath{ 1563 selector: NotificationState_FieldPathSelectorNotificationState, 1564 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().Slack().FieldPath(), 1565 } 1566 } 1567 1568 func (s Notification_StatePathSelectorNotificationStateProviderDataSlack) WithValue(value *Notification_State_NotificationState_ProviderData_Slack) *NotificationState_FieldSubPathValue { 1569 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1570 } 1571 1572 func (s Notification_StatePathSelectorNotificationStateProviderDataSlack) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_Slack) *NotificationState_FieldSubPathArrayOfValues { 1573 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1574 } 1575 1576 func (Notification_StatePathSelectorNotificationStateProviderDataSlack) Ts() Notification_StatePathSelectorNotificationStateProviderDataSlackTs { 1577 return Notification_StatePathSelectorNotificationStateProviderDataSlackTs{} 1578 } 1579 1580 type Notification_StatePathSelectorNotificationStateProviderDataSlackTs struct{} 1581 1582 func (Notification_StatePathSelectorNotificationStateProviderDataSlackTs) FieldPath() *NotificationState_FieldSubPath { 1583 return &NotificationState_FieldSubPath{ 1584 selector: NotificationState_FieldPathSelectorNotificationState, 1585 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().Slack().Ts().FieldPath(), 1586 } 1587 } 1588 1589 func (s Notification_StatePathSelectorNotificationStateProviderDataSlackTs) WithValue(value string) *NotificationState_FieldSubPathValue { 1590 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1591 } 1592 1593 func (s Notification_StatePathSelectorNotificationStateProviderDataSlackTs) WithArrayOfValues(values []string) *NotificationState_FieldSubPathArrayOfValues { 1594 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1595 } 1596 1597 type Notification_StatePathSelectorNotificationStateProviderDataPagerDuty struct{} 1598 1599 func (Notification_StatePathSelectorNotificationStateProviderDataPagerDuty) FieldPath() *NotificationState_FieldSubPath { 1600 return &NotificationState_FieldSubPath{ 1601 selector: NotificationState_FieldPathSelectorNotificationState, 1602 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().PagerDuty().FieldPath(), 1603 } 1604 } 1605 1606 func (s Notification_StatePathSelectorNotificationStateProviderDataPagerDuty) WithValue(value *Notification_State_NotificationState_ProviderData_PagerDuty) *NotificationState_FieldSubPathValue { 1607 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1608 } 1609 1610 func (s Notification_StatePathSelectorNotificationStateProviderDataPagerDuty) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_PagerDuty) *NotificationState_FieldSubPathArrayOfValues { 1611 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1612 } 1613 1614 func (Notification_StatePathSelectorNotificationStateProviderDataPagerDuty) IncidentKey() Notification_StatePathSelectorNotificationStateProviderDataPagerDutyIncidentKey { 1615 return Notification_StatePathSelectorNotificationStateProviderDataPagerDutyIncidentKey{} 1616 } 1617 1618 type Notification_StatePathSelectorNotificationStateProviderDataPagerDutyIncidentKey struct{} 1619 1620 func (Notification_StatePathSelectorNotificationStateProviderDataPagerDutyIncidentKey) FieldPath() *NotificationState_FieldSubPath { 1621 return &NotificationState_FieldSubPath{ 1622 selector: NotificationState_FieldPathSelectorNotificationState, 1623 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().PagerDuty().IncidentKey().FieldPath(), 1624 } 1625 } 1626 1627 func (s Notification_StatePathSelectorNotificationStateProviderDataPagerDutyIncidentKey) WithValue(value string) *NotificationState_FieldSubPathValue { 1628 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1629 } 1630 1631 func (s Notification_StatePathSelectorNotificationStateProviderDataPagerDutyIncidentKey) WithArrayOfValues(values []string) *NotificationState_FieldSubPathArrayOfValues { 1632 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1633 } 1634 1635 type Notification_StatePathSelectorNotificationStateNotifyAttempts struct{} 1636 1637 func (Notification_StatePathSelectorNotificationStateNotifyAttempts) FieldPath() *NotificationState_FieldSubPath { 1638 return &NotificationState_FieldSubPath{ 1639 selector: NotificationState_FieldPathSelectorNotificationState, 1640 subPath: NewNotificationStateNotificationStateFieldPathBuilder().NotifyAttempts().FieldPath(), 1641 } 1642 } 1643 1644 func (s Notification_StatePathSelectorNotificationStateNotifyAttempts) WithValue(value int64) *NotificationState_FieldSubPathValue { 1645 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1646 } 1647 1648 func (s Notification_StatePathSelectorNotificationStateNotifyAttempts) WithArrayOfValues(values []int64) *NotificationState_FieldSubPathArrayOfValues { 1649 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1650 } 1651 1652 type Notification_StatePathSelectorIncidentNotifyAttemptsDone struct{} 1653 1654 func (Notification_StatePathSelectorIncidentNotifyAttemptsDone) FieldPath() *NotificationState_FieldTerminalPath { 1655 return &NotificationState_FieldTerminalPath{selector: NotificationState_FieldPathSelectorIncidentNotifyAttemptsDone} 1656 } 1657 1658 func (s Notification_StatePathSelectorIncidentNotifyAttemptsDone) WithValue(value bool) *NotificationState_FieldTerminalPathValue { 1659 return s.FieldPath().WithIValue(value).(*NotificationState_FieldTerminalPathValue) 1660 } 1661 1662 func (s Notification_StatePathSelectorIncidentNotifyAttemptsDone) WithArrayOfValues(values []bool) *NotificationState_FieldTerminalPathArrayOfValues { 1663 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldTerminalPathArrayOfValues) 1664 } 1665 1666 type Notification_StatePathSelectorResolutionNotifyAttemptsDone struct{} 1667 1668 func (Notification_StatePathSelectorResolutionNotifyAttemptsDone) FieldPath() *NotificationState_FieldTerminalPath { 1669 return &NotificationState_FieldTerminalPath{selector: NotificationState_FieldPathSelectorResolutionNotifyAttemptsDone} 1670 } 1671 1672 func (s Notification_StatePathSelectorResolutionNotifyAttemptsDone) WithValue(value bool) *NotificationState_FieldTerminalPathValue { 1673 return s.FieldPath().WithIValue(value).(*NotificationState_FieldTerminalPathValue) 1674 } 1675 1676 func (s Notification_StatePathSelectorResolutionNotifyAttemptsDone) WithArrayOfValues(values []bool) *NotificationState_FieldTerminalPathArrayOfValues { 1677 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldTerminalPathArrayOfValues) 1678 } 1679 1680 type Notification_StatePathSelectorAlertsLifetime struct{} 1681 1682 func (Notification_StatePathSelectorAlertsLifetime) FieldPath() *NotificationState_FieldTerminalPath { 1683 return &NotificationState_FieldTerminalPath{selector: NotificationState_FieldPathSelectorAlertsLifetime} 1684 } 1685 1686 func (s Notification_StatePathSelectorAlertsLifetime) WithValue(value *common.TimeRange) *NotificationState_FieldTerminalPathValue { 1687 return s.FieldPath().WithIValue(value).(*NotificationState_FieldTerminalPathValue) 1688 } 1689 1690 func (s Notification_StatePathSelectorAlertsLifetime) WithArrayOfValues(values []*common.TimeRange) *NotificationState_FieldTerminalPathArrayOfValues { 1691 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldTerminalPathArrayOfValues) 1692 } 1693 1694 func (Notification_StatePathSelectorAlertsLifetime) WithSubPath(subPath common.TimeRange_FieldPath) *NotificationState_FieldSubPath { 1695 return &NotificationState_FieldSubPath{selector: NotificationState_FieldPathSelectorAlertsLifetime, subPath: subPath} 1696 } 1697 1698 func (s Notification_StatePathSelectorAlertsLifetime) WithSubValue(subPathValue common.TimeRange_FieldPathValue) *NotificationState_FieldSubPathValue { 1699 return &NotificationState_FieldSubPathValue{NotificationState_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1700 } 1701 1702 func (s Notification_StatePathSelectorAlertsLifetime) WithSubArrayOfValues(subPathArrayOfValues common.TimeRange_FieldPathArrayOfValues) *NotificationState_FieldSubPathArrayOfValues { 1703 return &NotificationState_FieldSubPathArrayOfValues{NotificationState_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1704 } 1705 1706 func (s Notification_StatePathSelectorAlertsLifetime) WithSubArrayItemValue(subPathArrayItemValue common.TimeRange_FieldPathArrayItemValue) *NotificationState_FieldSubPathArrayItemValue { 1707 return &NotificationState_FieldSubPathArrayItemValue{NotificationState_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1708 } 1709 1710 func (Notification_StatePathSelectorAlertsLifetime) StartTime() Notification_StatePathSelectorAlertsLifetimeStartTime { 1711 return Notification_StatePathSelectorAlertsLifetimeStartTime{} 1712 } 1713 1714 func (Notification_StatePathSelectorAlertsLifetime) EndTime() Notification_StatePathSelectorAlertsLifetimeEndTime { 1715 return Notification_StatePathSelectorAlertsLifetimeEndTime{} 1716 } 1717 1718 type Notification_StatePathSelectorAlertsLifetimeStartTime struct{} 1719 1720 func (Notification_StatePathSelectorAlertsLifetimeStartTime) FieldPath() *NotificationState_FieldSubPath { 1721 return &NotificationState_FieldSubPath{ 1722 selector: NotificationState_FieldPathSelectorAlertsLifetime, 1723 subPath: common.NewTimeRangeFieldPathBuilder().StartTime().FieldPath(), 1724 } 1725 } 1726 1727 func (s Notification_StatePathSelectorAlertsLifetimeStartTime) WithValue(value *timestamppb.Timestamp) *NotificationState_FieldSubPathValue { 1728 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1729 } 1730 1731 func (s Notification_StatePathSelectorAlertsLifetimeStartTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationState_FieldSubPathArrayOfValues { 1732 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1733 } 1734 1735 type Notification_StatePathSelectorAlertsLifetimeEndTime struct{} 1736 1737 func (Notification_StatePathSelectorAlertsLifetimeEndTime) FieldPath() *NotificationState_FieldSubPath { 1738 return &NotificationState_FieldSubPath{ 1739 selector: NotificationState_FieldPathSelectorAlertsLifetime, 1740 subPath: common.NewTimeRangeFieldPathBuilder().EndTime().FieldPath(), 1741 } 1742 } 1743 1744 func (s Notification_StatePathSelectorAlertsLifetimeEndTime) WithValue(value *timestamppb.Timestamp) *NotificationState_FieldSubPathValue { 1745 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1746 } 1747 1748 func (s Notification_StatePathSelectorAlertsLifetimeEndTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationState_FieldSubPathArrayOfValues { 1749 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1750 } 1751 1752 type Notification_StatePathSelectorResolutionNotificationState struct{} 1753 1754 func (Notification_StatePathSelectorResolutionNotificationState) FieldPath() *NotificationState_FieldTerminalPath { 1755 return &NotificationState_FieldTerminalPath{selector: NotificationState_FieldPathSelectorResolutionNotificationState} 1756 } 1757 1758 func (s Notification_StatePathSelectorResolutionNotificationState) WithValue(value []*Notification_State_NotificationState) *NotificationState_FieldTerminalPathValue { 1759 return s.FieldPath().WithIValue(value).(*NotificationState_FieldTerminalPathValue) 1760 } 1761 1762 func (s Notification_StatePathSelectorResolutionNotificationState) WithArrayOfValues(values [][]*Notification_State_NotificationState) *NotificationState_FieldTerminalPathArrayOfValues { 1763 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldTerminalPathArrayOfValues) 1764 } 1765 1766 func (s Notification_StatePathSelectorResolutionNotificationState) WithItemValue(value *Notification_State_NotificationState) *NotificationState_FieldTerminalPathArrayItemValue { 1767 return s.FieldPath().WithIArrayItemValue(value).(*NotificationState_FieldTerminalPathArrayItemValue) 1768 } 1769 func (Notification_StatePathSelectorResolutionNotificationState) WithSubPath(subPath NotificationStateNotificationState_FieldPath) *NotificationState_FieldSubPath { 1770 return &NotificationState_FieldSubPath{selector: NotificationState_FieldPathSelectorResolutionNotificationState, subPath: subPath} 1771 } 1772 1773 func (s Notification_StatePathSelectorResolutionNotificationState) WithSubValue(subPathValue NotificationStateNotificationState_FieldPathValue) *NotificationState_FieldSubPathValue { 1774 return &NotificationState_FieldSubPathValue{NotificationState_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1775 } 1776 1777 func (s Notification_StatePathSelectorResolutionNotificationState) WithSubArrayOfValues(subPathArrayOfValues NotificationStateNotificationState_FieldPathArrayOfValues) *NotificationState_FieldSubPathArrayOfValues { 1778 return &NotificationState_FieldSubPathArrayOfValues{NotificationState_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1779 } 1780 1781 func (s Notification_StatePathSelectorResolutionNotificationState) WithSubArrayItemValue(subPathArrayItemValue NotificationStateNotificationState_FieldPathArrayItemValue) *NotificationState_FieldSubPathArrayItemValue { 1782 return &NotificationState_FieldSubPathArrayItemValue{NotificationState_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1783 } 1784 1785 func (Notification_StatePathSelectorResolutionNotificationState) NotificationChannel() Notification_StatePathSelectorResolutionNotificationStateNotificationChannel { 1786 return Notification_StatePathSelectorResolutionNotificationStateNotificationChannel{} 1787 } 1788 1789 func (Notification_StatePathSelectorResolutionNotificationState) Status() Notification_StatePathSelectorResolutionNotificationStateStatus { 1790 return Notification_StatePathSelectorResolutionNotificationStateStatus{} 1791 } 1792 1793 func (Notification_StatePathSelectorResolutionNotificationState) Error() Notification_StatePathSelectorResolutionNotificationStateError { 1794 return Notification_StatePathSelectorResolutionNotificationStateError{} 1795 } 1796 1797 func (Notification_StatePathSelectorResolutionNotificationState) ProviderData() Notification_StatePathSelectorResolutionNotificationStateProviderData { 1798 return Notification_StatePathSelectorResolutionNotificationStateProviderData{} 1799 } 1800 1801 func (Notification_StatePathSelectorResolutionNotificationState) NotifyAttempts() Notification_StatePathSelectorResolutionNotificationStateNotifyAttempts { 1802 return Notification_StatePathSelectorResolutionNotificationStateNotifyAttempts{} 1803 } 1804 1805 type Notification_StatePathSelectorResolutionNotificationStateNotificationChannel struct{} 1806 1807 func (Notification_StatePathSelectorResolutionNotificationStateNotificationChannel) FieldPath() *NotificationState_FieldSubPath { 1808 return &NotificationState_FieldSubPath{ 1809 selector: NotificationState_FieldPathSelectorResolutionNotificationState, 1810 subPath: NewNotificationStateNotificationStateFieldPathBuilder().NotificationChannel().FieldPath(), 1811 } 1812 } 1813 1814 func (s Notification_StatePathSelectorResolutionNotificationStateNotificationChannel) WithValue(value *notification_channel.Name) *NotificationState_FieldSubPathValue { 1815 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1816 } 1817 1818 func (s Notification_StatePathSelectorResolutionNotificationStateNotificationChannel) WithArrayOfValues(values []*notification_channel.Name) *NotificationState_FieldSubPathArrayOfValues { 1819 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1820 } 1821 1822 type Notification_StatePathSelectorResolutionNotificationStateStatus struct{} 1823 1824 func (Notification_StatePathSelectorResolutionNotificationStateStatus) FieldPath() *NotificationState_FieldSubPath { 1825 return &NotificationState_FieldSubPath{ 1826 selector: NotificationState_FieldPathSelectorResolutionNotificationState, 1827 subPath: NewNotificationStateNotificationStateFieldPathBuilder().Status().FieldPath(), 1828 } 1829 } 1830 1831 func (s Notification_StatePathSelectorResolutionNotificationStateStatus) WithValue(value Notification_State_NotificationState_Status) *NotificationState_FieldSubPathValue { 1832 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1833 } 1834 1835 func (s Notification_StatePathSelectorResolutionNotificationStateStatus) WithArrayOfValues(values []Notification_State_NotificationState_Status) *NotificationState_FieldSubPathArrayOfValues { 1836 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1837 } 1838 1839 type Notification_StatePathSelectorResolutionNotificationStateError struct{} 1840 1841 func (Notification_StatePathSelectorResolutionNotificationStateError) FieldPath() *NotificationState_FieldSubPath { 1842 return &NotificationState_FieldSubPath{ 1843 selector: NotificationState_FieldPathSelectorResolutionNotificationState, 1844 subPath: NewNotificationStateNotificationStateFieldPathBuilder().Error().FieldPath(), 1845 } 1846 } 1847 1848 func (s Notification_StatePathSelectorResolutionNotificationStateError) WithValue(value string) *NotificationState_FieldSubPathValue { 1849 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1850 } 1851 1852 func (s Notification_StatePathSelectorResolutionNotificationStateError) WithArrayOfValues(values []string) *NotificationState_FieldSubPathArrayOfValues { 1853 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1854 } 1855 1856 type Notification_StatePathSelectorResolutionNotificationStateProviderData struct{} 1857 1858 func (Notification_StatePathSelectorResolutionNotificationStateProviderData) FieldPath() *NotificationState_FieldSubPath { 1859 return &NotificationState_FieldSubPath{ 1860 selector: NotificationState_FieldPathSelectorResolutionNotificationState, 1861 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().FieldPath(), 1862 } 1863 } 1864 1865 func (s Notification_StatePathSelectorResolutionNotificationStateProviderData) WithValue(value *Notification_State_NotificationState_ProviderData) *NotificationState_FieldSubPathValue { 1866 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1867 } 1868 1869 func (s Notification_StatePathSelectorResolutionNotificationStateProviderData) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData) *NotificationState_FieldSubPathArrayOfValues { 1870 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1871 } 1872 1873 func (Notification_StatePathSelectorResolutionNotificationStateProviderData) Slack() Notification_StatePathSelectorResolutionNotificationStateProviderDataSlack { 1874 return Notification_StatePathSelectorResolutionNotificationStateProviderDataSlack{} 1875 } 1876 1877 func (Notification_StatePathSelectorResolutionNotificationStateProviderData) PagerDuty() Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDuty { 1878 return Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDuty{} 1879 } 1880 1881 type Notification_StatePathSelectorResolutionNotificationStateProviderDataSlack struct{} 1882 1883 func (Notification_StatePathSelectorResolutionNotificationStateProviderDataSlack) FieldPath() *NotificationState_FieldSubPath { 1884 return &NotificationState_FieldSubPath{ 1885 selector: NotificationState_FieldPathSelectorResolutionNotificationState, 1886 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().Slack().FieldPath(), 1887 } 1888 } 1889 1890 func (s Notification_StatePathSelectorResolutionNotificationStateProviderDataSlack) WithValue(value *Notification_State_NotificationState_ProviderData_Slack) *NotificationState_FieldSubPathValue { 1891 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1892 } 1893 1894 func (s Notification_StatePathSelectorResolutionNotificationStateProviderDataSlack) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_Slack) *NotificationState_FieldSubPathArrayOfValues { 1895 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1896 } 1897 1898 func (Notification_StatePathSelectorResolutionNotificationStateProviderDataSlack) Ts() Notification_StatePathSelectorResolutionNotificationStateProviderDataSlackTs { 1899 return Notification_StatePathSelectorResolutionNotificationStateProviderDataSlackTs{} 1900 } 1901 1902 type Notification_StatePathSelectorResolutionNotificationStateProviderDataSlackTs struct{} 1903 1904 func (Notification_StatePathSelectorResolutionNotificationStateProviderDataSlackTs) FieldPath() *NotificationState_FieldSubPath { 1905 return &NotificationState_FieldSubPath{ 1906 selector: NotificationState_FieldPathSelectorResolutionNotificationState, 1907 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().Slack().Ts().FieldPath(), 1908 } 1909 } 1910 1911 func (s Notification_StatePathSelectorResolutionNotificationStateProviderDataSlackTs) WithValue(value string) *NotificationState_FieldSubPathValue { 1912 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1913 } 1914 1915 func (s Notification_StatePathSelectorResolutionNotificationStateProviderDataSlackTs) WithArrayOfValues(values []string) *NotificationState_FieldSubPathArrayOfValues { 1916 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1917 } 1918 1919 type Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDuty struct{} 1920 1921 func (Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDuty) FieldPath() *NotificationState_FieldSubPath { 1922 return &NotificationState_FieldSubPath{ 1923 selector: NotificationState_FieldPathSelectorResolutionNotificationState, 1924 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().PagerDuty().FieldPath(), 1925 } 1926 } 1927 1928 func (s Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDuty) WithValue(value *Notification_State_NotificationState_ProviderData_PagerDuty) *NotificationState_FieldSubPathValue { 1929 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1930 } 1931 1932 func (s Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDuty) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_PagerDuty) *NotificationState_FieldSubPathArrayOfValues { 1933 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1934 } 1935 1936 func (Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDuty) IncidentKey() Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDutyIncidentKey { 1937 return Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDutyIncidentKey{} 1938 } 1939 1940 type Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDutyIncidentKey struct{} 1941 1942 func (Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDutyIncidentKey) FieldPath() *NotificationState_FieldSubPath { 1943 return &NotificationState_FieldSubPath{ 1944 selector: NotificationState_FieldPathSelectorResolutionNotificationState, 1945 subPath: NewNotificationStateNotificationStateFieldPathBuilder().ProviderData().PagerDuty().IncidentKey().FieldPath(), 1946 } 1947 } 1948 1949 func (s Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDutyIncidentKey) WithValue(value string) *NotificationState_FieldSubPathValue { 1950 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1951 } 1952 1953 func (s Notification_StatePathSelectorResolutionNotificationStateProviderDataPagerDutyIncidentKey) WithArrayOfValues(values []string) *NotificationState_FieldSubPathArrayOfValues { 1954 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1955 } 1956 1957 type Notification_StatePathSelectorResolutionNotificationStateNotifyAttempts struct{} 1958 1959 func (Notification_StatePathSelectorResolutionNotificationStateNotifyAttempts) FieldPath() *NotificationState_FieldSubPath { 1960 return &NotificationState_FieldSubPath{ 1961 selector: NotificationState_FieldPathSelectorResolutionNotificationState, 1962 subPath: NewNotificationStateNotificationStateFieldPathBuilder().NotifyAttempts().FieldPath(), 1963 } 1964 } 1965 1966 func (s Notification_StatePathSelectorResolutionNotificationStateNotifyAttempts) WithValue(value int64) *NotificationState_FieldSubPathValue { 1967 return s.FieldPath().WithIValue(value).(*NotificationState_FieldSubPathValue) 1968 } 1969 1970 func (s Notification_StatePathSelectorResolutionNotificationStateNotifyAttempts) WithArrayOfValues(values []int64) *NotificationState_FieldSubPathArrayOfValues { 1971 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldSubPathArrayOfValues) 1972 } 1973 1974 type Notification_StatePathSelectorLifecycleCompleted struct{} 1975 1976 func (Notification_StatePathSelectorLifecycleCompleted) FieldPath() *NotificationState_FieldTerminalPath { 1977 return &NotificationState_FieldTerminalPath{selector: NotificationState_FieldPathSelectorLifecycleCompleted} 1978 } 1979 1980 func (s Notification_StatePathSelectorLifecycleCompleted) WithValue(value bool) *NotificationState_FieldTerminalPathValue { 1981 return s.FieldPath().WithIValue(value).(*NotificationState_FieldTerminalPathValue) 1982 } 1983 1984 func (s Notification_StatePathSelectorLifecycleCompleted) WithArrayOfValues(values []bool) *NotificationState_FieldTerminalPathArrayOfValues { 1985 return s.FieldPath().WithIArrayOfValues(values).(*NotificationState_FieldTerminalPathArrayOfValues) 1986 } 1987 1988 type NotificationStateNotificationStateFieldPathBuilder struct{} 1989 1990 func NewNotificationStateNotificationStateFieldPathBuilder() NotificationStateNotificationStateFieldPathBuilder { 1991 return NotificationStateNotificationStateFieldPathBuilder{} 1992 } 1993 func (NotificationStateNotificationStateFieldPathBuilder) NotificationChannel() Notification_State_NotificationStatePathSelectorNotificationChannel { 1994 return Notification_State_NotificationStatePathSelectorNotificationChannel{} 1995 } 1996 func (NotificationStateNotificationStateFieldPathBuilder) Status() Notification_State_NotificationStatePathSelectorStatus { 1997 return Notification_State_NotificationStatePathSelectorStatus{} 1998 } 1999 func (NotificationStateNotificationStateFieldPathBuilder) Error() Notification_State_NotificationStatePathSelectorError { 2000 return Notification_State_NotificationStatePathSelectorError{} 2001 } 2002 func (NotificationStateNotificationStateFieldPathBuilder) ProviderData() Notification_State_NotificationStatePathSelectorProviderData { 2003 return Notification_State_NotificationStatePathSelectorProviderData{} 2004 } 2005 func (NotificationStateNotificationStateFieldPathBuilder) NotifyAttempts() Notification_State_NotificationStatePathSelectorNotifyAttempts { 2006 return Notification_State_NotificationStatePathSelectorNotifyAttempts{} 2007 } 2008 2009 type Notification_State_NotificationStatePathSelectorNotificationChannel struct{} 2010 2011 func (Notification_State_NotificationStatePathSelectorNotificationChannel) FieldPath() *NotificationStateNotificationState_FieldTerminalPath { 2012 return &NotificationStateNotificationState_FieldTerminalPath{selector: NotificationStateNotificationState_FieldPathSelectorNotificationChannel} 2013 } 2014 2015 func (s Notification_State_NotificationStatePathSelectorNotificationChannel) WithValue(value *notification_channel.Name) *NotificationStateNotificationState_FieldTerminalPathValue { 2016 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationState_FieldTerminalPathValue) 2017 } 2018 2019 func (s Notification_State_NotificationStatePathSelectorNotificationChannel) WithArrayOfValues(values []*notification_channel.Name) *NotificationStateNotificationState_FieldTerminalPathArrayOfValues { 2020 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationState_FieldTerminalPathArrayOfValues) 2021 } 2022 2023 type Notification_State_NotificationStatePathSelectorStatus struct{} 2024 2025 func (Notification_State_NotificationStatePathSelectorStatus) FieldPath() *NotificationStateNotificationState_FieldTerminalPath { 2026 return &NotificationStateNotificationState_FieldTerminalPath{selector: NotificationStateNotificationState_FieldPathSelectorStatus} 2027 } 2028 2029 func (s Notification_State_NotificationStatePathSelectorStatus) WithValue(value Notification_State_NotificationState_Status) *NotificationStateNotificationState_FieldTerminalPathValue { 2030 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationState_FieldTerminalPathValue) 2031 } 2032 2033 func (s Notification_State_NotificationStatePathSelectorStatus) WithArrayOfValues(values []Notification_State_NotificationState_Status) *NotificationStateNotificationState_FieldTerminalPathArrayOfValues { 2034 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationState_FieldTerminalPathArrayOfValues) 2035 } 2036 2037 type Notification_State_NotificationStatePathSelectorError struct{} 2038 2039 func (Notification_State_NotificationStatePathSelectorError) FieldPath() *NotificationStateNotificationState_FieldTerminalPath { 2040 return &NotificationStateNotificationState_FieldTerminalPath{selector: NotificationStateNotificationState_FieldPathSelectorError} 2041 } 2042 2043 func (s Notification_State_NotificationStatePathSelectorError) WithValue(value string) *NotificationStateNotificationState_FieldTerminalPathValue { 2044 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationState_FieldTerminalPathValue) 2045 } 2046 2047 func (s Notification_State_NotificationStatePathSelectorError) WithArrayOfValues(values []string) *NotificationStateNotificationState_FieldTerminalPathArrayOfValues { 2048 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationState_FieldTerminalPathArrayOfValues) 2049 } 2050 2051 type Notification_State_NotificationStatePathSelectorProviderData struct{} 2052 2053 func (Notification_State_NotificationStatePathSelectorProviderData) FieldPath() *NotificationStateNotificationState_FieldTerminalPath { 2054 return &NotificationStateNotificationState_FieldTerminalPath{selector: NotificationStateNotificationState_FieldPathSelectorProviderData} 2055 } 2056 2057 func (s Notification_State_NotificationStatePathSelectorProviderData) WithValue(value *Notification_State_NotificationState_ProviderData) *NotificationStateNotificationState_FieldTerminalPathValue { 2058 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationState_FieldTerminalPathValue) 2059 } 2060 2061 func (s Notification_State_NotificationStatePathSelectorProviderData) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData) *NotificationStateNotificationState_FieldTerminalPathArrayOfValues { 2062 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationState_FieldTerminalPathArrayOfValues) 2063 } 2064 2065 func (Notification_State_NotificationStatePathSelectorProviderData) WithSubPath(subPath NotificationStateNotificationStateProviderData_FieldPath) *NotificationStateNotificationState_FieldSubPath { 2066 return &NotificationStateNotificationState_FieldSubPath{selector: NotificationStateNotificationState_FieldPathSelectorProviderData, subPath: subPath} 2067 } 2068 2069 func (s Notification_State_NotificationStatePathSelectorProviderData) WithSubValue(subPathValue NotificationStateNotificationStateProviderData_FieldPathValue) *NotificationStateNotificationState_FieldSubPathValue { 2070 return &NotificationStateNotificationState_FieldSubPathValue{NotificationStateNotificationState_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2071 } 2072 2073 func (s Notification_State_NotificationStatePathSelectorProviderData) WithSubArrayOfValues(subPathArrayOfValues NotificationStateNotificationStateProviderData_FieldPathArrayOfValues) *NotificationStateNotificationState_FieldSubPathArrayOfValues { 2074 return &NotificationStateNotificationState_FieldSubPathArrayOfValues{NotificationStateNotificationState_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2075 } 2076 2077 func (s Notification_State_NotificationStatePathSelectorProviderData) WithSubArrayItemValue(subPathArrayItemValue NotificationStateNotificationStateProviderData_FieldPathArrayItemValue) *NotificationStateNotificationState_FieldSubPathArrayItemValue { 2078 return &NotificationStateNotificationState_FieldSubPathArrayItemValue{NotificationStateNotificationState_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2079 } 2080 2081 func (Notification_State_NotificationStatePathSelectorProviderData) Slack() Notification_State_NotificationStatePathSelectorProviderDataSlack { 2082 return Notification_State_NotificationStatePathSelectorProviderDataSlack{} 2083 } 2084 2085 func (Notification_State_NotificationStatePathSelectorProviderData) PagerDuty() Notification_State_NotificationStatePathSelectorProviderDataPagerDuty { 2086 return Notification_State_NotificationStatePathSelectorProviderDataPagerDuty{} 2087 } 2088 2089 type Notification_State_NotificationStatePathSelectorProviderDataSlack struct{} 2090 2091 func (Notification_State_NotificationStatePathSelectorProviderDataSlack) FieldPath() *NotificationStateNotificationState_FieldSubPath { 2092 return &NotificationStateNotificationState_FieldSubPath{ 2093 selector: NotificationStateNotificationState_FieldPathSelectorProviderData, 2094 subPath: NewNotificationStateNotificationStateProviderDataFieldPathBuilder().Slack().FieldPath(), 2095 } 2096 } 2097 2098 func (s Notification_State_NotificationStatePathSelectorProviderDataSlack) WithValue(value *Notification_State_NotificationState_ProviderData_Slack) *NotificationStateNotificationState_FieldSubPathValue { 2099 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationState_FieldSubPathValue) 2100 } 2101 2102 func (s Notification_State_NotificationStatePathSelectorProviderDataSlack) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_Slack) *NotificationStateNotificationState_FieldSubPathArrayOfValues { 2103 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationState_FieldSubPathArrayOfValues) 2104 } 2105 2106 func (Notification_State_NotificationStatePathSelectorProviderDataSlack) Ts() Notification_State_NotificationStatePathSelectorProviderDataSlackTs { 2107 return Notification_State_NotificationStatePathSelectorProviderDataSlackTs{} 2108 } 2109 2110 type Notification_State_NotificationStatePathSelectorProviderDataSlackTs struct{} 2111 2112 func (Notification_State_NotificationStatePathSelectorProviderDataSlackTs) FieldPath() *NotificationStateNotificationState_FieldSubPath { 2113 return &NotificationStateNotificationState_FieldSubPath{ 2114 selector: NotificationStateNotificationState_FieldPathSelectorProviderData, 2115 subPath: NewNotificationStateNotificationStateProviderDataFieldPathBuilder().Slack().Ts().FieldPath(), 2116 } 2117 } 2118 2119 func (s Notification_State_NotificationStatePathSelectorProviderDataSlackTs) WithValue(value string) *NotificationStateNotificationState_FieldSubPathValue { 2120 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationState_FieldSubPathValue) 2121 } 2122 2123 func (s Notification_State_NotificationStatePathSelectorProviderDataSlackTs) WithArrayOfValues(values []string) *NotificationStateNotificationState_FieldSubPathArrayOfValues { 2124 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationState_FieldSubPathArrayOfValues) 2125 } 2126 2127 type Notification_State_NotificationStatePathSelectorProviderDataPagerDuty struct{} 2128 2129 func (Notification_State_NotificationStatePathSelectorProviderDataPagerDuty) FieldPath() *NotificationStateNotificationState_FieldSubPath { 2130 return &NotificationStateNotificationState_FieldSubPath{ 2131 selector: NotificationStateNotificationState_FieldPathSelectorProviderData, 2132 subPath: NewNotificationStateNotificationStateProviderDataFieldPathBuilder().PagerDuty().FieldPath(), 2133 } 2134 } 2135 2136 func (s Notification_State_NotificationStatePathSelectorProviderDataPagerDuty) WithValue(value *Notification_State_NotificationState_ProviderData_PagerDuty) *NotificationStateNotificationState_FieldSubPathValue { 2137 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationState_FieldSubPathValue) 2138 } 2139 2140 func (s Notification_State_NotificationStatePathSelectorProviderDataPagerDuty) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_PagerDuty) *NotificationStateNotificationState_FieldSubPathArrayOfValues { 2141 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationState_FieldSubPathArrayOfValues) 2142 } 2143 2144 func (Notification_State_NotificationStatePathSelectorProviderDataPagerDuty) IncidentKey() Notification_State_NotificationStatePathSelectorProviderDataPagerDutyIncidentKey { 2145 return Notification_State_NotificationStatePathSelectorProviderDataPagerDutyIncidentKey{} 2146 } 2147 2148 type Notification_State_NotificationStatePathSelectorProviderDataPagerDutyIncidentKey struct{} 2149 2150 func (Notification_State_NotificationStatePathSelectorProviderDataPagerDutyIncidentKey) FieldPath() *NotificationStateNotificationState_FieldSubPath { 2151 return &NotificationStateNotificationState_FieldSubPath{ 2152 selector: NotificationStateNotificationState_FieldPathSelectorProviderData, 2153 subPath: NewNotificationStateNotificationStateProviderDataFieldPathBuilder().PagerDuty().IncidentKey().FieldPath(), 2154 } 2155 } 2156 2157 func (s Notification_State_NotificationStatePathSelectorProviderDataPagerDutyIncidentKey) WithValue(value string) *NotificationStateNotificationState_FieldSubPathValue { 2158 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationState_FieldSubPathValue) 2159 } 2160 2161 func (s Notification_State_NotificationStatePathSelectorProviderDataPagerDutyIncidentKey) WithArrayOfValues(values []string) *NotificationStateNotificationState_FieldSubPathArrayOfValues { 2162 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationState_FieldSubPathArrayOfValues) 2163 } 2164 2165 type Notification_State_NotificationStatePathSelectorNotifyAttempts struct{} 2166 2167 func (Notification_State_NotificationStatePathSelectorNotifyAttempts) FieldPath() *NotificationStateNotificationState_FieldTerminalPath { 2168 return &NotificationStateNotificationState_FieldTerminalPath{selector: NotificationStateNotificationState_FieldPathSelectorNotifyAttempts} 2169 } 2170 2171 func (s Notification_State_NotificationStatePathSelectorNotifyAttempts) WithValue(value int64) *NotificationStateNotificationState_FieldTerminalPathValue { 2172 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationState_FieldTerminalPathValue) 2173 } 2174 2175 func (s Notification_State_NotificationStatePathSelectorNotifyAttempts) WithArrayOfValues(values []int64) *NotificationStateNotificationState_FieldTerminalPathArrayOfValues { 2176 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationState_FieldTerminalPathArrayOfValues) 2177 } 2178 2179 type NotificationStateNotificationStateProviderDataFieldPathBuilder struct{} 2180 2181 func NewNotificationStateNotificationStateProviderDataFieldPathBuilder() NotificationStateNotificationStateProviderDataFieldPathBuilder { 2182 return NotificationStateNotificationStateProviderDataFieldPathBuilder{} 2183 } 2184 func (NotificationStateNotificationStateProviderDataFieldPathBuilder) Slack() Notification_State_NotificationState_ProviderDataPathSelectorSlack { 2185 return Notification_State_NotificationState_ProviderDataPathSelectorSlack{} 2186 } 2187 func (NotificationStateNotificationStateProviderDataFieldPathBuilder) PagerDuty() Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty { 2188 return Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty{} 2189 } 2190 2191 type Notification_State_NotificationState_ProviderDataPathSelectorSlack struct{} 2192 2193 func (Notification_State_NotificationState_ProviderDataPathSelectorSlack) FieldPath() *NotificationStateNotificationStateProviderData_FieldTerminalPath { 2194 return &NotificationStateNotificationStateProviderData_FieldTerminalPath{selector: NotificationStateNotificationStateProviderData_FieldPathSelectorSlack} 2195 } 2196 2197 func (s Notification_State_NotificationState_ProviderDataPathSelectorSlack) WithValue(value *Notification_State_NotificationState_ProviderData_Slack) *NotificationStateNotificationStateProviderData_FieldTerminalPathValue { 2198 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationStateProviderData_FieldTerminalPathValue) 2199 } 2200 2201 func (s Notification_State_NotificationState_ProviderDataPathSelectorSlack) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_Slack) *NotificationStateNotificationStateProviderData_FieldTerminalPathArrayOfValues { 2202 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationStateProviderData_FieldTerminalPathArrayOfValues) 2203 } 2204 2205 func (Notification_State_NotificationState_ProviderDataPathSelectorSlack) WithSubPath(subPath NotificationStateNotificationStateProviderDataSlack_FieldPath) *NotificationStateNotificationStateProviderData_FieldSubPath { 2206 return &NotificationStateNotificationStateProviderData_FieldSubPath{selector: NotificationStateNotificationStateProviderData_FieldPathSelectorSlack, subPath: subPath} 2207 } 2208 2209 func (s Notification_State_NotificationState_ProviderDataPathSelectorSlack) WithSubValue(subPathValue NotificationStateNotificationStateProviderDataSlack_FieldPathValue) *NotificationStateNotificationStateProviderData_FieldSubPathValue { 2210 return &NotificationStateNotificationStateProviderData_FieldSubPathValue{NotificationStateNotificationStateProviderData_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2211 } 2212 2213 func (s Notification_State_NotificationState_ProviderDataPathSelectorSlack) WithSubArrayOfValues(subPathArrayOfValues NotificationStateNotificationStateProviderDataSlack_FieldPathArrayOfValues) *NotificationStateNotificationStateProviderData_FieldSubPathArrayOfValues { 2214 return &NotificationStateNotificationStateProviderData_FieldSubPathArrayOfValues{NotificationStateNotificationStateProviderData_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2215 } 2216 2217 func (s Notification_State_NotificationState_ProviderDataPathSelectorSlack) WithSubArrayItemValue(subPathArrayItemValue NotificationStateNotificationStateProviderDataSlack_FieldPathArrayItemValue) *NotificationStateNotificationStateProviderData_FieldSubPathArrayItemValue { 2218 return &NotificationStateNotificationStateProviderData_FieldSubPathArrayItemValue{NotificationStateNotificationStateProviderData_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2219 } 2220 2221 func (Notification_State_NotificationState_ProviderDataPathSelectorSlack) Ts() Notification_State_NotificationState_ProviderDataPathSelectorSlackTs { 2222 return Notification_State_NotificationState_ProviderDataPathSelectorSlackTs{} 2223 } 2224 2225 type Notification_State_NotificationState_ProviderDataPathSelectorSlackTs struct{} 2226 2227 func (Notification_State_NotificationState_ProviderDataPathSelectorSlackTs) FieldPath() *NotificationStateNotificationStateProviderData_FieldSubPath { 2228 return &NotificationStateNotificationStateProviderData_FieldSubPath{ 2229 selector: NotificationStateNotificationStateProviderData_FieldPathSelectorSlack, 2230 subPath: NewNotificationStateNotificationStateProviderDataSlackFieldPathBuilder().Ts().FieldPath(), 2231 } 2232 } 2233 2234 func (s Notification_State_NotificationState_ProviderDataPathSelectorSlackTs) WithValue(value string) *NotificationStateNotificationStateProviderData_FieldSubPathValue { 2235 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationStateProviderData_FieldSubPathValue) 2236 } 2237 2238 func (s Notification_State_NotificationState_ProviderDataPathSelectorSlackTs) WithArrayOfValues(values []string) *NotificationStateNotificationStateProviderData_FieldSubPathArrayOfValues { 2239 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationStateProviderData_FieldSubPathArrayOfValues) 2240 } 2241 2242 type Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty struct{} 2243 2244 func (Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty) FieldPath() *NotificationStateNotificationStateProviderData_FieldTerminalPath { 2245 return &NotificationStateNotificationStateProviderData_FieldTerminalPath{selector: NotificationStateNotificationStateProviderData_FieldPathSelectorPagerDuty} 2246 } 2247 2248 func (s Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty) WithValue(value *Notification_State_NotificationState_ProviderData_PagerDuty) *NotificationStateNotificationStateProviderData_FieldTerminalPathValue { 2249 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationStateProviderData_FieldTerminalPathValue) 2250 } 2251 2252 func (s Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty) WithArrayOfValues(values []*Notification_State_NotificationState_ProviderData_PagerDuty) *NotificationStateNotificationStateProviderData_FieldTerminalPathArrayOfValues { 2253 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationStateProviderData_FieldTerminalPathArrayOfValues) 2254 } 2255 2256 func (Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty) WithSubPath(subPath NotificationStateNotificationStateProviderDataPagerDuty_FieldPath) *NotificationStateNotificationStateProviderData_FieldSubPath { 2257 return &NotificationStateNotificationStateProviderData_FieldSubPath{selector: NotificationStateNotificationStateProviderData_FieldPathSelectorPagerDuty, subPath: subPath} 2258 } 2259 2260 func (s Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty) WithSubValue(subPathValue NotificationStateNotificationStateProviderDataPagerDuty_FieldPathValue) *NotificationStateNotificationStateProviderData_FieldSubPathValue { 2261 return &NotificationStateNotificationStateProviderData_FieldSubPathValue{NotificationStateNotificationStateProviderData_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2262 } 2263 2264 func (s Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty) WithSubArrayOfValues(subPathArrayOfValues NotificationStateNotificationStateProviderDataPagerDuty_FieldPathArrayOfValues) *NotificationStateNotificationStateProviderData_FieldSubPathArrayOfValues { 2265 return &NotificationStateNotificationStateProviderData_FieldSubPathArrayOfValues{NotificationStateNotificationStateProviderData_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2266 } 2267 2268 func (s Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty) WithSubArrayItemValue(subPathArrayItemValue NotificationStateNotificationStateProviderDataPagerDuty_FieldPathArrayItemValue) *NotificationStateNotificationStateProviderData_FieldSubPathArrayItemValue { 2269 return &NotificationStateNotificationStateProviderData_FieldSubPathArrayItemValue{NotificationStateNotificationStateProviderData_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2270 } 2271 2272 func (Notification_State_NotificationState_ProviderDataPathSelectorPagerDuty) IncidentKey() Notification_State_NotificationState_ProviderDataPathSelectorPagerDutyIncidentKey { 2273 return Notification_State_NotificationState_ProviderDataPathSelectorPagerDutyIncidentKey{} 2274 } 2275 2276 type Notification_State_NotificationState_ProviderDataPathSelectorPagerDutyIncidentKey struct{} 2277 2278 func (Notification_State_NotificationState_ProviderDataPathSelectorPagerDutyIncidentKey) FieldPath() *NotificationStateNotificationStateProviderData_FieldSubPath { 2279 return &NotificationStateNotificationStateProviderData_FieldSubPath{ 2280 selector: NotificationStateNotificationStateProviderData_FieldPathSelectorPagerDuty, 2281 subPath: NewNotificationStateNotificationStateProviderDataPagerDutyFieldPathBuilder().IncidentKey().FieldPath(), 2282 } 2283 } 2284 2285 func (s Notification_State_NotificationState_ProviderDataPathSelectorPagerDutyIncidentKey) WithValue(value string) *NotificationStateNotificationStateProviderData_FieldSubPathValue { 2286 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationStateProviderData_FieldSubPathValue) 2287 } 2288 2289 func (s Notification_State_NotificationState_ProviderDataPathSelectorPagerDutyIncidentKey) WithArrayOfValues(values []string) *NotificationStateNotificationStateProviderData_FieldSubPathArrayOfValues { 2290 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationStateProviderData_FieldSubPathArrayOfValues) 2291 } 2292 2293 type NotificationStateNotificationStateProviderDataSlackFieldPathBuilder struct{} 2294 2295 func NewNotificationStateNotificationStateProviderDataSlackFieldPathBuilder() NotificationStateNotificationStateProviderDataSlackFieldPathBuilder { 2296 return NotificationStateNotificationStateProviderDataSlackFieldPathBuilder{} 2297 } 2298 func (NotificationStateNotificationStateProviderDataSlackFieldPathBuilder) Ts() Notification_State_NotificationState_ProviderData_SlackPathSelectorTs { 2299 return Notification_State_NotificationState_ProviderData_SlackPathSelectorTs{} 2300 } 2301 2302 type Notification_State_NotificationState_ProviderData_SlackPathSelectorTs struct{} 2303 2304 func (Notification_State_NotificationState_ProviderData_SlackPathSelectorTs) FieldPath() *NotificationStateNotificationStateProviderDataSlack_FieldTerminalPath { 2305 return &NotificationStateNotificationStateProviderDataSlack_FieldTerminalPath{selector: NotificationStateNotificationStateProviderDataSlack_FieldPathSelectorTs} 2306 } 2307 2308 func (s Notification_State_NotificationState_ProviderData_SlackPathSelectorTs) WithValue(value string) *NotificationStateNotificationStateProviderDataSlack_FieldTerminalPathValue { 2309 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationStateProviderDataSlack_FieldTerminalPathValue) 2310 } 2311 2312 func (s Notification_State_NotificationState_ProviderData_SlackPathSelectorTs) WithArrayOfValues(values []string) *NotificationStateNotificationStateProviderDataSlack_FieldTerminalPathArrayOfValues { 2313 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationStateProviderDataSlack_FieldTerminalPathArrayOfValues) 2314 } 2315 2316 type NotificationStateNotificationStateProviderDataPagerDutyFieldPathBuilder struct{} 2317 2318 func NewNotificationStateNotificationStateProviderDataPagerDutyFieldPathBuilder() NotificationStateNotificationStateProviderDataPagerDutyFieldPathBuilder { 2319 return NotificationStateNotificationStateProviderDataPagerDutyFieldPathBuilder{} 2320 } 2321 func (NotificationStateNotificationStateProviderDataPagerDutyFieldPathBuilder) IncidentKey() Notification_State_NotificationState_ProviderData_PagerDutyPathSelectorIncidentKey { 2322 return Notification_State_NotificationState_ProviderData_PagerDutyPathSelectorIncidentKey{} 2323 } 2324 2325 type Notification_State_NotificationState_ProviderData_PagerDutyPathSelectorIncidentKey struct{} 2326 2327 func (Notification_State_NotificationState_ProviderData_PagerDutyPathSelectorIncidentKey) FieldPath() *NotificationStateNotificationStateProviderDataPagerDuty_FieldTerminalPath { 2328 return &NotificationStateNotificationStateProviderDataPagerDuty_FieldTerminalPath{selector: NotificationStateNotificationStateProviderDataPagerDuty_FieldPathSelectorIncidentKey} 2329 } 2330 2331 func (s Notification_State_NotificationState_ProviderData_PagerDutyPathSelectorIncidentKey) WithValue(value string) *NotificationStateNotificationStateProviderDataPagerDuty_FieldTerminalPathValue { 2332 return s.FieldPath().WithIValue(value).(*NotificationStateNotificationStateProviderDataPagerDuty_FieldTerminalPathValue) 2333 } 2334 2335 func (s Notification_State_NotificationState_ProviderData_PagerDutyPathSelectorIncidentKey) WithArrayOfValues(values []string) *NotificationStateNotificationStateProviderDataPagerDuty_FieldTerminalPathArrayOfValues { 2336 return s.FieldPath().WithIArrayOfValues(values).(*NotificationStateNotificationStateProviderDataPagerDuty_FieldTerminalPathArrayOfValues) 2337 }