/*
Daytona Toolbox API

Daytona Toolbox API

API version: v0.0.0-dev
*/

// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

package toolbox

import (
	"encoding/json"
)

// checks if the KeyboardHotkeyRequest type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &KeyboardHotkeyRequest{}

// KeyboardHotkeyRequest struct for KeyboardHotkeyRequest
type KeyboardHotkeyRequest struct {
	// e.g., \"ctrl+c\", \"cmd+v\"
	Keys *string `json:"keys,omitempty"`
}

// NewKeyboardHotkeyRequest instantiates a new KeyboardHotkeyRequest object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewKeyboardHotkeyRequest() *KeyboardHotkeyRequest {
	this := KeyboardHotkeyRequest{}
	return &this
}

// NewKeyboardHotkeyRequestWithDefaults instantiates a new KeyboardHotkeyRequest object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewKeyboardHotkeyRequestWithDefaults() *KeyboardHotkeyRequest {
	this := KeyboardHotkeyRequest{}
	return &this
}

// GetKeys returns the Keys field value if set, zero value otherwise.
func (o *KeyboardHotkeyRequest) GetKeys() string {
	if o == nil || IsNil(o.Keys) {
		var ret string
		return ret
	}
	return *o.Keys
}

// GetKeysOk returns a tuple with the Keys field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyboardHotkeyRequest) GetKeysOk() (*string, bool) {
	if o == nil || IsNil(o.Keys) {
		return nil, false
	}
	return o.Keys, true
}

// HasKeys returns a boolean if a field has been set.
func (o *KeyboardHotkeyRequest) HasKeys() bool {
	if o != nil && !IsNil(o.Keys) {
		return true
	}

	return false
}

// SetKeys gets a reference to the given string and assigns it to the Keys field.
func (o *KeyboardHotkeyRequest) SetKeys(v string) {
	o.Keys = &v
}

func (o KeyboardHotkeyRequest) MarshalJSON() ([]byte, error) {
	toSerialize,err := o.ToMap()
	if err != nil {
		return []byte{}, err
	}
	return json.Marshal(toSerialize)
}

func (o KeyboardHotkeyRequest) ToMap() (map[string]interface{}, error) {
	toSerialize := map[string]interface{}{}
	if !IsNil(o.Keys) {
		toSerialize["keys"] = o.Keys
	}
	return toSerialize, nil
}

type NullableKeyboardHotkeyRequest struct {
	value *KeyboardHotkeyRequest
	isSet bool
}

func (v NullableKeyboardHotkeyRequest) Get() *KeyboardHotkeyRequest {
	return v.value
}

func (v *NullableKeyboardHotkeyRequest) Set(val *KeyboardHotkeyRequest) {
	v.value = val
	v.isSet = true
}

func (v NullableKeyboardHotkeyRequest) IsSet() bool {
	return v.isSet
}

func (v *NullableKeyboardHotkeyRequest) Unset() {
	v.value = nil
	v.isSet = false
}

func NewNullableKeyboardHotkeyRequest(val *KeyboardHotkeyRequest) *NullableKeyboardHotkeyRequest {
	return &NullableKeyboardHotkeyRequest{value: val, isSet: true}
}

func (v NullableKeyboardHotkeyRequest) MarshalJSON() ([]byte, error) {
	return json.Marshal(v.value)
}

func (v *NullableKeyboardHotkeyRequest) UnmarshalJSON(src []byte) error {
	v.isSet = true
	return json.Unmarshal(src, &v.value)
}


