// Code generated by applyconfiguration-gen. DO NOT EDIT.

package v1

// OAuthAPIServerStatusApplyConfiguration represents a declarative configuration of the OAuthAPIServerStatus type for use
// with apply.
type OAuthAPIServerStatusApplyConfiguration struct {
	LatestAvailableRevision *int32 `json:"latestAvailableRevision,omitempty"`
}

// OAuthAPIServerStatusApplyConfiguration constructs a declarative configuration of the OAuthAPIServerStatus type for use with
// apply.
func OAuthAPIServerStatus() *OAuthAPIServerStatusApplyConfiguration {
	return &OAuthAPIServerStatusApplyConfiguration{}
}

// WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (b *OAuthAPIServerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OAuthAPIServerStatusApplyConfiguration {
	b.LatestAvailableRevision = &value
	return b
}
