Class APIRequestCountStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.apiserver.v1.APIRequestCountStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<APIRequestCountStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class APIRequestCountStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<APIRequestCountStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIRequestCountStatus()No args constructor for use in serializationAPIRequestCountStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, PerResourceAPIRequestLog currentHour, List<PerResourceAPIRequestLog> last24h, String removedInRelease, Long requestCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIRequestCountStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions contains details of the current status of this API Resource.PerResourceAPIRequestLoggetCurrentHour()List<PerResourceAPIRequestLog>getLast24h()last24h contains request history for the last 24 hours, indexed by the hour, so 12:00AM-12:59 is in index 0, 6am-6:59am is index 6, etc.StringgetRemovedInRelease()removedInRelease is when the API will be removed.LonggetRequestCount()requestCount is a sum of all requestCounts across all current hours, nodes, and users.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions contains details of the current status of this API Resource.voidsetCurrentHour(PerResourceAPIRequestLog currentHour)voidsetLast24h(List<PerResourceAPIRequestLog> last24h)last24h contains request history for the last 24 hours, indexed by the hour, so 12:00AM-12:59 is in index 0, 6am-6:59am is index 6, etc.voidsetRemovedInRelease(String removedInRelease)removedInRelease is when the API will be removed.voidsetRequestCount(Long requestCount)requestCount is a sum of all requestCounts across all current hours, nodes, and users.APIRequestCountStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
APIRequestCountStatus
public APIRequestCountStatus()
No args constructor for use in serialization
-
APIRequestCountStatus
public APIRequestCountStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, PerResourceAPIRequestLog currentHour, List<PerResourceAPIRequestLog> last24h, String removedInRelease, Long requestCount)
-
-
Method Detail
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
conditions contains details of the current status of this API Resource.
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
conditions contains details of the current status of this API Resource.
-
getCurrentHour
public PerResourceAPIRequestLog getCurrentHour()
-
setCurrentHour
public void setCurrentHour(PerResourceAPIRequestLog currentHour)
-
getLast24h
public List<PerResourceAPIRequestLog> getLast24h()
last24h contains request history for the last 24 hours, indexed by the hour, so 12:00AM-12:59 is in index 0, 6am-6:59am is index 6, etc. The index of the current hour is updated live and then duplicated into the requestsLastHour field.
-
setLast24h
public void setLast24h(List<PerResourceAPIRequestLog> last24h)
last24h contains request history for the last 24 hours, indexed by the hour, so 12:00AM-12:59 is in index 0, 6am-6:59am is index 6, etc. The index of the current hour is updated live and then duplicated into the requestsLastHour field.
-
getRemovedInRelease
public String getRemovedInRelease()
removedInRelease is when the API will be removed.
-
setRemovedInRelease
public void setRemovedInRelease(String removedInRelease)
removedInRelease is when the API will be removed.
-
getRequestCount
public Long getRequestCount()
requestCount is a sum of all requestCounts across all current hours, nodes, and users.
-
setRequestCount
public void setRequestCount(Long requestCount)
requestCount is a sum of all requestCounts across all current hours, nodes, and users.
-
edit
public APIRequestCountStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<APIRequestCountStatusBuilder>
-
toBuilder
public APIRequestCountStatusBuilder toBuilder()
-
-