// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package shared

// ResourceRequirements - optional resource requirements to run workers (blank for unbounded allocations)
type ResourceRequirements struct {
	CPURequest              *string `json:"cpu_request,omitempty"`
	CPULimit                *string `json:"cpu_limit,omitempty"`
	MemoryRequest           *string `json:"memory_request,omitempty"`
	MemoryLimit             *string `json:"memory_limit,omitempty"`
	EphemeralStorageRequest *string `json:"ephemeral_storage_request,omitempty"`
	EphemeralStorageLimit   *string `json:"ephemeral_storage_limit,omitempty"`
}

func (o *ResourceRequirements) GetCPURequest() *string {
	if o == nil {
		return nil
	}
	return o.CPURequest
}

func (o *ResourceRequirements) GetCPULimit() *string {
	if o == nil {
		return nil
	}
	return o.CPULimit
}

func (o *ResourceRequirements) GetMemoryRequest() *string {
	if o == nil {
		return nil
	}
	return o.MemoryRequest
}

func (o *ResourceRequirements) GetMemoryLimit() *string {
	if o == nil {
		return nil
	}
	return o.MemoryLimit
}

func (o *ResourceRequirements) GetEphemeralStorageRequest() *string {
	if o == nil {
		return nil
	}
	return o.EphemeralStorageRequest
}

func (o *ResourceRequirements) GetEphemeralStorageLimit() *string {
	if o == nil {
		return nil
	}
	return o.EphemeralStorageLimit
}
