/*
 * ESI Meta Spec
 *
 * ESI specs and miscellaneous routes
 *
 * OpenAPI spec version: 0.1
 *
 * Generated by: https://github.com/swagger-api/swagger-codegen.git
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package meta

/* A list of GetStatusItem. */
//easyjson:json
type GetStatusItemList []GetStatusItem

/* Per route status */
//easyjson:json
type GetStatusItem struct {
	Endpoint string   `json:"endpoint,omitempty"` /* ESI Endpoint cluster advertising this route */
	Method   string   `json:"method,omitempty"`   /* Swagger defined method */
	Route    string   `json:"route,omitempty"`    /* Swagger defined route, not including version prefix */
	Status   string   `json:"status,omitempty"`   /* Vague route status. Green is good, yellow is degraded, meaning slow or potentially dropping requests. Red means most requests are not succeeding and/or are very slow (5s+) on average. */
	Tags     []string `json:"tags,omitempty"`     /* Swagger tags applicable to this route */
}
