/*
 * peridot/proto/v1/batch.proto
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * API version: version not set
 */

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

package peridotopenapi

import (
	"encoding/json"
)

// V1CreateProjectResponse struct for V1CreateProjectResponse
type V1CreateProjectResponse struct {
	Project *V1Project `json:"project,omitempty"`
}

// NewV1CreateProjectResponse instantiates a new V1CreateProjectResponse 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 NewV1CreateProjectResponse() *V1CreateProjectResponse {
	this := V1CreateProjectResponse{}
	return &this
}

// NewV1CreateProjectResponseWithDefaults instantiates a new V1CreateProjectResponse 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 NewV1CreateProjectResponseWithDefaults() *V1CreateProjectResponse {
	this := V1CreateProjectResponse{}
	return &this
}

// GetProject returns the Project field value if set, zero value otherwise.
func (o *V1CreateProjectResponse) GetProject() V1Project {
	if o == nil || o.Project == nil {
		var ret V1Project
		return ret
	}
	return *o.Project
}

// GetProjectOk returns a tuple with the Project field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *V1CreateProjectResponse) GetProjectOk() (*V1Project, bool) {
	if o == nil || o.Project == nil {
		return nil, false
	}
	return o.Project, true
}

// HasProject returns a boolean if a field has been set.
func (o *V1CreateProjectResponse) HasProject() bool {
	if o != nil && o.Project != nil {
		return true
	}

	return false
}

// SetProject gets a reference to the given V1Project and assigns it to the Project field.
func (o *V1CreateProjectResponse) SetProject(v V1Project) {
	o.Project = &v
}

func (o V1CreateProjectResponse) MarshalJSON() ([]byte, error) {
	toSerialize := map[string]interface{}{}
	if o.Project != nil {
		toSerialize["project"] = o.Project
	}
	return json.Marshal(toSerialize)
}

type NullableV1CreateProjectResponse struct {
	value *V1CreateProjectResponse
	isSet bool
}

func (v NullableV1CreateProjectResponse) Get() *V1CreateProjectResponse {
	return v.value
}

func (v *NullableV1CreateProjectResponse) Set(val *V1CreateProjectResponse) {
	v.value = val
	v.isSet = true
}

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

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

func NewNullableV1CreateProjectResponse(val *V1CreateProjectResponse) *NullableV1CreateProjectResponse {
	return &NullableV1CreateProjectResponse{value: val, isSet: true}
}

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

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


