corso/src/internal/operations/opstatus_string.go
neha_gupta bebaf3b462
teams discovery API (#3850)
<!-- PR description-->

Teams discovery API
- fetch all groups from endpoint and filter teams out of it.
- fetch team with ID. 

Permission added- 
- Application- Team.ReadBasic.All
- Group.Read.All

#### Does this PR need a docs update or release note?
- [ ] 🕐 Yes, but in a later PR

#### Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature

#### Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* https://github.com/alcionai/corso/issues/3836

#### Test Plan

<!-- How will this be tested prior to merging.-->
- [ ] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
2023-08-16 06:02:37 +00:00

28 lines
738 B
Go

// Code generated by "stringer -type=OpStatus -linecomment"; DO NOT EDIT.
package operations
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[Unknown-0]
_ = x[InProgress-1]
_ = x[Completed-2]
_ = x[Failed-3]
_ = x[NoData-4]
}
const _OpStatus_name = "Status UnknownIn ProgressCompletedFailedNo Data"
var _OpStatus_index = [...]uint8{0, 14, 25, 34, 40, 47}
func (i OpStatus) String() string {
if i < 0 || i >= OpStatus(len(_OpStatus_index)-1) {
return "OpStatus(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _OpStatus_name[_OpStatus_index[i]:_OpStatus_index[i+1]]
}